.owl-theme .owl-nav div {
    color: #FFF;
    display: inline-block;
    position: relative;
    zoom: 1;
    font-size: 32px;
    border-radius: 0px;
    -o-border-radius: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    background: #e8e8e8;
    border: none;
    opacity: 0.8;
    transition: all 0.17s ease-in-out;
    -moz-transition: all 0.17s ease-in-out;
    -webkit-transition: all 0.17s ease-in-out;
    -o-transition: all 0.17s ease-in-out;
    padding: 0px !important;
    margin: 0px !important;
    width: 38px;
    height: 58px;
}

.slider-carousel.owl-theme .owl-nav div {
    background-color: transparent;
}

.owl-theme .owl-nav div:hover {
    background-color: #000!important;
}

.owl-theme .owl-controls {
    margin: 0;
}

.owl-theme .owl-nav div:hover {
    opacity: 0.8;
}

.owl-theme .owl-nav div:before {
    position: absolute;
    font-size: 22px;
    color: #fff;
    width: 100%;
    left: 0;
    text-align: center;
    line-height: 58px;
}

.news-carousel.owl-theme .owl-nav div:before {
    position: absolute;
    font-size: 50px;
    color: #000;
    width: 100%;
    left: 0;
    text-align: center;
    line-height: 82px;
    padding: 0px;
    margin: 0px;
    width: 20px;
}

.preferences-carousel.owl-theme .owl-nav div:before {
    color: #000;
}

.preferences-carousel.owl-theme .owl-nav div:hover:before {
    color: #fff;
}

.news-carousel.owl-theme .owl-nav div:before, .other-posts-carousel.owl-theme .owl-nav div:before {
    position: absolute;
    font-size: 50px;
    color: #000;
    width: 100%;
    left: 0;
    text-align: center;
    line-height: 82px;
    padding: 0px;
    margin: 0px;
}

.news-carousel.owl-theme .owl-nav div.owl-prev {
    position: absolute;
    top: calc((100% - 58px) / 2);
    left: 0px;
}

.news-carousel.owl-theme .owl-nav div.owl-prev, .other-posts-carousel.owl-theme .owl-nav div.owl-prev {
    position: absolute;
    top: calc((100% - 58px) / 2);
    left: 0px;
    margin: 0px;
    padding: 0px;
    width: 38px;
}

.owl-theme .owl-nav div.owl-prev {
    bottom: calc((100% - 58px) / 2);
    top: inherit;
    position: absolute;
    left: 0px;
}

@media (max-width: 576px) {
    .owl-theme .owl-nav div.owl-prev {
        display: none;
    }
}

.preferences-carousel.owl-theme.owl-theme .owl-nav div.owl-prev {
    left: -30px;
}

.news-carousel.owl-theme .owl-nav div.owl-next {
    position: absolute;
    top: calc((100% - 58px) / 2);
    right: 0px;
}

.news-carousel.owl-theme .owl-nav div.owl-next, .other-posts-carousel.owl-theme .owl-nav div.owl-next {
    position: absolute;
    top: calc((100% - 58px) / 2);
    right: 0px;
    margin: 0px;
    padding: 0px;
    width: 38px;
}

.owl-theme .owl-nav div.owl-next {
    top: initial;
    bottom: calc((100% - 58px) / 2);
    position: absolute;
    right: 0px;
}

@media (max-width: 576px) {
    .owl-theme .owl-nav div.owl-next {
        display: none;
    }
}

.preferences-carousel.owl-theme.owl-theme .owl-nav div.owl-next {
    right: -30px;
}

@media (max-width: 1200px) {
    .certificates-carousel.owl-theme.owl-theme .owl-nav div.owl-prev, .preferences-carousel.owl-theme.owl-theme .owl-nav div.owl-prev {
        left: 10px;
    }
    .certificates-carousel.owl-theme.owl-theme .owl-nav div.owl-next, .preferences-carousel.owl-theme.owl-theme .owl-nav div.owl-next {
        right: 10px;
    }
}

.owl-theme .owl-nav div.owl-prev:before {
    content: "\f053";
}

.owl-theme .owl-nav div.owl-next:before {
    content: "\f054";
    left: 2px;
}

.owl-theme .owl-dots {
    position: absolute;
    bottom: 30px;
    width: 100%;
}

/* .certificates-carousel.owl-theme .owl-dots {
    right: -50px;
    width: 50px;
    height: 100%;
    bottom: 0px;
    display: -ms-flexbox!important;
    display: flex!important;
    -ms-flex-direction: column!important;
    flex-direction: column!important;
    -ms-flex-pack: center!important;
    justify-content: center!important;
}
*/

.certificates-carousel.owl-theme .owl-dots {
    bottom: -50px;
}

.certificates-carousel.owl-theme .owl-nav div.owl-prev {
    left: -50px;
    background-color: #5e5e5e;
}

.certificates-carousel.owl-theme .owl-nav div.owl-next {
    right: -50px;
    background-color: #5e5e5e;
}

.certificates-carousel.owl-theme .owl-nav div.owl-prev:hover, .certificates-carousel.owl-theme .owl-nav div.owl-next:hover {
    background-color: #5ac2ae !important;
    opacity: 1;
}

.owl-theme .owl-dots .owl-dot span {
    background: rgb(255, 255, 255, 0) !important;
    border: 2px solid #f8f8f8;
    width: 17px !important;
    height: 17px !important;
    position: relative;
}

.owl-theme .owl-dots .owl-dot.active span {
    background: #fff !important;
    border: 2px solid #fff;
    width: 17px !important;
    height: 17px !important;
    position: relative;
}

@media screen and (max-width: 768px) {
    /* .owl-theme .owl-dots .owl-dot span {
        border: 3px solid #f8f8f8;
        width: 12px !important;
        height: 12px !important;
    }
    .owl-theme .owl-dots .owl-dot span::before {
        content: " ";
        top: -5px;
        left: -5px;
        border: 2px solid #000;
        width: 16px !important;
        height: 16px !important;
    }
    .owl-theme .owl-dots .owl-dot.active span {
        background: rgb(229, 53, 49) !important;
        border: 3px solid #fff;
        width: 12px !important;
        height: 12px !important;
        position: relative;
    }
    .owl-theme .owl-dots .owl-dot.active span::before {
        content: " ";
        top: -5px;
        left: -5px;
        border: 2px solid #000;
        width: 16px !important;
        height: 16px !important;
    } */
    .certificates-carousel.owl-theme .owl-dots .owl-dot.active span::before {
        display: none;
    }
    .certificates-carousel.owl-theme .owl-dots .owl-dot span::before {
        display: none;
    }
}

.owl-carousel {
    touch-action: manipulation;
}

.other-posts-carousel.owl-carousel {
    padding: 0px 40px;
}

@media screen and (max-width: 400px) {
    .other-posts-carousel.owl-carousel {
        padding: 0px 5px;
    }
}

.owl-item .item {
    margin-left: auto;
    margin-right: auto;
}

.comments-carousel.owl-theme .owl-dots {
    bottom: -20px;
}

.comments-carousel.owl-theme .owl-dots .owl-dot span {
    border-color: #24549c !important;
}

.comments-carousel.owl-theme .owl-dots .owl-dot.active span {
    background-color: #24549c !important;
}

.comments-carousel.owl-carousel .owl-stage {
    display: -ms-flexbox!important;
    display: flex!important;
    -ms-flex-align: center!important;
    align-items: center!important;
    -ms-flex-pack: center!important;
    justify-content: center!important;
}

.home-modules .owl-theme .owl-nav div.owl-next,
#trainers .owl-theme .owl-nav div.owl-next {
    right: -32px;
}

.home-modules .owl-theme .owl-nav div.owl-prev,
#trainers .owl-theme .owl-nav div.owl-prev {
    left: -32px;
}

.similar-carousel.owl-theme .owl-nav div.owl-next,
.home-modules .owl-theme .owl-nav div.owl-next{
    right: -40px;
}
.similar-carousel.owl-theme .owl-nav div.owl-prev,
.home-modules .owl-theme .owl-nav div.owl-prev {
    left: -40px;
}

@media screen and (max-width: 1320px) {
    .module .module-info {
        overflow: hidden;
    }
    .boxes-carousel.owl-theme .owl-nav div.owl-next {
        right: 30px;
    }
    #trainers .owl-theme .owl-nav div.owl-next {
        right: 10px;
    }
    .boxes-carousel.owl-theme .owl-nav div.owl-prev {
        left: 30px;
    }
    #trainers .owl-theme .owl-nav div.owl-prev {
        left: 10px;
    }
}

@media screen and (max-width: 1240px) {
    
    .similar-carousel.owl-theme .owl-nav div.owl-next,
    .home-modules .owl-theme .owl-nav div.owl-next {
        right: 10px;
    }
    
    .similar-carousel.owl-theme .owl-nav div.owl-prev,
    .home-modules .owl-theme .owl-nav div.owl-prev {
        left: 10px;
    }
}

@media screen and (max-width: 768px) {
    .similar-carousel.owl-theme .owl-nav div.owl-next,
    .home-modules .owl-theme .owl-nav div.owl-next,
    #trainers .owl-theme .owl-nav div.owl-next {
        top: -76px;
        right: 20px;
        height: 34px;
        display: block;
    }
    .similar-carousel.owl-theme .owl-nav div.owl-prev,
    .home-modules .owl-theme .owl-nav div.owl-prev,
    #trainers .owl-theme .owl-nav div.owl-prev {
        top: -76px;
        left: unset;
        right: 62px;
        height: 34px;
        display: block;
    }
    .preferences-carousel.owl-theme.owl-theme .owl-nav div.owl-next,
    .boxes-carousel.owl-theme .owl-nav div.owl-next,
    .certificates-carousel.owl-theme.owl-theme .owl-nav div.owl-next,
    .home-modules .owl-theme .owl-nav div.owl-next {
        top: calc(100% + 6px);
        right: calc((100% - 30px - 43px ) / 2);
        height: 34px;
        display: block;
    }
    .preferences-carousel.owl-theme.owl-theme .owl-nav div.owl-prev,
    .boxes-carousel.owl-theme .owl-nav div.owl-prev,
    .certificates-carousel.owl-theme.owl-theme .owl-nav div.owl-prev,
    .home-modules .owl-theme .owl-nav div.owl-prev {
        top: calc(100% + 6px);
        left: unset;
        right: calc((100% - 30px + 43px ) / 2);
        height: 34px;
        display: block;
    }

    .owl-theme .owl-nav div:before {
        line-height: 34px;
    }
    .owl-theme .owl-nav .prev:before {
        padding-right: 1px;
    }
}