/*======================================
Theme Name: Hunger Task Force
Theme URI: https://www.hungertaskforce.org/
Description: Hunger Task Force Theme (Divi Child)
Version: 1.4.16.18
Author: Spin Group
Author URI: https://www.spingroup.com/
Template: Divi
======================================*/


/* You can add your own CSS styles here. Use !important to overwrite styles if needed. */

h1, h2, h3, h4, h5, h6 {
    line-height: 1.1;
}

#logo {
    -webkit-transform: none;
    transform: none;
}

p:last-of-type+ol,
p:last-of-type+ul {
    margin-top: 1em;
}

#top-menu > li > a {
    font-weight: normal;    
}
#top-menu .sub-menu li > a {
    font-weight: normal;    
    font-size: 16px!important;
    color: #1e51a4;
}
#top-menu .sub-menu .sub-menu li > a {
    font-size: 16px!important;
    color: #c9942b!important;
}
#top-menu .sub-menu li > a:hover,
#top-menu .sub-menu .sub-menu li > a:hover {
    background-color: #1e51a4;
    color: white!important;
}

#top-menu li.mega-menu > ul > li > a:first-child {
    border-bottom: 1px solid #c9942b!important;
}

#top-menu li.mega-menu > ul > li > a:first-child:hover {
    color: #1e51a4!important;
}

#et-secondary-nav li {
    margin-right: 25px;
}

#et-secondary-nav .sub-menu li {
    padding: 0 1em;
}

#et-secondary-nav li li a,
#et-secondary-nav .sub-menu li a{
    text-transform: none;
}
#et-secondary-menu .et-social-icons {
    margin-right: 20px;
    float: right;
    margin-left: 30px;
}
#et-secondary-nav li ul {
    right: 0;
    padding: 1em 0;
    left: -20%;
    width: auto!important;
    min-width: 180px;
}
.et_secondary_nav_dropdown_animation_expand #et-secondary-nav li:hover > ul li a:hover,
#et-secondary-nav ul li a:hover {
    background-color: #1e51a4;
    color: white;
}
.et_secondary_nav_dropdown_animation_expand #et-secondary-nav li:hover > ul {
    background: white;
    border-left: 4px solid #1e51a4;
}
.et_secondary_nav_dropdown_animation_expand #et-secondary-nav li:hover > ul li a {
    text-align: left;
    color: #c9942b;
}

#main-footer .et_pb_text_inner a {
  color: #c9942b;
}
#main-footer .et_pb_text_inner a:hover,
#main-footer .menu-item a:hover{
  color: #f7d18f;
}

.dp_field_button {
    display: inline-block;
    margin-top: 20px;
}

/* missing from style-cpt.css for some reason */
.et_button_custom_icon .et_pb_button.btn-cal:after {
    line-height: 1.7!important;
}
/*
@media only screen and (min-width: 981px) {
  #et-top-navigation {
    float: left;
  }
}
*/

/* header */
.htf-social-icon .et-pb-icon {
    font-size: 14px!important;
}
@media (min-width: 981px) and (max-width: 1080px) {
    #top-menu li a {
        font-size: 20px !important;
    }
}
/* end header */
/* icons */
.icon-calendar:before {
    content: "\e023";
    font-family: 'ETmodules';
}
.icon-location:before {
    content: "\e01d";
    font-family: 'ETmodules';
}
.icon-star:before {
    content: "\e031";
    font-family: 'ETmodules';
}
.icon-arrow-right:before {
    content: "\45";
    font-family: 'ETmodules';
}

/* end icons */

/* Events */
.htf-events-list .post {
    margin-bottom: 40px;
    border-bottom: 1px dashed rgba(0,0,0,0.1);    
    padding-bottom: 40px;
}

.htf-events-list .event-image-wrapper {
    width: 300px;
    float: left;
    margin-right: 40px;
    text-align: center;
}
.htf-events-list .post-text {
    float: right;
    width: calc(100% - 340px);
}
.event-signature {
    display: inline-block;
    background: #f7d18f;
    border-radius: 10px;
    padding: 0px 20px;
    color: #084e8f;
    margin-bottom: 5px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: bold;
    font-family: 'Open Sans',Helvetica,Arial,Lucida,sans-serif;
    
}    

.htf-events-list .event-info {
    font-size: 14px;
}
.htf-events-list .event-info .icon {
    margin-right: 5px;
    color: #084e8f;
}
.htf-events-list .event-info + .entry {
    margin-top: 20px;
}

.read-more-button {
    display: block;
    font-size: 14px;
    font-family: 'Open Sans',Helvetica,Arial,Lucida,sans-serif;
    font-weight: bold;
}
.read-more-button  span {
    vertical-align: middle;
}
.read-more-button:hover {
}

.htf-events-list .read-more-button  {
    margin-top: 1em;
}

.event-sidebar .event-signature {
    margin-bottom: 40px;
}
.event-sidebar .event-info-item {
    margin: 20px 0;
    padding-bottom: 20px;
    border-bottom: 1px dashed rgba(0,0,0,0.1);   
    line-height: 1.2;
}
.event-sidebar .event-info-item:last-child {
    border-bottom: 0px;
}
@media (max-width: 767px) {
    .htf-events-list .event-image-wrapper {
        width: 100%;
        height: 200px;
        overflow: hidden;
        float: none;
        margin-bottom: 20px;
    }
    .htf-events-list .event-image-wrapper img {
        object-fit: cover;
        object-position: center;
        height: 100%;
        width: 100%;
    }
    .htf-events-list .post-text {
        float: none;
        width: 100%;
    }

}
/* End events */

/* Sidebar */

.sidenav-wrapper h3 {
    font-size: 20px;
    margin-bottom: 1em;
    line-height: 33px; /* to match page header h1 */
    font-weight: normal;
}

.sidenav {
    position: relative;
}

.sidenav:before {
    content: " ";
    position: absolute;
    left: -20px;
    background: #c9942b;
    height: 100%;
    width: 1px;
}

.sidenav li a {
    display: block;
}
.sidenav ul {
    display: none;
    margin-bottom: .5em;
    margin-bottom: 1em;
}
.sidenav li.current_page_item ul,
.sidenav li.current_page_ancestor ul,
.sidenav li.current_page_parent ul {
    display: block;
}
.sidenav .current_page_item a,
.sidenav .current_page_parent a {
    font-weight: bold;
}
@media (max-width: 980px) {
    .sidebar-left > .et_pb_row > .et_pb_column_0,
    .sidebar-left > .et_pb_row > .et_pb_column_1_3 {
        margin-bottom: 0;
    }
    .sidebar-left .et_pb_widget_area {
        display: none;
    }
}

/* End Sidebar */

/* Home */
body.home .htf-events-list .event-image-wrapper img {
    border-radius: 25px;
}
body.home .htf-events-list .event-info .icon {
    color: white;
}

body.home .htf-events-list .read-more-button {
    color: white;
    font-size: 16px;
}

body.home .htf-events-list .read-more-button:hover {
    color: #6cbde4;
}

@media all and (min-width: 768px) {
    body.home .htf-events-list .post {
        width: 30%;
        display: inline-block;
        padding-bottom: 0;
        margin-bottom: 20px;
        margin: 0;
        text-align: left;
        /* float: none; */
        vertical-align: top;
    }

    body.home .htf-events-list .post:nth-child(1) {
        margin-left: 0;
        margin-right: 3%;
    }
    body.home .htf-events-list .post:nth-child(3) {
        margin-left: 3%;
        margin-right: 0;
    }

    body.home .htf-events-list .event-image-wrapper {
        width: 100%;
        float: none;
        margin: 0;
        margin-bottom: 20px;
    }
    body.home .htf-events-list .post-text {
        float: none;
        width: 100%;
    }
    body.home .htf-events-list {
        text-align: center;
    }
}

.home-blog article .entry-featured-image-url img {
    border-radius: 25px;
}
@media all and (min-width: 600px) {
    .home-blog article:nth-child(odd) .entry-featured-image-url {
        width: calc(50% - 10px);
        float: right;
        margin: 0 0 20px 10px;
    }
    .home-blog article:nth-child(odd) > *:not(entry-featured-image-url) {
        margin-right: calc(50% + 10px);
    }
    .home-blog article:nth-child(even) .entry-featured-image-url {
        width: calc(50% - 10px);
        float: left;
        margin: 0 10px 20px 0px;
    }
    .home-blog article:nth-child(even) > *:not(entry-featured-image-url) {
        margin-left: calc(50% + 10px);
    }
}

@media (min-width: 981px) {
    body.home .et_pb_row.home-icons-row {
        max-width: 1400px!important;
    }
}
/* End Home page */

/* Blog styles */
/* single - we use full Divi Page builder */
.et_pb_pagebuilder_layout.single-post #page-container .et_pb_row {
    width: 80%;
}
/* end blog style */
/* Donation forms */
.give-tributes-dedicate-donation > *:not(legend) {
    padding: 0px 20px;
    background: #eee;    
}
.give-tributes-dedicate-donation .give_tributes_type_wrap {
    padding-top: 10px;
}
.give-tributes-dedicate-donation > div:first-of-type {
    padding: 0;
    background: transparent;
}
.htfd_designation_other {
    display: none;
}
#htfd_btn_copy_address {
    float:right;
    -webkit-appearance: none;
    font-size: 11px;
    padding: 5px;
    border-radius: 3px;
    background: #ededed;
}    
.give_tributes_mail_card_country, #give-card-country-wrap {
    display: none;
}
.give-form select {
    font-size: 16px;
}
.htfd_tickets select {
    width: auto!important;
    margin-right: 10px!important;
}
.htf_size_auto input,
.htf_size_auto select {
    width: auto!important;
    margin-right: 10px!important;
}
.htf_size_auto.htf_number input {
    width: 60px!important;
    box-sizing: border-box;
    width: 100%;
    border-radius: 0;
    outline: none;
    color: #333;
    background-color: #fdfdfd;
    border: 1px solid #ccc;
    margin: 0;
    padding: .5em;    
}

form.qty-sales .give-total-wrap {
    background-color: #f0f0f0;
    padding: 10px;
    margin-bottom: 15px;
}
form.qty-sales .give-custom-amount-text {
    display: none;
}
form.qty-sales .give-total-wrap .form-row {
    padding-left: 0;
    padding-right: 0;
}
form.qty-sales #ffm_section-wrap {
    margin-bottom: 0;
}
form.qty-sales #give-ffm-section .form-row  {
    margin-bottom: 0;
}
/* End Donation forms */

/* Holiday forms */
.holiday-cards-table .nowrap  {
    white-space: nowrap;
}
.holiday-cards-table tr td, .holiday-cards-table tr th {
    padding: 10px 12px;
    border-top: 1px solid #eee
}    
.fff-any-amount .htf-give-donation-amount {
	border: 1px solid #ccc;	
	background: white;
}
.fff-any-amount .htf-give-donation-amount .give-currency-symbol,
form[id*=give-form] .holiday-cards-table .give-donation-amount .give-currency-symbol,
form[id*=give-form] .htf_currency .give-donation-amount .give-currency-symbol{
    font-size: 16px;
    padding: 0 8px;
    height: 30px;
    line-height: 30px;
}
.fff-any-amount .htf-give-donation-amount input.htf-items-total,
form[id*=give-form] .holiday-cards-table .give-donation-amount input.give-amount-top.htf-items-total,
form[id*=give-form] .htf_currency .give-donation-amount input,
.home-4-holiday-items .htf_currency input {
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 0;
    height: 30px;
    line-height: 30px;
    padding: 0 8px;
    margin: 0;
    font-size: 16px;
    box-sizing: border-box;
    min-width: 50px;
    width: 50px;
    float: left;
    text-align: right;
}

.fff-any-amount .htf-give-donation-amount input.htf-items-total {
	border: 0;
	border-left: 1px solid #ccc;
	float: none;
}

input.htf-items-qty {
    box-sizing: border-box;
    width: 55px;
    border-radius: 0;
    outline: none;
    color: #333;
    background-color: #fdfdfd;
    border: 1px solid #ccc;
    margin: 0;
    padding: 0 8px;
    font-size: 15px;
    height: 30px;
    margin-left: 8px;
}
.htf_imprinting_cost {
    text-align: right;
    margin: 0 10px;
}
#htfd_imprinting_return_address-wrap {
    display: none;
}
.htfd_holiday_items {
    display: none;
}
form[id*=give-form] .form-row .htf_currency > label {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    font-weight: bold;
}
.htf_currency > div.give-donation-amount {
    display: inline-block;
    vertical-align: middle;
}
#htfd_imprinting-wrap label.give-label {
    font-weight: bold;
}
.htf-section {
    clear: both;
    background: #f6f6f6;
    margin: 15px 0px 15px 15px;
    padding: 15px;
}
#htf_imprinting_section {
    display: none;
}
.htfd_imprinting_info {
    padding: 15px;
}

#fff_form .give-total-wrap,
.give-form-5202 .give-total-wrap,
.give-form-2288 .give-total-wrap,
#give-form-5202-wrap .give-total-wrap,
#give-form-2288-wrap .give-total-wrap {
    background: lightyellow;
    display: block;
    padding: 20px;
    text-align: right;
    margin-bottom: 25px;
}    
#fff_form .give-total-wrap,
.give-form-5202 .give-total-wrap,
#give-form-5202-wrap .give-total-wrap{
    text-align: left;
}

#fff_form .give-donation-amount,
.give-form-5202 .give-donation-amount,
.give-form-2288 .give-donation-amount,
#give-form-5202-wrap .give-donation-amount,
#give-form-2288-wrap .give-donation-amount {
    margin: 0!important;
    display: inline-block;
    vertical-align: middle;       
    width: auto; 
}

#fff_form [id*=give-form] .give-custom-amount-text,
.give-form-5202 [id*=give-form] .give-custom-amount-text,
.give-form-2288 [id*=give-form] .give-custom-amount-text,
#give-form-5202-wrap [id*=give-form] .give-custom-amount-text,
#give-form-2288-wrap [id*=give-form] .give-custom-amount-text {
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 25px;
    padding: 10px 20px 20px;
    background: lightyellow;
    text-align: right;
    display: inline-block;
    margin: 0 20px 0 0;
    padding: 0;
    vertical-align: middle;    
}
#fff_form .give-invalid-minimum,
.give-form-5202 .give-invalid-minimum,
.give-form-2288 .give-invalid-minimum,
#give-form-5202-wrap .give-invalid-minimum,
#give-form-2288-wrap .give-invalid-minimum {
    display: none!important;
}

#fff_form #give-amount,
.give-form-5202 #give-amount,
.give-form-2288 #give-amount,
#give-form-5202-wrap #give-amount,
#give-form-2288-wrap #give-amount {
    text-align: right;
}

#_htf_contribution {
    width: 80px;
    text-align: right;
}
.give-amount-top[readonly] {
    background-color: #f2f2f2!important;
}

.htf-section-subtotals {
    padding: 25px!important;
    background: #ffffee;
    text-align: right;
}
.htf-section-subtotals > div {
    margin: 5px 0;
}

.fff-any-amount {
	font-size: 22px;
}

.fff-any-amount label {
    color: #444444;
    font-size: 26px;
    vertical-align: middle;
    margin-right: 10px;
    font-weight: bold;
}
.fff-any-amount #_htf_contribution {
    font-size: 18px;
	width: 100px;
}
@media (max-width: 800px) {
    .holiday-cards-table tr td, .holiday-cards-table tr th {
        padding: 10px 6px;
        font-size: 15px;
    }
}
@media (max-width: 600px) {
    .htfd_imprinting_info {
        padding: 5px;
    }
    .holiday-cards-table tr td, .holiday-cards-table tr th {
        font-size: 14px;
    }
    form[id*=give-form] .holiday-cards-table .give-donation-amount .give-currency-symbol {
        display: none;
    }
    #fff_form [id*=give-form] .give-custom-amount-text,
    .give-form-2288 [id*=give-form] .give-custom-amount-text,
    #give-form-2288-wrap [id*=give-form] .give-custom-amount-text {
        font-size: 18px;
    }
    form[id*=give-form] .form-row .htf_currency > label     {
        font-size: 14px;
        width: calc(100% - 90px);
    }
}
/* End Holiday form */
.home-4-holiday-items .htf-items-label {
    font-size: 18px;
}
.home-4-holiday-items .htf-items-qty {
    font-size: 18px;
    height: 34px;
    text-align: center;
    width: 50px;
}
.htfd_food_drive_items {
    display: none;
}
.htf-qty-block {
    text-align: center;
}

.htf-give-donation-amount {
    display: inline-block;
    vertical-align: middle;
}
.home-4-holiday-items .htf_currency .give-currency-symbol.give-currency-position-before {
    border-left: 1px solid #ccc;
    border-right: none;
}

.home-4-holiday-items .htf_currency .give-currency-symbol {
    background-color: #f2f2f2;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    color: #333;
    margin: 0;
    padding: 0 12px;
    height: 35px;
    line-height: 35px;
    font-size: 18px;
    box-sizing: border-box;
    float: left;
}
.home-4-holiday-items .htf_currency  .give-currency-symbol {
/*    font-size: 16px;
    padding: 0 8px;
    height: 30px;
    line-height: 30px;*/
}
.home-4-holiday-items .htf_currency  input {
    font-size: 18px;
    height: 34px;
}

/* Home 4 Holiday form */
/* End Home 4 Holiday form */

/* Take Action Styles */
.take-action-grid .sb_mod_acf_single_item img {
    display: block;
}
.take-action-grid .take-action-grid-title h2.entry-title {
    font-size: 20px!important;
}
.take-action-grid .take-action-grid-title {
    margin-bottom: .5em!important;
}
@media (max-width: 980px) {
    .take-action-grid .et_cpt_container_column {
        width: 31%;
        display: inline-block;
        margin-left: 1%;
        margin-right: 1%;
    }
}
@media (max-width: 767px) {
    .take-action-grid .et_cpt_container_column {
        width: 100%;
        max-width: 550px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 65px;
        border-bottom: 1px solid #1e51a4;
        padding-bottom: 65px;
    }
}

/* End Take Action Styles */

/* Gravity forms styling */
/*** BUTTON STYLING ***/
.give-submit.give-btn,
.give-btn.give-donation-level-btn,
.gform_wrapper .gform_footer input.button {
    background: transparent;
    padding: 12px 23px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px!important;
    background: #c9942b;
    border-width: 0px!important;
    border-color: #c9942b;
    color: white;
}
/*** BUTTON HOVER STYLING ***/
.give-submit.give-btn:hover,
.gform_wrapper .gform_footer input.button:hover {
    color: #c9942b!important;
    background: #f7daa8!important; 
}
.give-btn.give-donation-level-btn {
    background-color: #6cbde4;
    color: white;
    font-size: 16px!important;
    padding: 6px 8px;    
}
.give-btn.give-donation-level-btn:hover {
    background-color: #98c9e0!important;
    color: white!important;
}
/* End Gravity forms styling */
/* Utility */
.sg-vertical-align { 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
} 

.sg-horizontal-align { 
    display: flex; 
    flex-direction: row; 
    align-items: center;
} 

.sg-hv-align { 
    display: flex; 
    flex-direction: row; 
    justify-content: center;
    align-items: center;
}

.rounded-corners {
    border-radius: 10px;
}

.htf-clear-both {
    clear: both;
}

.gf_hidden {
    display: none;
}
/* For debugging
#give-payment-mode-select {
    display: none;
}
*/
/* fix iphone checkbox looking like circles due to Give's CSS */
body.ios [id*=give-form] .give-recurring-donors-choice input[type="checkbox"] {
    width: 17px;
}
/*** Responsive Styles Large Desktop And Above ***/
@media all and (min-width: 1405px) {
  
}
 
/*** Responsive Styles Standard Desktop Only ***/
@media all and (min-width: 1100px) and (max-width: 1405px) {
 
}
 
/*** Responsive Styles Tablet And Below ***/
@media all and (max-width: 980px) {
    /* If a button immediately follows a blurb then set it to the same width as blurb */
    div.et_pb_blurb + div.et_pb_button_module_wrapper {
        max-width: 550px;
        margin: 0 auto;
    }

    /*** wrap row in a flex box ***/
    .custom-order-row {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-wrap: wrap; /* Safari 6.1+ */
        flex-wrap: wrap;
    }
 
    /*** custom classes that will designate the order of columns in the flex box row ***/
    .first-on-mobile {
        -webkit-order: 1;
        order: 1;
    }
 
    .second-on-mobile {
        -webkit-order: 2;
        order: 2;
    }
 
    .third-on-mobile {
        -webkit-order: 3;
        order: 3;
    }
 
    .fourth-on-mobile {
        -webkit-order: 4;
        order: 4;
    }
    /*** add margin to last column ***/
    .custom-order-row .et_pb_column:last-child {
        margin-bottom: 30px;
    }
    #et-secondary-menu {
        display: block !important;
    }
    .et-social-icons li {
        display: none;
    }
    .et-social-icons li:last-child {
        display: block !important;
        margin: 6px 0 !important;
    }
}
 
/*** Responsive Styles Tablet Only ***/
@media all and (min-width: 768px) and (max-width: 980px) {
    .hide-on-tablet {
        display: none!important;
    }  
}
 
/*** Responsive Styles Smartphone Only ***/
@media all and (max-width: 767px) {
    .hide-on-phone {
        display: none!important;
    }  
    .row-full-width-on-mobile {
        width: 100%;
    }
}
 
/*** Responsive Styles Smartphone Portrait ***/
@media all and (max-width: 479px) {
 
}

/* makes it so anchors will get to the right place with fixed header */
@media screen and (min-width: 981px) {
    :target:before {
        content: "";
        display: block;
        height: 150px;
        /*margin: 0px 0 0;*/
    }
}

/* HTF Donation Goal */
.give-goal-progress {
    display: none;
}
.htf-goal .give-goal-progress {
    display: block;
    position: relative;
    height: 150px;
    font-size: 18px;
}

.htf-goal .raised {
    /* margin-left: 50px; */
    position: absolute;
    bottom: 0;
    left: 50px;
}

.htf-goal .give-goal-progress .give-progress-bar {
    position: absolute;
    top: calc(100% - 28px);
    width: 175px;
    height: 15px;
    transform: rotate(-90deg);
    left: 25px;
    transform-origin: 0 100%;
    overflow: visible;
}

.htf-goal .give-progress-bar:after {
    content: " ";
    background: #C4922D;
    width: 31px;
    height: 31px;
    position: absolute;
    top: -8px;
    left: -25px;
    border-radius: 50%;
}

.htf-goal .give-progress-bar>span {
    max-width: 100%;
    border-bottom-right-radius: 25px;
    border-top-right-radius: 25px;
}



/* End utility */
#htf_google_translate {
    position: absolute;
    bottom: 350px;
    left: 10%;
}
@media (min-width: 600px) {
    #htf_google_translate {
        bottom: 450px;
    }
}
@media (min-width: 768px) {
    #htf_google_translate {
        position: absolute;
        bottom: 380px;
        left: 55%;
    }
}
@media (min-width: 981px) {
    #htf_google_translate {
        position: fixed;
        top: 2px;
        right: 25px;
        left: auto;
        z-index: 100000;
        bottom: auto;
    }
    .prisna-gwt-flags-container {
        display: none;
    }

    .goog-logo-link {
        display: none;
    }

    div#htf_google_translate .goog-te-gadget {
        color: white;
    }
}
#top-header #google_translate_element {
    margin-left: 20px;
}
#top-header #google_translate_element a {
    color: #666;
    display: inline;
    font-size: 12px;
}

#top-header .goog-te-gadget-simple {
    border: 0!important;
}

#top-header .goog-te-gadget-icon {
    display: none!important;
}

.promotion-listing-archive .post-media {
	width: 20% !important;
}