:root {
    --main-color: #3132fe  
}
/* 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: 20px;
}

.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: var(--main-color);
    background-color: #fff;
    border: 1px solid var(--main-color);
}

.navigation a:hover, .navigation span.current {
    color: #fff !important;
    background-color: var(--main-color);
}

.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: #ab1c30 !important;
    font-size: 15px;
    border: none;
    cursor: pointer;
    height: 55px;
    color: #fff;
}

.a-ripple {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 0 0 0 var(--main-color);
    animation: ripple 3s infinite;
    background-color: var(--main-color);
}

.a-ripple i {
    font-size: 16px;
    color: #fff;
}

.a-ripple:after {
    content: 'Liên hệ';
    width: 200%;
    height: 100%;
    position: absolute;
    top: 0;
    left: -200%;
    background-color: var(--main-color);
    z-index: -1;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 30px;
    font-weight: 600;
    color: #fff;
    visibility: hidden;
    opacity: 0;
    transition: all .4s linear;
}

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


.btn-zalo {
    position: fixed;
    right: 40px;
    bottom: 120px;
    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;
}

#button-contact-vr {
    position: fixed;
    left: 40px;
    bottom: 100px;
    z-index: 999;
}

#button-contact-vr .button-contact {
    position: relative;
    margin-top: -5px;
}

#button-contact-vr .button-contact .phone-vr {
    position: relative;
    visibility: visible;
    background-color: transparent;
    width: 90px;
    height: 90px;
    cursor: pointer;
    z-index: 11;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transition: visibility .5s;
    left: 0;
    bottom: 0;
    display: block;
}

#zalo-vr .phone-vr-circle-fill {
    box-shadow: 0 0 0 0 #2196f3;
    background-color: rgba(33,150,243,.7);
}
.phone-vr-circle-fill {
    width: 65px;
    height: 65px;
    top: 12px;
    left: 12px;
    position: absolute;
    box-shadow: 0 0 0 0 #c31d1d;
    background-color: rgba(230,8,8,.7);
    border-radius: 50%;
    border: 2px solid transparent;
    -webkit-animation: phone-vr-circle-fill 2.3s infinite ease-in-out;
    animation: phone-vr-circle-fill 2.3s infinite ease-in-out;
    transition: all .5s;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-animuiion: zoom 1.3s infinite;
    animation: zoom 1.3s infinite;
}

#zalo-vr .phone-vr-img-circle {
    background-color: #2196F3;
}
.phone-vr-img-circle {
    background-color: #e60808;
    width: 40px;
    height: 40px;
    line-height: 40px;
    top: 25px;
    left: 25px;
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    -webkit-animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
    animation: phone-vr-circle-fill 1s infinite ease-in-out;
}

.phone-vr-img-circle a {
    display: block;
    line-height: 37px;
}

.phone-vr-img-circle img {
    max-height: 25px;
    max-width: 27px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
}

@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-call,
    .btn-zalo, 
    .btn-mess {
        right: 15px;
    }

    .video-wrap {
        height: 250px;
    }

    #button-contact-vr {
        left: 15px;
        bottom: 15px;
    }

    .detail-body iframe {
        display: block;
        margin: 0 auto;
        width: 100% !important;
    }
}

@keyframes phone-vr-circle-fill { 
    0% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }
    10% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
    }
    20% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg);
    }
    30% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
    }
    40% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg);
    }
    50% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }
    100% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }
}

@keyframes zoom {
    0% {
        transform: scale(.9);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px transparent;
    }
    100% {
        transform: scale(.9);
        box-shadow: 0 0 0 0 transparent;
    }
}

.news-item .news-img img {
    width: 100%;
}

.news-item.--flex-item {
    border: 0;
}

@media (min-width: 1200px) {
    .news-item .news-body {
        padding: 15px 15px 15px 20px;
    }

    .news-item .news-title {
        font-size: 18px;
    }

    .news-item.--flex-item .desc {
        font-size: 16px;
    }
}