@import url(../../Assets/css/switch.css);

:root {
	--hinh-anh-chuot: default;
	--hien-thi-duong-lich: unset;
	--hien-thi-am-lich: none;
    --mau-nen-chuan: lightblue;
    --mau-nut-su-dung: lightgreen;
    --mau-nut-khoa: lightgray;
    --opacity-front-buttons: 1;
}

.main-background {
    background-image: url(../img/back_image.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.main-logo {
    background-image: url(../../Assets/img/logo.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.map-container {
    overflow-y: scroll !important;
    background-image: url(../img/background.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}
.map-container::-webkit-scrollbar {
    width: 6px;
    background-color:  #e5e5e5; }
    .map-container::-webkit-scrollbar-thumb {
        background-color: #38386c;
        border-radius: 3px; }

.tuvi-battu {
    width: 100%;
    justify-content: center;
    display: flex;
}
    .tuvi-battu__lopchinh {
        width: 100%;
        position: absolute;
        z-index: 3;
    }
    .tuvi-battu__chonlua {
        width: 100%;
        position: absolute;
        z-index: 1;
        opacity: 0;
    }
    .zoom-element { 
        transition: transform 0.5s;
    }


.space-between {
    height: 0.5rem;
    width: 20%; }

.sidebar-buttons__item {
    opacity: var(--opacity-front-buttons);}
    .sidebar-buttons__item:hover {
        opacity: 1; }
    .sidebar-buttons__item:checked {
        opacity: 1; 
        animation: cssHiding 0s ease-in 0.5s forwards;}
    @keyframes cssHiding { to { opacity: 0.1; } }

    .sidebar-panel__end-btn {
        cursor: pointer;
        position: absolute;
        top: 8px;
        right: 15px;
        display: block;
        width: 18px;
        height: 18px;
        padding: 0;
        color: #fff;
        text-decoration: none; }
        .sidebar-panel__end-btn svg {
          display: block;
          width: 17px;
          height: 17px; }
        .sidebar-panel__end-btn:hover {
          color: #fff; }


.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: var(--mau-nut-khoa);
}

.using-status {
    background-color: var(--mau-nut-su-dung);
}

.hiding-status {
    display: none;
}

.clDauVao { text-align: center; }

.map-search {
    right: 60px !important;
    z-index: 8 !important; }
    @media (max-width: 767px) {
        .map-search {
            right: 61px !important; } }

.pin-info { width: auto !important;}

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

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

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

input[type="datetime-local"]: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; }

.analysis-modal {
    display: flex;
    flex-flow: row wrap;
    height: 100%; }
    @media (max-width: 767px) {
    .analysis-modal {
        display: block; } }
    .analysis-modal__image {
    width: 40%;
    background-image: url(../../Assets/img/bg_guideline.png);
    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; } }

@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;
    }
}

.selecting {
    position: relative; }
    .selecting__input {
        height: fit-content !important;
        padding: 3.5px !important;
        text-align: center;
        -webkit-appearance: none; 
            -moz-appearance: none; 
                appearance: none; 
                
        display: block;
        width: 73% !important;
        padding: 4px 10px 3px;
        padding-right: 40px;
        color: #363636;
        background-color: #e5e5e5;
        border: 0;
        border-radius: 0;
        font-size: 14px;
        font-weight: normal;
        font-style: italic;
        line-height: 18px; }
        .selecting__input::-webkit-inner-spin-button, .selecting__input::-webkit-outer-spin-button {
            -webkit-appearance: none; }
        .selecting__input:focus {
            outline: 0;
            box-shadow: 0; }
        .selecting__btn {
            position: absolute;
            top: 0;
            right: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 30px;
            height: 12px;
            padding: 0;
            color: #363636;
            background-color: #fa6f15;
            border: 0;
            transition: color .15s ease; }
        .selecting__btn--minus {
            top: auto;
            bottom: 0; }
        .selecting__btn:hover {
            color: #fff; }
        .selecting__icon {
            display: block;
            width: 10px;
            height: 6px; }

.chu-thich-nhanh {
    user-select: none;
    position: fixed;
    z-index: 10;
    bottom: 1px;
    opacity: 0.95;
    font-family: 'Arial';
    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; 
}

.selection-list {
    cursor: pointer;
    padding-left: 10px;
    width: 100%;
}

.selection-list:hover { background-color:cornflowerblue }

@media screen and (max-width: 600px) {
    .zoom-buttons,.toggle-full-button { display: none; }
    .sidebar-buttons { opacity: 0.3;}
    .sidebar-buttons:hover { opacity: 1;}
    .main-content:hover :not(.main-sidebar:hover) > .sidebar-buttons { opacity: 0; }
}

/* Mobile browsers only */
@media only screen and (max-device-width: 480px) {      
    .main {
        -webkit-text-size-adjust:100%; 
        -moz-text-size-adjust:100%; 
        -ms-text-size-adjust:100%;
    }
}

:root {
    --main-zoom-screen-height:100vh;
}

body {padding: 0; margin: 0;}

.zoom-buttons {
    user-select: none;
    z-index: 10; 
    position: absolute; 
    right: 11px; 
    bottom: 22px; 
    opacity: 0.3;    }
    .zoom-buttons:hover { opacity: 1; }
    .zoom-buttons__content {
        box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px; 
        border-radius: 2px; cursor: pointer; 
        background-color: rgb(255, 255, 255);
        width: 40px; 
        height: 81px;
    }
    .zoom-buttons__separate {
        position: relative; 
        overflow: hidden; 
        width: 30px; 
        height: 1px; 
        margin: 0px 5px; 
        background-color: rgb(230, 230, 230); 
        top: 0px;
    }
    .zoom-buttons__btn {
        background: none; 
        display: block; 
        border: 0px; 
        margin: 0px; 
        padding: 0px; 
        text-transform: none; 
        appearance: none; 
        position: relative; 
        cursor: pointer; 
        overflow: hidden; 
        width: 40px; 
        height: 40px; 
        top: 0px; 
        left: 0px;  }
        .zoom-buttons__btn img {  height: 18px; width: 18px; }
        .zoom-buttons__btn .img-top { display: none; }
        .zoom-buttons__btn:hover .img-top { display: inline; }
        .zoom-buttons__btn:hover .img-bot { display: none; }

.toggle-full-button {
    z-index: 10;
    background: none rgb(255, 255, 255);
    border: 0px; 
    margin: 10px; 
    padding: 0px; 
    text-transform: none; 
    appearance: none; 
    position: absolute; 
    cursor: pointer; 
    user-select: none; 
    border-radius: 2px; 
    height: 40px; 
    width: 40px; 
    box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px; 
    overflow: hidden; 
    top: 0px; 
    right: 0px;    
    opacity: 0.3;    }
    .toggle-full-button:hover { opacity: 1; }
.toggle-full-button img {
    box-sizing:content-box;
    display:none;
    left:50%;
    pointer-events:none;
    position:absolute;top:50%;
    transform:translate(-50%,-50%)
}
.toggle-full-button>img:nth-child(1){display:block}
.toggle-full-button:focus>img:nth-child(1),.toggle-full-button:hover>img:nth-child(1),.toggle-full-button:active>img:nth-child(1),.toggle-full-button:disabled>img:nth-child(1){display:none}
.toggle-full-button:focus>img:nth-child(2),.toggle-full-button:hover>img:nth-child(2){display:block}
.toggle-full-button:active>img:nth-child(3){display:block}
.toggle-full-button:disabled>img:nth-child(4){display:block}

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

.maxwid-when-zoom.maxwid-status {
    width: 100% !important;
}

.maxwid-when-zoom {
    transition: width 0.3s;
}

.minhei-when-zoom.minhei-status {
    height: 0px !important;
}

.minhei-when-zoom {
    transition: height 0.3s;
}

.sidebar-row__item.selecting__input {
    text-align-last: center;
}

.main-zoom-screen {
    height: var(--main-zoom-screen-height) !important;
}