/* your theme's styles */
body {
    padding: 0;
    margin: 0;
}

#itdpmap {
    /* width:100%; */
    height: 750px;
}
@media (min-height: 850px) {
    #itdpmap {
        height: 800px;
    }
  }
  
@media (min-height: 750px) {
    #itdpmap {
        height: 700px;
    }
  }
  
@media (min-height: 650px) {
    #itdpmap {
        height: 600px;
    }
  }
  

legend {
    line-height: 18px;
    color: #555;
}

.legend i {
    width: 18px;
    height: 18px;
    float: left;
    margin-right: 8px;
    opacity: 0.7;
}

.row.container {
    padding: 10px;
    margin: 10px;
    height: 50px;
}

.row.container div {
    display: block;
    float: left;
}

/* div img {
  vertical-align: middle;
  height: 23px;
  padding: 10px 5px;
} */
header h1 {
    text-align: center;
}

.leaflet-control-layers-overlays label div {
    padding: 5px;
}

.leaflet-routing-alternatives-container {
    display: none;
}

.btn-primary {
    background-color: #4dabe9 !important;
    border-radius: 4px !important;
    -webkit-border-radius: 4px !important;
    padding: 15px 22px;
    color: #FFF;
}
input[type="text"].glass {
    background-color: unset;
}

#suggestlocation input,
#suggestlocation textarea,
#suggestRoute input,
#suggestRoute textarea {
    outline: 0;
    border-width: 0 0 2px;
    border-radius: none;
}
#itdpmap .form-group input {
    width: 100%;
}
#itdpmap .form-group {
    margin-bottom: 5px;
}
.form-control:disabled,
.form-control[readonly] {
    background-color: transparent;
    opacity: 1;
}

#suggested-locations i.fa.fa-user,
#suggested-route i.fa.fa-user {
    color: white;
    background-color: #C0C0C0;
    padding: 5px;
}

div#sidebar {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1060;
}
@media (min-width:1200px) {
    .leaflet-sidebar {
     width:380px;
     max-width:400px
    }
   }
@media (min-width:1200px) {
    .leaflet-sidebar-pane {
     min-width:330px;
    }
   }

.leaflet-sidebar-close {
    padding: 10px;
    width: unset;
    height: unset;
    font-size: 25px;
    top: unset;
}

.leaflet-sidebar-left {
    left: 0;
}

.leaflet-sidebar-left .leaflet-sidebar-close {
    /* right: -30px; */
    background-color: white;
    position: absolute;
    color: black;
    z-index: 200000;
}

form button.btn.btn-primary {
    border-radius: 50px !important;
    background-color: #6CD2B2 !important;
    border: none;
}

#searchbox .form-control {
    width: 100%;
    border-radius: 50px !important;
}

/* hassan edits */
.leaflet-sidebar-tabs {
    border-right: 1px solid #6c757d;
}

.leaflet-sidebar-content {
    background-color: #fff;
}

.leaflet-sidebar-pane.active {
    padding: 0px;
}

#suggestlocation,
#suggestRoute {
    background-color: #fff;
    padding: 20px;
}

#suggestlocation input,
#suggestlocation textarea,
#suggestRoute input,
#suggestRoute textarea {
    border-radius: 0;
}

#suggestlocation button,
#suggestRoute button {
    padding: 12px 40px;
}

#searchbox input {
    height: 54px;
    padding: 20px 24px;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 18px 18px;
    background-position: 95% center;
}

#searchbox input:focus,
#suggestlocation input:focus,
#suggestlocation textarea:focus,
#suggestRoute input:focus,
#suggestRoute textarea:focus {
    outline-style: none;
    box-shadow: none;
}

#searchbox input::placeholder,
#suggestlocation input::placeholder,
#suggestlocation textarea::placeholder,
#suggestRoute input::placeholder,
#suggestRoute textarea::placeholder {
    color: #c0c0c0;
    font-size: 14px;
}

#suggested-container {
    background-color: #fff;
    padding: 25px 40px;
    padding-right: 0;
}

#suggested-container i.fa.fa-user {
    padding: 6px 8.5px;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px !important;
}

#suggested-locations>div {
    display: flex;
    align-items: center;
}

#suggested-locations span {
    font-size: 14px;
    color: #c0c0c0;
}

#suggested-locations #username,
#suggested-locations #location {
    color: #5d5d5d;
    text-transform: capitalize;
}

#filter {
    background-color: #fff;
    padding: 40px 40px 25px;
    margin-bottom: 20px;
}

.box {
    margin: 25px 0;
    display: flex;
    align-items: center;
    user-select: none;
}

.box label {
    font-size: 14px;
    color: #5d5d5d;
    position: absolute;
    z-index: 10;
    padding-left: 30px;
    /* padding-top: 10px; */
    cursor: pointer;
}

.box input {
    opacity: 0;
    visibility: hidden;
    position: absolute;
}

.box input:checked~.check {
    border-color: #6cd2b2;
    box-shadow: 0px 0px 0px 15px #6cd2b2 inset;
}

.box input:checked~.check::after {
    opacity: 1;
    transform: scale(1);
}

.box .check {
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: #fff;
    border: 2px solid #b5b5b5;
    transition: all 0.15s cubic-bezier(0, 1.05, 0.72, 1.07);
}

.box .check::after {
    content: "";
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 4;
    position: absolute;
    transform: scale(0);
    background-size: 50%;
    background-image: url("http://s6.picofile.com/d/8392306668/c38c12a0-6db3-47d4-a80c-7dad8fab5186/checkmark.svg");
    background-repeat: no-repeat;
    background-position: center;
    transition-delay: 0.2s !important;
    transition: all 0.25s cubic-bezier(0, 1.05, 0.72, 1.07);
}

/*Legend specific*/
.legend {
    padding: 6px 8px;
    font: 11px Arial, Helvetica, sans-serif;
    background: white;
    background: rgba(255, 255, 255, 0.8);
    /*box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);*/
    /*border-radius: 5px;*/
    line-height: 20px;
    color: #555;
}

.legend h4 {
    text-align: center;
    font-size: 14px;
    margin: 2px 12px 8px;
    color: #777;
}

.legend span {
    position: relative;
    /* bottom: 3px; */
}

.legend i {
    width: 18px;
    height: 18px;
    float: left;
    margin: 0 8px 0 0;
    opacity: 0.7;
}

.legend i.icon {
    background-size: 18px;
    background-color: rgba(255, 255, 255, 1);
}

.swal2-popup.swal2-modal.swal2-show{
    width: 44em im !important;
}
.italicise-class .swal2-content b{
	font-weight:bold !important;
}
.italicise-class .swal2-content{
    text-align: left !important;
	font-style: italic !important;
	font-size:12px !important;
}
/* Media Queries  */
@media only screen and (max-width: 600px) {
    .leaflet-control-geosearch.leaflet-geosearch-bar {
        display: none;
    }
}
tbody {
    height: 80em;
    overflow: scroll;
  }