body {
    font-family:  sans-serif;
    /*background: #fafafa;*/
}

p {
    font-family: sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}
y {
    color:yellow;
}
a,
a:hover, 
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}
    a.outlink {
        color: #FFF;
        font-weight:bold;
        text-decoration: underline;
        transition: all 0.3s;
    }
a.outlink:hover, a.outlink:focus{
    text-decoration:none;
}
.bgc-primary {
    background-color: #405C8B;
    /* -- 2019  background-color:#67c3e9;*/
    /*orange: #101F6C */
    /*dark blue: #293b96 */
    /*pink: #a32067 */
    /*green: #FFCD00; /*-- 2019 #93d500; -- */ */
    /*yellow: #ffce01 */
}
.bgc-secondary {
    background-color: #231F20;
    /* -- 2019 background-color: #293b96;*/
}
.bgc-pink {
    background-color: #231F20;
}
.bgc-red {
    background-color: #DE2726;
}
.bgc-yellow {
    background-color:#ffce01;
}
.bgc-orange {
    background-color:#101F6C;
}
.bgc-green {
    /*-- 2019 #93d500; -- */
    background-color: #101F6C;
}
    .bgc-green:hover {
        background-color: #e91d2d;
    }
.greenColor {
    color: #FFCD00; /*-- 2019 #93d500; -- */
}
.orangeColor {
    color: #101F6C;
}
.blueColor {
    color: #FFF;
    /* -- 2019 color: #293b96;*/
}
.btn-green {
    background-color: #FFCD00; /*-- 2019 #93d500; -- */
    color: #fff;
}
.btn-pink {
    background-color: #a32067;
    color: #fff;
}
.btn-blue {
    color: #231F20;
    /* -- 2019 color: #293b96;*/
    color: #fff;
}
.btn-orange {
    background-color: #101F6C;
    color: #fff;
    cursor:pointer;
}
.btn-yellow {
    color: #231F20;
    /*2019 color: #293b96;*/
    background-color: #ffce01;
    border-color: #231F20;
    /*2019 border-color: #293b96;*/
}


.btn-orange:hover {
    background-color: #F16521; /*-- 2019 #93d500; -- */
    color: #fff;
    transition: all 0.3s;
}
.btn-green:hover, .btn-pink:hover {
    background-color: #101F6C;
    color: #fff;
    transition: all 0.3s;
}
.btn-blue:hover {
    /*background-color: #101F6C;*/
    color: #FFCD00; /*-- 2019 #93d500; -- */
    transition: all 0.3s;
}
.greenMarker {
    color: rgb(85, 255, 0);
}
.blueMarker {
    color: rgb(0, 197, 255);
}
.redMarker {
    color: rgb(255, 0, 0);
}
.yellowMarker {
    color: rgb(255, 255, 0);
}
.forceSwitchOff {
    background-color: #231F20 !important;
}
.preloader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: #405C8B;
    display: flex;
    align-items: center;
    justify-content: center;
}
.preloadSpinner {
    max-width:50px;
    -webkit-animation:spin 2s linear infinite;
    -moz-animation:spin 2s linear infinite;
    animation:spin 2s linear infinite;
}
@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }

.mainTitle {
    display: inline;
    color: #fff;
    font-size: 1.75rem;
    font-family: industry-inc-base, sans-serif;
    font-weight: 400;
    font-style: normal;
    display: inline-block;
    color: #FFF;
    /* -- 2019 color: #293b96;*/
    text-shadow: 2px 1px 2px #691C32, 3px 2px 2px black, 0 0 1em black;
    /*text-transform: uppercase;*/
}
#ncdaImg {
    display: inline-block;
    width: 70px;
    height: 70px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.dropdown-toggle, .dropdown-toggle:hover, .dropdown-toggle:after {
    color: #FFF;
    /* -- 2019 color: #293b96;*/
}
/*rotates dropdown toggle arrow bassed on if it's expanded*/
.dropdown-toggle[aria-expanded="false"]:after, .dropdown-toggle[aria-expanded="false"]:before {
  transform: rotate(-90deg);
}
/*for the animation*/
.dropdown-toggle:after {
  transition: 0.5s;
}
.contactInfo {
    font-size:.85rem;
}

/* ---------------------------------------------------
    MODAL STYLE
----------------------------------------------------- */
.modal-header, .modal-footer {
    background-color: #de2726; /*-- 2019 #93d500; -- */
    color: #fff;
    /* -- 2019 color: #293b96;*/
    font-size: 2rem;
    /*text-shadow: 1px 1px #fff;*/
    padding-bottom: 8px;
    padding-top: 8px;
}
    .modal-footer > .btn-secondary {
        background-color: #231F20;
        /* -- 2019 background-color: #293b96;*/
        color: #fff;
    }
        .modal-footer > .btn-secondary:hover {
            background-color: #405C8B;
            color: #fff;
        }
.modal-body {
    font-size:12px;
    color:#fff;
    background-color:#231F20;
}
.modal-content {
    border: none;
}
.tc-w {
    color:#fff;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    display: flex;
    width: 100%;
}

#sidebar {
    width: 250px;
    position: fixed;
    padding-top: 68px;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 999;
    /*background: #7386D5;*/
    color: #fff;
    transition: all 0.3s;
}

#sidebar.active {
    margin-left: -250px;
}

#sidebar .sidebar-header {
    padding: 10px;
    /*background: #6d7fcc;*/
}

#sidebar ul.components {
    padding: 20px 5px 20px 4px;
    border-bottom: 1px solid #47748b;
    background-color: #a32067;
}
.sidebarImg {
    display:inline-block;
    height:auto;
}
@media screen and (max-height:580px) {
    .sidebar-header {
        display: none;
    }
}
@media screen and (max-width:540px) {
    .sidebar-header {
        display: none;
    }
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
    /*background: #293b96;
    color: #fff;*/
    border-radius: 4px;
}

#sidebar ul li a:hover {
    color: #fff;
    background: #101F6C;
    cursor: pointer;
}


a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}
ul li a {
    margin-bottom:5px;
}

ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
    background: #231F20;
    /*2019 background: #293b96;*/
    color: #fff !important;
}

ul.CTAs a:hover {
    background: #101F6C !important;
    color: #fff !important;
}
.masterTocControl{
     width:100%;
}
.masterTocControllabel, 
.masterTocControllabel:focus {    
    background-color: #f8f8f8;
    color: #092940;
    border-radius: 4px;
}
.masterChexControl {
    margin-top:.8rem;
    margin-left:-1.0rem;
}
.submenu {
    padding-left: 5px;
}

.cartoonLegend {
    position:absolute;
    bottom: 100px;
    left: 100px;
    /*min-height: 50px;
    min-width: 100px;*/
    background-color:red;
    /*background-image: url(../images/cartoon_legend.PNG);*/

}

/* ---------------------------------------------------
    SWITCH 
----------------------------------------------------- */
.switch input { 
    display:none;
}
.switch {
    display:inline-block;
    width:40px;
    height:20px;
    margin:6px 6px 6px 6px;
    margin-left:-1rem;
    transform:translateY(50%);
    position:relative;
    border-radius: 30px;
    background-color:#fff;
}

.slider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 30px;
    box-shadow: 0 0 0 2px #231F20, 0 0 4px #231F20;
    /*2019 box-shadow: 0 0 0 2px #293b96, 0 0 4px #293b96;*/
    /*box-shadow:0 0 0 2px #fff, 0 0 4px #fff;*/
    cursor: pointer;
    border: 1px solid transparent;
    overflow: hidden;
    transition: .4s;
}
    .slider:before {
        position: absolute;
        content: "";
        width: 100%;
        height: 100%;
        background: #231F20;
        /*2019 background: #293b96;*/
        border-radius: 30px;
        transform: translateX(-20px);
        transition: .4s;
    }

input:checked + .slider:before {
    transform:translateX(20px);
    background:#FFCD00; /*-- 2019 #93d500; -- */
}
input:checked + .slider {
    box-shadow:0 0 0 2px #FFCD00,0 0 2px #FFCD00; /*-- 2019 #93d500; -- */
    /*box-shadow:0 0 0 2px #fff,0 0 2px #fff;*/
}

.tocIcon {
    float:right;
    margin-top:15px;
    text-shadow: 1px 1px #000;
}
.toc > .form-check {
    width:90%;
    display:inline-block;
}
.custom-card-body {
    /*flex: 1 1 auto;*/
    padding: .5rem;
}


/* ---------------------------------------------------
    SEARCH RESULTS
----------------------------------------------------- */

.searchTitle {
    font-weight:700;
}
    .searchTitle:hover {
        font-weight: 700;
        color: #fff;
        text-shadow: 1px 1px #231F20;
        /*2019 text-shadow: 1px 1px #293b96;*/
    }
.resultsFeature {
    position: relative;
    display: block;
    padding: .5rem .5rem;
    margin-bottom: -1px;
    background-color: #231F20;
    /* -- 2019 background-color: #293b96;*/
    border: 1px solid rgba(0,0,0,.125);
    border-bottom: 2px solid #FFCD00; /*-- 2019 #93d500; -- */
}
    .resultsFeature:hover {
        background-color: #405C8B;
        cursor: pointer;
    }
.searchResults > .list-group-item > .mb-1 {
    /*color: black !important;*/
    font-size: .75rem;
    padding:0px !important;
}

/* ---------------------------------------------------
    NAVBAR STYLE
----------------------------------------------------- */

.fixed-top-custom {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

.navbar {
    /*padding: 15px 10px;*/
    /*background: #fff;*/
    border: none;
    
    border-radius: 0;
    margin-bottom: 40px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.navbar-brand {
    display: inline-block;
    padding-top: 0px; 
    padding-bottom: 0px; 
    margin-right: 1rem;
    margin-left: 1rem;
    font-size: 1.25rem;
    line-height: inherit;
    white-space: nowrap;
}
.navbar > .container, .navbar > .container-fluid {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: flex-start;
}
/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    width: calc(100% - 250px);
    padding-top: 68px;
    min-height: 100%;
    height:100%;
    transition: all 0.3s;
    position: absolute;
    top: 0;
    right: 0;
}

#content.active {
    width: 100%;
}

/* ---------------------------------------------------
    ESRI Override Selector STYLE
----------------------------------------------------- */
.esri-widget {
    box-sizing: border-box;
    color: #323232;
    font-size: 14px;
    font-family: inherit;/*"Avenir Next W00","Helvetica Neue",Helvetica,Arial,sans-serif;*/
    line-height: 1.3em;
    background-color: #fff;
}

.esri-zoom > .esri-widget--button, .esri-locate, .esri-compass, .esri-home {
    background-color: #231F20;
    /*2019 background-color: #293b96;*/
    color: #fff;
}
.esri-widget--button:hover {
    background-color: #de2726;
    color: #fff;
}
.esri-popup__main-container, .esri-popup__pointer-direction, .esri-feature__main-container > div > p, .esri-popup__feature-menu-button {
    background-color: #EEE;
    color: #555;
}
.esri-feature__main-container > div > p, .esri-popup__header-title {
    /*text-shadow: 1px 1px 6px #000;*/
}
.esri-popup__button {
    color: #231F20;
    /*2019 color: #293b96;*/
}
.esri-popup__main-container {
    /*outline: none;
    pointer-events: auto;
    position: relative;
    z-index: 1;
    width: 340px;
    max-height: 300px;*/
    /*background-color: #a32067;
    background-color: #fff;
    display: flex;
    flex-flow: column nowrap;*/
}
.esri-popup__header-title, .esri-popup_header-buttons {
    border-bottom:1px solid #DDD;
    font-weight:bold;
    margin-bottom:1rem;
}


/* ---------------------------------------------------
    BASEMAP Selector STYLE
----------------------------------------------------- */
.mapHandler {
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
}

.basemapToggle {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
}
.select-style {  
    border: solid 1px #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}
.select-style select {
    padding: 4px 6px;
    border: solid 1px #e0e0e0;
    border-radius: 5px;
    /*box-shadow: none;*/
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    /*background-color:#6D764C;*/
    color: #fff;
}
.select-style select:hover {
    background-color: #de2726;
    color: #fff;
}
    .select-style option {
        background-color: #231F20;
        /*2019 background-color: #293b96;*/
        color: #fff;
    }
    .select-style select:focus {
        outline: none;
        border-color: #231F20;
        /*2019 border-color: #293b96;*/
    }


/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }
    #sidebar.active {
        margin-left: 0;
    }
    #content {
        width: 100%;
        min-height: 100%;
    }
    #content.active {
        /*width: calc(100% - 250px);*/
    }
    #sidebarCollapse span {
        display: none;
    }
    
    canvas {
        cursor: pointer;
    }
    .mapHandler {
        cursor: pointer;
    }
}
@media (max-width: 460px) {
    .mainTitle {
        font-size:5.7vw;
    }
}
@media (max-width: 438px) {
    .mainTitle {
        font-size:5vw;
    }
}
@media (max-width: 380px) {
    .mainTitle {
        font-size:4.5vw;
    }
}
@media (max-width: 350px) {
    .mainTitle {
        font-size:4vw;
    }
    /*#ncdacsLogo {
        display: none !important;
    }*/
}
@media (max-width: 324px) {
    .mainTitle {
        font-size:3.5vw;
    }
    /*#ncdacsLogo {
        display: none !important;
    }*/
}
@media (max-width: 305px) {
    .mainTitle {
        display: none;
    }
}
