article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section
{
    display: block;
}
#load-overlay
{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background-color: #000;
}

.gallery-loading
{
    background-color: #000;
    z-index: 1001;
    position: relative;
    left: calc(50% - 75px); 
    top:50px;
    height: 40px;
    opacity: 0.8;
    color: #FFF;
    padding: 0px 7px 0px 5px;
}
.gallery-loading img
{
    width: 40px;
    height: 40px;
    float: left;
}
.gallery-loading span
{
    font-size: 15px;
    line-height: 40px;
    padding-left: 5px;
    float: left;
}

#container
{
    clear: both; /* padding: 5px;        margin-bottom: 20px;        border-radius: 5px;      -webkit-border-radius: 5px;     -moz-border-radius: 5px;     border-radius: 5px;*/
}

.centered
{
    margin: 0 auto;
}

.box
{
    margin: 1px;
    font-size: 11px;
    line-height: 1.4em;
    float: left;
    overflow: hidden;
    cursor: auto;
}

.box img, #tumblelog img
{
    display: block;
}

.rtl .box
{
    float: right;
    text-align: right;
    direction: rtl;
}

.box-overlay
{
    color: #ffffff;
    position: relative;
    width: 100%;
    height: 0;
    position: absolute;
    bottom: 0px;
    background: linear-gradient(to bottom, transparent 0px, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.9) 100%) repeat scroll 0 0 transparent;
}

.box:hover .box-overlay
{
    height: 100%; /*-webkit-transition: all .1s ease-out; 	-moz-transition: all .1s ease-out; 	-o-transition: all .1s ease-out; 	transition: all .1s ease-out;*/
}
.box-content
{
    padding: 10px;
    position: absolute;
    bottom: 0px;
}
.box-content h1
{
    border-bottom: 1px solid #fff;
    color: #fff;
    display: inline-block;
    font-size: 25px;
    font-weight: 400;
    margin-bottom: 10px;
    padding-bottom: 10px;
}
.box-title
{
    margin-bottom: 10px;
    text-transform: uppercase;
    width: 100%;
    color: #fff;
    font-size: 15px;
    font-weight: 200;
    display: none;
    line-height: 18px;
}

.box-description
{
    font-size: 13px;
    margin-bottom: 15px;
    color: #eaeaea;
    display: none;
}
.box-date
{
    display: none;
    line-height: 30px;
    float: right;
    padding-right: 5px;
}
.box-date i
{
    padding: 5px;
    background-color: #27768a;
    margin-right: 5px;
}
.box-more
{
    display: none;
    background-color: #27768a;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    color: #fff;
    line-height: 30px;
    text-align: center;
    padding: 0px 5px;
    font-size: 15px;
    float: left;
}

.box-more:hover
{
    background-color: rgba(255, 255, 255, 1);
    color: #000000;
}
.box-more span
{
    margin-right: 5px;
}

.box:hover .box-title, .box:hover .box-description, .box:hover .box-date, .box:hover .box-more
{
    display: inline-block;
}

.col1
{
    width: 24.75%;
}
.col2
{
    width: 24.75% /*49.85%*/;
}
.col3
{
    width: 74.9%;
}
.col4
{
    width: 100%;
}

.col1 img, .col2 img, .col3 img, .col4 img
{
    max-width: 100%;
}

/**** Gutters ****/

/*.has-gutters .box
{
    margin: 5px 0;
}

.has-gutters .col1
{
    width: 90px;
}
.has-gutters .col2
{
    width: 230px;
}
.has-gutters .col3
{
    width: 370px;
}
.has-gutters .col4
{
    width: 550px;
}*/

/**** Transitions ****/

.transitions-enabled.masonry, .transitions-enabled.masonry .masonry-brick
{
    -webkit-transition-duration: 0.7s;
    -moz-transition-duration: 0.7s;
    -o-transition-duration: 0.7s;
    transition-duration: 0.7s;
}

.transitions-enabled.masonry
{
    -webkit-transition-property: height, width;
    -moz-transition-property: height, width;
    -o-transition-property: height, width;
    transition-property: height, width;
}

.transitions-enabled.masonry .masonry-brick
{
    -webkit-transition-property: left, right, top;
    -moz-transition-property: left, right, top;
    -o-transition-property: left, right, top;
    transition-property: left, right, top;
}


/* disable transitions on container */
.transitions-enabled.infinite-scroll.masonry
{
    -webkit-transition-property: none;
    -moz-transition-property: none;
    -o-transition-property: none;
    transition-property: none;
}


/*Content scroller fix*/
#gallery-container .mCSB_scrollTools
{
    width: 6px !important;
    background-color: rgba(0,0,0,1) !important;
    opacity: 1 !important;
}
#gallery-container .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar
{
    border-radius: 0px !important;
    
    background-color: #27768a !important;
    width: 4px !important;
    margin-top: 1px;
}

#gallery-container .mCSB_inside > .mCSB_container
{
    margin-right: 0px !important;
}

#gallery-container .mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar, #gallery-container .mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar
{
    background-color: rgba(255,255,255,0.9) !important;
}

/* Infinite Scroll loader */
#infscr-loading
{
    background-color: #000;
    z-index: 100;
    position: fixed;
    left: calc(50% - 235px); /*-sidebar(half) - scroller(half) - loader(half) width*/
    bottom: 50px;
    height: 40px;
    opacity: 0.8;
    color: #FFF;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 0px 7px 0px 5px;
}
#infscr-loading img
{
    width: 40px;
    height: 40px;
    float: left;
}
#infscr-loading span
{
    font-size: 15px;
    line-height: 40px;
    padding-left: 5px;
    float: left;
}
/**** Fluid ****/

#container.fluid
{
    padding: 5px 0;
}

.fluid .box
{
    margin: 5px 1%;
    padding: 5px 1%;
}

.fluid .box.col1
{
    width: 16%;
}
.fluid .box.col2
{
    width: 36%;
}
.fluid .box.col3
{
    width: 56%;
}

/*Extra small devices - Phones (<768px)*/
@media (max-width: 767px)
{
    .col1
    {
        width: 99%;
    }
    .col2
    {
        width: 99%;
    }
    .box-content
    {
        padding-right: 16px !important;
    }
    #infscr-loading
    {
        left: calc(50% - 75px);
    }
}
/*Small devices - Tablets (≥768px and <992px)*/
@media (min-width: 768px) and (max-width: 991px)
{
    .col1
    {
        width: 49.5%;
    }
    .col2
    {
        width: 49.5%;
    }
    .box-content
    {
        padding-right: 16px !important;
    }
    #infscr-loading
    {
        left: calc(50% - 75px);
    }
}
/*Medium devices - Desktops (≥992px)*/
@media (min-width: 992px) and (max-width: 1199px)
{
    .col1
    {
        width: 33%;
    }
    .col2
    {
        width: 33%;
    }
    .box-content
    {
        padding-right: 16px !important;
    }
    #infscr-loading
    {
        left: calc(50% - 75px);
    }
}