/* Ellie Jane Front Page
Loaded on the front page */

/* Front Page
---------------------------------------------------------------------------------------------------- */

.front-page-1 .wrap,
.front-page-2 .wrap,
.front-page-3 .wrap,
.front-page-5 .wrap {
	margin-left: auto;
	margin-right: auto;
	max-width: 1280px;
	padding-left: 20px;
	padding-right: 20px;
}

.front-page .site-inner {
	display: none !important;
}

.front-page .widget-title {
	font-size: 38px;
	font-size: 3.8rem;
}

.front-page a img:hover {
	opacity: .6;
}

.front-page h2 {
	font-size: 32px;
	font-size: 3.2rem;
}

/* Front Page 1
---------------------------------------------------------------------------------------------------- */

.front-page-1 {
    background-color: #fff;
	margin-top: 195px;
	margin-bottom: 70px;
	text-align: center;
}


/* Front Page 2
---------------------------------------------------------------------------------------------------- */

.front-page-2 {
	background-color: #eae5df;
	margin-top: 40px;
	margin-bottom: 30px;
	text-align: center;
}

.front-page-2 .enews-widget {
	padding: 2% 3% 3%;
}

.front-page-2 .enews-widget .widget-title {
	width: 20%;
    float: left;
	margin-top: -66px;
	margin-right: 0px;
	font-family: 'amaroregular';
	font-weight: 400;
	transform: scale(1) translate(0px) rotate(-18deg);
	font-size: 64px;
	font-size: 6.4rem;
	line-height: 1.2;
}

.front-page-2 .enews-widget p {
	float: left;
	width: 30%;
	text-align: center;
	margin-right: 30px;
	margin-bottom: 0px;
	line-height: 1.6;
}

.front-page-2 .enews-widget input {
	float: left;
	width: 14%;
	margin-right: 10px;
}

.front-page-2 .button,
.front-page-2 .enews-widget input[type="submit"] {
	padding-top: 12px;
	padding-bottom: 12px;
	border: 0px;
	background: #1c1c1c;
	color: #fff;
}

.front-page-2 .button:hover,
.front-page-2 .enews-widget input[type="submit"]:hover {
	border: 0px;
	background: #fff;
	color: #222;
}


/* Front Page 3
---------------------------------------------------------------------------------------------------- */

.front-page-3 {
	text-align: center;
	padding-top: 60px;
	margin-bottom: 70px;
}

.front-page-3 h2 {
	letter-spacing: 3px;
	line-height: 1;
}


/* Front Page 4
---------------------------------------------------------------------------------------------------- */

.front-page-4 {
	color: #fff;
	max-height: 750px;
	margin-top: 0px;
	margin-bottom: 0px;
	background-position: center center;
	background-repeat: no-repeat;
	-webkit-background-size: cover;
	-moz-background-size:    cover;
	background-size:         cover;
	background-attachment:	fixed;
}

.front-page-4 .wrap {
    max-width: 100%;
}

.front-page-4 p,
.front-page-4 .widget-title {
	color: #fff;
	text-align: left;
}

.front-page-4 .widget-title {
	margin-bottom: 0px;
}

.front-page-4 em {
	color: #d1aba2;
	font-family: 'amaroregular';
	font-weight: 400;
	font-size: 44px;
	font-size: 4.4rem;
}

.front-page-4 .widget_custom_html {
    width: 56%;
    float: right;
    padding-top: 130px;
	margin-right: 30px;
}

.front-page-4 .widget_media_image,
.front-page-4 .widget_sp_image {
    width: 38%;
    float: left;
    max-height: 750px;
}

.front-page-4 .widget_media_image img,
.front-page-4 .widget_sp_image img {
    object-fit: cover;
    max-height: 750px;
}

.front-page-4 .widget_media_image .widget-title,
.front-page-4 .widget_sp_image .widget-title {
	display: none !important;
}

.front-page-4 .button {
	background-color: transparent;
	border: 2px solid #d1aba2;
	color: #fff;
}

.front-page-4 .button:hover,
.front-page-4 .button:focus {
	background-color: transparent;
	border: 2px solid #d1aba2;
	color: #d1aba2;
}


/* Front Page 5
---------------------------------------------------------------------------------------------------- */

.front-page-5 {
    background: #fff;
	padding-top: 90px;
	padding-bottom: 90px;
	text-align: center;
}

.front-page-5 p {
	margin-bottom: 0px;
	font-family: 'amaroregular';
	font-weight: 400;
	font-size: 44px;
	font-size: 4.4rem;
	line-height: 1;
}

.front-page-5 h2 {
	font-weight: 400;
}

.front-page-5 .entry {
    width: 25%;
    float: left;
    padding: 20px 15px;
	margin-bottom: 10px;
}

.front-page-5 .entry-title a,
.front-page-5 .entry-title a:hover {
	font-size: 20px;
	font-size: 2rem;
	font-weight: 400;
}

.front-page-5 .entry-title {
	line-height: 1;
}


/* Display WooCommerce Products on Front Page
---------------------------------------------------------------------------------------------------- */
.front-page .woocommerce ul.cart_list li, 
.front-page .woocommerce ul.product_list_widget li, 
.front-page .woocommerce-page ul.cart_list li, 
.front-page .woocommerce-page ul.product_list_widget li {
	float:left !important;
	width:24.9999% !important;
	padding: 1% !important;
}

.front-page .woocommerce ul.cart_list li img, 
.front-page .woocommerce ul.product_list_widget li img {
	width: 100% !important;
	border: 3px solid #fff !important;
}

.front-page .woocommerce ul.cart_list li a, 
.front-page .woocommerce ul.product_list_widget li a {
	text-align: center !important;
	font-weight: 400 !important;
}

.front-page .woocommerce ul.cart_list li a:hover, 
.front-page .woocommerce ul.product_list_widget li a:hover {
	color: #222 !important;
}

.front-page .woocommerce ul.cart_list li, 
.front-page .woocommerce ul.product_list_widget li {
	text-align: center;
	color: #222;
}

/* Fadeup Effect
---------------------------------------------------------------------------------------------------- */

.js .fadeup-effect {
	opacity: 0;
	overflow: visible;
	-webkit-animation-duration: 1s;
	animation-duration: 1s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
	-webkit-animation-timing-function: ease-in-out;
	animation-timing-function: ease-in-out;
}

@-webkit-keyframes fadeInUp {
	from { opacity: 0; -webkit-transform: translateY(20px); }
	to { opacity: 1; -webkit-transform: translateY(0); }
}

@keyframes fadeInUp {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}

.fadeInUp {
	-webkit-animation-name: fadeInUp;
	animation-name: fadeInUp;
}


/* Media Queries
---------------------------------------------------------------------------------------------------- */

@media only screen and (max-width: 1200px) {

	.front-page-4 {
	    background-attachment: scroll;
	}
}

@media only screen and (max-width: 960px) {
	
	.front-page-2 .enews-widget input,
	.front-page-2 .enews-widget p,
	.front-page-4 .widget_sp_image,
	.front-page-4 .widget_custom_html,
	.footer-widgets-1 .enews-widget input,
	.footer-widgets-1 .enews-widget p {
		width: 100%;
	}
	
	.front-page-2 .enews-widget .widget-title {
		width: 100%;
		margin-bottom: 40px;
	}
	
	.front-page-4 {
		max-height: none;
	}
	
	.front-page-4 .wrap {
    padding-left: 20px;
    padding-right: 20px;
	}
	
	.front-page-4 .widget_custom_html {
		padding-top: 100px;
		padding-bottom: 100px;
		margin-right: 0px;
	}
	
	.front-page-5 {
		padding-top: 100px;
		padding-bottom: 100px;
	}
}


@media only screen and (max-width: 800px) {

	.front-page-2 .wrap,
	.front-page-3 .wrap,
	.front-page-4 .wrap {
		padding-left: 5%;
		padding-right: 5%
	}

}


/* ipad 3 and 4 */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (-webkit-min-device-pixel-ratio: 2) {
	.front-page-4 {
		background-attachment: scroll;
	}
}

/* ipad 1, 2, and ipad mini */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (-webkit-min-device-pixel-ratio: 1) {
	.front-page-4 {
		background-attachment: scroll;
	}
}

/* iphone 6 plus */
@media only screen
and (min-device-width : 414px)
and (max-device-width : 736px) {
	.front-page-4 {
		background-attachment: scroll;
	}
}

/* iphone 6 */
@media only screen
and (min-device-width : 375px)
and (max-device-width : 667px) {
	.front-page-4 {
		background-attachment: scroll;
	}
}

/* iphone 5 and 5s */
@media only screen
and (min-device-width: 320px)
and (max-device-width: 568px)
and (-webkit-min-device-pixel-ratio: 2) {
	.front-page-4 {
		background-attachment: scroll;
	}
}

