﻿/*flex slider stuff*/
.its-flexslider {
    border: 1px solid rgba(0, 0, 0, .2);
}

.item-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0;
    margin-left: -20px;
    margin-bottom: 20px;
    position: relative;
    padding-top: 1rem;
    min-height: 31.5rem;
}

.its-flexslider picture.fixed-aspect {
    display: block;
    position: relative;
    padding-bottom: 33%;
    width: 65.5%;
    margin: 0 1rem;
    overflow: hidden;
}

picture.fixed-aspect {
    display: block;
    position: relative;
}

.its-flexslider picture.fixed-aspect img {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    object-fit: cover;
    object-position: 50% 50%;
}

.its-flexslider picture.fixed-aspect.portrait .slide-bg-blur {
    position: absolute;
    top: -20rem;
    right: 1rem;
    left: 1rem;
    bottom: -20rem;
    -webkit-filter: blur(20px);
    filter: blur(20px);
    background-size: cover;
    background-position: 50%;
}

.its-flexslider picture.fixed-aspect.portrait .bg-image-fallback {
    height: 100%;
    width: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.item-container .item-image {
    width: 65%;
    margin-left: 1rem;
    margin-right: .5rem;
    transition-duration: 0.3s;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #000;
    max-height: 65vh;
}

.item-container .item-image:after {
    padding-top: 67%;
    display: block;
    content: '';
}

.item-container .collection-title {
    margin-bottom: 12px;
    margin-top: 0;
    font-family: Oswald,arial,helvetica,sans-serif;
    font-size: 1.6rem;
    font-weight: 500;
    padding-left: .25em;
    color: #555;
}

.item-container .collection-description {
    margin-bottom: 19px;
    font-size: .67rem;
    font-weight: 400;
    -webkit-line-clamp: 3;
    color: rgba(0,0,0,.6);
    padding-left: .50em;
}

.item-container .collection-date {
    margin: 0 0 6px 0;
    color: #636363;
    font-family: Oswald,arial,helvetica,sans-serif;
    font-weight: 600;
    font-size: .75rem;
    text-transform: uppercase;
    padding-left: .50em;
}

.item-container .item-location {
    margin-bottom: 12px;
    font-size: .6rem;
    text-transform: uppercase;
    color: rgba(0,0,0,.6);
    padding-left: .50em;
}

.item-container .caption {
    width: 30%;
    margin-right: .5rem;
    display: flex;
    flex-direction: column;
    padding-left: .50em;
}

.item-description .share-link{
    text-decoration: none;
    border: none;
    font-size: .60rem;
}

.item-description .share-link:hover{
    color: #636363;
    border-bottom: 1px solid;
}


.its-flexslider > ul.flex-direction-nav {
    display: none;
}

.its-flexslider .slide-item, 
ul.flex-direction-nav li.flex-nav-prev, 
ul.flex-direction-nav li.flex-nav-next,
ul.flex-direction-nav li.flex-nav-counter {
    list-style: none;
    margin-bottom: 0;
}

.item-container .flex-direction-nav {
    display: flex;
    margin-top: auto;
    align-items: center;
    justify-content: center;
    list-style-type: none;
    padding: 0;
}

.item-container .flex-prev,
.item-container .flex-next,
.item-container .flex-nav-counter {
    text-decoration: none;
    font-size: 1.8rem;
    margin-left: .75em;
    margin-right: .75em;
    margin-bottom: 0;
    color: #C1BDBD;
}

.item-container .flex-nav-counter {
    font-size: 1em;
    font-weight: 500;
    color: #707070;
}

@media all and (-ms-high-contrast:none) {
    *::-ms-backdrop, .item-container .item-description {
        max-height: calc( 12 * 1.55em );
        overflow: hidden;
    }

    *::-ms-backdrop, .item-container .collection-description {
        max-height: calc( 3 * 1.3em );
        overflow: hidden;
    }
}

@media (max-width: 1033px) {
    .its-flexslider ul.slides {
        margin: 0;
    }

    .its-flexslider picture.fixed-aspect {
        padding-bottom: 49%;
        width: 100%;
        margin: 0;
    }

    .item-container .item-image {
        width: 100%;
        margin: 0;
    }

    .item-container {
        margin: 0;
    }

    .item-container .caption {
        margin: 1rem;
        width: 100%;
    }

    .item-container .flex-direction-nav {
        margin-bottom: 20px;
        margin-top: 0;
        order: 1;
    }

    .item-container .collection-title {
        order: 2;
    }

    .item-container .collection-description {
        order: 3;
    }

    .item-container .collection-date {
        order: 4;
    }

    .item-container .item-location {
        order: 5;
    }

    .item-container .item-description {
        order: 6;
        min-height: 100%;
    }
}
/*end flex slider stuff*/
