html *
{
    font-family: 'Poppins', serif !important;
}

html,
body {
    margin: 0;
    padding: 0 !important;
}

#wrap {
    width: 100%;
    margin: 0;
    padding: 8rem 0 0;
}

.leaflet-right .geocoder-control-input{
    right: 0 !important;
    margin-top: 90px !important;
    background-color: white !important;
    z-index: 9999 !important;
    position: fixed !important;
}

.leaflet-right .geocoder-control-suggestions {
    right: 0px !important;
    margin-top: 110px !important;
    background-color: white !important;
    z-index: 9999 !important;
    position: fixed !important;
}

.current-location {
    border-color: #e2e2e2;
    border-right: white;
    border-top: white;
    border-bottom: white;
}

div.layers {
    position: absolute;
    right: 0;
    z-index: 1000;
    margin-top: 2rem;
}

div.button-bar {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 1005;
    margin-left: 42.3rem;
    transition: margin-left 0.55s;
}

div.button-bar-map {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 1005;
    margin-left: 6rem;
}

.layer-button {
    height: 4rem;
    width: 4rem;
    box-shadow: 0 0 15px 6px rgba(4, 10, 92, 0.06);
}
/* //////////////////////////////////////////////////////////////////// */
/* The container must be positioned relative: */
.custom-select-dropdown {
    position: relative;
    font-family: Arial;
    border: none !important;
  }

  .custom-select-dropdown select {
    display: none !important; /*hide original SELECT element: */
  }

  .select-selected {
    color: black !important;
    background-color: transparent !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  font-size: 12px !important;
  }

  /* Style the arrow inside the select element: */
  .select-selected:after {
    position: absolute;
    display: inline-block;
    content: "";
    background: url("../fonts/32195.svg") no-repeat 0 0;
    top: 12px;
    right: 5px;
    width: 10px;
    height: 10px;
    background-size: 100%;
    /* border: 6px solid transparent;
    border-color: #fff transparent transparent transparent; */
  }

  /* Point the arrow upwards when the select box is open (active): */
  .select-selected.select-arrow-active:after {
    border-color: transparent transparent #fff transparent;
    top: 7px;
  }

  /* style the items (options), including the selected item: */
  .select-items div,.select-selected {
    color: black !important;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
    cursor: pointer;
  }

  /* Style items (options): */
  .select-items {
    position: absolute;
    background-color: white;
    color: black !important;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    box-shadow: 0px 16px 30px rgba(157, 157, 255, 0.15);
  }

  .select-items div,.select-selected {
      padding: 15px !important;
  }

  /* Hide the items when the select box is closed: */
  .select-hide {
    display: none;
  }

  .select-items div:hover, .same-as-selected {
    background-color: #EBECF1;
    color: #040A5C !important;
  }

  .leaflet-right .geocoder-control-input{
    left: 700px !important;
    right: 0 !important;
    margin-top: 90px !important;
    background-color: white !important;
    z-index: 9999 !important;
    position: fixed !important;
  }


  /* /////////////////////////////////////////////////////// */



  /* ///////////////////////// */
  .bv_background {
    background-color: #fff !important;
    border-radius: 0 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: 0 !important;
    font-size: 12px !important;
}

.bv_ul_inner li {
    width: 100% !important;
}

/* ////////////////////////// */
[draggable] {
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    /* Required to make elements draggable in old WebKit */
    -khtml-user-drag: element;
    -webkit-user-drag: element;
  }
  #columns {
    list-style-type: none;
    /* display: flex;
    flex-direction: column-reverse; */
  }
  .column {
    width: 100%;
    padding-bottom: 5px;
    padding-top: 5px;
    text-align: center;
    cursor: move;
  }
  .column.dragElem {
    opacity: 1;
  }
  .column.over {
    /* border: 2px dashed #000; */
    border-top: 2px solid blue;
  }

@media (min-width: 1000px) {
    .leaflet-right .geocoder-control-input{
        left: 700px !important;
    }

    .leaflet-right .geocoder-control-suggestions {
        left: 215px !important;
    }
}

@media (min-width: 1600px) {
    .leaflet-right .geocoder-control-input{
        left: 765px !important;
    }
    .leaflet-right .geocoder-control-suggestions {
        left: 280px !important;
    }
}
@media (min-width: 1600px) {
    .leaflet-control-container .leaflet-top .leaflet-control-zoom {
        margin-right: 3rem;
    }
    div.layers {
        margin-right: 3rem;
    }
    .leaflet-control-container .leaflet-right div.leaflet-control-mouseposition {
        margin-right: 0;
    }
    .search-container {
        left: 275px;
    }

    #previewModal {
        height: 82%;
    }
}

@media (min-width: 1000px) {
    .modals {
        max-height: 55%;
    }

    #previewModal {
        height: 70%;
    }

    .leaflet-control-container .leaflet-top .leaflet-control-zoom {
        margin-right: 10rem;
    }

    div.layers {
        margin-right: 10rem;
    }

    .leaflet-control-container .leaflet-right div.leaflet-control-mouseposition {
        margin-right: 28rem;
    }

    .search-container {
        left: 400px;
    }
}

.leaflet-control-container .leaflet-top .leaflet-control-zoom {
    margin-top: 375px;
    margin-right: 42rem;
    box-shadow: 0 0 15px 6px rgba(4, 10, 92, 0.06);
    transition: margin-right 0.55s;
}

.leaflet-control-container .leaflet-top .leaflet-control-zoom a.leaflet-control-zoom-in {
    width: 20px;
    height: 20px;
    padding-bottom: 1px;
    font-size: 20px;
    font-weight: normal;
    color:#040c5c;
}

.leaflet-control-container .leaflet-top .leaflet-control-zoom a.leaflet-control-zoom-out {
    width: 20px;
    height: 20px;
    padding-bottom: 1px;
    font-size: 20px;
    font-weight: normal;
    color: #040c5c;
}

.leaflet-right .leaflet-control-scalefactor {
    border: none;
    background: none;
    margin-bottom: -5rem;
}

.leaflet-left .leaflet-control-scalefactor {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 5px;
    border: none;
}

.leaflet-right .leaflet-control-scalefactor div.leaflet-control-scalefactor-line {
    font-size: medium;
    font-weight: bold;
    padding: 0.6rem;
    background: white;
    border-radius: 5px;
}

.leaflet-left .leaflet-control-scalefactor div.leaflet-control-scalefactor-line {
    font-size: medium;
    font-weight: bold;
    padding: 0.6rem;
    background: white;
    border-radius: 5px;
}

.group {
    margin-right: 32rem;
    transition: margin-right 0.55s;
}

.leaflet-control-fullscreen.leaflet-bar.leaflet-control {
    margin-bottom: 19rem;
}

.leaflet-container .leaflet-control-attribution {
    display: none;
}

@media (min-width: 1000px) {
    .leaflet-right .leaflet-control-scalefactor.leaflet-control {
        display: flex;
        align-items: center;
        background: white;
        border-radius: 5px;
        margin-right: 75rem;
        margin-bottom: -2.5rem;
    }
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 0.8rem !important;
        padding-left: 0.8rem !important;
      }

    .resetMap{
        background: url('../fonts/reset-map.svg') no-repeat right 4rem bottom 1.7rem !important;
        color: white;
    }
    .resetMap:hover{
        color: white !important;
        background: #2079f9 url('../fonts/reset-map-hover.svg') no-repeat right 4rem bottom 1.7rem !important;
    }
    .leaflet-control-container .leaflet-right div.leaflet-control-mouseposition {
        margin-bottom: 1rem;
    }
}

@media (min-width: 1600px) {
    .leaflet-right .leaflet-control-scalefactor.leaflet-control {
        display: flex;
        align-items: center;
        background: white;
        border-radius: 5px;
        margin-right: 105rem;
        margin-bottom: -2.5rem;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 2rem !important;
        padding-left: 2rem !important;
    }

    .resetMap{
        background: url('../fonts/reset-map.svg') no-repeat right 8rem bottom 1.7rem !important;
        color: white;
    }
    .resetMap:hover{
        background: #2079f9 url('../fonts/reset-map-hover.svg') no-repeat right 8rem bottom 1.7rem !important;
    }
}

.leaflet-bottom .leaflet-bar {
    margin: 0;
    box-shadow: 0 0 15px 6px rgba(4, 10, 92, 0.06);
}

.leaflet-bar a.leaflet-bar-part {
    width: 4rem;
    height: 4rem;
}

.leaflet-control-container .leaflet-right div.leaflet-control-mouseposition {
    width: 20rem;
    text-align: center;
    font-size: medium;
    font-weight: bold;
    padding: 0.2rem;
    background: white;
    border-radius: 5px;
}

div.leaflet-control-layers {
    width: 40px;
    margin-right: 5rem;
    padding: 0.2rem !important;
}

#layer-list li {
    cursor: move;
}

label {
    padding-bottom: 1%;
}

.leaflet-interactive.unnamed-state-active {
    width: 4rem;
    height: 4rem;
    box-shadow: 0 0 15px 6px rgba(4, 10, 92, 0.06);
}

.leaflet-interactive.unnamed-state-active:hover {
    width: 4rem;
    height: 4rem;
    box-shadow: 0 0 15px 6px rgba(4, 10, 92, 0.06);
}

.search-component {
    border: none;
    padding: 0;
    font-weight: 100;
    letter-spacing: 0.5px;
    outline: none;
    margin-top: 2.5px;
    margin-bottom: 2.5px;
    color: #040A5C;
}

.leaflet-control-geocoder.leaflet-bar.leaflet-control-geocoder-expanded.leaflet-control {
    margin-left: 46rem;
    margin-top: 2rem;
    width: 28rem;
    background-color: white;
    height: 4rem;
    box-shadow: 0 0 15px 6px rgba(4, 10, 92, 0.06);
    transition: margin-left 0.55s;
}

.leaflet-control-geocoder-form input {
    width: 195px;
    margin-top: 8px;
}

.leaflet-control-geocoder-alternatives {
    background: white;
}

button.leaflet-control-geocoder-icon {
    display: none;
}

.search-container {
    z-index: 800;
    position: relative;
    margin-top: 20px;
    background-color: white;
    border-radius: 5px;
    width: 340px;
    height: 41px;
    line-height: 40px;
    margin-left: 20px;
    padding-left: 10px;
    font-size: 14px;
    box-shadow: 0 0 15px 6px rgba(4, 10, 92, 0.06);
    transition: margin-left 0.55s;
}

.search-icon {
    width: 20px;
    margin-right: 5px;
}

.location-icon {
    width: 20px;
    margin-left: 7px;
}

input.search-component::-webkit-input-placeholder, textarea.box::-webkit-input-placeholder {
    color: #040A5C;
}

@media (min-width: 992px) {
    .modal-lg {
        max-width: 1200px !important;
    }
}

.modal-body {
    /* 100% = dialog height, 120px = header + footer */
    max-height: calc(100% - 120px);
}

.change-layer-body {
    overflow: hidden;
}

.modal-border {
    border-radius: 20px !important;
}

.change-layer-button {
    width: 100%;
    text-align: right;
}

@media print
{
    .noprint {display:none;}
    .leaflet-bottom {display:none;}
    .leaflet-control-container {display:none;}
    .leaflet-popup.leaflet-popup-content-wrapper {
        background: white;
    }
    #lmap {display: none;}
}

.fa-search-plus, .fa-caret-right, .fa-caret-left {
    -webkit-transition-duration: 0.8s;
    -moz-transition-duration: 0.8s;
    -o-transition-duration: 0.8s;
    transition-duration: 0.8s;
    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    -o-transition-property: -o-transform;
    transition-property: transform;
}

.attributionContainer {
    border-radius: 5px;
    height: 3.5rem;
    z-index: 1005;
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 1rem;
}

.goog-te-gadget-simple {
    display: inline-block;
    padding-left: .5rem;
    font-size: 16px !important;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    white-space: nowrap;
    border-radius: 5px;
}

.custom-input-select {
    display: inline-block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem 1.75rem .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    vertical-align: middle;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}

.modal-footer-buttons {
    justify-content: center;
}

.agro-info-card {
    box-shadow: 0 0 15px 6px rgba(4, 10, 92, 0.06);
    border-radius: 5px;
    border: none;
    margin: 1rem;
    padding: 1rem;
}

#agro-rcp-selector {
    display: none;
    margin-right: auto;
    margin-left: auto;
    padding-top: 2rem;
    padding-bottom: 2rem
}

#agro-rcp-selector1 {
    display: none;
    margin-right: auto;
    margin-left: auto;
    padding-top: 2rem;
    padding-bottom: 2rem
}

#agro-rcp-selector2 {
    display: none;
    margin-right: auto;
    margin-left: auto;
    padding-top: 2rem;
    padding-bottom: 2rem
}

.topBar {
    z-index: 1020;
    display:flex;
    min-height: 5rem;
    align-items: center;
    justify-content: space-between;
}

.topBar-btn {
    font-size: 16px;
    width: 17rem;
    height: 5rem;
}
.topBar-btn:hover {
    color: white !important;
}

#layerMissing {
    border-radius: 1rem;
    padding: 2rem;
    position: absolute;
    font-size: 14px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
    margin-top: 8rem;
    width: 20%;
    color: black;
    text-align: center;
}

.leaflet-control {
    position: initial;
}

.geocoder-control-input.leaflet-bar {
    left: 7rem;
    outline: none;
    width: 25rem;
    top: 2.5rem;
    box-shadow: none;
}

.geocoder-control-input {
    background-image: none !important;
}

.leaflet-left .leaflet-control .geocoder-control-input {
    margin-left: 40rem;
    transition: margin-left 0.55s;
}

.geocoder-control-suggestions.leaflet-bar {
    margin-left: 45rem;
    width: auto;
    top: 4.5rem;
    background: white;
    transition: margin-left 0.55s;
}

.switch {
    position: absolute;
    right:2rem;
    display: inline-block;
    width: 38px;
    height: 22px;
    top: 2px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: -8px;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 0;
    top: 2px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2079f9;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2079f9;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}
