
@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
   margin: 0px;
   font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
   font-size: 14px;
   height: 100%;
   background: #2B2E2E;
   overflow: hidden;
}

#page {
   display: flex;
   flex-direction: column;
   margin: 0px;
   height: 100%;
}

.page-light {
   background: #fff;
}

.page-dark {
   background: #2B2E2E;
}

body .page-light {
   color: #15254C;
}

body .page-dark {
   color: #fff;
}

span .page-light {
   color: #000000;
}

span .page-dark {
   color: #ffffff;
}

.1page-light #main #main-content ::deep {
   color: #00437b;
}

.1page-dark #main #main-content .main-content-item {
   color: #fff;
}

#header {
   display: flex;
   flex-direction: row;
   height: 35px;
}

#header-title {
   color: white;
   background: #198FD5;
   font-size: 14px;
   padding-top: 0px;
   padding-bottom: 10px;
   padding-left: 14px;
   padding-right: 14px;
   flex-grow: 1;
   justify-content: space-between;
   display: flex;
}
#header-title-logo {
   padding-top: 5px;
}
.header-title-text {
   color: white;
   margin-top: 2px;
   margin-left: 15px;
   margin-right: 10px;
   padding-top: 4px;
}
.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
    margin-top: 5px;
    height: 26px;
    outline: none !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    margin-top: -3px;
}
#header-topbar {
   display: none;
}

#main {
   display: flex;
   flex-direction: row;
   align-items: stretch;
   /* child flex properties */
   flex-grow: 1;
   flex-wrap: wrap;
   height: 100%;
}

#main-sidebar {
   width: 100%;
   min-width: 100%;
   color: white;
   background: #15254C;
   padding: 16px;
}

.main-sidebar-collapse {
   display: none;
}

.main-sidebar-item {
   height: 30px;
   width: 175px;
   margin: 10px;
   padding: 10px;
   padding-top: 20px;
   border: solid 1px white;
}

#reconnect-modal {
    /*DO NOT ADD DISPLAY*/
    flex-direction: row;
    height: 30px;
    width: 100%;
    background-color: #198FD5;
}

#reconnect-modal-message {
    height: 55px;
    padding-left: 15px;
    padding-top: 2px;
    width: 100%;
    text-align: center;
    background-color: transparent;
    font-size: 18px;
    font-weight: bold;
    color: white;
    /*animation: blinker 3s ease-in-out infinite;*/
}

#push_notification_header {
    display: flex;
    flex-direction: row;
    height: 55px;
    width: 100%;
    background-color: red;
}

#push_notification_message {
    height: 55px;
    padding-left: 15px;
    width: 100%;
    text-align: center;
    background-color: transparent;
    font-size: 18px;
    font-weight: bold;
    color: black;
    animation: blinker 3s ease-in-out infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

#main-content {
    padding: 10px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.main-content-title {
   font-size: 1.75rem;
   padding-bottom: 10px;
}

.main-content-row {
   padding: 2px;
}

.main-content-wrap-container {
   display: flex;
   flex-direction: row;
   flex-wrap: wrap;
}

.main-content-wrap-container-item {
   height: 100px;
   width: 200px;
   padding: 10px;
   border: solid 1px black;
}

.main-content-stack-container {
   display: flex;
   flex-direction: column;
   flex-wrap: nowrap;
}

.main-content-stack-container-item {
   height: 100px;
   padding: 10px;
   border: solid 1px black;
}

.main-content-vstretch-container {
   display: flex;
   flex-direction: column;
   align-items: stretch;
   flex-wrap: nowrap;
   height: 100%;
}

.main-content-vstretch-container-item {
   height: 100%;
   padding: 10px;
}

@media (min-width: 931px) {
    #header {
        display: flex;
        flex-direction: row;
        height: 55px;
    }

    #push_notification_header {
        height: 35px;
    }

    #push_notification_message {
        height: 55px;
        width: 100%;
        font-size: 22px;
    }

    #header-title {
        width: 300px;
        font-size: 22px;
        padding-top: 5px;
        min-width: 300px;
        flex-grow: 0;
    }
    #header-title-logo {
        padding-top: 4px;
    }
    .navbar-toggler {
        /*display: none;*/
        outline: none !important;
        margin-top: 9px;
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        margin-top: -4px;
    }
   #main {
      flex-wrap: nowrap;
   }
   #main-sidebar {
      width: 300px;
      min-width: 300px;
      padding: 0px;
      height:100%;
   }
   .main-sidebar-collapse {
      display: none;
   }
    .main-sidebar-shown {
        position: absolute;
        display: block;
        z-index: 2000;
    }


   #header-topbar {
      display: block;
      background: #CECECE;
      flex-grow: 1;
      text-align: right;
      padding: 8px;
      border-bottom: 1px solid #198FD5;
   }

   
   .page-light #header-topbar {
      background: #f7f7f7;
   }

   .page-dark #header-topbar {
      background: #201F1E;
   }

   .page-light #main-sidebar {
      background: #16254E;
   }

   .page-dark #main-sidebar {
      background: #201F1E;
   }
}



a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/*.content {
   padding-top: 1.1rem;
   flex: 1;
   height: calc(100% - 3.5rem);
}*/

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
   cursor: pointer;
   position: absolute;
   right: 0.75rem;
   top: 0.5rem;
}


/*div.main {
   background-color: black !important;
   color: white !important;
}*/

.oi {
   width: 2rem;
   font-size: 1.1rem;
   vertical-align: text-top;
   top: -2px;
}


/* width */
::-webkit-scrollbar {
    width: 20px;
}



/* track */
::-webkit-scrolbar-track {
    box-shadow: inset 0 0 5px grey;
}



/* handle */
::-webkit-scrollbar-thumb {
    background: #212A33;
    border: solid 1px #198FD5;
}


/*  Menu Items Telerik
    get rid of outline focus*/
.k-menu-group .k-item.k-focus > .k-link {
    box-shadow: none !important;
}

.k-button-solid-base:focus, .k-button-solid-base.k-focus, .k-menu:not(.k-context-menu) > .k-item:focus, .k-menu:not(.k-context-menu) > .k-item.k-focus {
    box-shadow: none !important;
}

    /* handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #198FD5;
    }



    /* Telerik Loader styles*/
.telerik-loader-indicator {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.telerik-timeplot-loader-indicator {
    position: absolute;
    left: 50%;
    top: calc(50% - 38px);
}

.telerik-loader-box {
    position: absolute;
    padding: 0px;
    margin: 0px;
    background: Transparent;
    opacity: 0.9;
    z-index: 1000;
    width: 100%;
    height: calc(100% - 38px);
}

/* overlay */
.custom-loading-colors.k-loader-container {
    top: 56px;
    z-index: 1999;
}

.custom-loading-colors .k-loader-container-overlay {
    background-color: #ffffff00;
}

/* panel */
.custom-loading-colors .k-loader-container-panel {
    background-color: #ddd0ffff;
    border-radius: 25px;
}

/* animation */
@* .custom-loading-colors .k-loader {
    color: blue;
}

*@
/* text */
.custom-loading-colors .k-loader-container-label {
    color: black !important;
    @* font-weight: bold;
    *@
}





/********Telerik Items*******/
.default-telerik-combo-box {
    height: 30px;
    border: 0;
}


.dark-select {
    background-color: #333;
    color: white;
    border: 1px solid #555;
}

.light-select {
    background-color: #fff;
    color: black;
    border: 1px solid #ccc;
}

.dark-input {
    background-color: #333;
    color: white;
    border: 1px solid #555;
}

.light-input {
    background-color: #fff;
    color: black;
    border: 1px solid #ccc;
}
