@import url(base.css);
@import url(tabler-icons.css);
@import url(nouislider.css);


/* Import Barlow font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@100;300;400;500;700&display=swap');

body, h1, h2, h3, h4, h5, h6, p, a, .btn, .lead, .menu-link, .list-group-item {
    font-family: 'Barlow', sans-serif;
}

:root,
[data-bs-theme="light"] {

 --font-body: "Barlow", sans-serif;
  --fw-semibold: "Barlow", sans-serif;
	--fw-bold: "Barlow", sans-serif;}


/* Font size */
p {
  font-size: 20px;
}
li p {
  font-size: 20px;
}

/* Start-- menu overlay */
.menubar{
    background-color: var(--accent-color);
    position: fixed;
    color: var(--bs-white);
    z-index: 9999999;
    padding-bottom: 40px;
    top: -220%;
    width: 100%;
    transition: all .5s ease-in-out;
    animation-duration: 1.2s;
}
.menubar.show{
    top: 0;
}
.menubar .social-widget li a{
    color: var(--bs-white);
}
.menubar .btn-primary:hover{
    background-color: var(--bs-white);
    color: var(--primary-color);
}
.menu .menu-link{
    text-decoration: none;
    color: rgba(var(--bs-white-rgb),.8);
    display: flex;
    align-items: center;
    font-size: 18px !important;
}
.menu .menu-link:focus{
    outline: none;
    box-shadow: none;
    background-color: transparent;
}
.menu .menu-link:hover,
.menu .dropdown-toggle.show{
    color: var(--primary-color);
}
.menu .last-child li{
    /* margin-bottom: 16px; */
}
.menu .last-child li:last-child{
    margin-bottom: 0;
}
.menu .last-child .menu-link{
    width: auto;
    white-space: inherit;
    line-height: 20px;
    font-size: 15px;
}
.menu .dropdown-menu{
    background-color: var(--accent-color);
}
/* .menu .dropdown-menu::after{
    position: absolute;
    content: '';
    height: 100%;
    width: 1px;
    background: rgba(var(--bs-white-rgb),.1);
    left: 7px;
    top: 0;
} */
.menu .dropdown-item{
    color: var(--bs-white);
    padding: 0;
}
.menu .dropdown-item:hover{
    background-color: transparent;
}
.menu .dropstart.centerd .dropdown-menu{
    /* inset: -200% 0px auto auto !important; */
}
.menu > li > ul{
    background-color: #334255 !important;
}
.menu > li > ul li > ul{
    background-color: #21323f !important;
}
.menu > li > ul li > ul li ul{
    background-color: #283961 !important;
}

/* Start-- Header */
header{
    width: 100%;
    z-index: 3;
}

/* Start-- Hero Slider */
.banner .hero-title{
    font-family: var(--fw-bold);
    color: var(--heading-color);
}
.banner .right-img > img{
    height: 100%;
    width: auto;
}
.menubar .menu-toggle > i,
header .menu-toggle > i{
    vertical-align: middle;
}
.banner .swiper-pagination > span{
    width: 16px;
    height: 16px;
    background: transparent;
    border: 2px solid var(--bs-gray-700);
}
.banner .swiper-pagination > span[aria-current="true"] {
    
    border-color: var(--accent-color);
    border-width: 6px;
}
.social-widget li a{
    padding: 8px;
    font-size: 20px;
    color: var(--heading-color);
    text-decoration: none;
}
.social-widget li a:hover{
    color: var(--primary-color);
}

.inner-page .banner .right-img{
    height: auto;
}
.inner-page .banner .right-img > img{
    height: auto;
    width: 100%;
}

/* Start-- search-course */
.search-course {
    margin-top: -100px;
}

/*  Start-- Hot selling courses */
.post-card{
    background-color: var(--bs-100);
    position: relative;
    display: block;
    width: 100%;
    height: 315px;
    overflow: hidden;
    color: var(--bs-white);
}
.post-card::after{
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.01), rgba(0,0,0,.7));
    opacity: 1;
    position: absolute;
    z-index: 1  ;
}
.post-card > .post-img{
    transform: scale(1);
    transition: all 0.5s ease-out;
    position: absolute;
    background-color: rgba(0,0,0,.1);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}
.post-card:hover > .post-img{
    transform: scale(1.1);
}
.post-card > .post-img > img{
    display: block;
    width: auto;
    height: 100%;
    max-height: none;
    max-width: none;
    -webkit-transition: -webkit-filter .3s;
    transition: -webkit-filter .3s;
    -o-transition: filter .3s;
    transition: filter .3s;
    transition: filter .3s,-webkit-filter .3s;
    position: absolute;
    top: calc(50% + 1px);
    left: calc(50% + 1px);
    -webkit-transform: scale(1.01) translate(-50%,-50%);
    -ms-transform: scale(1.01) translate(-50%,-50%);
    transform: scale(1.01) translate(-50%,-50%);
}

/* Start-- news and info */

/* Start-- footer */
.footer{
    border-top: 6px solid var(--primary-color);
    color: var(--body-color);
}
.footer .title{
    color: var(--heading-color);
}
.footer a{
    color: inherit;
    text-decoration: none;
}
.footer a:hover{
    color: var(--primary-color);
}
.footer .copy-write{
    background-color: var(--heading-color);
    font-size: var(--font-size);
    color: var(--bs-white);
}

.grid-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
    gap: 16px;
}
.grid-item .card{
    height: 100%;
}
.grid-item .card .card-body{
    display: flex;
    flex-direction: column;
}
.grid-card.listview{
    grid-template-columns: repeat(auto-fit, minmax(100%,1fr));
}
.grid-card.listview .card{
    flex-direction: row;
}
.grid-card.listview .card .card-img-top{
    width: 260px;
}
.grid-card.listview .card-body{
    display: flex;
    flex-direction: column;
}

.a-to-z li{
    border-right: 1px solid var(--bs-border-color);
    border-top: 1px solid var(--bs-border-color);
    flex-grow: 1;
    text-align: center;
}
.a-to-z li:last-child{
     border-right: 0;
}
.a-to-z a{
    color: inherit;
    text-decoration: none;
    padding: 8px 6px;
    display: flex;
    justify-content: center;
}
.a-to-z a:hover{
    background-color: var(--bs-border-color);
    color: var(--accent-color) !important;
}

.news-tab .nav-link{
    position: relative;
    border: 0;
    border-bottom: 1px solid var(--bs-gray-500);
    color: var(--bs-gray-800);
}
.news-tab .nav-link:hover,
.news-tab .nav-link.active{
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.news-tab .nav-link.active::after{
    width: 100%;
    content: '';
    left: 0;
    bottom: 0;
    height: 2px;
    background-color: var(--primary-color);
    position: absolute;
}
.news-tab > li{
    margin-right: 2rem;
    margin-bottom: 4px;
}
.news-tab > li:last-child{
    margin-right: 0;
}

.img-hover-effect .img-div img{
    transform: scale(1);
    transition: all 0.5s ease-out;
}

.img-hover-effect .img-div {
    overflow: hidden;
}

.img-hover-effect .img-div::before,
.img-hover-effect .img-div::after {
    position: absolute;

    content: "";
    z-index: 1;
    top: 50%;
    left: 50%;
    opacity: 0;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    -webkit-transition: all .4s linear 0s;
    transition: all .4s linear 0s;
    height: 1px;
    width: 100%;
    background-color: var(--bs-white);
}

.img-hover-effect .img-div::before{
    height: 100%;
    width: 1px;
}

.img-hover-effect .plush-sign-card {
    position: relative;
    overflow: hidden;
}
.img-hover-effect .plush-sign-card .plush-div,
.img-hover-effect .plush-sign-card .plush-sign{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.img-hover-effect .plush-sign-card .plush-div::before,
.img-hover-effect .plush-sign-card .plush-div::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 50%;
    height: 50%;
    transform: translate(-100%,-100%);
    opacity: .7;
    transition: all .3s linear 0s;
}
.img-hover-effect .plush-sign-card .plush-div::after{transform: translate(200%,200%);}
.img-hover-effect .plush-sign-card .plush-sign::before,
.img-hover-effect .plush-sign-card .plush-sign::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 50%;
    height: 50%;
    -webkit-transform: translate(-100%,200%);
    -ms-transform: translate(-100%,200%);
    transform: translate(-100%,200%);
    opacity: .7;
    -webkit-transition: all .3s linear 0s;
    transition: all .3s linear 0s;
}
.img-hover-effect .plush-sign-card .plush-sign::after {
    transform: translate(200%,-100%);
}

.img-hover-effect:hover .img-div img{
    transform: scale(1.3);
}

.img-hover-effect:hover .plush-sign-card .plush-div::before {
    -webkit-transform: translate(0,0) scaleY(1.003) scaleX(1.003);
    -ms-transform: translate(0,0) scaleY(1.003) scaleX(1.003);
    transform: translate(0,0) scaleY(1.003) scaleX(1.003);
}

.img-hover-effect:hover .plush-sign-card .plush-div::after {
    -webkit-transform: translate(100%,100%) scaleY(1.003) scaleX(1.003);
    -ms-transform: translate(100%,100%) scaleY(1.003) scaleX(1.003);
    transform: translate(100%,100%) scaleY(1.003) scaleX(1.003);
}
.img-hover-effect:hover .plush-sign-card .plush-sign::before {
    transform: translate(0,100%);
}
.img-hover-effect:hover .plush-sign-card .plush-sign::after {
    transform: translate(100%,0);
}
.img-hover-effect:hover .plush-sign-card .img-div::before {
    height: 20px;
    width: 1px;
    opacity: 1;
}
.img-hover-effect:hover .plush-sign-card .img-div::after{
    width: 20px;
    opacity: 1;
}

.wpml-ls-legacy-list-horizontal a{
    padding: 0 0 6px 10px !important;
}

/* TTM - New Menu Design CSS */
.bg-gray{background-color: #D9D9D9;}
.menubar .brand{width: 160px;}
.new-menu svg{min-width: 24px;}
.new-menu .dropdown{position: inherit;}
.new-menu .dropdown-menu{left: 0 !important; top: 100% !important; transform: none !important;  width: 100%; background-color: var(--accent-color); position: absolute;}
.new-menu .nav-link.show{background-color: #D9D9D9;color: #25355C;}
.new-menu .m-link{color: #25355C; text-decoration: none;font-size: 16px;}
.new-menu .m-link h5{font-size: 18px;}
.new-menu .m-link p{font-size: 14px;}
.new-menu .btn.dropdown-toggle:focus{border: 0;outline: none;box-shadow: none;}
.new-menu .dropdown .open { background-color: #D9D9D9;}
.new-menu .dropdown .open > a,
.new-menu .dropdown .open > .btn{color: #25355C !important;}
.new-menu .nav-pills{min-width: 190px;width: 190px;}
.new-menu .nav-pills .nav-link{color: #25355C;}
.new-menu .nav-pills .nav-link.active,
.new-menu .nav-pills .show>.nav-link{background-color: #ffffff;}
.new-menu .nav-pills .nav-link{position: relative;}
.new-menu .nav-pills .nav-link a{color: #25355C; text-decoration: none;}
.new-menu .nav-pills .nav-link::after{position: absolute;display: inline-block;margin-left: .255em;vertical-align: .255em;content: "";border-top: .3em solid transparent;border-right: 0;border-bottom: .3em solid transparent;border-left: .3em solid;margin-top: 2px;top: 49%;transform: translateY(-61%);right: 16px;}
.m-badge{color: #25355C; font-size: 8px;border: 1px solid #25355C;min-width: 26px;width: 26px;text-align: center;padding: 2px;margin-top: 6px;}
.language-icon ul {display: flex;align-items: center;}
.new-menu .menu-arrow{display: none;}
.new-menu .search-box form{width: 200px;}

@media (max-width: 1199.98px) {
    .new-menu li .fs-6{
        font-size: 14px !important;
    }
    .new-menu .search-box form{width: 140px;}
}
@media (max-width: 991.98px) { 
    .new-menu .navbar-nav{width: 100%;}
    .new-menu .dropdown{position: relative; width: 100%;}
    .new-menu .dropdown .active > a{width: 100%;}
    .new-menu .dropdown-menu{position: relative !important;}
    .new-menu .container-xxl{padding: 0;}
    .new-menu .tab-content{padding-left: 0 !important;}
    .new-menu .m-link h5{font-size: 16px;}
    .new-menu .tab-content .border-end{border: 0 !important;}
    .new-menu .dropdown-toggle-split{position: absolute; right: 16px; top: 9px;}
    .new-menu .nav-pills{min-width: 150px;}
    .new-menu .search-box form{width: 300px;}
}
@media (max-width: 767.98px) { 
    .new-menu .search-box,
    .new-menu .search-box form {width: 100%;}
}