html, body{
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body{
    background-color: #f9f9f9;
    font-family: 'Open Sans', sans-serif;
    color: #a7a9ac;
    text-align: justify;
}

* {
    -webkit-touch-callout: none;          
    -webkit-text-size-adjust: none;             
    -webkit-tap-highlight-color: rgba(0,0,0,0); 
    -webkit-user-select: none;
}

h2, .logo{
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
}

.clearfix {
    display: inline-block;
    clear: both;
}
    .clearfix:after {
        visibility: hidden;
        display: block;
        font-size: 0;
        content: " ";
        clear: both;
        height: 0;
    }

.main{
    position: relative;
    top: 0; left: 0; right: 0;
    max-width:1320px;
    min-width: 320px;
    margin:0 auto;
    overflow: hidden;
}
        
.header{
    text-align: center;
    /*padding:37px 4.545% 0px 4.545%;*/
    padding-top: 41px;
    background: #fff;
}
.social{
    margin: 0px 60px;
    overflow: hidden;
}
.logo{
    float:left;
    display: inline-block;
    font-weight: 700;
}
.logo img{
    float:left;
    width:auto;
    height:50px;
    margin-top: 0;
    filter: grayscale(1);
}
.logo h1{
    display: inline-block;
    font-size: 24px;
    line-height: 50px;
    margin: auto 15px;
}
.social-icons{
    float: right;
    margin-top:0;
    width:auto;
}
.social-icons img{
    width:100%;
    height:auto;
}
.menu{
    margin: 25px 60px 30px 60px;
    padding-top: 30px;
    text-align: left;
    border-top: 1px solid #ccc;
}
.menu span{
    font-weight: 700;
    font-size: 18px;
    margin-right:30px;
}
.menu-button{
    display: none;
    float:right;
    width:50px;
    height:50px;
    background-color: #ccc;
    padding-top:13px;
    padding-left:12px;
    box-sizing: border-box;
}
.menu-button span{
    display: block;
    width: 27px;
    height: 4px;
    background-color: white;
    margin-bottom: 6px;
}

.left-side{
    /*max-width: 850px;
    display: inline-block;
    float:left;*/
    overflow: hidden;
}
.content{
    /*padding:0 4.545% 0 4.545%;*/
    padding: 30px 60px 0 60px;
    margin-top: -30px;
    background: #fff;
}
.content .extra-post{
    display: none;
}


.page-content{
    width:100%;
}
.post{
    /*max-width:850px;*/
    margin-bottom: 30px;
    position: relative;
}
.post img{
    width:100%;
    height: auto;
    display: block;
    filter: grayscale(1);
}

.sidebar-post img {
    filter: grayscale(1);
}

.post h2{
    margin: 27px 0 19px;
    font-size: 18pt;
    line-height: 23pt;
    text-align: left;
}
.post p{
    font-weight: 400;
    margin: 0 0 20px;
    font-size: 12pt;
    line-height: 20pt;
    overflow: hidden;
}
.metadata{
    font-weight: 400;
    padding-top: 5px;
    font-size: 10.5pt;
    line-height: 18pt;
    border-top: 1px solid #d8dddf;
}

.metadata > *{
    display: inline-block;
    position: relative;
}

    .metadata .category{
        width: 135px;
        border-right: 1px solid #d8dddf;
        box-sizing: border-box;
    }

    .metadata .comments{
        margin-left: 30px;
        padding-left: 20px;
        text-align: right;
    }
        .metadata .comments:before{
            content:"";
            width:13px;
            height:100%;
            position: absolute;
            top:0; left:0;
        }
        
.right-side{
    /*max-width:300px;
    display: inline-block;
    vertical-align: top;*/
    width:300px;
    float:right;
    margin-left:3.787%;
}

    .sidebar-banner:empty{
        margin-bottom: 0px;
        display: none;
    }
    .sidebar-post{
        max-width: 300px;
        margin-bottom: 30px;
    }
    .sidebar-post h2{
        font-size: 20px;
        line-height: 26px;
    }

    .sidebar-post .img{
        width:300px;
        height:auto;
    }

    .sidebar-post .metadata .comments{
        float:right;
    }


/*---------------- banner placements --------------------*/

.inline-banner,
.outer-banner{
    width: 100%;
    margin: 0 auto;
    display: block;
    text-align: center;
}
    .inline-banner{
        margin: 10px auto 20px;
    }
    .inline-banner > div{
        display: inline-block;
        padding: 0 10px 10px 0;
    }

.header-banner{
    width: 100%; height: auto;
    margin:0 auto;
    display: inline-block;
}
.header-banner:empty{
    display: none;
}
    .header-banner > div{
        margin: 0 auto 30px auto;
    }

.sidebar-banner{
    width: 100%;
    height: auto;
    margin: auto auto 20px;
}
    .sidebar-banner > div{
        padding: 0 10px 10px 0;
    }
    
@media only screen and (max-width:800px) and (min-width:258px), (min-device-width:300px) and (max-device-width:258px){
    @-ms-viewport { width: 320px; }
    .right-side{
        float:none;
        margin:0 auto;
        width: 100%;
    }

    .sidebar-post img {
        width: 100%;
    }
    .sidebar-banner{
        margin-bottom: 30px;
    }
    .sidebar-post{
        /* display: none; */
        max-width: 100%;
    }
    .content .extra-post{
        display: block;
    }
    .header{
        width:100%;
        padding: 0;
    }

    .header-banner > div{
        margin: 30px auto;
    }
    .content{
        margin-top: 0;
        padding: 3.15% 3.15% 0 3.15%;
    }
    .social{
        margin: 0px;
        padding: 15px;
        background: #e6e6e6;
    }
    .social-icons{
        display: none;
    }
    .menu{
        display: none;
    }
    .main{
        padding-top:0px;
    }
    .menu-button{
        display: block;
    }

    .left-side .post:nth-child(1){
        display: none;
    }
}
/*---------------- FORM --------------------*/		

.previewform{
    position: fixed;
    top:0; left: 0;
    width: 100%; height: 100%;
    z-index: 9999;
    
    display: none;
}
    #iframe360{
        width: 100%; height: 100%;
    }

.interscroller{
    height: 100%; width: 100%;
}

.banner-holder {
    /* margin-bottom: 15px; */
    /* width: 300px;
    height: 250px;
    left: 0px;
    top: 0px; */
}