@import url(switch.css);

:root {
    --chieu-rong-aside: 165px;
    --chieu-cao-thuoc-do: 30px;
    --chieu-cao-kien-giai: 50%;
    --chieu-cao-cua-so: 100%;
    --mau-nen-chuan: lightblue;
    --mau-nen-navigator: green;
    --mau-chu-navigator: yellow;
    --mau-nen-ruler: none;
    --mau-net-ve-chuan: blue;
    --chuyen-dong-la-kinh: 0;
    --chuyen-dong-an-huy: 0;
    --chuyen-dong-toa-huong: rotate(90deg);
    --chuyen-dong-lap-huong: rotate(90deg);
    --chuyen-dong-cuu-cung: 0;
    --chuyen-dong-thuoc-tren: 0;
    --chuyen-dong-thuoc-duoi: 0;
    --chuyen-dong-doc-xuong: rotate(-22.5deg);
    --chuyen-dong-doc-len: rotate(22.5deg);
    --chuyen-dong-cheo-xuong: rotate(22.5deg);
    --chuyen-dong-cheo-len: rotate(-22.5deg);
    --chuyen-dong-sa-hinh: 0;
    --an-hien-thong-tin: none;
    --an-hien-lap-huong: none;
    --an-hien-sa-hinh: none;
    --opacity-la-kinh:1;
    --opacity-toa-huong:1;
    --opacity-ban-do:1;
    --z-index-ban-ve:0;
    --z-index-ban-do:1;
    --ty-le-width-toa-huong:100%;
    --ty-le-width-la-kinh:100%;
    --ty-le-width-sa-ban:100%;
    --ty-le-width-button-lap-huong:67%;
    --max-width-setting: 425px;
    --hinh-anh-chuot: default;
}

.vung-trung-tam {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    align-items: center;
    justify-content: center;
    display: flex;
}

.vung-trung-tam__la-kinh {
    pointer-events: none;
}

.vung-trung-tam__sa-ban {
    z-index: auto;
}

.vung-trung-tam__map { 
    opacity: var(--opacity-ban-do);
    z-index: var(--z-index-ban-do) !important;
}

    .cv-ve-hinh {
        width: var(--ty-le-width-la-kinh);
        border-radius: 50%;
        border: 0;
        position: absolute;
        overflow: hidden;
    }
        .cv-ve-hinh__la-kinh {
            transform: var(--chuyen-dong-la-kinh);
            opacity: var(--opacity-la-kinh);
        }
        .cv-ve-hinh__an-huy {
            transform: var(--chuyen-dong-an-huy);
            opacity: var(--opacity-la-kinh);
        }
        .cv-ve-hinh__cuu-cung {
            transform: var(--chuyen-dong-la-kinh);
            opacity: var(--opacity-la-kinh);
        }
        .cv-ve-hinh__la-kinh--z2 {
            z-index: 2;
            opacity: calc(0.3 * var(--opacity-la-kinh)) !important;
        }
        .cv-ve-hinh__la-kinh--z3, .cv-ve-hinh__an-huy--z3 {
            z-index: 3;
        }
        .cv-ve-hinh__cuu-cung--z5 {
            z-index: 5;
        }

    .cv-ve-huong {
        width: var(--ty-le-width-toa-huong);
        border: 0;
        position: absolute;
        overflow: hidden;
    }
        .cv-ve-huong__toa-huong {
            transform: var(--chuyen-dong-toa-huong);
            opacity: var(--opacity-toa-huong);
        }
        .cv-ve-huong__lap-huong {
            transform: var(--chuyen-dong-lap-huong);
            opacity: var(--opacity-toa-huong);
        }
        .cv-ve-huong__toa-huong--z6 {
            z-index: 6;
        }
        .cv-ve-huong__lap-huong--z6 {
            z-index: 6;
            display: var(--an-hien-lap-huong);
        }

    .cv-ve-song--z5 {
        border-radius: 50%;
        border: 0;
        position: absolute;
        overflow: hidden;
        z-index: 5;
        width: var(--ty-le-width-sa-ban);
        transform: var(--chuyen-dong-cuu-cung);
    }

    .thuoc-do {
        height: var(--chieu-cao-thuoc-do);
        width: 100%;
        align-items: center;
        justify-content: center;
        display: flex;
    }
        .thuoc-do__tren {
            top: 10px;
            position: absolute;
        }
        .thuoc-do__duoi {
            top: calc(100% - 10px - var(--chieu-cao-thuoc-do));
            position: absolute;
        }
        .cv-thuoc-tren, .cv-thuoc-duoi {
            height: 100%;
            position: absolute;
        }
            .cv-thuoc-tren__net {
                transform: var(--chuyen-dong-thuoc-tren);
                z-index: 10;
            }
            .cv-thuoc-tren__mau {
                transform: var(--chuyen-dong-thuoc-tren);
                opacity: 0.4 !important;
                z-index: 9;
            }
            .cv-thuoc-duoi__net {
                transform: var(--chuyen-dong-thuoc-duoi);
                z-index: 10;
            }
            .cv-thuoc-duoi__mau {
                transform: var(--chuyen-dong-thuoc-duoi);
                opacity: 0.4 !important;
                z-index: 9;
            }

.vertical-line {
    height: 100%;
    width: 2px;
    background-color: red;
    position: absolute;
    z-index: 9;
}

.huong-sa-hinh {
    background-color: var(--mau-net-ve-chuan);
    opacity: calc(0.3 * var(--opacity-toa-huong)) !important;
    position: absolute;
    height: 1px;
    width: 100vw;
    margin-top: 0px;
    transform: var(--chuyen-dong-sa-hinh);
    z-index: 6;
    display: var(--an-hien-sa-hinh);
}

/* ====================================== 4 ĐƯỜNG PHÂN CUNG ================================================= */

.chia-cung {
    background-color: var(--mau-net-ve-chuan);
    opacity: calc(0.3 * var(--opacity-toa-huong)) !important;
    position: absolute;
    z-index: 2;
}

.chia-cung__doc {
    height: 1px;
    width: 100vw;
    margin-top: 0px;
}
    .chia-cung__doc--xuong { transform: var(--chuyen-dong-cheo-xuong);  }
    .chia-cung__doc--len {  transform: var(--chuyen-dong-cheo-len);  }

.chia-cung__ngang {
    height: 100vw;
    width: 1px;
    margin-left: 0px;
}
    .chia-cung__ngang--xuong { transform: var(--chuyen-dong-doc-xuong); }
    .chia-cung__ngang--len{ transform: var(--chuyen-dong-doc-len);  }

/*  =============================== CHÚ THÍCH, SCROLL ĐỘ RÕ NÉT ============================================= */


.scroll-for-show {
    display:block;
    position: relative;
    right: 0px;
    height: 33.3%;
    overflow-x:hidden;
    overflow-y:scroll;
}

@media all and (max-width: 648px) {
    .scroll-for-show {
        height: 32%;
    }
}

.chu-thich-nhanh {
    position: absolute;
    z-index: 10;
    bottom: 1px;
    background-color: var(--mau-nen-chuan);
}

.luan-giai-nhanh {
    z-index: 10 !important;
    left: 50%;
    top: 50%;
}

.cv-doi-chieu {
    z-index: 0;
    opacity: 0;
    width: 100%;
    position: absolute;
    overflow: hidden; 
}

.pin-info .pin-info__heading {
    text-align: left;
}
.pin-info .pin-info__content {
    text-align: justify;
}

.pin-info__remove {
    cursor: pointer;
    position: absolute;
    top: 5px;
    right: 15px;
    display: block;
    width: 5px;
    height: 5px;
    padding: 0;
    color: #fff;
    text-decoration: none; }
    .pin-info__remove svg {
      display: block;
      width: 15px;
      height: 15px; }
    .pin-info__remove:hover {
      color: #fff; }

.locking-status:not(.no-locking), .locking-status:not(.no-locking):hover {
    background-color: lightgray;
}

.using-status {
    background-color: lightgreen;
}

.hiding-status, .off-status {
    display: none;
}

.map-search__input-inline {
    width: 100%;
    padding: 6px 30px;
    margin-left: 2px;
    margin-right: 2px;
    color: #363636;
    background-color: #e5e5e5;
    border: 0;
    font-size: 14px;
    font-weight: normal;
    font-style: italic;
    line-height: 18px;
    background-image: url("../img/search_icon.svg");
    background-repeat: no-repeat;
    background-position: 10px 9px;
    background-size: 12px 12px; }
    .map-search__input-inline::-moz-placeholder {
        color: #363636; }
    .map-search__input-inline:-ms-input-placeholder {
        color: #363636; }
    .map-search__input-inline::placeholder {
        color: #363636; }
    .map-search__input-inline:focus {
        outline: 0;
        box-shadow: none; }

.anh-phong-thuy {
    border-radius: 25%;
}

.account-control__cungphi {
    margin: 5px 0 0;
    color: #085797;
    font-size: 14px;
    font-style: italic;
    line-height: 18px; }


input[type="date"]::-webkit-calendar-picker-indicator {
    color: transparent;
    background: none;
    cursor: pointer;
}

input[type="date"]:hover ~ .account-calendar__btn {
    color: #fa6f15;
}

.account-calendar__btn {
    pointer-events: none;
}

.account-consumer {
    position: relative; }
    .account-consumer__btn {
      position: absolute;
      top: 4px;
      right: 8px;
      display: block;
      padding: 0;
      color: #363636;
      background-color: transparent;
      border: 0;
      transition: color .15s ease; }
      .account-consumer__btn svg {
        display: block;
        width: 18px;
        height: 18px; }
      .account-consumer__btn:hover {
        color: #fa6f15; }
    .account-consumer .form-control[disabled] ~ .account-consumer__btn {
      display: none; }

@media (max-width: 768px) {
    .tooltip {
        -moz-animation: cssAnimation 0s ease-in 0.5s forwards;
        -webkit-animation: cssAnimation 0s ease-in 0.5s forwards;
        -o-animation: cssAnimation 0s ease-in 0.5s forwards;
        animation: cssAnimation 0s ease-in 0.5s forwards;
        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;
    }
}

@keyframes cssAnimation {
    to {
        width:0;
        height:0;
        overflow: hidden;
    }
}
@-webkit-keyframes cssAnimation {
    to {
        width:0;
        height:0;
        visibility: hidden;
    }
}

.analysis-modal {
    display: flex;
    flex-flow: row wrap;
    height: 100%; }
    @media (max-width: 767px) {
    .analysis-modal {
        display: block; } }
    .analysis-modal__image {
    width: 40%;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 100%; }
    @media (max-width: 767px) {
        .analysis-modal__image {
        width: 100%;
        display: none; } }
    .analysis-modal__content {
    width: 60%;
    padding: 70px 15px 60px 30px; }
    @media (max-width: 767px) {
        .analysis-modal__content {
        width: 100%;
        height: 100%;
        padding: 74px 15px 30px; } }
    .analysis-modal__heading {
    margin: 0 0 33px;
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase; }
    @media (max-width: 767px) {
        .analysis-modal__heading {
        margin: 0 0 20px;
        color: #fff;
        text-align: center; } }
    .analysis-modal__text {
        text-align: justify;
        margin: 0 0 20px;
        padding-right: 45px;
        max-height: 325px;
        font-size: 14px;
        font-weight: 300;
        line-height: 20px;
        overflow-x: hidden;
        overflow-y: scroll; }
    @media (max-width: 767px) {
        .analysis-modal__text {
        color: #fff;
        margin: 0;
        max-height: calc(100% - 52px); } }
    .analysis-modal__text::-webkit-scrollbar {
        width: 6px;
        background-color: transparent; }
    .analysis-modal__text::-webkit-scrollbar-thumb {
        background-color: #e5e5e5;
        border-radius: 3px; }
    .analysis-modal__next-mobile {
    display: none; }
    @media (max-width: 767px) {
        .analysis-modal__next-mobile {
        position: absolute;
        top: 10px;
        right: 8px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 8px 13px;
        color: #fff;
        background-color: transparent;
        border: 0; }
        .analysis-modal__next-mobile svg {
            display: block;
            width: 10px;
            height: 20px; } }
    .analysis-modal .form-button {
    justify-content: flex-start; }
    @media (max-width: 767px) {
        .analysis-modal .form-button {
        display: none; } }
    .analysis-modal .form-button__btn {
        margin: 0 10px 0 0; }
        .analysis-modal .form-button__btn:last-child {
        margin-right: 0; }

@media (max-width: 767px) {
    #analysis-modal {
    background-color: rgba(0, 0, 0, 0.2); }
    #analysis-modal .modal-dialog {
        transform: none !important; }
    #analysis-modal .modal-content {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
        background-color: transparent; }
    #analysis-modal .account-modal__close {
        display: block;
        top: 10px;
        left: 8px;
        color: #fff;
        background-color: transparent; } }