/* FLAG site colors primary #25408f background #fbd711*/

/* do not display footer block description */

#block-footerdisclaimer h2 {
  display: none;
}
/* format contribution pages */
button#_qf_Main_upload-bottom {
  background: #25408f;  
  font-size: 1.5rem;
}
/*
@media (min-width: 768px) {
.crm-contribution-main-form-block div#intro_text {
  float: left !important;
  width: 40%;
}
div#priceset-div {
  float: left;
} 
}*/
/* webform formatting */
.wf-hidden-element {display:none;}
.custom-wf-styles label.webform-options-display-buttons-label.option {border:#2C3B6A solid 3px; border-radius:10px;    border-radius: 10px;
  color: #000000;
  font-weight: bold;
  font-size: 1.5em;
  padding: 0;}

.webform-options-display-buttons input:checked + label.webform-options-display-buttons-label {
color:#fff;
background-color:#fbd711;
}
.webform-button--submit {
  background-color: #ff0000 !important; 
  background-image: none;
  color: #fff;
font-size: 2em;}
.custom-wf-styles div#edit-actions {
  text-align: center;
}
/* end of webform formatting */
 
/* begin format for civi mobile buttons */

#priceset {
    max-width: 500px;
  }

span.price-set-option-content.highlight {
    background: #fbd711;
}

@media (min-width: 480px) {
    .crm-container #priceset-div .crm-section .label {
      float: none !important;
    }
    }
.contribution_amount-content {
        display: flex;
        flex-wrap: wrap;
      }
      
span.price-set-option-content {
        display: inline-block;
        height: auto !important;
        border: 1px solid #ccc !important; /* FIXME */
        border-radius: 5px !important;
        margin-right: 10px !important;
        text-align: center !important;
        cursor: pointer !important;
        background: #25408f;
        padding: 0 0px;
        }

          .price-set-row {
            flex:1 1 33.3%;
            margin-bottom: 15px;
            line-height: normal;
          }

.price-set-row label {
            line-height: 4rem;
          }

div#priceset div.contribution_amount-content input[type=radio] {
            display: none;
            }   
            
            
            input.crm-form-radio + label {
                margin-left: 0 !important;
              }
    #crm-container.crm-public .price-set-row .crm-price-amount-label {
                color:#fff;
                font-weight: normal;
                }

    #crm-container.crm-public .price-set-row .highlight .crm-price-amount-label, #crm-container.crm-public .price-set-row .highlight label {
                    color:#ffffff;
                    font-weight: bold;
                    }


        .crm-contribution-main-form-block span.crm-price-amount-label {
                        display: table-cell;
                        width: 250px;
                      }
    .price-set-row:last-of-type label  {
                        display: table-cell;
                        width: 250px;
                        color: #fff;
                      }
    .price-set-option-content label {
                        font-size: 20px;
                      }
/* end format for civi mobile buttons */

/* custom civi contribution page layout for desktop - float left */

@media (min-width: 480px) {
    div#intro_text {
      float: left;
      max-width: 500px;
      width: 100%;
      margin-right:1em;
    }
    div#priceset-div {
      float: left;
      margin-left:1em;
      width:100%;
        max-width:600px;
    }
    .crm-public-form-item.crm-section.is_recur-section {
      float: left;
      max-width: 600px;
      width: 250px;
    }
    .crm-public-form-item.crm-section.email-5-section {
  max-width: 540px;
        width: 100%;
        float: inline-start;
        margin-left:10px;    }
   .crm-container .crm-section .label {

Width:auto;
}
  
  div#billing-payment-block {
    width: 100%;
    float: right;
    max-width: 720px;
}

div#crm-submit-buttons {
    float: right;
    max-width: 600px;
    width: 100%;
}
  
  
    }
    @media (min-width: 1030px) {
      .crm-public-form-item.crm-section.is_recur-section {
          float: right !important;
      }
    }
    
    #priceset .crm-section.other_amount-section .label {
      float: left !important;
      text-align: left;
      width: auto;
      margin-right: 5px;
  }
  
  #priceset-div .content.contribution_amount-content {
    margin-left: 0;
}
.content.other_amount-content{
    margin-top: 0;
    padding-top: 0;
}
.crm-public-form-item.crm-group.custom_pre_profile-group
  {
    width: 100%;
    float: right;
    max-width: 600px;
} 
div#footer_text {
    clear: both;
}
    /* undo float for mobile display */
    div#intro_text {
      overflow: hidden;
    }

/* hide contribution amount display in order to hide cents */
    .crm-contribution-main-form-block span.crm-price-amount-label-separator, .crm-contribution-main-form-block span.crm-price-amount-amount
{display:none;}
 
    
/* hide tracking fields on civi pages */
.crm-public-form-item.crm-group.custom_post_profile-group {
  display:none;
}

/* mobile formatting for contribution pages */
@media screen and (max-width: 600px) {

.billing_name_address-group div.label, .billing_mode-group.credit_card_info-group div.label, div.email-5-section {margin-top:10px;}

.billing_mode-section div.content, .billing_name_address-section div.content, .email-5-section div.content {
    padding-top: 0 !important;
    margin-bottom: 15px;
    margin-top: 0;
}
  
  #crm-container.crm-public .billing_mode-group.credit_card_info-group .content, #crm-container.crm-public .billing_mode-section .content {
    padding-top: 0;
}
.credit_card_type-section {
    margin-bottom: 10px !important;
} 
}