p.hide, div.hide {
    visibility: hidden;
    display: none;
}

div.show {
    display: block;
    visibility: visible;
}

main {
    margin-top: 60px;
}

div.accordion > div.card {
    border: none;
}

div.accordion > div.card > div.card-header {
    background-color: white;
    border: none;
}

/*#region Photo tool tips*/
div.tooltip.show {
    opacity: unset;
}

    div.tooltip.show.bs-tooltip-left div.arrow::before {
        border-left-color: #007B5F;
    }

    div.tooltip.show.bs-tooltip-right div.arrow::before {
        border-right-color: #007B5F;
    }

    div.tooltip.show div.tooltip-inner {
        background-color: #99CABF;
        border: 1px solid #007B5F;
        color: black;
    }

    div.tooltip.show img {
        max-width: 160px;
        max-height: 100px;
    }
/*#endregion*/

/*#region To make Blazored Modal look and feel like Bootstrap Modal*/
.blazored-modal-container {
    z-index: 1050;
}

.blazored-modal-overlay {
    z-index: 1051;
}

.blazored-modal {
    margin: .5rem;
    max-height: calc(100% - .5rem);
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    width: auto;
    z-index: 1052;
}

.blazored-modal-header {
    margin: 1rem 0px;
    border-bottom: 1px solid rgba(0,0,0,.1);
}
/*#endregion*/

/*#region MS Fluent UI additions and tweaks*/
/*These icons look better than the ones retrieved by the MS Fluent CSS file.*/
.ms-ItemTypeIcon--csv.ms-ItemTypeIcon--icon16 {
    content: url(https://static2.sharepointonline.com/files/fabric/assets/item-types/16/csv.svg);
}
.ms-ItemTypeIcon--docx.ms-ItemTypeIcon--icon16 {
    content: url(https://static2.sharepointonline.com/files/fabric/assets/item-types/16/docx.svg);
}

.ms-ItemTypeIcon--genericfile.ms-ItemTypeIcon--icon16 {
    content: url(https://static2.sharepointonline.com/files/fabric/assets/item-types/16/genericfile.svg);
}

.ms-ItemTypeIcon--pdf.ms-ItemTypeIcon--icon16 {
    content: url(https://static2.sharepointonline.com/files/fabric/assets/item-types/16/pdf.svg);
}

.ms-ItemTypeIcon--photo.ms-ItemTypeIcon--icon16 {
    content: url(https://static2.sharepointonline.com/files/fabric/assets/item-types/16/photo.svg);
}

.ms-ItemTypeIcon--pptx.ms-ItemTypeIcon--icon16 {
    content: url(https://static2.sharepointonline.com/files/fabric/assets/item-types/16/pptx.svg);
}

.ms-ItemTypeIcon--txt.ms-ItemTypeIcon--icon16 {
    content: url(https://static2.sharepointonline.com/files/fabric/assets/item-types/16/txt.svg);
}

.ms-ItemTypeIcon--rtf.ms-ItemTypeIcon--icon16 {
    content: url(https://static2.sharepointonline.com/files/fabric/assets/item-types/16/rtf.svg);
}

.ms-ItemTypeIcon--video.ms-ItemTypeIcon--icon16 {
    content: url(https://static2.sharepointonline.com/files/fabric/assets/item-types/16/video.svg);
}

.ms-ItemTypeIcon--xlsx.ms-ItemTypeIcon--icon16 {
    content: url(https://static2.sharepointonline.com/files/fabric/assets/item-types/16/xlsx.svg);
}

.ms-ItemTypeIcon--zip.ms-ItemTypeIcon--icon16 {
    content: url(https://static2.sharepointonline.com/files/fabric/assets/item-types/16/zip.svg);
}

.file-fmp { /*for File Maker Pro*/
    content: url("../images/filemaker16.png");
}

.ms-ItemTypeIcon--icon16{
    background-size: 100% 100%;
    width: 16px;
    height: 16px;
}
/*#endregion*/

/*#region WSDOT SVG Logo*/
.wsdot-logo {
    height: 150px;
    width: 150px;
    background-image: url("../images/WSDOT_Logo.svg");
}

    .wsdot-logo.wsdot-logo-green {
        filter: invert(32%) sepia(13%) saturate(6152%) hue-rotate(134deg) brightness(98%) contrast(101%);
    }

    .wsdot-logo.wsdot-logo-white {
        filter: invert(100%) sepia(100%) saturate(29%) hue-rotate(131deg) brightness(108%) contrast(106%);
    }

    .wsdot-logo.wsdot-logo-sm {
        height: 24px;
        width: 24px;
    }
/*#endregion*/

.link {
color: blue;
cursor: pointer;
}

.link:hover {
    text-decoration: none;
    color: #007B5F;
}

.cursor-pointer {
    cursor: pointer;
}

@media (max-width: 767.98px) {

    #resultGrid {
        width: 100%;
    }

        #resultGrid table {
            table-layout:fixed;
            overflow:hidden;
        }

        #resultGrid div.card-header {
            padding-left:3px;
            padding-right:3px;
        }

            #resultGrid table tr th:nth-child(1),
            #resultGrid table tr th:nth-child(2),
            #resultGrid table tr th:nth-child(3) {
                padding-left: 6px;
                padding-right: 6px;
            }

            #resultGrid table tr td:nth-child(1),
            #resultGrid table tr td:nth-child(2),
            #resultGrid table tr td:nth-child(3) {
                padding-left: 6px;
                padding-right: 6px;
            }

            #resultGrid table tr th:nth-child(1),
            #resultGrid table tr td:nth-child(1) {
                width: 25%;
            }

            #resultGrid table tr th:nth-child(2),
            #resultGrid table tr td:nth-child(2) {
                width: 30%;
            }

    .curtail_long_text {
        text-wrap: none;
        white-space: nowrap;
        display: inline-block;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .col_text {
        text-wrap: none;
        white-space: nowrap;
        overflow-x:hidden;
        text-overflow: ellipsis;
    }

    div#map {
        width: 85vW;
        height: 70vh;
    }
}

@media (min-width: 576px) {
    .search input.form-control:not(#fromMilepost):not(#toMilePost)::placeholder {
        opacity: 0;
    }

    .search input.form-control::placeholder {
        font-size: small;
    }

    /*#region To make Blazored Modal look and feel like Bootstrap Modal*/
    .blazored-modal-container {
    }

    .blazored-modal {
        max-width: unset;  /*Set max-width of component in modal*/
        margin: 1.75rem auto;
        max-height: calc(100% - 1.75rem);
    }
    /*#endregion*/
}

@media (min-width: 768px) {
    main {
        margin-top: 95px;
    }

    th.desc-grid-column, td.desc-grid-column {

    }

    div#map {
        width: 70vW;
        height: 70vh;
    }
}

/*#region Bootstrap CSS for printing*/
@media print {
    .d-lg-block {
        display: block!important;
    }

    .d-lg-none, .blazored-modal-header {
        display: none !important;
    }

    .text-lg-right {
        text-align: right!important;
    }

    .text-lg-left {
        text-align:left!important;
    }

    .col-lg {
        flex: 1 0 0%;
    }

    .col-lg-auto {
        flex: 0 0 auto;
        width: auto;
    }

    .col-lg-1 {
        flex: 0 0 auto;
        width: 8.3333333333%;
    }

    .col-lg-2 {
        flex: 0 0 auto;
        width: 16.6666666667%;
    }

    .col-lg-3 {
        flex: 0 0 auto;
        width: 25%;
    }

    .col-lg-4 {
        flex: 0 0 auto;
        width: 33.3333333333%;
    }

    .col-lg-5 {
        flex: 0 0 auto;
        width: 41.6666666667%;
    }

    .col-lg-6 {
        flex: 0 0 auto;
        width: 50%;
    }

    .col-lg-7 {
        flex: 0 0 auto;
        width: 58.3333333333%;
    }

    .col-lg-8 {
        flex: 0 0 auto;
        width: 66.6666666667%;
    }

    .col-lg-9 {
        flex: 0 0 auto;
        width: 75%;
    }

    .col-lg-10 {
        flex: 0 0 auto;
        width: 83.3333333333%;
    }

    .col-lg-11 {
        flex: 0 0 auto;
        width: 91.6666666667%;
    }

    .col-lg-12 {
        flex: 0 0 auto;
        width: 100%;
    }
}
/*#endregion*/