/* comments Style */

div#commentContainer {
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    position: relative;
    width: 100%;
    padding: 0;
    margin: 0;
}

div#mapContainer {
    height: 70vh;
    height: calc(var(--vh, 1vh) * 70);
    position: relative;
}

div#map {
    height: 70vh;
    height: calc(var(--vh, 1vh) * 70);
}
.overlay-message{
	margin-top: 45vh !important;
}

.opinion-container {
    margin-bottom: 11px;
}

.opinion-container .btn-group {
    width: 100%;
    border-bottom: 1px solid #e8e8e8;
    padding-bottom: 20px;
}

.opinion-text {
    margin-bottom: 5px;
}

.opinion-btn:focus{
    box-shadow:none !important;
}

.add-comment-btn {
    padding: 10px;
    position: relative;
}

.add-comment-btn button {
    width: 100%;
}

.comment-list {
    /* padding: 10px; */
    position: relative;
    height: calc(100vh - 58px);
    height: calc(calc(var(--vh, 1vh) * 100) - 58px);
}

.comment-container {
    background: #fff;
    margin: 10px;
    width: calc(100% - 20px) !important;
    display: block;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 5px;
    margin-top: 5px;
}

.comment-user-name {
    font-size: 12px;
    color: #a7a3a3;
    line-height: 13px;
}

.comment-text {
    font-size: 14px;
    line-height: 17px;
    margin-top: 5px;
    color: #5a5a5a;
}

.comment-container.Like {
    background: #f2fff1;
}

.comment-container.Opinion {
    background: #f6f7cb;
}

.comment-container.Dislike {
    background: #ffe6e6;
}
.comment-container {
    border: 1px solid #d6d6d6;
}
.mCSB_outside + .mCSB_scrollTools {
    right: -3px !important;
}

.comment-container:hover {
    border-color: #a5a5a5;
    cursor: pointer;
}

.legend-container {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    min-width: 250px;
}

.legend-color {
    position: absolute;
    width: 20px;
    height: 20px;
    /* border: 1px solid #b9b9b9; */
    border-radius: 2px;
    /* margin-top: -1px; */
    top: 5px;
    left: 7px;
}

.legend-title {
    display: inline-block;
    font-size: 15px;
    line-height: 30px;
    margin-left: 35px;
}

.legend-item {
    height: 30px;
    position: relative;
}

.legend-list {
    position: relative;
}

.legend-list button {
    margin-top: 12px;
}


.comment-disallow-container {
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    display: flex;
    align-items:center;
    justify-content: center;
    background: #191919;
}

.disallow-message {
    /* display: flex; */
    /* align-items:center; */
    color: #fff;
    font-size: 19px;
}

div#mapContainer #searchContainer {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    max-width: 450px;
    width: 100%;
}

div#mapContainer #searchContainer button {
    margin-right: 10px;
}

div#mapContainer #searchContainer input {
    width: calc(100% - 10px);
    margin-right: 10px;
    max-width: 450px;
}
.legend-rows{
    max-height: 300px;
    overflow-y: auto;
}

.overlayMapLabel {
    visibility: visible;
}
#showLegendBtn{
    display: none;
}
button#slideUpBtn {display: none;}
button#slideDownBtn {display: none;}
#commentToastPosition{
    position: absolute; top: 60px; left: 10px; z-index: 1;
}

.add-comment-btn.active #initAddComment {
    width: calc(100% - 50px);
}

.add-comment-btn button#disableAddCommentBtn {
    display: none;
}

.add-comment-btn.active button#disableAddCommentBtn {
    width: 45px;
    float:right;
    display: block;
}

.dark-overlay-new {
    position: absolute;
    width: 100%;
    height: 100%;
    display: block;
    background: rgba(0,0,0,0.7);
    z-index: 4;
}

.loading-percent {
    text-align: center;
    color: #fff;
    font-weight: 300;
    font-size: 20px;
}

.loading-percent span {
    font-size: 50px;
}

.loading-footer-label {
    width: 20%;
    max-width: 400px;
    margin: 0 auto;
    margin-top: 10px;
}

.loading-footer-label .progress {
    height: 2px;
}


@media only screen and (max-width: 600px) {
    #commentToastPosition{
        position: absolute; top: 80px; left: 10px; z-index: 1;
    }
    #mapContainer{
        margin-top: 60px;
        height: calc(70vh - 160px) !important;
        height: calc(calc(var(--vh, 1vh) * 70) - 160px) !important;
    }
    div#mapContainer #searchContainer {
        position: absolute;
        top: 10px;
        left: 5px;
        width: calc(100% - 10px);
        z-index: 1;
    }
    div#mapContainer #searchContainer input {
        width: calc(100% - 10px);
        margin-right: 5px;
        max-width: 450px;
        max-width: 100% !important;
        /* width: 100%; */
    }

    div#mapContainer #searchContainer button {
        margin-right: 5px;
    }
    #map{
        height: calc(70vh - 160px) !important;
        height: calc(calc(var(--vh, 1vh) * 70) - 160px) !important;
    }
    .container-fluid{
        overflow: hidden !important;
    }

    div#mapContainer #searchContainer {
        position: fixed;
        background: #fff;
        padding: 10px;
        top: 0;
        left: 0;
        width: 100%;
    }

    div#mapContainer #searchContainer button {
        top: 10px !important;
        right: 10px !important;
    }

    div#mapContainer #searchContainer input {
        height: 40px;
    }

    div#mapContainer #searchContainer button {
        height: 40px;
    }
    .legend-container {
        display: none;
    }
    div#commentBlock {
        position: fixed;
        bottom: 0;
        left: 0;
        z-index: 3;
        height: 100vh;
        height: calc(var(--vh, 1vh) * 100);
    }

    button#initAddComment {
        width: calc(90% - 5px);
    }
    button#slideUpBtn {display: block;}
    button#slideUpBtn {width: 10%;font-size: 22px;padding: 0px;line-height: 36px; float: right;}
    button#slideDownBtn {width: 10%;font-size: 22px;padding: 0px;line-height: 36px; float: right;}
    .dark-overlay{
        z-index: 2;
        position: fixed;
        top: 0;
    }

    .add-comment-btn.active #initAddComment {
        width: calc(100% - 100px);
    }

    .add-comment-btn.active button#disableAddCommentBtn {
        width: 45px;
        float:left;
        display: block;
        margin-right:10px
    }

}


table#facilityList th {
    position: sticky;
    top: -1px;
    box-shadow: 0 1px 2px 0px rgb(0 0 0 / 20%);
}
#mapStyleContainer{
    right: 60px;
}

.legend-item:hover {
    background: #424242;
    cursor: pointer;
    color: #fff;
}



/* header changes css */
div#listPageHeader {
    max-height: 70px;
    overflow: hidden;
    background: #1c5ea5;
    box-shadow: 0px 1px 8px 1px rgb(0 0 0 / 51%);
    position: absolute;
    z-index: 10;
    width: 100%;
    border-bottom: 3px solid #124071;
}

div#listPageHeader .dynamic-logo img {
    height: 62px;
    margin: 4px;
    margin-left: 13px;
}

div#listPageHeader .dynamic-logo {
    float: left;
}

div#listPageHeader .dynamic-heading {
    float: left;
    margin-left: 10px;
}

div#listPageHeader .static-heading {
    float: right;
    line-height: 70px;
    margin-right: 15px;
    color: #a9c4f7;
    font-weight: 400;
    text-transform: uppercase;
}

/* div#commentContainer {
    margin-top: 70px;
    height: calc(100vh - 70px);
} */

div#listPageHeader div#primaryHeadingText {
    font-size: 20px;
    line-height: 20px;
    margin-top: 13px;
    color: #c3d8ff;
    font-weight: 500;
    /* border-bottom: 1px solid #1551bf; */
    /* padding-bottom: 8px; */
    margin-bottom: 5px;
}

div#listPageHeader div#secondaryHeadingText {
    font-size: 13px;
    color: #85b6ff;
    line-height: 13px;
}

div#listPageHeader .static-heading {
    line-height: initial;
}

div#listPageHeader .static-heading-primary {
    text-align: right;
    margin-top: 12px;
    font-size: 18px;
}

div#listPageHeader .static-heading-secondary {
    text-align: right;
    font-size: 13px;
    color: #85b6ff;
    text-transform: initial;
}

div#listPageHeader div#secondaryHeadingText a {
    color: #a9ccff;
    text-decoration: none;
}

div#listPageHeader div#secondaryHeadingText a:hover {
    color: #c3d8ff;
}

div#listPageHeader .static-heading {
    overflow: hidden;
}

div#listPageHeader .static-heading-primary-container {
    float: left;
}

div#listPageHeader .static-heading-secondary-container {
    float: left;
    border-left: 1px solid #3577bd;
    margin-left: 10px;
}

div#listPageHeader .static-heading-secondary-container a {
    /* border: 1px solid #4780bd; */
    /* margin-top: 14px; */
    display: block;
    line-height: 67px;
    background: #17508e;
    /* border-radius: 6px; */
    /* margin-left: 10px; */
    font-size: 12px;
    max-width: 125px;
    padding-left: 5px;
    padding-right: 5px;
    color: #b9cde4;
    /* margin-bottom: 14px; */
    min-width: 120px;
    text-align: center;
}

div#listPageHeader .static-heading-secondary-container a:hover {
    background: #124071;
    text-decoration: none;
    color: #fff;
}

div#commentContainer {
    height: calc(100vh - 70px) !important;
    margin-top: 70px !important;
    overflow: hidden;
}

div#mapContainer {
    height: calc(70vh - 35px) !important;
}

div#map {
    height: calc(70vh - 35px) !important;
}

div#commentDistrictGrid {
    height: calc(30vh - 35px) !important;
}
.comment-list {
    height: calc(100vh - 128px) !important;
}


/* cc custom field css */
.cc-custom-ta-fields {
    background: #f5ffe7;
}

.cc-custom-va-fields {
    background: #e7f4ff;
}

#facilityList tr.selected {
    background: #3e3e3e !important;
    color: #fff !important;
}

#facilityList tr.selected td{
    background: #3e3e3e !important;
    color: #fff !important;
}

#facilityList tbody tr:hover {
    color: #212529 !important;
    background-color: #00000013 !important;
}

#facilityList tbody tr:hover td.cc-custom-ta-fields {
    color: #212529 !important;
    background-color: #d9e6c6 !important;
}

#facilityList tbody tr:hover td.cc-custom-va-fields {
    color: #212529 !important;
    background-color: #c8e0f5 !important;
}

#facilityList tbody tr.selected td.cc-custom-ta-fields {
    background: #264200 !important;
    color: #fff !important;
}

#facilityList tbody tr.selected td.cc-custom-va-fields {
    background: #032542 !important;
    color: #fff !important;
}
.cc-custom-ta-fields {
    text-align: center;
}

.cc-custom-ta-fields span {
    display: block;
}

.cc-custom-va-fields {
    text-align: center;
}

.cc-custom-va-fields span {
    display: block;
}

#facilityList tbody tr.selected:hover td.cc-custom-ta-fields {
    background: #264200 !important;
    color: #fff !important;
}

#facilityList tbody tr.selected:hover td.cc-custom-va-fields {
    background: #032542 !important;
    color: #fff !important;
}

#facilityList tbody tr.selected:hover td span {
    color: #fff !important;
}
#facilityList tbody tr.selected td span {
    color: #fff !important;
}

div#gridLoadingMessage {
    text-align: center;
    min-height: calc(30vh - 35px);
    background: #f5f5f5;
    padding-top: 10vh;
    text-transform: uppercase;
}

div#addCommentModal i.far.fa-question-circle {
    color: #ccc;
    font-size: 16px;
    font-weight: 300;
    margin-left: 5px;
}

div#addCommentModal i.far.fa-question-circle:hover {
    color: #b97f28;
    cursor: pointer;
}

.help-text-view {
    font-size: 12px;
    margin-bottom: 10px;
    color: #b97f28;
}



div#censusLegends {
    position: absolute;
    bottom: 35px;
    background: #ffffff;
    left: 65px;
    border-radius: 3px;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important;
    padding: 10px;
    min-width: 155px;
}

.census-color-box {
    float: left;
    width: 18px;
    height: 18px;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important;
    margin-top: 2px;
    margin-right: 5px;
    border-radius: 2px;
}

.census-check-container {
    float: left;
}

.census-legend-row {
    overflow: hidden;
}

div#censusLegendTitle {
    overflow: hidden;
}

div#censusLegendTitleText {
    float: left;
    color: #1c5ea5;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: bold;
}

div#censusLegendTitleIcon {
    float: right;
}

div#legendShow {
    display: none;
}

div#censusLegendTitleIcon {
    background: #1c5ea5;
    padding: 2px;
    height: 20px;
    width: 20px;
    line-height: 20px;
    /* padding-top: 4px; */
    position: relative;
    border-radius: 3px;
}

div#censusLegendTitleIcon i {
    color: #fff;
    font-size: 9px;
    /* line-height: 20px; */
    /* margin-top: -16px; */
    position: absolute;
    left: 5px;
    top: 3px;
}

div#censusLegendContent {
    border-top: 1px solid #ccc;
    margin-top: 8px;
    padding-top: 5px;
}

.census-color-box {
    border: 1px solid #bfbfbf;
}

div#legendShow i {
    top: 5px;
    left: 6px;
}

div#censusLegendTitleIcon i {
    cursor: pointer;
}

div#censusLegends {
    max-width: 219px;
}

.visibility-note {
    font-size: 11px;
    color: #d83737;
    line-height: 13px;
    margin-bottom: 5px;
    margin-top: -3px;
}

.census-check-container {
    max-width: calc(200px - 24px);
}

div#zoomLevelIndicator {
    text-align: center;
    font-size: 11px;
    border-top: 1px solid #efecec;
    margin-top: 10px;
    padding-top: 5px;
    text-transform: uppercase;
}

div#zoomLevelIndicator span {
    font-weight: bold;
    font-size: 10px;
    background: #606973;
    width: 20px;
    height: 20px;
    display: inline-block;
    border-radius: 3px;
    margin-left: 5px;
    margin-top: 3px;
    color: #fff;
    line-height: 20px;
}

.overlayCensusLabel {
    position: absolute;
    /*color: #fff;*/
    padding: 5px;
    display: block;
    width: auto;
    text-align: center;
    height: 25px;
    border-radius: 5px;
    font-weight: 400;
    /*color: rgb(78, 78, 78) !important;*/
    border: none !important;
    text-transform: uppercase;
    font-family: monospace;
    letter-spacing: 1px;
    font-size: 13px;
    font-weight: bold;
    visibility:hidden;
}

div#planOverlayContainerNew {
    right: 10px;
    position: absolute;
    width: 210px;
    z-index: 2;
    background: #e9ecef;
    top: 65px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.2)!important;
}

.plan-overlay-new-title {
    text-transform: uppercase;
    background: #007bff;
    color: #fff;
    padding: 7px;
    /* text-align: center; */
    border-bottom: 2px solid #0961bf;
    text-align: left;
    padding-left: 12px;
    font-size: 13px;
    line-height: 24px;
}

.plan-overlay-new-container .form-group {
    margin-bottom: 0px;
    padding: 5px;
}

.plan-overlay-new-container .form-group option {
    font-size: 12px;
}

.plan-overlay-new-container .form-group select {
    font-size: 12px;
}

.plan-overlay-visibility {
    float: right;
}

.plan-overlay-visibilty-trigger {
    display: none;
    cursor: pointer;
    margin-right: 7px;
    color: #fff;
}

.plan-overlay-visibilty-trigger.selected {
    display: block;
}

.plan-overlay-visibilty-trigger.plan-overlay-off.selected {
    color: #0961bf;
}
