/*Change in Loading icon & background*/
#main-loading{
  height: 100vh;
  width: 100%;
  background-color: #ffdcdded;
  background-image: radial-gradient(#efefff, #ca454517, #efefff);
}

#onemap-text-logo{
  font-size: 2rem;
  font-weight: 600;
  color: #27274e;
}



#main-loading #loading-gif{
  background-image: url('../images/predefined_loading_1.gif');
  width:200px;
  height:200px;
  top: 35%;
  left: 50%;
}

/*navbar change*/
.nav-custom{
  padding: 0;
  box-shadow: 0px 0px 10px 0px #09099a;
  -webkit-box-shadow: 0px 0px 10px 0px #09099a;
  z-index: 100;
}

.box {
  display: flex;
  align-items:center;
  padding: 0.6rem;
}

.gmda-heading{
  line-height: 0;
  padding-bottom: 0.5rem;
  padding-left: 1rem;
}

.gmda-title{
  margin-top: 0;
  font-family: sans-serif;
  color: #c15609;
  text-shadow: 1px 1px 2px #d6d3d3;
}

.gmda-subtitle{
  font-size: 0.8rem;
  color: #02034c;
}

.btn-circle {
  background-color: #b91307;
  border-color: #b91307;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2);
  -webkit-box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2);
}

.btn-primary:hover {
    color: #fff;
    background-color: #5d3624;
    border-color: #5d3624;
}

.modal-backdrop{
  z-index: 10 ;
}

.bg-light {
    background-color: #efefff !important;
}

/*app gallary css*/

.flip-card {
  background-color: #f39a4d00;
  height: 150px;
  perspective: 1000px;
}


.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  -webkit-box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.flip-card-front {
  background-color: #ecc098;
  color: black;
  z-index: 1;
  border-radius: 2px;
}

.flip-card-back {
  background-color: #e07438;
  color: white;
  transform: rotateY(180deg);
  z-index: 1;
  border-radius: 2px;
}


/*Modal css*/

.modal-content {

    background-color: #efefff;
}

.app-title{
    background-color: #b91307;
    color: #fff;
    bottom: 20%;
    position: absolute;
    bottom: 8px;
    width: 100%;
    height: 2rem;
    padding: 0.4rem;
}
  
#onemap-text-logo{
      font-size: 2rem;
    font-weight: 600;
    color: #27274e;
}

.app-icon{
  height:70%;
  padding: 0.5rem
}

.btn-customize{
  box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2);
  -webkit-box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2);
  padding: 0.5rem;
  color:#fff !important;
  background-color: #e04912 !important;
}

a.badge:hover{
    background-color: #b91307 !important;
}
.app-bg{
  height: 50vh;
  overflow-y: scroll;
}

.h2-custom{
  margin-top: 0.5rem;
}

/*esri css override*/

.esriAttributionLastItem{
  display: none !important;
}

.logo-med {
    width: 90px !important;
    height: 32px !important;
    background-image: url(../images/onemap-logo.png) !important;
}

.footer-custom{
   height: 30px;
   top:auto;
   bottom: 0;
   position: absolute;
   box-shadow: 0px 0px 10px 0px #0709c5;
   -webkit-box-shadow: 0px 0px 10px 0px #0709c5;
}

/*app header*/

.jimu-widget-header{
  border-radius: 2px !important;
  background-color: #b91307 !important;
}

.jimu-widget-header .logo{
  background-color: #fff !important;
}

.claro .jimu-anchorbar-controller .docker {
    background-color: #84aa39 !important;
    border-radius: 2px !important;
}

.claro .jimu-anchorbar-controller .docker .previousBtn, .claro .jimu-anchorbar-controller .docker .nextBtn {
    color: #fefeff !important;
    }

    /*adjust map height*/
#map{
  background-color: rgba(185, 19, 7, 0.12) !important;
  background-image: url(../images/onemap-back.png) !important;
}

/*widget bar*/
.jimu-on-screen-widget-panel .jimu-panel-title, .jimu-panel .jimu-panel-title{
  background-color: #3c3c6b !important;
}

/*help modal*/

.modal-dialog {
    max-width: 900px !important;
}

/*logo change*/
.logo-med1{
    display: inline-block;
    vertical-align: bottom;
    width: 90px;
    height: 36px;
    z-index: 30;
    background-image: url('../images/onemap-logo.png') !important;
    cursor: pointer;
}

.col{
  padding: 0 !important;
  margin: 0 !important;
}

.invalid{
  display: block !important;
}

.cancel-button{
  display: none !important;
}

.jimu-input-wrapper {
    border: 1px solid #bbbbbd !important;
    background-color: #ada1a1 !important;
    box-shadow: 0px 0px 10px 0px #959598 !important;
    -webkit-box-shadow: 0px 0px 10px 0px #959598 !important;
}

.jimu-checkbox .checkbox.jimu-icon-checked {
    background-color: #e3f3fd !important;
    border: 1px solid !important;
    border-radius: 50% !important;
    color: #fff !important;
}

.navbar-light .navbar-toggler {
    border-color: #ffffff00 !important;
}

.jimu-widget-layerList .div-content {
    color: #404044 !important; 
    font-size: 1rem !important;
    font-family: 'Sarabun', sans-serif !important;
}

.footer-pc{
  color: #b91307;
}

.appName{
    color: #c15609;
    font-weight: 600;
    font-size: 1rem;
    padding-left: 5px;
    text-shadow: 1px 1px 2px #d6d3d3;
    font-family: sans-serif;
}

.gmda-lg{
  height: 50px;
}

.help{
  font-size: 1rem;
  color: #000;
  text-align: justify;
}

.help-image{
  height: 50px;
  padding-right: 20px;
}

/*popup custom */
.esriPopup .titlePane {
    background-color: #3c3c6b !important;
    -webkit-border-radius: 2px 2px 0px 0px !important;
}

.esriPopup .actionsPane {

    -webkit-border-radius: 0px 0px 2px 2px !important;

}

/*app gallery*/

.mpl{
    background-color: #fff;
    color: #c03333;
    margin-top: 10px;
    font-size: large;
}

.lyrName{
    font-size: small;
    padding-bottom: 5px;
    padding-top: 5px;
}

.jimu-launchpad-panel{
    top: 72px !important;
    max-height: 470px !important;
}

.esriPopup .esriPopupWrapper {
    font-family: "Sarabun" !important;
    font-size: small !important;
    box-shadow: 0px 0px 10px 0px #c15609 !important;
    -webkit-box-shadow: 0px 0px 10px 0px #c15609 !important;
}

.jimu-title{
  text-shadow: 1px 1px 2px #381b1b;
}

.vl {
  border-left: 3px solid #bb5207eb;
    height: 50px;
    margin-left: 10px;
}

.esriAttribution{
  display: none !important;
}

.jimu-layer-chooser-from-map-withdropbox {
    height: 45px !important;
}

.rp{
  padding-bottom: 25px;
}

.jimu-on-screen-widget-panel{
  bottom: 100px!important;
}




/*.jimu-widget {
    color: #fff !important;
}*/

.jimu-widget-homebutton .HomeButton .home, .jimu-widget-mylocation .place-holder,.zoom-in, .zoom-out,.jimu-widget-onscreen-icon,.fullScreen,.ovwButton{
    background-color: #db5d09  !important;
    color: rgb(255, 255, 255) !important;
}


.jimu-widget-onscreen-icon,.fullScreen,.ovwButton {
    background-color: #db5d09 !important;
    color: rgb(255, 255, 255) !important;
}


.icon-item{
  background-color: #db5d09 !important;
  border: 2px solid #fff;
}

.layer-row{
    border-bottom: 1px solid #3c3c6b21;
}



.fade:not(.show) {
    opacity: unset;
}





@media screen and (min-width:668px) {
  .footer-pc {display: block;}
  .appName {display: none;}
}

@media screen and (max-width:767px) {
  .footer-pc{display: block;}
}

@media screen and (max-width:667px) {
  .gmda-heading {display: none;}
  #navbarText {text-align: center;position: absolute;top: 70px;background: #efefff;width: 100%;box-shadow: 0px 3px 4px -2px #09099a; -webkit-box-shadow: 0px 3px 4px -2px #09099a;}
  .flip-card{width: 100%; margin: 10px auto;}
  .esriControlsBR{display: none;}
  .gmda-lg {height: 40px;}
  .help {font-size: 0.8rem;}
  .vl {height: 30px;}
  .rp {padding-bottom: unset;}
}