﻿

/* Remove padding for dropdown items in Bootstrap*/
li.nav-item.dropdown ul.dropdown-menu li.dropdown-item{
    padding: 0px;
}

li.nav-item.dropdown ul.dropdown-menu li.dropdown-item a{
    padding: 4px 16px;
}

/*TODO: Check and cleanup bellow styles*/

/* Check the colors in the printer list on the WPC Home page*/
.list-group-item-success {
    color: black;
    background-color: white;
}

/* Changed margin from -15px. 
   This causes list items to be too close to each other.
   In our case there was no space between "Signed in as 'User' and 'Logoff' in the navbar." */
@media (min-width: 768px) {
    .navbar-right {
        margin-right: 0px;
    }
}

/* Change from -5px for button toolbars*/
.btn-toolbar{
    margin-left: 0px;
}


.page-header {
    margin: 10px 0 20px;
    padding-bottom: 9px;
    border-bottom: 1px solid #eee;
}

.navbar {
    margin-bottom: 10px;
}

.card-title {
    font-size: 14px;
}

.tooltip {
    position: fixed;
}

.printerInfoTooltip + .tooltip > .tooltip-inner {
    text-align: left;
    white-space: nowrap;
    max-width: 400px;
}

.modal-content {
    border: 0px !important;
}

.modal-title {
    margin: 0;
    display: inline-block;
    line-height: initial;
}

.card-default > .card-header {
    color: initial;
    background-color: #f5f5f5;
    border-color: #dddddd;
}

.card{
    --bs-card-border-radius: 0px;
    --bs-card-inner-border-radius: 0px;
}

.tooltip{
    --bs-tooltip-max-width: 300px !important;
    --bs-tooltip-border-radius: 0rem !important;
}


.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active {
    background-color: #009BA6;
    border-color: #00626F;
}

.navbar-default .navbar-brand {
    font-size: 14px;
}

.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
    color: #00626F;
    /*color: #BA1E1E;*/
    background-color: transparent;
}

/* Changed by OPAL Text Color */
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: #00626F;
    /*color: #BA1E1E;*/
    background-color: transparent;
}

/* OPAL added background color and border radius  */
.modal-header {
    min-height: 16.428571429px;
    border-top-left-radius: 0px !important;
    border-top-right-radius: 0px !important;
    /*color: #fff;*/
    padding: 12px;
}

/* Modal*/

@media (min-width: 1219px) {
    .modal-dialog{
        max-width: 1210px !important;
    }
}

.modal{
    --bs-modal-border-radius: 0px;
}

.modal-footer{
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

/*OPAL change color from: #428bca*/
a {
    color: #333333;
    text-decoration: none;
}

/*OPAL change color from: #2a6496*/
a:focus {
    color: #FF8C00;
    text-decoration: underline;
}

/* Overrides background-color attribute of Boostrap-Dialog's modal-header for TYPE_SUCCESS */
.bootstrap-dialog.type-success .modal-header {
    background-color: #00626F;
}

/* Overrides color attributes of Boostrap-Dialog's btn-success for TYPE_SUCCESS */
.bootstrap-dialog .btn-success {
    color: #ffffff;
    background-color: #009BA6;
    border-color: #00626F;
}

.bootstrap-dialog.type-primary .modal-header {
    background-color: #009BA6 !important;
}

.form-control:focus {
    border-color: #009BA6;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
    box-shadow: inset 0px 1px 1px rgba(0,0,0,0.075), 0px 0px 8px rgba(102,175,233,0.6);
}

.modal-title {
    font-size: 18px !important;
    text-transform: uppercase;
}

.input-dialog .modal-dialog {
    width: 400px;
}

.modal-dialog {
    width: 800px;
}

.tooltip {
    z-index: 1151 !important;
}

@media (min-width: 1200px) {
    .container {
        max-width: 100%;
    }
}

.form-group-no-margin{
    margin:0;
}

h1, .h1, h2, .h2, h3, .h3{
    margin-top: 15px;
    margin-bottom: 15px;
}

/* Make padding smaller for lover resolution screens */
/*@media (max-width: 1240px) {
    .form-control{
        padding: 3px 3px;
    }
}*/

/* Fix for IE/EDGE for adding extra padding for screens with smaller resolution*/
@media (max-width: 1219px) {
    .modal.fade.in {
        padding-left: 0px !important;
    }
}

/* Fix the height of nav*/
/*nav{
    height: 50px;
}*/

.navbar{
    margin: 0px;
}

.dropdown-menu{
    --bs-dropdown-border-radius: 0px;
    --bs-dropdown-border-radius-inner: 0px;
    box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
}

.dropdown-header{
    font-weight: 600;
}
.opl-page-navbar{
    background-color: #f8f8f8 !important;
    border-color: #e7e7e7 !important;
    border: solid 1px;
}

.display-6{
    font-size: 2.2rem;
}

.form-control{
    border-radius: 0px;
}
.input-group-text{
    border-radius: 0px;
}

/* Bootstrap 5 overrides*/
.modal-content{
   box-shadow: 0 1rem 3rem rgba(0,0,0, .175);
}
.modal-header{
color: white;
}

.display-7{
    font-weight: 300;
    font-size: 2rem;
  }
  
.display-8{
  font-weight: 300;
  font-size: 1.6rem;
}

.display-9{
  font-weight: 300;
  font-size: 1.4rem;
}

.display-10{
  font-weight: 300;
  font-size: 1rem;
}

.display-11{
  font-weight: 300;
  font-size: 0.7rem;
}

.form-control:disabled{
    background-color: rgb(250, 250, 250);
}

body{
    font-family:'Open Sans', sans-serif;
    --bs-body-font-family:'Open Sans', sans-serif;
    --bs-body-font-size: 15px;
}

.nav-item,
.dropdown-item{
    font-size: 15px;
}

.card-body,
.card-header,
.dropdown-header,
.table
{
    color: #333333;
}

.field-validation-error{
    font-size: 14px !important;
}

.dropdown-header{
    font-size: 13px;
}