﻿html {
    position: fixed;
    height: 100%;
    width: 100%;
    overflow: hidden;
    background-color: #f6f6f6;
}

body {
    width: auto;
    height: 100%;
    overflow-y: hidden;
    overflow-x: hidden;
    background-color: #f6f6f6;
    margin: 0;
}

.communitymaps-container {
    overflow: hidden;
    /* border: 1px solid red; */
    width: auto;
    /* after adding bootstrap style sheet the -5px is not needed
                        height: calc(100% - 5px); */
    height: 100%;
    /* this padding determines the height calculations for
                        the right starting point
                        .communitymaps-content-right right: 3px
                        .communitymaps-content-right height: calc(100% - 57px - 3px)
                        .communitymaps-toggler-content-right right: Xpx + 3px
                        .communitymaps-toggler-maps right: Xpx + 3px */
    padding: 0px 3px 3px 3px;
    background-color: #f6f6f6;
}

.communitymaps-content-right {
    position: fixed;
    top: 57px;
    right: 3px;
    width: 275px;
    /* subtract top and container top (57px) & bottom (3px) padding */
    height: calc(100% - 57px - 3px);
    background-color: yellow;
    z-index: 100;
    /* required by inobounce */
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
}

/*#region Toggler Content Right */

.communitymaps-toggler-content-right {
    position: fixed;
    width: 35px;
    height: 55px;
    height: 90px;
    /* top: 225px; */
    top: calc(100% / 2 - 18px);
    right: 278px;
    text-align: center;
    line-height: 40px;
    background-color: #337ab7;
    font-weight: bold;
    cursor: pointer !important;
    z-index: 105;
}

    .communitymaps-toggler-content-right * {
        pointer-events: none;
    }

.communitymaps-identity-table-gray {
    color: gray;
    font-size: 12px;
    cursor: text;
}

.communitymaps-identity-table-black {
    color: #1e1e1e;
    font-size: 12px;
    cursor: text;
}

/*#endregion */
/*#region ESRI */
.communitymaps-esri-map {
    width: 100%;
    height: 100%;
}

/* zoom in/out */
.esriSimpleSlider {
    top: 75px;
    left: 15px;
    border-radius: 0px;
    border: 0px solid #000000;
    /*border-color: rgba(000,000,000, 0);*/
}

    /* plus and minus signs are too large */
    .esriSimpleSlider div {
        font-size: 20px;
    }

@media screen and (max-width: 768px) {
    .esriSimpleSlider {
        left: 5px;
    }
}

.esriPopup .titlePane {
    line-height: 35px !important;
    border-radius: 0px 0px 0px 0px !important;
    -webkit-border-radius: 0px 0px 0px 0px !important;
}

.esriPopup .titleButton {
    opacity: 1;
    top: 8px;
}

    /* disable expanding popup */
    .esriPopup .titleButton.maximize {
        display: none !important;
    }

.esriPopup .esriPopupWrapper {
    border-radius: 0px;
    -webkit-border-radius: 0px;
    min-width: 225px;
    z-index: 99000;
}

    .esriPopup .esriPopupWrapper .sizer {
        width: 100% !important;
        /*width: 230px;*/
    }

    .esriPopup .esriPopupWrapper tr:hover {
        background-color: #CEECF5 !important;
    }

/* remove slider border radius */
.esriSimpleSliderVertical .esriSimpleSliderDecrementButton,
.esriSimpleSliderVertical .esriSimpleSliderIncrementButton {
    -webkit-border-radius: 0 0 0px 0px;
    border-radius: 0 0 0px 0px;
}

/* remove red focus border */
.esriSimpleSliderIncrementButton:focus,
.esriSimpleSliderDecrementButton:focus {
    outline: none !important;
}

.dijitTooltipContainer {
    border: solid black 1px !important;
    background: #b8b5b5;
    color: black;
    font-size: small;
}

.dijitTooltipFocusNode {
    padding: 2px 2px 2px 2px !important;
}

/*#endregion */

/*#region JQuery Accordion */

.accordion {
    height: calc(100%);
    height: 100%;
    pointer-events: all;
    background-color: #f6f6f6;
    width: 275px;
    color: black;
    /* initially make the accordion text color same as background
                       fixes slow load issue where text is visible without the
                        accordion
                    */
    /*color: #f6f6f6;*/
    overflow: hidden;
    font-family: Verdana,Geneva,sans-serif !important;
}

    .accordion .ui-corner-top {
        border-top-right-radius: 0px;
        border-top-left-radius: 0px;
    }

    .accordion .ui-corner-all {
        border-top-right-radius: 0px;
        border-top-left-radius: 0px;
        border-bottom-right-radius: 0px;
        border-bottom-left-radius: 0px;
    }

    .accordion .ui-accordion-content {
        /*padding: 0px !important;*/
        padding: 5px 8px 0px 8px !important;
    }

    .accordion .ui-accordion, .accordion .ui-accordion-header {
        padding: 10px 10px 10px 12px;
    }

    .accordion > div.ui-accordion-content {
        font-size: 13px;
    }

    /* override the accordion header styling */
    .accordion .ui-accordion-header {
        margin: 0 0 0 0 !important;
        height: 37px !important;
    }

        .accordion .ui-accordion-header:not(:first-child) {
            margin: 1px 0 0 0 !important;
        }

    /*#endregion */

    /*#region COW Colors */

    /* cow blue */

    .esriSimpleSlider,
    .accordion .ui-state-default,
    .accordion .ui-accordion-header-active,
    .panel-heading,
    .btn-primary,
    .pagination > .active > a,
    .nav-pills > li.active > a,
    .esriPopup .titlePane,
    /* login dropdown menu anchor */
    /*.dropdown-menu > .active > a,*/
    .communitymaps-cow-blue {
        color: white;
        background-color: #367cfe;
        background: -webkit-gradient(linear,left top,left bottom,from(#367cfe),to(#015dff));
        background: -webkit-linear-gradient(to top,#367cfe,#015dff);
        background: -moz-linear-gradient(to top,#367cfe,#015dff);
        background: -ms-linear-gradient(to top,#367cfe,#015dff);
        background: -o-linear-gradient(to top,#367cfe,#015dff);
        background: linear-gradient(to top,#367cfe,#015dff);
    }

        /* cow green */
        /*.communitymaps-toggler-content-right:hover,*/
        .esriSimpleSliderDecrementButton:hover,
        .esriSimpleSliderIncrementButton:hover,
        .accordion .ui-accordion-header-collapsed,
        .navbar-toggle:focus,
        .navbar-toggle:hover,
        .btn-primary:hover,
        .pagination > .active > a:hover,
        .panel-heading:hover,
        .communitymaps-cow-blue:hover,
        .communitymaps-cow-green {
            color: #1e1e1e;
            color: #000000;
            background-color: #bfe096;
            background: -webkit-gradient(linear,left top,left bottom,from(#bfe096),to(#9fd163));
            background: -webkit-linear-gradient(to top,#bfe096,#9fd163);
            background: -moz-linear-gradient(to top,#bfe096,#9fd163);
            background: -ms-linear-gradient(to top,#bfe096,#9fd163);
            background: -o-linear-gradient(to top,#bfe096,#9fd163);
            background: linear-gradient(to top,#bfe096,#9fd163);
        }

/* cow blue gradient */
.communitymaps-cow-blue-gradient {
    color: #1e1e1e;
    background-color: #1E90FF;
    background: -webkit-gradient(linear,left top,left bottom,from(#1E90FF),to(#015dff));
    background: -webkit-linear-gradient(to top,#1E90FF,#015dff);
    background: -moz-linear-gradient(to top,#1E90FF,#015dff);
    background: -ms-linear-gradient(to top,#1E90FF,#015dff);
    background: -o-linear-gradient(to top,#1E90FF,#015dff);
    background: linear-gradient(to top,#1E90FF,#015dff);
}

/* cow green gradient */
.communitymaps-cow-green-gradient {
    color: #1e1e1e;
    background-color: #1E90FF;
    background: -webkit-gradient(linear,left top,left bottom,from(#1E90FF),to(#bfe096));
    background: -webkit-linear-gradient(to top,#ffffff,#bfe096);
    background: -moz-linear-gradient(to top,#ffffff,#bfe096);
    background: -ms-linear-gradient(to top,#ffffff,#bfe096);
    background: -o-linear-gradient(to top,#ffffff,#bfe096);
    background: linear-gradient(to top,#ffffff,#bfe096);
}

/*#endregion */

/* remove red focus border */
/*.ui-state-focus:focus { outline:3px dotted red !important }*/
.ui-state-focus:focus {
    outline: none !important;
}

/* ensures the autocomplete is always on top */
.ui-autocomplete {
    z-index: 99999999999;
}

.ui-dialog, .ui-dialog * {
    box-sizing: unset !important;
}

/* backdrop opacity */
.modal-backdrop {
    opacity: .75 !important;
}

.modal-content {
    border-radius: 0px;
}

.modal-header {
    padding: 13px 15px 13px 15px;
}

.modal-footer {
    padding: 5px 15px 5px 15px;
}

.modal-backdrop {
    opacity: 0.5 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:active {
    background: none !important;
    box-shadow: inset 0 0 3px #111;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: none !important;
    border: 1px solid #337ab7 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0px 0px !important;
}

.pagination > li > a, .pagination > li > span {
    /* the margin was margin-left: -1px; which caused the left side not to show */
    margin-left: 0px !important;
}

/* targets and overrides search icon in quick search input box*/
.form-control-feedback {
    top: 9px;
    pointer-events: all;
    cursor: pointer;
}

.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {
    padding: 7px 7px;
}

/*#region Table Slider Buttons */

.custom-checkbox {
    min-height: 1rem;
    padding-left: 0;
    margin-right: 0;
    cursor: pointer;
}

    .custom-checkbox .custom-control-indicator {
        content: "";
        display: inline-block;
        position: relative;
        width: 30px;
        height: 18px;
        background-color: #B8B8B8;
        border-radius: 15px;
        margin-right: 10px;
        -webkit-transition: background .1s ease;
        -moz-transition: background .1s ease;
        -o-transition: background .1s ease;
        transition: background .1s ease;
        vertical-align: middle;
        margin: 0px auto;
        box-shadow: none;
    }

        .custom-checkbox .custom-control-indicator:after {
            content: "";
            position: absolute;
            display: inline-block;
            width: 15px;
            height: 15px;
            background-color: #f1f1f1;
            border-radius: 21px;
            box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4);
            left: -2px;
            top: 1px;
            -webkit-transition: left .1s ease, background .1s ease, box-shadow .1s ease;
            transition: left .1s ease, background .1s ease, box-shadow .1s ease;
        }

    .custom-checkbox .custom-control-input:checked ~ .custom-control-indicator {
        /*xbackground-color: #84c7c1;*/
        background-color: #bfe096;
        background: -webkit-gradient(linear,left top,left bottom,from(#bfe096),to(#9fd163));
        background: -webkit-linear-gradient(to top,#bfe096,#9fd163);
        background: -moz-linear-gradient(to top,#bfe096,#9fd163);
        background: -ms-linear-gradient(to top,#bfe096,#9fd163);
        background: -o-linear-gradient(to top,#bfe096,#9fd163);
        background: linear-gradient(to top,#bfe096,#9fd163);
        /*xbackground-image: none;*/
        box-shadow: none !important;
    }

        /* cow blue - circle part */
        .custom-checkbox .custom-control-input:checked ~ .custom-control-indicator:after {
            /*xbackground-color: #84c7c1;*/
            /*xbackground-color: #337ab7;*/
            background-color: #367cfe;
            background: -webkit-gradient(linear,left top,left bottom,from(#367cfe),to(#015dff));
            background: -webkit-linear-gradient(to top,#367cfe,#015dff);
            background: -moz-linear-gradient(to top,#367cfe,#015dff);
            background: -ms-linear-gradient(to top,#367cfe,#015dff);
            background: -o-linear-gradient(to top,#367cfe,#015dff);
            background: linear-gradient(to top,#367cfe,#015dff);
            left: 15px;
        }

    .custom-checkbox .custom-control-input:focus ~ .custom-control-indicator {
        box-shadow: none !important;
    }

    /*slider part */
    .custom-checkbox .custom-control-input:disabled ~ .custom-control-indicator:after {
        /*F0F0F0*/
        cursor: not-allowed;
        background-color: #C8C8C8;
        background: -webkit-gradient(linear,left top,left bottom,from(#C8C8C8),to(#C8C8C8));
        background: -webkit-linear-gradient(to top,#C8C8C8,#C8C8C8);
        background: -moz-linear-gradient(to top,#C8C8C8,#C8C8C8);
        background: -ms-linear-gradient(to top,#C8C8C8,#C8C8C8);
        background: -o-linear-gradient(to top,#C8C8C8,#C8C8C8);
        background: linear-gradient(to top,#C8C8C8,#C8C8C8);
        /*left: 15px;*/
    }

    /* other part */
    .custom-checkbox .custom-control-input:disabled ~ .custom-control-indicator {
        cursor: not-allowed;
        background-color: #C8C8C8;
        background: -webkit-gradient(linear,left top,left bottom,from(#C8C8C8),to(#C8C8C8));
        background: -webkit-linear-gradient(to top,#C8C8C8,#C8C8C8);
        background: -moz-linear-gradient(to top,#C8C8C8,#C8C8C8);
        background: -ms-linear-gradient(to top,#C8C8C8,#C8C8C8);
        background: -o-linear-gradient(to top,#C8C8C8,#C8C8C8);
        background: linear-gradient(to top,#C8C8C8,#C8C8C8);
        box-shadow: none !important;
    }

/*#endregion */

/*#region TOC Slider */

.custom-handle {
    width: 3em;
    height: 1.6em;
    top: 50%;
    margin-top: -.8em;
    text-align: center;
    line-height: 1.6em;
}

/*#endregion */

.tooltip {
    position: fixed;
}

/* not working
            .ui-tooltip {
            z-index: 999999;
        }*/

.boxshadow {
    box-shadow: 0 0 15px 0 black;
}

    .boxshadow:hover {
        box-shadow: 0 0 23px 0 rgba(71,151,220,1);
    }


/* checkmark css taxpropertysearch */
.checkmark-container {
    /*display: block;*/
    position: relative;
    padding-left: 25px;
    margin-bottom: 16px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    /* Hide the browser's default checkbox */
    .checkmark-container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        display: none;
    }

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 23px;
    width: 23px;
    /*background-color: #0000FF;*/
    border: 2px solid #0000FF;
}

/* On mouse-over, add a grey background color */
.checkmark-container:hover input ~ .checkmark {
    background-color: rgba(255, 255, 0, .5);
}

/* When the checkbox is checked, add a blue background */
.checkmark-container input:checked ~ .checkmark {
    background-color: rgb(255,255,0);
    border: 2px solid #0000FF;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.checkmark-container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.checkmark-container .checkmark:after {
    left: 8px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid #367cfe;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* checkmark 2 */
/* checkmark css quicksearch */
/* checkmark css quicksearch */
.checkmark-container-quicksearch {
    /*display: block;*/
    position: relative;
    padding-left: 25px;
    margin-bottom: 17px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    /* Hide the browser's default checkbox */
    .checkmark-container-quicksearch input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        display: none;
    }

/* Create a custom checkbox */
.checkmark-quicksearch {
    position: absolute;
    top: 0;
    left: 3px;
    height: 23px;
    width: 23px;
    /*background-color: #0000FF;*/
    border: 2px solid #0000FF;
}

/* On mouse-over, add a grey background color */
.checkmark-container-quicksearch:hover input ~ .checkmark-quicksearch {
    background-color: rgba(255, 255, 0, .5);
}

/* When the checkbox is checked, add a blue background */
.checkmark-container-quicksearch input:checked ~ .checkmark-quicksearch {
    background-color: rgb(255,255,0);
    border: 2px solid #0000FF;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark-quicksearch:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.checkmark-container-quicksearch input:checked ~ .checkmark-quicksearch:after {
    display: block;
}

/* Style the checkmark/indicator */
.checkmark-container-quicksearch .checkmark-quicksearch:after {
    left: 8px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid #367cfe;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.bgImg-gray-80 {
    /*background-image: url('/communitymaps/images/gray_gradient_80.png') !important;*/
    background-image: url('/communitymaps/images/gradient_cyan_100.png') !important;
}

    .bgImg-gray-80:hover {
        background-image: none !important;
        background-color: #CEECF5 !important;
    }


/*.bgImg-gray-80:hover {
                background-image: none !important;
                background-color: #CEECF5 !important;
            }*/

.bgImg-yellow-80 {
    background-image: url('/communitymaps/images/yellow_gradient_80.png') !important;
}

    .bgImg-yellow-80:hover {
        background-image: none !important;
        background-color: #CEECF5 !important;
    }

.bgImg-none {
    background-image: none;
}
