/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

/*
Global styles
 */
body,
h1, h2, h3, h4, h5, h6,
.menu-link {
    font-family: "Roboto Condensed" !important;
}

.content-wrap > .container {
    min-height: calc(100vh - 407px);
    background-color: #ffffff;
}

.content-wrap {
    background-color: #f9f9f9;
    padding: 0;
}

.content-wrap > .container {
    padding: 40px;
}

#page-title {
    padding: 2rem 0;
}

#top-cart i {
    font-size: 20px;
}

/*
Colors
 */
.bg-warning {
    background-color: #eab830 !important;
}

.bg-primary {
    background-color: #307ad5 !important;
}

.bg-secondary {
    background-color: #1ec1d9 !important;
}

.bg-success {
    background-color: #10c45c !important;
}

.bg-info {
    background-color: #d94da6 !important;
}

.text-white {
    color: #ffffff !important;
}

.text-warning {
    color: #eab830 !important;
}

.text-primary {
    color: #307ad5 !important;
}

.text-secondary {
    color: #1ec1d9 !important;
}

.text-success {
    color: #10c45c !important;
}

.text-info {
    color: #d94da6 !important;
}

/*
Homepage sections - direction
 */
.direction-wrapper {
    background-color: #f9f9f9;
}

.direction-container {
    min-height: 450px;
    padding: 50px 0;
}

.direction-box {
    padding: 26px;
    position: relative;
    overflow: hidden;
}

.direction-box .btn-outline-primary {
    color: #10c45c;
    border-color: #10c45c;
}

.direction-box .btn-outline-primary:hover {
    color: #fff;
    background-color: #10c45c;
}

.direction-box.shadow {
    -webkit-box-shadow: 0px 0px 3px 3px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 0px 3px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 3px 3px rgba(0, 0, 0, 0.3);
}

.direction-box.soon:after {
    content: "ТУН УДАХГҮЙ...";
    display: block;
    position: absolute;
    top: 124px;
    right: 0;
    background-color: #307ad5;
    color: #fff;
    padding: 2px 10px;
    width: 100%;
    height: 100%;
    font-weight: lighter;
    font-size: 30px;
    text-align: center;
    line-height: 124px;
    transition: ease-in-out .2s;
    cursor: pointer;
}

.direction-box.soon:hover:after {
    top: 0;
}



.cover {
    position: relative;
}

.cover-title {
    position: absolute;
    top: 40%;
    left: 30px;
    font-size: 3rem;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, .2);
}

.slider-title {
    font-size: 3rem !important;
    font-weight: lighter !important;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, .2) !important;
    text-transform: uppercase !important;
}

@media (min-width: 576px)
and (max-width: 768px) {
    .slider-title-right-md {
        text-shadow: 2px 2px 0 rgba(0, 0, 0, .2) !important;
    }
}

@media (max-width: 576px) {
    .slider-title {
        text-shadow: 1px 1px 0 rgba(0, 0, 0, .2) !important;
    }
}

@media (max-width: 768px) {
    .slider-title-right-align-md {
        text-align: right !important;
    }
}

/*
Homepage sections - advantage
 */
.advantages-wrapper {
    background-color: #fff;
    padding: 25px 0;
}

.advantages-container {
    padding: 40px 0;
}

.advantage-badge {
    background-color: #fff;
    border-radius: 10px;
    width: calc(50% - 20px);
    float: left;
    margin: 10px;
    padding: 20px;
    min-height: 400px;
    position: relative;
}

.advantage-badge > .image {
    min-height: 400px;
}

.bg-advantage-1 {
    background-image: url("/images/advantages/advantage1.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.bg-advantage-2 {
    background-image: url("/images/advantages/advantage2.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.bg-advantage-3 {
    background-image: url("/images/advantages/advantage3.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.bg-advantage-4 {
    background-image: url("/images/advantages/advantage4.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

/*
Homepage sections - courses
 */
.courses-wrapper {
    background-color: #f9f9f9;
}

.courses-container {
    padding: 25px 0 0;
    overflow: hidden;
    margin-bottom: 50px;
}

.courses-badge:first-child {
    margin-left: 0;
    width: calc(20% - 10px);
}

.courses-badge:last-child {
    margin-right: 0;
    width: calc(20% - 10px);
}

.courses-badge {
    background-color: #ccc;
    width: calc(20% - 20px);
    margin: 10px;
    float: left;
    color: #fff;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    transition: ease-in-out .1s;
}

.courses-badge a {
    text-decoration: none;
    color: #fff;
    display: block;
    padding: 20px;
}

.courses-badge:hover {
    margin-top: 5px;
    text-decoration: underline;
}

.course-icon {
    width: 128px;
    height: 128px;
    margin: 0 auto 20px auto;
    display: block;
}

/*
Homepage sections - teachers
 */
.teachers-wrapper {
    background-color: #f9f9f9;
}

.teachers-container {
    padding: 40px 0;
}

.gallery-teachers {
}

.gallery-video {
    width: 100%;
    float: left;
    padding: 10px;
    cursor: pointer;
}

.gallery-video .video {
    width: 100%;
    min-height: 280px;
    background-color: #ccc;
    position: relative;
}

.gallery-video .video:after {
    content: "\eca5";
    font-family: "font-icons";
    color: #fff;
    position: absolute;
    top: calc(50% - 20px);
    left: calc(50% - 20px);
    font-size: 40px;
}


/*
Login page
 */
.login-bg {
    background-image: url("/images/login_bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #f9f9f9;
}

.login-logo {
    height: 201px;
    margin-top: -120px;
}

/*
public course detail
 */
.pricing-price {
    font-size: 3rem;
}

.course-session {
    margin: 0 20px;
    vertical-align: middle;
    color: #000;
}

.course-session > i {
    font-size: 18px;
}

.course-asset {
    border-radius: 10px;
    padding: 5px 20px;
    /*border: solid 1px #cccccc;*/
    margin-bottom: 10px;
}

/*
My course detail
 */
.asset-wrapper .title {
    font-size: 18px;
    display: inline-block;
    border-bottom: solid 1px #ccc;
    margin: 0;
}

.asset-container {
    font-size: 14px;
    padding-left: 30px;
    margin: 30px 0;
}

/*
Course slider
 */
.course-card {
    position: relative;
    background-color: #FFFBF5;
    width: 295px;
    height: 384px;
    border: solid 1px rgb(229, 229, 229);
    border-radius: 4px;
    overflow: hidden;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
    margin: auto;

}
.course-card:hover .course-card-content{
    left: -295px;
}

.course-card:hover .course-card-no-hover{
    left: 0;
}

.course-card-title {
    padding: 8px 18px;
    height: 88px;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
}

.course-card-content {
    left: 0;
    position: absolute;
    width: 590px;
    height: 246px;
    overflow: hidden;
    transition: ease-in-out .8s;
}

.course-card-content .column {
    padding: 0 18px;
    float: left;
    width: 50%;
    height: 246px;
}
.course-card-content .column:first-child{
    padding-right: 0;
    position: relative;
}
.course-card-content .column > div,
.course-card-content .column > img {
    width: 50%;
}
.course-card-content .column > img{
    position: absolute;
    bottom: 0;
    right: 0;
}
.course-card-btn{
    overflow: hidden;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}
.course-card-btn a {
    font-weight: lighter;
    width: 50%;
    float: left;
}
.course-card-btn a:first-child{
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.course-card-btn a:last-child{
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

    /*
    Homepage carousel
     */
.carousel.custom .carousel-control-prev,
.carousel.custom .carousel-control-next {
    color: #000;
    width: 5%;
    left: -64.5px;
    font-size: 24px;
}

.carousel.custom .carousel-control-next {
    left: 100%;
}

.slogan-wrapper {
    margin: 0 0 25px;
    padding: 30px;
}

.carousel.custom.advantage {
    padding: 60px;
    color: #fff;
    font-size: 24px;
}

.carousel.custom.advantage h4 {
    font-size: 48px;
    font-weight: bold !important;
}

.carousel.custom.advantage hr {
    border-color: #eab830 !important;
    border-width: 5px;
}

/*
courselist container
 */
.courselist-container {
    padding: 40px 0;
    min-height: 500px;
}


/*
Support mobile device
 */
@media only screen and (max-device-width: 480px) {
    #slider{
        padding: 10px 20px;
    }
    #slider h2{
        font-size: 24px !important;
    }
    #slider{
        min-height: 250px !important;
    }
    #slider .slider-arrow-left,
    #slider .slider-arrow-right{
        display: none;
    }
    #slider .swiper-slide{
        /*background-color: #ffeaa7;*/
    }
    .courses-badge:first-child,
    .courses-badge:last-child,
    .courses-badge {
        width: 100%;
        margin: 10px 0;
    }

    #advantage h4{
        font-size: 24px;
    }
    #advantage .carousel-item{
        font-size: 18px;
    }
    #advantage .carousel-control-prev,
    #advantage .carousel-control-next{
        display: none;
    }
    .advantage-badge {
        width: 100%;
        margin: 10px 0;
    }

    .advantage-badge > .image {
        min-height: 300px;

    }

    .cover-title {
        font-size: 18px;
    }
}
@media only screen
and (min-device-width: 768px)
and (max-device-width: 1024px)
and (-webkit-min-device-pixel-ratio: 1) {
    .courses-badge:first-child,
    .courses-badge:last-child,
    .courses-badge {
        width: 50%;
        margin: 10px 0;
    }
}
