﻿.data-query-container.us-map-query-container .section-container .section-title {
    background-color: #440e62;
    padding: 10px 20px;
    color: #fff;
}

.data-query-container.us-map-query-container .section-container .section-content {
    padding: 15px 15px;
}

.data-query-container.us-map-query-container .section-container select {
    width: 60%;
    margin-left: 0;
}

.data-query-container.us-map-query-container [type="radio"]:not(:checked) + span, .data-query-container [type="radio"]:checked + span {
    font-size: 1.4rem;
}

.drc-data-alert {
    border-left: none;
    font-size: 1.2rem;
    padding: 10px 20px;
}

/* From cahmi.org */
.map-legend {
}

    .map-legend p {
        font-size: small;
        padding-left: 30px;
    }

    .map-legend br {
        display: block;
        margin: 10px 0;
    }

    .map-legend h5 {
        margin-bottom: 10px;
        font-size: 1.6rem;
        margin-top: -2px;
    }

.map-content p.data-source-note {
    font-size: 12.5px;
    margin-top: 10px;
}

.map-content {
    padding: 1% 10%;
}

.map-container {
    width: 100%;
}

/*.map-container > .row {
        min-height: 625px;
    }*/

.map-legend-container {
    align-self: flex-end;
}

.map-legend-block {
    padding-bottom: .25em;
}

.map-legend-box {
    float: left;
    width: 25px;
    height: 20px;
    margin-right: 3px;
    border: 1px solid rgba(0, 0, 0, .2)
}

p.map-legend-stat {
    font-size: 12.5px;
    padding-left: 0;
}

.us-map-container.green .map-colorcode-1 {
    background-color: #689f68;
}

.us-map-container.green .map-colorcode-2 {
    background-color: #d2ebd3;
    background-image: url('/Content/Images/map-legend/map-colorcode-2.png');
}

.us-map-container.green .map-colorcode-3 {
    background-color: #13ff13;
    background-image: url('/Content/Images/map-legend/map-colorcode-3.png');
}

.us-map-container.green .map-colorcode-4 {
    background-color: #88e78c;
}

.us-map-container.blue .map-colorcode-1 {
    background-color: #3176f5;
}

.us-map-container.blue .map-colorcode-2 {
    background-color: #66a8ff;
    background-image: url('/Content/Images/map-legend/map-colorcode-2-blue.png');
}

.us-map-container.blue .map-colorcode-3 {
    background-color: #a6ceff;
    background-image: url('/Content/Images/map-legend/map-colorcode-3-blue.png');
}

.us-map-container.blue .map-colorcode-4 {
    background-color: #e6edff;
}

.map-colorcode-grey {
    background: lightgray;
}

.map-colorcode-green {
    background: #68afa4
}

.modal-main-grid {
    margin-bottom: 1em;
}

    .modal-main-grid,
    .modal-main-grid div {
        border: 1px solid rgba(0, 0, 0, .2);
    }

p#mapNotes {
    font-size: 12.5px;
}

#map {
    width: 100%;
    height: 600px;
    padding-top: 30px;
}

/* Modal */

.modal-dialog.modal-xlg {
    max-width: 900px;
}

.data-query-results-modal {
    font-size: 12px;
}

    .data-query-results-modal a:not([href]):not([class]) {
        text-decoration: none;
        color: #369486;
        transition: 0.3s;
    }

        .data-query-results-modal a:not([href]):not([class]):hover, .data-query-results-modal a:not([href]):not([class]):active {
            text-decoration: underline;
            cursor: pointer;
        }

.modal-cahmi-data-query .modal-header button.close {
    position: absolute;
    right: 20px;
    top: 15px;
}

.modal-cahmi-data-query .modal-title #variableName {
    padding-right: 30px;
}

/* Overrides */
div#mapInfoLabel {
    font-weight: 700;
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.map-content {
    padding: 35px 0 0 0;
}

    .map-content p {
        margin: 0;
    }

.map-legend p {
    margin: 0;
}

p#citation {
    padding: 0 0 0 20px;
    margin: 0;
}

.row:after {
    clear: both;
    content: '';
    display: table;
}

.col-8 {
    width: 66.7%;
    float: left;
}

.col-7 {
    width: 58.3%;
    float: left;
}

.col-6 {
    width: 50%;
    float: left;
}

.col-4 {
    width: 41.6%;
    float: left;
}

.col-4,
.col-md-4 {
    width: 33.3%;
    float: left;
    padding: 0 10px;
    font-size: 1.6REM;
}

h4#modalTitle {
    font-size: 1.6rem;
    margin-top: 10px;
    margin: 10px 20px 5px 0;
}

.modal-header {
    border-bottom: none;
}

    .modal-header .close {
        margin-top: -2px;
        position: absolute;
        right: 20px;
        top: 0;
    }

span#pSurveyName {
    margin-bottom: 11px;
    display: block;
}

.modal-body .row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0;
}

.modal-footer-text p {
    margin: 0;
}

.modal-main-grid div.row {
    border: none;
}

.map-legend p.map-legend-stat:before,
p.data-source-note:before {
    content: "";
    display: table;
    clear: both;
}

.map-content {
    padding-top: 0;
}


.pdf-utilities {
    font-size: 24px;
    float: right;
}

    .pdf-utilities a {
        color: #000;
        text-decoration: none;
    }

    .pdf-utilities i.fa-file-pdf {
        color: red;
        padding-right: 10px;
    }

    .pdf-utilities i.fa-print {
        color: #000;
    }

.map-content:before {
    content: "";
    display: table;
    clear: both;
}

#measureContainers label > span {
    margin-left: 5px;
}