/* SR overrides */
@import url(https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap);

:root {
    --color-red: #e30613;
    --color-mid-grey: #6F6F6F;
    --color-dark-grey: #2b2b2b;
}

body {
    font-family: "Open Sans", sans-serif;
}

h1, h2, h3, h4 {
    font-family: "Bebas Neue", sans-serif;
    text-transform: uppercase;
}

#mainNav{
    background-color: #000000;
}

footer{
    font-size: 16px
}

.mobile-menu ul,
footer ul,
#mainNav nav ul{
    list-style: none;
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 0;
}

#mainNav .h5,
.mobile-menu ul li,
footer ul li,
#mainNav nav ul li{
    margin-top: 0;
    margin-bottom: 0;
}

#mainNav,
.mobile-menu{
    z-index: 3;
}

#mainNav nav a:hover,
#mainNav .header-buttons a:hover,
footer a:hover{
    text-decoration: none;
}

#mainNav .header-buttons a:last-child:hover,
#mainNav nav a:hover,
footer a:hover{
    color: #fff;
}

#mainNav .header-buttons a:first-child:hover{
    color: #000;
}

#mainNav .header-buttons a:first-child{
    border-bottom-left-radius: 20px;
}

@media screen and (max-width: 576px){
    header .js-menu-toggle{
        height: initial;
    }
}

footer a.underline:hover{
    text-decoration: underline;
}

body.page-civicrm-contribute #main-container-wrapper,
body.node-type-webform #main-container-wrapper {
    background-color: var(--color-red);
    padding: 148px 0 70px;
}

@media screen and (max-width: 600px) {
    body.page-civicrm-contribute #main-container-wrapper,
    body.node-type-webform #main-container-wrapper {
        padding: 30px 0 30px;
    }
}

body.page-civicrm-contribute .main-container,
body.node-type-webform .main-container {
    background-color: #FFF;
    border-radius: 15px;
    box-shadow: #787878 4px 4px 8px;
    max-width: 980px;
}

.main-container p {
    font-size: 16px;
    color: var(--color-dark-grey);
    line-height: 150%;
}

.main-container p a {
    color: var(--color-red);
}

.content-padding {
    padding: 50px 80px !important;
}

@media screen and (max-width: 600px) {
    .content-padding {
        padding: 30px 25px !important;
    }
}

h1.page-header {
    text-align: center !important;
    background: none !important;
    padding: 0 !important;
    border: none !important;
    font-size: 75px !important;
    color: var(--color-red) !important;
    margin-bottom: 15px !important;
}

@media screen and (max-width: 600px) {
    h1.page-header {
        font-size: 54px !important;
    }
}

#intro_text {
    border: none;
    border-bottom: 1px dotted var(--color-mid-grey) !important;
    padding-bottom: 40px;
}

#intro_text p {
    text-align: center;
    font-size: 22px;
}

#intro_text p a {
    font-weight: bold;
}

.main-container fieldset {
    margin: 0 !important;
}

.container .jumbotron, .container-fluid .jumbotron {
    margin: 40px 0 !important;
    padding: 25px !important;
    border-color: var(--color-dark-grey);
}

.main-container fieldset legend,
.main-container .crm-section.membership_amount-section .label label {
    font-family: "Bebas Neue", sans-serif;
    text-transform: uppercase;
    font-weight: normal;
    font-size: 32px;
    color: var(--color-dark-grey) !important;
    padding-top: 40px;
}

.main-container .crm-section .label:not(.hiddenElement),
.main-container .crm-section .content:not(.hiddenElement) {
    float: none;
    width: 100%;
    margin-left: 0;
    display: block;
}

.main-container .crm-section .label label {
    font-size: 18px;
    font-weight: bold;
    color: var(--color-red);
    margin-bottom: 5px;
    display: inline-block;
}

.main-container .crm-section .content.description {
    padding-top: 0;
    margin-bottom: 25px;
    color: var(--color-dark-grey);
    font-size: 16px;
}

.main-container .webform-client-form .crm-section {
    margin-bottom: 20px !important;
}

#crm-container.crm-public input:not([type="submit"]):not([type="radio"]):not([type="checkbox"]):not([type="image"]),
#crm-container.crm-public select,
.main-container .webform-client-form input:not([type="submit"]):not([type="radio"]):not([type="checkbox"]):not([type="image"]),
.main-container .webform-client-form select {
    width: 100% !important;
    background-image: none;
    border-radius: 5px;
    border: 1px solid var(--color-dark-grey);
    color: var(--color-dark-grey);
    font-size: 16px;
    padding: 10px 15px;
    box-sizing: border-box;
    height: auto;
    margin-bottom: 10px;
}

.main-container .webform-client-form .bank_identification_number-section input:not([type="submit"]):not([type="radio"]):not([type="checkbox"]):not([type="image"]) {
    width: 100px !important;
}

#crm-container.crm-public select,
.main-container .webform-client-form select {
    max-width: 350px;
}

#crm-container.crm-public .select2-container,
.main-container .webform-client-form  .select2-container {
    margin-bottom: 20px;
}

#crm-container.crm-public .select2-choice,
.main-container .webform-client-form .select2-choice {
    background-image: none !important;
    background-color: #FFF !important;
    box-shadow: none !important;
    border-radius: 5px;
    border: 1px solid var(--color-dark-grey);
    color: var(--color-dark-grey);
}

#crm-container.crm-public .select2-choice .select2-arrow,
.main-container .webform-client-form .select2-choice .select2-arrow {
    background: var(--color-red);
    width: 40px;
}

#crm-container.crm-public .select2-choice .select2-arrow:after,
.main-container .webform-client-form .select2-arrow:after {
    content: "";
    position: relative;
    top: 21px;
    left: 13px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 7px 0 7px;
    border-color: #ffffff transparent transparent transparent;
}

#crm-container.crm-public .select2-choice .select2-arrow b,
.main-container .webform-client-form .select2-arrow b {
    display: none;
}

#crm-container.crm-public .select2-container-active .select2-choice,
.main-container .webform-client-form .select2-choice {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

#crm-container.crm-public .cividiscount-section {
    position: relative;
}

#crm-container.crm-public .cividiscount-section > div:nth-of-type(2) {
    width: calc(100% - 120px);
}

#crm-container.crm-public .cividiscount-section > div:nth-of-type(2) input:not([type="submit"]):not([type="radio"]):not([type="checkbox"]):not([type="image"]) {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

#crm-container.crm-public .cividiscount-section > div:nth-of-type(4) {
    width: 120px;
    position: absolute;
    top: 35px;
    right: 0;
    padding-top: 0;
}

#crm-container.crm-public .cividiscount-section > div:nth-of-type(4) input {
    background: var(--color-red);
    color: #FFF;
    text-transform: uppercase;
    border: 1px solid var(--color-dark-grey);
    border-left: none;
    border-radius: 0;
    border-top-right-radius: 5px !important;
    border-bottom-right-radius: 5px !important;
    text-shadow: none;
    width: 100%;
    height: 44px;
    box-sizing: border-box;
    font-size: 22px;
    font-weight: bold;
}

a#checkavailability, .block a.btn {
    color: var(--color-red);
    text-decoration: underline;
    padding: 0;
    border: none;
    text-transform: none;
    font-size: 16px;
    font-weight: bold;
}

#crm-submit-buttons .crm-button {
    border-radius: 0;
    float: none;
    padding: 0;
    background: none;
    text-shadow: none;
    border: none;
    margin: 0;
}

#crm-submit-buttons .crm-button i {
    display: none;
}

button.btn.webform-previous {
  background: url(https://membership.lcc.org.uk/sites/membership.lcc.org.uk/themes/bootstrap_lcc_2016/images//arrow-mirror.svg) 8% center no-repeat var(--color-red);
  background-size: 21px 20px;
  padding: 15px 25px 15px 50px;
}

#crm-submit-buttons .crm-button, button.btn,
.crm-container.crm-public a.button {
    background: url('../images/arrow.svg') 94% center no-repeat var(--color-red);
    color: #FFF;
    text-transform: uppercase;
    border: none;
    border-radius: 25px;
    border-top-left-radius: 0 !important;
    text-shadow: none;
    width: auto;
    padding: 15px 50px 15px 25px;
    box-sizing: border-box;
    font-size: 22px;
    font-weight: bold;
}

.page-civicrm-contribute div.crm-submit-buttons { 
  height: unset;
}

input.crm-form-radio + label, input.crm-form-checkbox + label {
    margin-left: 0;
}

.crm-section [type="checkbox"]:not(:checked),
.crm-section [type="checkbox"]:checked,
.crm-section [type="radio"]:not(:checked),
.crm-section [type="radio"]:checked {
    position: absolute;
    left: -9999px;
}
.crm-section [type="checkbox"]:not(:checked) + label,
.crm-section [type="checkbox"]:checked + label,
.crm-section [type="radio"]:not(:checked) + label,
.crm-section [type="radio"]:checked + label {
    position: relative;
    padding-left: 60px;
    cursor: pointer;
}


/* checkbox aspect */
.crm-section [type="checkbox"]:not(:checked) + label:before,
.crm-section [type="checkbox"]:checked + label:before,
.crm-section [type="radio"]:not(:checked) + label:before,
.crm-section [type="radio"]:checked + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: calc(50% - 22px);
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-dark-grey);
    background: #fff;
    border-radius: 5px;
}

.crm-section [type="checkbox"]:checked + label:before,
.crm-section [type="radio"]:checked + label:before {
    background-color: var(--color-red);
    border--color: var(--color-red);
}

/* checked mark aspect */
.crm-section [type="checkbox"]:not(:checked) + label:after,
.crm-section [type="checkbox"]:checked + label:after,
.crm-section [type="radio"]:not(:checked) + label:after,
.crm-section [type="radio"]:checked + label:after {
    content: url('../images/checkbox.svg');
    position: absolute;
    top: calc(50% - 13px);
    left: 8px;
    transition: all .2s;

}
/* checked mark aspect changes */
.crm-section [type="checkbox"]:not(:checked) + label:after,
.crm-section [type="radio"]:not(:checked) + label:after {
    opacity: 0;
    transform: scale(0);
}
.crm-section [type="checkbox"]:checked + label:after,
.crm-section [type="radio"]:checked + label:after {
    opacity: 1;
    transform: scale(1);
}

/* hover style just for information */
.crm-section label:hover:before {
    border: 1px solid #4778d9 !important;
}
.crm-section [type="checkbox"] + label,
.crm-section [type="radio"] + label {
    display: flex !important;
    align-items: center;
    min-height: 45px;
}


.webform-client-form input[type="checkbox"],
.webform-client-form input[type="radio"] {
    appearance: checkbox;
    -webkit-appearance: checkbox;
    position: static;
    left: auto;
    margin-right: 10px;
}
