/*
Theme Name: Kiosk
Author: Marlon ninebits
Author URI: ninebits.nl
*/


body.home{
    font-family: NewsGothicStd,tahoma,sans-serif;
    font-size:12px;
    background:#e7e7e7;
    margin-top:82px !important;
    overflow: hidden;
}
h1{
    font-size: 130%;
    height: auto;
    position: relative;
    text-transform: none;
    color: #0e8d56;
    font-weight:700;
    margin: 0 0 20px 0;
    line-height: 130%;
    padding: 40px 0 10px 0;
}
p{
    font-size: 90%;
    line-height: 150%;
}

.flex-box{
    display:flex;
    flex-flow:row wrap;
    height: calc(100vh - 114px);
}

.flex-box > div.f-33{
    flex:0 0 20%;
    max-width:20%;
    display: flex;
    align-items: center;
    flex-flow: row wrap;
    justify-content: center;
    max-height: 100%;
}
.flex-box > div.f-66{
    flex:0 0 80%;
    max-width:80%;
    max-height: 100%;
}
div{
    box-sizing:border-box;
}

.header,
.single-post,
.single-post-wrapper{
    display:flex;
    flex-flow:row wrap;
}

.header > div,
.single-post > div,
.single-post-wrapper > div{
    flex:0 0 50%;
    max-width:50%;
}

.single-post-wrapper > div:first-of-type{
    position: relative;
    padding: 30px 50px;
    font-size: 230%;
    font-weight: normal;
    line-height: 160%;
    letter-spacing: 0;
    min-height: inherit;
    height: calc(100vh - 114px);
}

.single-post-wrapper > div:last-of-type{
    flex:0 0 50%;
    max-width:50%;
    font-size: 230%;
}
.single-post-wrapper > div.secondnupost{
    background:#0f9058;
    padding: 30px 50px;
    color:#fff;
}
.single-post-wrapper > div.secondnupost h1{
    color:#fff;
}

img{
    max-width: 100%;
    height: auto;
}

.custom-logo-link img{
    margin: 5px 0 0 48px!important;
    width: 168px;
    height: 74px;
}


/*weather widget styling*/


.openweather{
    background:#65767e;
    border-radius: 5px;
    overflow: hidden;
    text-align:center;
}
.openweather .location-name{
    margin: 0;
    background-color: #fff;
    padding: 25px 0;
    text-align: center;
    color: #5f6062;
    text-transform: none;
    float: none;
    line-height: normal;
    font-size: 220%;
    font-weight:700;
}
.openweather .date{
    padding: 25px 0;
    font-size: 220%;
    border-top: 1px solid #f7f7f7;color:#fff;
}

.openweather .temp{
    display:block;
    width:100%;
    padding: 0 0 25px;
    font-size: 450%;color:#fff;
}
.weather-icon{
    width: 300px;
    height: 300px;
    background-repeat: no-repeat;
    background-position: 50%;
}


/*header*/

header > div:last-of-type{
    display:flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 15px;
    color: #5f6062;
    font-size: 400%;
    text-align: right;
    border: 2px solid #fff;
    background-color: #fff;
    padding: 10px;
}

header{
    background:#fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    border-bottom:1px solid #dbdbdb;
    z-index:700;
    height: 113px;
}

#clock:after{
    content:'';
    background:url('icons/volume.png');
    width:64px;
    height:32px;
    display:inline-block;
    background-size: 24px 24px;
    background-repeat: no-repeat;
    background-position: left 50%;
    margin-left: 15px;
    cursor:pointer;
}


.header.loading:before{
    content:'';
    background:#0e8d56;
    position:absolute;
    left:0;
    width:0;
    height:3px;
    animation-name:widthAnimation;
    animation-duration:15000ms;
    animation-iteration-count: infinite;
    animation-timing-function: steps(10000);
}

@keyframes widthAnimation {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}