/*#region CSS Variables*/
:root {
    --content-right-margin: 50px;
    --navigation-height: 50px;
    --sidebar-top-margin: 5px;
    --sidebar-bottom-margin: 5px;
    --sidebar-content-margin: 10px;
    --sidebar-width: 20%;
    --sidebar-background: whitesmoke; /*rgba(10, 12, 14, 0.09);*/
}

/*#endregion*/

/*#region Full Height Content*/
html {
    height: 100vh;
    overflow-x: hidden;
}

body {
    height: 100vh;
    margin: 0;
    padding: 0;
    font-family: "Lato", sans-serif;
    /* start content below navigation bar */
}

#content-wrapper {
    height: 100vh;
    margin: 0 auto;
    width: 100%;
    padding-top: var(--navigation-height);
    background-color: darkgray;
    /*background-color: #fff;*/
}

.contentnotauthorized {
    background-color: #fff !important;
}

#content {
    height: calc(100vh - var(--navigation-height));
    /* Exclude header space*/
    width: calc((100% - var(--sidebar-width)) - var(--content-right-margin));
    /* This will prevent button from showing on top of content*/
    position: relative;
    padding: 10px;
}

    #content.active {
        width: calc(100% - var(--content-right-margin));
    }

#quickfilter {
    padding-left: 15px;
}

#viewoptions {
    padding-right: 15px;
}

/*#endregion */

/*#region Sidebar */
.sidebar {
    display: block;
    position: absolute;
    background: var(--sidebar-background);
    /*50px of header and 10px of sidebar margin*/
    height: calc(100vh - (var(--navigation-height) + var(--sidebar-top-margin) + var(--sidebar-bottom-margin)));
    right: 0;
    width: var(--sidebar-width);
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    margin: var(--sidebar-top-margin) 0px var(--sidebar-bottom-margin) 0px;
    border-radius: 5px 0 0 5px;
}

    .sidebar.active {
        right: 0;
        width: 0px;
    }

    .sidebar .content {
        overflow-y: auto;
        margin: var(--sidebar-content-margin);
        width: calc(100% - (var(--sidebar-content-margin)*2));
        height: calc(100vh - ((var(--sidebar-content-margin)*2) + var(--navigation-height) + var(--sidebar-top-margin) + var(--sidebar-bottom-margin)));
    }

        .sidebar .content .tab-content {
            border: none;
        }

.btn-options-collapse {
    position: absolute;
    padding: 8px 12px;
    border-radius: 5px 5px 0 0;
    top: 100px;
    right: var(--sidebar-width);
    margin-right: -24px;
    background: var(--sidebar-background);
    transform: rotate(-90deg);
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    z-index: 1;
    letter-spacing: 1px;
}

    .btn-options-collapse.active {
        right: 0;
    }

        .btn-options-collapse.active i {
            transform: rotate(180deg);
        }

/*#endregion */

/*#region Tabs */
#verticalTabs {
    position: absolute;
    margin: 0;
    padding: 0;
    list-style: none;
    -webkit-transform-origin: 100% 0;
    -moz-transform-origin: 100% 0;
    -o-transform-origin: 100% 0;
    transform-origin: 100% 0;
    -webkit-transform: translate(-100%, 0) rotate(-90deg);
    -moz-transform: translate(-100%, 0) rotate(-90deg);
    -o-transform: translate(-100%, 0) rotate(-90deg);
    transform: translate(-100%, 0) rotate(-90deg);
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}

#content #analysisTabContent {
    height: calc(100vh - var(--navigation-height)- 30px);
    padding: 15px;
    border: 1px solid lightgrey;
    margin-left: 41px;
    background-color: white;
}

.tab-content {
    border-left: 1px solid lightgrey;
    border-right: 1px solid lightgrey;
    border-bottom: 1px solid lightgrey;
    /* border-top: none; */
}

#marketComparables,
#marketOptionalComparables,
#salesComparables,
#salesOptionalComparables {
    padding: 15px;
}

#verticalTabs.nav-tabs > li > a {
    letter-spacing: 1px;
}

.nav-tabs > li:not(.active) > a {
    background: linear-gradient(rgb(201, 198, 198), rgb(235, 233, 233));
    color: black;
}

.nav-tabs > li.active > a {
    font-weight: bold;
}

/*   
        #verticalTabs.nav-tabs>li:not(.active)>a {
            background: linear-gradient(rgb(85, 84, 84), rgb(148, 147, 147));
            font-weight: bold;    
            color: white;      
        } */
/*   
        .nav-tabs>li.active>a {
            background: linear-gradient(rgb(9, 82, 143), rgb(0, 0, 0));
            font-weight: bold;    
            color: white;      
        }
  
        .nav-tabs>li.active>a:visited {
            background: linear-gradient(rgb(9, 82, 143), rgb(0, 0, 0));
            font-weight: bold;    
            color: white;      
        }
  
        .nav-tabs>li.active>a:focus {
              background: linear-gradient(rgb(9, 82, 143), rgb(0, 0, 0));
            font-weight: bold;    
            color: white;    
        } */

/*#endregion Tabs*/

/*#region tab cotent */
.red .active a,
.red .active a:hover {
    background-color: red;
}

.nav-pills > .active > a,
.nav-pills > .active > a:hover {
    background-color: red;
}

#pills-tabContent {
    padding-top: 10px;
    border: none;
}

/*#endregion tab content */

/*#region table */

.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {
    border-top: none;
}

.table-responsive {
    max-height: calc(100vh - ((var(--sidebar-content-margin)*2) + var(--navigation-height) + var(--sidebar-top-margin) + var(--sidebar-bottom-margin) + 400px));
}

#configMarketOptions > tbody > tr:hover,
#configSalesOptions > tbody > tr:hover {
    /* background-color: #ccffff; */
    background: linear-gradient(#e6ffff, #d9edf7);
    cursor: pointer;
}

/*#endregion table */

/*#region badge */
.badge {
    letter-spacing: 1px;
}

.badge-success {
    background-color: #468847;
}

    .badge-success:hover {
        background-color: #356635;
    }

.badge-danger {
    background-color: #b94a48;
}

    .badge-danger:hover {
        background-color: #953b39;
    }



.block {
    color: #fff;
    font-weight: bold;
    padding: 2px 8px;
    text-align: center;
}

.block-success {
    background-color: #468847;
    border: 1px inset #131313;
}

.block-danger {
    background-color: #b94a48;
    border: 1px inset #131313;
}

.block-default {
    background-color: #7a797a;
    border: 1px inset #131313;
}

.block-secondary {
    background-color: #7a797a;
    border: 1px inset #131313;
    min-width: 100px;
}


/*#endregion badge */


/*#region google map */
#mapMarket, #mapSales {
    height: 500px;
    width: 100%;
    border: 1px solid #888;
    min-height: calc(100vh - ((var(--sidebar-content-margin)*2) + var(--navigation-height) + var(--sidebar-top-margin) + var(--sidebar-bottom-margin) + 200px));
}
/*#endregion google map */



.tab-content.tab-pane,
.tab-pane {
    /* display: none; */
    display: block;
    visibility: hidden;
    position: absolute;
}

    .tab-content.active,
    .tab-content .tab-pane.active,
    .tab-pane.active {
        /* display: block; */
        visibility: visible;
        position: static;
        min-height: 600px;
    }

table > tbody > tr > td.focus-colum {
    background-color: #f2f2f2;
    padding-left: 20px;
    padding-right: 20px;
    font-weight: bold;
}

table > tbody > tr.selected-row > td {
    font-weight: bold;
    /*background-color: #d9edf7;*/
    background-color: whitesmoke;
}


/*#region Custom Checkbox */
/*input[type=checkbox] + label {
    display: block;
    margin: 0.2em;
    cursor: pointer;
    padding: 0.2em;
    padding-right: 5px;
}

input[type=checkbox] {
    display: none;
}

    input[type=checkbox] + label:before {
        font-family: "Font Awesome 5 Free";
        font-weight: bolder;
        content: "\f00c";
        border: 0.1em solid #2e6da4;
        border-radius: 0.2em;
        display: inline-block;
        width: 20px;
        height: 20px;
        padding-left: 0.2em;
        padding-bottom: 0.3em;
        margin-right: 5px;
        vertical-align: bottom;
        color: transparent;
        transition: .2s;
    }

    input[type=checkbox] + label:active:before {
        transform: scale(0);
    }

    input[type=checkbox]:checked + label:before {
        background-color: #337ab7;
        border-color: #2e6da4;
        color: #fff;
    }

    input[type=checkbox]:disabled + label:before {
        transform: scale(1);
        border-color: #aaa;
    }

    input[type=checkbox]:checked:disabled + label:before {
        transform: scale(1);
        background-color: #6cafeb;
        border-color: #2e6da4;
    }*/
/*#endregion Custom Checkbox */

.usermodified {
    padding-left: 5px;
}

.map-legend {
    display: block;
    padding: 5px;
    margin-bottom: 10px;
}

    .map-legend > span {
        padding: 5px;
    }

#pills-market-map, #pills-sales-map {
    margin-bottom: 15px;
}

/*#region Info Box */
.info-window {
    position: relative;
    background: #FFFFFF;
    width: 200px;
}

    .info-window .title {
        margin: 0;
        margin-right: 30px;
        color: #333333;
        font-size: 14px;
        font-weight: 700;
    }

    .info-window .content-label {
        padding-top: 4px;
        margin: 0;
        color: gray;
        font-size: 12px;
        font-weight: 200;
    }

    .info-window .dollar-value {
        margin: 0;
        /* padding: 0 0 2px; */
        color: #00bfff;
        font-size: 14px;
        font-weight: 700;
    }

    .info-window .progress-bar {
        margin-top: 2px;
        font-weight: bold;
    }
/*#endregion Info Box */

.info {
    font-weight: bold;
}

.check {
    z-index: 98;
}

.notification-panel {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    color: #000;
    background-color: #fff;
    border-color: rgb(213, 212, 212);
    text-align: center;
    font-weight:bold;
}

.font-weight-bold {
    font-weight: bold;
}

#pills-market-map > form {
    min-height: 500px;
}

.small-margin-top {
    margin-top: 10px;
}

.small-margin-right {
    margin-right: 5px;
}

.section-title {
    /* background styles */
    position: relative;
    background: linear-gradient(#700, #f00);
    /*padding: 5px 5px;*/
    /*background: linear-gradient(#700,#f00);*/
    /* text styles */
    text-decoration: none;
    color: #fff;
    /*font-size: 25px;*/
    font-family: sans-serif;
    font-weight: 100;
    width: 100%;
    padding: 10px;
    font-weight: bold;
    margin-top: 10px;
}

    .section-title:before {
        content: '';
        position: absolute;
        top: 2px;
        left: 1px;
        width: calc(100% - 4px);
        height: 18px;
        background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.2));
    }

    .section-title.dark {
        background: linear-gradient(#131313, #7a797a);
    }

    .section-title.light {
        background: linear-gradient(#7a797a, #f5f5f5);
        color: #000;
    }

    .section-title > i  {
        padding-right: 7px;
    }

    .section-title.no-margin {
        margin-top: 0;
    }

.modal-footer.small-padding {
    padding: 5px 10px 10px 5px
}

.modal-header > div {
    display: inline-block;
    vertical-align: middle;
}

.modal-body > div {
    display: inline-block;
    vertical-align: middle;
}

.align-content-middle {
    height: 100%;
    line-height: normal;
}

.modal-body > div > i {
    padding-right: 10px;
}

.modal-body > div > p {
    margin: 0;
}

.modal-header > div > i {
    padding-right: 2px;
}

.modal-footer.no-top-border {
    border-top:none;
}

.close.no-opacity {
    opacity:unset;
    z-index: 99;
}

.fa-success {
    color: lightgreen;
}

#BatchID > option:nth-child(1) {
    font-weight:bold;
}

.error-container {
    width: 100%;
    background: white;
}

.error-header {
    margin-top: 5px;
    margin-bottom: 15px;
}

.full-error {
    margin: 20px;
    padding: 20px;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
}

.error-details {
    width: 100%;
    height: 200px;
}

.error-details-large {
    width: 100%;
    height: 400px;
}

.content-margin {
    padding-left: 20px;
    padding-right: 20px;
}

/*.footer {
    position: absolute !important;
    left: 0 !important;
    bottom: 0 !important;
}*/