  html {
    --slider-accent: #F38F24;
}

.navbar-expand-lg>.container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

#google_translate_element {
    min-height: 25.53px;
}

.custom-slider {
    height: calc(100vh - 150.03px); /* JS will fix */
    border-bottom: 2px solid var(--slider-accent);
    background: #231f20;
    overflow: hidden;
}

.custom-slider .slider-bg {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
}

.custom-slider .slider-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.custom-slider .content:after {
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 1) 100%);
}

.custom-slider .container {
    z-index: 1;
}

.custom-slider-controls .icon-right_arrow {
    display: none;
}

@media (min-width: 1200px) {
    .custom-slider .container {
        max-width: 55rem;
        line-height: 1.1;
    }
}

.custom-slider, .custom-slider h2 {
    color: #fff;
    text-align: center;
}

.custom-slider .first-slide .container {
    visibility: hidden;
}

.custom-slider h2 {
    font-size: 3.75rem;
    margin: 0;
    padding: 0;
    text-shadow: 0 0 5px #000000BF;
    font-weight: 500;
}

.custom-slider h2:after {
    content: ' ';
    display: block;
    height: 2px;
    background: var(--slider-accent);
    max-width: 163px;
    margin: 28px auto;
}

.custom-slider .smaller-text {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 28px;
    text-shadow: 0 0 5px #000000BF;
    line-height: 1.5;
    max-width: 590px;
}

.custom-slider-controls {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    z-index: 99;
}

.custom-slider-controls-ul {
    margin: 0;
    margin: 0;
    display: flex;
    list-style: none;
}

@media screen and (min-width: 767px) {
    .custom-slider-controls-ul li {
        flex-basis: 0;
        flex-grow: 1;
        max-width: 100%;
        width: 100%;
        display: block;
        list-style-type: none;
        color: #fff;
        border-top: 2px solid #4D4D4F;
        text-align: center;
        cursor: pointer;
    }

    .custom-slider-controls-ul span {
        background: none;
        border-radius: 0;
        width: auto;
        height: auto;
    }

    .custom-slider-controls .line {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        height: 2px;
        background: var(--slider-accent);
        transition: all 0.5s;
    }

    .custom-slider-controls li span.text {
        color: #C1C3C6;
        padding: 20px 5px;
        display: block;
        text-decoration: none;
        margin-top: -5px;
        border-top: 5px solid transparent;
        cursor: pointer;
        transition: 0.5s all;
    }

    .custom-slider-controls li.flex-active span.text,
    .custom-slider-controls li:hover span.text {
        color: #fff;
    }
    
    .custom-slider-controls .icon-right_arrow {
        opacity: 0;
        height: 16px;
        width: 16px;
        fill: var(--slider-accent);
        position: absolute;
        left: -20px;
        top: 50%;
        margin-top: -8px;
        display: block;
        transition: all 0.5s;
    }

    .custom-slider-controls li span.text {
        display: inline-block;
        position: relative;
    }

    .custom-slider-controls li.flex-active .icon-right_arrow {
        opacity: 1;
    }

    .custom-slider .container {
        box-sizing: border-box;
        padding-bottom: 225px;
    }    
}

@media screen and (max-width: 1024px) {
    .custom-slider-controls li span.text {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 767px) {
    .custom-slider-controls-ul {
        justify-content: center;
    }

    .custom-slider-controls-ul span.text {
        display: block;
        background: #231f20;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        font-size: 0 !important;
        color: transparent;
        transition: all 0.5s;
    }

    .custom-slider-controls-ul li {
        margin: 0 5px;
        cursor: pointer;
    }
    .custom-slider-controls-ul .flex-active span.text {
        background: var(--slider-accent);
    }

    .custom-slider .container {
        box-sizing: border-box;
        padding-bottom: 100px;
    }  

    .custom-slider h2 {
        font-size: 2rem;
    }
}

@media screen and (min-width: 767px) and (max-height: 700px) {
    .custom-slider h2 {
        font-size: 2rem;
    }
    
    .custom-slider .container {
        padding-bottom: 150px;
    }
}

@media screen and (max-height: 600px) {
    .custom-slider .smaller-text {
        display: none;
    }

    .custom-slider .slide .container {
        padding-top: 25px;
        justify-content: flex-start !important;
    }

    .custom-slider-controls {
        bottom: 25px;
    }
}

@media screen and (max-width: 350px) {
    .custom-slider h2 {
        font-size: 1.5rem;
    }

    .custom-slider .smaller-text {
        font-size: 1.1rem;
    }
}

