﻿body {
    font-family: "Montserrat", "Gotham", "Open Sans", "Helvetica Neue", Helvetica, sans-serif;
    background: #fafafa;
}

p .light {
    font-family: "Montserrat", "Gotham", "Open Sans", "Helvetica Neue", Helvetica, sans-serif;
    font-size: 1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}

.navbar {
    border: none;
    border-radius: 0;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    padding: 10px !important;
    height: 75px;
    border-radius: 0px 0px 15px 15px;
    background-color: #2a578d;
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}




#sidebar {
    min-width: 275px;
    max-width: 275px;
    color: #fff;
    transition: all 0.6s cubic-bezier(0.945, 0.020, 0.270, 0.665);
    transform-origin: bottom left;
    background-image: url(https://www.gis.dcnr.state.pa.us/react_dmap_test/images/general/sidebar-2.db29c6b5.jpg);
    background-size: cover;
    background-position: center center;
}

    #sidebar.active {
        left: 0;
    }

#dismiss {
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: #7386D5;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

    #dismiss:hover {
        background: #fff;
        color: #7386D5;
    }

.overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

    .overlay.active {
        display: block;
        opacity: 1;
        position: fixed;
        top: 0px;
        left: 0px;
    }

#sidebar .sidebar-header {
    padding: 20px;
    background-image: linear-gradient(#ffffff, #2a578d);
    border-radius: 0px 0px 15px 15px;
    height: 75px;
}

#sidebar ul.components {
    padding: 20px 0;
    border-bottom: 1px solid #47748b;
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a.heading {
    padding: 10px;
    font-size: 1.1em;
    display: block;
    border-radius: 15px 15px 0px 0px;
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

#sidebar ul li a:hover {
    color: #ffc800;
    background: #2a578d;
}

#sidebar ul li.active > a.heading,
a[aria-expanded="true"].heading {
    color: #fff;
    background: #2a578d;
    border-radius: 15px 15px 0px 0px;
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
}

ul.CTAs {
    padding: 20px;
}

    ul.CTAs a {
        text-align: center;
        font-size: 0.9em !important;
        display: block;
        border-radius: 5px;
        margin-bottom: 5px;
    }

a.download {
    background: #fff;
    color: #7386D5;
}

a.article,
a.article:hover {
    background: #2a578d !important;
    color: #fff !important;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    width: 100%;
    min-height: 100vh;
    transition: all 0.3s;
    background-color: transparent;
}

@media (min-width: 769px) {

    #sidebarCollapse {
        display: none;
    }

}

@media (max-width: 768px) {


    #content {
        width: 100%;
        min-height: 100vh;
        transition: all 0.3s;
        position: absolute;
        top: 0;
        right: 0;
        background-color: transparent;
    }

    #sidebar {
        width: 275px;
        position: fixed;
        top: 0;
        left: -275px;
        height: 100vh;
        z-index: 999;
        color: #fff;
        transition: all 0.3s;
        overflow-y: scroll;
        box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
    }

   

    html {
        font-size: 13px;
    }
}

@media (max-width: 1050px) {

    #dvheaderPics {
        display: none;
    }
}

/* Custom Start */


/* Scrol bar Start*/

.mCSB_inside > .mCSB_container {
    margin-right: 15px !important;
}
.mCSB_container.mCS_no_scrollbar_y.mCS_y_hidden {
    margin-right: 0 !important;
}
/* non-visible scrollbar */
	
/* Scrol bar End*/

    /* Esri Start */
    .esri-feature {
    letter-spacing: 0em;
    font-family: "Avenir Next", "Helvetica Neue", sans-serif;
    line-height: 1.5rem;
    font-feature-settings: "liga"1, "calt"0;
    background: #2a578d;
    padding: 1em;
    font-size: .7rem;
    color: #FFFFFF;
    border-radius: 5px;
}

/*  added not as without it the text in the search input become invisible when i leave the input*/
.esri-widget--button:not(.esri-search__submit-button) {
    background-color: #2a578d;
    color: #FFFFFF;
    border-radius: 5px;
}

.esri-expand--auto {
    border-radius: 5px;
}

.esri-interactive[title="Zoom In"] {
    border-radius: 5px 5px 0px 0px;
}

.esri-interactive[title="Zoom Out"] {
    border-radius: 0px 0px 5px 5px;
}

.esri-zoom {
    border-radius: 5px;
}

.ancIdentifyPopup:hover {
    color: #2a8dd4;
    cursor: pointer;
}

.esri-popup--shadow {
    border-radius: 15px;
}

.esri-widget__table tr th {
    padding: 3px 0px;
    width: 30%;
}

.esri-widget__table tr td {
    padding: 0px 0px 0px 11px;
    width: 70%;
}

.esri-widget__table {
    min-width: 15rem;
    max-width: 20rem;
}


.esri-zoom {
    background-color: #2a578d;
}



@media only screen and (min-width: 550px) {
    .esri-popup__main-container {
        border-radius: 15px !important;
        max-width: 450px !important;
    }
}

@media only screen and (max-width: 550px) {
    .esri-popup__main-container {
        border-radius: 15px 15px 0px 0px !important;
    }
}

.esri-widget__table tr a {
    color: #FFFFFF;
}

.esri-widget--button:hover {
    background-color: #2a8dd4 !important;
}

.esri-search__input {
    background: transparent;
    border: 0.1rem solid #2a8dd4;
    border-radius: 5px;
    color: white;
    /* box-shadow: 0.1rem 0.1rem #888888; */
    /* border-radius: 10px; */
}



.esri-search__input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
        color: white;
        opacity: 1; /* Firefox */
}

.esri-search__input:-ms-input-placeholder { /* Internet Explorer 10-11 */
        color: white !important;
}

.esri-search__input::-ms-input-placeholder { /* Microsoft Edge */
        color: white;
}

#searchWidget {
    background-color: transparent;
}

#searchWidgetMob {
    background-color: transparent;
}

.esri-search__submit-button {
    background-color: #5490b6;
}

.esri-search__input-container {
    background-color: #2a578d;
    border-radius: 5px;
}

.esri-search {
    border-radius: 5px;
    background-color: transparent;
}

.esri-widget__table {
    color: white;
}

.esri-widget--panel {
    border-radius: 15px;
}

.esri-expand__content--expanded {
    border-radius: 15px;
}

.esri-ui-top-left{
    top:12px;
}
.esri-ui-top-right {
    top: 12px;
}
/* .esri-expand{
    border-radius: 10px;
} */
/* Esri End */
/* Identify*/
.imgIdentifyTrailUses {
    margin: 0px 5px;
    border-radius: 5px;
}


/* Page Loader Start */

.page-loader-wrapper {
    z-index: 99999999;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #4a92c1;
    overflow: hidden;
    text-align: center;
}

    .page-loader-wrapper .loader {
        position: relative;
        top: calc(50% - 100px);
    }

/* Preloaders ================================== */
.spinner {
    width: 70px;
    height: 70px;
    background-color: #FFF;
    margin: 50px auto;
    -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
    0% {
        -webkit-transform: perspective(120px)
    }

    50% {
        -webkit-transform: perspective(120px) rotateY(180deg)
    }

    100% {
        -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg)
    }
}

@keyframes sk-rotateplane {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
    }

    50% {
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
    }

    100% {
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}
/* Page Loader End */

#dvResultTable {
    background-color: #2a578d;
    border-radius: 15px;
    color: white;
    padding: 10px;
}

#sidebarCollapse {
    margin-top: -20px;
}

.material-icons {
    padding-right: 1rem;
}

.navigateBtn {
    border-radius: 50%;
    border: none;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    background-color: #f35a00;
    width: 37px;
    height: 37px;
}

    .navigateBtn:hover {
        background-color: #ff2f00;
        color: white;
    }

.navigateInput {
    border-radius: 6px;
    /* border:none; */
    border: none;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 4px;
    max-width: 60%;
    height: 30px;
}

.dataTables_info {
    display: none;
}

.btn-group {
    margin: 5px;
}

/* 404 Not Found Page ========================== */
.four-zero-four {
    width: 100%;
    text-align: center;
    margin: 5% auto;
}

    .four-zero-four .four-zero-four-container .error-code {
        font-size: 160px;
    }

    .four-zero-four .four-zero-four-container .error-message {
        font-size: 26px;
        color: #333;
        font-weight: bold;
        margin-top: -40px;
    }

    .four-zero-four .four-zero-four-container .button-place {
        margin-top: 32px;
    }

/* 500 Server Error Page ======================= */
.five-zero-zero {
    width: 100%;
    text-align: center;
    margin: 5% auto;
}

    .five-zero-zero .five-zero-zero-container .error-code {
        font-size: 160px;
    }

    .five-zero-zero .five-zero-zero-container .error-message {
        font-size: 27px;
        color: #333;
        font-weight: bold;
        margin-top: -40px;
    }

    .five-zero-zero .five-zero-zero-container .button-place {
        margin-top: 32px;
    }

/* Custom Classes */
.bgDanger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.bgSuccess {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.bgwarning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

/* form input margin*/
form label{
    height:16px;
}
form input,select{
    margin-bottom:10px;
}
#dvReportDataEmailInput {
    margin-bottom: 10px;
}
#dvReportDataDate {
    margin-bottom: 10px;
}

/* Custom End*/
