@media (min-width:768px) {
    .divtxt {
        width: 535px;
        margin: 0 auto;
        top: 310px !important;
        display: none !important;
    }
    .wpcf7-form .wpcf7-form-control-wrap input,
    .wpcf7-form .wpcf7-form-control-wrap textarea {
        margin: 0 15px;
    }

    .h-947px {
        height: 1042px;
        overflow: hidden;
    }

    .h-947px:hover img {
        transform: translateY(calc(-100% + 1042px));
        transition: linear 10s;
    }
    
}


.h-947px img {
    transform: translateY(0px);
    transition: all 5s;
}

@media (min-width:1200px) {
    .bg-contact {
        height: 519px;
        /* z-index: 1; */
    }

    .bg-contact::before {
        content: '';
        background-image: url(../img/contacttop.png);
        width: 100%;
        height: 590px;
        background-repeat: no-repeat;
        background-size: cover;
        position: absolute;
        background-position: center;
        top: -70px;
        z-index: 0;
    }

    .section-contact {
        top: -80px;
    }

    .h2-100 {
        height: 100%;
    }

    .h-340 {
        position: absolute;
    }
}

.divtxt {
    margin: 0 auto;
    top: 270px;
    display: none !important;
}

@media (min-width:992px) {

    /* .contact-card .pl-lg-4, */
    .contact-card .px-lg-4 {
        padding-left: 2.2rem !important;
        padding-right: 2.2rem !important;
    }

    .bg-slider-sample .nav-pills {
        flex-wrap: nowrap;
    }

    .color-code>small {
        width: auto !important;
    }


}

@media (min-width: 1200px) {
    .services .col-md-3 {
        margin-bottom: 40px !important;
    }

    .section-contact {
        top: -70px;
    }

    .mt-120px {
        margin-top: 120px;
    }

    main h1,
    main .h1 {
        font-size: 1.9rem;
    }

    main h2,
    main .h2 {
        font-size: 1.65rem;
    }

    main h3,
    main .h3 {
        font-size: 1.45rem;
    }

    .divtxt {
        width: 880px;
        margin: 0 auto;
        top: 310px !important;
        display: none !important;
    }

    .course-description .col-xl-3 {
        -ms-flex: 0 0 25% !important;
        flex: 0 0 25% !important;
        max-width: 25% !important;
        width: 292px !important;
    }

    .bg-slider-sample2 {
        background-image: url(../images/bg-slider1.png);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        background-color: #fafafb;
        height: 725px;
    }

    .fs-53pt {
        font-size: 40pt;
    }

    .fs-27pt {
        font-size: 23pt;
    }

    /* .beforimg::before {
        position: absolute;
        content: '';
        width: 135px;
        height: 135px;
        border-left: 2px solid #f4cc55;
        border-bottom: 2px solid #f4cc55;
        border-radius: 50%;
        left: -199px;
        top: -7px;
        transform: rotate(65deg);
    } */
 
    .margin-17rem {
        margin-top: 15rem !important;
    }

    .container {
        padding-right: 0px !important;
        padding-left: 0px !important;
    }

    .navbar .menu {
        background: transparent !important;
    }

    .navbar .navbar-nav {
        background: transparent !important;
    }
}

@media (max-width:768px) {
    footer .wpcf7-form .wpcf7-form-control-wrap textarea {
        height: 185px;
        max-width: 310px;
        margin: 0 auto;
    }

    footer .wpcf7-form .wpcf7-form-control-wrap input {
        max-width: 320px;
        margin: 0 auto;
    }

    footer .wpcf7-form .wpcf7-submit {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .fs-1o9rem {
        font-size: 1.8rem !important;
    }

    .h-947px {
        height: 400px;
        overflow: hidden;
    }

    .h-947px:hover img {
        transform: translateY(calc(-100% + 400px));
        transition: all 5s;
    }

    .title-article h5 {
        font-size: 17px;
        font-family: 'KalamehWebFaNum', KalamehWebFaNum, sans-serif !important;
        font-weight: 900;
        margin-bottom: 5px;
        margin-top: 5px;
    }


    /* .wpcf7-form div.mt-4 {
        margin-top:5px !important;
    } */
    /* .beforimg::before {
        position: absolute;
        content: '';
        width: 135px;
        height: 135px;
        border-left: 2px solid #f4cc55;
        border-bottom: 2px solid #f4cc55;
        border-radius: 50%;
        left: -190px !important;
        top: -8px;
        transform: rotate(65deg);
    } */

    #carrousel .owl-nav {
        position: absolute;
        top: 28% !important;
        width: 100%;
    }



    .margin-43rem {
        margin-top: 46rem !important;
    }

    .carousel-sample .owl-nav button.owl-prev,
    .carousel-personal .owl-nav button.owl-prev {
        left: -18px !important;
    }

    .carousel-sample .owl-nav button.owl-next,
    .carousel-personal .owl-nav button.owl-next {
        right: -18px !important;
    }

    .imgpng1 {
        top: -34px;
        width: 64px !important;
    }

    .imgpng2 {
        top: -36px;
        left: 25%;
        width: 64px !important;
    }

    .imgpng3 {
        bottom: -25px;
        left: 35%;
        width: 64px !important;
    }

    .imgpng4 {
        bottom: 10px;
        left: 4%;
        width: 64px !important;
    }

    .carousel-video .owl-nav button.owl-prev {
        left: -15px !important;
    }



    .carousel-video .owl-nav button.owl-next {
        right: -15px !important;
    }

    .fs-9-4pt {
        font-size: 8.4pt !important;
    }

    /* h2 {
        font-size: 20pt !important;
    } */

    .fs-46pt {
        font-size: 38pt !important;
    }

    .fs-28pt {
        font-size: 22.9pt !important;
    }

    .fs-18 {
        font-size: 15.2pt !important;
    }

    .bg-slider-sample {
        height: 840px !important;
    }

    .carousel-sample .owl-nav button,
    .carousel-personal .owl-nav button,
    .carousel-courses .owl-nav button,
    .carousel-pic .owl-nav button,
    .carousel-personal-v .owl-nav button {
        position: absolute;
        top: 42%;
        width: 25px;
        height: 25px;
        border-radius: 50% !important;
        border: 2px solid #6f7a9f !important;
        color: #6f7a9f;
    }

    .carousel-sample .owl-nav button.owl-prev,
    .carousel-personal .owl-nav button.owl-prev,
    .carousel-courses .owl-nav button.owl-prev,
    .carousel-pic .owl-nav button.owl-prev,
    .carousel-personal-v .owl-nav button.owl-prev {
        left: -15px;
    }

    .carousel-sample .owl-nav button.owl-next,
    .carousel-personal .owl-nav button.owl-next,
    .carousel-courses .owl-nav button.owl-next,
    .carousel-pic .owl-nav button.owl-next,
    .carousel-personal-v .owl-nav button.owl-next {
        right: -15px;
    }
}
@media (min-width:300px) and (max-width: 355px){
    .section-three-woedpress {
        height: 2430px;
    }
}
@media (min-width:355px) and (max-width: 370px){
    .section-three-woedpress {
        height: 2330px;
    }
}
@media (min-width:370px) and (max-width: 390px){
    .section-three-woedpress {
        height: 2260px;
    }
}
@media (min-width:390px) and (max-width: 420px){
    .section-three-woedpress {
        height: 2195px;
    }
}
@media (min-width: 420px) and (max-width:480px){
    .section-three-woedpress {
        height: 2110px !important;
    }
}
@media (min-width: 480px) and (max-width:767px){
    .section-three-woedpress {
        height: 1980px !important;
    }
}
@media (max-width:991px) {
    .navbar .navbar-nav {
        background: white !important;
    }


}

@media (max-width:767px) {
    .main-course .shareicons {
        position: absolute;
        bottom: auto;
        top: 80px !important;
        left: 45px !important;
        z-index: 100;
    }


}



@media (max-width:400px) {
    .margin-17rem {
        margin-top: 4rem !important;
    }
}

@media (min-width:400px) and (max-width:465px) {
    .margin-17rem {
        margin-top: 4rem !important;
    }
}

@media (min-width:465px) and (max-width:490px) {
    .margin-17rem {
        margin-top: 3rem !important;
    }
}

@media (min-width:465px) and (max-width:490px) {
    .margin-17rem {
        margin-top: 3rem !important;
    }
}

@media (min-width:490px) and (max-width:521px) {
    .margin-17rem {
        margin-top: 1rem !important;
    }
}

@media (min-width:521px) and (max-width:768px) {
    .margin-17rem {
        margin-top: 8rem;
    }


}



@media (max-width:520px) {
    .section-one {
        background-image: url(../img/header-padideit.png);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: left;
        position: absolute;
        width: 100%;
        height: 615px !important;
        top: 0;
        z-index: 0;
    }

    .margin-43rem {
        margin-top: 37rem !important;
    }
}

@media (max-width:1200px) {

    .carousel-video .owl-nav button.owl-next,
    .carousel-video .owl-nav button.owl-prev {
        position: absolute;
        top: 3%;
        background: #fff !important;
        color: var(--color-6593ff) !important;
        box-shadow: var(--shadow-6593ff);
        width: 25px !important;
        border-radius: 20px;
        height: 100px;
    }

    .main-course .shareicons {
        position: absolute;
        bottom: auto;
        top: 35px;
        left: 38px;
        z-index: 100;
    }

    .shareicons {
        position: absolute;
        bottom: -69px;
        left: 25px;
        z-index: 100;
    }

    /* .margin-17rem {
        margin-top: 8rem !important;
    } */

    .sizefix {
        width: 128px;
        height: 33px;
    }

    .services h3.fs-14pt {
        font-size: 12pt !important;
    }

    .services p {
        font-size: 10pt !important;
    }

    .fs-19pt {
        font-size: 19pt !important;
    }

    #carrousel .owl-stage-outer {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .fs-7-9 {
        font-size: 10.4pt !important;
        font-weight: bolder !important;
    }


    main h1,
    main .h1 {
        font-size: 1.5rem;
    }

    main h2,
    main .h2 {
        font-size: 1.3rem;
    }

    main h3,
    main .h3 {
        font-size: 1.1rem;
    }

    .carousel-sample .owl-nav,
    .carousel-personal .owl-nav {
        display: none !important;
    }
}

@media (min-width:768px) and (max-width:992px) {
    .margin-43rem {
        margin-top: 47rem !important;
    }

    .margin-17rem {
        margin-top: 5rem !important;
    }

    #carrousel .owl-nav .owl-prev {
        position: absolute;
        left: -25px !important;
        top: -26px !important;

    }

    #carrousel .owl-nav .owl-next {
        position: absolute;
        right: -25px !important;
        top: -26px !important;

    }

    .carousel-sample .owl-nav button.owl-prev,
    .carousel-personal .owl-nav button.owl-prev,
    .carousel-courses .owl-nav button.owl-prev,
    .carousel-pic .owl-nav button.owl-prev,
    .carousel-personal-v .owl-nav button.owl-prev {
        left: -40px !important;
    }

    .carousel-sample .owl-nav button.owl-next,
    .carousel-personal .owl-nav button.owl-next,
    .carousel-courses .owl-nav button.owl-next,
    .carousel-pic .owl-nav button.owl-next,
    .carousel-personal-v .owl-nav button.owl-next {
        right: -40px !important;
    }
}

@media (min-width:991px) and (max-width:1200px) {
    .carousel-video .owl-nav button.owl-prev {
        left: -30px;
    }

    .carousel-video .owl-nav button.owl-next {
        right: -30px;
    }

    .margin-17rem {
        margin-top: 17rem;
    }

    .carousel-sample .owl-nav button.owl-prev,
    .carousel-personal .owl-nav button.owl-prev,
    .carousel-courses .owl-nav button.owl-prev,
    .carousel-pic .owl-nav button.owl-prev,
    .carousel-personal-v .owl-nav button.owl-prev {
        left: -30px !important;
    }

    .carousel-sample .owl-nav button.owl-next,
    .carousel-personal .owl-nav button.owl-next,
    .carousel-courses .owl-nav button.owl-next,
    .carousel-pic .owl-nav button.owl-next,
    .carousel-personal-v .owl-nav button.owl-next {
        right: -30px !important;
    }
}

@media (min-width:768px) {
    #sidebar2 {
        float: right !important;
        margin-left: auto;
        margin-right: 0px;
        max-width: 250px;
    }



 
}
@media (min-width:768px) and (max-width:992px){
    .mt-6 {
        margin-top: 238px;
    }
    .section-three-woedpress {
        height: 1280px;
      }
}
@media (min-width:992px) and (max-width:1200px){
    .mt-6 {
        margin-top: 180px;
    }
    .section-three-woedpress {
        height: 1280px;
      }
}
@media (min-width:1200px){
    .mt-6 {
        margin-top: 330px;
    }
}
@media (min-width:992px) {
    #sidebar2 {
        float: right !important;
        margin-left: auto;
        margin-right: 0px;
        max-width: 285px !important;
        /* position: relative;
        height: 3922px; */
    }
    .left-0 {
        left: 0;
    }
    
    .px-6 {
        padding-left: 90px;
        padding-right: 90px;
    }
}
@media (min-width:0px) and (max-width:768px) {
    .bg-footer {
        background: url(../images/bg-footer.png) no-repeat !important;
        background-size: cover !important;
        background-position: center !important;
    }
    .raychat_main_button.right{
        right: auto !important;
        bottom: 47px !important;
        left: 15px;
      }
} 
@media (min-width:768px) and (max-width:992px){
    .bg-footer {
        background: url(../images/bg-footer.png) no-repeat !important;
        background-size: cover !important;
        background-position: center !important;
        height: 770px !important;
    }
}
@media (max-width:992px) {
    

    h1 {
        font-size: 1.4rem;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    h2 {
        font-size: 1.2rem;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    h3 {
        font-size: 1rem;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    h4 {
        font-size: 0.8rem;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .fs-14pt {
        font-size: 12pt;
    }

    .left-0 {
        left: 15px;
    }
}