html,
body {
    height: 100%;
}

body {
    font-size: 0.8rem;
    background-color: #F8F8F8;
}

main {
    margin-bottom: 40px;
}

nav {
    background-color: #FFFFFF;
    font-size: 0.9rem;
    text-transform: uppercase;
}

a {
    color: #C71928;
}

a:hover {
    color: #C71928;
}

h1 {
    color: #000;
}

small {
    font-size: 50%;
}

.navbar-nav .nav-link {
    color: #000;
    position: relative;
}

.login {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-align: center;
    -ms-flex-pack: center;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

@media (min-width: 992px) {
    .nav-link.nav-main:before {
        content: "";
        position: absolute;
        width: auto;
        height: 2px;
        background: #FFFFFF;
        left: 25px;
        right: 25px;
        bottom: 5px;
        -webkit-transition: all, 0.4s;
        -moz-transition: all, 0.4s;
        -ms-transition: all, 0.4s;
        -o-transition: all, 0.4s;
        transition: all, 0.4s;
    }

    .nav-link.nav-main:hover:before {
        background: #C71928;
    }
}

.form-control {
    border-radius: .15rem;
}

.login-cont {
    min-height: calc(100% - 104px);
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
}

.form-signin {
    width: 100%;
    max-width: 400px;
    padding: 15px;
    margin: 0 auto;
    margin-top: -104px;
}

.form-signin .checkbox {
    font-weight: 400;
}

.form-signin .form-control {
    position: relative;
    box-sizing: border-box;
    height: auto;
    padding: 10px;
    font-size: 0.8rem;
}

.form-signin .form-control:focus {
    z-index: 2;
}

.form-signin input[type="text"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.pagination {
    margin-top: 20px;
    margin-bottom: 5px;
}

.pagination > li > a {
    color: #C71928;
}

.pagination > li > a:focus,
.pagination > li > a:hover,
.pagination > li > span:focus,
.pagination > li > span:hover {
    color: #C71928;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #C71928;
    border-color: #C71928;
}

.btn {
    border-radius: 0.15rem;
}

.table .btn {
    font-size: 0.8rem;
}

.btn-outline-danger {
    color: #C71928;
    border-color: #C71928;
}

.btn-outline-danger:hover {
    color: #fff;
    background-color: #C71928;
    border-color: #C71928;
}

.btn-outline-secondary {
    color: #333;
    border-color: #333;
}

.btn-outline-secondary:hover {
    color: #FFFFFF;
    background-color: #333;
    border-color: #333;
}

.btn-outline-danger:not(:disabled):not(.disabled).active, .btn-outline-danger:not(:disabled):not(.disabled):active, .show > .btn-outline-danger.dropdown-toggle {
    color: #fff;
    background-color: #C71928;
    border-color: #C71928;

}

.btn-outline-danger:not(:disabled):not(.disabled).active:focus, .btn-outline-danger:not(:disabled):not(.disabled):active:focus, .show > .btn-outline-danger.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.1rem rgba(0, 0, 0, .1);

}

.btn-outline-danger.focus, .btn-outline-danger:focus {
    box-shadow: 0 0 0 0.1rem rgba(0, 0, 0, .1);
}

.btn-danger:not(:disabled):not(.disabled).active, .btn-danger:not(:disabled):not(.disabled):active, .show > .btn-danger.dropdown-toggle {
    color: #fff;
    background-color: #C71928;
    border-color: #C71928;
}

.btn-danger:not(:disabled):not(.disabled).active:focus, .btn-danger:not(:disabled):not(.disabled):active:focus, .show > .btn-danger.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.1rem rgba(0, 0, 0, .1);
}

.btn-danger.focus, .btn-danger:focus {
    color: #fff;
    background-color: #C71928;
    border-color: #C71928;
    box-shadow: 0 0 0 0.1rem rgba(0, 0, 0, .1);
}

.btn-danger:hover {
    color: #fff;
    background-color: #C71928;
    border-color: #C71928;
}

.btn-danger {
    color: #fff;
    background-color: #C71928;
    border-color: #C71928;
}

.logout {
    font-size: 0.8rem;
    opacity: 0.5;
}

.logout:hover {
    opacity: 1;
}

.signin {
    font-size: 1rem;
}

.ui-datepicker {
    display: none;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: .25rem;
    padding: .75rem;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
}

.sms .ui-datepicker {
    border: 0px;
    padding: 0.5rem 0;
    box-shadow: none;
    border-top: 1px solid rgba(0, 0, 0, .125);
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}

.ui-datepicker-calendar {
    width: 100%;
}

.ui-datepicker-calendar th {
    text-align: center;
    border-top: 1px solid #dee2e6;
    border-bottom: 2px solid #dee2e6;
    padding: .5rem .7rem;
}

.ui-datepicker-calendar td {
    text-align: center;

}

.ui-datepicker-calendar td span, .ui-datepicker-calendar td a {
    display: block;
    padding: .5rem .7rem;
}

a.ui-state-default {
    color: #212529;
}

.ui-state-disabled {
    color: #dee2e6;
}

a.ui-state-active {
    color: #FFF;
    background-color: #C71928;
    border-radius: .25rem;
}

.ui-datepicker-title {
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.ui-icon {
    width: 16px;
    height: 16px;
}

.ui-datepicker .ui-icon {
    display: block;
    text-indent: -99999px;
    overflow: hidden;
    background-repeat: no-repeat;
    left: .5em;
    top: .3em;
}

.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span {
    display: block;
    position: absolute;
    margin-top: 4px;
}

.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
    position: absolute;
    top: 2px;
    width: 1.8em;
    height: 1.8em;
}

.ui-datepicker .ui-datepicker-header {
    position: relative;
    padding: .2em 0;
}

.ui-datepicker .ui-datepicker-next {
    right: 2px;
}

.ui-datepicker .ui-datepicker-prev {
    left: 2px;
}

.ui-widget-header .ui-icon {
    border: solid #C71928;
    border-width: 0 2px 2px 0;
    width: 10px;
    height: 10px;
    cursor: pointer;
}

.ui-icon-circle-triangle-w {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

.ui-icon-circle-triangle-e {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.ui-state-disabled .ui-icon {
    border: none;
    cursor: auto;
}

.table {
    font-size: 0.8rem;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, .03);
}

body .select2-container--default .select2-selection--single {
    height: calc(1.5em + .75rem + 2px);
    padding: .275rem .275rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057 !important;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.15rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

body .select2-container--default .select2-selection--single .select2-selection__arrow b {
    margin-left: -9px;
    margin-top: 3px;
}

body .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: rgba(1, 51, 112, .03);
    color: #212529;
}

body .select2-dropdown {
    border: 1px solid #ced4da;
}

.badge {
    width: 120px;
    text-align: center;
    font-weight: 500;
    text-transform: uppercase;
    padding: 0.5em;
    color: #FFF;
}

h1 .badge {
    font-size: 0.7rem;
    width: auto;
    padding: 0.5em 1.4em;
}

.back {
    position: relative;
    padding-left: 37px;
}

.back:hover {
    text-decoration: none;
}

.back:after {
    content: "";
    width: 30px;
    height: 14px;
    background-image: url(../img/arrow-icon.svg);
    transform: rotate(180deg);
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    -webkit-transition: all, 0.4s;
    -moz-transition: all, 0.4s;
    -ms-transition: all, 0.4s;
    -o-transition: all, 0.4s;
    transition: all, 0.4s;
}

.back:hover:after {
    left: -7px;
}

.table .thead-light th {
    color: #000;
    background-color: rgba(0, 0, 0, .03);;
    border: 0;
}

.table td, .table th {
    border-top: 1px solid rgba(0, 0, 0, .125);
}

.bg-secondary {
    color: #666 !important;
    background-color: rgba(0, 0, 0, .125) !important;
    /*color: #383d41 !important;
    background-color: #e2e3e5 !important;*/
}

.bg-warning {
    color: #856404 !important;
    background-color: #fff3cd !important;
}

.bg-success {
    color: #155724 !important;
    background-color: #d4edda !important;
    border-color: #c3e6cb !important;
}

.bg-danger {
    color: #721c24 !important;
    background-color: #f8d7da !important;
    border-color: #f5c6cb !important;
}

.dropdown-item:focus, .dropdown-item:hover {
    color: #212529;
    background-color: rgba(0, 0, 0, .125) !important;
}

.dropdown-item.active, .dropdown-item:active {
    color: #212529;
    background-color: rgba(0, 0, 0, .125) !important;
}

.alert-secondary {
    color: #000;
    border-color: rgba(0, 0, 0, .050);
    background-color: rgba(0, 0, 0, .03);
}

#drop-area {
    text-align: center;
    padding: 20px;
    border: 2px dashed #dae0e5;
}

#drop-area.drop-area-active {
    background-color: rgba(0, 0, 0, .075) !important;
}

#drop-area-other {
    text-align: center;
    padding: 20px;
    border: 2px dashed #dae0e5;
}

#drop-area-other.drop-area-active {
    background-color: rgba(0, 0, 0, .075) !important;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, .03);
}

.table-hover.pointer tbody tr:hover {
    cursor: pointer;
}

.btn-light {
    color: #999;
}

.btn-light:hover {
    color: #212529;
}

.tabs .nav-link {
    /*color: #212529;*/
    font-weight: 500;
    font-size: 0.9rem;
}

.tabs .nav-link:hover {
    background-color: #f8f9fa;
}

.nav-pills .nav-link.active {
    color: #212529;
    background-color: rgba(0, 0, 0, .125) !important;
}

.text-muted {
    color: #BBB !important;
}

.lead {
    color: #C71928;
    font-size: 1rem;
    font-weight: 400;
}

.small {
    font-size: 100%;
}

.contact {
    position: fixed;
    bottom: 25px;
    right: 25px;
    color: #fff;
    background-color: #C71928;
    border-radius: 0.25rem;
    width: 50px;
    height: 50px;
    display: block;
    text-align: center;
    z-index: 999;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
}

.contact:hover {
    background-color: #C71928;
    color: #fff;

}

.contact .fa {
    font-size: 27px;
    padding-top: 10px;
}

.help {
    position: fixed;
    bottom: 90px;
    right: 25px;
    color: #fff;
    background-color: #C71928;
    border-radius: 0.25rem;
    width: 50px;
    height: 50px;
    display: block;
    text-align: center;
    z-index: 999;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
}

.help:hover {
    background-color: #C71928;
    color: #fff;

}

.help .fa {
    font-size: 27px;
    padding-top: 10px;
}

.font-weight-bolder {
    font-weight: 500 !important;
}

.font-weight-bold {
    font-weight: 600 !important;
}

.icon {
    margin-right: 5px;
    vertical-align: sub;
}

.file_delete_element {
    display: block;
}

.file_delete_element:after {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\f00d";
    padding-left: 5px;
}

.search-container {
    position: relative;
}

.search-container input {
    padding-left: 35px;
}

.search {
    position: absolute;
    top: 46px;
    left: 19px;
    color: rgba(0, 0, 0, .3);
}

.reveal-container {
    position: relative;
}

.reveal-container input {
    padding-right: 35px;
}

.reveal {
    position: absolute;
    top: 10px;
    right: 26px;
    font-size: 16px !important;
    color: rgba(0, 0, 0, .3);
}

.select2-dropdown {
    padding: 0.75rem;
    font-size: 1rem;
    color: #495057;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.tooltip {
    font-size: 0.8rem;
}

.tooltip-inner {
    text-align: left;
}

.iframe-pointer {
    pointer-events: none;
}

.custom-control-label {
    position: relative;
    margin-bottom: 0;
    vertical-align: top;
}

.custom-control-label::before {
    left: -1.8rem;
    width: 1.3rem;
    height: 1.3rem;
}

.custom-control-label.list::before {
    left: -1.2rem;
}

.custom-control-label::after {
    top: 0.15rem;
    left: -1.9rem;
    width: 1.5rem;
    height: 1.5rem;
}

.custom-control-label.list::after {
    left: -1.3rem;
}

.custom-control-input:checked ~ .custom-control-label::before {
    border-color: #C71928;
    background-color: #C71928;
}

.custom-checkbox .custom-control-input:disabled:checked ~ .custom-control-label::before {
    background-color: #C71928;
    opacity: 0.5;
}

.form-control:focus {
    border-color: rgba(0, 0, 0, .3);
    box-shadow: none;
}

.custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: none;
}

.custom-control-input:focus:not(:checked) ~ .custom-control-label::before {
    border-color: #adb5bd;
}

.alert-warning a {
    color: #856404;
}

.alert-warning a:hover {
    color: #856404;

}

.custom-control-input:disabled ~ .custom-control-label, .custom-control-input[disabled] ~ .custom-control-label {
    opacity: 0.5;
}

.spinner-border {
    color: #C71928;
    width: 3rem;
    height: 3rem;
}

.modal-backdrop.show {
    opacity: .2;
}

.icon-grn {
    color: #155724 !important;
    opacity: 0.6;
}

.icon-grn:hover {
    opacity: 1;
}

.bg-light {
    background-color: #F8F8F8 !important;
}

.pac-container {
    margin: 0;
    background-color: #FFF;
    outline: 1px solid #BBBBBB;
    border-radius: 0.15rem;
    box-sizing: border-box;
    border-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    padding: 0.75rem;
    color: #212529;
    box-shadow: none;
    font-size: 1rem;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    margin-left: 1px;
    z-index: 100000;
}

.pac-logo:after {
    display: none !important;
}

.pac-item {
    border: none;
    padding: 6px;
    color: #212529;
    font-size: 0.9rem;

}

.pac-item-query {
    font-size: 0.9rem;
}

.pac-matched {
    font-weight: 500;
}

.pac-icon {
    display: none;
}

.pac-item:hover, .pac-item-selected, .pac-item:hover .pac-item-query, .pac-item-selected .pac-item-query {
}

.pac-item:hover, .pac-item-selected {
    background-color: rgba(0, 0, 0, .03);
    cursor: pointer;
}