/* 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 .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 .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: 10px 15px;
    margin: 0;
    width: 100%;
    border: 1px solid #ddd;
    line-height: 20px;
    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-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;
}
#rtec .rtec-error-message {
    position: absolute;
    top: 42px;
    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;
}

/* On mobile make the min-width 100% */
@media all and (max-width: 640px){
    #rtec .rtec-form-wrapper {
        width: 100% !important;
    }
}