/** EVENT STYLES */
.page-civicrm-event.subpage h2 {line-height: 130%}
.page-civicrm-event.subpage .image-style-align-left {margin: 0.5em 1em 1em 0}
.page-civicrm-event.subpage .image-style-align-right {margin: 0.5em 0 1em 1em}

/** 'Register' buttons */
.page-civicrm-event.subpage [class^="crm-actionlinks-"], .page-civicrm-event.subpage .crm-submit-buttons {display: flex; background: #F4F4F4; padding: 10px}
.page-civicrm-event.subpage [class^="crm-actionlinks-"] > .action-link {height: auto}
.page-civicrm-event.subpage .crm-button, .page-civicrm-event.subpage .crm-register-button {background: none !important; border: 2px solid var(--primary-colour) !important; border-radius: 0 !important; color: var(--primary-colour) !important; font-size: inherit !important; padding: 10px 20px !important; text-shadow: none !important; transition: 0.3s}
.page-civicrm-event.subpage .crm-button:hover, .page-civicrm-event.subpage .crm-register-button:hover {background: var(--primary-colour) !important; color: #FFF !important}

/** Sections */
.page-civicrm-event.subpage .crm-section {margin-bottom: 5px !important}
.page-civicrm-event.subpage .crm-section .content, .page-civicrm-event.subpage .crm-section .content > table, .page-civicrm-event.subpage .crm-section .label {font-size: 1.1rem !important}
.page-civicrm-event.subpage .crm-section .content > table td {padding: 0}
.page-civicrm-event.subpage .crm-section .content > table td.price_set_option_group-label {font-weight: bold}
.page-civicrm-event.subpage .crm-section .label {background: #F4F4F4; padding: 5px}
.page-civicrm-event.subpage .event_date_time-section {border-top: 2px solid #DDD; padding-top: 25px}

/** Sponsor logos */
.page-civicrm-event.subpage .summary > figure.table:first-child {border-color: #DDD; border-style: solid; border-width: 2px 0; margin: 20px auto; padding: 20px 0}
.page-civicrm-event.subpage .summary > figure.table:first-child table {border: 0; color: var(--primary-colour); font-size: 1.4rem; font-weight: bold; margin: 0}
.page-civicrm-event.subpage .summary > figure.table:first-child td {text-align: center; vertical-align: middle; width: 50%}
.page-civicrm-event.subpage .summary > figure.table:first-child td .image {display: flex; align-items: center; justify-content: center; width: 100% !important; max-width: 300px}
.page-civicrm-event.subpage .summary > figure.table:first-child td .image img {height: auto; width: 100%}