/*
 Theme Name:   Balance
 Theme URI:    http://balance.elegantchildthemes.com
 Description:  An Elegant Child Theme Made With ❤ for Divi
 Author:       Elegant Child Themes
 Author URI:   http://elegantchildthemes.com
 Template:     Divi
 Version:      1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/


/*------------------------------------------------*/
/*----------------[General Styles]----------------*/
/*------------------------------------------------*/

h1, h2, h3, h4, h5, h6 {
	font-family: 'Muli', sans-serif;
}

h3 {
	font-size: 18px;
	font-weight: 900;
	text-transform: uppercase;
}

.quote-block p {
	font-family: 'Muli', sans-serif;
	line-height: 1.8;
}

.et_pb_testimonial_description h3 {
    color: #3366ff;
}

.entry-content ul {
    padding: 20px 40px;
}

.ingredients ul {
	padding: 0 16px!important;
}

.et_pb_image img {
    border-radius: 3px;
}


/*------------------------------------------------*/
/*-----------------[Button Styles]----------------*/
/*------------------------------------------------*/

.form-submit input, .et_pb_contact_submit, .comment-reply-link {
	color: #fff!important;
}

.et_pb_contact .et_pb_button:after, .comment-reply-link:after {
	content: none!important;
}

.et_pb_contact .et_pb_button:hover, .comment-reply-link:hover {
    padding: .3em 1em!important;
    border: 2px solid transparent;
}



/*------------------------------------------------*/
/*--------------[Section Header Styles]-----------*/
/*------------------------------------------------*/

.section-title h2 {
    font-size: 50px;
    font-weight: bold;
    padding-bottom: 0px;
}

.section-header {
    font-family: 'Muli', sans-serif;
    text-transform: uppercase;
    font-size: 48px;
    font-weight: 900;
    padding-bottom: 35px;
}

.page .section-header:after {
    content: " ";
    border-bottom-style: solid;
    border-bottom-width: 4px;
    display: block;
    width: 50%;
    margin: 0px auto;
    position: relative;
    top: 12px;
    opacity: 1;
}

.page .section-header:after {
    content: " ";
    border-bottom-style: solid;
    border-bottom-width: 4px;
    display: block;
    width: 50%;
    margin: 0px auto;
    position: relative;
    top: 12px;
    opacity: 1;
}

.section-header.hp-section:after {
	margin: 0;
	width: 30%;
}

.ip-header img {
    padding-bottom: 10px;
}

#top-menu li a {
    font-family: 'Muli', sans-serif;
    font-weight: 400;
}

.et_header_style_centered .et-search-form input, .et_header_style_centered span.et_close_search_field {
	top: 0;
}


/*------------------------------------------------*/
/*-------------[Homepage Overlay Section]---------*/
/*------------------------------------------------*/

@media only screen and (max-width: 980px) {
.two-col-overlay .et_pb_column_2_3 {
	padding: 2em;
}
.two-col-overlay .et_pb_column_1_3 {
    margin: 0!important;
}

.two-col-overlay .et_pb_column_1_3 .quote-block {
	padding: 5%!important;
}
}


/*------------------------------------------------*/
/*--------------[Homepage Blog Grid]--------------*/
/*------------------------------------------------*/

.two-blog-grid .et_pb_blog_grid h2 {
	font-size: 15px;
}

/*.two-blog-grid .column.size-1of3:nth-child(2) {
    margin-right: 0!important;
}*/

/*.two-blog-grid .column.size-1of3 {
    width: 47.25%!important;
}*/

.two-blog-grid .et_pb_blog_grid .et_pb_post {
	background-color: transparent;
	border: 0;
}

.two-blog-grid .excerpt-wrap h2.entry-title {
	margin-top: 0;
}

.two-blog-grid .excerpt-wrap {
	position: relative;
    top: -55px;
    margin-bottom: -55px;
    background-color: #fff;
    padding: 15px 8px;
    font-size: 14px;
    line-height: 15px;
}

.two-blog-grid article {
    margin-bottom: 0!important;
}


/*------------------------------------------------*/
/*------------------[Blog Grid]-------------------*/
/*------------------------------------------------*/

.blog-grid .et_pb_blog_grid h2 {
	margin-top: 10px;
	font-size: 17px;
}

.blog-grid .et_pb_blog_grid .et_pb_post {
	border: 0;
}

.blog-grid .excerpt-wrap {
    width: 114%;
    margin-left: -19px;
    font-size: 16px;
    line-height: 1.4;
}

.blog-grid .et_pb_post h2 a {
    text-transform: uppercase;
}

a.entry-featured-image-url:before {
    content: ' ';
    width: 100%;
    height: 100%;
    position: absolute;
    background: rgba(202, 67, 121, 0);
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    -moz-box-sizing:    border-box;
    -webkit-box-sizing: border-box;
    box-sizing:        border-box;
    border: 1px solid #fff;
}

a.entry-featured-image-url:hover:before {
    background: rgba(202, 67, 121, 0.6);
    border: 1px solid #e5e5e5;
}

.home a.entry-featured-image-url:before {
	content: none!important;
}


/*------------------------------------------------*/
/*------------------[Single Blog]-----------------*/
/*------------------------------------------------*/

#left-area {
	padding-bottom: 0px;
}

.archive #left-area {
	padding-bottom: 2em!important;
}

/*------------------------------------------------*/
/*------------------[Recipe Page]-----------------*/
/*------------------------------------------------*/

.recipe-time h4 {
	font-size: 16px;
	font-weight: 900;
	text-transform: uppercase;
	color: #3366ff;
	padding-bottom: 0;
}

.ingredients li {
	font-size: 14px;
}

.instructions li {
    padding-bottom: 10px;
}

.yuzo_related_post h3 {
    text-align: center;
    font-size: 40px;
    padding-bottom: 35px;
}

span.yuzo__text--title {
	padding-top: 5px;
    text-transform: uppercase;
    font-family: 'Muli', sans-serif!important;
    font-size: 17px!important;
}

span.yuzo_text {
	font-family: 'Muli', sans-serif!important;
	font-size: 16px!important;
}

.yuzo-img-wrap, .yuzo-img {
    width: 100%!important;
    opacity: 1;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.relatedthumb .yuzo-img-wrap .yuzo-img:hover {
    opacity: .5;
}

.relatedthumb {
    width: 33.33%!important;
    padding: 0 2% 0 0!important;
}

.relatedthumb:last-of-type {
    padding: 0!important;
}

@media only screen and (max-width: 768px) {
.relatedthumb {
	width: 100%!important;
	padding-right: 0!important;
	margin-bottom: 25px!important;
}
}

.et_pb_portfolio_filters.clearfix {
    text-align: center;
}

.et_pb_filterable_portfolio .et_pb_portfolio_filters li {
	float:none;
	display: inline-block;
}

.et_pb_filterable_portfolio .et_pb_portfolio_filters li:first-child a, .et_pb_filterable_portfolio .et_pb_portfolio_filters li:last-child a {
	border-radius: 0;
}

.et_pb_filterable_portfolio .et_pb_portfolio_filters li a {
	font-family: 'Muli', sans-serif;
    background: #2b3849;
    color: #fff!important;
    font-weight:  bold;
    padding: 10px 25px !important;
    margin: 0 10px;
    min-width: 110px;
    text-transform: uppercase;
    border: 0!important;
    border-radius: 3px!important;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
}

.et_pb_filterable_portfolio .et_pb_portfolio_filters li a:hover, .et_pb_filterable_portfolio .et_pb_portfolio_filters li a.active {
	background: #3366ff!important;
}

/* Change columns from 4-3 */
.et_pb_column_4_4 .et_pb_filterable_portfolio_grid .et_pb_grid_item {
    clear: none !important;
    margin: 0 60px 42px 0 !important;
    width: 28.2% !important;
}

@media only screen and (max-width: 980px) {
li.et_pb_portfolio_filter {
    padding-bottom: 10px;
}

.et_pb_column_4_4 .et_pb_filterable_portfolio_grid .et_pb_grid_item h2 {
	font-size: inherit!important;
}

.et_pb_column_4_4 .et_pb_filterable_portfolio_grid .et_pb_grid_item {
	clear: none !important;
	margin: 0 40px 42px 0 !important;
	width: 27% !important;
}
}

@media only screen and (max-width: 767px) {
.et_pb_column_4_4 .et_pb_filterable_portfolio_grid .et_pb_grid_item {
	margin: 0 40px 42px 0 !important;
	width: 100% !important;
}
}

@media only screen and (max-width: 479px){
.portfolio-section img {
	max-width: 100%;
}
}

.et_pb_gutters3 .et_pb_column_4_4 .et_pb_filterable_portfolio .et_pb_portfolio_item.et_pb_grid_item.last_in_row {
    margin-right: 0!important;
}


/*------------------------------------------------*/
/*---------------[Custom Subscribe]---------------*/
/*------------------------------------------------*/

.subscribe-optin .et_pb_row {
	width: 100%!important;
	max-width: 100%!important;
}

.subscribe-optin .et_pb_newsletter {
    padding:20px 10px;
    vertical-align:middle
}

.subscribe-optin .et_pb_newsletter_description {
    float:none;
    display:block;
    width:inherit;
    vertical-align:middle;
    text-align: center;
    padding: 0;
    margin-bottom: 0;
}

.subscribe-optin .et_pb_newsletter_description h2 {
    padding-bottom:10px;
    font-weight: bold;
    margin-top: 0;
}

.subscribe-optin .et_pb_newsletter_description p:last-of-type {
    padding-bottom:15px;
}

.subscribe-optin .et_pb_newsletter_form {
    float:none;
    width:inherit;
    display:inline-block;
    padding-left:25px;
    text-align:left;
    vertical-align:middle
}

.subscribe-optin .et_pb_newsletter_form p {
    display:inline-block;
    margin-right:15px;
    vertical-align:top;
    padding-bottom:0
}

.subscribe-optin .et_pb_newsletter_form p input {
    padding:11px 5%!important;
    width:315px
}

.subscribe-optin .et_pb_newsletter_form p:nth-child(3) {
    display:none
}

@media only screen and (max-width: 1186px) {
.subscribe-optin .et_pb_newsletter_description{
    padding-top: 0!important;
}
}

@media only screen and (max-width: 902px) {
.subscribe-optin .et_pb_newsletter_form p input {
    padding: 10px 5%!important;
    width: 200px;
}
}

@media only screen and (max-width: 671px) {
.subscribe-optin .et_pb_newsletter_form {
	width: 70%;
	padding-left: 0px;
}

.subscribe-optin .et_pb_newsletter_form p {
    display: block;
    margin-right: 0;
}

.subscribe-optin .et_pb_newsletter_form p input {
	width: 100%;
	margin-bottom: 8px;
}
}


/*------------------------------------------------*/
/*---------------[Desktop Menu Styles]------------*/
/*------------------------------------------------*/

@media (min-width: 980px) {
#main-header, #balance-header {
	position: absolute !important;
    top: 25em!important;
    background-color: #fff;
}

#main-header.sticky {
    position: fixed !important;
    width: 100%;
    left: 0;
    top: 0 !important;
    border-top: 0;
	overflow-y: visible;
    background: rgba(30,31,121);
}

#main-header .container {
	width: 95%;
	max-width: 95%;
}

#page-container {
    padding-top: 0!important;
	position: fixed;
	overflow-y: auto;
	max-height: 100%;
	width: 100%;
}

.et_header_style_centered.et_hide_primary_logo #main-header:not(.et-fixed-header) .logo_container, .et_header_style_centered.et_hide_fixed_logo #main-header.et-fixed-header .logo_container, .et_header_style_centered #top-menu > li > a {
    padding-bottom: 30px!important;
}
}

/* Search Results */
.search #main-header, .search #balance-header, .search #main-header.sticky, .archive #main-header, .archive #balance-header, .archive #main-header.sticky, .error404 #main-header, .error404 #balance-header, .error404 #main-header.sticky {
    top: 0!important;
    position: absolute!important;
}

.search #page-container, .archive #page-container, .error404 #page-container {
    padding-top: 80px!important;
}


/*------------------------------------------------*/
/*------------------[Mobile Menu]-----------------*/
/*------------------------------------------------*/

@media only screen and (max-width: 980px) {
.logo_container {
    display: none;
}

#main-header .container {
	width: 100%;
}

.et_mobile_menu {
	border: 0;
	padding: 3%;
}

.et_mobile_menu li a {
    display: inline-block;
    float: left;
    width: 48%;
    background: #2b3849;
    margin: 1%;
    color: #fff!important;
    border-radius: 3px;
    text-transform: uppercase;
    font-size: 14px;
    text-align: center;
}

.et_mobile_menu li a:hover {
    background: #3366ff;
    opacity: 1;
}

.et_header_style_centered #main-header .mobile_nav {
	margin: 0 10px;
	background-color: transparent;
}

.select_page {
    display: none!important;
}

.mobile_menu_bar:before {
    left: -6px;
    font-size: 40px;
    background: rgba(201, 66, 119, .8);
    border-radius: 3px
}

.et_header_style_centered .mobile_nav .select_page {
	text-transform: uppercase;
	font-size: 16px;
}

.et_header_style_centered #et_mobile_nav_menu {
	margin-top: 0
}

.mobile_nav.closed .mobile_menu_bar_toggle:before {
	content: "\4c"
}

.mobile_nav.opened .mobile_menu_bar_toggle:before {
	content: "\4d"
}

.current-menu-item a {
	background: #3366ff!important;
}

.et_fixed_nav #main-header {
	position: fixed;
}

#page-container {
	padding-top: 0px!important;
}

#main-header {
	padding: 10px 0!important;
	background: transparent;
	box-shadow: none;
}

.hp-hero .et_pb_fullwidth_header {
	padding: 10em 0;
}

.split-column-overlay .et_pb_column_1_2:first-of-type p {
	display: none;
}
}


/*------------------------------------------------*/
/*-----------------[Page Headers]-----------------*/
/*------------------------------------------------*/

@media only screen and (max-width: 980px) {
.ip-header .et_pb_column_1_3 {
    width: 90%!important;
    padding: 2em 2em 1em!important;
    margin: -2em 5% 0 5%!important;
	min-height: inherit!important;
}
.ip-header .et_pb_column_1_3 .et_pb_title_container h1, .pt-header .et_pb_column_1_3 .et_pb_title_container h1 {
	font-size: 26px;
}

.ip-header .et_pb_column_2_3 {
	min-height: inherit!important;
}

.ip-header .et_pb_column_2_3 .et_pb_text {
	padding: 3em 3em 4em 3em!important;
	min-height: inherit!important;
}

.pt-header .et_pb_column_1_3 {
    width: 90%!important;
    padding: 2em!important;
    margin: -2em 5% 0 5%!important;
	min-height: inherit!important;
}

.pt-header .et_pb_column_2_3 {
	min-height: inherit!important;
}

.pt-header .et_pb_column_2_3 .et_pb_text {
	padding: 3em 3em 4em 3em!important;
	min-height: inherit!important;
}

.pt-header .section-header {
	padding-bottom: 0;
}

.recipe-time {
	margin-top: 10px;
	margin-bottom: -30px!important;
}

.single-project .et_pb_space.et-hide-mobile {
	display: inherit!important
}

.yuzo_related_post h3 {
	font-size: 25px!important;
}
}

/*------------------------------------------------*/
/*----------------[Footer Styles]-----------------*/
/*------------------------------------------------*/

#footer-bottom {
	padding: 40px 0;
}

#footer-bottom ul.et-social-icons, #footer-info {
    display: block;
    float: none;
    text-align: center;
}

#footer-bottom .et-social-icon a.icon:before {
    display: none;
}

#footer-bottom .et-social-icon a.icon {
	font-family: 'Muli', sans-serif;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;
}

#footer-bottom .et-social-icons {
	padding-bottom: 18px;
}

#footer-bottom .et-social-icons a:hover, #footer-info a:hover {
	color: #1B998B;
	opacity: 1;
}

#footer-bottom #footer-info {
	font-size: 15px;
}


/*------------------------------------------------*/
/*------------[Print Styles for Recipes]----------*/
/*------------------------------------------------*/

@media print {
#page-container { background:white; color:black; margin:0 }
#main-header, .subscribe-optin, #comment-wrap, .footer-cta, #footer-bottom, .et_pb_text.et_pb_module.et_pb_bg_layout_light.et_pb_text_align_left.et_pb_text_5, .pt-header, .nav-single {display: none;}
}
