/* CSS Fade In animation for GPT Ads  */

@-webkit-keyframes fadeInGPT {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-moz-keyframes fadeInGPT {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeInGPT {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

body {
    font-family: "ArtnetGrotesk", Helvetica, Arial, sans-serif;
}

.main {
    /*overflow-x:hidden;*/
}

.sidebar-container {
    position: static;
}

.fixed {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3000;
}

.no-js .gpt-ad, .no-js .loading-content, .no-js .result.placeholder {
    display: none;
}

.gpt-ad:not(.gpt-loaded) {
    height: 0;
    overflow: hidden;
    opacity: 0;
}

.gpt-ad.gpt-empty, .gpt-ad.gpt-disabled {
    display: none;
}

.gpt-ad.gpt-loaded, .results .gpt-ad.gpt-loaded {
    height: auto;
    -webkit-transition: opacity 250ms;
    transition: opacity 250ms;
    -webkit-animation: fadeIn 250ms ease-in;
    -moz-animation: fadeIn 250ms ease-in;
    animation: fadeIn 250ms ease-in;
    opacity: 1;
}

.results.filtered .gpt-ad {
    display: none;
}

.heading .gpt-ad.gpt-loaded {
    margin: 25px auto;
}

.sidebar .gpt-ad.gpt-loaded {
    margin: 25px auto;
    direction: rtl;
}

.gpt-skyscraper_sticky_alt {
    display: none;
}

/* Switch ads if the first ad has been fully visible, timed out, and we can't see the leaderboard */

.gpt-leaderboardOffScreen .gpt-skyscraper_sticky.gpt-empty, .gpt-leaderboardOffScreen .gpt-skyscraper_sticky.gpt-viewed.gpt-timedOut {
    display: none;
}

.gpt-leaderboardOffScreen .gpt-skyscraper_sticky.gpt-empty~.gpt-skyscraper_sticky_alt, .gpt-leaderboardOffScreen .gpt-skyscraper_sticky.gpt-viewed.gpt-timedOut~.gpt-skyscraper_sticky_alt {
    display: block;
}

.no-content {
    display: block;
    margin: 0 auto;
    padding: 80px 0;
}

/* Collapse: Start */

.collapse-facets-nav .panel {
    padding: 25px 5px;
    background: none;
    border-bottom: 1px solid #e5e5e5;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    -webkit-box-shadow: 0 0 0;
    box-shadow: 0 0 0;
}

.collapse-facets-nav .panel+.panel {
    margin: 0;
}

.collapse-facets-nav .panel-heading {
    background: none;
    margin: 0;
    padding: 0;
}

.collapse-facets-nav .panel-title {
    position: relative;
}

.collapse-facets-nav .panel-title .glyphicon {
    position: absolute;
    z-index: 3;
    top: 50%;
    right: 3px;
    margin-top: -6px;
    font-size: 12px;
}

.collapse-facets-nav .panel-title .glyphicon-chevron-down, .collapse-facets-nav .panel-title .collapsed~.glyphicon-chevron-up {
    display: none;
}

.collapse-facets-nav .panel-title .collapsed~.glyphicon-chevron-down {
    display: block;
}

.collapse-facets-nav .panel-title img {
    position: absolute;
}

.collapse-facets-nav .panel-title a {
    font-weight: bold;
    font-size: 12px;
    line-height: 16px;
    padding: 5px 25px 5px 0;
    display: block;
    position: relative;
    z-index: 5;
}

.collapse-facets-nav.panel-group {
    margin: 0 -5px 20px;
}

.collapse-facets-nav.panel-group .panel-heading+.panel-collapse .panel-body {
    border-top: 0;
}

.collapse-facets-nav .panel-body {
    padding: 0;
}

.collapse-facets-nav .panel-body ul {
    margin: 0;
}

/* Collapse: End */

.facet-container {
    min-height: 800px;
    padding-top: 30px;
}

.sidebar {
    margin-right: 35px;
    margin-bottom: 20px;
    border-top: 1px solid #e5e5e5;
}

.facets h4 {
    font-weight: bold;
    font-size: 12px;
    line-height: 22px;
    margin: 0;
}

.facets .clear-facet {
    font-size: 10px;
    line-height: 15px;
    text-align: left;
    text-decoration: underline;
    color: inherit;
    position: relative;
    top: -5px;
    margin: -5px;
}

.facets .clear-facet:active, .facets .clear-facet:focus, .facets .clear-facet:hover {
    text-decoration: none;
}

.facets .facet {
    font-size: 12px;
    line-height: 18px;
    text-align: left;
    white-space: normal;
    color: #000;
    margin: 0;
    padding: 3px 0;
    display: block;
    width: 100%;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.facets .facet:focus, .facets .facet:focus *, .facets .facet:active, .facets .facet:active * {
    outline: none;
    text-decoration: none;
}

.facets .facet-li {
    position: relative;
    margin: 0 -5px;
    padding: 0 35px 0 5px;
}

.facets .facet-li.child {
    padding-left: 20px;
}

.facets .facet-li:not(.disabled):hover, .facets .facet-li.active {
    background: #F2F2F2;
}

.facets .facet-li:hover * {
    text-decoration: none;
}

.facets .facet-li.active * {
    font-weight: bold;
}

.facet-links a.btn-link {
    font-weight: bold;
}

.facets .facet+.remove-facet {
    display: none;
    position: absolute;
    top: 50%;
    right: 3px;
    margin: -19px 0 0;
    padding: 6px;
    color: #000;
    font-size: 20px;
    line-height: 20px;
    text-decoration: none;
}

.facets .active .facet+.remove-facet {
    display: block;
}

.sidebar-header, .results-header {
    font-size: 12px;
    line-height: 32px;
    margin-top: 0;
    margin-bottom: 30px;
}

.sidebar-header {
    font-weight: bold;
}

.mobile-facets {
    white-space: nowrap;
    width: 100%;
    padding: 5px 0;
    background: #FFF;
    border-bottom: 1px solid #d8d8d8;
    border-top: 1px solid #d8d8d8;
    -webkit-transform: translate(0, -100%);
    transform: translate(0, -100%);
    -webkit-transition: transform 250ms;
    transition: transform 250ms;
}

.mobile-facets.fixed {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}

.mobile-facets .btn {
    font-weight: bold;
    color: #000;
    margin: 0;
    padding: 4px 0;
    overflow: hidden;
    width: 49%;
    -webkit-transition: width 250ms;
    transition: width 250ms;
}

.mobile-facets .btn+.btn {
    border-left: 1px solid #e5e5e5;
}

.mobile-facets .btn:focus, .mobile-facets .btn:active {
    outline: none;
}

.mobile-facets .close {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 10px 15px;
    -webkit-transform: translate(100%, 0);
    transform: translate(100%, 0);
    -webkit-transition: transform 250ms;
    transition: transform 250ms;
}

.results-container {
    overflow: hidden;
}

.results {
    font-size: 0;
    margin: 0 -6%;
}

.result {
    float: none;
    display: inline-block;
    vertical-align: bottom;
    margin: 0 -1px 50px;
    padding: 0 6%;
    min-height: 100px;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
    letter-spacing: 0;
}

.masonry-loaded .result:not(.loaded) {
    opacity: 0;
}

.masonry-loaded .result.loaded {
    /* The following few items are for fading the content into view in a manner which does not break when JS execution breaks */
    -webkit-animation: fadeIn 750ms ease-in;
    -moz-animation: fadeIn 750ms ease-in;
    animation: fadeIn 750ms ease-in;
    opacity: 1;
}

@-webkit-keyframes fadeIn {
    0%, 50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    0%, 50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    0%, 50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.result.placeholder {
    height: 0;
    min-height: 0;
    margin: 0 -1px;
    padding: 0;
    overflow: hidden;
}

.result img {
    display: block;
    max-width: 100%;
    max-height: 340px;
    margin: 0 auto 25px;
}

.result p {
    font-size: inherit;
    margin: 0;
    padding: 0;
}

.result a {
    font-size: inherit;
    letter-spacing: 1px;
}

.result .status-link {
    text-transform: uppercase;
    font-weight: bold;
}

.js .pagination {
    display: none;
}

.load-more, .load-more:hover, .load-more:focus, .load-more:active {
    color: #000;
    font-family: "ArtnetGroteskBold", Helvetica, Arial, sans-serif;
    font-size: 12px;
    line-height: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    min-width: 40px;
    margin: 0 auto 50px;
    padding-top: 32px;
    background: url(../img/plus_icon.png) no-repeat center top;
    outline: 0;
}

@-webkit-keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loading-content, .loading-content:hover, .loading-content:focus, .loading-content:active {
    font-size: 3px;
    border: .5em solid rgba(14, 14, 14, 1);
    border-top: .5em solid rgba(0, 0, 0, .05);
    border-radius: 50%;
    background: transparent url('../img/loader.gif') center center no-repeat;
    background: transparent center center / 100% 100% no-repeat;
    width: 10em;
    height: 10em;
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    -webkit-transition: opacity 250ms;
    transition: opacity 250ms;
    -webkit-animation: rotate 1s infinite linear;
    animation: rotate 1s infinite linear;
}

.loading-content span {
    display: none;
}

.loading-content.done {
    opacity: 0;
}

/* Back To Top: Start */

.to-top, .to-top:hover, .to-top:focus, .to-top:active {
    background: url(../img/arrow_top.png) no-repeat 50% 15px;
    background-color: rgba(255, 255, 255, 0.7);
    color: #000;
    font-family: "ArtnetGroteskBold", Helvetica, Arial, sans-serif;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    white-space: normal;
    outline: none;
}

.to-top {
    position: fixed;
    top: 15px;
    right: 15px;
    left: auto;
    z-index: 2001;
    width: 100px;
    margin: 0;
    padding: 50px 20px 20px;
    font-size: 11px;
    line-height: 13px;
    opacity: 0;
    -webkit-transform: translate(150%, 0);
    transform: translate(150%, 0);
    -webkit-transition: opacity 500ms, transform 350ms;
    transition: opacity 500ms, transform 350ms;
}

.to-top.fixed {
    opacity: 1;
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}

/* Back To Top: End */

@media screen and (max-width: 1199px) and (min-width: 768px), (max-device-width: 1024px) and (min-device-width: 768px) {
    .container.main {
        padding: 0 20px;
    }
}

@media screen and (max-width:992px) {
    .mobile-facets:not(.fixed){
        margin-top: 35px;
    }
    .to-top {
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        font-size: 20px;
        line-height: 24px;
        -webkit-transform: translate(0, 100%);
        transform: translate(0, 100%);
    }
    .sidebar-header, .results-header {
        line-height: 14px;
    }
    .facets .clear-facet {
        font-size: 12px;
        margin: 0;
        top: 0;
    }
    .facets .facet {
        font-size: 14px;
        padding: 8px 0;
    }
    .collapse-facets-nav .panel-title a {
        font-size: 14px;
        padding: 10px 25px 10px 0;
    }
    .sidebar, .mode-sort .js-sort-select .dropdown-menu.open {
        display: none;
        position: fixed;
        z-index: 2005;
        top: 40px !important;
        bottom: 0;
        left: 0;
        right: 0;
        overflow: auto;
        margin: 0;
        padding: 10px 25px;
        border: none;
        background: #FFF;
    }
    .mode-sort .js-sort-select .dropdown-menu.open a {
        font-size: 14px;
        line-height: 18px;
        padding: 8px 5px;
    }
    .mode-sort .js-sort-select .dropdown-menu.open li {
        margin: 0 -5px;
    }
    .mode-sort .js-sort-select .dropdown-menu.open .selected {
        background: #F2F2F2;
    }
    .mode-filter .sidebar {
        display: block;
    }
    .mode-filter .mobile-facets .filter-btn {
        width: 100%;
    }
    .mode-sort .mobile-facets .filter-btn {
        width: 0;
    }
    .mode-sort .mobile-facets .sort-btn {
        width: 100%;
    }
    .mode-sort .sort-dropdown, .mode-sort .sort-dropdown .dropdown-menu.open {
        display: block!important;
    }
    body[class*="mode-"] {
        overflow: hidden;
    }
    .mobile-facets .close{
        display: none;
    }
    .mode-sort .js-sort-select{
        display: none;
    }
    body[class*="mode-"] .mobile-facets .close{
        display: block;
    }
    body[class*="mode-"] .mobile-facets, body[class*="mode-"] .mobile-facets .close {
        -webkit-transform: translate(0, 0);
        transform: translate(0, 0);
    }
}

@media screen and (max-width:500px) {
    .result.gpt-ad.gpt-loaded {
        width: 100%;
    }
}