/*
Theme Name: Divi Child Theme
Description: A child theme to house custom coding which modifies the Divi parent theme by Elegant Themes. Includes default line numbers where the code was taken from in the parent theme.
Author:   Brad Dalton http://wpsites.net
Template: Divi
*/

@import url("../Divi/style.css");

.wp-caption{padding:8px}
/*
.wp-caption{width:100% !important; max-width:1088px; padding:8px}
.wp-caption img{width:100% !important}

.wp-caption.big{width:auto !important; max-width:450px; padding:8px}
.wp-caption.big img{width:100% !important}
*/


body .attach #left-area {
    width: 100% !important;
}

.et_right_sidebar .attach .container:before{display:none !important}
.et_pb_gutters4.et_right_sidebar .attach #left-area {
    padding-right: 0;
}

.attach .entry-content img{width:100%}

/**************************
***************************
***************************/

@media all and (max-width: 1310px) {
	/* Hide Logo On Mobile */
	.et_hide_mobile_logo #main-header .logo_container {
		display: none;
		opacity: 0;
		-webkit-transition: all 0.4s ease-in-out;
		-moz-transition: all 0.4s ease-in-out;
		transition: all 0.4s ease-in-out;
	}



/* Header Styles */
	#main-header,
	#top-header {
		-webkit-transition: none;
		-moz-transition: none;
		transition: none;
	}

	#top-menu {
		display: none;
	}

	.et_hide_nav.et_non_fixed_nav.et_transparent_nav #top-header,
	.et_hide_nav.et_non_fixed_nav.et_transparent_nav #main-header,
	.et_hide_nav.et_fixed_nav #top-header,
	.et_hide_nav.et_fixed_nav #main-header {
		opacity: 1;
		-webkit-transform: translateY(0px) !important;
		transform: translateY(0px) !important;
	}

	.et_header_style_centered #main-header {
		padding: 20px 0;
	}

	.et_header_style_centered nav#top-menu-nav {
		display: none;
	}

	.et_header_style_split #main-header {
		padding: 20px 0;
	}

	.et_header_style_split #et-top-navigation,
	.et_header_style_split .et-fixed-header #et-top-navigation {
		display: block;
		padding-top: 0;
	}

	#et-top-navigation {
		margin-right: 0;
		-webkit-transition: none;
		-moz-transition: none;
		transition: none;
	}

	.et_non_fixed_nav.et_transparent_nav #main-header,
	.et_non_fixed_nav.et_transparent_nav #top-header,
	.et_fixed_nav #main-header,
	.et_fixed_nav #top-header {
		position: absolute;
	}

	.et_header_style_left .et-fixed-header #et-top-navigation,
	.et_header_style_left #et-top-navigation {
		display: block;
		padding-top: 24px;
	}

	.et_non_fixed_nav.et_transparent_nav #main-header,
	.et_fixed_nav #main-header {
		-webkit-transition: none;
		-moz-transition: none;
		transition: none;
	}

	.et_vertical_nav.et_right_sidebar #left-area,
	.et_vertical_nav.et_left_sidebar #left-area {
		width: auto;
	}

	#et-secondary-nav,
	#et-secondary-menu {
		display: none !important;
	}

	.et_non_fixed_nav.et_transparent_nav_temp #main-header,
	.et_secondary_nav_only_menu #main-header,
	.et_fixed_nav_temp #main-header,
	.et_secondary_nav_only_menu #main-header {
		top: 0 !important;
	}

	.et_secondary_nav_only_menu #top-header {
		display: none;
	}

/* Logo */
	#logo,
	.logo_container,
	#main-header,
	.container {
		-webkit-transition: none;
		-moz-transition: none;
		transition: none;
	}

	.et_header_style_centered #logo {
		max-height: 60px;
	}

	.et_header_style_centered header#main-header .logo_container {
		height: auto;
		max-height: 100px;
		padding: 0;
	}

	.et_header_style_split header#main-header .logo_container {
		height: auto;
		max-height: 100px;
		padding: 0;
	}

	.et_header_style_split #logo {
		max-height: 60px;
	}

	.et_vertical_nav span.logo_helper {
		display: inline-block;
	}

	.et_vertical_nav.et_header_style_left .logo_container {
		position: absolute;
		height: 100%;
	}

	.et_header_style_left #logo,
	.et_header_style_split #logo {
		max-width: 50%;
	}

/* Search Form */
	#et_top_search {
		float: left;
		margin: 0 35px 0 0;
	}

	#et_search_icon:before {
		top: 7px;
	}

	.et_header_style_centered #et_top_search,
	.et_vertical_nav.et_header_style_centered #main-header #et_top_search {
		display: none !important;
	}

	.et_header_style_centered .et_search_outer,
	.et_header_style_split .et_search_outer {
		display: none;
	}

	.et_header_style_split #et_top_search,
	.et_vertical_nav.et_header_style_split #main-header #et_top_search {
		display: none !important;
	}

	.et_header_style_left .et-search-form,
	.et_header_style_split .et-search-form {
		width: 50% !important;
		max-width: 50% !important;
	}

	.et_header_style_slide .et_slide_in_menu_container .et-search-form {
		width: 100% !important;
		max-width: 100% !important;
	}

/* Social Icons */
	.et-social-icons,
	#footer-info {
		float: none;
		text-align: center;
	}

	.et-social-icons {
		margin: 0 0 5px;
	}

	#top-header .et-social-icons {
		margin-bottom: 0;
	}

/* Cart */
	.et_header_style_centered #et-top-navigation .et-cart-info {
		display: none;
	}

	#et-top-navigation .et-cart-info {
		margin-top: 5px;
	}

	.et_vertical_nav #et-top-navigation .et-cart-info {
		margin-left: -38px;
	}

/* Mobile Menu */
	#et_mobile_nav_menu {
		display: block;
	}

/* Centered */
	.et_header_style_centered .mobile_menu_bar,
	.et_header_style_split .mobile_menu_bar {
		opacity: 1;
	}

	.et_header_style_centered #et_mobile_nav_menu {
		float: none;
		position: relative;
		margin-top: 20px;
	}

	.et_header_style_centered #main-header .mobile_nav {
		display: block;
		padding: 5px 10px;
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
		background-color: rgba(0, 0, 0, 0.05);
		text-align: left;
	}

	.et_header_style_centered .mobile_nav .select_page,
	.et_header_style_split .mobile_nav .select_page {
		display: inline-block;
		color: #666;
		font-size: 14px;
	}

	.et_header_style_centered .mobile_menu_bar {
		position: absolute;
		top: 2px;
		right: 5px;
	}

	.et_header_style_centered .et_mobile_menu {
		top: 53px;
	}

/* Centered Inline Logo */
	.et_header_style_split #et_mobile_nav_menu {
		display: block;
		float: none;
		position: relative;
		margin-top: 20px;
	}

	.et_header_style_split nav#top-menu-nav {
		display: none;
	}

	.et_header_style_split #main-header .mobile_nav {
		display: block;
		padding: 9px 10px;
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
		background-color: rgba(0, 0, 0, 0.05);
		text-align: left;
	}

	.et_header_style_split .mobile_menu_bar {
		position: absolute;
		top: 2px;
		right: 5px;
	}

	.et_header_style_split .et_mobile_menu {
		top: 53px;
	}

}

