/*
Theme Name: May awareness
Theme URI: https://www.ehlers-danlos.org
Author: Guy Hodgson
Author URI: https:aspectwebdesign.co.uk
Description: Bespoke theme for EDS UK
Version: 5.0.1
Text Domain: mayawareness

/* 
agenda bold
font-family: agenda, sans-serif;
font-weight: 700;
font-style: normal;

agenda semi bold
font-family: agenda, sans-serif;
font-weight: 600;
font-style: normal;

agenda medium
font-family: agenda, sans-serif;
font-weight: 500;
font-style: normal;

agenda regular
font-family: agenda, sans-serif;
font-weight: 400;
font-style: normal;

agenda light
font-family: agenda, sans-serif;
font-weight: 300;
font-style: normal;
*/

/* need to look at this for moving to fundraising and back
html, body{min-height:100%;}
body{min-height:100vh;}
*/
body {
    margin: 0;
    padding: 0;
    line-height: 1.3rem;
    font-size: 1.1rem;
    font-family: agenda, sans-serif;
    font-weight: 500;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    color: #333333;
}

a {
    text-decoration: underline;
    color: inherit;
}

p {
    margin:0 0 1rem 0;
    padding:0;
}
ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

li {
    width:100%;
    display: block;
    padding: 0.8rem;
    border: 1px solid #b3b3b3;
    border-radius: 8px;
    margin:1rem 0;
    background-color: #ffffff;
    box-sizing: border-box;
    cursor: pointer;
}

header {
    text-align: center;
}

footer {
    background-color: #333333;
    width:100%;
    box-sizing: border-box;
    padding:0.5rem;
    font-size:0.8rem;
    text-align: center;
    color: #ffffff;
}

footer p { 
    margin:0;
}

.input_error {
    border:1px solid #D03437;
}

#emEr {
    margin-top: -10px;
}

.formError img {
    height: auto;
    width: 21px;
    margin-right: 5px;
}
.formError {
    color: #D03437;
    font-weight: 700;
    display: flex;
     flex-wrap: wrap;
    align-items: center;
    padding: 0 0 18px 0;
}
.out_of_view {
    position: absolute;
        left:-50000px;
}
.no_display {
    display: none!important;
}

#background {
    width:100%;
    background: url("images/donate_img.jpg") no-repeat top center fixed;
    height: 100%;
    min-height: 100%;
    
}

#back_wrap {
    width:100%;

}

#logo_line {
    display: none;
}

#branding_wrap {
    display: inline-block;
    width:780px;
    max-width: 100%;
    background-color: rgba(51,51,51,0.95);
    text-align: left;
    padding: 1rem 2rem;
    box-sizing: border-box;
    border-radius: 0 0 15px 15px;
}

#edsuk_logo {
    height: auto;
    width: 148px;
}

#edsuk_logo_wrap {
    box-sizing: border-box;
    display: inline-block;
    vertical-align: middle;
    border-right: 1px solid #ffffff;
    padding-right: 20px;
}

#branding_mission span {
    font-size: 0.95rem;
    line-height: 1rem;
}

#branding_mission {
    color: white;
    display: inline-block;
    width:300px;
    vertical-align: middle;
    padding-left: 15px;
    max-width: calc(100% - 190px);
    max-width: -moz-calc(100% - 190px);
    max-width: -webkit-calc(100% - 190px);
}

section#main_section {
    width:100%;
    text-align: center;
    padding: 60px 12px;
    box-sizing: border-box;
}

#main_section h1 {
    position: absolute;
    left:-20000px;
}

.donation_step {
    width:380px;
    max-width: 100%;
    background-color: rgba(255,255,255,0.85);
    border-radius: 8px;
    display: inline-block;
}

.step_title {
    width: 100%;
    padding: 0.5rem;
    box-sizing: border-box;
    background-color: #fddc32;
    border-radius: 5px 5px 0 0;
}

.step_title h2 {
    margin: 0;
    padding:0;
    font-size: 1.5rem;
    line-height: 1.8rem;
    font-family: agenda, sans-serif;
    font-weight: 600;
}

.donation_step_inner {
    padding: 1.2rem;
}

#don_intro_text p {
    font-weight: 600;
    line-height:  1.4rem;
    margin-bottom: 2rem;
}

#fr_logo{
    width: 41%;
    height: auto;
    margin: 8px 0;
}

.don_but_selected {
    background-color: #fddc32;
}

.progress_bar {
    background-color: #333333;
    width:100%;
    box-sizing: border-box;
    color: #ffffff;
    display: flex;
    flex-wrap: wrap;
    font-size:0.9rem;
    padding: 0.7rem 0.4rem 0.4rem 0.4rem;
}


.prog_item {
    width: calc(100% / 3);
    width: -moz-calc(100% / 3);
    width: -webkit-calc(100% / 3);
    position: relative;
}

.prog_no {
    height:20px;
    width:20px;
    border-radius: 50%;
    display: inline-block;
    background-color: #ffffff;
    color: #333333;
    font-size: 14px;
    font-weight: 600;
    position: relative;
}

.prog_no.is_active {
    background-color: #fddc32;
    color: #333333;
}

.prog_no_wrap {
    width:100%;
    text-align: center;
}
.prog_line {
    position: absolute;
    width:100%;
    height: 1px;
    background-color: #ffffff;
    top:10px;
    left:50%;
}

.prog_line.done {
    background-color: #fddc32;
}

#Amount {
    font-size:16px;
    position: absolute;
    left:-5000px;

}

#single_one {
    padding:2rem;
    background-color: #ffffff;
    border: 1px solid #b3b3b3;
    border-radius:8px
}
#freq_select {
    width:100%;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
}

.freq_item{
    width:50%;
    border:1px solid #333333;
    background-color: #ffffff;
    padding:0.2rem 0.4rem;
    position: relative;
    box-sizing: border-box;
    cursor: pointer;
}

.freq_item.freq_active{
     background-color: #333333;
    color: #ffffff;
}

.freq_item.freq_active::after{
    position: absolute;
    left:50%;
    bottom: -10px; 
    display: block;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #333333;
    content: "";
}

.don_freq_amount{
    display: flex;
   justify-content: space-between;
    margin-bottom: 1.5rem;
}

.freq_amount {
    width: calc(33% - 7px);
    width: -moz-calc(33% - 7px);
    width: -webkit-calc(33% - 7px);
    background-color: #ffffff;
    border: 1px solid #b3b3b3;
    border-radius: 5px;
    box-sizing: border-box;
    padding:1rem 2rem;
    font-size: 1.3rem;
    cursor: pointer;
}

.freq_amount.freq_selected {
    background-color: #333333;
    color:#ffffff;
}

.don_descripter {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.25rem;
    padding:0;
}

input, textarea {
    display: block;
    background-color: #ffffff;
    border: 1px solid #b3b3b3;
    border-radius: 5px;
    box-sizing: border-box;
    padding:0.5rem;
    margin: 0;
    line-height: 1.3rem;
    font-size: 1.1rem;
    font-family: agenda, sans-serif;
    font-weight: 500;
    font-style: normal;
    width:100%;
    box-sizing: border-box;
    text-align: left;
}

input#don_own, input#Email {
    width: calc(100% - 50px);
    width: -moz-calc(100% - 50px);
    width: -webkit-calc(100% - 50px);
    border-radius: 0px 5px 5px 0px;
}

#own_amount {
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

#pound_symbol, #email_symbol {
    display: flex;
    background-color: #e3e3e3;
    width:50px;
    border: 1px solid #b3b3b3;
    box-sizing: border-box;
    border-radius: 5px 0 0px 5px;
    align-items: center;
    justify-content: center; 
}

#pound_symbol span {
    display: inline-block;
    font-size: 1.2rem;
}


.box_tick {
width: 18px;
height: 18px;
background-color: #fff;
border: 1px solid #333333;
border-radius: 2px;
margin-top: 4px;
cursor: pointer;
position: relative;
margin-right:16px;
}

.box_tick.checked {
    background-color: #333333;
} 

.label_text_for_tick {
     width: calc(100% - 36px);
    width: -moz-calc(100% - 36px);
    width: -webkit-calc(100% - 36px);
}

.the_tick {
position: absolute;
width: 12px;
height: 14px;
background-image: url(images/check.png);
background-size: contain;
background-position: center;
background-repeat: no-repeat;
top: 2px;
left: 3px;
}

.tick_item{
    display: flex;
    flex-wrap: wrap;
    text-align: left;
    margin-bottom: 1.2rem;
    cursor: pointer;
}

#your_gift_aid_worth {
    margin: 1.5rem 0;
    background-color: #fddc32;
    padding:1rem;
    border-radius: 8px;
}

#your_gift_aid_worth p {
    margin: 0;
    padding:0 ;
        
}

#gift_aid_calc {
    font-weight: 600;
}

#your_gift_aid_conscent {
    text-align: left;
}

.make_don_footer {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.make_don_but {
    display: flex;
    flex-wrap: wrap;
     align-items: center;
    justify-content: center;
    background-color: #fddc32;
    padding:0.4rem;
    box-sizing: border-box;
    margin: 0 1rem;
    cursor: pointer;
}

.back_icon, .next_icon {
    width: 18px;
    height: 18px;
}

.back_icon {
     margin-right: 8px;
}
.next_icon {
     margin-left: 8px;
}

.don_but_text {
    display: block;
    text-align: left;
}

.back_icon, .next_icon {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.back_icon {
    background-image: url(images/back.png);
}
.next_icon {
    background-image: url(images/next.png);
}

#noamounterror{
    width: 100%;
    box-sizing: border-box;
    background-color: #ffffff;
    padding: 0.5rem;
    border: darkred;
    border: 1px solid #D03437;
    margin-top: 16px;
    color: #D03437;
}

#my_details_email {
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

#my_details_em_icon {
    width:43%;
    height: auto;
}

#my_details_address input{
    margin-bottom: 12px;
}

input#Title {
    width:120px;
}

#my_payment_options {
      display: flex;
     flex-wrap: wrap;
}

#dd_payment_options {
    width:100%;
    text-align: center;
    padding:1rem 0;
}

#dd_payment_options img {
    width:150px;
    height: auto;
    display: inline-block;
}

.my_payment_option {
    width:calc(50% - 8px);
    padding: 0.8rem;
    box-sizing: border-box;
    cursor:pointer;
    background-color: #ffffff;
    border-radius: 5px;
    margin-bottom: 1rem;
}


#my_payment_credit {
    margin-right: 16px;
}

.my_payment_option p {
    margin: 0;
}

.my_payment_option.active {
    border-bottom: 4px solid #fddc32
}

#my_payment_credit::before {
    display: inline-block;
    content: '';
    height: 40px;
    width: 40px;
    background-repeat: no-repeat;
    background-size: 40px;
    background-image: url(images/cc_icon_light.png);
}

#my_payment_credit.active::before {
    background-image: url(images/cc_icon.png)!important;
}

#my_payment_paypal::before {
     display: inline-block;
    content: '';
    height: 40px;
    width: 40px;
    background-repeat: no-repeat;
    background-size: 40px;
    background-image: url(images/pp_icon_light.png);
}

#my_payment_paypal.active::before {
    background-image: url(images/pp_icon.png)!important;
}


#submitButton {
    background-color: #fddc32;
    border:1px solid #fddc32;
    text-align: center;
    margin-top: 1rem;
    cursor: pointer;
    color:#333333;
}

#my_payment_credit_details {
    text-align: left;
    margin-top: 1rem;
}

.StripeElement {
    margin-bottom: 1rem;
    margin-top: 0.4rem;
    background-color: #f0f1f3;
    border: 1px solid rgba(0, 0, 0, .1);
    padding: 0.5rem;
    background-color: white;
}

#card-expiry {
    width:100px;
    max-width: 100%;
}

#card-cvc {
    width:35px;
    max-width: 100%;
}

#ap_gp_wrap {
    border-radius: 5px;
}


/*cookie*/
#cookie_check {
    width: 768px;
    max-height: 95%;
    text-align: center;
    max-width: calc(100% - 3rem);
	max-width: -moz-calc(100% - 3rem);
	max-width: -webkit-calc(100% - 3rem);
    box-sizing: border-box;
    overflow: auto;
    background-color: #ffffff;
    border-radius: 8px;
}

#cookie_check h3 {
    margin-bottom: 0.6rem;
    margin-top: 0.6rem;
    font-size: 1.5rem;
}

#cookie_check span {
    display: block;
    width:100%;
    font-size: 1rem;
    line-height: 1.5rem;
}

#cookie_button {
    font-size: 1rem;
    line-height: 1.5rem;
}

.cookie_button {
    display: inline-block;
    width:100px;
    border: 1px solid #444444;
    border-radius: 5px;
    margin: 0.5rem;
    padding: 0.5rem 1.5rem;
    text-align: center;
    cursor: pointer;
}

#manage_cookies, #save_pref_cookies {
    background-color: white;
}

.allow_cookies {
    background-color: #444444;
    color: #ffffff;
}

body {
    position: relative;
}

.dropshadow {
	-webkit-box-shadow: 0 0 6px 0 rgba(2,3,3,.25);
-moz-box-shadow: 0 0 6px 0 rgba(2,3,3,.25);
box-shadow: 0 0 6px 0 rgba(2,3,3,.25);
}

#close_cookie_control span {
    padding-bottom: 0!important;
    margin-bottom: 0!important;
}

#close_cookie_control {
    width:100%;
    text-align: right;
    cursor: pointer;
    padding: 0.62rem 1.22rem;
    width:100%;
    box-sizing: border-box;
    border-bottom: 1px solid #ececec;
}

#pref_wrap {
    margin-top: 1.5rem;
}

.cookie_control_button {
    display: inline-block;
margin-top: 1rem;
border: 1px solid #444;
padding: 0.2rem 0.4rem;
border-radius: 0.2rem;
    background-color: #ffffff;
    color: #444444;
    cursor: pointer;
}

.cookie_control_button.on{
    background-color: #228B22;
    border-color: #228B22;
    color: white;
}

.cookie_control_button.always_on{
    background-color: #228B22;
    border-color: #228B22;
    opacity: 0.4;
    color: white;
    cursor: default;
}

.cookie_control_button.always_off{
    opacity: 0.4;
}

#cookie_check_intro {
    padding: 0.62rem 1.22rem 0.62rem 1.222rem;
    width:100%;
    box-sizing: border-box;
    overflow: auto;
    position: relative;
    background-color: #ffffff;
}

.cookie_control_item h4 {
    margin-bottom: 0.6rem!important;
    margin-top: 1rem!important;
    font-size: 1.3rem!important;
}
.cookie_control_item span {
    margin-bottom: 0rem!important;
    padding-bottom: 0rem!important;
}
.cookie_control_button {
    font-size: 1rem;
    line-height: 1.5rem;
}

#cookie_control_text_inner {
padding: 0 1.222rem 1.222rem 1.222rem;
    width:100%;
    box-sizing: border-box;
    overflow: auto;
    height: 100%;
    position: relative;    
}

#cookie_control {
width:100%;
background-color: #ffffff;
    
}

.cookie_check_wrap {
    position: fixed;
    width:100%;
    height: 100%;
    background-color: rgba(68,68,68,0.4);
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
     justify-content: center;
      align-items: center;
     z-index: 2000;
    top: 0;
}

.no_scroll {
    overflow: hidden;
}

.cookie_control_item {
    margin-bottom: 1.2rem;
}


@media screen and (max-width: 450px) { 

#branding_wrap {
    text-align: center;
    border-radius: 0;
}

#edsuk_logo_wrap {
    border-right: none;
}    

#logo_line {
    display: inline-block;
    width:98px;
    height: 1px;
    background-color: #ffffff;
    margin: 0.5rem 0 0.8rem 0;
}

#edsuk_logo_wrap {
    width: 100%;
    padding-right: 0;
}

#branding_mission {
    width:80%;
    padding:0;
    max-width: 80%;
    box-sizing: border-box;
}    
}
