:root {
    --bh-rt-scroll-width: 2px;
    --bh-rv-scroll-width: 2px;
    --bh-pl-scroll-width: 2px;
}

/* numans-regular - latin */
   @font-face {
    font-family: 'Numans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/numans-v9-latin-regular.eot');
    /* IE9 Compat Modes */
    src: local('Numans'), local('Numans-Regular'),
        url('../fonts/numans-v9-latin-regular.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('../fonts/numans-v9-latin-regular.woff2') format('woff2'),
        /* Super Modern Browsers */
        url('../fonts/numans-v9-latin-regular.woff') format('woff'),
        /* Modern Browsers */
        url('../fonts/numans-v9-latin-regular.ttf') format('truetype'),
        /* Safari, Android, iOS */
        url('../fonts/numans-v9-latin-regular.svg#Numans') format('svg');
    /* Legacy iOS */
}

html,
body {
    height: 100%;
    width: 100%;
    margin: 0;
}

body {
    display: flex;
    font-family: Numans, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

div.page {
    height: 100%;
    width: 100%;
    margin: 0;
}

form {
    margin: auto;
    /* nice thing of auto margin if display:flex; it center both horizontal and vertical :) */
    box-sizing: border-box;
    font-size: .75rem;
}

.form-group {
    margin-bottom: .75em;
}

.vertical-center {
    display: flex;
    align-items: center;
}

.modalbackdrop {
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 10000;
}

.modalpage {
    z-index: 11000;
}

#pldetailentry, #userentry, #commententry,#brokermail, #cliententry, #newcontact,#newproductline {
    margin: auto;
    background-color: #ddd;
    color: #222;
    width: 900px;
    height: 440px;
    border-radius: 16px;
    box-shadow: 4px 4px rgba(0, 0, 0, .6);
    border: 1px solid #000;
}

#cliententry {
    height: 360px;
}

#pldetailentry {
    height: 464px;
}

#userentry {
    height: 310px;
}

#newcontact {
    height: 236px;
    width: 860px;
}

#newproductline {
    height: 600px;
    width: 1200px;
}

#tempcommentsgrid, #tempclientsgrid {
    height: 500px;
}

#logon, #resetpassword, #confirmresetpassword {
    display: flex;
    background-image: url('../images/retail_1920.jpg');
    background-size: cover;
    color: whitesmoke;
}

#logon .form-horizontal, #resetpassword .form-horizontal {
    width: 500px;
    background-color: rgba(255, 255, 255, .75);
    border-radius: 16px;
    box-shadow: 4px 4px rgba(0, 0, 0, .6);
    border: 1px solid #000;
    color: #000;
}

#logon input[type='text'],
#logon input[type='password'],
#resetpassword input[type='text'],
#resetpassword input[type='password'] {
    width: calc(100% - 4px);
}

#btnresetmypassword {
    color: maroon;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, .6);
}

.portalpage {
    background-color: black;
    overflow: hidden;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: space-between;
}

.up {
    flex: 0 1 auto;
}

.down {
    flex: 1 1 auto;
    background: #012;
    overflow: hidden;
}

.scrollable {
    overflow: auto;
    height: 100%;
    min-width: 100%;
}

.sticky-top {
    position: sticky;
    top: 0;
}

._gutters, ._gutters [class*="col-"] {
    margin: 0;
    padding: 0;
    padding-left: 3px;
    padding-right: 3px;
}

.text-75 {
    font-size: 75%;
}

.text-65 {
    font-size: 65%;
}

.text-60 {
    font-size: 65%;
}
.text-50 {
    font-size: 50%;
}

div.row.align-bottom > [class*="col-"] {
    vertical-align: bottom;
}

.scroll-y {
    overflow-y: auto;
}

.dash-left {
    overflow-y: auto;
    height: 100%;
    background-color: black;
    font-size: 11px;
    width: 200px;
}

.dash-right {
    overflow: hidden;
    height: 100%;
    width: calc(100% - 200px);
    padding-left: 4px;
}

.dashmenutoggler {
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
}

.dashleftcard {
    background-color: black;
}

.dashleftitem {
    font-weight: normal;
    cursor: pointer;
    color: #ddd;
}

.AAPSelected {
    font-weight: bold;
    font-style: italic;
    color: #aaf;
}

#aaptemplatelibrary {
    display: none;
}

a.nav-link:visited,
li.nav-link>a:visited {
    color: white;
}

.dropdown-item:focus,
.dropdown-item:hover {
    background-color: #c8e1ef;
}



.text-header {
    font-size: 125%;
    color: rgb(73, 173, 245);
}

.text-data {
    font-size: 100%;
    color: rgb(73, 245, 173);
}

.text-white {
    color: white;
}

.text-lightred {
    color: lightcoral;
}

.shadowtext {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, .6);
}

table.gridtable td, table.gridtable th {
    border: 1px solid #999;
    font-size: 75%;
    padding-left: 1px;
    padding-right: 1px;
}

table.gridtable td, table.gridtable th
{
    border: 1px solid #999;
    padding-left: 1px;
    padding-right: 1px;
}

table.gridtable thead th {
    background-color: rgb(175, 175, 175);
}

table.gridtable {
    margin: 0;
    text-align: left;
    position: relative;
    border-collapse: collapse;
    width: 100%;
}

table.gridtable>thead tr:nth-child(1)>th {
    position: sticky;
    top: 0px;
}

table.gridtable>tbody tr:nth-child(even)
{
    background-color: #ddd;
}

table.gridtable>tbody tr:nth-child(odd) {
    background-color: #eee;
}

table.gridtable>tbody tr:hover {
    background-color: rgb(160, 208, 241);
}

table.gridtable>tbody tr.selected {
    background-color: rgb(251, 208, 208);
}

table.gridtable td {
    color: #333;
}

.form-control {
    padding: .175rem .5rem;
    font-size: .75rem;
}

.closebutton {
    cursor: pointer;
}

#userentry input[type='text'], #userentry select, 
#commententry input[type='text'], #commententry select,
#brokermail input[type='text'], #brokermail select,
#cliententry input[type='text'], #cliententry select,
div.gddetail input[type='text'], div.gddetail select  {
    width: 100%;
}



#userentry .btn-group-toggle .btn.active,
#commententry .btn-group-toggle .btn.active,
#brokermail .btn-group-toggle .btn.active,
#cliententry .btn-group-toggle .btn.active,
div.gddetail .btn-group-toggle .btn-active {
    background-color:#0c81aa;
    color: #eee;
}

div.gddetail {
    height:fit-content;
}

#cliententryallowedclientusers > div > i {
    cursor: pointer;
}

h6 {
    font-size: x-small !important;
    font-weight: bold;
    color: #0d15f1 !important;
    padding: 4px !important;
}

.dropdown-item {
    padding: 0 1rem !important;
}

#templateconfirmation, #templatealert {    
    width: 60%;
    position: relative;
    left: 20%;
    top: 30%;
    height: 40%;
}

#templateplmassupdate {
    min-width: 600px;
    width: 60%;
    position: relative;
    left: 10%;
    top: 30%;
    height: 240px;
}

.gddetail ul li a.active {
    background-color: #007bff;
    COLOR: #FFF;
    border-color: #dee2e6 #dee2e6 #fff;
}

.gddetail form label {
    font-weight: bold;
    font-size: .9em;
    margin-bottom: .2em;
    margin-left: .3em;
    color:#333;
}

#commententry label, #brokermail label {
    font-weight: bold;
    color: #333;
}

.gddetail form input, .gddetail form textarea, .gddetail form select  {
    border-color: #007bff;
}

.gddetail form {
    height: 400px;
}

.min-w16 {
    min-width: 16.67%;
}

.max-w50 {
    max-width: 50%;
}

.w25 {
    width: 25%;
}

.w50 {
    width: 50%;
}

.daterangepicker {
    z-index: 1200 !important; /* must be higher than the modal's z-index */
  }

  .dataTables_wrapper .row {
    margin: 0;
    padding: 0;
  }

  .dataTables_wrapper .col-sm-12 {
    margin: 0;
    padding: 0;
  }

  table.dataTable thead > tr > th.sorting, table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, 
  table.dataTable thead > tr > th.sorting_asc_disabled, table.dataTable thead > tr > th.sorting_desc_disabled, table.dataTable thead > tr > td.sorting, 
  table.dataTable thead > tr > td.sorting_asc, table.dataTable thead > tr > td.sorting_desc, table.dataTable thead > tr > td.sorting_asc_disabled, 
  table.dataTable thead > tr > td.sorting_desc_disabled
  {
    cursor: pointer;
    position: relative;
    padding-right: unset;
}

table.dataTable thead > tr > th.sorting:after, table.dataTable thead > tr > th.sorting_asc:after, table.dataTable thead > tr > th.sorting_desc:after, 
table.dataTable thead > tr > th.sorting_asc_disabled:after, table.dataTable thead > tr > th.sorting_desc_disabled:after, table.dataTable thead > tr > td.sorting:after, 
table.dataTable thead > tr > td.sorting_asc:after, table.dataTable thead > tr > td.sorting_desc:after, table.dataTable thead > tr > td.sorting_asc_disabled:after, 
table.dataTable thead > tr > td.sorting_desc_disabled:after {
    content: none;
}
table.dataTable thead > tr > th.sorting:before, table.dataTable thead > tr > th.sorting_asc:before, table.dataTable thead > tr > th.sorting_desc:before, 
table.dataTable thead > tr > th.sorting_asc_disabled:before, table.dataTable thead > tr > th.sorting_desc_disabled:before, table.dataTable thead > tr > td.sorting:before, 
table.dataTable thead > tr > td.sorting_asc:before, table.dataTable thead > tr > td.sorting_desc:before, table.dataTable thead > tr > td.sorting_asc_disabled:before, 
table.dataTable thead > tr > td.sorting_desc_disabled:before {
    content: none;
}

div.dataTables_length select, div.dataTables_filter input {
    color: white;
    font-weight: bold;
}

div.dataTables_length select > option {
    color: black;
}


a.paginate_button.current {
    background-color: #008 !important;
    color: white !important;
}

a.maillink {
    color:rgb(40, 83, 126) !important;
    text-decoration: underline;
    cursor: url('mailicon.png') 3 3, auto;
}

#assignedAccountManager {
    display: none;
}


#loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.7); /* Transparent white */
    z-index: 1000; /* Ensure it's on top of everything */
}

.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
}

.expired-review {
  color: #c62828;
  font-weight: 600;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}