﻿:root {
    --header-height: 150px; /*a*/
    --footer-height: 50px; /*b*/
    --dtap-appbar-height: 50px; /*c*/
    --dtap-map-content-header: 38px; /*d*/
    --dtap-map-content-space: 15px; /*e*/
    --dtap-main-map-container-offset: 303px; /* a+b+c+d+e */
    --drawer-footer-height: 70px; /*f*/
    --ddot-red: rgb(243,40, 55);
    --ddot-blue: rgb(41,62, 107);
    --ddot-light-blue: rgb(0,121, 193);
    --ddot-gray: rgb(179, 179, 179);
}

html,
body {
    margin: 0;
    height: 100%;
    width: 100%;
    font-weight: normal;
    overflow: hidden;
    font-size: 15px;
    outline: none;
    font-family: "Avenir Next W01", "Avenir Next W00", "Avenir Next", "Avenir", "Helvetica Neue" !important;
}
:root {
    --calcite-font-size--1: 1rem;
}
.dtap-root {
    height: 100%;
}

.dtap-map-fixed-top,
.dtap-full-map-fixed-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
}

.dtap-map-fixed-top {
    z-index: 10001;
}

.dtap-map-content-header {
    padding: 0 15px;
    height: var(--dtap-map-content-header);
}
.dtap-maplayout-content {
    width: 100%;
    padding: 164px 0 0 0;
}
.dtap-maplayout-content .k-appbar {
    padding: 0.5rem;
}

.dtap-appbar label {
    margin-bottom: 0;
}

.dtap-map-content {
    margin-left: auto;
    margin-right: auto;
}
.dtap-mappage-footer {
    /*             bottom: 50px;*/
    color: #fff;
    background-color: var(--ddot-blue);
    font-size: 0.9rem;
    height: 50px;
    position: relative;
    width: 100%;
    margin: 0;
}
.dtap-map-content-space {
    height: var(--dtap-map-content-space);
}
.dtap-map-content-header h4 {
    margin-bottom: 0.1rem;
    font-weight: normal;
    font-size: 1.422rem;
}

.dtap-map-content-header img {
    width: 100%;
    height: 2px;
    vertical-align: top;
}

.dtap-main-map-container {
    overflow:auto;
    width: 100%;
    border: solid 0px #cccccc;
    height: calc(100vh - var(--dtap-main-map-container-offset) + 29px);
    position: relative;
    font-family: "Avenir Next W01", "Avenir Next W00", "Avenir Next", "Avenir", "Helvetica Neue" !important;
}
.dtap-map-legend-container {
    display: block;
    padding: 0 15px;
    margin-top: -6px;
    justify-self:end;
}
.dtap-map-legend-container .btn {
    border: 0;
}
.btn {
    color: #ffffff;
    background-color: #005293;
    border: 1px solid #005293;
    margin: 6px 0;
    padding: 6px 7px;
}
.left-panel-container {
    height: 100% !important;
    font-family: "Avenir Next Regular", Calibri, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

.left-panel {
    overflow-y: auto;
    height: 100%;
    padding: 0 10px 30px 10px;
   /* margin-right: 5px;*/
    background-color: #ffffff;
    scrollbar-width: thin;
}

.left-panel-grid{
    overflow-y:auto;
    height:1000px;
}
.left-panel-buttons {
    margin: 10px 0;
    padding-top: 10px;
    border-top: 0px solid #cccccc;
}
/*.dtap-mappage-footer {
    bottom: 50px;
    color: #fff;
    background-color: var(--ddot-blue);
    font-size: 0.9rem;
    height: 50px;
    position: relative;
    width: 100%;
    margin: 0;
}*/
.footer-text {
    font-family: "Avenir Next Regular", Calibri, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 15px;
}
.k-grid-content.k-auto-scrollable {
    min-height: 460px !important;
}
@media only screen and (max-width: 576px) {
    html {
        font-size: 12px;
    }

    .dtap-map-content-header h4 {
        font-size: 1.1rem;
    }

    .dtap-map-content-header h5 {
        font-size: 1.1305rem;
    }

    .dtap-maplayout-content {
        padding: 194px 0 0 0;
    }

    .dtap-map-content-space {
        height: 0;
    }

    .dtap-map-content-header {
        padding: 0 5px;
    }

    .dtap-main-map-container {
        height: calc(100vh - var(--dtap-main-map-container-offset) + 21px);
    }

    .screenshot-img-container {
        height: calc(100vh - var(--dtap-main-map-container-offset) + 21px - 100px);
    }

    .dtap-mappage-footer {
        height: 50px;
    }

    .dtap-page-footer {
        padding: 0;
    }

    .footer-images img {
        width: 150px;
    }

    .footer-text {
        font-size: 0.75rem
    }

    .left-panel-grid .k-grid-toolbar {
        display: none;
    }

    .dtap-section {
        padding: 5px;
    }

    .dtap-popup-container {
        max-width: 98vw;
    }

    .add-layer-container .add-layers-fieldset-container {
        max-height: 253px;
    }
}

@media only screen and (min-width: 576px) {
    html {
        font-size: 12px;
    }

    .dtap-maplayout-content {
        padding: 194px 0 0 0;
    }

    .dtap-map-content-space {
        height: 0;
    }

    .dtap-main-map-container {
        height: calc(100vh - var(--dtap-main-map-container-offset) + 46px);
    }

    .screenshot-img-container {
        height: calc(100vh - var(--dtap-main-map-container-offset) + 46px - 100px);
    }

    .dtap-appbar {
        margin-top: -10px;
    }

    .dtap-mappage-footer {
        height: 50px;
    }

    .dtap-page-footer {
        padding: 0;
    }

    .footer-images img {
        width: 180px;
    }

    .footer-text {
        font-size: 0.75rem
    }
}

@media only screen and (min-width: 768px) {
    html {
        font-size: 14px;
    }

    .dtap-maplayout-content {
        padding: 174px 0 0 0;
    }

    .dtap-map-content-space {
        height: 10px;
    }

    .dtap-map-content-header {
        padding: 0 15px;
    }

    .dtap-main-map-container {
        height: calc(100vh - var(--dtap-main-map-container-offset) + 31px);
    }

    .screenshot-img-container {
        height: calc(100vh - var(--dtap-main-map-container-offset) + 31px - 100px);
    }

    .dtap-appbar {
        margin-top: -29px;
    }

    .dtap-page-footer {
        padding: 10px;
    }

    .footer-images img {
        width: 200px;
    }

    .footer-text {
        font-size: 0.8rem
    }

    .left-panel-grid .k-grid-toolbar {
        display: flex;
    }
}

@media only screen and (min-width: 992px) {
    .footer-text {
        font-size: 0.9rem
    }
}

@media only screen and (max-width : 544px) {
    .add-layer-container {
        border-top: 1px;
    }
}

@media only screen and (min-width : 545px) {
    .add-layer-container {
        border-top: 3px solid #0079c1;
    }
}

@media only screen and (max-height: 700px) {
    .add-layer-container {
        max-height: 255px;
    }
}

@media only screen and (max-height: 669px) {
    .add-layer-container {
        max-height: 200px;
    }
}

@media only screen and (max-height: 500px) {
    .add-layer-container {
        max-height: 200px;
    }
}
