﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

@font-face {
    font-family: "AxiformaBook";
    src: url('webfonts/AxiformaBook/font.woff2') format('woff2'), url('webfonts/AxiformaBook/font.woff') format('woff');
}

@font-face {
    font-family: "AxiformaSemiBold";
    src: url('webfonts/AxiformaSemiBold/font.woff2') format('woff2'), url('webfonts/AxiformaSemiBold/font.woff') format('woff');
}

@font-face {
    font-family: "AxiformaExtraBold";
    src: url('webfonts/AxiformaExtraBold/font.woff2') format('woff2'), url('webfonts/AxiformaExtraBold/font.woff') format('woff');
}

@font-face {
    font-family: "AxiformaRegular";
    src: url('webfonts/AxiformaRegular/font.woff2') format('woff2'), url('webfonts/AxiformaRegular/font.woff') format('woff');
}

@font-face {
    font-family: "AxiformaBlack";
    src: url('webfonts/AxiformaBlack/font.woff2') format('woff2'), url('webfonts/AxiformaBlack/font.woff') format('woff');
}

@font-face {
    font-family: "AxiformaMedium";
    src: url('webfonts/AxiformaMedium/font.woff2') format('woff2'), url('webfonts/AxiformaMedium/font.woff') format('woff');
}

@font-face {
    font-family: "AxiformaBold";
    src: url('webfonts/AxiformaBold/font.woff2') format('woff2'), url('webfonts/AxiformaBold/font.woff') format('woff');
}

@font-face {
    font-family: "AxiformaThin";
    src: url('webfonts/AxiformaThin/font.woff2') format('woff2'), url('webfonts/AxiformaThin/font.woff') format('woff');
}

@font-face {
    font-family: "AxiformaLight";
    src: url('webfonts/AxiformaLight/font.woff2') format('woff2'), url('webfonts/AxiformaLight/font.woff') format('woff');
}

@font-face {
    font-family: "AxiformaHeavy";
    src: url('webfonts/AxiformaHeavy/font.woff2') format('woff2'), url('webfonts/AxiformaHeavy/font.woff') format('woff');
}


a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 12px;
}

@media (max-width: 768px) {
    #sidebar-container {
        margin-left: -250px;
    }

    .login-root {
        display: flex;
        flex-direction: column-reverse !important;
        height: 100%;
        width: 100%;
    }

    .left-column, .right-column {
        width: 100% !important;
    }

    .left-column {
        margin: 0.5rem !important;
    }
}

@media (min-width: 768px) {
    .container {
        font-size: 1.3rem !important;
    }
}

@media (min-width: 576px) {
    .container {
        width: 100%;
        max-width: 100%;
    }
}

@media print {
    .shadow {
        -webkit-box-shadow: none !important;
        -moz-box-shadow: none !important;
        box-shadow: none !important;
    }
}

.dataTables_wrapper {
    font-size:0.9rem !important;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    font-size: 1.125em;
    font-family: AxiformaLight;
}
.body-fullscreen {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    height: 100%;
    display: flex;
}

.body-empty-layout {
    background: linear-gradient(to bottom, rgba(214,214,214, 0.52), rgba(89,89,89, 0.73)), url(/img/ERPbackground-image.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

.login-page-image {
    background: url(/img/WindTurbinesBackground.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.login-root {
    display: flex;
    flex-direction: row;
    height: 100%;
}

.left-column {
    width: 40%;
    height: 93vh;
    margin:1.5rem;
}

.right-column {
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.grey-text {
    color: grey;
}

.login-container {
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: -1px 1px 0px 1.5px rgb(246, 246, 246);
}

.text-start{
    text-align: start;
}

.body-plugin-layout {
    background-color: #F0F5F9;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

.card-header {
    background-color: #fff;
    color: #000;
    border-bottom: 0px;
    color: #144544;
    font-weight: bold;
    padding-left: 1.3rem;   
}

.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active, .show > .btn-primary.dropdown-toggle {
    color: #000;
    background-color: #CC8943;
    border-color: #CC8943;
}

.btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active, .show > .btn-secondary.dropdown-toggle {
    color: #000;
    background-color: #CC8943;
    border-color: #CC8943;
}

img.navbar-brand {
    height: 2.25rem;
    max-height: 3.75rem;    
}

/* Page status */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 9999999;
    visibility: hidden;
}

.loader {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    border: 6px solid #f3f3f3;
    border-radius: 50%;
    border-left: 6px solid #000;
    border-right: 6px solid #000;
    border-top: 6px solid #F57D20;
    border-bottom: 6px solid #F57D20;
    width: 50px;
    height: 50px;
    margin-left: -25px;
    margin-top: -25px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.showLoader {
    visibility: visible;
}

.overlay {
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.overlay.showLoader {
    opacity: 0;
}

.no-padding{
    padding: 0 !important;
    margin: 0 !important;
}

.no-padding > main > .card:first-child {
    border-radius: 0;
    border: none;
}

.no-padding > main > .card:first-child .card-footer {
    background-color: transparent;
    border-top: none;
}

/* Field validation*/
.field-validation-error {
    display: none;
}
.input-validation-error {
    border: 2px solid red !important;
}

.form-radio-group:has(.input-validation-error) {
    border: 2px solid red !important;
}

/*login box*/
.login-container{
    min-width: 400px;
    width: 500px;    
}

.login-container > .card{
    background: #fff;
    border-color: #fff;
}
.login-container > *, .login-container .btn-link{
    color: #000;
}

.welcome-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    height: auto;
    width: auto;
    max-height: 80px;
    max-width: 220px;
}

.center-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
}

.mw-50{
    min-width: 50vw;
}

.mh-50{
    min-height: 50vh;
}
/*page access error*/
.pagewarning-container {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 500px;
    height: 450px;
    margin-left: -250px;
    margin-top: -210px;
}


.pagewarning-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    height: auto;
    width: auto;
    max-height: 160px;
    max-width: 480px;
}

/* table*/
.table {
    border-top: none;
}
.table th, .table td {
    padding: 0.3rem;
    font-size: 0.9rem;
}

.table th{
    font-weight: 400;
    border-left: none;
}

.table-bordered thead th,
.table-bordered thead td{
/*    border-top: none;*/
    border-bottom: none;
}

.table thead {
    background-color: #819799;
    border-color: #819799;
    color: #fff;
}

.table.table-full-width{
    width: 100%;
}

.table.table-row-clickable {
    cursor: pointer;
}

.table-striped tbody .table-group:nth-of-type(odd), .table-group {
    background-color: #cce4ff;
    color: #000;
}

.table-striped tbody .table-group:nth-of-type(even), .table-group {
    background-color: #cce4ff;
    color: #000;
}

.table-group-clickable:hover {
    cursor: pointer !important;
}
.table-group:hover{
    cursor: default;
} 

table.dataTable thead .sorting:before, table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_desc:before, table.dataTable thead .sorting_asc_disabled:before, table.dataTable thead .sorting_desc_disabled:before {
    top: 3px;
}

table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_asc_disabled:after, table.dataTable thead .sorting_desc_disabled:after {
    top: 3px;
}

table tbody td > input:checked {
    accent-color: green !important;
}

table tbody tr.selected {
    background-color: rgba(0, 0, 0, 0.15) !important;
}

.modal-dialog-scrollable > .modal-content > form {
    overflow-y: auto;
}

.modal-fw {
    max-width: 90vw;
}

/* plugin buttons*/
.pluginbutton {
    background: #17a2b8; 
    border-color: #fff !important;
    color: #fff;
}
.pluginbutton:hover {
    filter: brightness(0.9);
    color: #fff;
    text-decoration: none;
}

.pluginbutton > .card-body
{
    padding-bottom: 0px !important;
}

.pluginbutton > .card-body > img {
    width: 30px;
    height: 30px;
}

.pluginbutton > .card-body > svg {
    width: 30px;
    height: 30px;
    stroke: #ffffff;
}

.pluginbutton > .card-footer{
    background-color: transparent !important;
    border-top: none;
    font-size: smaller;
    text-align: center;
}

.hiddenDesc{
    display: none;
}

.pluginLinkbutton:hover + .hiddenDesc {
    display: block;
}

/*configurable form*/
span.form-text {
    font-size: 0.875rem;
}
.form-label {
    font-size: 0.875rem;
    font-weight: bolder;
    margin-bottom: 0.3rem;
}
.form-control {
    font-size: 0.875rem;
}

/*.form-control:disabled, .form-control[readonly] {
    background-color: #fff;
    opacity: 1;
}

.form-control:disabled + .input-group-append > span {
    border: none;
    background-color: transparent !important;
}*/

.form-control-plaintext {
    font-size: 0.875rem;
}

/*.form-control:disabled {
    border: none;
    padding: 0;
}*/

.form-control.form-radio-group {
    border: none;
    padding-left: 0;
}

.form-control.form-radio-group label {
    padding-left: 2px;
    font-size: 0.875rem;
    vertical-align: top;
    margin-right: 10px;
}

.form-check span{
    padding-left: 2px;
    font-size: 0.875rem;
    vertical-align: top;
}

.form-checkbox-list label {
    margin-left: 0.5rem;
    margin-bottom: 0;
    position: relative;
    top: 0.65rem;
}

.custom-control-label {
    font-size: 0.875rem;
    font-weight: bolder;
    margin-bottom: 0.3rem;
}

/*select.form-control:disabled {*/
    /* for Firefox */
    /*-moz-appearance: none;*/
    /* for Chrome */
    /*-webkit-appearance: none;
}*/

.filterTray {
    background-color: #fff;
    width: 200px;
    height: calc(100vh - 100px);   
}

.filterTray > .card-body{
    padding: 0;
    overflow-y: auto;
}

.filterTray > .card-body > .card{
    border:0;
}

.tab-card-no-margin{
    margin-left: -12px;
    margin-right: -12px;
}

.card-header-no-margin {
    margin-left: -12px;
    margin-right: -12px;
}

.btn-lookup {
    font-size: 0.875rem;
}

.btn-danger {
    background-color: #383242;
    border-color: #383242;
    color: #0FD46C;
}

.btn-danger:hover {
    color: #fff;
    background-color: #c82333;
    border-color: #bd2130;
}

.btn-primary {
    background-color: #0FD46C;
    border-color: #0FD46C;
    color: #383242;
    font-weight: bold;    
}

.btn-primary:hover {
    background: #CC8943;
    border-color: #CC8943;
    filter: brightness(0.8)
}

.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active {
    color: #fff;
    background-color: #0FD46C;
    border-color: #0FD46C;
}

.btn-primary:focus, .btn-primary.focus {
     border-color: #CC8943;
     box-shadow: 0 0 0 0.2rem #CC8943;
}

.btn-secondary {
    background-color: #01114A;
    border-color: #01114A;
    color: #F0F0E3;
    font-weight: bold;
}

.btn-secondary:hover {
     background: #CC8943;
     border-color: #CC8943;
     filter: brightness(0.8)
}

.btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active {
     color: #fff;
     background-color: #01114A;
     border-color: #01114A;
}

.btn-secondary:focus, .btn-secondary.focus {
      border-color: #CC8943;
      box-shadow: 0 0 0 0.2rem #CC8943;
}

/*Navigation overrides*/

.navbar {
    background: #fff;
}

.navbar-nav li:hover .dropdown-menu {
    display: block;
}

/* rotate caret on hover */
.dropdown-menu > li > a:hover:after {
    text-decoration: underline;
    transform: rotate(-90deg);
}

.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
    background-color: transparent !important;
    border-bottom-width: 0.25rem !important;
    border-color: transparent transparent #b9d3ed transparent !important;
}
.nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus {
    border-color: transparent transparent #84a7c9 transparent !important;
    border-bottom-width: 0.25rem !important;
}

.navbar-nav .nav-item > .dropdown-menu-right > a {
    color: #000;
}

.navbar-nav .nav-item > .dropdown-menu-right > a:hover {
    color: #FFF;
}

.nav-tabs .nav-link {
    color: #495057;
}

.navbar-nav .nav-item a {
    color: #4B4B4B;
}

.dropdown-menu{
    min-width: 15rem;
}

.dropdown-menu-right {
    top: 40px;
    right: -10px;
}

.dropdown-menu-right > a:hover {
    color: #0FD46C;
    /*text-decoration:none;*/
}

.card-header-tabs{
    margin-top: -0.625rem;
}

.paginate_button.page-item.last{
    display: none !important;
}

.custom-switch .custom-control-label::before {
    cursor: pointer;
}

.custom-switch .custom-control-label::after {
    cursor: pointer;
}

.custom-switch .custom-control-input:disabled ~ .custom-control-label::before {
    cursor: not-allowed;
}

.custom-switch .custom-control-input:disabled ~ .custom-control-label::after {
    cursor: not-allowed;
}

#widgetList > .card{
    border: none;
    padding: 5px;
}

#widgetList .widgetSetting {
    font-size: 1rem;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

#widgetList .widgetSetting:hover {
    cursor: pointer;
}

#widgetList h6:hover{
    cursor:move;
}


#widgetList > .card > .card-body {
    padding: 5px;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.75rem;
    text-align: center;
}

.hideAllChildren > * {
    display: none;
}

.card {
    border-radius: 0.75rem;
}

.card-header:first-child {
    padding-top: 0px;
    border-radius: calc(0.75rem - 1px);
}

.filterTray > .card-header:first-child {
    border-top-left-radius: 0 !important;
}
.card-success {
    background: #28a745;
    border-color: transparent !important;
}

.card-success > * {
    color: #fff;
    stroke: #fff;
}

.card-info {
    background: #17a2b8;
    border-color: transparent !important;
}

.card-info > * {
    color: #fff;
    stroke: #fff;
}

.card-danger {
    background: #dc3545;
    border-color: transparent !important;
}

.card-danger > * {
    color: #fff;
    stroke: #fff;
}

.card-warning {
    background: #ffc107;
    border-color: transparent !important;
}

.card-warning > * {
    color: #fff;
    stroke: #fff;
}


.card-custom-1 {
    background: #6b5b95;
    border-color: transparent !important;
}

.card-custom-1 > * {
    color: #fff;
    stroke: #fff;
}

.card-custom-2 {
    background: #feb236;
    border-color: transparent !important;
}

.card-custom-2 > * {
    color: #fff;
    stroke: #fff;
}

.card-custom-3 {
    background: #d64161;
    border-color: transparent !important;
}

.card-custom-3 > * {
    color: #fff;
    stroke: #fff;
}

.card-custom-4 {
    background: #ff7b25;
    border-color: transparent !important;
}

.card-custom-4 > * {
    color: #fff;
    stroke: #fff;
}

.main-container{
    opacity: 0;
    overflow-y: auto;
}

label:has(+ .input-group > input[data-val-required]:enabled):after {
    content: ' *';
    color: red;
}

label:has(+ input[data-val-required]:enabled):after {
    content: ' *';
    color: red;
}

label:has(+ textarea[data-val-required]:enabled):after {
    content: ' *';
    color: red;
}

label:has(+ input[data-val-required]):has(~ select:enabled):after {
    content: ' *';
    color: red;
}

label:has(~ select[data-val-required]:enabled):after {
    content: ' *';
    color: red;
}

label:has(+ div.form-radio-group input[data-val-required]:enabled):after {
    content: ' *';
    color: red;
}

.login-container label:has(+ input[data-val-required]:enabled):after {
    content: ''
}

.modal{
    backdrop-filter: blur(5px);
}

.resizer {
    min-width: 250px;
}

@media (max-width: 899px) {
    .resizer {
        max-width: 100%;
        flex-basis: 100% !important;
    }
    .resizer-right{
        display: none;
    }
}
@media (min-width: 900px) {
    .resizer {
        max-width: 50%;
    }
}


.resizer-right {
    width: 5px;
    height: 100%;
    background: transparent;
    position: absolute;
    right: 0;
    bottom: 0;
    cursor: e-resize;
    border-radius: 0.75rem;
}

.resizer-right:hover{
    background-color: black;
    opacity: 0.2;
    
}

.resizer-right.dragging {
    background-color: black;
    opacity: 0.2;
}

.ui-datepicker {
    z-index: 9999 !important;
}

.breadcrumb-item, .breadcrumb-item a {
    color: #4B4B4B
}

.breadcrumb-item a:hover {
    color: #0FD46C;
}

a {
   color: #4B4B4B;
}

a:hover {
   color: #0FD46C;
}

#mainHeaderContainer .dropdown-menu-right {
    top: 30px;
}

#mainHeaderContainer .dropdown-menu-right a:hover {
    color: #0FD46C;
}

#mainHeaderContainer {
    font-size: 1.1rem !important;
}

#btnSidebarCollapse {
    width: 1.25rem;
    padding-left: 0.188rem;
}

footer {
    position: fixed;
    height: 12px;
    bottom: 0;
}

#footerDiv {
    left: 0;
    width: 200px;
    z-index: 1050;
}

#lblSystem {
    background: #FF0000;
    text-align: center;
    color: #fff;
    font-size: 0.7rem;
}

.navbar-nav .nav-item a {
    color: #4B4B4B !important;
}

.btn {
    border-radius: 30px;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
    margin-bottom: 0.5rem;
    margin-right: 0.25rem;
}

.btn-group > .btn:not(:last-child):not(.dropdown-toggle), .btn-group > .btn-group:not(:last-child) > .btn {
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}

.btn-group > .btn:not(:first-child), .btn-group > .btn-group:not(:first-child) > .btn {
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
}

#sidebar-container {
    margin-right: 3px;
    margin-left: 10px;
    border-radius: 20px;
}

h1 {
    font-size: 3.815rem;
    line-height: 1.2;
}

h2 {
    font-size: 3.052rem;
    line-height: 1.2;
}

h3 {
    font-size: 2.441rem;
    line-height: 1.2;
}

h4 {
    font-size: 1.953rem;
    line-height: 1.2;
}

h5 {
    font-size: 1.25rem;
    line-height: 1.2;
}

h6 {
    font-size: 1rem;
    line-height: 1.2;
}

small {
    font-size: 0.8rem;
}

p{
    font-size: 1rem;
}

body{
    line-height: 1.5;
}

.card{
    border-radius: 20px;
    padding-top: 15px;
}

.modal-content{
    border-radius:1rem;
}

.card-body{
    padding-top: 0px;
}

.card-footer:last-child {
    border-radius: 0 0 20px 20px;
}

a.nav-link:hover {
    color: #0FD46C !important;
    text-decoration: underline;
}

.form-control:focus {
    border-color: #0FD46C;
    box-shadow: 0 0 0 0.2rem rgb(208, 247, 227);    
}

.pt-chk-lbl{
    padding-top:0.1rem;
}