/* styling borrowed from The Events Calendar  */
#rtec .tribe-bar-toggle-arrow {
    display: inline-block;
    margin: 0 4px;
    position: absolute;
    top: 11px;
    right: 10px;
}
#rtec .tribe-bar-toggle-arrow:after {
    top: 10px;
    right: 0;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(136, 183, 213, 0);
    border-top-color: inherit;
    border-width: 8px;
}
#rtec .tribe-bar-filters-open span.tribe-bar-toggle-arrow:after {
    top: 0;
    border-top-color: transparent;
    border-bottom-color: inherit;
}
/* hide button and reveal if javascript is available */
#rtec .rtec-js-show,
#rtec .rtec-hidden-message,
#rtec .rtec-screen-reader {
    display: none;
}
#rtec {
    max-width: 700px;
    min-width: 300px;
}
#rtec .rtec-spinner {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
}
#rtec .rtec-form-wrapper {
    box-sizing: border-box;
    position: relative;
    width: 100%;
    margin: 0 auto 30px;
    padding: 30px;
    border: 1px solid #ddd;
    background: #eee;
}
#rtec .rtec-register-button {
    position: relative;
    margin-bottom: 30px;
    padding: 12px 40px 12px 16px;
    font-size: 16px;
}
.rtec-attendance p {
    text-align: center;
    margin: 0;
}
#rtec .rtec-form-field {
    margin-bottom: 30px;
}
#rtec .rtec-input-wrapper {
    position: relative;
}
#rtec input[type="text"],
#rtec input[type="email"],
#rtec input[type="tel"],
#rtec input[type="number"],
#rtec textarea {
    box-sizing: border-box;
    display: inline-block;
    padding: 7px 15px;
    margin: 0;
    width: 100%;
    border: 1px solid #ddd;
    line-height: 26px;
    background: #fff;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    font-size: 18px;
}
#rtec input[type="number"] {
    max-width: 100px;
}
#rtec .rtec-checkbox-option-wrap input {
    margin-right: 10px
}
#rtec .rtec-form-buttons {
    text-align: center;
}
#rtec .rtec-form-buttons input{
    margin: 0;
}
#rtec .rtec-custom-hover:hover {
    opacity: .8;
}

#rtec .rtec-valid {
    border: 1px solid rgb(20, 220, 70) !important;
}

#rtec .rtec-error {
    border: 1px solid rgb(255, 92, 51) !important;
}

/* Check for email duplicate */
#rtec .rtec-email-spinner {
    position: absolute;
    top: 11px;
    right: 11px;
}
#rtec .rtec-form-buttons .rtec-email-spinner {
    top: 50%;
    right: 50%;
    margin-top: -12px;
    margin-right: -12px;
}

#rtec .rtec-error-message {
    position: absolute;
    bottom: -1.6em;
    margin: 0;
    padding: 0 5px 2px;
    font-size: 16px;
    font-weight: bold;
    background: rgb(255, 92, 51);
    color: #fff;
}
#rtec .rtec-success-message {
    text-align: center;
}

/* Shortcode Forms */
h2.rtec-header, .entry-content h2.rtec-header { margin: 0; }
h3.rtec-header, .entry-content h3.rtec-header { margin: 1em 0 1.5em; }

/* MVT */

.rtec-mvt-wrapper {
    position: relative;
    padding: 10px;
    margin-bottom: 18px;
    border-radius: 4px;
    background-color: #666;
    color: #fff;
}
.rtec-mvt-wrapper label {
    margin-bottom: 4px;
}
.rtec-mvt-wrapper input {
    vertical-align: middle;
    margin-right: 10px;
}
.rtec-mvt-wrapper .rtec-mvt-label {
    vertical-align: middle;
    margin-right: 18px;
    font-size: 20px;
}
.rtec-mvt-wrapper .rtec-mvt-att {
    display: inline-block;
    vertical-align: middle;
    background-color: #333;
    padding: 2px 8px 4px;
    border-radius: 4px;
    font-size: 14px;
}
.rtec-mvt-att-wrap {
    display: inline-block;
}
.rtec-disabled {
    color: #aaa;
}
#rtec .rtec-mvt-wrapper .rtec-error-message {
    bottom: -22px;
    left: 0;
    top: auto
}

/* Users only */
.rtec-unregister-link {
    display: block;
    margin-bottom: 20px;
}
/* Attendee list */
.rtec-event-meta:after {
    content: "";
    visibility: hidden;
    display: table;
    clear: both;
}
.rtec-event-meta {
    padding-bottom: 4%;
}
.rtec-attendee-list {
    box-sizing: border-box;
    display: inline-block;
    float: left;
    padding: 0 4%;
}
.rtec-list-column-2 {
    width: 50%;
}
.rtec-list-column-3 {
    width: 33.33%;
}
.single-tribe_events .tribe-events-event-meta .rtec-section-title,
.rtec-section-title {
    padding: 0 4%;
    font-size: 1.4em;
    font-weight: 700;
    margin: 20px 0 10px;
}
.single-tribe_events .tribe-events-event-meta .rtec-section-subtitle,
.rtec-section-subtitle {
    font-size: 1.2em;
    font-weight: 700;
    margin: 20px 0 10px;
}
.rtec-attendee {
    display: block;
}
/* Backup styles */
.tribe-events-notices {
    background: #d9edf7;
    border-radius: 4px;
    border: 1px solid #bce8f1;
    color: #3a87ad;
    margin: 10px 0 18px;
    padding: 8px 35px 8px 14px;
    text-shadow: 0 1px 0 #fff;
}
/* On mobile make the min-width 100% */
@media all and (max-width: 640px){
    #rtec .rtec-form-wrapper {
        width: 100% !important;
    }
    .rtec-list-column-3 {
        width: 50%;
    }
}