#donate-form .error{
    color:red;
}
#donate-form input[type=text],#donate-form input[type=email],#donate-form input[type=number],#donate-form input[type=tel]{
    border: 1px solid #366674;
    border: none;
    outline: none;
    border-radius: 10px 10px 10px 10px;
}
.custom-amounts{
    list-style: none;
    margin:0;
    padding:0;
}
.custom-amounts li{
    float:left;
    margin:10px;
    
}
.custom-amounts li button:hover{
    border:1px solid  #7D7567;
}
.custom-amounts li button{
    display: inline-block;
    width: 100%;
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    text-transform: inherit;
    color: #333333;
    background: #ffffff;
    margin: 0;
    padding: 10px 20px;
    outline: none;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
.custom-amounts li button.active{
    background-color: #7D7567;
}
#donate-form .custom-amount h3 small{

    font-size: 47px;
    margin: 0;
    padding: 0;
    line-height: 19px;
    vertical-align: middle;

}
#donate-form .custom-amount h3 input{
    vertical-align: middle;
    margin:0;
}

#donate-form .custom-amount input.required {
    border: none;
    box-shadow: none;
    outline: none;
    color: var( --e-global-color-77d2b6c );
    font-size: 100px;
    font-weight: 700;
    line-height: 1;
    padding: 0px;
    display: inline-flex;
    width: auto;
    max-width: 175px;
    max-height: 100px;
}
#donate-form .custom-amount input.required::placeholder {
    color: var( --e-global-color-77d2b6c );
    opacity: 0.7;
}
#donate-form .form_row .sub > label {
    font-size: 18px !important;
    text-align: center !important;
    width: 100% !important;
    color: #000 !important;
}
#donate-form .form_row .sub textarea {
    min-height: 275px;
    min-height: auto;
}
#donate-form .custom-amount  h3 {
    column-gap: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
#donate-form .custom-amount .dontation_info_block h3 {
    justify-content: flex-start;
}
#donate-form .custom-amount p.send {
    font-size: 30px;
    margin: 0px;
    max-width: 600px;
    margin-top: 10px;
    line-height: 1.2;
    font-weight: 300;
    color: #333;
    text-transform: uppercase;
}
#donate-form .custom-amount h3 label.custom_amount {
    font-size: 40px !important;
    line-height: 1;
    margin-bottom: 0px !important;
}


/* This is the submit button styles */
body.wp-admin .btn {
    display: block;
    margin: 0 auto;
    padding: 5px 40px;
    height: 60px;
    border: none;
    background: #7d7567;
    border-radius: 6px;
    font-size: 16px;
    letter-spacing: 1px;
    color:#fff;
    font-weight:bold;
    /* Font-size is the root value that determines size of spinner parts. 
  Change this to whatever you want and spinner elements will size to match. */
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: all 1s;
  }
  
  /* focus/disabled styles, you can change this for accessibility */
  button:focus, button:disabled {
    outline: none;
    background: #7D7567;
  }
  
  /* This is the space for the spinner to appear, applied to the button */
  .spin {
    padding-left: 2.5em;
    display: block;
  }
  
  /* position of the spinner when it appears, you might have to change these values */
  .spin .spinner {
    left: -.6em;
    top: 18px;
    width: 2.5em;
    display: block;
    position: absolute;
  }
  
  /* spinner animation */
  @keyframes spinner {
    0% {
      transform: rotate(0deg);
    }
    
    100% {
      transform: rotate(360deg);
    }
  }
  
  /* The actual spinner element is a pseudo-element */
  .spin .spinner::before {
    content: "";
    width: 1.5em; /* Size of the spinner */
    height: 1.5em; /* Change as desired */
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: solid .35em rgb(248, 243, 243); /* Thickness/color of spinner track */
    border-bottom-color: rgb(146, 146, 146); /* Color of variant spinner piece */
    animation: .8s linear infinite spinner; /* speed of spinner */
    transform: translate(-50%, -50%);
    will-change: transform;
  }
  .alert {
    padding: 20px;
    background-color: #711912; /* Red */
    color: white;
    margin-bottom: 15px;
  }
  
  /* The close button */
  .closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
  }
  
  /* When moving the mouse over the close button */
  .closebtn:hover {
    color: black;
  }
  .months-container{
    display:inline-block;
    margin-left:10px;
  }

  .cls_refund.refund-button{
    background: #0073aa;
    color: #fff;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    width: 102px;
  }

#donate_price_custom .custom-amounts {
    display: flex;
    flex-wrap: wrap;
    column-gap: 40px;
    row-gap: 40px;
    justify-content: center;
}
#donate_price_custom .custom-amounts > li {
    float: none;
    margin: 0px;
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
    min-width: 25%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    padding: 30px 20px;
    font-size: 18px;
    color: #666;
    column-gap: 15px;
    row-gap: 10px;
    border-radius: 10px;
    box-shadow: 0 0 6px 0px rgba(0,0,0,0.2);
    transition: all 0.4s;
}
#donate_price_custom .custom-amounts > li:hover {
    box-shadow: 0 0 12px 0px rgba(0,0,0,0.35);
}
#donate_price_custom .custom-amounts > li button {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 11;
    opacity: 0;
}
#donate_price_custom .custom-amounts > li button.active {
    z-index: -1;
    background: var( --e-global-color-77d2b6c );
    opacity: 1;
}
#donate_price_custom .custom-amounts > li button.active ~ .amount_db, #donate_price_custom .custom-amounts > li button.active ~ .amount_sub{
    color: #fff !important;
}
#donate_price_custom .custom-amounts > li .amount_db {
    font-size: 35px;
    color: #000;
    font-weight: 800;
}
#donate-form-contr {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}
#donate-form-contr > .form-group {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
    text-align: left;
    position: relative;
}
#donate-form-contr > .form-group.label_field {
    flex: 0 0 100%;
    max-width: 100%;
}
#donate-form-contr .custom_amount_field .inner_field {
    position: relative;
    overflow: hidden;
}
#donate-form-contr .custom_amount_field .inner_field small {
    position: absolute;
    bottom: 1px;
    left: 1px;
    width: 40px;
    height: 43px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: 700;
    background: #f5f5f5;
}
#donate-form-contr .custom_amount_field input.required {
    font-size: inherit;
    color: inherit;
    width: 100%;
    max-width: 100%;
    padding: 3px 15px;
    height: 45px;
    padding-left: 55px;
    margin: 0px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
#donate-form-contr .monthly_field .inner_field.monthly_field_inner {
    width: 100%;
    max-width: 100%;
    padding: 6px 15px;
    min-height: 45px;
    margin: 0px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
#donate-form-contr .monthly_field .inner_field.monthly_field_inner label {
    margin: 0px;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 7px;
    font-weight: 400;
}
#donate-form-contr .monthly_field .inner_field.monthly_field_inner label input[type=checkbox] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    position: relative;
    border: 1px solid #ccc;
}
#donate-form-contr .monthly_field .inner_field.monthly_field_inner label input[type=checkbox]::before {
    content: "\f00c";
    position: absolute;
    font-family: 'FontAwesome';
    line-height: 1;
    top: 0px;
    left: 0px;
    display: none;
}
#donate-form-contr .monthly_field .inner_field.monthly_field_inner label input[type=checkbox]:checked::before {
    display: block;
}
#donate-form-contr .monthly_field .inner_field.monthly_field_inner .split_group {
    display: flex;
    align-items: center;
    column-gap: 5px;
    padding-top: 15px;
}
#donate-form-contr .monthly_field .inner_field.monthly_field_inner .split_group p {
    margin: 0px;
}
#donate-form-contr .monthly_field .inner_field.monthly_field_inner .split_group input {
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0px;
    width: auto;
    max-width: 50px;
    height: 25px;
    padding: 0px;
    margin: 0 10px;
}

.add-rsvp.plus-button,.remove-rsvp.minus-button{
    background: #ededed;
    padding: 20px;
    height: 10px;
    position: relative;
    top: 35px;
}
.load-additionals .input-rows{
    display: flex;
}
  @media only screen and (max-width: 790px) {
    #donate-form{
        margin-bottom: 200px;
    }
  }

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

    #donate_price_custom .custom-amounts > li {
        min-width: 35%;
    }
    #donate-form-contr {
        flex-direction: column;
    }
    #donate-form-contr > .form-group {
        flex: 0 0 100%;
        max-width: 100%;
    }
    #donate-form-contr .monthly_field {
        margin-top: 15px;
    }

} 


  @media only screen and (max-width: 600px) {
    .months-container{
        display:block;
    }
    .months-container select{
        width:100%;
    }
    .custom_radio_single label{
        text-align: left;
    }
  }

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

    /*#donate_price_custom .custom-amounts > li {
        min-width: 100%;
    }*/
    #donate-form-contr .monthly_field .inner_field.monthly_field_inner .split_group {
        flex-wrap: wrap;
    }

} 
