.hidden {
    display: none;
}

.mec-events-meta-group .col-md-12 {
    padding-left: 0;
}

/** custom form start */
.mec_rsvp_form, .mec_rsvp_form h5 span, .mec_rsvp_form label {
    color: #424242;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0;
    margin: 3px 0;
    display: block;
    clear: none;
    padding: 5px 1em 3px 0;
}

.mec_rsvp_form input[type="date"], .mec_rsvp_form input[type="email"], .mec_rsvp_form input[type="number"], .mec_rsvp_form input[type="password"], .mec_rsvp_form input[type="tel"], .mec_rsvp_form input[type="text"], .mec_rsvp_form select, .mec_rsvp_form textarea {
    display: block;
    background: #fff;
    min-height: 42px;
    min-width: 180px;
    font-size: 13px;
    font-family: inherit;
    border: 1px solid #e1e2e3;
    border-radius: 2px;
    padding: 13px 10px;
    width: 330px;
    margin-bottom: 20px;
    box-shadow: inset 0 2px 4px rgb(0 0 0 / 2%), 0 2px 3px rgb(0 0 0 / 1%);
    clear: both;
}

.mec_rsvp_form button {
    min-width: 155px;
    margin-top: 5px;
    margin-left: 10px;
    border-radius: 2px;
    box-shadow: 0 2px 1px rgb(0 0 0 / 8%);
}

.mec-events-meta-group .mec-btn-box .button.mec-move-to-step-1, .mec-single-event .mec-rsvp-form-box .button.mec-move-to-step-1 {
    background: #c4cace;
}

.mec-events-meta-group .mec-btn-box .button.mec-move-to-step-1:hover, .mec-single-event .mec-rsvp-form-box .button.mec-move-to-step-1:hover {
    background: #000;
}

.mec_rsvp_form button.loading:after, .mec-single-event a.button.loading:after {
    display: inline-block;
}

.mec_rsvp_form button:after, .mec-single-event a.button:after {
    display: none;
    font-family: simple-line-icons;
    content: "\e098";
    margin-left: 4px;
    -webkit-animation: rotating 1.2s linear infinite;
    -moz-animation: rotating 1.2s linear infinite;
    -ms-animation: rotating 1.2s linear infinite;
    -o-animation: rotating 1.2s linear infinite;
    animation: rotating 1.2s linear infinite;
}

/** custom form end */
.mec-rsvp-search-form {
    position: relative;
}

.mec-rsvp-search-form h2 {
    font-size: 24px;
}

.mec-rsvp-search-form input[type="date"], .mec-rsvp-search-form input[type="email"], .mec-rsvp-search-form input[type="number"], .mec-rsvp-search-form input[type="password"], .mec-rsvp-search-form input[type="tel"], .mec-rsvp-search-form input[type="text"], .mec-rsvp-search-form select, .mec-rsvp-search-form textarea {
    background: #fcfcfc;
    min-height: 42px;
    min-width: 180px;
    font-size: 13px;
    border: 1px solid #e0e0e0;
    padding: 13px 10px;
    width: 330px;
    margin-bottom: 20px;
    box-shadow: inset 0 2px 4px rgb(0 0 0 / 5%);
}

.mec-rsvp-search-form .mec-loading-1 {
    top: 50px;
}

.mec-rsvp-modification .mec-custom-form-box form > h4, .mec-rsvp-modification .mec-custom-form-box form > h4::before, .mec-rsvp-modification .mec-custom-form-box {
    border: none;
}

.mec-rsvp-modification .mec-custom-form-box {
    padding: 0;
}

.mec-rsvp-modification .mec-custom-form-box form > h4 {
    display: none;
}

.mec-custom-form-box {
    margin-bottom: 30px;
    padding: 20px 30px;
    background: #fff;
    border: 1px solid #e6e6e6;
    box-shadow: 0 2px 0 0 rgb(0 0 0 / 2%);
    position: relative;
}

.mec-custom-form-box form > h4 {
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 700;
    color: #313131;
    border-bottom: 4px solid #ebebeb;
    width: 100%;
    display: block;
    padding-bottom: 10px;
    position: relative;
    text-align: center;
}

.mec-custom-form-box form > h4:before {
    padding: 1px 35px;
    border-bottom: 4px solid #40d9f1;
    font-size: 6px;
    content: "";
    text-align: center;
    position: absolute;
    bottom: -4px;
    margin-left: -35px;
    left: 50%;
}

.mec-rsvp-answer {
    overflow: hidden;
}

.mec-btn-box {
    overflow: hidden;
    clear: both;
    padding-top: 20px;
    padding: 10px auto;
}

.mec-rsvp-answer .mec-rsvp-answers-details-links, .mec-rsvp-answers {
    margin: 20px 3px 16px 0;
    overflow: hidden;
    float: left;
    width: 330px;
    min-width: 180px;
    clear: both;
}

.mec-rsvp-answers-details-links > div label input[type="radio"], .mec-rsvp-answers > div label input[type="radio"] {
    display: none;
}

.mec-rsvp-answers-details-links > div, .mec-rsvp-answers > div {
    margin: 0 0 10px;
    min-height: 42px;
    border: 1px solid #e0e5eb;
    border-radius: 4px;
}

span.mec-answer-attendees-count {
    font-size: 11px;
    color: #8d8d8d;
}

.mec-rsvp-answers-details-links > div > label, .mec-rsvp-answers > div > label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.mec-rsvp-answers-details-links > div, .mec-rsvp-answers-details-links > div label {
    cursor: pointer;
}

.mec-rsvp-answers-details-links > div.active, .mec-rsvp-answers > div.active {
    border-color: #40d9f1;
    color: black;
    background: #f1fdff;
}

.mec-rsvp-answers-details-links > div.active label, .mec-rsvp-answers > div.active label {
    color: black;
}

.mec-rsvp-answers-details-links > div.active .mec-answer-attendees-count {
    color: #40d9f1;
}

.mec-rsvp-answers-details-links > div label:first-child, .mec-rsvp-answers > div label:first-child {
    position: relative;
    padding: 0;
    padding-left: 30px;
    padding-right: 17px;
}

.mec-rsvp-answers-details-links > div > label::before, .mec-rsvp-answers > div > label:before {
    content: "";
    border: 1px solid #e1e2e3;
    border-radius: 50%;
    position: absolute;
    left: 13px;
    top: calc(50% - 8px);
    width: 15px;
    height: 15px;
}

span.mec-answer-text {
    display: inline-block;
    margin-left: 5px;
    line-height: 40px;
}

.mec-rsvp-answers-details-links > div.active > label::before, .mec-rsvp-answers > div.active > label:before {
    border: 6px solid #40d9f1;
    width: 16px;
    height: 16px;
}

.mec-rsvp-answers-details-tabs {
    clear: both;
}

.mec-rsvp-answers-details-tabs > div:not(.active) {
    display: none;
}

.mec-rsvp-step-1-box, .mec-rsvp-step-2-box, .mec-rsvp-result-box {
    overflow: hidden;
}

.mec-max-attendees-count {
    display: block;
    margin-bottom: 20px;
    font-size: 11px;
    color: #8a8a8a;
    margin-top: -15px;
}

.mec_rsvp_form .mec-form-row {
    margin: 5px auto;
}

.mec-attendees-info-box .mec-attendees {
    display: flex;
    flex-wrap: wrap;
}

.mec-attendees-info-box .mec-attendees .mec-attendee {
    width: 70px;
    text-align: center;
    position: relative;
    margin: 5px;
}

.mec-attendees-info-box .mec-attendees .mec-attendee img {
    border-radius: 50%;
    margin: 0 auto;
}

.mec-attendees-info-box .mec-attendees .mec-attendee .mec-attendees-count {
    position: absolute;
    background: #40d9f1;
    color: white;
    border-radius: 50%;
    min-width: 25px;
    min-height: 25px;
    top: 0;
    left: 0;
    padding-top: 2px;
}

.mec_rsvp_form .mec-error {
    color: #b70707 !important;
    border-color: #b70707 !important;
    background-color: #ffeaea;
    font-weight: 400;
    text-align: center;
}

.mec-loading-box {
    margin: auto;
    text-align: center;
    display: flex;
    justify-content: center;
}

.mec-loading-box .mec-loading-1 {
    position: absolute;
    top: 50%;
}

.mec-loading-1 {
    margin: auto;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #b3b7b9;
    border-bottom: 5px solid #b3b7b9;
    border-right: 5px solid #b3b7b9;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/** Core Styles begin */
.mec-box {
    margin-bottom: 30px;
    padding: 20px 30px;
    background: #fff;
    border: 1px solid #e6e6e6;
    box-shadow: 0 2px 0 0 rgb(0 0 0 / 2%);
    position: relative;
}

.mec-wrap .mec-box-title, .mec-box-title {
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 700;
    color: #313131;
    border-bottom: 4px solid #ebebeb;
    width: 100%;
    display: block;
    padding-bottom: 10px;
    position: relative;
    text-align: center;
    margin-bottom: 20px;
}

.mec-wrap .mec-box-title::before, .mec-box-title::before {
    padding: 1px 35px;
    border-bottom: 4px solid #40d9f1;
    font-size: 6px;
    content: "";
    text-align: center;
    position: absolute;
    bottom: -4px;
    margin-left: -35px;
    left: 50%;
}

.mec-rsvp-answers-details-links label {
    padding: 3px 0;
    font-size: 14px;
    font-weight: 400;
    margin: 0;
}

.mec-wrap .mec_rsvp_form .col-md-12:not(input) {
    padding-left: 0;
}

label.rsvp-first-for-all-label {
    height: 14px;
    width: 14px;
    background-color: transparent;
    border: 1px solid #d4d4d4;
    position: relative;
    display: inline-block;
    -moz-transition: border-color ease 0.2s;
    -o-transition: border-color ease 0.2s;
    -webkit-transition: border-color ease 0.2s;
    transition: border-color ease 0.2s;
    cursor: pointer;
    box-shadow: 0 2px 16px -2px rgb(0 0 0 / 20%);
    vertical-align: middle;
    margin-right: 3px;
    margin-top: -2px;
    padding: 0;
    vertical-align: middle !important;
}

.mec-single-event .mec_rsvp_form .mec_rsvp_first_for_all:checked + label.rsvp-first-for-all-label {
    border-color: #008aff;
    box-shadow: 0 2px 14px -3px #008aff;
}

label.rsvp-first-for-all-label:before {
    position: absolute;
    height: 0;
    width: 1px;
    background-color: #008aff;
    display: inline-block;
    -moz-transform-origin: left top;
    -ms-transform-origin: left top;
    -o-transform-origin: left top;
    -webkit-transform-origin: left top;
    transform-origin: left top;
    content: "";
    -webkit-transition: opacity ease 0.5;
    -moz-transition: opacity ease 0.5;
    transition: opacity ease 0.5;
    top: 8px;
    left: 7px;
    box-shadow: 0 0 0 2px #fff;
    -moz-transform: rotate(-145deg);
    -ms-transform: rotate(-145deg);
    -o-transform: rotate(-145deg);
    -webkit-transform: rotate(-145deg);
    transform: rotate(-145deg);
}

.mec_rsvp_form .mec_rsvp_first_for_all:checked + label.rsvp-first-for-all-label:before,
.mec-single-event .mec_rsvp_form .mec_rsvp_first_for_all:checked + label.rsvp-first-for-all-label:before {
    height: 12px;
    -moz-animation: dothatopcheck 0.16s ease 0s forwards;
    -o-animation: dothatopcheck 0.16s ease 0s forwards;
    -webkit-animation: dothatopcheck 0.16s ease 0s forwards;
    animation: dothatopcheck 0.16s ease 0s forwards;
}

label.rsvp-first-for-all-label:after {
    position: absolute;
    height: 0;
    width: 1px;
    background-color: #008aff;
    display: inline-block;
    -moz-transform-origin: left top;
    -ms-transform-origin: left top;
    -o-transform-origin: left top;
    -webkit-transform-origin: left top;
    transform-origin: left top;
    content: "";
    -webkit-transition: opacity ease 0.5;
    -moz-transition: opacity ease 0.5;
    transition: opacity ease 0.5;
    top: 6px;
    left: 3px;
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.mec_rsvp_form .mec_rsvp_first_for_all:checked + label.rsvp-first-for-all-label:after,
.mec-single-event .mec_rsvp_form .mec_rsvp_first_for_all:checked + label.rsvp-first-for-all-label:after {
    -moz-animation: dothabottomcheck 80ms ease 0s forwards;
    -o-animation: dothabottomcheck 80ms ease 0s forwards;
    -webkit-animation: dothabottomcheck 80ms ease 0s forwards;
    animation: dothabottomcheck 80ms ease 0s forwards;
    height: 4px;
}

.mec-single-event label.mec-fill-attendees {
    margin-top: 10px !important;
}

.mec_rsvp_first_for_all {
    display: none;
}

.mec-attendees-detail-inputs strong {
    margin-top: 20px;
    display: block;
    margin-bottom: 0;
    font-size: 14px;
}

.mec_rsvp_form .button {
    margin-left: 0;
}

/** Core Styles end */

/* RSVP Loading Style */
.mec-loading-1 {
    background: rgba(0, 0, 0, 0);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9;
}

.mec-loading-1,
.mec-loading-1:after {
    border-radius: 50%;
    width: 5em;
    height: 5em;
    z-index: 999999999999;
}

.mec-loading-1 {
    font-size: 10px;
    text-indent: -9999em;
    border-top: 0.5em solid rgba(0, 0, 0, 0.2);
    border-right: 0.5em solid rgba(0, 0, 0, 0.2);
    border-bottom: 0.5em solid rgba(0, 0, 0, 0.2);
    border-left: 0.5em solid #ffffff;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: mecloader 1.1s infinite linear;
    animation: mecloader 1.1s infinite linear;
}

@-webkit-keyframes mecloader {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes mecloader {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/* #mec-rsvp-search-by-email */
.mec-rsvp-modification .mec-rsvp-search-form input {
    display: inline-block;
}

#mec-rsvp-search-by-email {
    display: inline;
}

#mec-rsvp-search-by-email:hover {
    background: #000;
}
