﻿body {
    padding-top: 2.4rem;
}

@font-face {
    font-family: 'HelveticaNeue Light';
    src: url('Bootstrap/fonts/HelveticaNeue Light.ttf') format('truetype');
}

@font-face {
    font-family: 'HelveticaNeueRegular';
    src: url('Bootstrap/fonts/HelveticaNeueRegular.ttf') format('truetype');
}

@font-face {
    font-family: 'HelveticaNeuBold';
    src: url('Bootstrap/fonts/Helvetica Neu Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'HelveticaNeueMedium';
    src: url('Bootstrap/fonts/HelveticaNeueMedium.ttf') format('truetype');
}

.navbar-header {
    margin: 0px 0px 0px 10px;
}
.collapse.navbar-collapse.navbar-right.navbar-responsive-collapse.mobile-menu-position {
    margin: 0 auto !important;
}
/********************/
.img_btn {
   max-height:100%;
   max-width:100%;
    width: 305px;
    padding: 0 5px;
}
.d-flex {
    justify-content: center;
    display: flex;
}
.freeButton {
    margin-bottom: 20px;
}
/* If have the image layer */
.grid-img {
    display: block;
    width: 100%;
    height: auto;
    border: none;
    transform: scale(1);
    transition: all 1s;
}
.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background: #3DC0F1 url(img/link.png) no-repeat center 20%;
}

a.overlayPost:hover .overlay {
    opacity: 0.8;
}
.overlayPost {
    position: relative;
    display: block;
}
.text {
    color: white;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

/* If have the overlay layer */


.blogTitle {
    font-family: Helvetica;
    font-size: 32px;
    line-height: 31px;
    text-align: center;
    width: 100%;
    color: #fff;
    padding-top: 15px;
}

.blogUser {
    font-family: "HelveticaNeue";
    font-size: 18px;
    line-height: 22px;
    top: 65%;
    width: 100%;
}

.blogTime {
    color: #F5704E;
    font-family: Helvetica;
    font-size: 24px;
    line-height: 29px;
    top: 75%;
    width: 100%;
}



#photos {
    /* Prevent vertical gaps */
    line-height: 0;
    -webkit-column-count: 5;
    -webkit-column-gap: 0px;
    -moz-column-count: 5;
    -moz-column-gap: 0px;
    column-count: 5;
    column-gap: 0px;
}

    #photos img {
        /* Just in case there are inline attributes */
        width: 100% !important;
        height: auto !important;
        padding:5px;
    }
#dvLoading {
    position: fixed;
    z-index: 999;
    height: 50px;
    width: 50px;
    overflow: visible;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    background: url('../images/bar-circle.gif') no-repeat center center;
    right: 0;
    border-radius: 50%;
    right: 0;
}

@media (max-width: 1200px) {
    #photos {
        -moz-column-count: 4;
        -webkit-column-count: 4;
        column-count: 4;
    }
}

@media (max-width: 1000px) {
    #photos {
        -moz-column-count: 3;
        -webkit-column-count: 3;
        column-count: 3;
    }
}

@media (max-width: 800px) {
    #photos {
        -moz-column-count: 2;
        -webkit-column-count: 2;
        column-count: 2;
    }
}

@media (max-width: 400px) {
    #photos {
        -moz-column-count: 1;
        -webkit-column-count: 1;
        column-count: 1;
    }
}
