/* FLAG site colors red #bb1545 blue #2C3B6A*/

/* do not display footer block description */

#block-footerdisclaimer h2 {
  display: none;
}
/* format contribution pages */
button#_qf_Main_upload-bottom {
  background: #395384;
  font-size: 1.5rem;
}

/* 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:#2C3B6A;
}
.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 */


/* hide certains links on webforms */
a#edit-accessibility--2, a#edit-required--2, a#edit-novalidate {
    display: none;
}

/* begin format for civi mobile buttons */

#priceset {
    max-width: 500px;
  }

span.price-set-option-content.highlight {
    background: #e5c606;
}

@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: #395384;
        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 on page id 12 */
.crm-contribution-page-id-12 span.crm-price-amount-label-separator, .crm-contribution-page-id-12 span.crm-price-amount-amount
{display:none;
    }
/* 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;}
 
      /* center header images */
      @media (min-width: 461px) {
  .header #block-civiid15header, .header #block-civiid18header {
      text-align:center;
      float: none !important;
   }
      }
/* float left webform */

@media (min-width: 480px) {
 .page-node-type-webform #main-wrapper  {
    max-width: 600px;
    margin-left: 20px;
   width:100%;
}
}
.page-node-type-webform footer.site-footer {
    clear: both;
}
.page-node-type-webform #page {background:none;}

/* webform node 11 formatting */
.wf11-bg-image {
  /* The image used */
  background-image: url("/sites/default/files/Landing-background-rotatingimages.gif");

  /* Full height */
  height: 100%;

  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
@media (min-width: 480px) {

.wf11-bg-image .site-footer {
  padding-top:0;
}
.wf11-bg-image .layout-main {
  margin-bottom:0;
}
.wf11-bg-image .node__content {
  margin-bottom:-10px;
}

.wf11-bg-image .form-actions {
  margin-top:0px;
  width: 100%;
}

.wf11-bg-image div#edit-actions {
 padding-top:0;
  padding-bottom:1em;
}

.wf11-bg-image fieldset#edit-civicrm-1-contact-1-fieldset-fieldset {
    margin-bottom: 0;
    padding-bottom: 0;
}
.wf11-bg-image .page-node-type-webform #main-wrapper  {
    margin-left: 20px;
}
.wf11-bg-image  #edit-actions input{margin-right:0 !important;
  }
.wf11-bg-image  input#edit-civicrm-1-contact-1-contact-first-name, .wf11-bg-image input#edit-civicrm-1-contact-1-address-postal-code {
    width: 190px;
}
.wf11-bg-image  .form-item-civicrm-1-contact-1-contact-first-name {
  margin-right:10px;
  }
}

/* formatting for webforms */
.page-node-type-webform .field--name-field-heading {
 font-weight:bold;
  font-size:24px;
  color: #004AAB;
  text-align:center;
}

/* hide tracking fields on civi pages */
.crm-public-form-item.crm-group.custom_post_profile-group {
  display:none;
}

/* hide site logo from civi page id 18 */
.civi-id18 #block-bartik-branding {
  display:none;
}