/* Calendar */

.fc-wrapper {
    font-size: 16px;
    padding: 25px 20px;
    border-radius: 20px;
}

.fc .fc-daygrid-day-number,
.fc .fc-col-header-cell-cushion {
    text-decoration: none !important;
    box-shadow: none !important;
    cursor: default;
    color: #111;
}

.fc .fc-daygrid-event {
    text-decoration: none !important;
    box-shadow: none !important;
    cursor: pointer;
}

.fc .fc-toolbar-title {
    font-size: 1.25rem;
}

.fc .fc-toolbar-title::before,
.fc .fc-toolbar-title::after {
    display: none;
}

.fc .fc-button,
.fc .fc-button:hover {
    padding: .2em .45em;
}

.fc .fc-col-header,
.fc .fc-scrollgrid-sync-table {
    margin: 0 !important;
}

.fc-additional-buttons {
    display: flex;
    margin-bottom: 20px;
    justify-content: flex-end;
}

.immerseus-calendar-export {
    display: flex;
    margin-top: 20px;
    font-size: .8rem;
    white-space: nowrap;
    align-items: center;
}

.immerseus-calendar-export input {
    background-color: #283440 !important;
    color: #fff !important;
    font-size: .8rem;
    border-radius: 5px !important;
    height: 30px;
    padding: 0 10px;
    margin-left: 15px !important;
}

/* Calendar dark theme */

.fc-dark {
    background-color: #222222;
}

.fc-dark .fc-daygrid-day-number,
.fc-dark .fc-col-header-cell-cushion,
.fc-dark .fc-toolbar-title,
.fc-dark .immerseus-calendar-export {
    color: #FFF;
}

/**************************\
  Basic Modal Styles
\**************************/

.modal {
    font-family: -apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;
}

.modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 150px;
    z-index: 2;
}

.modal__container {
    background-color: #fff;
    padding: 30px;
    min-width: 400px;
    max-width: 600px;
    max-height: 100vh;
    border-radius: 4px;
    overflow-y: auto;
    box-sizing: border-box;
}

.modal__container .alert {
    color: #FFF;
    background-color: #259d34;
    padding: 5px 10px;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.modal__container .alert p {
    margin: 0;
}

.modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal__title {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.25;
    box-sizing: border-box;
}

.modal__close, modal__close:hover {
    color: gray !important;
    cursor: pointer;
    font-size: 1.25rem;
}

.modal__header .modal__close:before { content: "\2715"; }

.modal__content {
    margin-top: 1.25rem;
    margin-bottom: 1.75rem;
    line-height: 1.5;
    color: rgba(0,0,0,.8);
}

.modal__footer .imm-event-actions {
    display: flex;
    justify-content: space-between;
}

.modal__btn {
    font-size: 15px;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: .5rem;
    padding-bottom: .5rem;
    background-color: #e6e6e6;
    color: rgba(0,0,0,.8);
    border-radius: 4px;
    border-style: none;
    border-width: 0;
    cursor: pointer;
    text-transform: none;
    overflow: visible;
    line-height: 1.15;
    margin: 0;
    will-change: transform;
    -moz-osx-font-smoothing: grayscale;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    transition: -webkit-transform .25s ease-out;
    transition: transform .25s ease-out;
    transition: transform .25s ease-out,-webkit-transform .25s ease-out;
    box-shadow: none !important;
}

.modal__btn:focus, .modal__btn:hover {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

.modal__btn.modal__btn-primary {
    background-color: #2B3E50;
    color: #fff;
}

.modal__btn-primary:hover, .modal__btn-primary:focus {
    background-color: #1A252F;
}

/* Modal dark theme */

.modal-dark .modal__container {
    background-color: #222;
}

.modal-dark .modal__title,
.modal-dark .modal__content {
    color: #fff;
}

/**************************\
  Demo Animation Style
\**************************/
@keyframes mmfadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes mmfadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes mmslideIn {
    from { transform: translateY(15%); }
    to { transform: translateY(0); }
}

@keyframes mmslideOut {
    from { transform: translateY(0); }
    to { transform: translateY(-10%); }
}

.micromodal-slide {
    display: none;
}

.micromodal-slide.is-open {
    display: block;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
    animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
    animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
    animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
    animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
    will-change: transform;
}

/* Event Form */

.imm-event-form .parsley-error {
    border-color: #FF0907 !important;
}

.imm-event-form .parsley-errors-list:not(:empty) {
    background-color: #FF0907;
    color: #fff;
    list-style: none;
    border-radius: 4px;
    padding: .3rem .5rem .15rem .5rem;
    font-size: .6rem;
    margin: -5px 0;
}

.imm-event-form .parsley-errors-list:empty {
    display: none;
}

.imm-event-form-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.imm-event-form-field input {
    min-height: 35px;
}

.imm-event-form-check-field {
    flex-direction: row;
    align-items: center;
}

.imm-event-form-check-field .imm-event-form-field-label {
    padding-bottom: 0;
    margin-left: .25rem;
}

.imm-event-form-check-field input,
.imm-event-form-check-field .imm-event-form-field-label {
    cursor: pointer;
}

.imm-event-form-field input[type="text"] {
    padding: 0 10px;
    border-radius: 5px;
}

.imm-event-form-field-label {
    font-size: 15px;
    padding-bottom: 5px;
    font-weight: 500;
    text-transform: capitalize;
}


/* Color picker */

.wp-picker-container .wp-color-result.button {
    border: 1px solid #ccc;
}

.wp-picker-container input[type=text].wp-color-picker {
    border-radius: 5px;
}

.wp-customizer .wp-picker-input-wrap .button.wp-picker-clear, .wp-customizer .wp-picker-input-wrap .button.wp-picker-default, .wp-picker-input-wrap .button.wp-picker-clear, .wp-picker-input-wrap .button.wp-picker-default {
    background-color: #F6F7F7;
    color: #2271b1;
    border: 1px solid #2271b1;
    border-radius: 5px;
    max-height: 30px;
    line-height: 1.2;
    font-size: .5rem;
    margin-bottom: 5px;
}