/* @import url("https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600,700|Roboto:300,400,500,700"); */

/* * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
} */
  
/* html, body {
    width: 100%;
    height: 100%;
    overflow: hidden; 
    background: var(--sos-gray-10);
    font-family: 'Montserrat', sans-serif;
    -webkit-font-smoothing: antialiased;
    color: var(--sos-gray-10);
} */

.accent.blue {
    font-weight: 900;
    color: var(--sos-blue);
}

.accent.yellow {
    font-weight: 900;
    color: var(--sos-yellow);
}
  
.content-width {
    position: absolute;
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}

.slideshow-items {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}

.item {
    position: absolute;
    width: 100%;
    height: auto;
}

.item-image-container {
    position: relative;
    width: 100%;
}

.item-image-container::before {
    content: '';
    width: 100%;
    height: 150px;
    position: absolute;
    top: 300px;
    background: rgba(0,0,0,0.25);
    z-index: 2;
}

.item-image {
    position: relative;
    width: 100%;
    height: auto;
    opacity: 0;
    display: block;
    transition: opacity .3s ease-out .45s;
}

.img1 {
    top: -400px;
}

.img2 {
    top: -400px;
}

.img3 {
    top: -500px;
}

.item.active .item-image {
    opacity: 1;
}

.item.active .item-image-container::before {
    opacity: .8;
}

.item-description {
    position: absolute;
    top: 360px;
    width: 50%;
    color: var(--sos-gray-20);
    padding-top: 1rem;
    padding-left: 2rem;
    -webkit-font-smoothing: auto;
    z-index: 3;
}

.item-description b, .item-header b {
    font-weight: 300;
}

/* Staggered Vertical Items ------------------------------------------------------*/
.item-header {
    position: absolute;
    top: 300px;
    padding-top: 1rem;
    padding-left: 2rem;
    z-index: 3;
}

.item-header .vertical-part {
    color: var(--sos-gray-10);
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    -webkit-font-smoothing: auto;
}

.vertical-part {
    overflow: hidden;
    display: inline-block;
}

.vertical-part b {
    display: inline-block;
    transform: translateY(100%);
}

.item-header .vertical-part b {
    transition: .5s;
}

.item-description .vertical-part b {
    transition: .21s;
}

.item.active .item-header .vertical-part b {
    transform: translateY(0);
}

.item.active .item-description .vertical-part b {
    transform: translateY(0);
}

/* Controls ----------------------------------------------------------------------*/
.controls {
    position: absolute;
    top: 390px;
    right: 0;
    padding: 1rem;
    z-index: 1000;
}

.controls ul {
    list-style: none;
}

.controls ul li {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    margin: 5px;
    background:#6a6a77;
    cursor: pointer;
}

.controls ul li.active {
    background:#bdbdd5;
}


@media screen and (max-width: 576px) {

    .content-width {
        height: 250px;
    }

    .item-image-container::before {
        height: 100px;
        top: 150px;
    }

    .img1 {
        top: 0;
    }
    
    .img2 {
        top: 0;
    }
    
    .img3 {
        top: 0;
    }

    .item-header {
        top: 145px;
        padding-top: 0.75rem;
        padding-left: 1rem;
    }

    .item-header .vertical-part {
        font-size: 1.25rem;
    }

    .item-description {
        position: absolute;
        top: 170px;
        width: 75%;
        padding-left: 1rem;
        font-size: 0.85rem;
    }

    .controls {
        top: 210px;
        padding: 0.75rem;
    }

    .controls ul li {
        display: inline-block;
        width: 0.75rem;
        height: 0.75rem;
        margin: 3px;
    }
}

@media screen and (max-width: 962px) and (min-width: 576px) {
    .content-width {
        height: 250px;
    }

    .item-image-container::before {
        height: 100px;
        top: 150px;
    }

    .img1 {
        top: -50px;
    }
    
    .img2 {
        top: -100px;
    }
    
    .img3 {
        top: -100px;
    }

    .item-header {
        top: 145px;
        padding-top: 0.75rem;
        padding-left: 1rem;
    }

    .item-header .vertical-part {
        font-size: 2rem;
    }

    .item-description {
        position: absolute;
        top: 180px;
        width: 50%;
        padding-left: 1rem;
        font-size: 1rem;
    }

    .controls {
        top: 210px;
        padding: 0.75rem;
    }

    .controls ul li {
        display: inline-block;
        width: 0.75rem;
        height: 0.75rem;
        margin: 3px;
    }
}