﻿body {
    min-width: 360px;
}

@media screen and (max-height: 750px) {
    #image-header {
        min-height: 750px;
    }

    #curtain {
        min-height: 750px;
    }

    .cb-slideshow li span {
        min-height: 750px;
    }
}

/*Carousel Control*/
.carousel {
    position: relative;
}

    .carousel.pointer-event {
        -ms-touch-action: pan-y;
        touch-action: pan-y;
    }

.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

    .carousel-inner::after {
        display: block;
        clear: both;
        content: "";
    }

.carousel-item {
    position: relative;
    display: none;
    float: left;
    width: 100%;
    margin-right: -100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: -webkit-transform 0.6s ease-in-out;
    transition: transform 0.6s ease-in-out;
    transition: transform 0.6s ease-in-out, -webkit-transform 0.6s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    .carousel-item {
        transition: none;
    }
}

.carousel-item.active,
.carousel-item-next,
.carousel-item-prev {
    display: block;
}

    .carousel-item-next:not(.carousel-item-left),
    .active.carousel-item-right {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }

    .carousel-item-prev:not(.carousel-item-right),
    .active.carousel-item-left {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }

.carousel-fade .carousel-item {
    opacity: 0;
    transition-property: opacity;
    -webkit-transform: none;
    transform: none;
}

    .carousel-fade .carousel-item.active,
    .carousel-fade .carousel-item-next.carousel-item-left,
    .carousel-fade .carousel-item-prev.carousel-item-right {
        z-index: 1;
        opacity: 1;
    }

.carousel-fade .active.carousel-item-left,
.carousel-fade .active.carousel-item-right {
    z-index: 0;
    opacity: 0;
    transition: 0s 0.6s opacity;
}

@media (prefers-reduced-motion: reduce) {
    .carousel-fade .active.carousel-item-left,
    .carousel-fade .active.carousel-item-right {
        transition: none;
    }
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 0;
    bottom: 80px;
    z-index: 1;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 15%;
    color: #fff;
    text-align: center;
    opacity: 0.5;
    transition: opacity 0.15s ease;
}

@media (prefers-reduced-motion: reduce) {
    .carousel-control-prev,
    .carousel-control-next {
        transition: none;
    }
}

.carousel-control-prev:hover, .carousel-control-prev:focus,
.carousel-control-next:hover,
.carousel-control-next:focus {
    color: #fff;
    text-decoration: none;
    outline: 0;
    opacity: 0.9;
}

.carousel-control-prev {
    left: 0;
}

.carousel-control-next {
    right: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: no-repeat 50% / 100% 100%;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3e%3c/svg%3e");
}

.carousel-indicators {
    position: inherit;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 15;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    padding-left: 0;
    margin-right: 15%;
    margin-left: 15%;
    list-style: none;
    width: unset;
}

    .carousel-indicators li {
        text-align: end;
        /*box-sizing: content-box;
        -ms-flex: 0 1 auto;
        flex: 0 1 auto;*/
        width: unset;
        height: unset;
        margin-right: 3px;
        margin-left: 3px;
        text-indent: -999px;
        cursor: pointer;
        background-color: #fff;
        /*background-clip: padding-box;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        opacity: .5;*/
        transition: opacity 0.6s ease;
        display: contents;
    }

@media (prefers-reduced-motion: reduce) {
    .carousel-indicators li {
        transition: none;
    }
}

.carousel-indicators .active {
    opacity: 1;
    height: unset;
    width: 30px;
    background-color: rgb(22, 155, 243);
}

.carousel-caption {
    position: initial;
    right: 15%;
    bottom: 20px;
    left: 15%;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
    text-align: center;
}

@media screen and (min-width: 800px) {
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 50px;
        height: 50px;
    }
}
/* Carousl controls end*/

#carouselExampleCaptions {
    text-align: center;
}

.dropdown {
    background-color: rgba(0, 0, 0, 0.16);
    color: white;
    min-width: 560px;
    position: relative;
    display: inline-block;
    margin-bottom: 2%;
    margin-top: 7px;
    border-radius: 10px;
}

.dropbtn {
    padding: 16px;
    font-size: 2.5rem;
    border: none;
    background-color: rgba(0, 0, 0, 0);
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgb(51, 146, 226);
    min-width: 560px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

    .dropdown-content a {
        color: white;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

        .dropdown-content a:hover {
            background-color: #ddd;
        }

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover {
    background-color: rgb(51, 146, 226);
}

.down {
    float: right;
    margin-top: 3%;
    margin-right: 4%;
    border: solid white;
    border-width: 0 6px 6px 0;
    display: inline-block;
    padding: 10px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.tutVids {
    width: 560px;
    height: 315px;
}

@media only screen and (max-width: 840px) {
    .dropbtn {
        font-size: 2rem;
    }
}

@media only screen and (max-width: 990px) {
    .carousel-control-next {
        right: -40px;
    }

    .carousel-control-prev {
        left: -40px;
    }
}

@media only screen and (max-width: 610px) {
    .dropdown {
        min-width: 90%;
    }
}

@media only screen and (max-width: 440px) {
    .main-title {
        width: 95%;
    }

    .down {
        display: none;
    }
}

@media only screen and (max-width: 1000px) {
    .tutVids {
        width: 450px;
        height: 250px;
    }

    .carousel-control-prev, .carousel-control-next {
        top: 420px;
        bottom: unset;
    }

    .carousel-control-next {
        right: 20%;
    }

    .carousel-control-prev {
        left: 20%;
    }

    .carousel-caption {
        padding-top: 60px;
    }

    .dropdown {
        min-width: 450px;
    }

    .dropdown-content {
        min-width: 450px;
    }
}

@media only screen and (max-width: 620px) {
    .tutVids {
        width: 450px;
        height: 250px;
    }

    .carousel-control-prev, .carousel-control-next {
        top: 350px;
        bottom: unset;
    }
}

@media only screen and (max-width: 520px) {
    .tutVids {
        width: 350px;
        height: 196px;
    }

    .carousel-control-prev, .carousel-control-next {
        top: 325px;
        bottom: unset;
    }

    .dropdown {
        min-width: 350px;
    }
}