body {
    font-family: Calibri;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    background-color: #ee002d;
}

body.login-page {
    background-color: #FFF;
}

.row-red {
    background-color: #EE002D;
    color: white;
}

.row-red:hover {
    color: black;
}

.row-green {
    background-color: #3FCE41;
    color: white;
}

.row-green:hover {
    color: black;
}

.row-orange {
    background-color: #FF6E06;
    color: white;
}

.row-orange:hover {
    color: black;
}

.wrapper {
    display: flex;
    width: 100%;
}

.height-100 {
    height: 100vh;
}

a.active {
    color: #a2001f;
}

.login-form {
    width: 100%;
    max-width: 350px;
}

.login-logo {
    width: 150px;
}

#sidebar {
    width: 200px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 999;
    color: #fff;
    transition: all 0.3s;
    padding: 0 0 50px;
}

#sidebar .fa-arrow-right {
    display: none;
}

#sidebar.active {
    margin-left: -160px;
}

#sidebar.active .fa-arrow-right {
    display: inline;
}

#sidebar.active .fa-arrow-left {
    display: none;
}

.sidebar-toggle {
    color: #FFF;
    right: 0;
    top: 0;
    padding: 5px;
    position: absolute;
    font-size: 16px;
    width: 100%;
    text-align: right;
}

#content {
    background-color: #FFF;
    width: calc(100% - 200px);
    min-height: 100vh;
    transition: all 0.3s;
    position: absolute;
    top: 0;
    right: 0;
    -webkit-border-top-left-radius: 50px;
    -webkit-border-bottom-left-radius: 50px;
    -moz-border-radius-topleft: 50px;
    -moz-border-radius-bottomleft: 50px;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
}

#content.active {
    width: calc(100% - 40px);
}

.main-menu ul {
    padding: 0;
    list-style: none;
}

.main-menu ul li {
    font-weight: bold;
}

.main-menu ul li a {
    color: #FFF;
    font-size: 13px;
    transition: 0.4s;
    padding: 8px 40px;
    display: block;
}

.main-menu ul li:hover a,
.main-menu ul li:focus a,
.main-menu ul li.active a {
    color: #ee002d;
    background-color: #FFF;
    text-decoration: none;
}

.main-menu ul li.last {
    position: absolute;
    bottom: 10px;
    width: 100%;
}

.main-menu ul li i {
    margin-right: 7px;
}

header {
    padding: 20px 40px 10px;
    border-bottom: 1px solid #f3f3f3;
}

header .header-col {
    display: inline-block;
    vertical-align: top;
}

header i.fa {
    font-size: 17px;
    color: #ee002d;
    margin-right: 7px;
}

header .header-distinct p {
    font-size: 16px;
    line-height: 1.1;
    color: #ee002d;
    margin-bottom: 5px;
}

header .header-distinct.header-distinct-small p {
    font-size: 14px;
}

header .header-distinct img {
    margin-right: 7px;
}

header .header-small {
    font-size: 11px;
    margin-bottom: 5px;
}

header .header-small a {
    color: #5a5a5a;
}

.grey-link i.fa,
.grey-link a {
    font-size: 13px;
    color: #5a5a5a;
    margin-top: 5px;
}

main {
    padding: 15px 40px 35px;
    position: relative;
}

.breadcrumb {
    background-color: transparent;
}

.breadcrumb .breadcrumb-item a,
.breadcrumb .breadcrumb-item.active {
    color: #b6b6b6;
}

.breadcrumb-item + .breadcrumb-item {
    padding-left: 1px;
}

.breadcrumb-item::before,
.breadcrumb-item + .breadcrumb-item::before {
    display: inline-block;
    padding-right: 1px;
    color: #b6b6b6;
    content: "/";
}

.btn {
    padding: .375rem 1.25rem;
    transition: 0.3s;
    font-size: 13px;
}

.btn-outline-primary {
    border-color: #e0e0e0;
    background-color: #FFF;
}

.btn-group-sm > .btn, .btn-sm {
    padding: .25rem 1rem;
    font-size: 12px;
}

.btn i.fa {
    font-size: 11px;
    margin-right: 5px;
}

.table-responsive {
    margin-top: 25px;
    margin-bottom: 25px;
}

.table {
    border: 1px solid #ececec;
    border-spacing: 0px;
    border-collapse: separate;
    border-radius: 20px;
}

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

.table > tbody > tr:first-child > td,
.table > thead > tr > th {
    border: none;
}

.table > thead > tr > th {
    background-color: #f4f4f4;
}

.table > thead > tr > th:last-child {
    -webkit-border-top-right-radius: 20px;
    -moz-border-radius-topright: 20px;
    border-top-right-radius: 20px;
}

.table > thead > tr > th:first-child {
    -webkit-border-top-left-radius: 20px;
    -moz-border-radius-topleft: 20px;
    border-top-left-radius: 20px;
}

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

.table input[type="number"] {
    width: 100%;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #dedede;
    max-width: 80px;
    padding: 0 5px;
}

.table input[type="number"]:focus {
    outline: none;
}

.btn-secondary {
    background-color: #f4f4f4;
    border-color: #f4f4f4;
}

.custom-control-label {
    padding-top: 3px;
    padding-left: 3px;
}

.custom-control-label::before {
    width: 24px;
    height: 18px;
}

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

.custom-control-label::after {
    top: 3px;
    left: -22px;
    width: 1.3rem;
    height: 1.3rem;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23ee002d' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}

.sort-link {
    padding-left: 1px;
    padding-right: 1px;
    color: #656565;
}

.pager-info {
    font-size: 13px;
}

.page-item {
    margin-left: 2px;
}

.pagination-sm .page-link {
    padding: 2px 5.5px;
    border-radius: 12px;
    line-height: 1;
    vertical-align: middle;
    display: inline-block;
    transition: 0.3s;
}

.page-item:not(.disabled) i.fa {
    color: #ee002d;
    position: relative;
    top: 1px;
    transition: 0.2s;
}

.pagination-sm .page-item:first-child .page-link i.fa {
    left: -3px;
}

.pagination-sm .page-item:first-child .page-link:hover i.fa {
    left: -5px;
}

.pagination-sm .page-item:last-child .page-link i.fa {
    right: -3px;
}

.pagination-sm .page-item:last-child .page-link:hover i.fa {
    right: -5px;
}

.pagination-sm .page-item:last-child .page-link:hover,
.pagination-sm .page-item:first-child .page-link:hover {
    background-color: #FFF;
}

.search-form {
    position: absolute;
    top: 130px;
    right: 0;
    width: 280px;
    z-index: 10;
}

.search-form input {
    background-color: #f4f4f4;
    border: none;
}

.search-form .form-control:focus {
    border: none;
    box-shadow: none;
    background-color: #f4f4f4;
}

.search-form button {
    position: absolute;
    right: 0;
    top: 0;
    background-color: #ee002d;
    border: none;
    padding: 6px 8px 6px 11px;
    color: #FFF;
    -webkit-border-top-left-radius: 20px;
    -webkit-border-bottom-left-radius: 20px;
    -moz-border-radius-topleft: 20px;
    -moz-border-radius-bottomleft: 20px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.search-form button i.fa {
    font-size: 24px;
}

.form-group .form-control {
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #dedede;
    padding-left: 3px;
}

.form-group .form-control:focus {
    box-shadow: none;
}

.form-control-sm {
    height: calc(2em);
    padding: .25rem 0;
}

.form-group select.form-control {
    height: calc(2em);
    outline: none !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url(../img/select-arrow.png) no-repeat center right 5px;
    padding-right: 20px;
}

.col-form-label {
    color: #b6b6b6;
    font-weight: bold;
}

.col-form-label-sm {
    font-size: .675rem;
    min-height: 23px;
}

.form-control-sm {
    font-size: .8rem;
}

.form-group {
    margin-bottom: 1.4rem;
    position: relative;
}

.top-submit {
    position: absolute;
    right: 15px;
    top: -105px;
}

.ajax-link a {
    position: absolute;
    top: -5px;
    right: 0;
    z-index: 100;
}

a.icon-link {
    font-size: 12px;
    color: #8d8d8d;
}

.icon-link-right i {
    color: #ee002d;
    margin-left: 8px;
}

.icon-link-left i {
    color: #ee002d;
    margin-right: 8px;
}

.table tr.summary-row {
    background-color: #ee002d;
    color: #FFF;
}

.table tr.grey-row {
    background-color: #eff3f6;
}

.table tr.highlited-row,
.red,
.main-text h6 {
    color: #ee002d;
}

.actions-button a,
.actions-button button {
    min-width: 130px;
}

.modal-dialog {
    margin: 25vh auto;
}

.modal-body {
    padding: 5rem 1rem;
}

.modal-dialog .btn {
    min-width: 130px;
}

.alert-success {
    color: #ee002d;
    background-color: #f4f4f4;
    border-color: #f4f4f4;
}

.alert-success .alert-link {
    color: #ee002d;
}

.alert-danger {
    color: #fff;
    background-color: #ee002d;
    border-color: #ee002d;
}

.alert-danger .alert-link {
    color: #fff;
}

.filters-wrapper {
    border: 1px solid #e0e0e0;
    border-radius: 20px;
}

.filters-wrapper .filter-item {
    padding: 12px 30px 10px;
    border-left: 1px solid #e0e0e0;
}

.filters-wrapper .filter-item:first-child {
    border: none;
}

.filters-wrapper .filter-item label {
    padding-right: 3px;
}

.filters-wrapper .filter-item input,
.filters-wrapper .filter-item select {
    border: none;
    font-weight: bold;
    outline: none !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0px 15px 4px 5px;
    background: url(../img/select-arrow.png) no-repeat top 4px right;
}

.filters-wrapper .filter-item select::-ms-expand {
    display: none; /* remove default arrow on ie10 and ie11 */
}

.filters-wrapper .filter-item input {
    background: url(../img/calendar.png) no-repeat top 3px right;
    padding: 0px 20px 4px 5px;
}

input.datepicker-input {
    background: url(../img/calendar.png) no-repeat top 3px right;
}

body .daterangepicker td.in-range {
    background-color: rgba(238, 0, 45, 0.2);
}

body .daterangepicker td.active, body .daterangepicker td.active:hover {
    background-color: #ee002d;
}

.table-responsive table {
    min-width: 840px;
}

.chosen-container {
    width: 100% !important;
}

.chosen-container .chosen-single,
.chosen-container .chosen-choices {
    background-image: none !important;
    border: none !important;
    border-radius: 0 !important;
    border-bottom: 1px solid #e5e5e5 !important;
    outline: none !important;
    box-shadow: none !important;
}

.chosen-container-single .chosen-single {
    height: calc(2.22em);
    padding: .25rem 0;
}

.chosen-container .chosen-drop {
    border-top: 1px solid #e5e5e5;
}

.chosen-container-single .chosen-single.chosen-default span,
.chosen-container-single .chosen-single div b {
    display: none;
}

.chosen-container .chosen-results li.active-result.highlighted {
    background-color: #ee002d;
    background-image: none;
}

.chosen-container .chosen-choices li.search-choice {
    color: #656565;
    background-color: #f4f4f4;
    border-color: #f4f4f4;
    background-image: none;
}

.chosen-container-single .chosen-single span {
    font-size: .975rem;
}

.alert-dismissible .close {
    padding: .6rem 1.25rem;
}

.alert-dismissible .close:focus {
    outline: none !important;
    box-shadow: none !Important;
}
.signature-pad {
    width:100%;
    height:320px;
    background-color: #F0F0F0;
    border: 0px solid #000000;
    margin-bottom: 0px;
}
.signature{
	max-width:100%;
	height:auto;
}
/***********responsive**************/
@media (max-width: 1499px) {
    .main-menu ul {
        position: relative;
        padding-bottom: 52px;
    }

    #sidebar {
        overflow: auto;
    }

    #sidebar::-webkit-scrollbar {
        display: none;
    }

}

@media (max-width: 1199px) {
    header {
        padding: 20px 20px 10px;
    }

    main {
        padding: 15px 20px 35px;
    }

    header .header-distinct p {
        font-size: 15px;
    }

    header i.fa {
        font-size: 15px;
        margin-right: 3px;
    }

    .filter-item {
        padding: 12px 10px 10px;
        font-size: 11px;
    }
}

@media (max-width: 991px) {
    header {
        padding: 20px 10px 10px;
    }

    main {
        padding: 15px 10px 35px;
    }

    header .header-col:first-child {
        position: absolute;
    }

    header .header-col:last-child {
        margin-left: 15px;
    }

    .filter-item {
        border-top: 1px solid #e0e0e0;
        border-left: none;
    }

    .table td, .table th {
        padding: 0.5rem;
    }

    .h1, h1 {
        font-size: 1.6rem;
    }
}