﻿
html {
    height: 102%; /* always keep a scrollbar */
}

body {
    background: #fcf6f6;
}
#Frame{margin:5px;}
.container {
    background: #fff;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 8px 12px;
}
.nav.nav-tabs {
    border: none; margin-left:80px;
}
li.active a{border-bottom:2px solid #000 !important;}
.nav a {
    color: #000 !important;
    background: none !important;
    border: none !important; outline:none;
}
ul.nav {
    margin-bottom: 0 !important;
}
.ribbon {
    height: 80px;
    background: #fff;
    border-radius: 6px;
    box-shadow: -2px 3px 7px -2px #ccc;
    margin: 3px auto;
    display: flex;
    justify-content: center;
}
.zoneWork {
    background: #fff;
     padding:28px;
    margin: 7px auto;
    min-height: 1000px;
}
.icon div {
    width: 100%;
    font-size: 12px;
    position: absolute;
    bottom: 7px;
}
.ribbon img {
    width: 38px;
}
h4{color:red;}
.ribbon .icon {
    width: 110px;
    height: 80px;
    padding: 6px;
    position: relative;
    text-align: center; cursor:pointer;
}
.zoneUL li {
    min-height: 34px;
    line-height: 34px;
    background: #f9f9f9;
    border-top: 1px solid #ccc;
    margin-bottom: 1px solid #fff;
    padding: 0 14px;
    cursor: pointer;
}
.zone li.active {
    background: #a3d8ae !important;
}
.smonitor {
    background: #24c44c;
    border-radius: 3px;
    padding: 5px 8px;
    font-size: 13px;
    color: white;
}
.zoneUL {
    padding-left: 0;
    list-style: none;
    margin: 18px auto;
}
.zoneFilter{margin-bottom:10px; border:1px solid #ccc; padding:20px; border-radius:4px;}
.icon.active {
    background: #f7f7f7;
    font-weight: bold;
}
.zoneWork .zone, .monitorgroup {
    display: none;
}
    .monitorgroup.active {
    display:block;
    }

    #logo {
        color: red;
        position: fixed;
        left: 11px;
        top: 0;
        height: 59px;
        padding: 15px;
    }
.dropdown li {
    padding: 7px;
}
#box-top {
    width: 90%;
    display: flex;
    margin: 0px auto;
    flex-direction: column;
    padding-top: 5px; margin-left:60px;
}
.fa.fa-caret-right {
    padding: 9px 5px;
}
.fas.fa-folder {
    padding: 6px 4px;
}
.dropdown li {
    padding: 0 0 0 11px;
    height: 35px;
    line-height: 34px;
    cursor: pointer;
}

li:hover {
    background: #f9f9f9;
}
#popup {
    background: #fff;
    border: 1px solid #a3d8ae;
    border-radius: 10px;
    min-width: 360px;
    color: #333;
    padding: 20px;
}

#popup-closer {
    color: #3f403f;
    position: absolute;
    right: 5px;
    text-decoration: none;
    top: 2px;
    font-size: 15px;
    font-weight: bold;
    margin: 2px;
}

#popup .fright {
    float: right;
}

#popup .detail {
    color: green;
    cursor: pointer;
}

#popup-closer::before {
    content: "\f00d";
    font-family: "Font Awesome 5 Free";
    color: #555;
}

    #popup-closer::before:hover {
        color: #333;
    }

#detailPanel {
    display: none;
    position: absolute;
    z-index: 9;
    right: 20px;
    top: 70px;
    background: #fff;
    border: 1px solid #f9f9f9;
    border-radius: 5px;
    width: 300px;
    overflow: auto;
}

    #detailPanel .title {
        background: #06a806;
        color: #fff;
        font-weight: 600;
        padding:10px;
    }

    #detailPanel .detailClose {
        color: #555;
        float: right;
    }
    #detailPanel p{
        line-height: 28px;
        padding-left :15px;
    }
    #detailPanel .slabel {
        font-weight:600;
    }
        #detailPanel .detailClose:hover {
            color: #333;
        }

.far, .fas {
    font-size: 20px;
    padding-right: 10px;
}

button {
    background: none;
    border: none;
    padding: 10px;
}

svg:hover, svg:focus {
    fill: #DA4567;
}

#top {
    display: flex;
    position: absolute;
    height: 65px;
    top: 0;
    width: 100%;
    border-bottom: 1px solid #ddd;
    background: linear-gradient(180deg, rgba(90,85,189,1) 0%, rgba(255,255,255,1) 0%, rgba(245,245,245,1) 95%);
}

#box-top1 {
    font-size: 19px;
    color: #000;
}
#box-top2 {
    display: flex;
    height: 30px;
    line-height: 7px;
}
#cboGoogle li {
    height: 33px;
    padding: 8px;
}

#box-search {
    width: 55%;
    display: inline-flex;
    padding: 13px;
    background: #f9f9f9;
    margin: 7px auto;
    border-radius: 4px;
}

#treefolder p {
    margin: 0 auto;
    display: flex;
    width: 100%;
    line-height: 29px;
}

.myicon {
    background: url('css/icons.png') no-repeat;
}

.c1 p, .c2 p {
    line-height: 34px !important;
}

.icon-folder {
    background-position: 0 0;
    padding: 6px 20px;
}
.far.fa-dot-circle, .far.fa-circle {
    padding: 8px;
    font-size: 17px;
}
.icon-survey {
    background-position: 0 -344px;
    padding: 6px 20px;
}

.icon-news {
    background-position: 0 -582px;
    padding: 6px 20px;
}

.icon-table {
    background-position: 0 -286px;
    padding: 6px 20px;
}

.icon-style {
    background-position: 0 -237px;
    padding: 6px 20px;
}

.icon-map {
    background-position: 0 -441px;
    padding: 3px 20px;
}

#box-search li {
    height: 50px;
}

    #box-search li a {
        padding-left: 14px;
        font-size: 13px;
        height: 50px;
        padding: 14px;
    }

li img {
    width: 20px;
    margin-right: 7px;
    height: 20px;
}

#box-search button, #box-search input {
    background: no-repeat;
    border: none;
    box-shadow: none;
}

#box-search button {
    height: 34px;
    width: 34px;
    padding: 5px;
    margin: -5px auto;
}

#box-suggest {
    width: 90%;
}

#ip-search {
    margin: -6px auto;
    font-size: 20px;
}

#box-suggest ul {
    width: 100%;
    margin-top: 14px;
    border-radius: 0;
}

#topright {
    width: 80%;
    display: block;
    padding: 20px;
    text-align: right;
}
.td_doituongnc{cursor:pointer; text-align:center;}
#topright a, .a-svg {
    cursor: pointer;
    padding: 8px;
    margin: -8px auto;
    width: 40px;
    height: 40px;
    display: flex;
    float: left;
}

    #topright > div {
        width: auto;
        float: right;
        display: inline-flex;
        justify-content: flex-end;
        padding: 10px;
        margin: -10px 12px 0 0;
        cursor: pointer;
    }

    #topright a:hover, .a-svg:hover, .wrap:hover svg {
        border-radius: 50%;
        background-color: rgba(60,64,67,0.08);
    }

#pagebody {
    position: fixed;
    top: 65px;
    width: 100%;
    height: 100%;
    display: inline-flex;
}

#leftpanel {
    height: 100%;
    width: 30%;
}

#rightpanel {
    height: 100%;
    width: 70%;
    border-left: 1px solid #ddd;
}

#treefolder p svg {
    margin: 4px 6px 0 0;
}

.pop-items {
    display: none;
}

    .pop-items.active {
        display: block;
    }

#btnNew {
    border: 1px solid #ddd;
    margin: 5px 0 0 20px;
    border-radius: 24px;
    padding: 10px 32px;
    background: #f7f7f7;
}

.boxleft {
    height: 45px;
}

.btLeft {
    height: 47px;
    display: flex;
    width: 100%;
    padding-left: 5px;
    line-height: 24px;
}


#treefolder {
    height: auto;
    overflow: auto;
}

    #treefolder .c1 {
        padding-left: 0;
    }

    #treefolder .c2 {
        padding-left: 22px;
    }

    #treefolder .c3 {
        padding-left: 50px;
    }
#sEditStyle {
    position: absolute;
    right: 15px;
}
    #treefolder .c4 {
        padding-left: 128px;
    }

    #treefolder .active {
        background-color: #e8f0fe;
        border-radius: 0 20px 20px 0;
        margin-right: 23px;
        color: #1967d2;
        font-weight: bold;
    }

    #treefolder div {
        height: auto;
        padding: 1px 6px;
        line-height: 25px;
    }

    #treeFolder p {
        margin: 0 auto;
        width: 100%;
        display: flex;
        line-height: 24px;
    }
.far.fa-square, .far.fa-check-square {
    padding: 6px;
    font-size: 17px;
}
.wrap {
    display: flex;
    line-height: 19px;
    padding: 15px;
    width: 88px;
    position: relative;
}

    .wrap svg {
        position: absolute;
        right: -10px;
        padding: 11px;
        height: 40px;
        width: 40px;
        top: 4px;
    }

#box-new ul {
    margin-top: -46px;
    margin-left: 20px;
    width: 226px;
}

#modalSharing .modal-content {
    border-radius: 0;
    padding: 14px;
}

#modalSharing tr {
    height: 50px;
}

    #modalSharing tr td:nth-child(1) {
        width: 70%;
    }

    #modalSharing tr td:nth-child(2) {
        display: flex;
        justify-content: flex-end;
    }

#modalSharing table {
    border-bottom: 1px solid #ddd;
}

#modalSharing h2 {
    margin: 0 auto;
    font-size: 20px;
    padding-bottom: 20px;
}

.dSharing .editSharing {
    margin-right: 1px;
    padding: 5px 12px;
    background: no-repeat url(css/sprites.svg) center -267px;
    color: #ccc;
    opacity: 0.5;
}

    .dSharing .editSharing:hover {
        opacity: 1;
    }

.editSharing i {
    float: right;
}

.dSharing button, .sCloseSharing, .btNormal {
    border: 1px solid #fff;
    padding: 3px 10px;
    margin-right: 5px;
}

    .btNormal.active, .btNormal:hover {
        border: 1px solid #3079ed;
        color: white;
        background: #4d90fe;
    }

    .dSharing:hover button, .sCloseSharing:hover {
        border: 1px solid #ccc;
    }

    .sCloseSharing i {
        padding: 2px;
        color: #bbb;
    }

#inviteSharing {
    display: flex;
}

#boxSharing {
    padding: 15px;
    height: 120px;
    background: #f8f8f8;
}

#contextMenu li {
    padding: 8px 8px 8px 13px;
    cursor: pointer;
    display: flex;
}

.cmenu-settingPopup svg {
    width: 14px;
    margin-top: 1px;
    margin-right: 11px;
}

#contextMenu li:hover {
    background-color: #f9f9f9;
}

#contextMenu {
    width: 235px;
}

.cmenu-addlayers ul ,.cmenu-newgroup ul {
    position: absolute;
    right: -211px;
    background: #fff;
    list-style: none;
    border: 1px solid #ddd;
    top: 41px;
    padding: 0;
    display: none;
    width: 210px;
    height: 168px;
}

.cmenu-addlayers:hover ul,.cmenu-newgroup:hover ul {
    display: block;
}

div[unit="basemap"] p svg {
    margin-top: 4px;
    margin-right: 7px;
    margin-left: 5px;
}

    div[unit="basemap"] p svg:nth-child(2) {
        margin-top: 2px;
    }

#settingLayer label {
    padding: 8px 1px 4px 0;
    font-weight: bold;
}

.sv-inline {
    display: inline-flex;
    border: 1px solid #ddd;
    margin: 0 auto !important;
    width: 100%;
}

    .sv-inline input {
        border-radius: 0px;
        border: none;
        box-shadow: none;
        padding-left: 5px;
    }

    .sv-inline button {
        background: #fff;
        border: none;
        border-left-color: currentcolor;
        border-left-style: none;
        border-left-width: medium;
        border-left: 1px solid #ddd;
        padding: 5px 11px;
        cursor: pointer;
        margin-left: -1px;
    }

li:hover {
    background-color: #f9f9f9;
    cursor: pointer;
}

#modalSetting .map-items {
    display: none;
    width: 100%;
}

#modalSetting[cmenu="cmenu-newgroup"] #newgroup {
    display: block;
}

#modalSetting[cmenu="cmenu-rename"] #rename {
    display: block;
}

#modalSetting[cmenu="cmenu-dataSource"] #dataSource {
    display: block;
}

#modalSetting[cmenu="cmenu-remove"] #remove {
    display: block;
}

#modalSetting[cmenu="mapsetting"] #mapsetting {
    display: block;
}

#modalSetting[cmenu="cmenu-settingPopup"] #popupsetting {
    display: block;
    min-height: 380px;
}

#modalSetting[cmenu="cmenu-settingFilter"] #filtersetting {
    display: block;
    min-height: 380px;
}

#modalSetting[cmenu="cmenu-settingLayer"] #settingLayer {
    display: block;
}

#modalSetting[cmenu="cmenu-remove"] .modal-dialog,
#modalSetting[cmenu="cmenu-rename"] .modal-dialog,
#modalSetting[cmenu="cmenu-newgroup"] .modal-dialog {
    width: 300px;
}

#modalSetting[cmenu="cmenu-settingPopup"] .modal-dialog, #modalSetting[cmenu="cmenu-settingFilter"] .modal-dialog {
    width: 70%;
}


#cboSuggestDataSource .dropdown-menu {
    width: 100%;
}

#cboSuggestDataSource li {
    height: 39px;
    line-height: 30px;
    padding: 5px 0 5px 21px;
    font-size: 15px;
}

#poptable, #filtertable {
    height: 330px;
    max-height: 330px;
    overflow-y: scroll;
    overflow-x: hidden;
}

    #poptable input, #filtertable input {
        background: none;
        border: none;
        width: 100%;
        height: 100%;
        padding: 0;
    }

#popMove, #filterMove {
    float: right;
}

#popupsetting ul, #filtersetting ul {
    padding-left: 0;
    overflow: hidden scroll;
}

#popupsetting ul {
    height: 326px;
}

#filtersetting ul {
    margin-top: 12px;
    height: 365px;
}

#ulFilterOut {
    height: 288px !important;
}

#popupsetting li, #filtersetting li {
    list-style: none;
    height: 35px;
    line-height: 34px;
    border-bottom: 1px solid #ddd;
}

.popbuttons {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
}

.pop-items label {
    width: 100%;
    padding: 6px;
    margin-bottom: 0;
    border-bottom: 1px solid #ccc;
    margin-top: 9px;
}

.popbuttons button {
    width: 30%;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 24px;
    height: 30px;
    line-height: 0px;
    margin-top: -10px;
}

.UI-SUGGEST ul {
    width: 100%;
    max-height: 300px;
    overflow: hidden scroll;
}

.UI-SUGGEST li {
    height: 39px !important;
    padding: 9px 17px;
    font-size: 15px;
    line-height: 22px !important;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.popbuttons button.active {
    color: #000;
    background-color: lemonchiffon;
}

#popupsetting li i, #filtersetting li i {
    float: right;
    padding: 7px;
}

.lbthongtin {
    width: 40%;
    display: flex;
    line-height: 23px;
    height: 30px;
    padding: 5px;
}

.selected {
    background-color: #f9f9f9;
}

#poptable tbody i, #filtertable tbody i {
    display: none;
}

.selected i {
    display: block !important;
}

.modal-header {
    border: none;
}

#modalSetting .modal-body {
    width: 100%;
    display: flex;
    border-top: 1px solid #ddd;
    padding: 5px;
}

#settingLayer .UI-DROP button {
    background: none;
    border: none;
    width: 100%;
    height: 39px;
    padding: 0 0 0 9px;
    border: 1px solid #ddd;
    line-height: 34px;
    text-align: left;
}

#settingLayer .UI-DROP i {
    float: right;
    padding: 10px 10px;
    border-left: 1px solid #ddd;
}

#settingLayer .UI-DROP li i {
    float: unset;
}

#settingLayer .UI-DROP {
    width: 100%;
    padding: 0;
}

    #settingLayer .UI-DROP ul {
        width: 100%;
    }

#mapsetting .col-sm-8, #mapsetting .col-sm-4, #mapsetting .col-sm-12 {
    padding: 2px 5px;
}

#mapsetting label {
    font-weight: normal;
}

i.right {
    float: right;
    color: #666;
    padding: 3px;
    position: absolute;
    right: 7px;
}

i.left {
    float: left;
    padding: 3px;
    margin-right: 8px;
}
