﻿body {
    padding-top: 0px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.content-container {
    max-width: auto;
    margin: 20px auto 135px;
}

.target-print-container {
    padding-top: 0px;
    margin-top: 40px;
    width: auto !important;
}

.target-map-container {
    /*max-width: 860px;*/
    margin-right: auto;
    margin-left: auto;
    padding: 0px;
    max-width: 1200px;
    /*margin: 20px auto 135px;
    min-height: 300px;*/
}
.target-map {
    margin-top: -40px !important;
}
.form-group.col-md-4 {
    display: flex;
    align-items: center;
}

.target-report-container {
    max-width: auto;
    margin: 20px auto 135px;
    min-height: 300px;
}

#masthead {
    width: 100%;
    height: 65px;
    background: #fafafa;
    z-index: 9999;
}

hr {
    margin: 0rem 0;
}

.dropdown .dropdown-menu {
    /*left: auto;
    right: 5px;*/
    position: absolute;
    /*width: calc( 100vw - 5px );*/
    width: auto;
    margin: auto;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
    margin-top: 0px !important;
    /*width: 100% !important;*/
}

.roundedBorderStyle, .dt-button {
    box-shadow: 1px 2px #6c75757d;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.site-branding img {
    width: 60px;
    float: left;
}

.site-footer * {
    color: #fff !important;
    font-family: 'Source Sans Pro',sans-serif;
}

.site-footer {
    background: #005596;
}

    .site-footer .footer-inner.desktop {
        max-width: 1391px;
        width: 100%;
        padding: 20px;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .site-footer .footer-branding {
        width: 124px;
        float: left;
    }

        .site-footer .footer-branding img {
            vertical-align: middle;
            border: 0;
            max-width: 100%;
            width: 100%;
            height: auto;
        }

a {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #005596;
    text-decoration: underline;
}

div.foot-row.disclaimer > p {
    font-weight: 600;
    font-size: 10px;
    line-height: 16px;
    margin: 0;
    margin-left: 3rem !important;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.table-condensed {
    font-size: 14px;
}

.table {
    font-size: 14px;
}

.tbl-hover {
    font-size: 14px;
    text-decoration: none;
}

.col-text {
    font-size: 14px;
}

.col-form-label, .form-label, .btn {
    font-size: 14px;
}

.dropdown, .col-form-check-label, .form-check-input {
    font-size: 14px;
}

.rptFilterLabels {
    font-size: 14px;
    font-weight: bold;
    /*width: 100%;*/
}

.dtpAsOfDate {
    font-size: 14px;
}

.form-control, .dataTables_filter, .dataTables_length, .dataTables_info, .dataTables_paginate .paging_simple_numbers {
    font-size: 14px;
}

div.dt-container div.dt-search {
    font-size: 14px;
}

h4.table-caption {
    font-size: 18px;
}

div.dt-info {
    font-size: 14px;
}

.navbar-collapse {
    flex-basis: 70%;
    flex-grow: .25;
}

grdRptOrgDirs, grdRptCountyOrdDirs, grdRptCounties, divOrgDirsChangeReport {
    font-size: 14px;
}
/*Code for jQuery datatable child row open close*/
td.details-control {
    /*//class: "glyphicon glyphicon-chevron-up";*/
    /*background: url('~/Content/bootstrap-icons/chevron-up.svg') no-repeat center center;*/
    cursor: pointer;
    -webkit-text-stroke: thick;
}

tr.shown td.details-control {
    /*content: "-";*/
    text-align: center;
    -webkit-text-stroke: thick;
    /*class: "glyphicon glyphicon-chevron-down";*/
    /*background: url('~/Content/bootstrap-icons/chevron-down.svg') no-repeat center center;*/
}

table.dataTable tr th.select-checkbox.selected::after {
    content: "✔";
    margin-top: -11px;
    margin-left: -4px;
    text-align: center;
    text-shadow: rgb(176, 190, 217) 1px 1px, rgb(176, 190, 217) -1px -1px, rgb(176, 190, 217) 1px -1px, rgb(176, 190, 217) -1px 1px;
}

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

    .tooltip .tooltiptext {
        visibility: hidden;
        width: 120px;
        background-color: black;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 5px 0;
        position: absolute;
        z-index: 1;
        bottom: 100%;
        left: 50%;
        margin-left: -60px;
        /* Fade in tooltip - takes 1 second to go from 0% to 100% opac: */
        opacity: 0;
        transition: opacity 1s;
    }

    .tooltip:hover .tooltiptext {
        visibility: visible;
        opacity: 1;
    }

.buttons-print {
    float: right !important;
}

.rptPrintButton {
    font-size: 14px;
    background-color: #fff;
    height: fit-content;
    min-width: 3.8em;
    padding: .25em !important;
    margin-left: .1em;
    margin-right: .1em;
}

.rptFilterButton {
    font-size: 14px;
    background-color: #fff;
    height: fit-content;
    min-width: 3.8em;
    padding: .25em !important;
    margin-left: .1em;
    margin-right: .1em;
}

/* Progress Bar styles */
#prg-bar-container {
    width: 800px;
    height: 60px;
    margin: 0 auto;
    position: relative;
    top: 50px;
    transform: translateY(-50%);
    border-radius: 35px;
    overflow: hidden;
}

.prg-bar-child {
    width: 100%;
    height: 100%;
    /*width: 129.49px;
    height: 5.79px;*/
    /*x : 0.31px;
    y: 49.73px;*/
}

.bar-progress-text {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 7px;
    font-weight: 600;
}

.bar-progress-percent-text {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 6px;
    font-weight: 600;
}

.bar-progress {
    color: white;
    text-align: center;
    line-height: 75px;
    font-size: 35px;
    font-family: "Segoe UI";
    background: #e5405e;
    /* Old browsers */
    background: -moz-linear-gradient(left, #e5405e 0%, #ffdb3a 49%, #3fffa2 50%, #3fffa2 50%, #1a9be0 51%, #ba68ed 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(left, #e5405e 0%, #ffdb3a 49%, #3fffa2 50%, #3fffa2 50%, #1a9be0 51%, #ba68ed 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, #e5405e 0%, #ffdb3a 49%, #3fffa2 50%, #3fffa2 50%, #1a9be0 51%, #ba68ed 100%);
}

.bar-progress {
    fill: url(#linear-gradient-leg-prgbar);
}

/* End Progress Bar */

#myScrollToTopBtn {
    display: none;
    /*position: relative;*/
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: gray;
    color: white;
    cursor: pointer;
    /*padding: 15px;*/
    border-radius: 4px;
}

@media print {
    .header-print {
        display: table-header-group;
    }

    .div-Map {
        display: none !important;
    }

    .noprint {
        display: none;
    }
}

.dt-buttons, btn-group {
    display: inline-flex;
}
@media screen and (width: 280px) {
    .rptPrintButton {
        width: 40px;
        min-width: 0.8em;
        height: 24px;
    }
}
@media only screen and (min-width: 250px) and (max-width: 760px) {
    .divFilterMap {
        display: grid;
    }

    .dtpMarginSmRes {
        margin-left: 1px;
        width: 50%;
    }

    .lblMarginSmRes {
        min-width: 18%;
    }

    .divFilterControls {
    }

    .map-print-div {
        /*position: absolute;*/
        float: right;
        height: 0px;
        right: 57px;
        margin-top: 11px;
    }
}

@media only screen and (min-width: 761px) {
    .dtpMarginSmRes {
        margin-left: 6px;
    }

    .lblMarginSmRes {
        min-width: 18%;
    }
}
/*Galaxy fold*/
/*@media (min-width: 652px) and (max-width: 653px) and (min-height: 279px) and (max-height: 281px) {*/
@media (width: 653px) and (height: 280px) {
    .divFilterMap {
        display: grid;
    }

    .col-sm-2 {
        flex: 0 0 auto;
        width: -webkit-fill-available;
    }
}
@media only screen and (width: 512px) and (height: 717px) {
    .divFilterMap {
        display: grid;
    }

    .map-print-div {
        position: absolute;
        float: right;
        height: 0px;
        margin-top: 19px;
        right: 64px;
    }
}
/*Surface Duo*/
@media (min-width: 718px) and (max-width: 720px) and (min-height: 538px) and (max-height: 540px) {
    .divFilterMap {
        display: grid;
    }

    .col-sm-2 {
        flex: 0 0 auto;
        width: -webkit-fill-available;
    }
}
/*Surface Duo*/
@media only screen and (min-width: 716px) and (max-width: 717px) {
    .divFilterMap {
        display: grid;
    }

    .col-sm-2 {
        flex: 0 0 auto;
        width: -webkit-fill-available;
    }
}

@media only screen and (min-width: 761px) and (max-width: 804px) {
    .map-print-div {
        position: absolute;
        float: right;
        height: 0px;
        margin-top: 19px;
        right: 64px;
    }
}

@media only screen and (min-width: 805px) and (max-width: 965px) {
    .map-print-div {
        position: absolute;
        float: right;
        height: 0px;
        margin-top: 19px;
        right: 104px;
    }
}
@media only screen and (min-width: 965px) and (max-width: 1400px) {
    .map-print-div {
        position: absolute;
        float: right;
        height: 0px;
        z-index: 10;
        margin-right: 35px;
        margin-top: 30px;
        right: 10%;
    }
}
@media only screen and (min-width: 1401px) and (max-width: 1450px) {
    .map-print-div {
        position: absolute;
        float: right;
        height: 0px;
        z-index: 10;
        margin-right: 35px;
        margin-top: 30px;
        right: 10%;
    }
}
@media only screen and (min-width: 1451px) and (max-width: 1867px) {
    .map-print-div {
        position: absolute;
        float: right;
        height: 0px;
        z-index: 10;
        margin-right: 35px;
        margin-top: 30px;
        right: 15%;
    }
}
@media only screen and (width: 1920px) {   
    .target-print {
        margin-left: auto !important;
        margin-right: -50px !important;
        padding-top: 0px;
        width: 50px !important;
        position:absolute;
        margin-top:30px;
        right:25%;
    }
}
@media only screen and (width: 2560px) {
    .target-print {
        margin-left: auto !important;
        margin-right: -50px !important;
        padding-top: 0px;
        width: 50px !important;
        position: absolute;
        margin-top: 30px;
        right: 30%;
    }
}
@media only screen and (min-width: 3580px) {
    .target-print {
        margin-left: auto !important;
        margin-right: -50px !important;
        padding-top: 0px;
        width: 50px !important;
        position: absolute;
        margin-top: 30px;
        right: 37%;
    }
}
@media only screen and (min-width: 5100px) {
    .target-print {
        margin-left: auto !important;
        margin-right: -50px !important;
        padding-top: 0px;
        width: 50px !important;
        position: absolute;
        margin-top: 30px;
        right: 40%;
    }
}

/*Hide when page loads*/
/*#clsGainSinceDtp {
    display: none;
}*/
