/*
 Theme Name:   All Organic | Organic Food Child Theme for Divi Theme
 Theme URI:    https://needyesterday.com
 Description:  A Child Theme perfect for build a Bio Food website.  
 Author:       Fabio Sarcona
 Author URI:   https://needyesterday.com
 Template:     Divi
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

/*--------------- SCROLL TO TOP BUTTON
----------------------------------------------------------------------------------*/

.et_pb_scroll_top.et-visible,
.et_pb_scroll_top.et-hidden {
    margin: 0px 15px;
    bottom: 3%;
    border-radius: 50%;
    background-color: #86bc42;
    color: #fff;
}
/*--------------- ICON ARROW DOWN ANIMATED
----------------------------------------------------------------------------------*/
/*** Icon ***/

.icon_custom.et-pb-icon {
    position: relative;
    z-index: 9999;
    font-family: "ETmodules";
    font-size: 50px;
    content: attr(data-icon);
}
/*** Animation ***/

.icon-animate-infinity {
    animation: animation-top ease-out 1.5s;
    animation-iteration-count: infinite;
    transform-origin: 50% 50%;
    -webkit-animation: animation-top ease-out 1.5s;
    -webkit-animation-iteration-count: infinite;
    -webkit-transform-origin: 50% 50%;
    -moz-animation: animation-top ease-out 1.5s;
    -moz-animation-iteration-count: infinite;
    -moz-transform-origin: 50% 50%;
    -o-animation: animation-top ease-out 1.5s;
    -o-animation-iteration-count: infinite;
    -o-transform-origin: 50% 50%;
    -ms-animation: animation-top ease-out 1.5s;
    -ms-animation-iteration-count: infinite;
    -ms-transform-origin: 50% 50%;
}
@keyframes animation-top {
    0% {
        opacity: 1;
        transform: translate(0px, 0px);
    }
    100% {
        opacity: 0.05;
        transform: translate(0px, 40px);
    }
}
@-moz-keyframes animation-top {
    0% {
        opacity: 1;
        -moz-transform: translate(0px, 0px);
    }
    100% {
        opacity: 0.05;
        -moz-transform: translate(0px, 40px);
    }
}
@-webkit-keyframes animation-top {
    0% {
        opacity: 1;
        -webkit-transform: translate(0px, 0px);
    }
    100% {
        opacity: 0.05;
        -webkit-transform: translate(0px, 40px);
    }
}
@-o-keyframes animation-top {
    0% {
        opacity: 1;
        -o-transform: translate(0px, 0px);
    }
    100% {
        opacity: 0.05;
        -o-transform: translate(0px, 40px);
    }
}
@-ms-keyframes animation-top {
    0% {
        opacity: 1;
        -ms-transform: translate(0px, 0px);
    }
    100% {
        opacity: 0.05;
        -ms-transform: translate(0px, 40px);
    }
}
/*--------------- HEADER CUSTOM PARALLAX
----------------------------------------------------------------------------------*/

@media only screen and (min-width: 1101px) {
    .hero_parallax {
        background-attachment: fixed;
    }
}
/*--------------- LINE BELOW HEADER MENU
----------------------------------------------------------------------------------*/

@media only screen and (min-width: 981px) {
    .et_header_style_left #et-top-navigation,
    .et_header_style_split #et-top-navigation {
        border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    }
}
/*--------------- LINK CUSTOM HOVER (BANNER)
----------------------------------------------------------------------------------*/

.link_hover h3 {
    transition: all .3s;
}
.link_hover h3:hover {
    color: #86bc42 !important;
}
/*--------------- BUTTONS CUSTOM
----------------------------------------------------------------------------------*/

.button_custom {
    line-height: 2.4em !important;
    min-width: 220px;
}
/*--------------- CTA HEADER
----------------------------------------------------------------------------------*/

.cta_header a {
    text-align: center;
    padding: 14px 50px !important;
    border: 2px solid #86bc42;
    background-color: #86bc42;
    opacity: 1 !important;
    border-radius: 3px;
    transition: all .3s;
}
.cta_header a:hover {
    opacity: .8;
}
/*--------------- MENU MOBILE COLOR LINKS AND BACKGROUND
----------------------------------------------------------------------------------*/

#main-header .et_mobile_menu {
    background-color: rgba(255, 255, 255, 1) !important;
}
.et_mobile_menu li a {
    color: #181818 !important;
}
/*--------------- BACKGROUND COLOR HEADER DARK ONLY FOR BLOGPAGE
----------------------------------------------------------------------------------*/
.single-post #main-header, .single-post #main-header .et_mobile_menu {
    background: #363636;
}
/*--------------- FOOTER CUSTOM
----------------------------------------------------------------------------------*/

.footer_custom.et_pb_section {
    padding: 0;
}
/*** Row Widget Custom ***/

.footer-widget .fwidget {
    min-width: 100%;
}
#footer-widgets {
    padding: 3% 0 0;
}
#footer-widgets .footer-widget li:before {
    content: none;
}
#footer-widgets .footer-widget li {
    padding-left: 0px;
}
#main-footer .container {
    width: 100%;
    max-width: 100%;
}
#main-footer {
    background-color: transparent;
}
.et_pb_gutters3.et_pb_footer_columns1 .footer-widget .fwidget,
.et_pb_gutters3 .footer-widget {
    margin-bottom: 0px;
}
@media only screen and (max-width: 767px) {
    #footer-widgets .footer-widget .fwidget {
        margin-bottom: 0% !important;
    }
}
@media only screen and (max-width: 980px) {
    .footer-widget:nth-child(n) {
        width: 100% !important;
        margin: 0 !important;
    }
}
@media only screen and (max-width: 479px) {
    #footer-widgets .footer-widget:nth-child(n),
    .footer-widget .fwidget {
        margin-bottom: 0 !important;
    }
}
/*--------------- SOCIAL CUSTOM FOOTER
----------------------------------------------------------------------------------*/

.et_pb_social_media_follow li {
    float: none;
    display: inline-block;
    margin-bottom: 0;
}
ul.et_pb_social_media_follow {
    text-align: center;
}
.et_pb_social_media_follow li a.icon {
    width: 45px;
    height: 45px;
    padding: 0;
}
.et_pb_social_media_follow li a.icon::before {
    width: 45px;
    height: 45px;
    color: #FFF;
    font-size: 20px;
    line-height: 45px;
}
@media only screen and (max-width: 980px) {
    .footer_custom_3 .et_pb_text {
        text-align: center !important;
    }
}
/*--------------- FOOTER BAR
----------------------------------------------------------------------------------*/

#footer-bottom,
.post-content p {
    display: none;
}
/*--------------- BLOG GRID CUSTOM
----------------------------------------------------------------------------------*/
/*** Button ***/

a.more-link {
    position: relative;
    display: block;
    max-width: 140px;
    padding: 12px 0px;
    color: #ffffff;
    background: #86bc42;
    border-width: 1px;
    border-color: #86bc42;
    border-radius: 5px;
    font-size: 15px;
    font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    margin: 15px auto -45px;
    transition: all .3s;
}
a.more-link:hover {
    opacity: .85;
}
/*** Column post ***/

@media (max-width: 479px) {
    .et_pb_column .et_pb_blog_grid .column.size-1of1 .et_pb_post {
        margin-bottom: 25.5%!important;
    }
}
.grid_custom.et_pb_blog_grid .et_pb_post {
    border-radius: 10px;
}
/*** Image post custom ***/

.grid_custom .et_pb_image_container img,
.grid_custom .et_pb_post a img {
    border-radius: 10px 10px 0 0;
}
/*==========================
============================ MENU MOBILE
=================================================================================*/

@media screen and (max-width: 980px) {
    .container {
        width: 100% !important;
    }
    .et_header_style_left .logo_container {
        padding-left: 25px;
    }
    .et_header_style_centered #main-header .mobile_nav {
        background-color: transparent;
    }
    .mobile_nav.closed .select_page {
        display: none;
    }
    .et-fixed-header#main-header {
        background-color: transparent !important;
    }
}
.et_mobile_menu {
    top: 0 !important;
    border-top: 3px solid #86bc42 !important;
    ;
    background-color: rgba(10, 10, 10, 1) !important;
    padding: 25% 0;
}
.et_mobile_menu li a {
    text-align: center;
    font-size: .95em;
    border: 0;
    padding: 15px 0;
    text-transform: uppercase;
    letter-spacing: 6px;
}
.mobile_nav ul#mobile_menu .current_page_item > a {
    color: #fff;
}
.mobile_nav ul#mobile_menu li ul li a {
    font-size: .85em !important;
    margin: auto;
    color: #ebae39 !important;
    padding-top: 0.2em;
}
.et_mobile_menu li a:hover {
    color: #999;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
.mobile_menu_bar:before {
    padding-right: 25px;
    color: #86bc42 !important;
}
.mobile_nav.opened .mobile_menu_bar:before {
    content: "\4d";
    z-index: 99999;
    color: #86bc42 !important;
}
/* NESTING MOBILE MENU */
/* when mobile menu is open, change hamburger icon to x icon */

#et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before {
    content: '\4d';
}
/* makes sub sub menu icon be right arrow instead of down arrow */

#top-menu .menu-item-has-children .menu-item-has-children > a:first-child::after,
#et-secondary-nav .menu-item-has-children .menu-item-has-children > a:first-child::after {
    content: '5';
}
/* - mobile menu toggling elements, injected via jQuery - */
/* make menu list item be relative, to be able to position toggle within this item */

#main-header #mobile_menu.et_mobile_menu .menu-item-has-children {
    position: relative;
}
/* the new toggle element, which is added via jQuery */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.03);
    z-index: 1;
    width: 36px;
    height: 36px;
    line-height: 36px;
    border-radius: 50%;
    top: 6px;
    right: 10px;
    cursor: pointer;
    text-align: center;
}
/* the new toggle element when popped */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped {
    background-color: rgba(0, 0, 0, 0.1);
}
/* toggle icon */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle::before {
    font-family: "ETmodules" !important;
    font-weight: normal;
    font-style: normal;
    font-variant: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 36px;
    font-size: 24px;
    text-transform: none;
    speak: none;
    content: '\33';
}
/* toggle icon when triggered */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped::before {
    content: '\32';
}
/* hide sub menus by default */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle ~ ul.sub-menu {
    display: none !important;
    padding-left: 0;
}
/* show sub menu when triggered via jQuery toggle, and add slight bg color */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped ~ ul.sub-menu {
    display: block !important;
    background-color: rgba(0, 0, 0, 0.03);
}
/* remove sub menu list item left padding, since padding will be on anchors */

#main-header #mobile_menu.et_mobile_menu li li {
    padding-left: 0;
}
/* adjust mobile menu anchors side paddings */

#main-header #mobile_menu.et_mobile_menu li a {
    padding-left: 20px;
    padding-right: 20px;
}
/* indent sub menu */

#main-header #mobile_menu.et_mobile_menu li li a {
    padding-left: 40px;
    padding-right: 20px;
}
/* indent sub sub menus further */

#main-header #mobile_menu.et_mobile_menu li li li a {
    padding-left: 60px;
    padding-right: 20px;
}
/* if mobile menu anchor has toggle, make room for it to fit next to the link */

#main-header #mobile_menu.et_mobile_menu .menu-item-has-children .sub-menu-toggle + a {
    padding-right: 44px;
}
/* - end mobile menu toggling elements - */
/* undo Divi's default styling of mobile menu links that have children */

#main-header #mobile_menu.et_mobile_menu .menu-item-has-children > a {
    background-color: transparent;
    font-weight: inherit;
}
/* make the current page's mobile menu link be different */

#main-header #mobile_menu.et_mobile_menu li.current-menu-item > a {
    font-weight: bolder;
}
/*--------------- PUT YOUR CSS CODE BELOW THIS LINE -----------------------*/


.page-id-134 #mainnav ul .current_page_item a {
    color: #ffffff !important;
}