::-webkit-scrollbar {
    width: 12px;
    background-color: transparent;
}

::-webkit-scrollbar-track-piece  {
    background-color: #FFF;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}
 
::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.75); 
}

html,body{
    margin:0;
    padding:0;
    height:100%;
    width:100%;
    font-size:1em;
    font-family: 'Roboto', sans-serif;
    padding-right:0px !important;
    margin-right:0px !important;
    min-width:360px;
}

body.overflowHidden{    
    overflow:hidden;
}

.hidden{
    display:none;
}

.post_load{
    width:0px;
    height:0px;
    max-width:0px;
    max-height:0px;
    overflow:hidden;
    background-color:transparent !important;
}

header{
    transition: all 0.5s ease-in-out;
    width:100%;
    height:130px;
    background-color: #fff;
    box-shadow: 0px 3px 13px #666;
    position:fixed;
    top:0px;
    z-index:1000;
}

header nav {
    transition: all 0.5s ease-in-out;
    width:100%; 
    position:relative;
    display:block;
    line-height:55px;
    vertical-align: bottom;
    margin-top:1em;
}

header nav div{
    display:inline-block;
}

header nav div a#logoWrapper{
   width:100%;
}

header #logo{
    transition: all 0.5s ease-in-out;
    height:90px;
    margin-left:1em;
}


header nav #navigationLinks{
    position:absolute;
    right:0;
    display:inline-block;
}

header nav ul#sitenav{
    float:right;
    list-style: none;
    margin:0;
    padding:0;
}

header nav ul#socialnav{
    float:right;
    list-style: none;
    margin:0;
    padding:0;
}

header nav ul#sitenav li{
    float:left;
    width:120px;
}

header nav ul#socialnav li{
    float:left;
    width:60px;
}

header nav ul#sitenav li a{
    transition: all 0.25s ease-in-out;
    display:block;
    color:#333;
    text-decoration: none;
    padding: 0 0.75em;
    text-align: center;
    height:38px;
    line-height:38px;
    border-radius: 5px;
    margin-right:0.75em;
    border:1px solid #ccc;
    background: rgb(255,255,255); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(229,229,229,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
}

header nav ul#sitenav li a:hover{
    transition: all 0.25s ease-in-out;
    border:1px solid #20afff;
}


header nav ul#sitenav li a.active{
    transition: all 0.25s ease-in-out;
    border:1px solid #20afff;
}


header nav ul li a{
    transition: all 0.5s ease-in-out;
    display:block;
    color:#333;
    text-decoration: none;
    padding: 0 0.75em;
    text-align: center;
    height:40px;
    line-height:40px;
}

header nav ul li a img {
    transition: all 0.5s ease-in-out;
    width:40px;
    height:40px;
}

header.smaller {
    transition: all 0.5s ease-in-out;
    width:100%;
    height:55px;
}

header.smaller nav{
    transition: all 0.5s ease-in-out;
    margin-top:0.5em;
}

header.smaller #logo {
    transition: all 0.5s ease-in-out;
    height: 40px;
}

footer {
    margin:0px auto;
    max-width: 1344px;
    padding: 1em 0em 1em 0em;
    margin-bottom:50em;
    background-color: rgba(0,0,0,0.5);
}

footer nav ul#footernav{
    list-style: none;
    margin:0;
    padding:0;
    padding: 1em;
}

footer nav ul#footernav li a{
    transition: all 0.25s ease-in-out;
    display:block;
    color:#333;
    text-decoration: none;
    text-align: center;
    height:38px;
    line-height:38px;
    border-radius: 5px;
    border:1px solid #ccc;
    background: rgb(255,255,255); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(229,229,229,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
}

footer nav ul#footernav li a:hover{
    transition: all 0.25s ease-in-out;
    border:1px solid #20afff;
}

main{
    margin:0px auto;
    max-width: 1344px;
    padding: 1em 1em 0em 1em;
    overflow: hidden;
}

main h1{
    font-family: 'Roboto Condensed', sans-serif;
    color:#fff;
    font-size:2em;
    padding:0;
    margin:0 0 1em 0;
    text-shadow: 2px 2px #333;
}

main h2{
    color:#000;
    font-size:2em;
    padding:0;
    margin:0 0 1em 0;
}

main h2.white, h3.white{
    font-family: 'Roboto Condensed', sans-serif;
    color:#fff;
    font-size:1.5em;
    padding:0;
    margin:0 0 1em 0;
    text-shadow: 2px 2px #333;
}

.topmargin{
    margin-top:10em;
}

#featured_image_description{
    display:block;
    position: relative;
    height: 200px;
    padding: 1em 1em 5em 1em;
    margin:0px auto;
    background-color: rgba(0,0,0,0.5);
}

#featured_image_description .innerWrapper{
    padding:1em;
    background-color: rgba(255,255,255,0.75);
}

#featured_image_description .row{
    font-size:1.25em;
    color:#000; 
    line-height:1.5em;
}

#featured_image_description .link{
    color:#000;
}

#featured_image_description .link:hover{
    color:#fff;
    text-shadow: 1px 1px #333;
}

#aboutus{
    display:block;
    position: relative;
    height: auto;
    min-height: 100% !important;
    padding: 1em 1em 14em 1em;
    background-color:rgba(255,255,255,0.90);
    margin:0px auto;
    color:#000;
}

#gallery{
    display:block;
    position: relative;
    height: auto;
    min-height: 100% !important;
    padding: 1em 1em 3em 1em;
    background-color:rgba(0,0,0,0.5);
    margin:0px auto;
}

#instagram_posts{
    /*display:inline-block;
    width:70%;*/
}

#twitter_posts{
    display:inline-block;
    width:20%;
}

.postContainer{
    transition:all 0.5s ease-in-out;
    position:relative;
    border:1px solid #ccc; 
    background-color:rgba(255,255,255,1);
    float:left; 
    margin: 0 0.5em 1em 0.5em; 
    width:310px;
    height:310px;
    box-shadow: 0px 0px 0px #333;
}

.postContainerLink{
    transition:all 0.5s ease-in-out;
    position:absolute;
    padding:1em 1em 2em 1em;
}

.postContainer_focus{
    transition:all 0.5s ease-in-out;
    position:relative;
    z-index:100;
    max-height:2000px;
    box-shadow: 5px 5px 5px #333;
    border:1px solid #ccc;
}

.post_thumbnail{
    width:280px;
    cursor: pointer;
}

.post_text_hidden{
    transition:all 0.5s ease-in-out;
    position:absolute;
    max-height:0px;
    width:100%;
    opacity:0;
    background-color:rgba(255,255,255,1);
    left: -1px;
    top:calc(200px + 3em);
    border-top: 0px;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-left: 1px solid #ccc;
    box-shadow: 0px 0px 0px #333;
    overflow:hidden;
}

.post_text_visible{
    transition:all 0.5s ease-in-out;
    position:absolute;
    max-height:2000px; 
    width:100%;
    opacity:1;
    background-color:rgba(255,255,255,1);
    left: -1px;
    top:calc(200px + 3em);
    border-top: 0px;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-left: 1px solid #ccc;
    box-shadow: 5px 5px 5px #333;
    overflow: hidden;
}

.post_date{
    font-family: 'Roboto Condensed', sans-serif;
    color:#666;
    font-weight:700;
    font-size:1em;
    line-height:1.5em;
    padding: 0 1em 1em 1em;
}

.post_caption{
    color:#666;
    font-weight: 500;
    font-size: 1em;
    line-height:1.5em;
    padding: 0 1em 1em 1em;
}

.post_overlay_hidden{
    transition: all 0.5s ease-in-out;
    position:fixed;
    top:0;
    left:0;
    overflow:hidden;
    opacity:0;
    background-color:rgba(128,128,128,0.5);
}

.post_overlay_visible{
    transition: all 0.5s ease-in-out;
    position:fixed;
    top:0;
    left:0;
    bottom:0;
    right:0;
    overflow:hidden;
    opacity:1;
    background-color:rgba(0,0,0,0.5);
    z-index:100;
}

#loadingWidget{
    display:none;
}

.post_details_container_hidden{
    transition: all 0.25s ease-in-out;
    margin: auto;
    position: absolute;
    left: 0;
    right: 0;
    background-color:#fff;
    width:80%;
    height:0;
    z-index:200;
    overflow:hidden;
    padding: 2%;
}

.post_details_container{
    transition: all 0.25s ease-in-out;
    margin: auto;
    position: fixed;
    top: 0;
    left: 0; 
    bottom: 0; 
    right: 0;
    background-color:#fff;
    width:80%;
    height: 70%;
    z-index:200;
    box-shadow: 5px 5px 5px #333;
    padding: 2%;
    border-radius:5px;
    overflow:hidden;
}

.postCloseX{
    position:absolute;
    padding:0.5em 0.75em;
    top:0.25em;
    right:0.25em;
    cursor:pointer;
    border:1px solid #ccc;
    border-radius:5px;
    background: rgb(255,255,255); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(229,229,229,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
}

.postCloseButton{
    padding:0.5em 0.75em;
    cursor:pointer;
    border:1px solid #ccc;
    border-radius:5px;
    background: rgb(255,255,255); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(229,229,229,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
}

.postLoadingProgress{
    margin:0px auto;
    margin-top:30%;
    text-align:center;
}

.post_details{
    overflow:auto;
    max-height:640px;
    margin-top: 1.25em;
}

.post_details_left{
    position: absolute;
    top: 0; 
    bottom: 0; 
    left: 0;
    max-width: 600px;
    padding: 0 2%;
    margin-top:2.25em;
}

.post_details_right{
    margin: 0 0 0 610px;
    padding: 0 2% 2% 2%;
    max-height:550px;
}

.post_details_img_container{
    position:relative;
    padding: 2%;
}

.post_details_img{
    width: 100%;
    object-fit: contain;
    max-height: 600px;
    max-width: 600px;
}

.postLikes{
    margin-left:1em;
}

.postTextRow{
    display:block;
    overflow:hidden;
    margin-bottom:1em;
}

.postLabel{
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: lighter;
    font-size:1.25em;
}

.postText{
    white-space: pre-wrap;
    margin-bottom:1em;  
}

.postComment{
    font-size:1em;
}

.post_load_error{
    transition:all 0.5s ease-in-out;
    border:1px solid #ccc; 
    background-color:rgba(255,255,255,1);
    padding:1em 1em 2em 1em;
    height:200px;
    text-align:center;
    padding-top:10%;
    box-shadow: 0px 0px 0px #333;
}

#disclaimerOverlay{
    transition: all 1s ease-in-out;
    position:fixed;
    top:0;
    left:0;
    bottom:0;
    right:0;
    width:100%;
    height:100%;
    overflow:hidden;
    opacity:1;
    background-color:rgba(0,0,0,0.5);
    z-index:100;
}

#disclaimerOverlayWindow{
    transition: all 0.5s ease-in-out;
    margin: auto;
    position: fixed;
    top: 0;
    left: 0; 
    bottom: 0; 
    right: 0;
    background-color:#fff;
    width:60%;
    height: 60%;
    z-index:200;
    box-shadow: 5px 5px 5px #333;
    padding: 2%;
    border-radius:5px;
    overflow:hidden;
    max-height: 350px;
}

.legal{
    line-height:1.5em;
}

.hidden{
    display:none;
}

@media all and (max-width: 1388px) {
    main,footer{
        max-width:1017px;
    }
    
    
    .post_details_container{
        transition: all 0.25s ease-in-out;
        margin: auto;
        position: fixed;
        top: 3em;
        left: 0; 
        bottom: 0; 
        right: 0;
        background-color:#fff;
        width:80%;
        height:510px;
        z-index:200;
        box-shadow: 5px 5px 5px #333;
        padding: 2%;
        border-radius:5px;
        overflow:hidden;
    }
    
    
    .post_details_img{
        width: 100%;
        object-fit: contain;
        max-width: 500px;
        max-height:470px;
    }
    
    
    .post_details_right{
        margin: 0 0 0 510px;
        padding: 0 2% 2% 2%;
        max-height:470px;
    }
    
}

@media all and (max-width: 1123px) {
    main,footer{
        max-width:688px;
    }
    

    .topmargin{
        margin-top:5em;
    }
    
    header{
        transition: all 0.5s ease-in-out;
        width:100%;
        height:55px;
        background-color: #fff;
        box-shadow: 0px 3px 13px #666;
        position:fixed;
        top:0px;
        z-index:1000;
    }

    header nav {
        transition: all 0.5s ease-in-out;
        width:100%; 
        position:relative;
        display:block;
        line-height:55px;
        margin-top:0.5em;
    }

    header nav div{
        display:inline-block;
    }

    header nav div a#logoWrapper{
       width:100%;
    }

    header #logo{
        transition: all 0.5s ease-in-out;
        height:40px;
        margin-left:1em;
    }
    
    
    
    .post_details_container{
        transition: all 0.25s ease-in-out;
        margin: auto;
        position: fixed;
        top: 3em;
        left: 0; 
        bottom: 0; 
        right: 0;
        background-color:#fff;
        width:80%;
        height:450px;
        z-index:200;
        box-shadow: 5px 5px 5px #333;
        padding: 2%;
        border-radius:5px;
        overflow:hidden;
    }
    
    
    .post_details_img{
        width: 100%;
        object-fit: contain;
        max-width: 400px;
        max-height:400px;
    }
    

    .post_details_right{
        margin: 0 0 0 410px;
        padding: 0 2% 2% 2%;
        max-height:410px;
    }
    
}

@media all and (max-width: 870px) {
    main,footer{
        max-width:688px;
    }    
    
    .post_details_container{
        transition: all 0.25s ease-in-out;
        margin: auto;
        position: fixed;
        top: 3em;
        left: 0; 
        bottom: 0; 
        right: 0;
        background-color:#fff;
        width:90%;
        height:400px;
        z-index:200;
        box-shadow: 5px 5px 5px #333;
        padding: 2%;
        border-radius:5px;
        overflow:hidden;
    }
    
    
    .post_details_img{
        width: 100%;
        object-fit: contain;
        max-width: 350px;
        max-height:350px;
    }
    
    .post_details_right{
        margin: 0 0 0 360px;
        padding: 0 2% 2% 2%;
        max-height:360px;
    }
}

@media all and (max-width: 731px) {
    
    header,header.smaller{
        height: 145px;
    }
    
    header nav {
        margin-top: 0.5em;
        display:block;
        line-height: inherit;
    }
    
    header nav div{
        width:100%;
        display:block;
    }
    
    header nav div a{
        width:100%;
        display:block;
        text-align: center;
    }
    
    header #logo, header.smaller #logo {
        height: 35px;
        margin-left:0px;
        margin-right:0px;
    }
    
    header nav #navigationLinks{
        /*position: relative;*/
        left: 0;
        display: block;
        overflow: hidden; 
    }
    
    header nav ul#socialnav{
        float:none;
        display:block;
        clear: left;
        width: 150px;
        margin: 0px auto;
        margin-top:0.5em;
        height: 50px;
    }
    
    header nav ul#sitenav{
        float:none;
        display:block;
        clear: left;
        height: 60px;
    }
    
    header nav ul#socialnav li{
        display:block;
        width: 50px;
    }
    
    header nav ul#sitenav li{
        display:block;
        width: 50%;
    }
    
    header nav ul#sitenav li a{
        display:block;
        border-radius: 0px;
        margin:0px;
        padding:0px;
    }
    
    .topmargin{
        margin-top: 130px;
    }
    
    main,footer{
        max-width:360px;
        min-width:360px;
        padding:1em 0 0 0;
    }
    
    main h1,h2{
        font-size: 1.25em !important;
    }
    
    .postContainer{
        float: none;
        margin: 0 auto;
        margin-bottom:1em !important    ;
    }

    .postCloseButton{
        position:absolute;
        padding:0.5em 0.75em;
        top:0.25em;
        right:0.25em;
        cursor:pointer;
        border:1px solid #ccc;
        border-radius:5px;
        background: rgb(255,255,255); /* Old browsers */
        background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(229,229,229,1) 100%); /* FF3.6-15 */
        background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
    }
    
    .post_details_container{
        clear:left;
        transition: all 0.25s ease-in-out;
        margin: auto;
        position: fixed;
        top: 0;
        left: 0; 
        bottom: 0; 
        right: 0;
        background-color:#fff;
        width:90%;
        height: 70%;
        max-height: 450px;
        z-index:200;
        box-shadow: 5px 5px 5px #333;
        padding: 2%;
        border-radius:5px;
        overflow:hidden;
        margin-top:160px;
    }
    
    #disclaimerOverlayWindow{
        margin-top:160px;
        width: 90%;
        height: 70%;
    }
    
    #disclaimercontent > div{
        margin-bottom:5em;
    }
    
    
    .post_details {
        overflow: auto;
        max-height: -webkit-fill-available !important;
        margin-top: 2.5em;
        padding-bottom: 1.5em;
    }
    
    .post_details_img{
        width: 100%;
        object-fit: contain;
        max-width: 300px;
        max-height:300px;
    }
    
    .post_details_left{
        margin-top: 0.25em !important;
        position:relative;
    }
    
    .post_details_right {
        position:relative;
        clear:left;
        margin: 0 0 0 0;
        padding:2%;
        max-height: fit-content !important;
    }
    
}

@media all and (max-width: 360px) {
    #gallery{
        padding:0.65em !important;
    }
}