.nav-container {
    height: 100px;
}

.full-logo {
    width: 100px;
    padding: 1rem 3rem;
}

.table-title {
    font-family: "proxima-nova-alt", Arial, Helvetica Neue, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 2rem;
}

/* modal settings */
.modal {
    display: none;
}
.modalDialog {
    position: fixed;
    font-family: "adobe-garamond-pro", Georgia, Times, Times New Roman, serif;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.8);
    z-index: 99999;
    opacity:0;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
}

.modalDialog:target {
    opacity:1;
    pointer-events: auto;
}

@media screen (max-width: 400px) {
    .modalDialong > div {
        width: 350px;
    }
    table {
        display:none;
    }
}

.modalDialog > div {
    width: 400px;
    position: relative;
    margin: 10% auto;
    padding: 5px 20px 13px 20px;
    border-radius: 10px;
    background: #fff;
    background: -moz-linear-gradient(#fff, #ced0d0);
    background: -webkit-linear-gradient(#fff, #ced0d0);
    background: -o-linear-gradient(#fff, #ced0d0);
    text-align: left;
}

.close {
    background: #606061;
    color: #FFFFFF;
    line-height: 25px;
    position: absolute;
    right: -12px;
    text-align: center;
    top: -10px;
    width: 24px;
    text-decoration: none;
    font-weight: bold;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    -moz-box-shadow: 1px 1px 3px #000;
    -webkit-box-shadow: 1px 1px 3px #000;
    box-shadow: 1px 1px 3px #000;
}

.close:hover { background: #29c3ec; }
/* modal end */

td.base-table a {
    text-decoration: none;
}

.context-description {
    padding: 1rem 0;
    font-family: "adobe-garamond-pro", Georgia, Times, Times New Roman, serif;
}

ul.country-resources {
    font-family: "adobe-garamond-pro", Georgia, Times, Times New Roman, serif;
    padding-left: 15px;
}

ul.country-resources li a {
    text-decoration: underline;
    color: #29c3ec;
}


/* font settings */
.top-level-h2 {
    font-family: "proxima-nova-alt", Arial, Helvetica Neue, Helvetica, sans-serif;
    font-weight: 600;
}
h3.country-profile {
    color: #083266;
    font-family: "proxima-nova-alt", Arial, Helvetica Neue, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 1rem;
}
.second-level-h2 {
    font-family: "proxima-nova-alt", Arial, Helvetica Neue, Helvetica, sans-serif;
    font-weight: 300;
    font-size: .95em;
}
.y-labels {
    padding: 0 1.5rem;
    font-family: "proxima-nova-alt", Arial, Helvetica Neue, Helvetica, sans-serif;
    font-weight: 600;
    color: #fff;
}
.y-second-col {
    border-right-width: 2px;
    border-right-style: solid;
    border-right-color: #000;
}

.y-second-col p {
    font-family: "proxima-nova-alt", Arial, Helvetica Neue, Helvetica, sans-serif;
    font-weight: 600;
    font-size: .9em;
}

.table-container {
    padding: 3rem;
}

/* table settings */
@media screen (min-width: 768px) {
    .table-container {
        padding: 10rem;
    }
}

@media screen (max-width: 400px) {
    .table-container {
        padding: 7rem 1px;
    }
}

table {
    border-collapse: collapse;
    border-style: solid;
    border-width: 2px;
    border-color: #000;
}
td {
    border-right-color: #cfd1d0;
    border-right-style: solid;
    border-right-width: 1px;
    text-align: center;
}

.blank {
    border-bottom-color: #cfd1d0;
    border-bottom-width: 0px;
    border-right-color: #000;
    border-right-width: 2px;
    padding-bottom: 9px;
    padding-left: 4px;
    padding-right: 4px;
    padding-top: 9px;
    vertical-align: middle;
}

.top-row  {
    border-bottom-color: #cfd1d0;
    border-bottom-width:1px;
	border-bottom-style:solid;
}
tr.third-row, tr.fourth-row, tr.fifth-row,  tr.seventh-row, tr.eighth-row, tr.tenth-row, tr.twelfth-row, tr.thirteenth-row, tr.fourteenth-row, tr.fifteenth-row, tr.sixteenth-row, tr.three-row, tr.four-row, tr.five-row, tr.seven-row, tr.eight-row, tr.nine-row, tr.ten-row, tr.eleven-row, tr.thirteen-row, tr.fourteen-row {
    border-bottom-color: #cfd1d0;
    border-bottom-width:1px;
	border-bottom-style:solid;
}

#public-investment, #price-interventions, #macroeconomic-policies, #land-institutional-reforms, #rural-health, #trade-reform, #economic-div, #credit, #country {
    border-right-style: solid;
    border-right-color: #000;
    border-right-width: 2px;
}
.base-table {
    padding: .5rem .5rem; 
}

.second-row {
    border-bottom-color: #000;
    border-bottom-style: solid;
    border-bottom-width: 2px;
}
.second-row-cell {
    padding: .5rem .5rem;
}

tr.sixth-row, tr.ninth-row, tr.eleventh-row, tr.six-row, tr.twelve-row {
    border-bottom-color: #000;
    border-bottom-style: solid;
    border-bottom-width: 2px;
}



/* High Birth Rates and Scarce Land Dots */
.birth-rates-scarce-land, .dots {
    color:#093266;
	font-family: "Wingdings 2", sans-serif;
	font-style: normal;
	font-weight: normal;
}

.birth-rates-fertile-land, .dots-2 {
    color: #e095c0;
    font-family: "Wingdings 2", sans-serif;
	font-style: normal;
	font-weight: normal;
}

.abundant-fertile-land, .dots-3 {
    color:#29c3ec;
    font-family: "Wingdings 2", sans-serif;
	font-style: normal;
	font-weight: normal;
}

.abundant-infertile-land {
    color: #5abc89;
    font-family: "Wingdings 2", sans-serif;
	font-style: normal;
	font-weight: normal;
}

#scarce-land, .high-birth-scarce-land {
    color: #fff;
    background-color: #093266;
    border-right-style: solid;
    border-right-width: 2px;
    border-right-color: #000;
    border-top-style: solid;
    border-top-width: 2px;
    border-top-color: #000;
}

#scarce-but-fertile, .high-birth-scarce-fertile {
    background-color: #e095c0;
    color: #fff;
    border-right-style: solid;
    border-right-width: 2px;
    border-right-color: #000;
    border-top-style: solid;
    border-top-width: 2px;
    border-top-color: #000;
}

#abundant-fertile, .abundant-and-fertile-land {
    color: #fff;
    background-color: #29c3ec;
    border-right-style: solid;
    border-right-width: 2px;
    border-right-color: #000;
    border-top-style: solid;
    border-top-width: 2px;
    border-top-color: #000;
}

#abundant-infertile {
    color: #fff;
    background-color: #5abc89;
    border-right-style: solid;
    border-right-width: 2px;
    border-right-color: #000;
    border-top-style: solid;
    border-top-width: 2px;
    border-top-color: #000;
}

/* footnote - legend */
.footnote, .instructions {
    font-size: 13px;
    padding: .5rem 1rem;
    font-family: "adobe-garamond-pro", Georgia, Times, Times New Roman, serif;
}

.legend-dots {
    margin: .5rem 0;
}

/* table 3 custom styles */
.two-row {
    border-bottom-color: #000;
    border-bottom-style: solid;
    border-bottom-width: 2px;
}

.matching-focus-country, .y-third-col {
    border-right-color: #000;
    border-right-style: solid;
    border-right-width: 2px;
    font-family: "proxima-nova-alt", Arial, Helvetica Neue, Helvetica, sans-serif;
    font-weight: 600;
}

.y-first-col, .transformed-countries {
    border-bottom-color: #000;
    border-bottom-style: solid;
    border-bottom-width: 2px;
    border-top-color: #000;
    border-top-style: solid;
    border-top-width: 2px;
    border-right-color: #000;
    border-right-style: solid;
    border-right-width: 2px;
    font-family: "proxima-nova-alt", Arial, Helvetica Neue, Helvetica, sans-serif;
    font-weight: 600;
    font-size: .8em;
}

td.y-first-col p {
    font-family: "proxima-nova-alt", Arial, Helvetica Neue, Helvetica, sans-serif;
    font-weight: 600;
    color: #fff;
}

td.transformed-countries {
    font-family: "proxima-nova-alt", Arial, Helvetica Neue, Helvetica, sans-serif;
    font-weight: 600;
}

td.y-third-col p {
    font-family: "proxima-nova-alt", Arial, Helvetica Neue, Helvetica, sans-serif;
    font-weight: 600;
    font-size: .9em;
}