a {
    color: inherit;
    font-family: inherit;
    font-weight: inherit;
}

.h1, .h2, .h3, h1, h2, h3 {
    margin-top: 20px;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.form-control.focus,
.form-control:focus {
    border-color: #00214A;
}

.btn.btn-primary {
    background-color: #00214A;
    border-color: #00214A;
}
.btn.btn-outline-primary {
    color: #00214A;
    border-color: #00214A;
}
.btn-outline-primary.focus,
.btn-outline-primary:focus,
.btn-outline-primary:hover {
    background-color: #00214A;
}

.btn.btn-info {
    background-color: #2680EB;
    border-color: #2680EB;
}
.btn.btn-outline-info {
    color: #2680EB;
    border-color: #2680EB;
}
.btn-outline-info.focus,
.btn-outline-info:focus,
.btn-outline-info:hover {
    background-color: #2680EB;
}

.btn .la + span,
.btn .fa + span,
.btn .fas + span,
.btn .far + span,
.btn .fal + span {
    margin-left: .5rem;
}

.input-group-addon,
.input-group-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
}

.nav.nav-pills,
.nav.nav-tabs {
    margin-bottom: 0;
}

.nav-link.dropdown-toggle::after,
.btn.dropdown-toggle::after {
    font-family: "Font Awesome 5 Free";
    content: "\f0d7";
    font-weight: 900;
    font-size: 1.1rem;
}

/* Tables */
.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {
    vertical-align: middle;
}

/* Modals */

/*.modal::before {*/
    /*position: absolute;*/
    /*top: 0;*/
    /*left: 0;*/
    /*width: 100%;*/
    /*height: 100%;*/
    /*background-color: black;*/
    /*opacity: 0;*/
/*}*/

.modal-header::before,
.modal-header::after {
    display: none;
}

.modal.show {
    display: flex !important;
    opacity: 1;
    justify-content: center;
    align-items: center;
}

.modal-dialog {
    width: 600px;
    max-width: none;
    /*box-shadow: 0 5px 15px rgba(0, 0, 0, .5);*/
}

.modal-lg {
    width: 900px;
}

/*.modal .modal-content .modal-header,*/
/*.modal .modal-content .modal-body,*/
/*.modal .modal-content .modal-footer {*/
    /*padding: 15px;*/
/*}*/

/*.modal .modal-content .modal-header {*/
    /*justify-content: flex-start;*/
    /*border: none;*/
    /*padding-bottom: 0;*/
/*}*/

/*.modal-header .close {*/
    /*margin-top: -.5rem;*/
/*}*/

/*.modal .modal-content .modal-footer {*/
    /*padding-top: 0;*/
    /*border: none;*/
    /*padding-bottom: 1rem;*/
/*}*/

/* Select2 */
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    min-height: calc(2.95rem + 2px);
    color: #575962;
    border: 1px solid #ababab;
}

/* Custom */
.action-buttons {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.action-button {
    width: 25px;
    height: 25px;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid;
    border-radius: 100%;
    margin: 0 4px;
    background: none;
}

.action-button > span[class*="la-"] {
    font-size: 18px;
}
.action-button > span[class*="fa-"] {
    font-size: 14px;
}

.action-button.disabled,
.action-button:disabled {
    cursor: not-allowed;
    color: grey;
    background-color: lightgrey;
    opacity: .4;
}

.action-button.disabled:hover,
.action-button:disabled:hover {
    color: grey;
    border-color: grey;
    background-color: lightgrey;
}

label, .control-label {
    font-weight: 600;
}

/* Tables */
table.dataTable {
    margin: 0 !important;
}

.table > thead > tr > th {
    border-bottom: 0;
}

.table tr {
    height: 100%;
}

.table th,
.table td {
    height: 100%;
}

.table th {
    background-color: #ECEEEF;
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th {
    padding-top: 12px;
    padding-bottom: 12px;
}

.table th > div,
.table td > div {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* Scrollbar */

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-thumb {
    background: #D8D8D8;
    border-radius: 50px;
}

::-webkit-scrollbar-thumb:hover {
    background: #CDCDCD;
}

::-webkit-scrollbar-track {
    background: none;
}

.magic-scrollbar::-webkit-scrollbar,
.magic-scrollbar::-webkit-scrollbar-thumb {
    visibility: hidden;
}

.magic-scrollbar:hover::-webkit-scrollbar,
.magic-scrollbar:hover::-webkit-scrollbar-thumb {
    visibility: visible;
}

/* Input + Button */
.input-group-grey input,
.input-group-grey input:active,
.input-group-grey input:hover {
    background-color: #F6F6F6 !important;
    border: none;
    box-shadow: none;
}

.input-group-grey button {
    background-color: #F6F6F6;
    color: #424242;
}

/* Cards */
.card .card-body {
    background-color: #F6F6F6;
}

/* Fixes */
.fix-height {
    height: 38px;
}