@media(min-width: 1650px){
    .carousel{height: 120vh;}/*.carousel-caption {bottom: -28vh;}*/
}
@media (min-width: 1250px) and (max-width: 1440px) { 
.widget {
    padding: 35px 65px;
    background: rgba(0,0,0,.8);
    position: absolute;
    top: 0%;
    right: 2%;
    transform: translate(-2%, 3%);
    width: 40%;
    border-radius: 15px;
}

.carousel {
    height: 145vh;
}

.carousel-caption {
    color: #000000;
    right: unset;
    left: unset;
    top:115%;
    height: auto;
}
}
@media (min-width: 769px) and (max-width: 1024px) { 
    .widget {
        padding: 10px 65px;
    top: 4%;
    right: 4%;
    transform: translate(-4%, -4%);
    width: 40%;
    }
    .blue_patch h4, h3{font-size: 20px;}
label {
    font-size: 12px;
}
.form-control {
    height: 20px;
    padding: .15rem .75rem;
}
.carousel {
    height: 125vh;
}
.carousel-caption {
    bottom: unset;
    top: 121%;
    height: 60%;
}
}
@media (min-width: 767px) and (max-width: 768px) { 
    .blue_patch h4, h3{font-size: 20px;}
    .widget {
    width: 66%;
    position: relative;
    top: 35vh;
    transform: translateX(0%);
    margin: 0 auto;
    right: unset;
}
.carousel-caption {
    height: auto;
    top: 130%;
}

}
@media (min-width: 577px) and (max-width: 767px) { 
    .carousel {
    height: 365vh;
}
.carousel-indicators li {
    margin: 0 5px;    
    font-size: 16px;
}
    .carousel-caption {
    bottom: unset;
    top: 150%;
    height: auto;
    width: 90%;
    transform: translateX(5%);
}

.widget {
    width: 66%;
    position: relative;
    top: 100vh;
    transform: translateX(0%);
    margin:0 auto;
    right: unset;
}
}
@media(max-width: 767px){
    .carousel-caption h5 {
    line-height: unset;
    font-size: 14px;
    }
}
@media(max-width: 576px){
    .carousel {
    height: 155vh;
    }
.carousel-indicators li {
    margin: 0 5px;    
    font-size: 12px;
    }
.widget {
    padding: 25px;
    background: rgba(0,0,0,.8);
    width: calc(100% - 30px);
    margin: 0 auto;
   transform: translateX(20px);
    position: relative;
    top: 46vh;
    }
label{font-size: 12px;} 
.box {flex: 0 0 50%;
    max-width: 50%;
    }.logo img{max-width: 50%;}.next,.prev{font-size: 20px;}
.second_section h5 {
    line-height: 23px;
    font-size: 18px;
    }
.carousel-inner{height: unset;}

::placeholder {font-size: 12px;} select{font-size: 12px;}
.carousel-control-next-icon, .carousel-control-prev-icon {
    width: 30px;
    height: 35px;
    background-size: 39%;
    }
.patch {
    bottom: 6%;
    }
.blue_patch{padding: 15px 15px 15px 15px;}
.blue_patch h3 {
    font-size: 13px;
    }
.blue_patch h4 {
    font-size: 12px;
    }

.carousel-caption {
    bottom: unset;
    top: 150%;
    height: auto;
}
    
    
.carousel-caption h5 {
    line-height: unset;
    font-size: 14px;
    }
    .third_section h4 {
    font-size: 18px;
     padding-top:0px;
    padding-bottom:0px;
    }
.view_more {
    font-size: 16px;
    }

    .footerbg h6{
        font-size: 14px;
    }
    .carousel-control-next, .carousel-control-prev{transform: translateY(-25%);}
}
@media(max-width: 360px){
    .carousel-caption {padding-top:0px;}

}

@media(max-width: 380px){
    .carousel {
    height: 175vh;
}
   /* .carousel-caption {
    bottom: -43vh;
}*/

}
@media(max-width: 350px){
   /* .carousel-caption {
    bottom: -50vh;
}*/

}