.wsoummaps-routing-container, .wsoummaps-routing-error {
    width: 320px;
    background-color: white;
    padding-top: 3px;
	margin-top: 18px !important;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.wsoummaps-control-container .wsoummaps-routing-container-hide {
    width: 32px;
    height: 32px;
}

.wsoummaps-routing-container h2 {
    font-size: 14px;
}

.wsoummaps-routing-container h3 {
    font-size: 12px;
    font-weight: normal;
}

.wsoummaps-routing-collapsible .wsoummaps-routing-geocoders {
    margin-top: 20px;
}

.wsoummaps-routing-alt, .wsoummaps-routing-geocoders, .wsoummaps-routing-error {
    padding: 6px;
    margin-top: 2px;
    margin-bottom: 6px;
    border-bottom: 1px solid #ccc;
    max-height: 320px;
    overflow-y: auto;
    transition: all 0.2s ease;
}

.wsoummaps-control-container .wsoummaps-routing-container-hide .wsoummaps-routing-alt, 
.wsoummaps-control-container .wsoummaps-routing-container-hide .wsoummaps-routing-geocoders {
    display: none;
}

.wsoummaps-bar .wsoummaps-routing-alt:last-child {
    border-bottom: none;
}

.wsoummaps-routing-alt-minimized {
    color: #888;
    max-height: 64px;
    overflow: hidden;
    cursor: pointer;
}

.wsoummaps-routing-alt table {
    border-collapse: collapse;
}

.wsoummaps-routing-alt tr:hover {
    background-color: #eee;
    cursor: pointer;
}

.wsoummaps-routing-alt::-webkit-scrollbar {
    width: 8px;
}

.wsoummaps-routing-alt::-webkit-scrollbar-track {
    border-radius: 2px;
    background-color: #eee;
}

.wsoummaps-routing-alt::-webkit-scrollbar-thumb {
    border-radius: 2px;
    background-color: #888;
}

.wsoummaps-routing-icon {
    background-image: url('/img/leaflet.routing.icons.png');
    -webkit-background-size: 240px 20px;
    background-size: 240px 20px;
    background-repeat: no-repeat;
    margin: 0;
    content: '';
    display: inline-block;
    vertical-align: top;
    width: 20px;
    height: 20px;
}

.wsoummaps-routing-icon-continue         { background-position: 0 0; }
.wsoummaps-routing-icon-sharp-right      { background-position: -20px 0; }
.wsoummaps-routing-icon-turn-right       { background-position: -40px 0; }
.wsoummaps-routing-icon-bear-right       { background-position: -60px 0; }
.wsoummaps-routing-icon-u-turn           { background-position: -80px 0; }
.wsoummaps-routing-icon-sharp-left       { background-position: -100px 0; }
.wsoummaps-routing-icon-turn-left        { background-position: -120px 0; }
.wsoummaps-routing-icon-bear-left        { background-position: -140px 0; }
.wsoummaps-routing-icon-depart           { background-position: -160px 0; }
.wsoummaps-routing-icon-enter-roundabout { background-position: -180px 0; }
.wsoummaps-routing-icon-arrive           { background-position: -200px 0; }
.wsoummaps-routing-icon-via              { background-position: -220px 0; }

.wsoummaps-routing-geocoders div {
    padding: 4px 0px 4px 0px;
}

.wsoummaps-routing-geocoders input {
    width: 303px;
    width: calc(100% - 4px);
    line-height: 1.67;
    border: 1px solid #ccc;
}

.wsoummaps-routing-geocoders button {
    font: bold 18px 'Lucida Console', Monaco, monospace;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white;
    margin: 0;
    margin-right: 3px;
    float: right;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.wsoummaps-routing-add-waypoint:after {
    content: '+';
}

.wsoummaps-routing-reverse-waypoints:after {
    font-weight: normal;
    content: '\21c5';
}

.wsoummaps-routing-geocoders button:hover {
    background-color: #eee;
}

.wsoummaps-routing-geocoders input,.wsoummaps-routing-remove-waypoint,.wsoummaps-routing-geocoder {
    position: relative;
}

.wsoummaps-routing-geocoder-result {
    font: 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
    position: absolute;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    z-index: 1000; /* Arbitrary, but try to be above "most" things. */
}

.wsoummaps-routing-geocoder-result table {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 0 0 4px 4px;
    background-color: white;
    cursor: pointer;
}

.wsoummaps-routing-geocoder-result-open {
    max-height: 800px;
}

.wsoummaps-routing-geocoder-selected, .wsoummaps-routing-geocoder-result tr:hover {
    background-color: #eee;
}

.wsoummaps-routing-geocoder-no-results {
    font-style: italic;
    color: #888;
}

.wsoummaps-routing-remove-waypoint {
    background-color: transparent;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
}

.wsoummaps-routing-remove-waypoint:after {
    position: absolute;
    display: block;
    width: 15px;
    height: 1px;
    z-index: 1;
    right: 1px;
    top: 4px;
    bottom: 0;
    margin: auto;
    padding: 2px;
    font-size: 18px;
    font-weight: bold;
    content: "\00d7";
    text-align: center;
    cursor: pointer;
    color: #ccc;
    background: white;
    padding-bottom: 16px;
    margin-top: -16px;
    padding-right: 4px;
    line-height: 1;
}

.wsoummaps-routing-remove-waypoint:hover {
    color: black;
}

.wsoummaps-routing-instruction-distance {
    width: 48px;
}

.wsoummaps-routing-collapse-btn {
	cursor: pointer;
    position: absolute;
    top: 0;
    right: 6px;
    font-size: 24px;
    color: #ccc;
    font-weight: bold;
}

.wsoummaps-routing-collapse-btn:after {
    content: '\00d7';
}

.wsoummaps-routing-container-hide .wsoummaps-routing-collapse-btn {
    position: relative;
    left: 1px;
    top: 0px;
    display: block;
    width: 26px;
    height: 23px;
    background-image: url('/img/routing-icon.png');
}

.wsoummaps-routing-container-hide .wsoummaps-routing-collapse-btn:after {
    content: none;
}

.wsoummaps-top .wsoummaps-routing-container.wsoummaps-routing-container-hide {
    margin-top: 18px !important;
}
.wsoummaps-right .wsoummaps-routing-container.wsoummaps-routing-container-hide {
    margin-right: 10px !important;
}
.wsoummaps-bottom .wsoummaps-routing-container.wsoummaps-routing-container-hide {
    margin-bottom: 10px !important;
}
.wsoummaps-left .wsoummaps-routing-container.wsoummaps-routing-container-hide {
    margin-left: 10px !important;
}

@media only screen and (max-width: 640px) {
    .wsoummaps-routing-container {
        /*margin: 0 !important;*/
        /*padding: 0 !important;*/
        width: 81%;
        height: 80%;
    }
}




.wsoummaps-container input {
    margin-bottom: inherit;
}

.wsoummaps-container button {
    display: inherit;
    height: inherit;
    width: inherit;
    padding: inherit;
    box-sizing: inherit;
}

.wsoummaps-container th, .wsoummaps-container td {
    padding: inherit;
    border-bottom: inherit;
}

.wsoummaps-container h2, .wsoummaps-container h3 {
    line-height: inherit;
    letter-spacing: inherit;
    margin-top: inherit;
    margin-bottom: inherit;
    font-weight: inherit;
}



.wsoummaps-routing-error h3 {
    font-size: 16px;
}

#osrm-error {
    position: fixed;
    top: 24px;
    left: 25%;
    right: 25%;
    padding: 20px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
    z-index: 1001;
    display: none;
}

#osrm-error-close {
    position: absolute;
    top: 0px;
    right: 8px;
    font-size: 24px;
    font-weight: bold;
    color: inherit;
    text-decoration: none;
}



/* Buttons
–––––––––––––––––––––––––––––––––––––––––––––––––– */
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-block;
  height: 38px;
  padding: 0 30px;
  color: #555;
  text-align: center;
  /*font-size: 11px;*/
  font-weight: 600;
  line-height: 38px;
  letter-spacing: .1rem;
  /*text-transform: uppercase;*/
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border-radius: 4px;
  border: 1px solid #bbb;
  cursor: pointer;
  box-sizing: border-box;
  }

button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,

button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
  color: #333;
  border-color: #888;
  outline: 0; }
.button-primary,
button.button-primary,
input[type="submit"].button-primary,
input[type="reset"].button-primary,
input[type="button"].button-primary {
  color: #FFF;
  background-color: #33C3F0;
  border-color: #33C3F0; }
.button-primary:hover,
button.button-primary:hover,
input[type="submit"].button-primary:hover,
input[type="reset"].button-primary:hover,
input[type="button"].button-primary:hover,
.button-primary:focus,
button.button-primary:focus,
input[type="submit"].button-primary:focus,
input[type="reset"].button-primary:focus,
input[type="button"].button-primary:focus {
  color: #FFF;
  background-color: #1EAEDB;
  border-color: #1EAEDB; }




/* Spacing
–––––––––––––––––––––––––––––––––––––––––––––––––– */
button {
  margin-bottom: 1rem; }

