/***********
** TABLES **
***********/

.bg-orange {background-color: #ff6600 !important; color: #fff !important;}
.bg-blue {background-color: #003399 !important; color: #fff !important;}
.bg-gradient-red {background: linear-gradient(135deg, #f4516c 30%, #ffb822 100%); border:none;}

.label-event {
	padding: 2px 10px;
	border: 1px solid #ccc;
	border-radius: 15px;
	text-transform: capitalize;
}


@media screen and (max-width: 767px) {
    
    /* Filter and Length Component */
    .dataTables_filter {
        text-align: start !important;
    }
    /* Pagination Component*/
    .dataTables_paginate .pagination {
        justify-content: center !important;
    }
    li.paginate_button.previous {
        display: inline !important;
    }
    li.paginate_button.next {
        display: inline !important;
    }
    li.paginate_button {
        display: none !important;
    }
}

.dataTables_filter {
    text-align: end;
}
.dataTables_length {
    text-align: start !important;
}

table.dataTable thead tr {
    background-color: #003399;
    color: #eaeaea;
}
table.dataTable thead th:before {
    color: #eaeaea;
}

table.dataTable tbody td.nowrap {
    white-space: nowrap;
}

div.nopadding {
    padding: 0;
}

/* Form Control */
.dataTables_wrapper .form-control {
    margin-left: 0rem !important;
}

.dataTables_wrapper .form-control:focus {
    border-color: #003399;
}

.dataTables_wrapper .form-control-sm,  .dataTables_wrapper .custom-select-sm{
    font-size: 100%;
}

table.dataTable.dtr-column>tbody>tr>td.control:before, table.dataTable.dtr-column>tbody>tr>th.control:before {
    box-shadow: none !important;
    font-family: "Font Awesome 5 Free" !important;
    border: 2px rgba(0, 0, 0, 0) !important;
    background-color: rgba(0, 0, 0, 0) !important;
    color: #003399 !important;
    content: "\f0da" !important;
    font-weight: 900 !important;
    padding-left: 0.25rem !important;
    padding-top: 0.225rem !important;
}

table.dataTable.dtr-column>tbody>tr.parent td.control:before, table.dataTable.dtr-column>tbody>tr.parent th.control:before {
    content: "\f0d7" !important;
}

li.paginate_button.page-item.active>a, li.paginate_button.page-item>a:hover, li.paginate_button.page-item:hover>a{
    background: #003399 !important;
}
li.paginate_button.page-item.next:not(.disabled)>a, li.paginate_button.page-item.previous:not(.disabled)>a{
    background: rgba(0, 51, 153, 0.5) !important;
    color: white;
}
li.paginate_button.page-item.next:not(.disabled)>a:hover, li.paginate_button.page-item.previous:not(.disabled)>a:hover{
    background: #003399 !important;
    color: white;
}
li.paginate_button.page-item.disabled>a
{
    background: rgba(0, 51, 153, 0.1) !important;
}

li.paginate_button.page-item.disabled:hover>a
{
    background: rgba(0, 51, 153, 0.3) !important;
}

/************
** LOADING **
************/

#loading {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    display: block;
    opacity: 0.7;
    background-color: #fff;
    z-index: 99;
    text-align: center;
 }
 
 #loading-image {
    margin: auto;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
   z-index: 100;
 }

 /* Text area description */
 textarea[disabled] {
     overflow-y: auto !important;
 }


@media screen and (max-width: 768px) {

    .m-portlet__body {
        padding: 0 1rem !important;
    }

    .m-portlet__head {
        height: 4rem !important;
    }

}

@media screen and (max-width: 1024px) {
    
    .form-group {
        padding-top: 0 !important;
    }

}
