@import url('https://fonts.googleapis.com/css?family=Roboto');

ol.jonoprio-course-order-list {
    padding-left: 20px;
}

.slider-wrapper{
    position: relative;
}

.slider {
    position: relative;
    overflow: hidden;
    height: 100vh;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* We are going to make the slides invisible by default */
    opacity: 0;
    /* We used transition to make it fade */
    transition: opacity 0.4s ease-in;
}

.slide.current {
    opacity: 1;
}

.head-sec{
    background-color: white;
}

.home .head-sec{
    background-color: transparent;
}

.home .main-menu > ul > li > a{
    color: #fff !important;
    position: relative;
    
}

.main-menu > ul > li > a{
    padding: 38px 0;
    color: #333 !important;
}

.main-menu > ul > li > a:hover{
    color: 38px 0;
}

.home .main-menu ul li a:hover{
    color: #fff;
}

.home .navbar-toggler-icon i{
    color: white;
}
.navbar-toggler-icon i{
    color: #333;
}

.main-menu > ul > li > a::before {
	position: absolute;
	content: "";
	width: 0%;
	height: 1px;
	background-color: aqua;
	bottom: 0px;
	left: 0;
    transition: 0.4s ease-in-out 0.2s;
}

.main-menu > ul > li > a:hover::before{
    width: 100%;
}

.nav-item .child-menu{
    transform: translateY(10px);
    opacity: 0;
    display: none;
    width: 200px;
    transition: transform 0.3s ease-in-out 0.2s;
}
.nav-item:hover .child-menu{
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.child-menu li a{
    color: #96999F;
    transition: color 0.4s ease-in-out 0.2s;
    position: relative;
    padding-bottom: 2px;
}

.child-menu li a::before{
    position: absolute;
    content: "";
    width: 0%;
    height: 1px;
    background-color: white;
    bottom: 0;
    left: 0;
    transition:0.4s ease-in-out;
}

.child-menu li a:hover{
    color: #fff;
    padding-left: 5px;
}

.child-menu li a:hover::before{
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    background-color: white;
    bottom: 0;
    left: 0;
}


.slide .content{
    position: absolute;
    top: 35%;
    left: 0%;
    width: 100%;
    transform: translateX(-100%);
    opacity: 0;
    /* background-color: rgba(255, 255, 255, 0.8); */
    color: #333;
    padding: 35px;
    text-align: center;
    z-index: 20;
}

#mobile_menu_sl.active {
    transform: translateX(0);
}

.slide::before {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #00000070;
    content: "";
    z-index: 1;}

.slide .content h1 {
    margin-bottom: 10px;
}

.slide.current .content {
    opacity: 1;
    transform: translateX(0);
    /* Making the above happen in an animated way */
    transition: all 0.7s ease-in-out 0.3s;
}

.buttons button#next {
    position: absolute;
    top: 50%;
    right: 15px;
    z-index: 40;
}

.buttons button#prev {
    position: absolute;
    top: 50%;
    left: 15px;
    z-index: 40;
}

.buttons button {
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 50%;
    outline: none;
}

.buttons button:hover {
    background-color: #fff;
    color: #333;
}

@media (max-width: 500px){

    .slider, .slider-wrapper {
        height: 400px;
    }

    .buttons button {
        
        padding: 5px 10px;
    }

    /* .slide .content{
        bottom: -300px;
        left: 0;
        width: 100%;
    }

    .slide.current .content{
        transform: translateY(-300px);
    } */
}

/* Background Images */

.slide:first-child {
    background: url('https://source.unsplash.com/RyRpq9SUwAU/1600x900') no-repeat center center/cover;
}

.slide:nth-child(2) {
    background: url('https://source.unsplash.com/BeOW_PJjA0w/1600x900') no-repeat center center/cover;
}

.slide:nth-child(3) {
    background: url('https://source.unsplash.com/TMOeGZw9NY4/1600x900') no-repeat center center/cover;
}

.slide:nth-child(4) {
    background: url('https://source.unsplash.com/yXpA_eCbtzI/1600x900') no-repeat center center/cover;
}

.slide:nth-child(5) {
    background: url('https://source.unsplash.com/ULmaQh9Gvbg/1600x900') no-repeat center center/cover;
}

.slide:nth-child(6) {
    background: url('https://source.unsplash.com/ggZuL3BTSJU/1600x900') no-repeat center center/cover;
}