/* Carpe Diem Front Page
Loaded on the front page */

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

.front-page-2 .wrap,
.front-page-3 .wrap,
.front-page-4 .wrap,
.front-page-6 .wrap,
.front-page-7 .wrap,
.front-page-8 .wrap,
.front-page-9 .wrap,
.front-page-10 .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: 34px;
	font-size: 3.4rem;
}

.front-page p {
	font-size: 18px;
	font-size: 1.8rem;
}

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

.front-page h2 {
	font-size: 36px;
	font-size: 3.6rem;
}

.front-page .entry:nth-child(2) {
	margin-top: 5%;
}


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

.front-page-1 {
    background-color: #eaedee;
    max-height: 750px;
	margin-top: 250px;
	margin-bottom: 70px;
	text-align: center;
}

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

.front-page-1 .widget_media_image,
.front-page-1 .widget_sp_image {
    width: 38%;
    float: right;
    max-height: 700px;
	margin-right: 80px;
	margin-top: -60px;
	position: relative;
}

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


.front-page-1 .widget_media_image img,
.front-page-1 .widget_sp_image img {
    margin-bottom: -10px !important;
    object-fit: cover;
    max-height: 750px;
	box-shadow: 0 8px 20px 0 #cbcbcb;
}

.front-page-1 .widget_media_image .overlay,
.front-page-1 .widget_sp_image .overlay {
	background: #fff;
	font-family: 'Lora', serif;
	font-size: 18px;
	font-size: 1.8rem;
	font-weight: 400;
	font-style: italic;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 60%;
	padding: 0px;
	text-align: center;
	opacity: 0;
	border: 1px solid #edebea;
	outline: 7px solid #fff !important;
	-webkit-transition: opacity 0.5s ease-in-out;
	-moz-transition: opacity 0.5s ease-in-out;
	-ms-transition: opacity 0.5s ease-in-out;
	-o-transition: opacity 0.5s ease-in-out;
	transition: opacity 0.5s ease-in-out;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

.front-page-1 .widget_media_image a.overlay,
.front-page-1 .widget_sp_image a.overlay {
	color: #222;
	font-family: 'Lora', serif;
	letter-spacing: 1.5px;
}

.front-page-1 .widget_media_image:hover .overlay,
.front-page-1 .widget_sp_image:hover .overlay {
	opacity: 1;	
}

.front-page-1 .widget_media_image a.overlay:hover,
.front-page-1 .widget_sp_image a.overlay:hover  {
	color: #6c848a;
}

.front-page-1 .widget_media_image .overlay i,
.front-page-1 .widget_sp_image .overlay i {
	font-size: 14px;
	font-size: 1.4rem;
}

.front-page-1 .widget_custom_html {
    width: 46%;
    float: left;
    padding-top: 135px;
	margin-left: 60px;
}

.front-page-1 h5 {
	color: #6c848a;
}

.grow {
	-webkit-animation-duration: 5s;
	animation-duration: 5s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
	-webkit-animation-name: bounceIn;
	animation-name: bounceIn;
}

@-webkit-keyframes bounceIn {
	0% { 
		transform: scale(0.1); 
		opacity: 0;
	}
  
	60% {
    	transform: scale(1.2);
    	opacity: 1;
  	}
	
  	100% {
    	transform: scale(1);
  	}
}

@keyframes bounceIn {
  0% {
    transform: scale(0.1);
    opacity: 0;
  }
  60% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

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

@media only screen and (max-width: 960px) {
	
	.front-page-1 {
		max-height: unset;
		margin-top: 175px;
	}
	
	.front-page-1 .wrap,
	.front-page-5 .wrap {
		padding-left: 20px;
		padding-right: 20px;
	}
	
	.front-page-1 .widget_custom_html,
	.front-page-1 .widget_media_image,
	.front-page-1 .widget_sp_image {
		width: 100%
	}
	
	.front-page-1 .widget_custom_html {
		margin-left: 0px;
		padding-top: 60px;
	}

	.front-page-1 .widget_media_image, 
	.front-page-1 .widget_sp_image {
		margin-top: 50px;
		margin-right: 0px;
		max-height: unset;
	}
	
	.front-page-1 .widget_media_image img, 
	.front-page-1 .widget_sp_image img {
		box-shadow: none;
		margin-bottom: 30px !important;
	}
	
}



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

.front-page-2 {
	margin-top: 180px;
	text-align: center;
}

.front-page-2 .featuredpage .widget-title {
	font-size: 24px;
	font-size: 2.4rem;
}

.front-page-2 .featuredpage .widget-title a {
	color: #222;
}

.front-page-2 .featuredpage .widget-title a:hover,
.front-page-2 .featuredpage .widget-title a:focus {
	color: #6c848a;
}

.front-page-2 p:last-child {
	margin-bottom: 0;
}

.front-page-2 img {
	border: 2px solid #edebea;
	padding: 10px;
}

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

	.front-page-2 {
		margin-top: 100px;
	}
	
	.front-page-2 .aligncenter {
		margin: 30px auto 10px;
	}
	
	.front-page-3 .wrap {
		margin-top: 50px;
	}
	
}


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

.front-page-3 {
	text-align: center;
}

.front-page-3 .button {
	margin-right: 20px;
}


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

.front-page-4 {
	background-color: #333;
	color: #fff;
	margin-top: 70px;
	margin-bottom: 0px;
	text-align: center;
	padding: 280px 60px 140px;
	-webkit-clip-path: polygon (50% 0%, 100% 25%, 100% 100%, 0 100%, 0 25%);
	clip-path: polygon(50% 0%, 100% 25%, 100% 100%, 0 100%, 0 25%);
}

.front-page-4 p:last-child {
	margin-bottom: 0;
}

.front-page-4 .widget-title {
	font-size: 22px;
	font-size: 2.2rem;
}

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

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

.front-page-5 {
    background: #fff;
    max-height: 750px;
	margin-top: 0px;
	margin-bottom: 0px;
	text-align: center;
}

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

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

.front-page-5 .widget_media_image img,
.front-page-5 .widget_sp_image img {
    margin-bottom: -10px !important;
    object-fit: cover;
    max-height: 750px;
}

.front-page-5 .button {
	margin-right: 20px;
}

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

.front-page-6 {
	margin-top: 120px;
	margin-bottom: 10px;
}

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

.front-page-7 {
	background-color: #edebea;
	color: #222;
	margin-top: 0px;
	margin-bottom: 70px;
	text-align: center;
	padding: 240px 60px;
	-webkit-clip-path: polygon(0px 0px, 100% 0px, 100% 75%, 50% 100%, 0px 75%);
	clip-path: polygon(0px 0px, 100% 0px, 100% 75%, 50% 100%, 0px 75%);
}

.front-page-7 p:last-child {
	margin-bottom: 0;
}

.front-page-7 .widget-title {
	font-size: 22px;
	font-size: 2.2rem;
}

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

.front-page-8 {
	margin-bottom: 70px;
}

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

.front-page-8 .widget_custom_html {
	width: 50%;
 	float: left;
	padding: 50px;
}

.front-page-8 .widget_media_image,
.front-page-8 .widget_sp_image {
    width: 50%;
    float: right;
    padding: 50px;
}

.front-page-8 h2 {
	color: #6c848a;
	font-weight: 400;
	font-family: 'rosefieldregular';
	margin-top: -20px;
	font-size: 52px;
	font-size: 5.2rem;
}

.front-page-8 h2 em {
	font-size: 62px;
	font-size: 6.2rem;
}

.front-page-8 .button {
	background-color: #a69e9a;
	border: 1px solid #a69e9a;
	color: #fff;
}

.front-page-8 .button:hover,
.front-page-8 .button:focus {
	background-color: #fff;
	color: #222;
	border: 1px solid #a69e9a;
}

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

.front-page-9 {
	text-align: center;
	margin-top: 70px;
	padding: 150px 60px;
	background-position: center center;
	background-repeat: no-repeat;
	-webkit-background-size: cover;
	-moz-background-size:    cover;
	background-size:         cover;
	background-attachment:	fixed;
}

.front-page-9 h2 em {
	color: #222;
	font-size: 100px;
	font-size: 10rem;
}

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

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

.front-page-10 p {
	margin-bottom: 0px;
}

.front-page-10 .entry {
	width: 33.33%;
	float: left;
	padding: 0px 20px 40px;
	margin-bottom: 0px;
}

.front-page-10 .entry-title {
	line-height: 1.2;
}

.front-page-10 .entry-title a {
	font-size: 22px;
	font-size: 2.2rem;
	color: #222;
}

.front-page-10 .entry-title a:hover,
.front-page-10 .entry-title a:focus {
	font-size: 22px;
	font-size: 2.2rem;
	color: #6c848a;
}

.front-page-10 h2:after {
	content: "";
    height: 1px;
    width: 55px;
    background: #000;
    display: block;
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    margin: 55px auto 0;
    position: relative;
    z-index: 1;
}


.front-page-10 .entry-footer {
	display: none !important;
}


/* 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;
}

/* Content Boxes
---------------------------------------------------------------------------------------------------- */

.front-page .content-box {
	padding: 50px 20px 60px;
}

.front-page .solid-section .content-box {
	background-color: #fff;
	border: medium double #ddd;
}

.front-page .content-box h4 {
	font-family: 'Raleway', sans-serif;
	font-size: 20px;
	font-size: 2rem;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 5px;
}

.front-page .content-box p {
	line-height: 1.625;
	margin-bottom: 0;
}

.content-box .icon {
	font-size: 30px;
}


/* 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-9 {
	    background-attachment: scroll;
	}
}

@media only screen and (max-width: 960px) {
	
	.front-page-8 .widget_custom_html {
		margin: 0 auto 20px;
		width: 100%;
	}
	
	.front-page-5 {
		max-height: none;
	}
	
	.front-page-5 .widget_custom_html {
		padding-top: 100px;
		padding-bottom: 100px;
	}
	
	.front-page-5 .widget_custom_html,
	.front-page-5 .widget_media_image,
	.front-page-5 .widget_sp_image {
		width: 100%;
		margin-right: 0px;
	}
	
	.front-page-6 {
		margin-top: 10px;
	}
	
	.front-page-8 .widget_custom_html {
		padding-left: 0px;
		padding-right: 0px;
	}
	

}


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

	.front-page-2 .wrap,
	.front-page-3 .wrap,
	.front-page-4 .wrap,
	.front-page-5 .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-9 {
		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-9 {
		background-attachment: scroll;
	}
}

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

/* iphone 6 */
@media only screen
and (min-device-width : 375px)
and (max-device-width : 667px) {
	.front-page-9 {
		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-9 {
		background-attachment: scroll;
	}
}

