html,
body {
    height: 100%;
}

.mb-20{margin-bottom: 20px;}
.mt-20{margin-top:20px;}
.navbar{
    border-radius: 0px;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 5px 15px 20px 15px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: "\e151";
}

a.desc:after {
    content: "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view td {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav > li > form {
    padding: 8px;
}

.nav > li > form > button:hover {
    text-decoration: none;
}

.cam-container{
    /*width: 768px; */
    margin:0 auto;
}
#imgHolder{
    /*width:768px;
    height:432px;*/
    width: 100%;
    height: auto;
}
#timestamp{
    padding:10px;
}
.navbar-brand{
    padding:3px;
}
.input-calendar{
    margin-bottom: 20px;
}
.arrow-buttons button, #ratesBtns button{
    outline:0px !important;
    -webkit-appearance:none;
}
.front-thumbs{
    margin-top:50px;
}
.front-thumbs a.thumbnail{
    text-decoration: none;
    cursor: pointer;
}
.in-preparing{
    opacity: .8;
}
.in-preparing .thumbnail{
    background-color: #F1F1E2;
}
.in-preparing p{
    opacity:0.5;
}
.facebook-share, .facebook-share:active, .facebook-share:hover, .facebook-share:visited {
    background-color: #3b5998;
    border-radius: 2px;
    color: white;
    padding: 0 5px 1px 4px;
    font-size: 17px;
    text-decoration: none;
}

.facebook-share span {
    font-size: 14px;
}
#ratesBtns{
    width:640px;
    margin:0 auto;
}
#korkonet-container #map {
    height: 300px; 
}
#korkonet-container #stream {
    height: 560px;
    margin: 0 auto;
    text-align:center;
    margin-top:20px;
    margin-bottom:30px; 
}
#korkonet-container #stream_wrapper {
    margin: 0 auto;
    text-align:center;
    margin-top:20px;
    margin-bottom:30px; 
}

/* air */
.air-block{
    position: relative;
    border:2px solid #BBB9B9;
    background-color: #e2e2e2;
    width:100%;
    height:200px;
    margin-bottom:20px;
    border-radius:5px;
    -webkit-box-shadow: 1px 2px 5px 0px rgba(0,0,0,0.4);
    -moz-box-shadow: 1px 2px 5px 0px rgba(0,0,0,0.4);
    box-shadow: 1px 2px 5px 0px rgba(0,0,0,0.4);
}
.air-head{
    text-align: center;
    line-height: 1.7em;
    font-weight: 700;
    font-size: 1.4em;
}
.air-unit{
    bottom: 20%;
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.air-value{
    font-size:60px;
    top: 24%;
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.air-value-x{
    font-size:30px;
    top: 43%;
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.air-footer{
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 4px;
}
.air0{
    background-color: #57b108;
    color: #ffffff;
    border-color: #457916;
}
.air1{
    background-color: #b0dd10;
    color: #373737;
    border-color: #55AD06;
}
.air2{
    background-color: #ffd911;
    color: #373737;
    border-color: #E2C52C;
}
.air3{
    background-color: #e58100;
    color: #ffffff;
    border-color: #B96C09;
}
.air4{
    background-color: #e50000;
    color: #ffffff;
    border-color: #C51111;
}
.air5{
    background-color: #990000;
    color: #ffffff;
    border-color: #750A0A;
}
.full-width-tabs > ul.nav.nav-tabs {
    display: table;
    width: 100%;
    table-layout: fixed;
}
.full-width-tabs > ul.nav.nav-tabs > li {
    float: none;
    display: table-cell;
}
.full-width-tabs > ul.nav.nav-tabs > li > a {
    text-align: center;
}
.tab-full-width{
    width:100%;
}
.tab-full-width a{
    font-weight: bold;
}
#archival-datas .tab-pane{
    width:100%;
    height:400px;
}
.tab-content table{
    width:100%;
    text-align: center;
}
.chart-legend{
    margin: 10px 0 10px;
}
.tab-content table td{
    padding:4px;
}
/* ads */
.main-ad{
    margin-bottom: 20px;
    height:90px;
}
.main-bottom-ad{
    margin-bottom: 40px;
    margin-top: 40px;
}
.main-image{
    display:none;
}
.day-info{
    margin: 0 auto;
    margin-top:10px;
    width:80%;
}
.air-info-container{
}
.air-info{

}
.air-info > div{
    margin-bottom:15px;
    padding: 20px;
    outline: 1px solid #e8e8e8;
    outline-offset: -10px;
    -moz-outline-radius: 10px;
    -webkit-outline-radius: 10px;
    min-height: 240px;
}
#wind-map-container{
    text-align: center;
    position: relative; 
    width:201px;
    height: 200px;
    margin: 0 auto;
}
#wind-map-container img.map{
    opacity: 0;
}
#wind-map-container img.loader{
    position: absolute;
    top: 5vh;
    left: 3vw;
}
#wind-map-container svg{
    position: absolute;
    top: 0px;
    left: 0px;
}
.axis path {
    stroke: #a5a5a5;
}
.tick line{
    stroke: #a5a5a5;
}
.tick text{
    fill: #a5a5a5;
}
#wind-map-container text{
    font-size: 10px;
}
#wind-map-container text.txt-date{
    font-size: 9px;
}

@media all and (max-width: 991px) {
    .korkonet-nav-li{
        display:none !important;
    }
    .cam-container{
        width:100%;
    }
    #imgHolder{
        display: block;
        max-width: 100%;
        height: auto;
        width:100%;
    }
    .wrap > .container {
        padding: 20px;
    }
    #player{
        width:100% !important;
    }
    #player img{
        width:100%;
        height:100%;
    }
    #ratesBtns{
        width:100%;
    }
    .contact-form iframe{
        width:100% !important;
        height:1000px !important;
    }
}
@media all and (max-width: 400px) {
    .air-value{
        font-size: 40px;
    }
    .air-state .air-value-x{
        font-size:20px;
    }
    #archival-datas .tab-pane{
        margin: 0 auto;
        width:90%;
    }
    .day-info{
        width:100% !important;
    }
}
