*, body, h1, h2, h3, h4, h5, h6 { font-family: "Prompt", sans-serif, "Font Awesome 6 Brands", "Font Awesome 6 Free"; font-style: normal; font-optical-sizing: auto; } a, a:hover { text-decoration: none; } .leaflet-browser-print, .leaflet-control-layers-toggle1, .leaflet-control-layers-toggle2 { background-repeat: no-repeat; background-position: center; } #loading-overlay, #map, .header .search-form { width: 100%; } :root { scroll-behavior: smooth; } body { margin: 0; background: #f6f9ff; color: #404040; } a { color: #16a34a; } a:hover { color: #65a30d; } #main { margin-top: 80px; transition: 0.3s; } .pagetitle { margin-bottom: 10px; } .pagetitle h1 { font-size: 24px; margin-bottom: 0; font-weight: 600; color: #012970; } .title-bar { height: 60px; background-color: #f5f5f5; color: #373737; text-align: center; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); position: relative; z-index: 1000; display: flex; align-items: center; font-size: 24px; font-weight: 500; } .logo, .logo1 { width: 125px; height: auto; vertical-align: middle; margin-left: 60px; } @media (max-width: 450px) { .logo { margin-left: 60px !important; } .logo1 { display: none; } } .header { transition: 0.5s; z-index: 997; height: 80px; box-shadow: 0 2px 20px rgba(1, 41, 112, 0.1); background-color: #fff; padding-left: 20px; } .header .toggle-sidebar-btn { font-size: 32px; padding-left: 10px; cursor: pointer; color: #012970; } .header .search-bar { min-width: 360px; padding: 0 20px; } .header .search-form input { border: 1px solid rgba(1, 41, 112, 0.2); padding: 7px 38px 7px 8px; border-radius: 3px; transition: 0.3s; width: 100%; font-size: 14px; color: #012970; } .header .search-form input:focus, .header .search-form input:hover { outline: 0; box-shadow: 0 0 10px 0 rgba(1, 41, 112, 0.15); border: 1px solid rgba(1, 41, 112, 0.3); } .header .search-form button { border: 0; padding: 0; margin-left: -30px; background: 0 0; } .header .search-form button i, .header-nav .nav-profile { color: #012970; } .header-nav ul { list-style: none; margin: 0; padding: 0; } .header-nav .nav-icon { font-size: 22px; color: #012970; margin-right: 25px; position: relative; } .header-nav .badge-number { position: absolute; inset: -2px -5px auto auto; font-weight: 400; font-size: 12px; padding: 3px 6px; } .header-nav .nav-profile img { max-height: 36px; } .header-nav .nav-profile span { font-size: 14px; font-weight: 600; } .header-nav .profile { min-width: 240px; padding-bottom: 0; top: 8px !important; } .header-nav .profile .dropdown-header h6 { font-size: 18px; margin-bottom: 0; font-weight: 600; color: #444; } .header-nav .profile .dropdown-header span { font-size: 14px; } .header-nav .profile .dropdown-item { font-size: 14px; padding: 10px 15px; transition: 0.3s; } .header-nav .profile .dropdown-item i { margin-right: 10px; font-size: 18px; line-height: 0; } .header-nav .messages .message-item:hover, .header-nav .notifications .notification-item:hover, .header-nav .profile .dropdown-item:hover { background-color: #f6f9ff; } .legend.mb-0.pb-0.fw-bold, .sidebar { background-color: #333; } .header-nav .messages, .header-nav .notifications { inset: 8px -15px auto auto !important; } .header-nav .notifications .notification-item { display: flex; align-items: center; padding: 15px 10px; transition: 0.3s; } .sidebar-nav .nav-content a, .sidebar-nav .nav-link { align-items: center; font-weight: 600; display: flex; transition: 0.3s; } .header-nav .notifications .notification-item i { margin: 0 20px 0 10px; font-size: 24px; } .header-nav .notifications .notification-item h4 { font-size: 16px; font-weight: 600; margin-bottom: 5px; } .header-nav .messages .message-item p, .header-nav .notifications .notification-item p { font-size: 13px; margin-bottom: 3px; color: #919191; } .header-nav .messages .message-item { padding: 15px 10px; transition: 0.3s; } .header-nav .messages .message-item a { display: flex; } .header-nav .messages .message-item img { margin: 0 20px 0 10px; max-height: 40px; } .header-nav .messages .message-item h4 { font-size: 16px; font-weight: 600; margin-bottom: 5px; color: #444; } .sidebar { position: fixed; top: 60px; left: 0; bottom: 0; width: 320px; z-index: 996; transition: 0.3s; padding: 30px 20px 20px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #aab7cf transparent; box-shadow: 0 0 20px rgba(1, 41, 112, 0.1); color: #fff !important; } #sidebar { transition: left 0.3s; z-index: 2; } @media (max-width: 1199px) { .header .search-bar { position: fixed; top: 50px; left: 0; right: 0; padding: 20px; box-shadow: 0 0 15px 0 rgba(1, 41, 112, 0.1); background: #fff; z-index: 9999; transition: 0.3s; visibility: hidden; opacity: 0; } .header .search-bar-show { top: 60px; visibility: visible; opacity: 1; } .sidebar { left: -320px; } .toggle-sidebar .sidebar { left: 0; } } @media (min-width: 1200px) { #footer, #main { margin-left: 320px; } .toggle-sidebar #footer, .toggle-sidebar #main { margin-left: 0; } .toggle-sidebar .sidebar { left: -320px; } } .sidebar::-webkit-scrollbar { width: 5px; height: 8px; background-color: #fff; } .sidebar::-webkit-scrollbar-thumb { background-color: #aab7cf; } .sidebar-nav, .sidebar-nav li { padding: 0; margin: 0; list-style: none; } .sidebar-nav .nav-item { margin-bottom: 5px; } .sidebar-nav .nav-heading { font-size: 11px; text-transform: uppercase; color: #89bd8e; font-weight: 600; margin: 10px 0 5px 15px; } .sidebar-nav .nav-link { font-size: 15px; color: #16a34a; background: #fafff9; padding: 10px 15px; border-radius: 4px; } .sidebar-nav .nav-link i { font-size: 16px; margin-right: 10px; color: #16a34a; } .sidebar-nav .nav-link.collapsed { color: #166534; background: #fff; } .sidebar-nav .nav-link.collapsed i { color: #899bbd; } .sidebar-nav .nav-link:hover { color: #16a34a; background: #fafff9; } .leaflet-bar, .leaflet-control-locate.leaflet-bar.leaflet-control, .leaflet-control-zoom.leaflet-bar.leaflet-control { background-color: transparent !important; } .sidebar-nav .nav-content a.active, .sidebar-nav .nav-content a:hover, .sidebar-nav .nav-link:hover i { color: #16a34a; } .sidebar-nav .nav-link .bi-chevron-down { margin-right: 0; transition: transform 0.2s ease-in-out; } .sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down { transform: rotate(180deg); } .sidebar-nav .nav-content { padding: 5px 0 0; margin: 0; list-style: none; } .sidebar-nav .nav-content a { font-size: 14px; color: #166534; padding: 10px 0 10px 40px; } .sidebar-nav .nav-content a i { font-size: 6px; margin-right: 8px; line-height: 0; border-radius: 50%; } #checkbox, .sidebar-nav .nav-content a.active i { background-color: #16a34a; } #map { position: relative; height: calc(100vh - 60px); z-index: 1; transition: margin-left 0.3s, width 0.3s; background-color: #f5f5f5; } #textContainer, #textContainer2, #textContainer3, #textContainer4 { white-space: nowrap; overflow: hidden; display: none; } @media (min-width: 1600px) { #textContainer { display: block; } } @media (max-width: 1600px) and (min-width: 1400px) { #textContainer2 { display: block; } } @media (max-width: 1400px) and (min-width: 1050px) { #textContainer3 { display: block; } } @media (max-width: 1050px) and (min-width: 540px) { #textContainer4 { display: block; } } .leaflet-left .leaflet-control { margin-left: 5px !important; } .leaflet-bottom.leaflet-right { z-index: 998 !important; } .leaflet-top.leaflet-right { z-index: 999 !important; } .leaflet-bar { border-bottom: none !important; } .leaflet-touch .leaflet-bar a { width: 40px !important; height: 40px !important; } .leaflet-control-zoom-in, .leaflet-control-zoom-out { border-radius: 30px !important; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important; background-color: #f5f5f5 !important; } .leaflet-control-zoom-out { margin-top: 5px !important; } .leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out { font-size: 40px !important; color: #fc8538; display: flex; } .leaflet-touch .leaflet-control-zoom-in:hover, .leaflet-touch .leaflet-control-zoom-out:hover { color: #3886fc; } .leaflet-touch .leaflet-bar, .leaflet-touch .leaflet-control-layers { border: 0 solid transparent !important; background-clip: padding-box !important; border-radius: 15px !important; background-color: #fff !important; color: #373737; } .leaflet-browser-print, .leaflet-control-layers-toggle { border-radius: 15px !important; } .leaflet-bar-part.leaflet-bar-part-single, .leaflet-bar.leaflet-ruler.leaflet-control, .leaflet-control-layers-toggle { background-color: #f5f5f5 !important; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important; } .leaflet-touch .leaflet-control-layers-toggle { width: 50px; height: 50px; } .leaflet-control-layers-toggle1 { background-image: url("https://bpt.dol.go.th/landsstate/dollst/img/LY.webp") !important; background-size: 35px 35px; } .leaflet-control-layers-toggle2 { background-image: url("https://bpt.dol.go.th/landsstate/dollst/img/LO.webp") !important; background-size: 35px 35px; } .leaflet-control-layers.leaflet-control.leaflet-control-layers-expanded { box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important; z-index: 1000 !important; } .leaflet-control-layers-list { font-size: 14px !important; } .leaflet-browser-print { background-color: #49a4ff00 !important; background-image: url("https://bpt.dol.go.th/landsstate/dollst/img/PT.webp") !important; background-size: 45px 45px !important; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important; } .leaflet-browser-print:hover { background-image: url("https://bpt.dol.go.th/landsstate/dollst/img/PT2.webp") !important; } @media print { .leaflet-control-browser-print { display: block !important; } } .easyPrintHolder { margin-top: -41px !important; margin-bottom: 11px !important; margin-left: 26px !important; padding-left: 11px !important; display: none; height: 30px; } .leaflet-control-easyPrint .leaflet-bar .leaflet-control { height: 32px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important; } .leaflet-control-easyPrint-button-export { box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important; } .leaflet-control-geosearch.leaflet-geosearch-bar { position: fixed !important; margin: 10px 10px 10px 60px !important; width: 300px !important; max-width: calc(100% - 130px) !important; z-index: 975 !important; } .leaflet-control-geosearch.leaflet-geosearch-bar button { font-size: 30px !important; font-weight: 100 !important; } .leaflet-touch .leaflet-control-geosearch button.reset { line-height: 25px !important; } .leaflet-bar.leaflet-ruler.leaflet-control { width: 41px !important; height: 41px !important; border-radius: 30px !important; display: flex; flex-direction: column; justify-content: center; align-items: center; margin-top: 6px; } .leaflet-bar-part.leaflet-bar-part-single { margin-top: -4px; width: 45px !important; height: 45px !important; border-radius: 30px !important; display: flex; flex-direction: column; justify-content: center; align-items: center; } .leaflet-control-mouseposition.leaflet-control, .leaflet-control-scale-line { border: 0 solid #777 !important; border-radius: 5px; padding: 2px 5px 1px; white-space: nowrap; box-sizing: border-box; background: rgba(39, 39, 39, 0.8) !important; text-shadow: 1px 1px #ffffff00 !important; color: #fff !important; } .footer .copyright, .footer .credits { text-align: center; color: #012970; } .leaflet-control-attribution.leaflet-control { font-size: 14px !important; margin-left: -1px !important; padding: 4px !important; background-color: #ffffffc4 !important; } .leaflet-container a.leaflet-popup-close-button { width: 25px !important; font-weight: 400 !important; color: #fc3838 !important; } .leaflet-popup-close-button { font-size: 30px !important; height: 30px !important; } .featureInfo { font-size: 100% !important; } .card { background-color: #333 !important; border: 1px solid rgba(255, 255, 255, 0.54) !important; } .form-control, .form-select { background-color: #bdbdbd !important; } .legend { transform: translatey(-50%); width: max-content; background: #fff; padding: 0 0.65em; margin-left: 0.5rem; } #loading-overlay { position: fixed; top: 0; left: 0; height: 100%; background-color: rgba(255, 255, 255, 0); z-index: 9999; display: none; } .loader { border: 6px solid #f3f3f3; border-top: 6px solid #3498db; border-radius: 50%; width: 50px; height: 50px; animation: 1s linear infinite spin; margin: auto; position: absolute; top: 0; bottom: 0; left: 0; right: 0; } @keyframes spin { 0% { transform: rotate(0); } 100% { transform: rotate(360deg); } } .modal-backdrop { z-index: 1 !important; } @media (min-width: 576px) { .modal-dialog { max-width: 600px !important; margin: 1.75rem auto !important; } } .footer { padding: 20px 0; font-size: 14px; transition: 0.3s; border-top: 1px solid #cddfff; } .footer .credits { padding-top: 5px; font-size: 13px; } .leaflet-control-sm-button { background-image: url(images/swipe-mode.svg); border-radius: 6px !important; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important; background-color: #f5f5f5 !important; } .leaflet-sm-range { position: absolute !important; top: 50%; width: 100% !important; z-index: 999; display: inline-block !important; vertical-align: middle; height: 0 !important; padding: 0 !important; margin: 0 !important; border: 0 !important; background: rgba(0, 0, 0, 0.25); min-width: 100px; cursor: pointer; pointer-events: none; } .fas.fa-user { font-size: 150%; color: #25683ea6; margin-right: 30px; } .leaflet-layerstree-header-name { margin-left: 10px !important; }