
select, select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #efefef;
    border-radius: 3px;
    font-size: 1em;
    background-image:
        linear-gradient(45deg, transparent 50%, gray 50%),
        linear-gradient(135deg, gray 50%, transparent 50%),
        linear-gradient(to right, #ccc, #ccc);
    background-position:
        calc(100% - 20px) calc(1em + 2px),
        calc(100% - 15px) calc(1em + 2px),
        calc(100% - 2.5em) 0.5em;
    background-size:
        5px 5px,
        5px 5px,
        1px 1.5em;
    background-repeat: no-repeat;
    z-index: 1;
    
    /* display an ellipsis to represent overflow text (seasonal forage budget)*/
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 17%;
}

select:focus, select.form-control:focus {
    background-image: linear-gradient(45deg, gray 50%, transparent 50%), linear-gradient(135deg, transparent 50%, gray 50%), linear-gradient(to right, #ccc, #ccc);
    background-position: calc(100% - 15px) 1em, calc(100% - 20px) 1em, calc(100% - 2.5em) 0.5em;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
    outline: 0;
    padding-right: 17%;
}

.select-container {
    position: relative;
    display: inline;
}

.select-container:after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    pointer-events: none;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    top: .3em;
    right: .75em;
    border-top: 8px solid black;
    opacity: 0.5;
}

select::-ms-expand {
    display: none;
}

.selectize-control.lotplan::before {
    -moz-transition: opacity 0.2s;
    -webkit-transition: opacity 0.2s;
    transition: opacity 0.2s;
    content: ' ';
    z-index: 2;
    position: absolute;
    display: block;
    top: 12px;
    right: 34px;
    width: 16px;
    height: 16px;
    background: url(/image/ajax-loader.gif);
    background-size: 16px 16px;
    opacity: 0;
}

.selectize-control.lotplan.loading::before {
    opacity: 0.8;
}

.err-bd {
    border: 1px solid red;
}
.err-lb {
    color: red;
}

.hidden {
    visibility: false;
}

hr.dotted {
    border-top: dotted 2px lightgray;
}
.component {
    margin-top: 0px;
    margin-bottom: 50px;
}
.map {
    margin-top: 20px;
    margin-bottom: 50px;
}
.container-fluid {
    padding: 0px;
}
.err-lb {
    color: red;
    font-weight: 400 !important;
}
.inline-label {
    line-height: 34px;
    margin: 0px;
}
.submit {
    width: 50%;
}

.multiselect__option--highlight {
    background: #008078 !important;
}
.multiselect__option--selected.multiselect__option--highlight,
.multiselect__option--selected.multiselect__option--highlight:after {
    background: #008078 !important;
    color: white !important;
}
.multiselect__option--selected,
.multiselect__option--selected:after {
    background: transparent !important;
    color: #339999 !important;
}
.multiselect__option--highlight:after {
    background: #008078 !important;
}
.multiselect__tag-icon,
.multiselect__tag {
    background-color: #339999 !important;
    cursor: pointer;
}
.multiselect__tag :hover{
    color: darkgrey;
}
.err-bd .multiselect__tags {
    border: red solid 1px !important;
}
.required-field:before{
    content: '*';
    color: red;
}


.err-lb {
    color: red;
}
.err-bd {
    border: 1px solid red;
}


.map, .map-container{
    height: 600px;
    z-index: 10; /*z-index 10 required to avoid overlay the dropdown box above the map*/
}
.control-container{
    z-index: 500;
    margin: 0 10px 40px 10px;
}
.control-container > *{
    margin-right: 10px;
}
.lotplan-map-popup hr {
    margin-top: 5px;
    margin-bottom: 5px;
}
.lotplan-map-popup .btn-block {
    width: 50% !important;
    margin: 0 auto;
}

.err-lb {
    color: red;
}
.err-bd {
    border: 1px solid red;
}

.leaflet-draw{
    display: none !important;
}
.leaflet-popup-content{
    width: 300px !important;
}
.leaflet-popup-content h3 {
    margin-top: 18px;
    color: white;
}
.leaflet-popup-content-wrapper {
    background: linear-gradient(180deg, #008078 50px, white 0) !important;
    min-height: 200px;
}
.leaflet-control-geocoder-address-context {
    font-size: 18px;
    line-height: 50px;
}
.leaflet-control-layers-group-name{
    font-weight: bold;
    margin-left: 5px;
    line-height: 25px;
    border-bottom: 2px;
    border-color: black;
}
.leaflet-control-layers-group-label{
    font-weight: bolder !important;
    color: royalblue;
    border-bottom-width: 1px;
    border-bottom-color: grey;
    border-bottom-style: solid;
}
.leaflet-control-layers-group label{
    line-height:normal;
}
.leaflet-control-layers-list {
    font-size: 11px;
}
.leaflet-centre {
    margin-left: 50px;
}
/*
.leaflet-control-layers-selector {
  position: absolute;
  margin-left: -9999px;
  visibility: hidden;
}
.leaflet-control-layers-selector + span {
  display: inline-block;
  position: relative;
  cursor: pointer;
  outline: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.leaflet-control-layers-selector + span {
  padding: 2px;
  width: 20px;
  height: 12px;
  background-color: #dddddd;
  border-radius: 10px;
}

.leaflet-control-layers-selector + span:before,
.leaflet-control-layers-selector + span:after {
  display: block;
  position: absolute;
  top: 1px;
  left: 1px;
  bottom: 1px;
  content: "";
}
.leaflet-control-layers-selector + span:before {
  right: 1px;
  background-color: #f1f1f1;
  border-radius: 10px;
  transition: background 0.4s;
}
.leaflet-control-layers-selector + span:after {
  width: 8px;
  background-color: #fff;
  border-radius: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: margin 0.4s;
}
.leaflet-control-layers-selector:checked + span:before {
  background-color: seagreen;
}
.leaflet-control-layers-selector:checked + span:after {
  margin-left: 10px;
}
.label{
    display:inline-block;
    line-height:1.5em;
}*/


.btn {
    margin-bottom: 10px;
    background-color: #339999;
    color: white;
    border: #339999;
}

.btn-group .btn{
    margin-bottom: 10px;
    background-color: #ffffff;
    color: #339999;
    border: 2px solid #339999;
}

.btn:hover {
    background-color: #008078;
    color: white;
}
.btn:focus {
    outline: none;
    color: white;
}

.btn-danger{
    background-color: darkgoldenrod;
    color: white;
    border: darkred;
}
.btn-danger:hover {
    background-color: darkred;
    color: white;
}
.disabled, .disabled:hover {
    background-color: lightgray;
    color: darkgrey;
}

.btn-space {
    margin-right: 5px;
    margin-bottom: 5px;
    padding: 10px;
    font-size: 15px;
    background-color: lightgray;
    color: black;
    outline: none;
}

.btn-check:checked+.btn-outline-secondary{
    background-color: #008078;
    border-style: solid;
    font-weight: bolder !important;
    border-color: rgba(83, 161, 83, 0.664);
    color: white;
}

.btn-sm{
    font-size: 0.7rem;
}

.err-btn {
    background-color: palevioletred;
    color:white;
}
.err-btn:hover {
    background-color: #E28DA9;
    color: white;
}
.err-lb {
    color: red;
}


label {
    font-weight: 400;
    /* line-height: 34px; */
    margin: 0px;
}


.radio-inline {
    margin-right: 30px;
}
label input[type="checkbox"]~i.far.fa-square {
    color: color;
    display: inline;
}
label input[type="checkbox"],
i.fas.fa-check-square {
    display: none;
}
label input[type="checkbox"]:checked~i.far.fa-square {
    display: none;
}
label input[type="checkbox"]:checked~i.fas.fa-check-square {
    color: #339999;
    display: inline;
}
input.leaflet-control-layers-selector{
    display: inline !important;
}
label input.leaflet-control-layers-selector::before {
    content: "\f096";
    display: inline;
    font: normal normal normal 14px/1 'Font Awesome\ 5 Pro';
}
label input.leaflet-control-layers-selector:checked::before {
    content: "\f14a";
    display: inline;
    font: normal normal normal 14px/1 'Font Awesome\ 5 Pro';
}
.col-md-6 {
    margin-top: 5px;
    margin-bottom: 5px;
}
.options {
    font-weight: 400;
}
i {
    font-size: 19px;
}
label:hover input[type="checkbox"]~i.far, label:hover input[type="checkbox"]~i.fas {
    color: #339999;
}


.modal-wrapper {
    position: fixed;
    z-index: 9998;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    transition: opacity .3s ease;
}
.modal-container {
    width: 500px;
    margin: 0px auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .33);
    transition: all .3s ease;
}
.modal-header {
    color: #339999;
    padding: 0px 0px 0px 15px;
}
.modal-body {
    padding-left: 15px;
}
.modal-footer {
    padding: 15px 0px 0px 0px;
}

#select-report label{
    width: 100%;
}


.select2-results__option{
    font-size: 12px;
}
.select2-results__option[aria-selected=true]{
    background-color: #339999 !important;
    color: white !important;
}
.select2-results__option[aria-selected=true]::after {
    content: "\f00c";
    margin-top: -15px;
    float: right;
    font: normal normal normal 14px/1 'Font Awesome\ 5 Pro';
    font-weight: 900;
}

.select2-selection__choice__remove{
    float: right;
    padding-left: 5px;
    color: white !important;
}

.select2-selection__choice{
    background-color: #008078 !important;
    /*background-color: #339999 !important;*/
    color: white !important;
}

.select2-results__options--nested{
    padding-left: 30px !important;    
}

/*.select2-results__options--nested .select2-results__option::before{
    content: "┗    ";
}*/

.select2-results__option[role="group"]{
    padding-left: 0 !important;
}

.select2-results__group{
    font-size: 1em !important;
}

.error{
    color: red;
    font-size: 0.8em;
    font-weight: bolder;

}

.error::before {
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 5 Pro"; font-weight: 900; content: "\f06a \00a0";
  }

.selectize-dropdown-content .active {
    background-color: #008078 !important;
    color: white  !important;
}

.submitting {
    background: url(/image/ajax-loader.gif);
    background-size: 16px 16px;
}

.leaflet-touch .leaflet-bar button{
    width: 100px !important;
}

.easy-title{
    font-weight: bold;
    color: white;
    font-size: 1.5em;
    text-shadow: 0 0 5px #000;
    background: #00000099;
}

/* #alertZoomLv{
    text-shadow: 0px 0px 4px #000000FF;
} */

.privacy-statement{
    margin-top: 1em;
}
.privacy-statement > *{
    font-size: 0.8em;
}

.privacy-statement > label{
    line-height: 1em !important;

}

.geocoder-control-input{
	background-position: left center;
	padding-left: 20px;
    font-size: 0.9em;
}

.geocoder-control-suggestion {
	margin: 0px;
}

.geocoder-control-suggestion > * {
	font-size: 0.8em;
}

.irs--modern .irs-line {
    top: 0;
    height: 20px;
    background: linear-gradient(to right, #008080 0% 25%, #3db3b3 25% 50%, #ffdd93 50% 75%, #FA8072 75% 100%);
    border: 1px solid #a3adc1;
    border-bottom-width: 0;
    border-radius: 3px;
}
.irs--modern .irs-bar {
    top: 0;
    height: 20px;
    background-color: transparent;
    opacity: 0;
}
.irs--modern.irs-with-grid {
    height: 41px;
}
.irs--modern .irs-handle {
    top: 28px;
    width: 16px;
    height: 17px;
    border: 1px solid black;
    border-top-width: 1px;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 3px 3px;
}
.irs--modern .irs-handle > i:nth-child(1) {
    position: absolute;
    display: block;
    top: -5.8px;
    left: 2px;
    width: 11px;
    height: 11px;
    border: 1px solid black;
    background: black;
    transform: rotate(45deg);
}
.irs--modern .irs-handle > i:nth-child(2) {
    position: absolute;
    display: block;
    box-sizing: border-box;
    top: 0.2px;
    left: 0.2px;
    width: 14.5px;
    height: 15.5px;
    background: black;
    background: linear-gradient(to bottom, black 0%, #000000 100%);
    border-radius: 0 0 3px 3px;
}
.irs--modern .irs-handle > i:nth-child(3) {
    position: absolute;
    display: block;
    box-sizing: border-box;
    top: 5px;
    left: 5px;
    width: 5px;
    height: 6px;
    border-left: 1px solid white;
    border-right: 1px solid white;
}
