.error-message.red {
    color: #ef0000;
}

span.required {
    color: #ef0000;
}

button.swal2-confirm.btn.btn-success {
    margin-left: 10px;
}

.swal2-popup.swal2-modal.swal2-icon-warning.swal2-show,
.swal2-popup.swal2-modal.swal2-icon-question.swal2-show,
.swal-move-event-popup.swal2-popup {
    background: linear-gradient(135deg, #1a6b66 0%, #238781 55%, #1d4f4c 100%) !important;
}

.swal2-popup.swal2-modal.swal2-icon-warning.swal2-show h2#swal2-title,
.swal2-popup.swal2-modal.swal2-icon-question.swal2-show h2#swal2-title,
.swal-move-event-popup h2#swal2-title {
    color: #fff;
}

.swal2-popup.swal2-modal.swal2-icon-warning.swal2-show .swal2-html-container,
.swal2-popup.swal2-modal.swal2-icon-question.swal2-show .swal2-html-container,
.swal-move-event-popup .swal2-html-container {
    color: #fff !important;
}

.swal-move-event-popup.swal2-popup {
    background: linear-gradient(135deg, #1a6b66 0%, #238781 55%, #1d4f4c 100%) !important;
}

.swal-move-event-popup .swal2-icon.swal2-error {
    border-color: #fecaca;
    color: #ef4444;
}

.swal-move-event-popup .swal2-icon.swal2-error [class^='swal2-x-mark-line'] {
    background-color: #ef4444;
}

.swal2-icon.swal2-warning.swal2-icon-show {
    color: #fff;
    border-color: #fff;
}

button.swal2-confirm.btn.btn-success {
    background: linear-gradient(135deg, #1a6b66 0%, #238781 55%, #1d4f4c 100%);
    border: none;
    height: 50px;
    width: 90px;
}

button.swal2-cancel.btn.btn-danger {
    height: 50px;
    width: 90px;
}

.swal2-popup .swal2-actions {
    width: calc(100% - 2rem);
    justify-content: space-between !important;
    margin: 0.75rem auto 0;
}

.swal2-popup .swal2-actions .swal2-confirm {
    margin-left: 0 !important;
}

.swal-move-event-popup .swal2-validation-message,
.swal2-popup .swal2-validation-message {
    background: #fff;
    color: #238781;
}

img.profile {
    width: 265px;
    height: 176px;
}

/*Bootstrap Calendar*/
.datepicker {
    padding: 0px !important;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    direction: ltr;
    z-index: 1060 !important;
}

.datepicker.dropdown-menu {
    display: block;
    min-width: 16rem;
}

.datepicker-days table,
.datepicker-months table,
.datepicker-years table,
.datepicker-decades table,
.datepicker-centuries table {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.datepicker-days table thead,
.datepicker-days table tbody,
.datepicker-days table tfoot {
    padding: 10px;
    display: list-item;
}
.datepicker-days table thead, .datepicker-months table thead, .datepicker-years table thead, .datepicker-decades table thead, .datepicker-centuries table thead {
    background: #297372 !important;
    color: #ffffff;
    border-radius: 0;
}

.datepicker table.table-condensed thead th,
.datepicker table.table-condensed thead td {
    background: transparent !important;
    color: #ffffff !important;
    border: none !important;
}

.datepicker-days table thead tr:nth-child(2n+0) td, .datepicker-days table thead tr:nth-child(2n+0) th {
    border-radius: 3px;
}
.datepicker-days table thead tr:nth-child(3n+0) {
    text-transform: uppercase;
    font-weight: 300 !important;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}
.table-condensed > tbody > tr > td, .table-condensed > tbody > tr > th, .table-condensed > tfoot > tr > td, .table-condensed > tfoot > tr > th, .table-condensed > thead > tr > td, .table-condensed > thead > tr > th {
    padding: 11px 13px;
}
.datepicker-months table thead td, .datepicker-months table thead th, .datepicker-years table thead td, .datepicker-years table thead th, .datepicker-decades table thead td, .datepicker-decades table thead th, .datepicker-centuries table thead td, .datepicker-centuries table thead th {
    border-radius: 0;
}
.datepicker td, .datepicker th {
    border-radius: 50%;
    padding: 0 12px;
}

.datepicker .datepicker-switch {
    color: #ffffff !important;
}
.datepicker table tr td.active, .datepicker table tr td.active:hover, .datepicker table tr td.active.disabled, .datepicker table tr td.active.disabled:hover {
    background: linear-gradient(135deg, #1a6b66 0%, #238781 55%, #1d4f4c 100%) !important;
    color: #ffffff !important;
}
.datepicker .prev, .datepicker .next {
    color: rgba(255, 255, 255, 0.5);
    transition: 0.3s;
    width: 37px;
    height: 37px;
}
.datepicker .prev:hover, .datepicker .next:hover {
    background: transparent;
    color: rgba(255, 255, 255, 0.99);
    font-size: 21px;
}
.datepicker .datepicker-switch {
    text-align: center;
    font-size: 24px;
    font-weight: 400;
    transition: 0.3s;
}
.datepicker .datepicker-switch:hover {
    color: rgba(255, 255, 255, 0.7);
    background: transparent;
}
.datepicker table tr td span {
    border-radius: 2px;
    margin: 3%;
    width: 27%;
}
.datepicker table tr td span.active, .datepicker table tr td span.active:hover, .datepicker table tr td span.active.disabled, .datepicker table tr td span.active.disabled:hover {
    background: linear-gradient(135deg, #1a6b66 0%, #238781 55%, #1d4f4c 100%) !important;
    color: #ffffff !important;
}
.dropdown-menu {
    border: 1px solid rgba(0,0,0,.1);
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
}
.datepicker-dropdown.datepicker-orient-top:before {
    border-top: 7px solid rgba(0,0,0,.1);
}

.disabled {
    pointer-events: none;
}

td.disabled.day {
    color: #ccc;
}

td.day {
    color: #000000;
    font-weight: 600;
}

.error-msg {
    color: #ef0000;
}

.border-red {
    border-color: #ef0000;
}

span.select2-selection.select2-selection--single.border-red {
    border-color: red !important;
}

#overlay {
    background: #000 url(../../storage/image/preload.gif) no-repeat scroll center center !important;
    opacity: 0.5;
}

.loading-hold {
    bottom: 0;
    height: 100%;
    position: fixed;
    text-align: center;
    top: 0;
    width: 100%;
    z-index: 99999;
}

.loader {
    bottom: 0;
    display: table-cell;
    font-size: 10px;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    text-indent: -9999em;
    top: 0;
    transform: translateZ(0px);
    vertical-align: middle;
}

.active-child-menu {
    background: #b4acbc;
    border-radius: 5px;
}

/* Base style */
.image-uploader {
    min-height: 10rem;
    border: 1px solid #d9d9d9;
    position: relative;
}

/* Style on hover */
.image-uploader.drag-over {
    background-color: #f3f3f3;
}

/* Hide the file input */
.image-uploader input[type="file"] {
    width: 0;
    height: 0;
    position: absolute;
    z-index: -1;
    opacity: 0;
}

/* Text container */
.image-uploader .upload-text {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.image-uploader .upload-text i {
    display: block;
    font-size: 3rem;
    margin-bottom: .5rem;
}

.image-uploader .upload-text span {
    display: block;
}

/* Hide the text if there is at least one uploaded image */
.image-uploader.has-files .upload-text {
    display: none;
}

/* Uploaded images container */
.image-uploader .uploaded {
    padding: .5rem;
    line-height: 0;
}

.image-uploader .uploaded .uploaded-image {
    display: inline-block;
    width: calc(16.6666667% - 1rem);
    padding-bottom: calc(16.6666667% - 1rem);
    height: 0;
    position: relative;
    margin: .5rem;
    background: #f3f3f3;
    cursor: default;
}

.image-uploader .uploaded .uploaded-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
}

/* Delete image button */
.image-uploader .uploaded .uploaded-image .delete-image {
    display: none;
    cursor: pointer;
    position: absolute;
    top: .2rem;
    right: .2rem;
    border-radius: 50%;
    padding: .3rem;
    background-color: rgba(0, 0, 0, .5);
    -webkit-appearance: none;
    border: none;
}

.image-uploader .uploaded .uploaded-image:hover .delete-image {
    display: block;
}

.image-uploader .uploaded .uploaded-image .delete-image i {
    color: #fff;
    font-size: 1.4rem;
}

img.card-img-top.img-fluid {
    height: 300px;
}


.modal-header {
    background: #215c5b;
    color: #fff;
}

/* List table action menu (three dots) */
.list-action-dropdown .list-action-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    min-width: auto;
    line-height: 1;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    color: #5c6b7a;
    cursor: pointer;
}

.list-action-dropdown .list-action-toggle:hover,
.list-action-dropdown .list-action-toggle:focus,
.list-action-dropdown .list-action-toggle:active,
.list-action-dropdown .list-action-toggle.show {
    background: transparent;
    border: none;
    box-shadow: none;
    color: #238781;
    outline: none;
}

.list-action-dropdown .list-action-toggle .icon-more_vert {
    font-size: 1.35rem;
    vertical-align: middle;
    line-height: 1;
}

.list-action-menu {
    min-width: 11rem;
    padding: 0.35rem 0;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.12);
}

.list-action-menu .list-action-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.85rem;
    font-size: 0.875rem;
    white-space: nowrap;
}

.list-action-menu .list-action-item i {
    font-size: 1rem;
    width: 1.15rem;
    text-align: center;
    flex-shrink: 0;
}

.list-action-menu .list-action-item .list-action-label {
    flex: 1;
}

table tbody td .list-action-dropdown {
    vertical-align: middle;
}

/* Prevent action menus from clipping inside scrollable tables */
.card-body .table-responsive,
div.dataTables_wrapper {
    overflow-x: auto;
    overflow-y: visible;
}

table.dataTable tbody td.has-list-action,
table.table-bordered tbody td.has-list-action {
    position: relative;
    overflow: visible;
    white-space: nowrap;
}

.list-action-dropdown {
    position: static;
}

.list-action-dropdown .dropdown-menu {
    z-index: 1090;
}

.list-action-dropdown .dropdown-menu.show {
    position: fixed !important;
}
