.og-grid-container {
    margin-top: -20px;
    text-align: left;
}

.og-grid-info {
    font-size: 20px;
    display: none;
    padding: 15px 0;
    color: #eee;
    margin-left: 15px;
    margin-bottom: 25px;
}

    .og-grid-info.show {
        display: block;
    }

.ulBackground {
    background-color: rgba(55,75,95,0.1);
    width: 100%;
    height: 226px;
    position: absolute;
    top: 75px;
    margin: 0;
    padding: 0;
    left: 0;
}

.og-grid-container .mediaCarousel .framefff {
    padding-top: 0px;
    margin-top: 55px;
}

.og-grid .hoverHeightLi {
    margin-bottom: 60px !important;
    text-align: center;
    left: 0 !important;
}

.og-grid .frame {
    top: -60px !important;
}

.og-grid {
    list-style: none;
    padding: 0 0;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    display: inline;
}

    .og-grid li {
        display: inline-block;
        margin: 20px 4.1px 0 4.1px;
        vertical-align: top;
        height: 233px;
        text-align: left;
    }

.og-expanded {
    height: 605px !important;
}

@media (max-width: 640px), (max-height: 480px) {
    .og-grid li {
        margin: 20px 3px 0 3px;
        height: 125px;
    }

    .og-expanded {
        height: 500px !important;
    }
}

.og-grid li > a,
.og-grid li .mediaContainer .mediaCover > a img {
    border: none;
    outline: none;
    display: block;
    position: relative;
}

.og-grid li.og-expanded .mediaContainer .mediaCover > a::after {
    top: auto;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-bottom-color: #252525;
    border-width: 15px;
    left: 50%;
    margin: -60px 0 0 -15px;
}

.og-expander {
    position: absolute;
    top: auto;
    left: 0;
    width: 100%;
    height: 385px;
    margin-bottom: 2px;
    margin-top: 2px;
    text-align: left;
    overflow: hidden;
}

.og-expander-inner {
    padding: 0 0;
    height: 100%;
}

.og-close {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 10px;
    right: 10px;
    cursor: pointer;
    z-index: 499;
}

    .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: #fff;
    }

.og-fullimg,
.og-details {
    width: 100%;
    float: left;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.og-fullimg {
    text-align: center;
}

    .og-fullimg img {
        display: inline-block;
        max-height: 100%;
        max-width: 100%;
    }

.og-details h3 {
    font-weight: 300;
    font-size: 52px;
    padding: 40px 0 10px;
    margin-bottom: 10px;
}

.og-details p {
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #999;
}

.og-details a > div {
    font-weight: 700;
    font-size: 16px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 10px 20px;
    border: 3px solid #333;
    display: inline-block;
    margin: 30px 0 0;
    outline: none;
}

.og-details a::before > div {
    content: '\2192';
    display: inline-block;
    margin-right: 10px;
}

.og-details a:hover > div {
    border-color: #999;
    color: #999;
}

.og-loading {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ddd;
    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;
}

@-webkit-keyframes loader {
    0% {
        background: #ddd;
    }

    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: #ddd;
    }

    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: #ddd;
    }

    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;
    }

    .og-grid li {
        height: 125px;
    }
}

@media screen and (max-width: 650px) {

    .og-fullimg {
        display: none;
    }

    .og-details {
        float: none;
        width: 100%;
    }

    .og-grid-container {
        text-align: center;
    }
}
