/* 
 Theme Name:     Pixvault
 Author:         Colin Falcon
 Author URI:     http://www.simplydesign.me
 Template:       Divi
 Version:        1.0 
*/ 


/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */ 
/**************[LOGO]******************/
#logo {
-webkit-transform:none;
}
@media only screen and (max-width:1280px) and (min-width:981px){
#logo {margin-left:-10%;}
}

/*****[Jumping Header Fix]*****/
/*#main-header {top:0!important;}
#main-content .container {padding-top:148px!important;}*/

#main-header {box-shadow:none;}
/*#et-main-area {
    position: absolute;
    top: 0;
}*/

/*************[Homepage]*************/

/**[Button fix]**/
.header-content img {
   margin: 0 5%;
}

/**[Bouncing More icon]**/
 
@-webkit-keyframes bounce {
0%, 100% {
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-webkit-transform: translateY(0);
transform: translateY(0);
}
40% {
-moz-transform: translateY(-10px);
-ms-transform: translateY(-10px);
-webkit-transform: translateY(-10px);
transform: translateY(-10px);
}
}
@keyframes bounce {
0%, 100% {
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-webkit-transform: translateY(0);
transform: translateY(0);
}
40% {
-moz-transform: translateY(-10px);
-ms-transform: translateY(-10px);
-webkit-transform: translateY(-10px);
transform: translateY(-10px);
}
}
span.scroll-down.et-pb-icon { 
-webkit-animation-name: bounce;
animation-name: bounce;
-webkit-animation-duration: 1s;
animation-duration: 1s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
}

/**[align buttons on mobile]**/
@media only screen and (max-width:480px){
a.et_pb_more_button.et_pb_button.et_pb_button_one{
margin: 0 auto;}
}

/**[shrink header image on mobile in landscape]**/
@media only screen and (max-width:767px) and (min-width:481px){
.header-content img {
    width: 60%;
    margin-top:-5%;
    margin-bottom:-5%;
}
.et_pb_fullwidth_header_0 .et_pb_button_one.et_pb_button {
    margin-bottom: 15%;
}
a.et_pb_more_button.et_pb_button.et_pb_button_one {
font-size:16px!important;}
a.et_pb_more_button.et_pb_button.et_pb_button_two {
font-size:16px!important;}
}

/***************[Hide Page Titles]*****************/

/*************[blurb text padding]*************/
.et_pb_blurb h4 {padding-left:15px!important;color:#fff;}
.et_pb_blurb_content p:last-of-type {padding:0 0 15px 15px!important;color:#fff;}
.et_pb_blurb h4 a:visited {color:#56aa2e;}

h1.main_title {display: none!important;}

/*************[Widget Styling]*****************/
/*h4.widgettitle {
    font-size: 16px;
    padding: 10px;
    background-color: rgba(30,115,190,0.6);
    color: white;
    border-radius: 0 10px 0 0;
    text-align:center;
}*/

/***[Hide line on sidebar]***/
@media (min-width: 981px){
.et_pb_widget_area_right {
    padding-left: 30px;
    border-left: none;
}}

/*************[NAVIGATION]*************/
/*[Underline current menu item]*/
.current-menu-item a {color: #ef4a4a !important; border-bottom: 3px solid #ef4a4a; padding-bottom: 12px !important}

/*Menu*/
#top-menu a {color: #dd3333!important;}
#top-menu a:hover {color: #ef4a4a!important;}
#top-menu li.current-menu-ancestor > a {color: #ef4a4a!important;}
#top-menu li.current-menu-item > a {color: #ef4a4a!important;}
#et_search_icon {color:#fff!important;}
#et_search_icon:hover {color: #ef4a4a!important;}

/* Sub-Menu */
#top-menu li li a {color:#ededed!important;}
#top-menu li li a:hover {color:#ef4a4a!important; background:#1e2024!important;}
.nav li ul {background: rgba(30, 31, 34, 0.73)!important;}
.sub-menu {border-color:#ef4a4a!important;}
#et_search_icon {color: #cfcfcf!important;}

/***[change scroll to top icon colour]***/
.et_pb_scroll_top.et-pb-icon {
    background: #F2A52E!important;
}
/* Mobile-Menu Replace Hamburger Icon with Menu*/
    .mobile_menu_bar:before {
        content: "Menu"!important; 
        display: block;
        position: centre;
        font-family: 'Comfortaa', cursive!important;
        font-size: 18px;
        border: 1px solid;
        border-radius: 4px;
        padding: 4px 6px; }

/*Darken drop down on mobile menu*/
ul#mobile_menu {
    background-color: rgba(86,170,46,0.7)!important;
}

/****************************************/
/**************[Woo Commerce]************/
/****************************************/

/*demo store notice*/
p.demo_store {background-color: rgba(0,0,0,0.4);}
/*woo product title*/
.woocommerce div.product .product_title {padding: 10px;color:#fff;background-color: #F2A52E;border-radius: 0 20px 0 0;}
.woocommerce div.product p.price {important;padding-top: 5px;}
.woocommerce ul.products li.product .price, .woocommerce-page ul.products li.product .price, .woocommerce ul.products li.product .price del, .woocommerce-page ul.products li.product .price del {color:#A68F19!}
.woocommerce div.product form.cart .button {background: #F2A52E!important;}
.woocommerce .woocommerce-breadcrumb, .woocommerce-page .woocommerce-breadcrumb {color:#A68F19;}
.product_price {color:#A68F19;}
div.woocommerce-message {background: #F2A52E!important;}
div.woocommerce input.button {background: #F2A52E!important;border-color:#F2A52E;}
.woocommerce div.product form.cart .button { background: #F2A52E!important;border-color:#F2A52E;}
div.woocommerce a {color:#A68F19!important;}
div.woocommerce h4 p {color:#A68F19!important;}
.et_right_sidebar #left-area {float: right;margin-left:0;margin-right: 0px;padding-left:5%;}
.widgettitle {border-top: solid 1px #F2A52E;padding-top: 15px;}
.et_pb_gutters3.et_left_sidebar.woocommerce-page ul.products li.product, .et_pb_gutters3.et_right_sidebar.woocommerce-page ul.products li.product {
    width: 28.353%;
    margin-right: 4.5%;
}
#main-content .container:before {width: 0;content: "";} /*removes sidebar line from right*/
.woocommerce #payment #place_order, .woocommerce form .form-row-last, .woocommerce-page #payment #place_order, .woocommerce-page form .form-row-last {
    border: none;
    color: white;
}

/******[video hover overlay colour]******/




/*******************[ABOUT PAGE]*******************/

/***********[Image Hover Test]*************/

/*----- Effect 7 - Shutter Horizontal -----*/
.ds-hover7-wrapper {
	position: relative;
	color: rgba(0,0,0,0);
	width: 100%
}
.ds-hover7 h2 { 
   position: absolute; 
   z-index: 1;
   top: 0px; 
   left: 0px; 
   width: 100%;
   font-size: 30px;
   text-align: center;
   text-transform: uppercase;
   font-size: 25px;
   color: #fff;
   background-color: #000;
   padding: 5px;
   -webkit-opacity: 0.75;
   -moz-opacity: 0.75;
   opacity: 0.75;
}
.ds-hover7 p {
	color: #fff;
	font-size: 20px;
}
.ds-hover7-wrapper:hover .ds-hover7 h2 { 
   -webkit-opacity: 0;
   -moz-opacity: 0;
   opacity: 0;
   -webkit-transition: all 0.5s ease;
   -moz-transition: all 0.5s ease;
   transition: all 0.5s ease;
}
figure.ds-hover7 { 
	margin: 0;
	padding: 0;
	display: inline-block;
	line-height: 0;
	position: relative;
	overflow: hidden; 
}
figure.ds-hover7 img{
	display: block;
}
figure.ds-hover7 figcaption a{
	text-decoration: none;
	font-size: 15px;
	border: 1px solid #ff6600;
	padding: 5px 10px;
}
figure.ds-hover7::before, figure.ds-hover7::after{
	content: '';
	width: 100%;
	height: 100%;
	display: block;
	background: black;
	position: absolute;
	opacity: 0.3;
	top: 0;
	left 0;
	-moz-transform: translate3d(0, -100%, 0);
	-webkit-transform: translate3d(0, -100%, 0);
	transform: translate3d(0, -100%, 0);
	-moz-transition: all 0.5s;
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
}
figure.ds-hover7 figcaption{
	position: absolute;
	display: block;
	line-height: 1.7em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	text-align: center;
	background: rgba(0, 0, 0, 0.7);
	padding: 10px;
	z-index: 100;
	width: 100%;
	max-height: 100%;
	overflow: hidden;
	top: 80%;
	left: 0;
	-moz-transform: translate3d(-100%, -50%, 0);
	-webkit-transform: translate3d(-100%, -50%, 0);
	transform: translate3d(-100%, -50%, 0);
	opacity: 0;
	-moz-transition: all 0.5s;
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
}
figure.ds-hover7::before{
	-moz-transform: translate3d(-100%, 0, 0); 
	-webkit-transform: translate3d(-100%, 0, 0);
	transform: translate3d(-100%, 0, 0);
}
figure.ds-hover7::after{
	-moz-transform: translate3d(100%, 0, 0); 
	-webkit-transform: translate3d(100%, 0, 0);
	transform: translate3d(100%, 0, 0);
}
figure.ds-hover7:hover::before{
	-moz-transform: translate3d(-50%, 0, 0);
	-webkit-transform: translate3d(-50%, 0, 0);
	transform: translate3d(-50%, 0, 0);
}
figure.ds-hover7:hover::after{
	-moz-transform: translate3d(50%, 0, 0);
	-webkit-transform: translate3d(50%, 0, 0);
	transform: translate3d(50%, 0, 0);
}
figure.ds-hover7:hover figcaption{
	opacity: 1;
	-moz-transform: translate3d(0, -50%, 0);
	-webkit-transform: translate3d(0, -50%, 0);
	transform: translate3d(0, -50%, 0);
	-moz-transition: all 0.5s;
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
	-moz-transition-delay: 0.5s;
	-webkit-transition-delay: 0.5s;
	transition-delay: 0.5s;
}

/*---------- [Accordion Image Slider Menu] ----------*/
.ds-container {
	width: 1000px;
	margin: 20px auto;
	overflow: hidden;
	box-shadow: 1px 1px 4px rgba(0,0,0,0.5);
	border: 1px solid rgba(255,255,255,1);
}
.ds-container figure {
        position: absolute;
	top: 0 !important;
	left: 100px; /* width of visible piece */
	margin: 0;
	width: 500px;
        box-shadow: 0 0 0 1px rgba(255,255,255,0.6);
        transition: all 0.3s ease-in-out;
}   
.ds-container > figure {
        position: relative;
	left: 0 !important;
}
.ds-container img {
	display: block;
	width: 100%;
}
.ds-container input {
	position: absolute;
	top: 0;
	left: 0;
	width: 100px;
	height: 100%;
	cursor: pointer;
	border: 0;
	padding: 0;
        opacity: 0;
	z-index: 100;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
.ds-container input:checked{
	width: 5px;
	left: auto;
	right: 0px;
}
.ds-container input:checked ~ figure {
        left: 500px;
        transition: all 0.7s ease-in-out;
}
.ds-container figcaption {
	width: 100%;
	height: 100%;
	background: rgba(87, 73, 81, 0.1);
	position: absolute;
	top: 0px;
        transition: all 0.2s linear;
}
.ds-container figcaption span {
	position: absolute;
	top: 80%;
	margin-top: -30px;
	right: 20px;
	left: 20px;
	overflow: hidden;
	text-align: center;
	background: rgba(87, 73, 81, 0.3);
	border: 1px solid #fff;
	line-height: 20px;
	font-size: 20px;
        opacity: 0;
	text-transform: uppercase;
	letter-spacing: 8px;
	font-weight: 800;
	padding: 30px;
	color: #fff;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
}
.ds-container figcaption span:hover {
	background: rgba(255, 127, 36, 0.4);
	color: #000;
	border: 1px solid #000;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
}
.ds-container input:checked + figcaption,
.ds-container input:checked:hover + figcaption{
	background: rgba(87, 73, 81, 0);
}
.ds-container input:checked + figcaption span {
        transition: all 0.4s ease-in-out 0.5s;
	opacity: 1;
	top: 88%; /*placement of title link*/
}
.ds-container #ds-selector-last:checked + figcaption span {
	transition-delay: 0.3s;
}
.ds-container input:hover + figcaption {
	background: rgba(87, 73, 81, 0.03);
}
.ds-container input:checked ~ figure input{
        z-index: 1;
}
@media screen and (max-width: 1024px) {
        .ds-container { 
		width: 740px; 
	}
	
	.ds-container figure { 
		left: 80px; 
		width: 340px; 
	}
	
	.ds-container input { 
		width: 80px; 
	}
	
	.ds-container input:checked ~ figure { 
		left: 340px; 
	}
	
	.ds-container figcaption span { 
		font-size: 18px; 
	}
	
	.ds-container input:checked + figcaption span {
		top: 82%; /*placement of title link*/
	}
}
@media screen and (max-width: 768px) {
        .ds-container { 
		width: 540px; 
	}
	
	.ds-container figure { 
		left: 50px; 
		width: 290px; 
	}
	
	.ds-container input { 
		width: 50px; 
	}
	
	.ds-container input:checked ~ figure { 
		left: 290px; 
	}
	
	.ds-container figcaption span { 
		font-size: 16px; 
	}
	
	.ds-container input:checked + figcaption span {
		top: 80%; /*placement of title link*/
	}
}
@media screen and (max-width: 520px) {
        .ds-container { 
		width: 300px; 
	}
	
	.ds-container figure { 
		left: 30px; 
		width: 150px; 
	}
	
	.ds-container input { 
		width: 30px; 
	}
	
	.ds-container input:checked ~ figure { 
		left: 150px; 
	}
	
	.ds-container figcaption span { 
		font-size: 12px; 
		letter-spacing: 2px; 
		padding: 10px; 
		margin-top: -20px; 
	} 
	
	.ds-container input:checked + figcaption span {
		top: 77%; /*placement of title link*/
	}
}
@media screen and (max-width: 320px) {
        .ds-container { 
	        width: 260px; 
	}
	
	.ds-container figure { 
		left: 26px; 
		width: 130px; 
	}
	
	.ds-container input { 
		width: 26px; 
	}
	
	.ds-container input:checked ~ figure { 
		left: 130px; 
	}
	
	.ds-container figcaption span { 
		font-size: 10px; 
		letter-spacing: 2px; 
		padding: 10px; 
		margin-top: -20px; 
	} 
	
	.ds-container input:checked + figcaption span {
		top: 77%; /*placement of title link*/
	}
}


.pojoro  {
	background: rgba( 255, 255, 255, 1);
	background: radial-gradient(ellipse at center, rgba(255,255,255,1) 40%,rgba(51,51,51,1) 100%);
	border-radius: 100%;
	
	/* box-shadow: secondary color, body, eyelash */
	
	box-shadow: 0 0 0 0.2em rgb(146,89,149), 
				0 0 0.1em 0.55em rgb(176,89,179), 
				inset 0 0.2em 0 0 rgb(136,79,139);
	
	/* ojo (eye) */
	
	color: rgba( 40, 40, 40, 0.8);
	line-height: 1.1em;
	padding-left: 0.18em;
	-webkit-font-smoothing: antialiased;
	user-select: none;
	
	/* usability, position and transition */
	
	cursor: pointer;
	position: relative;
	margin: 5em auto 0 auto;
	width: 1em; height: 1em;
	transform-origin: center;
	transition: all 0.8s ease-in-out;
	
	/* Separate the animations to have a better control over the eye and the body */
	
	animation: eye 2.2s ease-in-out infinite, body 1.15s 1.8s linear infinite; 
} 

/* Elevate and distort the creature. */

.pojoro:hover  {
	transform: scaleY(0.9) scaleX(0.95) translateY(-3em) translateZ(0);
}

/* wings */

.pojoro:before,
.pojoro:after  {
	background: rgba(0,0,0,0);
	border-radius: 100%;
	content: "";
	
	/* display:none, hide wings */
	
	display: none;
	position: absolute;
	width: 1em; height: 0.1em;
	-webkit-filter: blur(1px);
	transition: all 0.2s;
	animation-duration: 0.2s;
	animation-iteration-count: infinite;
	animation-timing-function: ease-in-out;
}

.pojoro:before  {
	top: 25%; left: 1.45em;
	margin-left: -1em;
	transform-origin: left;
	transform: rotate(-60deg);
	animation-name: wings;
}

.pojoro:after  {
	top: 25%; left: -2.2em;
	margin-left: 1em;
	transform-origin: right;
	transform: rotate(60deg);
	animation-name: wings2;
}

.pojoro:hover:before,
.pojoro:hover:after  {
	background: rgba(100,100,100,0.8);
	
	/* display:block, we allow the wings to appear and the animation starts */
	
	display: block;
	margin-left: 0em;
	width: 2em; height: 0.3em;
}

@keyframes eye  {

	/* Eye movement */
	
	5%, 10%  {
		line-height: 1.2em;
		padding-left: 0em;
	}
	15%, 20%  {
		line-height: 1.15em;
		padding-left: 0.4em;
	}
	
	/* Eyelash movement */
	
	25%  {
		box-shadow: 0 0 0 0.2em rgb(146,89,149), 
					0 0 0.1em 0.55em rgb(166,89,169), 
					inset 0 1em 0 0 rgb(136,79,139);
	}
	23%, 27%  {
		box-shadow: 0 0 0 0.2em rgb(146,89,149), 
					0 0 0.1em 0.55em rgb(166,89,169), 
					inset 0 0.2em 0 0 rgb(136,79,139);
	}
}

@keyframes body  {
	50%  {
		width: 1.4em; height: 1.4em;
	} 
}

@keyframes wings  {
	50%  {
		transform: rotate(65deg);
	}
}

@keyframes wings2  {
	50%  {
		transform: rotate(-65deg);
	}
}

/******************************************/
/**************[TEXT EFFECT]***************/
/******************************************/

/* pixvault text */
.link {
	outline: none;
	text-decoration: none;
	position: relative;
	font-size: 6em;
	line-height: 1;
	color: #9e9ba4;
	display: inline-block;
}
/* view text */
.link--view {
	color: #D3D3D3;
	font-family: 'Playfair Display';
	font-weight: 400;
	text-transform: uppercase;
	font-size: 6em;
	overflow: hidden;
	padding: 0 0 10px;
}

.link--view::before {
	content: '';
	position: absolute;
	height: 85%;
	width: 100%;
	border-width: 2px 0;
	border-color: #282828;
	border-style: solid;
	left: 0;
	-webkit-transform: translate3d(-101%,0,0);
	transform: translate3d(-101%,0,0);
	-webkit-transition: -webkit-transform 0.5s;
	transition: transform 0.5s;
}

.link--view:hover::before {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

.link--view span {
	display: inline-block;
	position: relative;
	-webkit-transform: perspective(1000px) rotate3d(0,1,0,0deg);
	transform: perspective(1000px) rotate3d(0,1,0,0deg);
	-webkit-transition: -webkit-transform 0.5s, color 0.5s;
	transition: transform 0.5s, color 0.5s;
}

.link--view:hover span {
	color: #1e1a1b;
	-webkit-transform: perspective(1000px) rotate3d(0,1,0,360deg);
	transform: perspective(1000px) rotate3d(0,1,0,360deg);
}

.link--view span:nth-child(4),
.link--view:hover span:first-child {
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
}

.link--view span:nth-child(3),
.link--view:hover span:nth-child(2) {
	-webkit-transition-delay: 0.1s;
	transition-delay: 0.1s;
}

.link--view span:nth-child(2),
.link--view:hover span:nth-child(3) {
	-webkit-transition-delay: 0.2s;
	transition-delay: 0.2s;
}

.link--view span:first-child,
.link--view:hover span:nth-child(4) {
	-webkit-transition-delay: 0.3s;
	transition-delay: 0.3s;
}

@media only screen and (max-width:1100px) and (min-width:768px){
.link--view {
font-size: 4em;
}
}
@media only screen and (max-width:480px){
.link--view {
font-size: 4em;
}
}

/***************[ILLUSION]****************/
.sdm-phrases h2 {
	font-family: 'Dosis', 'Lato', sans-serif;
	font-size: 70px;
	font-weight: 200;
	width: 100%;
	overflow: hidden;
	text-transform: uppercase;
	padding: 0;
	margin: 0;
	position: absolute;
	top: 0;
	left: 0;
	letter-spacing: 14px;
	text-align: center;
}

.sdm-phrases h2,
.sdm-phrases h2 > span {
	height: 100%;
	/* Centering with flexbox */
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-box-pack: center;
	-moz-box-pack: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-moz-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
}

.sdm-phrases h2 > span {
	margin: 0 15px;
}

.sdm-phrases h2 > span > span {
	display: inline-block;
	-webkit-perspective: 1000px;
	-moz-perspective: 1000px;
	perspective: 1000px;
	-webkit-transform-origin: 50% 50%;
	-moz-transform-origin: 50% 50%;
	transform-origin: 50% 50%;
}

.sdm-phrases h2 > span > span > span {
	display: inline-block;
	color: hsla(0,0%,0%,0);
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: translate3d(0,0,0);
	-moz-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
	-webkit-animation: OpeningSequence 5.2s linear forwards;
	-moz-animation: OpeningSequence 5.2s linear forwards;
	animation: OpeningSequence 5.2s linear forwards;
}

.sdm-phrases h2:nth-child(2) > span > span > span {
	-webkit-animation-delay: 5s;
	-moz-animation-delay: 5s;
	animation-delay: 5s;
}

.sdm-phrases h2:nth-child(3) > span > span > span {
	-webkit-animation-delay: 10s;
	-moz-animation-delay: 10s;
	animation-delay: 10s;
}

.sdm-phrases h2:nth-child(4) > span > span > span {
	-webkit-animation-delay: 15s;
	-moz-animation-delay: 15s;
	animation-delay: 15s;
}

.sdm-phrases h2:nth-child(5) > span > span > span {
	font-size: 150px;
	-webkit-animation-delay: 21s;
	-moz-animation-delay: 21s;
	animation-delay: 21s;
	-webkit-animation-duration: 8s;
	-moz-animation-duration: 8s;
	animation-duration: 8s;
}

.sdm-phrases h2:nth-child(6) > span > span > span {
	-webkit-animation-delay: 30s;
	-moz-animation-delay: 30s;
	animation-delay: 30s;
}

.sdm-phrases h2:nth-child(7) > span > span > span {
	-webkit-animation-delay: 34s;
	-moz-animation-delay: 34s;
	animation-delay: 34s;
}

@-webkit-keyframes OpeningSequence {
	0% {
		text-shadow: 0 0 50px #fff;
		letter-spacing: 80px;
		opacity: 0;
		-webkit-transform: rotateY(-90deg);
	}
	50% {
		text-shadow: 0 0 1px #fff;
		letter-spacing: 14px;
		opacity: 0.8;
		-webkit-transform: rotateY(0deg);
	}
	85% {
		text-shadow: 0 0 1px #fff;
		opacity: 0.8;
		-webkit-transform: rotateY(0deg) translateZ(100px);
	}
	100% {
		text-shadow: 0 0 10px #fff;
		opacity: 0;
		-webkit-transform: translateZ(130px);
		pointer-events: none;
	}
}

@-moz-keyframes OpeningSequence {
	0% {
		text-shadow: 0 0 50px #fff;
		letter-spacing: 80px;
		opacity: 0.2;
		-moz-transform: rotateY(-90deg);
	}
	50% {
		text-shadow: 0 0 1px #fff;
		letter-spacing: 14px;
		opacity: 0.8;
		-moz-transform: rotateY(0deg);
	}
	85% {
		text-shadow: 0 0 1px #fff;
		opacity: 0.8;
		-moz-transform: rotateY(0deg) translateZ(100px);
	}
	100% {
		text-shadow: 0 0 10px #fff;
		opacity: 0;
		-moz-transform: translateZ(130px);
		pointer-events: none;
	}
}

@keyframes OpeningSequence {
	0% {
		text-shadow: 0 0 50px #fff;
		letter-spacing: 80px;
		opacity: 0.2;
		transform: rotateY(-90deg);
	}
	50% {
		text-shadow: 0 0 1px #fff;
		letter-spacing: 14px;
		opacity: 0.8;
		transform: rotateY(0deg);
	}
	85% {
		text-shadow: 0 0 1px #fff;
		opacity: 0.8;
		transform: rotateY(0deg) translateZ(100px);
	}
	100% {
		text-shadow: 0 0 10px #fff;
		opacity: 0;
		transform: translateZ(130px);
		pointer-events: none;
	}
}

.sdm-phrases h2:nth-child(8) > span > span > span {
	font-size: 30px;
	-webkit-animation: FadeIn 4s linear 40s forwards;
	-moz-animation: FadeIn 4s linear 40s forwards;
	animation: FadeIn 4s linear 40s forwards;
}

@-webkit-keyframes FadeIn { 
	0% {
		opacity: 0;
		text-shadow: 0 0 50px #fff;
	}
	100% {
		opacity: 0.8;
		text-shadow: 0 0 1px #fff;
	}
}

@-moz-keyframes FadeIn { 
	0% {
		opacity: 0;
		text-shadow: 0 0 50px #fff;
	}
	100% {
		opacity: 0.8;
		text-shadow: 0 0 1px #fff;
	}
}

@keyframes FadeIn { 
	0% {
		opacity: 0;
		text-shadow: 0 0 50px #fff;
	}
	100% {
		opacity: 0.8;
		text-shadow: 0 0 1px #fff;
	}
}

/* Bold words */
.sdm-phrases h2:first-child .word3,
.sdm-phrases h2:nth-child(2) .word2,
.sdm-phrases h2:nth-child(4) .word2 {
	font-weight: 600;
}

/*************[WAVE]******************/

body {
  height: auto;
  margin: 0;
}

#ocean {
  position: fixed;
  width: 100%;
  min-height: 100%;
  background: #a0acc4;
}

.wave {
  background: #bfc4ce;
  display: inline-block;
  height: 60%;
  width: 10px;
  position: absolute;
  -webkit-animation-name: dostuff;
  -webkit-animation-duration: 5s;
  -webkit-animation-iteration-count: infinite;
  -webkit-transition-timing-function: ease-in-out;
  -moz-animation-name: dostuff;
  -moz-animation-duration: 5s;
  -moz-animation-iteration-count: infinite;
  -moz-transition-timing-function: ease-in-out;
  animation-name: dostuff;
  animation-duration: 5s;
  animation-iteration-count: infinite;
  transition-timing-function: ease-in-out;
}

@keyframes dostuff {
  0% {
    height: 60%;
  }
  50% {
    height: 40%;
  }
  100% {
    height: 60%;
  }
}

@-webkit-keyframes dostuff {
  0% {
    height: 60%;
  }
  50% {
    height: 40%;
  }
  100% {
    height: 60%;
  }
}

@-moz-keyframes dostuff {
  0% {
    height: 60%;
  }
  50% {
    height: 40%;
  }
  100% {
    height: 60%;
  }
}

/*************************************************/
/************[Image Test2]************************/
/*************************************************/

/****************/
/**[Common CSS]**/
/****************/
.sdm-grid {
	position: relative;
	clear: both;
	margin: 0 auto;
	padding: 1em 0 4em;
	max-width: 510px;
	list-style: none;
	text-align: center;
}

/* Common style */
.sdm-grid figure {
	position: relative;
	float: left;
	overflow: hidden;
	margin: 10px 1%;
	min-width: 640px;
	max-width: 640px;
	max-height: 320px;
	width: 48%;
	height: auto;
	background: transparent;
	text-align: center;
	cursor: pointer;
}

.sdm-grid figure img {
	position: relative;
	display: block;
	min-height: 100%;
	max-width: 100%;
	opacity: 0.8;
}

.sdm-grid figure figcaption {
	padding: 2em;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.sdm-grid figure figcaption::before,
.sdm-grid figure figcaption::after {
	pointer-events: none;
}

.sdm-grid figure figcaption,
.sdm-grid figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.sdm-grid figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.sdm-grid figure h2 {
	word-spacing: -0.15em;
	font-weight: 300;
}

.sdm-grid figure h2 span {
	font-weight: 800;
}

.sdm-grid figure h2,
.sdm-grid figure p {
	margin: 0;
}

.sdm-grid figure p {
	letter-spacing: 1px;
	font-size: 68.5%;
}
/*---------------*/
/***** Ming *****/
/*---------------*/

figure.effect-ming {
	background: transparent;
}

figure.effect-ming img {
	opacity: 0.9;
	-webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
}

figure.effect-ming figcaption::before {
	position: absolute;
	top: 50px;
	right: 30px;
	bottom: 30px;
	left: 30px;
	border: 2px solid #fff;
	box-shadow: 0 0 0 30px rgba(255,255,255,0.2);
	content: '';
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale3d(1.4,1.4,1);
	transform: scale3d(1.4,1.4,1);
}

figure.effect-ming h2 {
	margin: 5% 0 10px 0;
        color: #fff;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
}

figure.effect-ming p {
	padding: 1em;
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale(1.5);
	transform: scale(1.5);
}

figure.effect-ming:hover h2 {
	-webkit-transform: scale(0.9);
	transform: scale(0.9);
}

figure.effect-ming:hover figcaption::before,
figure.effect-ming:hover p {
	opacity: 1;
	-webkit-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);
}

figure.effect-ming:hover figcaption {
	background-color: rgba(0,0,0,0.4);
}

figure.effect-ming:hover img {
	opacity: 0.4;
}

