:root {
    --color-main: #535353;
    --color-purple: #6E5593;
    --color-white: #fff;
    --color-grey: #F6F4F8;
}

body{
    background: var(--color-grey);
    font-family: 'Montserrat', sans-serif;
}

body a.bi span, body button.bi span {
    padding-left: 5px;
}

header nav div.container-fluid a.navbar-brand img {
    height: 40px;
}

main {
    height: 100%;
    margin-bottom: -35px;
}

footer {
    z-index: 10;
}

main > .container-fluid {
    padding: 58px 5px 35px;
    height: 100%;
    overflow: auto;
}

main .h-purple{
    border-bottom: 1px solid var(--color-purple) !important;
    color: var(--color-purple);
}

main a {
    color: var(--color-purple);
    text-decoration: none;
}

main a:active, main a:hover {
    color: var(--color-purple);
    text-decoration: underline;
}
.input-group-append {
    cursor: pointer;
}

#map {
    height: 100%;
}

.h-calc-hv {
    height: calc(100vh - 144px);
}

.marker-position {
    padding: 2px;
    left: 12px;
    top: 37px;
    border: 1px solid;
    background-color: #fff;
    position: absolute;
}

@media (max-width: 768px) {
    .h-calc-hv {
        height: calc(100vh - 150px);
    }
}

#loader {
    display:    none;
    position:   fixed;
    z-index:    1000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba( 255, 255, 255, .8 ) url('/images/loading.gif') 50% 50% no-repeat;
}

body.loading {
    overflow: hidden;
}

body.loading #loader {
    display: block;
}

#route-map::after {
    position:absolute; width:0; height:0; overflow:hidden; z-index:-1;
    content:url('/images/loading.gif');
}

#route-map .mapMarkerLabel {
    position: absolute;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    background-color: #e9ecef;
    border: 1px solid #aaa;
    min-width: 20px
}

#route-map .gmruler-label {
    position: absolute;
    padding: .2em .6em .3em;
    cursor: pointer;
    color: #fff;
    background-color: #777;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
}

#orderModify .chosen-container-single .chosen-single div {
    top: 7px;
}
#orderModify .chosen-container-single .chosen-single span {
    padding: 0.375rem 2.25rem 0.375rem 0.75rem;
}
#orderModify .chosen-container-single .chosen-single{
    height: 38px;
    background: none;
    font-size: 1rem;
}
#orderModify .chosen-container-single .chosen-drop{
    font-size: 1rem;
}