/*
Theme Name: Good News India Child Theme
Theme URI: http://www.flyingdonutmedia.com
Version: 1.0.0
Description: A custom beaver builder child theme for Good New India.
Author: Jason Wendel
Author URI: https://www.flyingdonutmedia.com
template: bb-theme
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------

--------------------------------------------------------------*/
/*--------------------------------------------------------------
1.0 Variables
--------------------------------------------------------------*/
/*--------------------------------------------------------------
2.0 Theme
--------------------------------------------------------------*/
@media (max-width: 768px) {
  .gni-menu .fl-menu-responsive-toggle-mobile #menu-main-menu .fl-has-submenu .sub-menu .menu-item a {
    padding-left: 20px;
  }
  .gni-menu .fl-menu-responsive-toggle-mobile #menu-main-menu .fl-has-submenu .sub-menu .menu-item a:before {
    font-family: FontAwesome;
    content: "\f149";
    padding: 0 10px;
    font-size: 0.8em;
  }
}
/*
* Choose a Child Archive - this is for the taxonomy-give_forms_category-choose-a-child.php file (no longer being used - BB is customizing the page)
 */
.term-choose-a-child .fl-content {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}
.term-choose-a-child .fl-content .give_forms_category-choose-a-child {
  width: 25%;
}

/*
* Choose a Child BB Styles
*/
.choose-child-archive-list .fl-post-grid-post {
  border: none;
}
.choose-child-archive-list .fl-post-grid-post .choose-child-archive-item .fl-post-image {
  text-align: center;
}
.choose-child-archive-list .fl-post-grid-post .choose-child-archive-item .fl-post-text .fl-post-title {
  text-align: center;
  color: #0f4274;
  font-family: "Lato", sans-serif;
  font-weight: 700;
}
.choose-child-archive-list .fl-post-grid-post .choose-child-archive-item .fl-post-text .fl-post-meta {
  text-align: center;
  color: #f8af46;
  font-weight: 700;
}

.choose-a-child-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.choose-a-child-list .give_forms_category-choose-a-child {
  width: 200px;
  text-align: center;
  border-bottom: 1px solid #e5e5e5;
  margin: 5px;
}
.choose-a-child-list .give_forms_category-choose-a-child .fl-post-thumb {
  text-align: center;
  width: 100%;
}
.choose-a-child-list .give_forms_category-choose-a-child .fl-post-thumb .fl-post-title {
  text-align: center;
  font-family: "Lato", sans-serif;
  font-size: 1.5em;
  font-weight: 700;
}
.choose-a-child-list .give_forms_category-choose-a-child .fl-post-thumb .fl-post-title a {
  color: #0f4274;
}
.choose-a-child-list .give_forms_category-choose-a-child .fl-post-thumb .child-grade {
  text-align: center;
  color: #f8af46;
  font-weight: 700;
}

.give-form input {
  height: auto;
}

.term-choose-a-child .choose-a-child_type-all .uabb-module-content a.uabb-button i, .term-choose-a-child .choose-a-child_type-all .uabb-module-content a.uabb-button .uabb-button-text {
  color: #f8af46;
}

.term-high-risk-girls .choose-a-child_type-high-risk .uabb-module-content a.uabb-button i, .term-high-risk-girls .choose-a-child_type-high-risk .uabb-module-content a.uabb-button .uabb-button-text {
  color: #f8af46;
}

.term-children-of-lepers .choose-a-child_type-children-of-lepers .uabb-module-content a.uabb-button i, .term-children-of-lepers .choose-a-child_type-children-of-lepers .uabb-module-content a.uabb-button .uabb-button-text {
  color: #f8af46;
}

.term-tribal-children .choose-a-child_type-tribal-children .uabb-module-content a.uabb-button i, .term-tribal-children .choose-a-child_type-tribal-children .uabb-module-content a.uabb-button .uabb-button-text {
  color: #f8af46;
}

.single-give_forms #content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 20px 0;
}
.single-give_forms #content .give-goal-progress {
  display: none;
}
.single-give_forms #content .child-photo {
  display: none;
}
@media (min-width: 767px) {
  .single-give_forms #content .child-photo {
    display: block;
    width: 25%;
    min-width: 200px;
    margin-right: 10px;
  }
  .single-give_forms #content .child-photo img {
    width: 100%;
  }
}
.single-give_forms #content .child-content {
  width: 100%;
}
@media (min-width: 767px) {
  .single-give_forms #content .child-content {
    width: 75%;
  }
}
.single-give_forms #content .child-content h1 {
  color: #0f4274;
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
}
.single-give_forms #content .child-content h2 {
  color: #f8af46;
  margin: 0;
  font-size: 22px;
  font-size: calculateRem(22px);
  font-weight: 700;
  text-transform: uppercase;
}
.single-give_forms #content .child-content .give-form-content-wrap img {
  display: block;
}
@media (min-width: 767px) {
  .single-give_forms #content .child-content .give-form-content-wrap img {
    display: none;
  }
}
.single-give_forms #content .child-content button.give-btn {
  display: block;
  margin-top: 10px;
  float: left;
  clear: both;
  line-height: 1;
  background: none;
  border: 5px solid #0f4274;
  color: #0f4274;
  font-size: 20px;
  font-size: calculateRem(20px);
  text-transform: uppercase;
  font-weight: bold;
  border-radius: 0;
}
.single-give_forms #content .child-content button.give-btn:hover {
  background: transparent;
  color: #f8af46;
  border: 5px solid #f8af46;
}

/*
* Dream Centers Archive
 */
.dreamcenters-archive .fl-module-content .fl-post-feed {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
}
.dreamcenters-archive .fl-module-content .fl-post-feed .fl-post-feed-post {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
}
.dreamcenters-archive .fl-module-content .fl-post-feed .fl-post-feed-post:nth-child(odd) .fl-post-image {
  order: 1;
}
.dreamcenters-archive .fl-module-content .fl-post-feed .fl-post-feed-post:nth-child(odd) .fl-post-text {
  order: 2;
  margin-left: auto;
}
.dreamcenters-archive .fl-module-content .fl-post-feed .fl-post-feed-post:nth-child(even) .fl-post-image {
  order: 2;
  margin-left: auto;
}
.dreamcenters-archive .fl-module-content .fl-post-feed .fl-post-feed-post:nth-child(even) .fl-post-text {
  order: 1;
}
.dreamcenters-archive .fl-module-content .fl-post-feed .fl-post-feed-post .fl-post-grid-post {
  font-size: 14px;
}
.dreamcenters-archive .fl-module-content .fl-post-feed .fl-post-feed-post .fl-post-title {
  font-size: 2em;
  line-height: 26px;
  margin: 0;
  padding: 0 0 5px;
  text-align: center;
}
.dreamcenters-archive .fl-module-content .fl-post-feed .fl-post-feed-post .fl-post-title a {
  color: #fff;
}
.dreamcenters-archive .fl-module-content .fl-post-feed .fl-post-feed-post .fl-post-meta {
  padding: 0 0 15px;
  text-align: center;
}
.dreamcenters-archive .fl-module-content .fl-post-feed .fl-post-feed-post .fl-post-text {
  padding: 20px;
  color: #fff;
}
.dreamcenters-archive .fl-module-content .fl-post-feed .fl-post-feed-post .fl-post-more-link {
  text-align: center;
  border: 2px solid #f8af46;
  font-size: 1.2em;
}
.dreamcenters-archive .fl-module-content .fl-post-feed .fl-post-feed-post .fl-post-image {
  max-width: 500px;
}

/*
* Donations
 */
.give_warning {
  display: none;
}

#give-form-370-wrap, #give-form-383-wrap, #give-form-399-wrap, #give-form-1022-wrap {
  position: relative;
  text-align: center;
}
#give-form-370-wrap #give-form-383, #give-form-383-wrap #give-form-383, #give-form-399-wrap #give-form-383, #give-form-1022-wrap #give-form-383 {
  text-align: center;
}
#give-form-370-wrap .give-donation-amount, #give-form-383-wrap .give-donation-amount, #give-form-399-wrap .give-donation-amount, #give-form-1022-wrap .give-donation-amount {
  display: inline-block;
}
#give-form-370-wrap .give-donation-amount span.give-currency-symbol.give-currency-position-before, #give-form-383-wrap .give-donation-amount span.give-currency-symbol.give-currency-position-before, #give-form-399-wrap .give-donation-amount span.give-currency-symbol.give-currency-position-before, #give-form-1022-wrap .give-donation-amount span.give-currency-symbol.give-currency-position-before {
  background-color: #fff;
  border: none;
  height: 50px;
  line-height: 50px;
}
#give-form-370-wrap .give-donation-amount input#give-amount.give-text-input, #give-form-383-wrap .give-donation-amount input#give-amount.give-text-input, #give-form-399-wrap .give-donation-amount input#give-amount.give-text-input, #give-form-1022-wrap .give-donation-amount input#give-amount.give-text-input {
  border: none;
  height: 50px;
}
#give-form-370-wrap .set-price, #give-form-383-wrap .set-price, #give-form-399-wrap .set-price, #give-form-1022-wrap .set-price {
  float: none;
}
#give-form-370-wrap .set-price.give-donation-amount #give-amount-text, #give-form-383-wrap .set-price.give-donation-amount #give-amount-text, #give-form-399-wrap .set-price.give-donation-amount #give-amount-text, #give-form-1022-wrap .set-price.give-donation-amount #give-amount-text {
  border: none;
  height: 50px;
  line-height: 50px;
}
#give-form-370-wrap .give-select, #give-form-383-wrap .give-select, #give-form-399-wrap .give-select, #give-form-1022-wrap .give-select {
  float: none;
  margin: 0 auto 15px;
}
#give-form-370-wrap button.give-btn, #give-form-383-wrap button.give-btn, #give-form-399-wrap button.give-btn, #give-form-1022-wrap button.give-btn {
  display: inline-block;
  line-height: 1;
  background: none;
  border: 5px solid #fff;
  color: #fff;
  font-size: 2em;
  text-transform: uppercase;
  font-weight: bold;
  border-radius: 0;
}
#give-form-370-wrap button.give-btn:hover, #give-form-383-wrap button.give-btn:hover, #give-form-399-wrap button.give-btn:hover, #give-form-1022-wrap button.give-btn:hover {
  background: transparent;
  color: #f8af46;
  border: 5px solid #f8af46;
}

#give-form-370 .give-recurring-donors-choice label {
  color: red;
}
