﻿/*!
 * home.css
 * Version - 1.0
 * Website: lebencommunity.com
 * Author: Ghida
 * Copyright (c) 2020 bicweb.com
 */
.logo h1 {
    margin: 0;
    font-size: 1rem;
}

.gd_box__title {
    text-align: center;
}

    .gd_box__title .gd_text {
        font-size: 30px;
        color: #083190;
        font-family: 'Open Sans', sans-serif;
        font-weight: bold;
        margin-bottom: 30px;
        position: relative;
        padding-bottom: 10px;
    }

        .gd_box__title .gd_text::after {
            content: "";
            width: 70px;
            height: 1px;
            background-color: #008ed4;
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
        }

.kh_module {
    padding: 50px 0;
}

/*********************************************
    1. Banner
**********************************************/
.gd_banner {
    clear: both;
}

    .gd_banner img.bg_slider {
    }

.gd_banner_image {
    margin: 0;
}

.gd_banner .owl-nav [class^="owl-"] {
    color: #fff;
    line-height: 1;
    opacity: 0;
    position: absolute;
    text-align: center;
    top: 50%;
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    transition: all 0.3s ease-in 0s;
    visibility: hidden;
    z-index: 100;
    height: 65px;
    width: 40px;
    cursor: pointer;
    font-size: 48px;
}

.gd_banner .owl-prev {
    left: 40px;
}

.gd_banner .owl-next {
    right: 40px;
}

.gd_banner:hover .owl-nav [class^="owl-"] {
    opacity: 1;
    visibility: visible;
}

.gd_banner .owl-nav.disabled {
    display: none;
}


.gd_banner .owl-dots{
    position: absolute;
    bottom: 25px;
    right: calc((100vw - var(--content-size)) / 2);
    display: flex;
    padding: 3px 10px;
    border-radius: 5px 5px 0 0;
}

    .gd_banner .owl-dots::after, .gd_banner .owl-dots:before {
        content: "";
        bottom: 0;
        position: absolute;
        display: none;
    }

    .gd_banner .owl-dots::after {
        border-left: 0px solid transparent;
        border-right: 15px solid transparent;
        right: -14px;
        border-bottom: 24px solid #0c4f9e;
    }

    .gd_banner .owl-dots::before {
        border-left: 15px solid transparent;
        border-top: 0px solid transparent;
        border-bottom: 24px solid #0c4f9e;
        left: -14px;
    }

.gd_banner .owl-dot {
    padding: 5px;
}

.gd_banner .owl-dots .owl-dot span {
    display: block;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #0c4f9e;
    transition: all 300ms ease-in 0ms;
    position: relative;
}
.gd_banner .owl-dot.active span{
    width: 12px;
    height: 12px;
}
.gd_banner .owl-dot.active span:before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%; 
    border: 1px solid #0c4f9e;
    left: -4px;
    top: -4px;
}

.gd_box_testimonial .owl-dots {
    background: none;
    bottom: -20px;
}

.owl-nav.disabled {
    display: none;
}
    .hb_inner_title{
        text-align: center;
    }
    .hb_inner_title .hb_title_about{
        color: #0b50a1;
         position: relative;
        font-weight: 800;
        font-size: 2rem;
        padding-bottom: 15px;
        text-transform: uppercase;
    }
    .hb_inner_title .hb_title_about:before{
        position: absolute;
        content: '';
        width: 80px;
        height: 2px;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        background: #7ab7ff;
    }

/*********************************************
    3. Module giới thiệu
**********************************************/
    .kh_container {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
    }
    .kh_left_about {
        flex: 0 0 40%;
        max-width: 40%;
        padding-left: calc((100vw - var(--content-size))/2 - 5px + 15px);
    }
    .kh_right_about {
        flex: 0 0 60%;
        max-width: 60%;
    }
    .kh_figure_about {
        margin-bottom: 0;
        position: relative;
        height: calc(550/1150 * var(--content-size) * 4/5 - 30px);
        border-top: 5px solid var(--color);
    }
    .kh_figure_about .img-fluid {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .kh_fake_div {
        position: absolute;
        width: 300px;
        height: 102%;
        left: 0px;
        top: 50%;
        transform: translateY(-50%);
    }
    .kh_fake_div:before {
        content: '';
        width: 0;
        height: 0;
        border-top: calc(550/1150 * var(--content-size) * 4/5 - 25px) solid #fff;
        border-right: 300px solid transparent;
        position: absolute;
        left: 0;
        top: 0;
    }
    .kh_fake_div::after {
        content: '';
        width: 5px;
        height: 120%;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%) rotate(30deg);
        background-color: var(--color);
    }

    .kh_fake_div .kh_btn_play {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 2;
    }
    .kh_fake_div .kh_btn_play a {
        display: block;
        width: 90px;
        height: 90px;
        text-align: center;
        line-height: 90px;
        background-color: #452dee;
        background-image: linear-gradient(90deg, #3591fe, #0d50a1);
        border-radius: 50%;
        font-size: 2rem;
        color: #fff;
    }
    .kh_inner_video {
        overflow: hidden;
    }
    .kh_box_title .kh_title {
        text-transform: uppercase;
        font-weight: 800;
        font-size: 1.875rem;
        color: var(--color);
        text-align: center;
        position: relative;
        padding-bottom: 10px;
        margin-bottom: 15px;
    }
    .kh_box_title .kh_title:before {
        content: '';
        position: absolute;
        width: 100px;
        height: 2px;
        background-color: var(--color);
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
    }
    .kh_module.kh_module_about .kh_box_title .kh_title {
        text-align: left;
    }
    .kh_module.kh_module_about .kh_box_title .kh_title:before {
        left: 0;
        transform: unset;
    }
    .kh_btn {
        width: 250px;
        height: 50px;
        font-weight: 500;
        border: 1px solid #b4b4b4;
        font-size: 20px;
        -webkit-tap-highlight-color: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 0;
        transition: 0.5s;
        background: rgba(255,255,255,0);
        outline: none;
        margin-top: 30px;

    }

    .kh_btn::before, .kh_btn::after {
        position: absolute;
       /* background: #fff;*/
        z-index: -1;
        transition: 0.5s;
        content: '';
    }

    .kh_btn::before {
        height: 49px;
        width: 100px;
        right: 0;
        bottom: 0;
        border-top: 1px solid #fff;
        border-bottom: 1px solid #fff;
    }

    .kh_btn::after {
        width: 250px;
        height: 30px;
        border-right: 1px solid #fff;
        border-left: 1px solid #fff;
    }

    .kh_btn .noselect {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        color: var(--color);
        font-size: 1.15rem;
        text-transform: uppercase;
        padding-top: 3px;
    }

        .kh_btn .noselect span {
            position: relative;
        }
        .kh_btn .noselect span::before {
            content: '';
            position: absolute;
            display: block;
            height: 1px;
            width: 5px;
            color: ;
            background-color: var(--color);
            top: 47%;
            transform: translateY(-50%);
            right: -10px;
        }
        .kh_btn .noselect span::after {
            content: '';
            position: absolute;
            display: block;
            height: 1px;
            width: 5px;
            background-color: var(--color);
            top: 47%;
            transform: translateY(-50%);
            right: -20px;
        }

    .kh_btn:hover .noselect {
        color: var(--color);
    }

    .kh_btn:hover::before {
        width: 0px;
    }

    .kh_btn:hover::after {
        height: 0px;
    }

    .kh_btn:hover {
        background: #fff;
        border: 1px solid var(--color);
    }


/*********************************************
    4. Module sản phẩm
**********************************************/
    .kh_img_term {
        height: calc(6/7 * var(--content-size)/4 - 30px);
        width: calc(6/7 * var(--content-size)/4 - 30px);
        margin: 0 auto 20px;
        border-radius: 50%;
        overflow: hidden;
        position: relative;
        border: 2px solid var(--color);
    }
    .kh_inner_term {
        text-align: center;
    }
    .kh_img_term .img-fluid {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .kh_name_term {
        text-transform: uppercase;
        font-size: 1rem;
        font-weight: 700;
    }
    .kh_list_terms.row {
        padding: 40px 0;
    }
    .kh_img_term a::before {
        width: 100%;
        height: 100%;
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        background-color: rgba(0,142,212,0.8);
        z-index: 1;
        transition: all 300ms ease-in 0ms;
        opacity: 0;
    }

    .kh_img_term a::after {
        color: #fff;
        content: "\f067";
        font-weight: 900;
        font-size: 1.5rem;
        font-family: "Font Awesome 5 Pro";
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, 50%);
        width: 80px;
        height: 80px;
        text-align: center;
        border-radius: 50%;
        border: 1px solid #fff;
        line-height: 78px;
        z-index: 2;
        opacity: 0;
        transition: all 300ms ease-in 0ms;
    }

    .kh_inner_term:hover a::before {
        opacity: 1;
    }

    .kh_inner_term:hover a::after {
        opacity: 1;
        transform: translate(-50%, -50%);
    }

    .kh_inner_term:hover .kh_name_term {
        color: var(--color);
    }

/*********************************************
    5. Module service
**********************************************/

/*********************************************
    6. Module Vì sao chọn Gttech
**********************************************/
    .hb_module.hb_module_why {
        max-width: 100%;
        overflow: hidden;
    }
    .hb_list_why{
        display: flex;
        margin: 50px 0;
    }
    .hb_item_why{
        flex:0 0 25%;
        max-width: 25%;
    }
    .hb_why_images{
        width: 150px;
        height: 150px;
        border: 1px solid #3692ff;
        border-radius: 50%;
        margin: 0 auto 20px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .hb_why_item_title .hb_why_item_name{
        font-size: 16px;
        font-weight: bold;
        color: #444444;
        text-transform: uppercase;
        text-align: center;
    }
/*********************************************
    7. Module XXX
**********************************************/
@media screen and (min-device-width: 1200px) and (max-device-width: 1440px) {
    .kh_fake_div {
        height: 103%;
    }
    .kh_fake_div::after {
        height: 125%;
        transform: translate(-50%, -50%) rotate(35deg);
    }

}

@media screen and (min-device-width: 1025px) and (max-device-width: 1199px) { 
    .kh_fake_div {
        width: 250px;
        height: 103%;
    }
    .kh_fake_div::after {
        height: 125%;
        transform: translate(-50%, -50%) rotate(34deg);
    }
    .kh_fake_div::before {
        border-right: 250px solid transparent;
    }
}

@media only screen and (max-width: 1024px) and (min-width: 993px) {
    .kh_fake_div {
        width: 200px;
        height: 104%;
    }
    .kh_fake_div::before {
        border-right: 200px solid transparent;
    }
    .kh_fake_div::after {
        transform: translate(-50%, -50%) rotate(29deg);
    }
}

@media screen and (max-device-width: 992px) {
    .kh_module{
        padding: 30px 0;
    }
    .kh_box_title .kh_title{
        margin-bottom: 30px;
        font-size: 1.72rem;
    }
    /*Module about*/
        .kh_left_about{
            flex: 0 0 100%;
            max-width: 70%;
            margin: 0 auto;
            order: 2;
            padding-left: 0;
        }
        .kh_right_about{
            order: 1;
            flex: 0 0 100%;
            max-width: 70%;
            margin: 0 auto;
        }
        .kh_container{
            flex-wrap: wrap;
            padding: 0 15px;
        }
        .kh_figure_about{
            margin-bottom: 1rem;
            height: calc(2/3 * var(--content-size) * 4/5 - 30px);
            border:none;
        }
        .kh_fake_div{
            width: 100%;
        }
        .kh_fake_div:before,
        .kh_fake_div::after{
            display: none;
        }
        .kh_fake_div .kh_btn_play a{
            line-height: 60px;
            width: 60px;
            height: 60px;
        }
        .kh_btn_about.kh_btn{
            width: 200px;
        }
        .kh_btn_about.kh_btn .noselect{
            font-size: 1rem;
        }
        .kh_btn_about.kh_btn::after{
            width: 200px;
        }
        .kh_module.kh_module_about .kh_box_title .kh_title{
            margin-bottom: 15px;
        }
    /*End*/
    /*Module product*/
        .kh_img_term{
            width: 150px;
            height: 150px;  
        }
        .kh_name_term{
            font-size: 1.3rem;
        }

        .kh_list_terms  .owl-nav [class^="owl-"] {
            color: var(--color);
            line-height: 1;
            position: absolute;
            text-align: center;
            top: 43%;
            transform: translateY(-50%);
            cursor: pointer;
            font-size: 50px;
        }

        .kh_list_terms  .owl-nav .owl-prev {
            left: 5px;
        }

        .kh_list_terms  .owl-nav .owl-next {
            right: 5px;
        }
    /*End*/
    /*Module Why*/
        .hb_list_why{
            margin: 0;
        }
        .hb_list_why .owl-nav [class^="owl-"] {
            color: var(--color);
            line-height: 1;
            position: absolute;
            text-align: center;
            top: 43%;
            transform: translateY(-50%);
            cursor: pointer;
            font-size: 50px;
        }

        .hb_list_why .owl-nav .owl-prev {
            left: 5px;
        }

        .hb_list_why .owl-nav .owl-next {
            right: 5px;
        }

    /*End*/
}

@media only screen and (max-width: 767px) and (min-width: 577px) {
    .kh_right_about {
        max-width: 85%;
    }
    .kh_left_about {
        max-width: 85%;
    }
    .gd_banner_image {
        height: 40vw;
    }
    .gd_banner_image .img-fluid.bg_slider {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
}

@media screen and (max-device-width: 576px) {
    .kh_left_about {
        max-width: 100%;
    }
    .kh_right_about {
        max-width: 100%;
    }
    .gd_banner_image {
        height: 40vw;
    }
    .gd_banner_image .img-fluid.bg_slider {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
/**/
    .hb_list_why {
        flex-wrap: wrap;
    }
    .hb_item_why {
      flex: 0 0 100%;
      max-width: 100%;
      margin-bottom: 20px;
    }

    .hb_why_inner {
      display: flex;
      align-items: center;
      justify-content: flex-start;
    }
    .hb_why_images {
      width: 75px;
      height: 75px;
      flex: 0 0 75px;
      margin: 0 15px 0 0;
      border-radius: 0;
    }
    .hb_why_item_title .hb_why_item_name {
      text-align: left;
      line-height: 1.5;
      font-weight: 600;
    }
    .kh_list_terms.row {
      padding: 20px 0 0;
    }
    .kh_img_term {
      border-radius: 0;
      width: 100%;
      height: calc(1 * var(--content-size)/2 - 30px);
    }
    .kh_item_term {
      margin-bottom: 30px;
    }
    
}

@media screen and (max-device-width: 414px) {
  
}

@media screen and (max-device-width: 375px) {
  
}
