body {
    font-family: 'Open Sans', sans-serif;
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 60px;
}

.logo {
    height: 53px;
}

    .logo span {
        float: left;
        font-size: 26px;
        color: #14407f;
        font-weight: 500;
        text-transform: uppercase;
        margin-left: 15px;
        margin-top: 8px;
    }

.dropdown:hover .dropdown-menu {
    display: block;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.l {
    float: left;
}

.r {
    float: right;
}

.clearall {
    float: inherit;
}

a {
    color: #3870c1;
}

footer {
    font-size: 11px;
}

.button {
    font-size: .9em;
    display: inline-block;
    background-color: #093272;
    color: #fff !important;
    text-decoration: none;
    padding: .25em .5em;
    margin-right: .25em;
    border: 2px solid #cccccc;
    text-align: center;
}

    .button:hover {
        background-color: #3870c1;
    }

.feature-button {
    display: inline-block;
    background-color: #3870c1;
    padding: .25em 1em;
    color: #fff;
    text-decoration: none;
    outline: 1px solid #fff;
    font-size: 14px;
}

    .feature-button:hover {
        background-color: #d13b13;
    }

.testing {
    background-color: tomato;
}


/* SEARCH STUFF */
.text-shopping-cart-minus {
    color: white;
    margin-top: -3px;
    margin-left: 2px;
    font-size: 10px !important;
}

.text-shopping-cart-remove {
    color: firebrick; /* maroon also seems to work */
}

.searchBuyLinkButton:hover, .searchBuyLinkButton:focus,
.searchRemoveLinkButton:hover, .searchRemoveLinkButton:focus,
.viewLinkButton:hover, .viewLinkButton:focus,
.viewNotesButton:hover, .viewNotesButton:focus {
    text-decoration: none;
}

.image-view-icon {
    vertical-align: middle;
    font-size: 25px !important;
}

.field-notes-icon {
    vertical-align: middle;
    font-size: 25px !important;
    padding-left: 2px;
    width: 26px;
}

.shopping-cart-buy {
    vertical-align: middle;
}


/* SLIDER TOGGLE BUTTON CHECKBOX */

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

    /* Hide default HTML checkbox */
    .switch input {
        display: none;
    }

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #a52a2a;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider.on {
        background-color: #008000;
    }

    .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #008000;
}

input:focus + .slider {
    box-shadow: 0 0 1px #008000;
}

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%;
    }


/***** USER NOTIFICATION *****/

.badge-alert span {
    color: white;
    margin-top: .3em;
}

.badge-alert i {
    color: grey;
}

.badge-alert.error i {
    color: red;
}

#header-cart-span {
    color: white;
    padding-left: 4px;
    font-size: smaller;
    padding-top: 1px;
}

#header-notification-messages {
    width: 700px;
    padding: 5px 10px 5px 10px;
}

.spinvisible {
    visibility: visible;
    opacity: 1;
    transition: opacity 2s linear;
}
/* Fade-Out Effect */
.spinhidden {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 2s, opacity 2s linear;
}

/* Absolute Center Spinner */
.loading {
    position: fixed;
    z-index: 9999;
    height: 2em;
    width: 2em;
    overflow: visible;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    /*transition: all 0.5s ease;*/
    transition: all 0.3s ease-in-out;
}

    /* Transparent Overlay */
    .loading:before {
        content: '';
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.3);
    }

    /* :not(:required) hides these rules from IE9 and below */
    .loading:not(:required) {
        /* hide "loading..." text */
        font: 0/0 a;
        color: transparent;
        text-shadow: none;
        background-color: transparent;
        border: 0;
    }

        .loading:not(:required):after {
            content: '';
            display: block;
            font-size: 10px;
            width: 1em;
            height: 1em;
            margin-top: -0.5em;
            -webkit-animation: spinner 1500ms infinite linear;
            -moz-animation: spinner 1500ms infinite linear;
            -ms-animation: spinner 1500ms infinite linear;
            -o-animation: spinner 1500ms infinite linear;
            animation: spinner 1500ms infinite linear;
            border-radius: 0.5em;
            -webkit-box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.5) -1.5em 0 0 0, rgba(0, 0, 0, 0.5) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
            box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) -1.5em 0 0 0, rgba(0, 0, 0, 0.75) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
        }

/* Animation */

@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
/* SPINNER END */

.RegularMunicipality {
    font-weight: bold;
}

.HistoricMunicipality {
    font-size: 90%;
}

.list-group a {
    padding-left: 52px;
}

.mapSearchMenuItem {
    padding-left: 15px !important;
    display: flex;
    align-items: center;
}

    .mapSearchMenuItem img {
        height: 100%;
    }

    .mapSearchMenuItem span {
        font-size: 120%;
        margin-left: 5px;
    }

.searchFormContainer {
    max-width: 600px;
}

.list-group-item-horizontal {
    background-color: rgb(255, 255, 255);
    border: 1px solid rgb(221, 221, 221);
    display: block;
    font-family: "Open Sans", sans-serif;
    height: 42px;
    line-height: 20px;
    margin-bottom: -1px;
    position: relative;
}

    .list-group-item-horizontal .list-group-item-horizontal-button {
        padding-bottom: 10px;
        padding-top: 10px;
        position: absolute;
        top: 0px;
        color: rgb(85, 85, 85);
        cursor: pointer;
        text-decoration-color: rgb(85, 85, 85);
        text-decoration-line: none;
        text-decoration-style: solid;
        text-decoration-thickness: auto;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    }

        .list-group-item-horizontal .list-group-item-horizontal-button:first-child {
            font-size: 14px;
            padding-left: 52px;
            padding-right: 52px;
            width: calc(100% - 124px);
        }

        .list-group-item-horizontal .list-group-item-horizontal-button:last-child {
            font-size: 12px;
            padding-left: 15px;
            padding-right: 15px;
            width: 124px;
            right: 0px;
            border-left: 1px solid rgb(221, 221, 221);
        }


        .list-group-item-horizontal .list-group-item-horizontal-button:hover {
            background-color: #f5f5f5;
        }
