.og-grid {
    list-style: none;
    padding: 20px 0;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}
.og-grid li {
    display: inline-block;
    margin: 20px 10px 0 10px;
    vertical-align: top;
    height: 190px;
    width: 190px;
}


.og-grid li > a, .og-grid li > a img {
    border: none;
    outline: none;
    display: block;
    position: relative;
}
.og-grid li.og-expanded > a::after {
    top: auto;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-bottom-color: #f1f4f3;
    border-width: 15px;
    left: 50%;
    margin: -20px 0 0 -15px;
}
.og-expander {
    position: absolute;
    background: #f1f4f3;
    top: auto;
    left: 0;
    width: 100%;
    margin-top: 10px;
    text-align: left;
    height: 0;
    overflow: hidden;
}
.og-expander-inner {
    padding: 50px 30px;
    height: 100%;
}
.og-close {
    position: absolute;
    width: 40px;
    height: 40px;
    top: 20px;
    right: 20px;
    cursor: pointer;
}
.og-close::before, .og-close::after {
    content: '';
    position: absolute;
    width: 100%;
    top: 50%;
    height: 1px;
    background: #888;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}
.og-close::after {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.og-close:hover::before, .og-close:hover::after {
    background: #333;
}

.og-fullimg{
    width: 32%;
    float: left;
    height: 100%;
    overflow: hidden;
    position: relative;
}
.og-details {
    width: 68%;
    float: left;
    height: 100%;
    overflow: hidden;
    position: relative;
}
.og-details {
    padding: 20px 40px 0 20px;
    overflow-y: auto;
}

.og-details::-webkit-scrollbar {
    width: 4px;
}
.og-details::-webkit-scrollbar-thumb {
    background-color: #c82027;
    border-radius: 2px;
}


.og-fullimg {
    text-align: center;
}
.og-fullimg img {
    display: inline-block;
    max-height: 85vh;
    max-width: 100%;
    width: auto !important;
}
.og-details h3 {
    font-weight: 300;
    font-size: 20px;
    padding:  20px 0px 10px 0;
    margin :  0px;
    font-family: 'proxima_nova_rgregular', sans-serif;
}
.og-details p {
    font-weight: 400;
    font-size: 16px;
    font-family: 'proxima_nova_rgregular', sans-serif;
}

.og-details h4 {
    font-weight: 600;
    font-size: 14px;
    font-family: 'proxima_nova_rgregular', sans-serif;
}

.og-details a {
    font-weight: 700;
    font-size: 16px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 10px 20px;
    border: 3px solid #333;
    margin: 30px 0 0;
    outline: none;
    display: none;
    visibility: hidden;
}
.og-details a::before {
    content: '\2192';
    display: inline-block;
    margin-right: 10px;
}
.og-details a:hover {
    border-color: #999;
    color: #999;
}
.og-loading {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f1f4f3;
    box-shadow: 0 0 1px #ccc, 15px 30px 1px #ccc, -15px 30px 1px #ccc;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -25px 0 0 -25px;
    -webkit-animation: loader 0.5s infinite ease-in-out both;
    -moz-animation: loader 0.5s infinite ease-in-out both;
    animation: loader 0.5s infinite ease-in-out both;
}



/* custom styles */

.page-template-page-memories .main-content-inner{
    width: 100%;
}




#primary.memeorypage-list{
    margin-left: 0  ;
}
#primary.memeorypage-list .title-highlight{
    padding-bottom: 50px;
}

#primary.memeorypage-list .title-highlight h2{
    font-size: 50px;
}
#primary.memeorypage-list .title-highlight h2 b{
    font-size: 60px;
    color: #666;
}

#primary.memeorypage-list .content-short-wrapper{
    width: 100%;
    max-width: 800px;
    margin: 0px auto;
}

#primary.memeorypage-list .authour-info{
    padding: 15px 0px 0px 0px;
    text-transform: uppercase;
}
#primary.memeorypage-list .authour-info strong{
    font-weight: 400;
    font-size: 14px;
}

.og-grid > li > a, .og-grid > li > a> img {
    height: 190px;
    width: 190px;
    object-fit: cover;
}

.og-grid li .missing-content{
    display: none !important;
}




.page-content.page-content-btm{
    padding-top: 50px;
}

.page-content-top p{
    font-weight: 700;
    font-size: 16px;
}

.og-grid li a{
    position: relative;
    cursor: pointer;
}
.og-grid li a .missing-itm{
    position: absolute;
    left: 50%;
    top: 50%;
    color: #000;
    padding: 5px 15px;
    transform: translate(-50%);
    opacity: 0;
    transition: all  0.3s ease;
    font-weight: 700;
    width: 180px;
}
.og-grid li a:hover .missing-itm, .og-grid li.og-expanded a .missing-itm{
    opacity: 1;
}

.og-fullimg{
    position: relative;
}

#og-grid .og-fullimg .slick-arrow{
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 50%;
    display: block;
    width: 20px;
    height: 35px;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    color: transparent;
    border: none;
    outline: none;
    z-index: 100;
}

#og-grid  .og-fullimg .slick-arrow.slick-prev{
    left: 10px;
    background: url('../../images/arrow-left.png') center no-repeat;
}

#og-grid  .og-fullimg .slick-arrow.slick-next{
    right: 10px;
    background: url('../../images/arrow-right.png') center no-repeat;
}


.og-grid li a{
    position: relative;
    z-index: 2;
}
.og-grid li a span{
    z-index: 4;
}

.og-grid li a:before{
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 3;
}
.og-grid li a:hover:before{
    background: rgba(255, 255, 255, 0.2);
}

.og-grid li a:hover img{
    filter: blur(5px);
}

.og-grid li.og-expanded a:hover img{
    filter: blur(0px);
}

.og-grid li.og-expanded a:before{
    background: rgba(0, 0, 0, 0.3);
    border: 3px solid #000;
}


.og-grid li.og-expanded a .missing-itm{
    color: #fff;
}



@-webkit-keyframes loader {
    0% {
        background:  #f1f4f3;
    }
    33% {
        background: #ccc;
        box-shadow: 0 0 1px #ccc, 15px 30px 1px #ccc, -15px 30px 1px #ddd;
    }
    66% {
        background: #ccc;
        box-shadow: 0 0 1px #ccc, 15px 30px 1px #ddd, -15px 30px 1px #ccc;
    }
}
@-moz-keyframes loader {
    0% {
        background: #f1f4f3;
    }
    33% {
        background: #ccc;
        box-shadow: 0 0 1px #ccc, 15px 30px 1px #ccc, -15px 30px 1px #ddd;
    }
    66% {
        background: #ccc;
        box-shadow: 0 0 1px #ccc, 15px 30px 1px #ddd, -15px 30px 1px #ccc;
    }
}
@keyframes loader {
    0% {
        background: #f1f4f3;
    }
    33% {
        background: #ccc;
        box-shadow: 0 0 1px #ccc, 15px 30px 1px #ccc, -15px 30px 1px #ddd;
    }
    66% {
        background: #ccc;
        box-shadow: 0 0 1px #ccc, 15px 30px 1px #ddd, -15px 30px 1px #ccc;
    }
}
@media screen and (max-width: 830px) {
    .og-expander h3 {
        font-size: 32px;
    }
    .og-expander p {
        font-size: 13px;
    }
    .og-expander a {
        font-size: 12px;
    }
}
@media screen and (max-width: 650px) {
    .og-fullimg {
        width: 100%;
        height: auto;
        text-align: center;
        padding-bottom: 20px;
    }

    .og-fullimg img{
        max-width: 150px;
        height: 180px;
        overflow: hidden;
        object-fit: cover;
    }
    .og-details {
        float: none;
        width: 100%;
        padding: 0;
    }

    #primary.memeorypage-list .title-highlight h2 {
        font-size: 26px;
    }

    #primary.memeorypage-list .title-highlight h2 b{
        font-size: 32px;
    }

}





