.carousel-control {
    top: 42%;
    font-size: 1.5em;
    background: none !important;
    width: 10%;
}
.container-fluid .carousel-control {
    font-size: 2em;
}


.carousel .item img {
    min-width: 100%;
    display: block;
    margin: 0 auto;
    /* height: 100%; */
    object-fit: cover;
}
.carousel .item {
    overflow: hidden;
}

.widget_slider.noimage .carousel {
    background: rgba(0, 0, 0, 0.65);
}
.widget_slider.noimage .carousel, .widget_slider.noimage .carousel .item {
    height: 25em;
}
.widget_slider.noimage .carousel .carousel-caption {
    position: relative !important;
    width: 100%;
    left: 0;
    padding: 5% 10%;
}

/* specific styles for carousels in sidebar */
.sidebar .carousel-control {
    top: 40%;
    font-size: 1.5em;
}
.sidebar .carousel-caption, .col-sm-6 .carousel-caption {
    font-size: 85%;
}
.sidebar .carousel-caption h1, .col-sm-6 .carousel-caption h1 {
    font-size: 22px;
    margin: 0.3em;
}
.sidebar .carousel-caption h2, .col-sm-6 .carousel-caption h2 {
    font-size: 18px;
    margin: 0.3em;
}


/* fade transition */
.carousel-fade {
    width: 100%;
    height: 200px;
}
@media (min-width: 768px) {
    header.height_desktop_fullscreen .carousel-fade {
        height: 700px;
    }
}
.carousel-fade .carousel-inner {
    width: 100%;
    height: 100%;
}
.carousel-fade .carousel-inner>.item {
    opacity: 0;
    -webkit-transform: none;
    transform: none;
    transition: opacity 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -webkit-transition: opacity 1s ease-in-out;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.carousel-fade .carousel-inner>.item.active {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
}
.carousel-fade .carousel-inner>.item.active.left, .carousel-fade .carousel-inner>.item.active.right {
    opacity: 0;
}
.carousel-fade .carousel-inner>.item.next, .carousel-fade .carousel-inner>.item.prev {
    opacity: 1;
    position: absolute;
    left: 0;
    top: 0;
    -webkit-transform: none;
    transform: none;
    display: block;
}


.slider_background_phone {
    position: absolute;
    height: 100%;
    width: 100%;
}
.slider_background_phone img {
    position: relative;
    height: 71%;
    margin: 0 auto;
    display: block;
    margin-top: 1%;
}
.background_phone .item img {
    height: 100%;
    width: 100%!important;
    min-width: 0;
    margin-top: 29%;
    margin-bottom: -5%;
}
.carousel-inner.background_phone {
    position: relative;
    width: 50%;
    overflow: hidden;
    margin-left: 25%;
    padding-bottom: 60%;
}
.background_phone .carousel-control {
    margin-top: -20%;
}

/* small screens */
@media (max-width: 768px) {
    .carousel-caption {
        padding-bottom: 15px;
    }
    .carousel-caption h1 {
        font-size: 20px;
        margin: 5px auto;
    }
    .carousel-caption h2 {
        font-size: 16px;
        margin: 5px auto;
    }
    .carousel-caption p {
        font-size: 13px;
        margin: 5px auto;
    }

    .carousel-indicators {
        bottom: -5px;
    }

    .row.fullwidth .carousel {
        max-height: 50vh;
    }

}

/* large screens */
@media (min-width: 768px) {
    .carousel-control {
        font-size: 2em;
    }
    .container-fluid .carousel-control {
        /*top: 7em; */
        font-size: 3em;
    }
    .carousel-caption {
        padding-bottom: 50px;
    }

    /* desktop heights */
    .row.fullwidth .carousel .item {
        /*max-height: 100vh;*/
        overflow: hidden;
    }

    .row.fullwidth .carousel.height_80, .row.fullwidth .carousel.height_80 .item {
        height: 80vh;
    }
    .row.fullwidth .carousel.height_50, .row.fullwidth .carousel.height_50 .item {
        height: 50vh;
    }
    .row.fullwidth .carousel.height_33, .row.fullwidth .carousel.height_33 .item {
        height: 33vh;
    }
    .row.fullwidth .carousel.height_25, .row.fullwidth .carousel.height_25 .item {
        height: 25vh;
    }
    .row.fullwidth .carousel.height_100, .row.fullwidth .carousel.height_100 .item {
        height: 100vh;
    }

}