/* LOADING */
.loader {
    position: absolute; 
    left: calc(50%); 
    right: calc(50%);
    top: calc(50%);
    border: 8px solid #f3f3f3;
    border-radius: 50%;
    border-top: 8px solid #3498db;
    width: 60px;
    height: 60px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}
.loading {
    opacity: 0;
}
.loading_out{
    -webkit-transition: opacity 0.35s ease-in;
    -moz-transition: opacity 0.35s ease-in;
    -ms-transition: opacity 0.35s ease-in;
    -o-transition: opacity 0.35s ease-in;
    transition: opacity 0.35s ease-in;
    opacity: 1;
}

/* ACTION */
#view {
    color: #3CB371;
    font-size: 1.2em !important;
}
#edit {
    color: #FFCC00;
    font-size: 1.2em !important;
}
#delete {
    color: #FF6347;
    font-size: 1.2em !important;
}
#download {
    color: #5E86C1;
    font-size: 1.2em !important;
}
#inactive {
    color: #B2B2B2;
    font-size: 1.2em !important;
}
#pdf {
    color: #2E8B57;
    font-size: 1.2em !important;
}

/* SELECT ERROR */
.has-error .select2-selection {
    border-color: #dc3545 !important;
}

/* GENERAL */
.btn-primary {
    background-color: #1E90FF !important;
}
.text-primary {
    color: #1E90FF !important;   
} 
.btn-primary:hover {
    background-color: #4169E1 !important;
}
a:hover {
    color: #4169E1;    
}
.page-item.active .page-link {
    background-color: #1E90FF !important;
}
.hide {
    display: none;
}
.padding-0 {
    padding-left: 0px !important;
}
.custom-control-label {
    color:#404040 !important;
}
.custom-control-input ~ .custom-control-label::before {
    border:1px solid #ced4da;
    background-color: #F7F7F7;
}
.small, small {
    font-size:90%;
}
.search {
    margin-top:2px;
}
.select2-container--bootstrap .select2-selection, .input-group-text, .btn, .form-control, .file-preview {
    border-radius: 0 !important; 
}
.icon-active span, .icon-inactive span {
    display: none;
}
@media (min-width: 1200px){
    .modal-xl{
        max-width: 90%;
    }
}
@media (min-width: 1920px){
    .modal-xl{
        max-width: 1800px;
    }
}

/* TABLE */
.table td{
    padding: .30rem;    
}
.table-responsive {
    overflow-x: hidden !important;
}
table.dataTable {
    border-collapse: collapse !important;
    background: #FFF;
}
table thead>tr>th {
    border-top:none !important;
    border-bottom:none !important;
}
th {
    color:#1e90ff !important;
    font-weight:600;
}
td {
    white-space: nowrap;
    color:#404040;
}
td:last-child {
    text-align: center;
    padding-left: 10px !important;
    padding-right: 10px !important;    
}
td.wrapok {
    white-space:normal;
    min-width: 230px;
}
td.wrapok_row {
    white-space:normal;
    min-width: 750px;
}
.dataTables_length, .dataTables_filter, .dataTables_info {
    color:#404040;   
}
div.dtr-bs-modal table.table td {
    white-space: normal;
    text-align: left;
}
table.dataTable td.reorder {
    text-align: left !important;
}

/* MSG PAGE */
.vertical-center {
    min-height: 80vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color:#708090;
}
.row-fixed {
    display:-ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    right: 0px;
    left: 0px;
    padding-right:0px;
    padding-left:0px;
}
.uppercase {
    text-transform: uppercase;
}

.center {
    text-align: center;
}
.right {
    text-align: right;
}
.main {
    display: flex;
    align-items: center;
    margin-top: 5px;
    text-transform: uppercase;
    font-weight: bold;
    color: #0056b3;
}
.line {
    flex-grow: 1;
    border-bottom: 1px solid #999;
    margin: 20px;
}
.select2-container--bootstrap.select2-container--disabled .select2-selection, .select2-container--bootstrap.select2-container--disabled .select2-search__field {
    cursor:default !important;
}
.select2-container--bootstrap .select2-selection--single .select2-selection__rendered {
    font-weight: 600;    
}
.card-header {
    background-color: rgba(0,0,0,.03);
    color:#333;
}
.buttons-print{
    margin-bottom: 15px !important;
    text-transform: uppercase; 
    font-weight: bold; 
}
.dt-button{
    color:#777 !important;
}
.dt-button:hover{
    border: 1px solid #999 !important;
}
.dt-print-view h1 {
    font-size: 24px;
}
.buttons-pdf {
    font-weight: bold;    
}
.buttons-excel {
    font-weight: bold;    
}

table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child:before, table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th:first-child:before {
    top:9px !important;
}
table.dataTable tbody td {
    vertical-align: middle;
}

.extra_1{
    display:inline-block;
    padding: .25rem 0.5rem;
    width: 82%;
}
.extra_2{
    margin-top: 0rem;
    margin-bottom: 0rem;
}
.extra_3{
    display:inline-block;
}
/* CKEDITOR */
.ck .ck-powered-by{
    display: none !important;
}
.ck-content{
    min-height: 250px;
}
.ck .ck-content h2{
    font-size: 22px;
    line-height: 26px;
}