@import url('https://fonts.googleapis.com/css?family=Nunito:300,400,500,700&display=swap" rel="stylesheet');
@import url('https://fonts.googleapis.com/css?family=K2D:400,700&display=swap');

/*remove #temp-block from bottom of page*/



html, body{
    margin: 0;
    padding: 0 0 40px;
    font-family: 'Nunito', sans-serif;
    background: #E4E4E4;
}


/*  SPECIFIC TO NAV LEFT   */

.nav-left{display: none;}  /*   HIDE DEFAULT MENU   */
.search-left, .search-left-select, .hidden-row, .hidden-row-select{
    width: 153px;
    display: block;
    box-sizing: border-box;
    padding: 7px 0 7px 25px;
    font-weight: 300;
    text-shadow: 1px 2px 1px rgba(0,0,0,.05);
    text-shadow: 0 2px 3px rgba(0,0,0,.1);
    border-bottom: 1px solid rgba(0,0,0,.1);
    color: #fff;
    text-decoration: none;
    transition: .25s;
}

.search-left-select{background: #5face7;}
.search-left:hover{background: #536b7d; cursor: pointer;}

.hidden-row, .hidden-row-select{background: #6f7a82;  padding: 7px 0 7px 35px; animation: fadeIn .8s; transition: .3s; cursor: pointer;}
.hidden-row-select{background: #1e80cc;}
.hidden-row:hover{background: #536b7d;}

/*  CITY SEARCH  */
#SL-1{border-radius: 0 9px 0 0;}      
#SL-6{border: none; border-radius: 0 0 9px 0;}

/*  STATE SEARCH  */
#S-1{border-radius: 0 9px 0 0;}   
#S-8{border: none; border-radius: 0 0 9px 0;}


.main-content{
    position: relative;
    top: 40px;
    background: white;
    border-radius: 15px;
    width: 800px;
    height: auto;
    display: block;
    border: 1px solid #C4C4C4;
    box-sizing: border-box;
    box-shadow: -2px 4px 10px rgba(0, 0, 0, 0.10), 
                 2px 4px 4px rgba(0, 0, 0, 0.08);
    margin: 0 auto;
    z-index: 1;
}

.sort{position: absolute; top: 50px; right: 50px; font-size: 24px; opacity: .5; width: 50px; height: 50px; border-radius: 50px; background: #d8d8d8; border: 1px solid #ccc; box-shadow: 0 1px 2px rgba(0,0,0,.05); transition: .12s;}
.sort i{position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);}
.sort:hover{opacity: .7; cursor: pointer;}
.sort:active{transform: scale(.92);}

.content-standard{
    display: block;
    box-sizing: border-box;
    padding: 50px 50px 0;
    text-align: left;
}

.content-standard h1{
    font-weight: bold;
    font-size: 32px;
    color: #818181;
    margin: 0;
    text-shadow: 0 2px 3px rgba(0,0,0,0.05);
}

h1 i{opacity: .35; font-size: 28px; margin-right: 7px; text-shadow: 0 2px 3px rgba(0,0,0,0.1);}

.content-standard h2{
    font-weight: 300;
    font-size: 18px;
    color: #269DE0;
    margin: 5px 0 0;
    text-shadow: 0 1px 1px rgba(0,0,0,0.03);
}

.sub-caption{
    color: #555;
    font-weight: 300;
    font-size: 17px;
    margin-top: -15px;
}


.block-a{
    display: block;
    height: 200px;
    background: #2991BD;
}

.main-photo{
    border: 1px solid #AEAEAE;
    box-sizing: border-box;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    max-width: 400px;
}


.search-icons{
    display: none;
    text-align: center;
    padding: 15px 5%;
    box-sizing: border-box;
}

.icon-row{
    display: block;
    padding: 15px 0;
}

.icon-box{
    display: inline-block;
    margin-left: 2%;
    width: 20%;
    color: #fff;
    background: #2991BD;
    padding: 22.5px 0 12.5px;
    border: 1px solid #436270;
    border-radius: 20px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.icon-box:hover, .icon-box:focus{
    background: #0DA8FF;
    cursor: pointer;
    border: 1px solid #888;
    box-shadow: 2px 3px 3px rgba(0, 0, 0, 0.15);
}

.icon-caption{
    margin-top: 5px;
    font-size: 14px;
    height: 30px;
    display: inline-block;
    vertical-align: middle;
}

#mobile-row{
    display: none;
}

#regular{line-height: 30px;}

.content-stats{
    display: block;
    padding: 0;
    text-align: center;
}

.content-stats h2{
    font-style: normal;
    margin-top: 50px;
    font-weight: 700;
    font-size: 24px;
    color: #555;
    text-shadow: 0 2px 3px rgba(0,0,0,.07);
}

.stat-selector{
    padding: 35px 0;
    background: #216482;
}

.stat-selector-heading{
    color: white;
    display: inline-block;
    font-weight: 400;
    font-size: 22.5px;
    padding: 15px 25px;
    background: #F19F00;
    border-radius: 8px;
}

.stat-selector select{
    margin: 25px auto 0;
    padding: 15px;
    display: block;
    width: 50%;
    text-align: center;
    border-radius: 5px;
    font-size: 16.5px;
}

.results-container{
    padding: 0 0 50px;
    text-align: center;
    position: relative;
}

.icon-container{
    position: absolute;
    right: 10%;
    top: 30px;
    color: #555;
    background: #bbb;
    border: 1px solid #aaa;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.1);
}

.icon-container:hover {
    background: #ccc;
    border: 1px solid #bbb;
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.02);
}


@keyframes fadeIn{
    from{opacity: 0;}
    to{opacity: 1;}
}
.result-box{animation: fadeIn .25s;}

.table-stats{
    text-align: left;
    font-size: 20px;
    margin: 25px auto 0;
    width: 60%;
    border-collapse: collapse;
    border: 1px solid #d3d3d3;
    box-shadow: 0 2px 3px 1px rgba(0,0,0,0.07);
    text-shadow: 0 1px 1px rgba(0,0,0,.02);
}

.table-stats tr:nth-child(even){background: #F0FAF4;}

.table-stats td{
    text-align: left;
    color: #525252;
}

#row-num{
    text-align: right;
    padding: 10px 0 10px 10px;
}

#row-state, #row-geo, .table-stats td a{
    color: #528DC3;
    text-decoration: underline;
    width: 62.5%;
    padding: 10px 0 8.5px 25px;
}

#row-data{
    text-align: right;
    padding: 10px 25px 10px 0;
}

@media (max-width: 1200px) {
    
    .sort{display: none;}
    .search-icons{display: block;}
}

@media (max-width: 800px) {
    
html, body{
    padding: 0;
}
    
.main-content{
    width: 100%;
    position: static;   
    border: none;
    margin: 0;
    border-radius: 0;
}

}


@media (max-width: 740px) {

.search-icons{
    padding: 5px 5%;
}

#desktop-row{
    display: none;
}

#mobile-row{
    display: block;
    padding: 7.5px 0;
}

.icon-box{
    display: inline-block;
    margin-left: .5%;
    width: 22%;
    padding: 15px 0 5px;
}

.icon-caption{
    font-size: 12.5px;
}

#regular{line-height: inherit;}

.table-stats{
    width: 70%;
}

}


@media (max-width: 650px) {
    
header{
    display: none;
}   

.add-menu{
    display: none;
}  

.content-standard{
    padding: 50px 5% 15px;
}

h1{
    margin: 0 0 25px;
}

.table-stats{
    width: 80%;
}


}

@media (max-width: 550px) {.table-stats{width: 90%;}}

