/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: Lukas Jankord
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/
/** event calendar share button **/
body .em button.input.em-event-add-to-calendar {
    padding-left: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

body .em button.input.em-event-add-to-calendar .em-icon-calendar {
    margin-bottom: 0;
    margin-right: 17px;
}

body .em.em-item.em-item-single .em-item-meta button {
    margin-top: 0 !important;
    font: inherit;
    color: inherit;
}
form.em-booking-form label {
    display: block;
}
.em.em-event-booking-form .em-booking-form .input-user-field, .em.em-event-booking-form .em-booking-form .input-group, .em.em-event-booking-form .em-booking-form .input-type {
    margin-bottom: 0 !important;
}
textarea#booking_comment {
    width: 100%;
}
.em.em-item.em-item-single .em-item-meta h3 {
    font-size: inherit;
    text-transform: inherit;
}

.em-item-meta-line.em-event-prices {
    font-size: 150%;
    line-height: 1.2;
    align-items: center;
}
.em-booking-section.em-booking-gateway.em-payment-gateways {
    padding-top: 0;
    padding-bottom: 0;
}
.em-payment-gateway-form-info small {
    font-size: 14px !important;
    line-height: 1.3;
    display: inline-block;
}

.em-payment-gateway-form-info small {
    display: inline-block;
}

/**
 * More empty paragraph style
 */
p:has(> span[id^="more-"]) {
    padding: 0 !important;
}

@media print {
    #footer-widgets,
    header#top nav {
        visibility: hidden !important;
    }
}
/**
 * FIX calendar mobile modal image size
 */
.em.em-list-widget .em-item .em-item-image img {
    max-width: 100%;
}
body #ajax-content-wrap .em-month-picker.flatpickr-input.select-toggle {
    border: 1px solid #dedede !important;
}
@supports not (field-sizing: content) {
    body #ajax-content-wrap .em-month-picker.flatpickr-input.select-toggle {
        min-width: 210px !important;
        max-width: 100% !important;
    }
}
@supports (field-sizing: content) {
    body #ajax-content-wrap .em-month-picker.flatpickr-input.select-toggle {
        max-width: fit-content !important;
        field-sizing: content;
    }
}
.month-nav.input br {
    display: none;
}
/** - Calendar view current day - **/
.eventless-today.em-cal-day {
    background-color: #9db4bf47;
}
/**
 * frontpage post grid hide reading time
 */
.nectar-post-grid-item .meta-reading-time {
    display: none !important;
    visibility: hidden;
    opacity: 0;
}

.em-event-add-to-calendar-content .em-a2c-google,.em-event-add-to-calendar-content  .em-a2c-apple,.em-event-add-to-calendar-content  .em-a2c-office,.em-event-add-to-calendar-content  .em-a2c-outlook {
    display: none !important;
}

.apc-spaces-number {
    color: limegreen;
    border-bottom: 3px solid limegreen;
    display: inline-block;
    padding: 0 6px;
    text-align: center;
}
.apc-spaces-number[data-spaces="2"] {
    color: #f9ab51;
    border-color: #f9ab51;
}
.apc-spaces-number[data-spaces="1"], .apc-spaces-number[data-spaces="0"] {
    color: red;
    border-color: red;
}


