/* Igitech Css */
.video-popup.active {
    visibility: visible;
}

.video-popup iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.igi_box_btn_video {
    position: absolute;
    top: calc(50% - 33px);
    left: calc(50% - 33px);
}

.igi_btn_video {
    display: inline-block;
    width: 70px;
    height: 70px;
    text-align: center;
    line-height: 50px;
    position: absolute;
    border-radius: 50%;
    cursor: pointer;
    background: #fff;
}

.igi_bg_video {
    border: 7px solid var(--main-color);
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: 1;
    opacity: 100%;
}

span.igi_open_video {
    position: absolute;
    z-index: 999;
    display: inline-block;
    width: 69px;
    height: 69px;
    background: none;
    line-height: 69px;
    top: 50%;
    transform: translateY(-50%);
    left: calc(50% - 34px);
    border-radius: 50%;
}

span.igi_open_video i {
    font-size: 21px;
    color: var(--main-color);
    width: 69px;
    height: 69px;
    position: absolute;
    left: 0;
    line-height: 69px;
}

.video-popup {
    position: fixed;
    bottom: 0;
    right: 0;
    top: 0;
    left: 0;
    z-index: 9999999;
    overflow: auto;
    background: rgba(0, 0, 0, 0.85);
    visibility: hidden;
}

.video-wrap {
    position: absolute;
    border-radius: 5px;
    width: 900px;
    left: calc(50% - 450px);
    height: 500px;
    top: calc(50% - 250px);
}

.video-popup .igi_closed {
    position: absolute;
    right: 5px;
    top: -10px;
    font-size: 15px;
    z-index: 9999999;
    color: #ffff;
    font-weight: 600;
    width: 30px;
    height: 30px;
    text-align: center;
    background: red;
    border-radius: 50%;
    line-height: 28px;
    cursor: pointer;
}

.navigation {
    clear: both;
    text-align: center;
    margin-top: 30px;
}

.navigation .pages {
    margin-right: 15px;
    display: none;
}

.navigation a, .navigation span.current {
    min-width: 30px;
    height: 30px;
    border-radius: 5px;
    text-align: center;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    font-weight: 500;
    color: #189770;
    background-color: #fff;
    border: 1px solid #189770;
}

.navigation a:hover, .navigation span.current {
    color: #fff !important;
    background-color: #189770;
}

.navigation a.first,
.navigation a.last {
    display: none;
}

.fixed_right {
    position: fixed;
    bottom: 70px;
    right: 40px;
    z-index: 100;
}

#zalo_mess .play-now .ripple {
    background-position: center center;
}

#face_mess .play-now .ripple {
    background-position: bottom center;
}

#float_button, #zalo_mess, #face_mess {
    margin-top: 30px;
    position: relative;
    height: 40px;
    cursor: pointer;
}

#float_button .play-now {
    display: block;
}

.play-now {
    position: relative;
    border-radius: 50%;
    z-index: 10;
    text-align: center;
}

.play-now .ripple, .play-now .ripple:before, .play-now .ripple:after {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 44px;
    width: 44px;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    -webkit-transform-origin: center;
    transform-origin: center center;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    -webkit-box-shadow: 0 0 0 0 rgba(80, 170, 178, .3);
    -moz-box-shadow: 0 0 0 0 rgba(80, 170, 178, .3);
    -ms-box-shadow: 0 0 0 0 rgba(80, 170, 178, .3);
    -o-box-shadow: 0 0 0 0 rgba(80, 170, 178, .3);
    box-shadow: 0 0 0 0 rgba(80, 170, 178, .3);
    -webkit-animation: ripple 3s infinite;
    -moz-animation: ripple 3s infinite;
    -ms-animation: ripple 3s infinite;
    -o-animation: ripple 3s infinite;
    animation: ripple 3s infinite;
}

.play-now .ripple {
    background-image: url(../images/social_fixed.png);
}

@keyframes ripple {
    70% {
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

#back-to-top {
    position: fixed;
    right: 10px;
    width: 57px;
    height: 57px;
    background: url(/wp-content/themes/igitech/resources/css/../images/top.png);
    bottom: 10px;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    padding-top: 3px;
    font-size: 20px;
    opacity: .6;
    transition: all .3s ease;
    z-index: 999999999999;
}

.popupSearchBox {
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 99999999;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.9);
    right: 0;
    bottom: 0;
}

.popupSearchBox .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
    cursor: pointer;
    color: white;
}

.overlay-content {
    position: relative;
    top: 46%;
    width: 95%;
    text-align: center;
    margin-top: 30px;
    margin: auto;
    max-width: 800px;
}

.popupSearchBox input[type=text] {
    padding: 15px;
    font-size: 17px;
    border: none;
    float: left;
    width: calc(100% - 100px);
    background: white;
}

.popupSearchBox button {
    float: left;
    width: 100px;
    background: #1a56a5 !important;
    font-size: 15px;
    border: none;
    cursor: pointer;
    height: 55px;
    color: #fff;
}

.a-ripple {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    box-shadow: 0 0 0 0 #690f71;
    animation: ripple 3s infinite;
}

.btn-call {
    position: fixed;
    left: 40px;
    bottom: 120px;
    z-index: 9999;
}

.btn-zalo {
    position: fixed;
    left: 40px;
    bottom: 60px;
    z-index: 9999;
}

.btn-mess {
    position: fixed;
    right: 40px;
    bottom: 60px;
    z-index: 9999;
}

.detail-body h1,
.detail-body h2,
.detail-body h3,
.detail-body h4,
.detail-body h5 {
    margin-top: 20px;
}

.detail-body iframe {
    display: block;
    margin: 0 auto;
}

.detail-body table {
    width: 100% !important;
    border-collapse: collapse;
}

.detail-body table tbody tr:nth-child(even) {
    background-color: #eee;
}

.detail-body table tbody tr td {
    border: solid 1px #aaa;
    padding: 5px 10px 5px 10px;
}

.detail-body h1, 
.detail-body h2, 
.detail-body h3, 
.detail-body h4, 
.detail-body h5 {
    font-weight: 700;
}

.detail-body {
    text-align: justify;
    line-height: 28px;
}

.detail-body img {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    margin: 0 auto;
}

.detail-body figure {
    max-width: 100%;
    display: block;
    margin-inline: auto;
}

.box-social a {
    background-color: steelblue;
    border-radius: 5px;
    margin-left: 0;
    margin-right: 5px;
}

.box-social a:hover {
    color: #fff !important;
}

.service-desc {
    width: 70%;
    text-align: center;
    margin-inline: auto;
}

.box-home-price {
    background-color: #f7f7f7;
}

.box-giaovien {
    background-color: transparent !important;
    background-size: cover; 
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    color: #fff;
}

.box-giaovien:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, #1a56a5ad, #0772ff87);
    top: 0;
    left: 0;
}

.box-giaovien > h3,
.box-giaovien > div {
    z-index: 9;
}

.box-giaovien .desc {
    font-size: 14px;
    margin-inline: auto;
    width: 50%;
    padding-inline: 1rem
}

.comment-body {
    margin-bottom: 30px;
}

.btn-primary {
    padding: 0.3em 1em;
    color: #333;
    background-color: #1a68ac;
    color: #fff;
    margin-right: 10px;
}

.counselors {
    display: flex;
    flex-wrap: wrap;
}

.counselors .left {
    flex-basis: 50%;
}

.counselors .left img {
    height: 100%;
    width: 100%;
    aspect-ratio: 25/30;
}

.counselors .right {
    flex-basis: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-inline: 1rem;
}

#modal-1 .modal-dialog {
    max-width: 800px;
}

#modal-1 .modal-body {
    padding: 0;
}

@media (max-width: 992.8px) {
    .video-wrap {
        width: 100%;
        left: 0;
    }
}

@media (max-width: 767.8px) {
    .detail-body h1 {
        font-size: 22px;
    }
    .detail-body h2 {
        font-size: 21px;
    }
    .detail-body h3 {
        font-size: 20px;
    }
    .detail-body h4 {
        font-size: 19px;
    }
    .detail-body h5 {
        margin-top: 18px;
    }
 
    .btn-mess {
        right: 15px;
    }

    .btn-call,
    .btn-zalo {
        left: 15px;
    }

    .video-wrap {
        height: 250px
    }

    .service-desc {
        width: 100%;
    }

    .counselors .right {
        flex-basis: 100%;
        padding: 1rem;
    }

    .counselors .left {
        flex-basis: 100%;
        display: none;
    }

    .box-giaovien .desc {
        width: 100%;
    }
}

@media screen and (min-width:1025px){
	.box-menu{display:none !important;}
}