.appearancemodifier-event div.crm-group.participant_info-group fieldset:not(.fieldgroup) {
    box-shadow: none;
    margin: 1em 2em;
    padding: 0;
}
.appearancemodifier-event div#payment_information fieldset:not(.fieldgroup),
.appearancemodifier-event fieldset:not(.fieldgroup)#priceset,
.appearancemodifier-event div.crm-public-form-item.crm-section.custom_pre-section fieldset:not(.fieldgroup) {
    box-shadow: none;
    margin: 0;
    padding: 30px 0 0 0;
}
/* On case of adminimal theme the rules above the fieldset padding is too big. */
.adminimal-theme .appearancemodifier-event div#payment_information fieldset:not(.fieldgroup),
.adminimal-theme .appearancemodifier-event fieldset:not(.fieldgroup)#priceset,
.adminimal-theme
    .appearancemodifier-event
    div.crm-public-form-item.crm-section.custom_pre-section
    fieldset:not(.fieldgroup) {
    padding: 0 0 20px 0;
}
.appearancemodifier-event #intro.crm-section p {
    margin: 0 0 20px;
}
.appearancemodifier-event #payment_information .crm-section .content {
    margin-left: 0px;
}
/* Add rules to register link for making them button like */
.appearancemodifier-event a.button.crm-register-button {
    background-image: none;
    background-color: #444;
    font-size: 1.5em;
    font-family: 'AmnestyTradeGothicW04BdCnNo-20';
    text-transform: uppercase;
    height: auto;
}
.appearancemodifier-event .crm-section div.label {
    float: none;
    font-size: 1.1em;
    line-height: 1.4;
    text-align: left;
    width: 100%;
}
.appearancemodifier-event div.bold.crm-profile-view-title {
    line-height: 1.4em;
    font-size: 1.3em;
}
.appearancemodifier-event fieldset div.crm-section div.crm-section {
    margin-top: 1em;
}
.appearancemodifier-event#crm-container.crm-public div.crm-group.participant_role-group div.crm-section,
.appearancemodifier-event#crm-container.crm-public div.crm-group.credit_card-group div.crm-section,
.appearancemodifier-event#crm-container.crm-public div.crm-group.billing_name_address-group div.crm-section,
.appearancemodifier-event#crm-container.crm-public div.crm-group.event_fees-group div.crm-section {
    margin-bottom: 1em;
    margin-left: 2em;
    margin-right: 2em;
}
.appearancemodifier-event#crm-container.crm-public div.crm-group.participant_role-group div:nth-of-type(2),
.appearancemodifier-event#crm-container.crm-public div.crm-group.credit_card-group div:nth-of-type(2),
.appearancemodifier-event#crm-container.crm-public div.crm-group.billing_name_address-group div:nth-of-type(2),
.appearancemodifier-event#crm-container.crm-public div.crm-group.event_fees-group div:nth-of-type(2) {
    margin-top: 1em;
}
/* Overwrite submit button on confirm page, as it contains a lot. */
.appearancemodifier-event .crm-submit-buttons button.crm-form-submit {
    width: auto;
}
/* Overwrite message div, add some space after the legend. */
.appearancemodifier-event .crm-profile .messages {
    margin: 1em 0 1em 0;
}
/* Add space between the footer and the submit button. */
.appearancemodifier-event div#footer_text {
    margin-top: 35px;
}
/* Hide the action links from the top on the info page*/
.appearancemodifier-event div.crm-actionlinks-top {
    display: none;
}
/* The event info section */
.appearancemodifier-event form.CRM_Event_Form_Registration_ThankYou div.crm-public-form-item.crm-section div.content,
.appearancemodifier-event form.CRM_Event_Form_Registration_Confirm div.crm-public-form-item.crm-section div.content,
.appearancemodifier-event div.crm-section.event_fees-section div.content,
.appearancemodifier-event div.crm-section.event_contact-section div.content,
.appearancemodifier-event div.crm-section.event_address-section div.content,
.appearancemodifier-event div.crm-section.event_date_time-section div.content {
    margin-left: 0;
    display: inline-block;
}
.appearancemodifier-event form.CRM_Event_Form_Registration_ThankYou div.crm-public-form-item.crm-section div.label,
.appearancemodifier-event form.CRM_Event_Form_Registration_Confirm div.crm-public-form-item.crm-section div.label,
.appearancemodifier-event div.crm-section.event_fees-section div.label,
.appearancemodifier-event div.crm-section.event_contact-section div.label,
.appearancemodifier-event div.crm-section.event_address-section div.label,
.appearancemodifier-event div.crm-section.event_date_time-section div.label {
    font-weight: bold;
    max-width: 200px;
    display: inline-block;
}
/* There is a breakpoint at 990px */
@media only screen and (max-width: 990px) {
    .appearancemodifier-event
        form.CRM_Event_Form_Registration_ThankYou
        div.crm-public-form-item.crm-section
        div.content,
    .appearancemodifier-event form.CRM_Event_Form_Registration_Confirm div.crm-public-form-item.crm-section div.content,
    .appearancemodifier-event div.crm-section.event_fees-section div.content,
    .appearancemodifier-event div.crm-section.event_contact-section div.content,
    .appearancemodifier-event div.crm-section.event_address-section div.content,
    .appearancemodifier-event div.crm-section.event_date_time-section div.content {
        margin-left: 0;
        display: block;
    }
    .appearancemodifier-event form.CRM_Event_Form_Registration_ThankYou div.crm-public-form-item.crm-section div.label,
    .appearancemodifier-event form.CRM_Event_Form_Registration_Confirm div.crm-public-form-item.crm-section div.label,
    .appearancemodifier-event div.crm-section.event_fees-section div.label,
    .appearancemodifier-event div.crm-section.event_contact-section div.label,
    .appearancemodifier-event div.crm-section.event_address-section div.label,
    .appearancemodifier-event div.crm-section.event_date_time-section div.label {
        font-weight: bold;
        display: block;
    }
}
/* The border and background color of the help boxes on the thankyou page */
.appearancemodifier-event form.CRM_Event_Form_Registration_ThankYou div.help,
.appearancemodifier-event div.crm-block.crm-event-confirm-form-block div.messages.continue_message-section,
.appearancemodifier-event div.crm-block.crm-event-confirm-form-block div.help {
    border: none;
    background-color: transparent;
}
