/* MyStyle Global Frontend Styles */

ul.mystyle-button-group {
	list-style: none;
	text-align: center;
	margin: 0;
}

ul.mystyle-button-group li {
	display: inline-block;
}

/** hide unnecessary links in footer for better design thru conversion **/
body.mystyle-customize .footer-widget,
body.mystyle-customize li.et-social-icon.et-social-rss {
	display: none;
}

.mystyle-centered {
	margin-left: auto;
	margin-right: auto;
}

.mystyle-renderer-wrapper {
	margin: 1em 0;
}

/* MyStyle Customize Page */

body.mystyle-customize #customizer-wrapper {
	padding: 0;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

body.mystyle-customize .customizer-under-app-wrapper {
	position: relative;
	display: block;
	width: auto;
	margin: auto;
	max-width: 950px;
	font-size: 12px;
	padding: 15px;
	min-height: 0;
	margin-bottom: 15px;
}

body.mystyle-customize .customizer-under-app-wrapper a.button {
	display: table;
	margin: 0 auto;
}

body.mystyle-customize .customizer-under-app-wrapper a.button span {
	margin-right: 0.25em;
}

body.mystyle-customize .entry-content,
body.mystyle-customize article {
	max-width: none;
}

body.mystyle-customize .entry-header {
	margin-left: auto;
	margin-right: auto;
}

body.mystyle-customize #primary {
	width: 100%;
}

body.mystyle-customize #secondary,
body.mystyle-customize .site::before {
	display: none;
}

div.mystyle-fullscreen#customizer-wrapper {
	width: 100% !important;
	height: 100% !important;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000;
}

iframe.mystyle-fullscreen#customizer-iframe {
	width: 100% !important;
	height: 100% !important;
}

#customizer-close-button,
#customizer-fullscreen-button,
#customizer-fullscreen-button label {
	cursor: pointer;
	font-size: 16px;
}

body.mystyle-customize #customizer-close-button {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 10001;
}

body.mystyle-customize #customizer-close-button .dashicons,
body.mystyle-customize #customizer-close-button .dashicons-before::before {
	width: 30px;
	height: 30px;
	font-size: 30px;
}

.above-customizer-wrapper {
	text-align: center;
	margin-bottom: 15px;
}

.mystyle-fullscreen-hidden {
	display: none;
}

iframe#customizer-iframe {
	width: 100%;
	min-height: 550px;
}

@media all and (orientation: portrait) {

	body.mystyle-customize #customizer-iframe,
	body.mystyle-customizer #customizer-wrapper {
		height: 1000px;
	}
}

@media all and (orientation: landscape) {

	body.mystyle-customize #customizer-iframe,
	body.mystyle-customizer #customizer-wrapper {
		height: 550px;
	}
}

/* Fixes the margins for the Customize page for Divi on mobile. */

body.mystyle-customize #et-main-area > #main-content > .container {
	width: auto;
	max-width: 100%;
}

@media (max-width: 600px) {

	body.mystyle-customize #et-main-area > #main-content > .container {
		width: calc(100vw - 10px);
	}
}

.mystyle-customize #et-main-area h1.entry-title.main_title {
	text-align: center;
}

/* MyStyle Design Profile Page */
body.mystyle-design-profile img#mystyle-design-profile-img {
	display: block;
	max-width: 100%;
	width: auto;
	margin: auto;
	margin-bottom: 1em;
}

body.mystyle-design-profile ul.mystyle-design-nav li {
	margin: 5em;
}

/* MyStyle Design Profile Index */
body.mystyle-design-profile ul.mystyle-designs {
	list-style: none;
}

body.mystyle-design-profile ul.mystyle-designs li {
	display: inline-block;
	margin: 1em;
	max-width: 300px;
}

body.mystyle-design-profile ul.mystyle-designs li a {
	display: block;
	padding: 2em;
	text-decoration: none;
	box-shadow: none;
}

body.mystyle-design-profile ul.mystyle-designs li a:hover {
	-webkit-box-shadow: 2px 2px 8px -3px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 2px 2px 8px -3px rgba(0, 0, 0, 0.5);
	box-shadow: 2px 2px 8px -3px rgba(0, 0, 0, 0.5);
}

body.mystyle-design-profile ul.mystyle-designs li span.mystyle-design-id {
	display: block;
}

/* List/grid styling rules start */
#mystyle-design-profile-wrapper .product_description {
	margin-bottom: 60px;
}

#mystyle-design-profile-wrapper .customize_products.list ul.products li {
	display: block;
	width: 100% !important;
	text-align: left;
}

#mystyle-design-profile-wrapper .customize_products.list ul.products li h2,
#mystyle-design-profile-wrapper .customize_products.list ul.products li a {
	float: left;
}

#mystyle-design-profile-wrapper .customize_products.list ul.products li img,
#mystyle-design-profile-wrapper .customize_products.list ul.products li span.onsale {
	display: none;
}

#mystyle-design-profile-wrapper .customize_products.list ul.products li .price {
	display: inline-block;
	margin-left: 10px;
}

#mystyle-design-profile-wrapper .customize_products.list ul.products li a.button.add_to_cart_button {
	margin-left: 10px;
	position: relative;
	bottom: 7px;
}
