﻿.tenMap {
    position: absolute;
    width: auto;
    height: 45px;
    top: 8px;
    left: 300px;
    padding-top: 3px;
    padding-left: 13px;
    /*background-color: white;*/
    z-index: 1;
    /*display: none;*/
}
#mapName {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    font-size: 18px;
    font-weight: 600;
    color: forestgreen;
    padding: 7px 7px 10px 7px;
    background-color: white;
}

#mySearch {
    width: 100%;
    font-size: 14px;
    padding: 5px;
    border: 1px solid #ddd;
}
/* hiển thị kết quả tìm kiếm full text */
#ketqua {
    list-style-type: none;
    padding: 0;
    margin: 0;
    height: calc(100% - 40px);
    overflow-y: auto;
	 -webkit-overflow-scrolling: touch;
}

    #ketqua li a {
        padding: 12px;
        text-decoration: none;
        color: black;
        display: block
    }
        #ketqua li a:hover {
            background-color: #eee;
        }
/*PC
@media screen and (min-width: 600px), (min-width: 1100px) {
    .tenApp {
        position: absolute;
        width: 380px;
        height: 45px;
        top: 8px;
        left: 8px;
        padding-top: 3px;
        padding-left: 13px;
        background-color: white;
        z-index: 1;
        display: none;
        display: block;
    }
}
Phone
@media screen and (max-width: 300px) {
    .tenApp {
        position: absolute;
        width: 100%;
        height: 45px;
        top: 8px;
        left: 8px;
        padding-top: 3px;
        padding-left: 13px;
        background-color: white;
        z-index: 1;
        display: none;
        display: block;
    }
}*/
.logo {
    position: absolute;
    top: 15px;
    left: 25px;
    z-index: 2;
}

#searchnhanh {
    position: absolute;
    top: 15px;
    left: 55px;
    z-index: 30;
    height: 25px;
    /*display: block;*/
}

.scalebar_bottom-left {
    left: 450px !important;
    bottom: 12px !important;
}
/*Diều chỉnh menu search*/
.arcgisSearch .searchBtn {
    padding: 5px 4px 4px 6px;
    opacity: 1;
}

.arcgisSearch .searchGroup .searchInput {
    height: 17px;
    font-size: 13px;
    width: 257px !important;
}

.arcgisSearch .searchClear {
    height: 28px;
}

.arcgisSearch .searchMenu {
    position: initial;
    font-size: 13px;
}

.arcgisSearch .hasButtonMode.searchExpanded.hasMultipleSources .searchExpandContainer,
.arcgisSearch .hasButtonMode.hasMultipleSources .searchAnimate {
}

/*chiều rộng của search nhanh
@media screen and (min-width: 600px), (min-width: 1100px) {
    .arcgisSearch .searchBtn {
        padding: 5px 4px 4px 6px;
        opacity: 1;
    }
    .arcgisSearch .searchGroup .searchInput {
        height: 17px;
        font-size: 13px;
        width: 257px !important;
    }
    .arcgisSearch .searchClear {
        height: 28px;
    }

    .arcgisSearch .searchMenu {
        position: initial;
        font-size: 13px;
    }

    .arcgisSearch .hasButtonMode.searchExpanded.hasMultipleSources .searchExpandContainer,
    .arcgisSearch .hasButtonMode.hasMultipleSources .searchAnimate {
    }
}
Phone
@media screen and (max-width: 300px) {
    .arcgisSearch .searchBtn {
        padding: 5px 4px 4px 6px;
        opacity: 1;
    }

    .arcgisSearch .searchGroup .searchInput {
        height: 17px;
        font-size: 13px;
        width: 257px !important;
    }

    .arcgisSearch .searchClear {
        height: 28px;
    }

    .arcgisSearch .searchMenu {
        position: initial;
        font-size: 13px;
    }

    .arcgisSearch .hasButtonMode.searchExpanded.hasMultipleSources .searchExpandContainer,
    .arcgisSearch .hasButtonMode.hasMultipleSources .searchAnimate {
    }
   
}*/
/*Diều chỉnh menu search*/

#HomeButton {
    position: absolute;
    bottom: 105px;
    right: 16px;
    z-index: 30; /*cung voi zoom*/
    opacity: 0.7;
    background-color: white;
}

/************************* LOCATION ****************************************/
#map_graphics_layer {
    -webkit-animation-duration: 3s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-name: pulse;
    -moz-animation-duration: 3s;
    -moz-animation-iteration-count: infinite;
    -moz-animation-name: pulse;
}

#LocateButton {
    position: absolute;
    bottom: 143px;
    right: 16px;
    z-index: 30;
}
/*************************END OF LOCATION ***********************************/

/*Điều chỉnh vị trí và làm mờ thanh zoom mặc định trên Map*/
.esriSimpleSliderBR {
    bottom: 35px !important;
    right: 15px !important;
    opacity: 0.4;
    /*background-color: grey;*/
    background-color: #fff;
}

.esriOverviewMap {
    position: absolute;
    z-index: 30;
}

/*button gọi menu chính*/
.mainMenubtn {
    position: absolute;
    top: 16px;
    left: 21px;
    z-index: 2;
    color: green;
}

/*menu chính*/
.menuChinh {
    height: auto;
    width: 0;
    position: fixed;
    z-index: 31; /* zoom của esri là 30 */
    top: 1px;
    left: 1px;
    bottom: 1px;
    background-color: white;
    overflow: auto;
    transition: 0.5s; /* 0.5 second hiệu ứng chuyển */
    opacity: 1;
}
/*Danh mục của menu chính*/
.listMenu {
    list-style-type: none;
    text-decoration: none;
    text-align: left;
    padding: 8px 8px 8px 8px;
    font-size: 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    color: black;
    transition: 0.3s;
}

    .listMenu > li > hr {
        margin: 0 10px 0 10px;
        border-style: solid;
        border-width: .5px;
        border-color: #ccc;
    }
.user {
    width: 100%;
    float: left;
    text-decoration: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    font-size: 18px;
    font-weight: 600;
    color: white;
    padding: 13px 7px 10px 7px;
    background-color: lightseagreen;
}

.closebtn {
    float: right;
    margin: 5px 5px 0 0;
    /*padding-top: 7px;*/
    font-size: 13px;
    color: white;
}

    .closebtn:focus {
        color: gray;
    }

a:link {
    text-decoration: none;
    /*color: #fff;*/
}
/*Điều chỉnh hiển thị mặc định các liên kết a không cho gạch chân*/
.nav > li > a:focus, .nav > li > a:hover {
    text-decoration: none;
}

/*Điều hiển thị tên của các Tab trong tìm kiếm nâng cao*/
.nav-tabs > li {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    font-size: 13px;
    font-weight: 500;
}

    .nav-tabs > li > a {
        left: 5px;
        padding: 4px;
        min-width: 80px;
        text-align: center;
    }


/* Vị trí hiển thị của sub menu so với tiêu đề và trên menu chính*/
.subMenu {
    display: none;
    overflow: hidden;
    height: 100%;
}

/*Tiêu đề của các sub menu*/
.tieudeSubMenu {
    float: left;
    background-color: lightseagreen;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    width: 100%;
    color: #fff;
    height: 35px;
    border: 1px solid #73AD21;
}

    .tieudeSubMenu h5 {
        margin-top: 8px;
        margin-left: 60px;
        font-size: 15px;
    }

    .tieudeSubMenu a {
        color: #ccc;
    }
/*Phím trở về menu chính trên các sub menu*/
.backbtn {
    float: left;
    padding: 8px 0px 0px 10px;
    font-size: 13px;
    color: #fff;
}
/*Phím tắt trên các sub menu, tắt muôn menu chính*/
.closebtn2 {
    float: right;
    margin: 8px 10px 6px 6px;
    color: #fff;
    font-size: 13px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

    .closebtn2:focus closebtn2:hover {
        color: #fff;
    }
/* Quy định vị trí và thành phần hiển thị trong các sub menu*/
.noidungSubMenu {
    height: calc(100% - 35px);
    background-color: #fff;
    border: 1px solid darkgreen;
    overflow: auto;
    padding: 3px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    font-size: 13px;
    color: black;
}
/*Dieu chinh nội dung của các tab trong sub menu tìm kiếm khac voi quy dinh chung cua subMenu*/
.subSearch {
    height: calc(100% - 64px);
    padding: 5px 0 10px 5px;
    overflow: hidden;
}

.printResult {
    width: 100%;
    height: 35px;
    padding-top: 5px;
}

#ketqua_tab {
    height: calc(100% - 35px);
    position: absolute;
    width: 100%;
    overflow: auto;
    padding: 0px;
}

#vungEdit {
    width: unset;
    text-align: left;
}

#xyLocation {
    position: absolute;
    bottom: 3px;
    right: 280px;
    z-index: 30;
    /*display: block;*/
    color:white; 
    text-shadow: 1px 1px 1px black, 0 0 6px blue, 0 0 1px green;
}

/*tool Edit và bảng chọn lớp vẽ*/
/*.templatePicker {
}

.templatePicker .grid .groupLabel {
}

.esriEditor {

}*/

.dijitStretch {
    width: auto;
    /*background-repeat: no-repeat!important;
    white-space: unset!important;*/
}

.dijitButtonNode {
    width: 100%;
}


/*tat text zoom to tren popup thông tin*/
.zoomTo {
    display: none !important;
}

/*thay đổi listlayer mặc định để quản lý các lớp*/
.esriLayerList .esriContainer {
    background-color: white !important /*#f8f8f8*/;
    color: #6e6e6e;
    border-top: 0px solid #ccc !important;
    border-bottom: 1px solid #ccc !important;
}

.esriLayerList .esriTitleContainer {
    margin: 0;
    border-top: 1px solid #ccc !important;
}

.esriLayerList .esriTitle {
    font-size: 13px !important;
    font-family: 'sans-serif', Tahoma, Geneva, Verdana, sans-serif !important;
}
/*HẾT 888888888888888 thay đổi listlayer mặc định để quản lý các lớp*/


label {
    font-weight: 500 !important;
}


/*Cho hiện tooltip của tool ve Graghic*/
.tooltip {
    opacity: 1;
    z-index: 2;
}

/*Điều chỉnh mặc định chiều cao của tab cho bảng thuộc tính */
.esri-feature-table {
    font-family: verdana;
    font-size: 12px;
    height: 100%;
    width: 100%;
}

.esri-feature-table-dialog .esri-feature-attachments {
    height: 300px !important;
    width: 350px !important;
}



/*Menu dropdown tìm kiếm theo tương quan*/
.dropdown-menu {
    font-size: 13px;
    left: -43px;
    min-width: 120px;
}

/*aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa panel của Layer Manager aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa*/
.groupLayer {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 4px;
    width: 100%;
    border-bottom-width: thin;
    text-align: left;
    outline: none;
    font-size: 14px;
    font-weight: 500;
    transition: 0.4s;
}

    .groupLayeractive, .groupLayer:hover {
        background-color: #ccc;
    }

    .groupLayer:after {
        content: '\002B';
        color: #777;
        font-weight: bold;
        float: right;
        vertical-align: central;
        margin-left: 5px;
    }

.groupLayeractive:after {
    content: "\2212";
}

.panelLayer {
    padding: 0 2px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

/*hết aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa panel của Layer Manager aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa*/

/*Thay đổi hiển thị basemap*/
.esriBasemapGalleryThumbnail {
    height: 67px;
    width: 130px !important;
    border: 1px solid #fff;
    margin: 1px;
    -moz-box-shadow: 0px 0px 7px #000;
    -webkit-box-shadow: 0px 0px 7px #000;
    box-shadow: 0px 0px 7px #000;
}

.esriBasemapGalleryNode {
    float: left;
    margin: 10px 20px 10px 20px;
    width: 200px !important;
    margin: 5px 10px 0 75px !important;
}

.esriBasemapGalleryLabelContainer {
    background-color: transparent;
    text-align: left !important;
    width: 100%;
    height: 2.5em;
    overflow: hidden;
    display: block;
}

/*Cho bookmark*/
#bookmark_btn {
    position: absolute;
    top: 485px;
    left: 21px;
    z-index: 2;
    opacity: 0.7;
}

#bookmark-container {
    display: none;
    position: absolute;
    height: 415px;
    overflow: auto;
    top: 100px;
    left: 53px;
    padding: 0.3rem;
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid #eeeeee;
}
/*ID, khong cho chon mot so noi dung tren menu*/

.disabled {
    pointer-events: none;
    cursor: default;
    opacity: 0.6;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    font-family: font-family:Palatino Linotype;
    font-size:14px;
    width: 100%;
    border: 1px solid #ddd;
}

th, td {
    text-align: left;
    padding: 6px;
    border-bottom: 1px solid #ddd;
}

tr:nth-child(odd) {
    background-color: #f2f2f2
}


/*menu drop down của bảng kết quả*/
#dropMenuResult {
    display: none;
    font-size: 15px;
    padding-right: 6px;
}

.dropdown {
    float: right;
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 120px;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    right: 0;
    z-index: 5;
}

    .dropdown-content a {
        color: black;
        padding: 7px 16px;
        text-decoration: none;
        display: block;
    }

        .dropdown-content a:hover {
            background-color: #ddd
        }

#tabthuoctinh {
    border-bottom: 1px solid #dee2e6;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 13px;
    font-weight: 600;
}

.list-group-item {
    padding: 0px !important;
    padding-left: 10px;
}


/*//////////////////////////////////// MODAL Cho thông tin đối tượng //////////////////////////////////*/
/* The Modal (background) */
@media screen and (min-width: 600px), (min-width: 1100px) {

    .modal {
        display: none; /* Hidden by default */
        position: fixed; /* Stay in place */
        z-index: 30; /* Sit on top */
        left: 0;
        /*top: 0;*/
        width: 400px; /* Full width */
        height: 100%; /* Full height */
        overflow: auto; /* Enable scroll if needed */
        background-color: rgb(0,0,0); /* Fallback color */
        background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
        -webkit-animation-name: fadeIn;
        /* Fade in the background */
        -webkit-animation-duration: 0.4s;
        animation-name: fadeIn;
        animation-duration:0.4s;
    }

    .modal-backdrop {
        /*z-index: -1;*/
        display: none;
    }

    /* Modal Content */
    .modal-content {
        position: fixed;
        left: 0;
        background-color: #fefefe;
        width: 400px;
        height: 100%;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
        overflow: auto; /* Enable scroll if needed */
        -webkit-animation-name: slideIn;
        -webkit-animation-duration: 0.4s;
        animation-name: slideIn;
        animation-duration: 0.4s;
        -webkit-overflow-scrolling: touch;
    }
}
@media screen and (max-width: 300px) {
    .modal {
        display: none; /* Hidden by default */
        position: fixed; /* Stay in place */
        z-index: 30; /* Sit on top */
        left: 0;
        /*top: 0;*/
        width: 100%; /* Full width */
        height: 100%; /* Full height */
        overflow: auto; /* Enable scroll if needed */
        background-color: rgb(0,0,0); /* Fallback color */
        background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
        -webkit-animation-name: fadeIn;
        /* Fade in the background */
        -webkit-animation-duration: 0.4s;
        animation-name: fadeIn;
        animation-duration: 0.4s;
    }

    /* Modal Content */
    .modal-content {
        position: fixed;
        left: 0;
        background-color: #fefefe;
        width: 100%;
        height: 100%;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
        overflow:  auto; /* Enable scroll if needed */
        -webkit-animation-name: slideIn;
        -webkit-animation-duration: 0.4s;
        animation-name: slideIn;
        animation-duration: 0.4s;
    }
}
.modal-backdrop {
    /*z-index: -1;*/
    display: none;
}

@media only screen and (max-width: 480px) {
    .modal .modal-body {
        max-height: 100%;
        overflow-y: auto;
    }
}

/* The Close Button */
.close {
    color: white;
    float: right;
    padding:12px 10px;
    font-size: 16px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }

.modal-header {
    padding: 0px;
    background-color: lightseagreen;
    color: white;
}

.modal-body {
    padding: 6px;
    height: calc(100% - 79px);
    overflow-y: auto;
}


.modal-footer {
    padding: 2px 16px;
    background-color: lightseagreen;
    color: white;
}

/* Add Animation */
@-webkit-keyframes slideIn {
    from {
        bottom: -300px;
        opacity: 0
    }

    to {
        bottom: 0;
        opacity: 1
    }
}

@keyframes slideIn {
    from {
        bottom: -300px;
        opacity: 0
    }

    to {
        bottom: 0;
        opacity: 1
    }
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}
/*//////////////////////////////////// END OF MODAL //////////////////////////////////*/

::-webkit-scrollbar {
    width: 4px;
    background-color: lightseagreen;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 4px rgb(25, 47, 38);
    /*border-radius: 3px;*/
    /*background-color: rgb(56, 78, 146);*/
}

::-webkit-scrollbar-thumb {
    border-radius: 0px;
    /*-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);*/
    background-color: #a5afce;
}
