@import "//stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css";
@import "/libs/fontawesome-free-5.12.1-web/css/fontawesome.min.css";
@import "/libs/fontawesome-free-5.12.1-web/css/solid.min.css";

/*
 * Global config
 */
html, body {
    font-size: .9rem
}

/*
 * Top navigation
 */
.navbar-brand {
    padding-top: 0;
    padding-bottom: 0
}

.navbar-brand img {
    height: 1.6rem
}

.navbar-fixed-top {
    border: 0
}

.navbar {
    border-radius: 0
}

/* Main content */
.main {
    padding-top: 1rem;
}

.container {
    max-width: 1620px;
    min-width: 1366px
}

.modal-xlg {
    max-width: 1024px
}

/* FORM */
.col-form-legend {
    font-weight: 500
}

.col-form-label {
    text-align:right!important;
    font-weight: 600
}

.form-check {
    margin-top:calc(.375rem + 1px)!important;
}

.form-group {
    margin-bottom: .5rem
}

legend {
    font-size: 1rem
}

/* CARDS */
.card-header {
    font-size: 1.2rem
}

.card .card .card-header {
    border-color: rgba(0, 0, 0, .070) !important;
    font-size: 1.05rem
}

.card .card .card-footer {
    border-color: rgba(0, 0, 0, .070) !important
}

/* TABLE */
table.card-body th {
    border-top: 0;
}

.card-body table th {
    border-top: 0;
}

.table-sm {
    font-size: .9rem
}

th {
    font-weight: 600 !important
}

.table .date {
    white-space: nowrap
}

.text-ellipsis {
    position: relative
}

.text-ellipsis span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    position: absolute;
    left: 0;
    right: 0
}

/* BUTTONS */
.btn-xs {
    padding: .1rem .3rem;
    font-size: .7rem
}

/* The switch - the box around the slider for checkboxes */
.switch {
    position: relative;
    display: inline-block;
    width: 3.2rem;
    height: 1.6rem;
    margin: 0
}

.switch input {
    display: none
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .1s;
    border-radius: 2rem;
    transition: .1s
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 1.2rem;
    width: 1.2rem;
    left: .3rem;
    bottom: .2rem;
    background-color: #fff;
    -webkit-transition: .1s;
    border-radius: 50%;
    transition: .1s
}

input:checked + .switch-slider {
    background-color: #2196F3
}

input:focus + .switch-slider {
    box-shadow: 0 0 1px #2196F3
}

input:checked + .switch-slider:before {
    -webkit-transform: translateX(1.5rem);
    -ms-transform: translateX(1.5rem);
    transform: translateX(1.5rem)
}

/* ICONS */
.fa-check {
    color: #70ca63
}
.fa-times .fa-remove {
    color: #df5640
}

.popup-center {
    max-width: 900px;
    margin: 0 auto
}

 ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #ababab  !important;
  opacity: 1; /* Firefox */
}
.light-green {
    background: #228B22;
}
.light-yellow {
    background: #FFFF00;
}
.light-orange {
    background: #FFA500;
}
.light-red {
    background: #FF0000;
}
.text-green {
    color: #228B22;
}
.text-yellow {
    color: #FFFF00;
}
.text-orange {
    color: #FFA500;
}
.text-red {
    color: #FF0000;
}

.form-control .whiteinput [readonly] {
    background-color: white !important;
}

.aa-input-search::-webkit-search-decoration,
.aa-input-search::-webkit-search-cancel-button,
.aa-input-search::-webkit-search-results-button,
.aa-input-search::-webkit-search-results-decoration {
    display: none;
}
.aa-input-icon {
    height: 16px;
    width: 16px;
    position: absolute;
    top: 50%;
    right: 16px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    fill: #e4e4e4;
}
.aa-dropdown-menu {
    background-color: #fff;
    border: 1px solid rgba(228, 228, 228, 0.6);
    min-width: 300px;
    margin-top: 10px;
    box-sizing: border-box;
}
.aa-suggestion {
    padding: 12px;
    cursor: pointer;
}
.aa-suggestion + .aa-suggestion {
    border-top: 1px solid rgba(228, 228, 228, 0.6);
}
.aa-suggestion:hover, .aa-suggestion.aa-cursor {
    background-color: rgba(241, 241, 241, 0.35);
}
em {
    font-weight: bold;
}

/* 
 * Vertically center all modals with this class
 */
.modal-vertically-centered {
    top: 50% !important;
    transform: translateY(-50%) !important;
}


/*
 Tooltips
 */
/* Tooltip container */
.tooltipgrid {
    position: relative;
    display: inline-block;
    /* border-bottom: 1px dotted black; */ /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltipgrid .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    /* Position the tooltip text */
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;

    /* Fade in tooltip */
    opacity: 0;
    transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltipgrid .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltipgrid:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

