#mainContainer {
    display: -ms-grid; /*IE :(*/
    display: grid;
    -ms-grid-columns: 1fr 3fr; /*IE :(*/
    grid-template-columns: repeat(auto-fit, minmax(200px, 3fr));
    -ms-grid-rows: 1fr; /*IE :(*/
    grid-auto-rows: auto minmax(0, 1fr);
    text-align: center;
    /*height: 70vh;*/
    height: calc(100vh - 110px);
    /*margin-top: 20px;*/
    width: auto;
}

#loginGrid {
    /*padding-top: 20px;*/
    place-self: center;
    width: 80%;
    -ms-grid-column-span: 1; /*IE :(*/
    -ms-grid-column: 1; /*IE :(*/
    -ms-grid-column-align: center; /*IE :(*/
    -ms-grid-row-align: center; /*IE :(*/
}

#loginGrid a:not(:last-child) {
    margin-bottom: 2rem;
}


#errorContainer {
    max-width: 100%;
}

#divPA {
    /*text-align: center;*/
    grid-column: span 3;
    border: 1px solid #BBBBBB;
    -ms-grid-column-span: 3; /*IE :(*/
    -ms-grid-column: 2; /*IE :(*/
    background-color: lightgray;
}

#projAct {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: left;
    margin: 10px 20px;
}

p:hover span {
    text-decoration: underline;
    cursor: pointer;
}

.map_display {
    text-align: center;
    grid-column: span 4;
    overflow: hidden;
    /*border: 1px solid #BBBBBB;*/
    -ms-grid-column-span: 3; /*IE :(*/
    -ms-grid-column: 2; /*IE :(*/
}

#mapDiv, #milestoneDiv {
    height: 100%;
}

.slide_info {
    z-index: 999;
    color: #ffffff;
    font-size: 14px;
}

.slide_info H1 {
    color: #ffffff;
    font-size: 30px;
}

.regular-link, .ui-widget-content .regular-link {
    color: #B22D30;
    text-decoration: underline;
}

.leaflet-control-layers, #loginHeader {
    text-align: left;
}

#loginHeader {
    width: 100%;
    cursor: default;
}

#btnResetPassword {
    cursor: pointer;
}

/*Terracon Branding*/
#mainContainer {
    background-image: url("../../Images/TCP_TileableBG_Green.jpg");
    /*background-image: url("../../Images/topo_background.png");*/
}

#lnkViewReports, #lnkAccount, #lnkAttributes, #bar2, #bar0, #lnkSurvey {
    display: none;
}

#btnLogout {
    margin-left: 20px;
}

#menucontainer a:hover {
    color: #B91508;
}

.ui-dialog {
    border-radius: 3px;
    z-index: 1000;
}

/*.ui-button:hover, #btnLogin:hover, #btnLogin2:hover, #btnLogout:hover, .ui-tabs-active a {
    background: #8B0F05 !important;
    color: #F7F7F7 !important;
    border: none;
}*/

.ui-button.ui-state-default, #btnLogin, .ui-dialog-titlebar, .ui-corner-all.ui-state-focus {
    /*background: #B91508;*/
    border-radius: 0px;
    color: #FFFFFF;
    border: none;
    padding: 0.4em 1em;
    font-size: 10pt;
}

.ui-dialog, .ui-widget-content {
    border: 1px solid #858585;
}

.ui-dialog, .ui-widget-content {
    border: 1px solid #858585;
}

.ui-tabs-nav {
    background: #D0D5D8;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    border: none;
}

.ui-tabs .ui-tabs-nav li a, .ui-tabs-collapsible {
    background: #F7F7F7;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    color: #B91508;
    border: none;
}

.ui-tabs .ui-tabs-nav li a:hover, .ui-tabs-collapsible:hover .ui-tabs-nav:hover li.ui-tabs-active a:hover, .ui-tabs-nav li a:hover, li.ui-tabs-active a:focus {
    /*background: #8B0F05;*/
    color: #FFFFFF;
}

#groupTree {
    border: none;
    /*width: 98%;*/
    height: 98%;
}

ul.dynatree-container {
    border: none !important;
}

p.ms1 {
    margin: 5px 0 0 0;
    font-weight: bold;
    font-size: 9pt;
}

p.ms2 {
    margin: 0;
    font-weight: bold;
    font-size: 12px;
}

/* milestones */
.msContainer {
    /*border: solid gray 1px;*/
    background: white;
    /*margin-bottom: 1em;*/
    padding: 0px;
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 2fr;
    grid-template-areas: "projects  past" "projects  future";
    display: -ms-grid;
    -ms-grid-rows: 1fr 1fr;
    -ms-grid-columns: 1fr 2fr;
    
}

.msBanner {
    /*line-height: 45px;*/
    /*height: 50px;*/
    /*width: 100%;*/
    /*background-image: url("../../Images/2021_Red_Page_Header.jpg");*/
    /*background-image: url("../../Images/TCP_TileableBG_Green.jpg");*/
    background-color: #0091D0;
    /*font-size: xx-large;*/
    /*margin: 0 0 5px 0;*/
    padding: 0px 0px;
    /*font-weight: bold;*/
    text-align: left;
}

.item {
    /*background: lightgray;*/
    /*border: solid 2px #305077;*/
    text-align: left;
    /*font-size: 2em;*/
    margin: 5px;
    /*color: white;*/
    /*font-weight: bold;*/
}

    /*.item:nth-child(1) {
        grid-area: header;
        background-color: #b91508;
        color: white;
        font-size: xx-large;
        margin: 0 0 5px 0;
        padding: 20px 10px;
        font-weight: bold;
    }*/

    .item:nth-child(1) {
        grid-area: projects;
        display: flex;
        -ms-grid-row-span: 2;
        -ms-grid-column: 1;
    }

    .item:nth-child(2) {
        grid-area: past;
        display: flex;
        -ms-grid-row: 1;
        -ms-grid-column: 2;
    }

    .item:nth-child(3) {
        grid-area: future;
        display: flex;
        -ms-grid-row: 2;
        -ms-grid-column: 2;
    }

#divSearchInput {
    font-size: small;
    max-width: 500px;
}

#divFilterInput {
    font-size: small;
    max-width: 270px;
}

#divFilterInput .divFilterOptions {
    text-align: left;
    text-decoration: underline;
    margin: 5px 0px -5px 0px;
    cursor: pointer;
}

#txtSearchAddress, #txtProjectNumber, #txtProjectName {
    width: 96%;
    border-style: solid;
}

#btnSearch, #btnClose, #btnFilter, #btnFilterClose, #btnClearFilter {
    background: #B91508;
    border-radius: 3px;
    color: #FFFFFF;
    border: none;
    padding: .4em 1em .4em 1em;
    font-weight: bold;
    margin: 12px 5px 0px 5px;
}

#searchButton, #filterButton {
    border-bottom-color: #ffffff;
}

#filterMsg {
    cursor: pointer;
}

#cboServiceLine, #cboProjectYear, #cboProjectStatus, #cboFacilityType {
    width: 97%;
    border-style: solid;
}

.ui-widget-header {
    background-color: #0091D0;
    border: 1px solid #0091D0;
}

.ui-button {
    padding: 0.4em 1em;
}

input, select, input::before, input::after, select::before, select::after {
    border-width: 1px;
    border-style: inherit;
    border-color: revert;
}

input::-webkit-calendar-picker-indicator {
    display: none !important;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold !important;
}

.nationalAccountLinks {
    color: black;
}

.nationalAccountLinks:hover {
    color: red;
    cursor: pointer
}

#gridBar {
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    position: absolute;
    left: 45%;
    margin-top: 200px;
    height: 21px;
    width: 143px;
    background-color: #BBBBBB;
    color: #000000;
    z-index: 1000;
    bottom: 0%;
    cursor: pointer;
    border-top: 1px solid #333333;
    border-right: 1px solid #333333;
    border-left: 1px solid #333333;
}

#gridBarText {
    position: absolute;
    font-size: 10pt;
    color: #000000;
    /* font-weight: bold; */
    white-space: nowrap;
    margin: 1px 16px;
}

#gridBar:hover, #gridBar:hover p {
    color: #FFFFFF;
}

#gridBar:hover {
    background-color: #0091D0;
    /*border-top: 1px solid #F7F7F7;
    border-right: 1px solid #F7F7F7;
    border-left: 1px solid #F7F7F7;*/
}

#divList {
    position: relative;
    width: 100%;
    background-color: white;
}

#projectList {
    width: 100%;
    height: 100%;
    font-size: 11px;
}

.wj-colheaders .wj-header {
    background-color: darkgray !important;
}

.wj-cells .wj-row:hover .wj-cell:not(.wj-state-selected):not(.wj-state-multi-selected) {
    background-color: #ccc;
}

.wj-cells a {
    text-decoration: underline;
}

#notificationText {
    padding: 8px 20px 10px 20px;
    font-size: 8pt;
    color: black;
    z-index: 1000;
    position: absolute;
    left: 25%;
    bottom: 10%;
    width: auto;
    height: fit-content;
    top: 10px;
    display: block;
    background-color: lightyellow;
    opacity: .9;
    text-align: justify;
    border: 2px solid #333333;
    border-radius: 3px;
    right: 25%;
    max-width: 50%;
    max-height: 70%;
}

#dialog-selected-site {
    line-height: 1.875em;
    min-height: 150px;
    display: block;
}

#dialog-selected-content {
    padding: 50px;
}

#dialog-selected-site .dialog-header {
    font-size: 34px;
    line-height: 1.4em;
    letter-spacing: .32px;
    margin-bottom: 15px;
    margin-top: 15px;
    font-weight: 400;
    text-align: center;
}

#dialog-selected-site .section {
    padding: 10px;
}

#dialog-selected-site .section-header {
    font-size: 18px;
    font-weight: bold;
    padding-top: 10px;
    padding-bottom: 10px;
}

#dialog-selected-site .form-input label {
    font-size: 12px;
    margin-bottom: .5rem;
}

#dialog-selected-site .form-input-text input:not([type=submit]):not([type=button]):not([type=checkbox]):not([type=radio]),
#dialog-selected-site select,
#dialog-selected-site textarea {
    border: 1px solid #858585;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    color: #333;
    background-color: #fff;
    width: calc(100% - 32px);
    padding: 10px 15px
}

#dialog-selected-site .form-input select {
    width: 100%;
}

#dialog-selected-site button {
    color: #fff;
    background-color: #8c2004;
    font-size: 16px;
    line-height: 52px;
    padding: 0 35px;
    margin: 1em 5px;
    letter-spacing: .31875px;
    font-weight: 700;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border: none;
    -webkit-appearance: button;
}

#dialog-selected-site button:hover {
    background: linear-gradient(270deg, #8C2004 0%, #B22D30 100%);
}

#dialog-selected-site hr {
    border-top: 5px solid lightgray;
}

#dialog-selected-site .form-checkbox {
    font-size: 12px;
    margin-top: .5rem;
}

label[for="dialog-selected-site-mailing-list"] {
    margin-left: 2em;
}

#btnSiteRpt, #btnSiteCancel {
    background: #B91508;
    border-radius: 3px;
    color: #FFFFFF;
    border: none;
    padding: .4em 1em .4em 1em;
    font-weight: bold;
    margin: 12px 5px 0px 5px;
}

#dialog-select-site {
    line-height: 1.875em;
    min-height: 150px;
    display: block;
}

#dialog-select-site .form-input label {
    font-size: 12px;
    margin-bottom: .5rem;
}

#dialog-select-site .form-input-text input:not([type=submit]):not([type=button]):not([type=checkbox]):not([type=radio]) {
    border: 1px solid #858585;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    color: #333;
    background-color: #fff;
    width: calc(100% - 32px);
    padding: 10px 15px;
}

#dialog-select-site button {
    color: #fff;
    background-color: #8c2004;
    font-size: 16px;
    line-height: 52px;
    padding: 0 35px;
    margin: 1em 5px;
    letter-spacing: .31875px;
    font-weight: 700;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border: none;
    -webkit-appearance: button;
}

#dialog-select-site button:hover {
    background: linear-gradient(270deg, #8C2004 0%, #B22D30 100%);
}

#dialog-select-site .required::after,
#dialog-selected-site .required::after {
    content: ' * ';
    color: red;
    display: inline;
}

#dialog-select-site .errorMessage,
#dialog-selected-site .errorMessage {
    color: red;
    display: inline;
    font-size: small;
}

#contactMethod {
    display: block;
}

#dialog-selected-site .activeFocus {
    outline-offset: 2px;
    outline: auto;
}

#dialog-site-request {
    margin-left: auto;
    margin-right: auto;
}

#dialog-site-request-content {
    margin-top: 1em;
    margin-bottom: 1em;
}

#dialog-site-request img {
    padding: inherit;
    margin: auto;
    width: 160px;
    display: block;
}

#dialog-site-request h1 {
    text-align: center;
}

#dialog-site-request p {
    font-size: 1.6em;
    text-align: center;
    margin: 1em 2.8em 1em 2.8em;
}

#dialog-site-request button {
    color: #fff;
    background-color: #8c2004;
    font-size: 16px;
    line-height: 52px;
    padding: 0 35px;
    letter-spacing: .31875px;
    font-weight: 700;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border: none;
    -webkit-appearance: button;
    margin: 0 auto;
    display: block;
}

#dialog-site-request button:hover {
    background: linear-gradient(270deg, #8C2004 0%, #B22D30 100%);
}

#dialog-survey h1 {
    display: block;
    font-size: 1rem;
}

    #dialog-survey h1.ErrorMsg::after {
        content: " Required.";
        color: red;
    }

#dialog-survey label.ErrorMsg::after {
    content: " Invalid input.";
    color: red;
}

#dialog-survey span {
    display: inline-block;
    margin-left: 1rem;
    margin-right: 1rem;
    transform: translateY(-0.4rem);
}

#dialog-survey textarea {
    display: block;
    margin: 1rem;
    width: 90%;
}

#dialog-survey label[for^="q"] {
    display: block;
    margin: 0.5rem 0 -0.5rem 1rem;
}

.survey-questions {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: inline-block;
}

.survey-questions li {
    float: left;
    margin: 0;
    width: 3rem;
    height: 1.4rem;
    position: relative;
}

.survey-questions label,
.survey-questions input {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.survey-questions label {
    border: 1px solid #CCC;
    cursor: pointer;
    text-align: center;
}

.survey-questions input[type="radio"] {
    opacity: 0;
}

.survey-questions input[type="radio"]:checked + label {
    background-color: #CCC;
}

.survey-questions label:hover {
    background-color: #CCC;
}

.survey-scale {
    white-space: nowrap;
}

#dialog-national-accounts select {
    width: 90%;
    border: 1px solid black;
    margin-top: 0.5rem;
}

#dialog-national-accounts .false {
    font-style: italic;
}

#btnEmployeeMilestones.Fusion {
    display: none !important;
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    background-color: #B22D30 !important;
}