/*
*   Siena for WordPress
*   Copyright 2017, Royalz Themes
*   www.royalzthemes.com
*/

/* Table of Content
==================================================

	- Home
	- Home Background
	- Home Content

================================================== */

/* Home
================================================== */

	section.home {
		height: 100vh;
	}

	section.home .section-footer {
		padding-bottom: 70px;
		padding-top: 70px;
		position: relative;
		z-index: 5;
	}
	
	section.home .section-footer {
		-webkit-transform: translateY(-100%);
		-moz-transform: translateY(-100%);
		-ms-transform: translateY(-100%);
		-o-transform: translateY(-100%);
		transform: translateY(-100%);
	}

	section.home-photographs .section-footer {
		padding-bottom: 52px;
		padding-top: 52px;
	}

	@media only screen and (max-width: 479px) {
		section.home .section-footer {
			display: none;
		}
	}

	section.home .slider-desktop {
		display: -webkit-box;
		display: -moz-box;
		display: -ms-flexbox; 
		display: -webkit-flex;
		display: flex; 
	}


/* Slide
================================================== */

	section.home .slide {
		background-color: #efefef;
		height: 100vh;
		margin-top: -100vh;
		opacity: 0;
		z-index: 1;
	}

	section.home .slide:nth-child(1) {
		margin-top: 0px;
	}

	section.home .slide-current {
		opacity: 1;
		z-index: 2;
	}

	section.home .slide-current {
		-webkit-transition: opacity 0.6s ease-in 0s;
		-moz-transition: opacity 0.6s ease-in 0s;
		-ms-transition: opacity 0.6s ease-in 0s;
		-o-transition: opacity 0.6s ease-in 0s;
		transition: opacity 0.6s ease-in 0s;
	}

	section.home .slide:not(.slide-current) {
		-webkit-transition: opacity 0.4s ease-in 0.2s;
		-moz-transition: opacity 0.4s ease-in 0.2s;
		-ms-transition: opacity 0.4s ease-in 0.2s;
		-o-transition: opacity 0.4s ease-in 0.2s;
		transition: opacity 0.4s ease-in 0.2s;
	}


/* Background
================================================== */

	section.home .slide-background {
		height: 100vh;
		overflow: hidden;
		position: relative;
	}

	section.home .slide-background video {
		height: 100%;
		width: 100%;
	}

	section.home .slide-background video {
		object-fit: cover;
	}

	section.home-slider-kenburns .slide .background.image {
		-webkit-transition: -webkit-transform 7s cubic-bezier(0.47, 0, 0.745, 0.715) 0s;
		-moz-transition: -moz-transform 7s cubic-bezier(0.47, 0, 0.745, 0.715) 0s;
		-ms-transition: -ms-transform 7s cubic-bezier(0.47, 0, 0.745, 0.715) 0s;
		-o-transition: -o-transform 7s cubic-bezier(0.47, 0, 0.745, 0.715) 0s;
		transition: transform 7s cubic-bezier(0.47, 0, 0.745, 0.715) 0s;
	}

	section.home-slider-kenburns .slide:nth-child(odd) .background.image {
		-webkit-transform: translate(-2%, 3%) scale(1.1, 1.1);
		-moz-transform: translate(-2%, 3%) scale(1.1, 1.1);
		-ms-transform: translate(-2%, 3%) scale(1.1, 1.1);
		-o-transform: translate(-2%, 3%) scale(1.1, 1.1);
		transform: translate(-2%, 3%) scale(1.1, 1.1);
	}

	section.home-slider-kenburns .slide:nth-child(even) .background.image {
		-webkit-transform: translate(2%, -3%) scale(1.1, 1.1);
		-moz-transform: translate(2%, -3%) scale(1.1, 1.1);
		-ms-transform: translate(2%, -3%) scale(1.1, 1.1);
		-o-transform: translate(2%, -3%) scale(1.1, 1.1);
		transform: translate(2%, -3%) scale(1.1, 1.1);
	}

	section.home-slider-kenburns .slide-current .background.image {
	    -webkit-transform: translate(0%, 0%) scale(1.15, 1.15) !important;
	    -moz-transform: translate(0%, 0%) scale(1.15, 1.15) !important;
	    -ms-transform: translate(0%, 0%) scale(1.15, 1.15) !important;
	    -o-transform: translate(0%, 0%) scale(1.15, 1.15) !important;
	    transform: translate(0%, 0%) scale(1.15, 1.15) !important;
	}


/* Content
================================================== */

	section.home .slide-content {
		height: 100vh;
		margin-top: -100vh;
		opacity: 0;
		text-align: center;
	}

	section.home-photographs .slide-content {
		text-align: left;
	}

	section.home .slide-current .slide-content {
		opacity: 1;
	}

	section.home .slide .slide-content {
		-webkit-transition: opacity 0.6s ease 0s;
		-moz-transition: opacity 0.6s ease 0s;
		-ms-transition: opacity 0.6s ease 0s;
		-o-transition: opacity 0.6s ease 0s;
		transition: opacity 0.6s ease 0s;
	}

	section.home .slide-current .slide-content {
		-webkit-transition: opacity 1.2s ease 0.8s;
		-moz-transition: opacity 1.2s ease 0.8s;
		-ms-transition: opacity 1.2s ease 0.8s;
		-o-transition: opacity 1.2s ease 0.8s;
		transition: opacity 1.2s ease 0.8s;
	}

	section.home .slide-content .headline {
		margin-bottom: 15px;
	}

	section.home-photographs .slide-content .headline {
		max-width: 60%;
		padding-bottom: 8px;
		padding-top: 8px;
	}

	@media only screen and (max-width: 479px) {
		section.home-photographs .slide-content .headline {
			max-width: 100%;
		}
	}

	section.home .slide-content .headline h1 {
		color: #222222;
		font-family: 'Montserrat';
		font-size: 65px;
		font-weight: 500;
		letter-spacing: 0.05em;
		line-height: 1.25;
		text-transform: none;
	}

	@media only screen and (max-width: 479px) {
		section.home .slide-content .headline h1 {
			font-size: 32px !important;
			line-height: 1.25;
		}
	}

	section.home-photographs .slide-content .headline h1 {
		font-size: 70px;
		letter-spacing: 0em;
		line-height: 1.07;
	}

	@media only screen and (max-width: 479px) {
		section.home-photographs .slide-content .headline h1 {
			font-size: 32px !important;
			line-height: 1.25;
		}
	}

	body.theme-dark section.home .slide-content .headline h1 {
		color: #eeeeee;
	}

	section.home .slide-content .tagline {
		margin-bottom: 52px;
	}

	section.home-photographs .slide-content .tagline {
		margin-bottom: 0px;
		max-width: 60%;
		padding-bottom: 8px;
		padding-top: 8px;
	}

	@media only screen and (max-width: 479px) {
		section.home-photographs .slide-content .tagline {
			max-width: 100%;
		}
	}

	section.home .slide-content .tagline p {
		color: #222222;
		font-family: 'Montserrat';
		font-size: 24px;
		font-weight: 500;
		letter-spacing: 0.1em;
		line-height: 1;
	}

	@media only screen and (max-width: 479px) {
		section.home .slide-content .tagline p {
			font-size: 15px !important;
		}
	}

	section.home-photographs .slide-content .tagline p {
		font-size: 22px;
		letter-spacing: 0.2em;
		line-height: auto;
		text-transform: uppercase;
	}

	@media only screen and (max-width: 479px) {
		section.home-photographs .slide-content .tagline p {
			font-size: 15px !important;
		}
	}

	body.theme-dark section.home .slide-content .tagline p {
		color: #eeeeee;
	}

	section.home-photographs .slide-content .cta {
		padding-bottom: 11px;
		padding-top: 11px;
	}


	section.home-slider-text-animation .slide-content .animated-element,
	section.home-slider-text-animation .slide-content .animated-element div {
	    display: -webkit-flex;
	    display: -ms-flexbox;
	    display: flex;
	}

	section.home-slider-text-animation .slide-content .animated-element,
	section.home-slider-text-animation .slide-content .animated-element div {
	    -webkit-flex-direction: row;
	    flex-direction: row;
	}

	section.home-slider-text-animation .slide-content .animated-element,
	section.home-slider-text-animation .slide-content .animated-element div {
	    -webkit-align-items: center;
	    align-items: center;
	}

	section.home-slider-text-animation .slide-content .animated-element,
	section.home-slider-text-animation .slide-content .animated-element div {
	    -webkit-justify-content: center;
	    justify-content: center;
	}

	section.home-slider-text-animation .slide-content .animated-element {
	    -webkit-flex-wrap: wrap;
	    flex-wrap: wrap;
	}

	section.home-slider-text-animation .slide-content .animated-element div {
	    -webkit-flex-wrap: nowrap;
	    flex-wrap: nowrap;
	}

	section.home-photographs.home-slider-text-animation .slide-content .animated-element {
	    -webkit-justify-content: flex-start;
	    justify-content: flex-start;
	}

	section.home-slider-text-animation .slide-content .animated-element span {
	    display: block;
	    opacity: 0;
	    position: relative;
	}

	section.home-slider-text-animation .slide-content .animated-element span {
		color: inherit;
		font-family: inherit;
		font-size: inherit;
		font-weight: inherit;
		letter-spacing: inherit;
		line-height: inherit;
		text-transform: inherit;
		white-space: pre;
	}

	section.home-slider-text-animation .slide-content .animated-element span {
	    -webkit-flex: none;
	    -ms-flex: none;
	    flex: none;
	}

	section.home-slider-text-animation .slide-content .animated-element-after {
		opacity: 0;
	}

	section.home-slider-text-animation .slide-content .animated-element-after {
		-webkit-transform: translateY(5px);
		-moz-transform: translateY(5px);
		-ms-transform: translateY(5px);
		-o-transform: translateY(5px);
		transform: translateY(5px);
	}

	section.home-slider-text-animation .slide-current .animated-element-active {
		opacity: 1;
	}

	section.home-slider-text-animation .slide-current .animated-element-active {
		-webkit-transform: translateY(0px);
		-moz-transform: translateY(0px);
		-ms-transform: translateY(0px);
		-o-transform: translateY(0px);
		transform: translateY(0px);
	}

	section.home-slider-text-animation .slide-current .animated-element-active {
		-webkit-transition: opacity 0.8s ease 0s, -webkit-transform 0.8s ease 0s;
		-moz-transition: opacity 0.8s ease 0s, -moz-transform 0.8s ease 0s;
		-ms-transition: opacity 0.8s ease 0s, -ms-transform 0.8s ease 0s;
		-o-transition: opacity 0.8s ease 0s, -o-transform 0.8s ease 0s;
		transition: opacity 0.8s ease 0s, transform 0.8s ease 0s;
	}


/* Photograph Images
================================================== */

	section.home .photograph-image-container {
		height: 80px;
		position: relative;
		width: 50%;
	}

	section.home .photograph-image {
		left: 0px;
		opacity: 0;
		position: absolute;
		top: 0px;
	}

	section.home .photograph-image {
		-webkit-transform: translateX(-20px);
		-moz-transform: translateX(-20px);
		-ms-transform: translateX(-20px);
		-o-transform: translateX(-20px);
		transform: translateX(-20px);
	}

	section.home .photograph-image-active {
		opacity: 1;
		z-index: 1;
	}

	section.home .photograph-image-active {
		-webkit-transform: translateX(0px);
		-moz-transform: translateX(0px);
		-ms-transform: translateX(0px);
		-o-transform: translateX(0px);
		transform: translateX(0px);
	}

	section.home .photograph-image-active {
		-webkit-transition: opacity 1.2s ease 0.5s, -webkit-transform 1.2s ease 0.5s;
		-moz-transition: opacity 1.2s ease 0.5s, -moz-transform 1.2s ease 0.5s;
		-ms-transition: opacity 1.2s ease 0.5s, -ms-transform 1.2s ease 0.5s;
		-o-transition: opacity 1.2s ease 0.5s, -o-transform 1.2s ease 0.5s;
		transition: opacity 1.2s ease 0.5s, transform 1.2s ease 0.5s;
	}

	section.home .photograph-image .image {
		height: 80px;
		width: 110px;
	}

	section.home .photograph-image .image img {
  		box-shadow: 0px 20px 35px 0px rgba(0, 0, 0, 0.15);
	}

	section.home .photograph-image .image img {
		height: 100%;
		width: 100%;
	}

	section.home .photograph-image .text {
		padding-left: 24px;
		padding-right: 24px;
	}

	section.home .photograph-image .title {
		margin-bottom: 1px;
	}

	section.home .photograph-image .title p {
		color: #222222;
		font-size: 18px;
		font-weight: 500;
		letter-spacing: 0.1em;
		line-height: 1.5;
	}

	section.home .photograph-image.slide-theme-dark .title p {
		color: #eeeeee;
	}

	section.home .photograph-image .link {
		width: auto;
	}

	section.home .photograph-image .link a {
		color: #222222;
		display: inline;
		font-size: 8.5px;
		font-weight: 700;
		letter-spacing: 0.5em;
		line-height: 1;
		opacity: 0.75;
		padding-left: 2px;
		text-transform: uppercase;
	}

	section.home .photograph-image .link a:after {
		background-color: #222222;
		content: ' ';
		display: inline-block;
		height: 2px;
		width: calc(100% - 3px);
	}

	section.home .photograph-image .link a:after {
		-webkit-transform: translateY(-4px);
		-moz-transform: translateY(-4px);
		-ms-transform: translateY(-4px);
		-o-transform: translateY(-4px);
		transform: translateY(-4px);
	}

	section.home .photograph-image.slide-theme-dark .link a {
		color: #eeeeee;
	}

	section.home .photograph-image.slide-theme-dark .link a:after {
		background-color: #eeeeee;
	}


/* Navigation
================================================== */

	section.home .slider-nav {
		position: relative;
		width: 50%;
	}

	section.home .slider-nav > .container {
		-webkit-justify-content: flex-end;
		justify-content: flex-end;
	}

	section.home .slider-nav-button .button-nav {
		background-image: url('data:image/svg+xml;base64,PHN2ZyANCiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciDQogeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiDQogd2lkdGg9IjhweCIgaGVpZ2h0PSIxNnB4Ij4NCjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgIGZpbGw9InJnYigwLCAwLCAwKSINCiBkPSJNOC4wMDQsMTQuMzc3IEw2LjU3OCwxNS40OTcgTC0wLjAwNCw4LjE1NiBMMC4xOTUsOC4wMDAgTC0wLjAwNCw3Ljg0NCBMNi41NzgsMC41MDMgTDguMDA0LDEuNjIzIEwyLjI4Niw4LjAwMCBMOC4wMDQsMTQuMzc3IFoiLz4NCjwvc3ZnPg==');
		background-position: center;
		background-repeat: no-repeat;
		background-size: 8px 15px;
		cursor: pointer;
		height: 15px;
		opacity: 0.87;
		width: 8px;
	}

	section.home .slider-nav-button .button-nav {
		opacity: 1;
	}

	section.home .slider-nav-button .button-nav {
		-webkit-transition: opacity 0.4s ease 0s;
		-moz-transition: opacity 0.4s ease 0s;
		-ms-transition: opacity 0.4s ease 0s;
		-o-transition: opacity 0.4s ease 0s;
		transition: opacity 0.4s ease 0s;
	}

	section.home .slider-nav-light .slider-nav-button .button-nav {
		background-image: url('data:image/svg+xml;base64,PHN2ZyANCiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciDQogeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiDQogd2lkdGg9IjhweCIgaGVpZ2h0PSIxNnB4Ij4NCjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgIGZpbGw9InJnYigyNTUsIDI1NSwgMjU1KSINCiBkPSJNOC4wMDQsMTQuMzc3IEw2LjU3OCwxNS40OTcgTC0wLjAwNCw4LjE1NiBMMC4xOTUsOC4wMDAgTC0wLjAwNCw3Ljg0NCBMNi41NzgsMC41MDMgTDguMDA0LDEuNjIzIEwyLjI4Niw4LjAwMCBMOC4wMDQsMTQuMzc3IFoiLz4NCjwvc3ZnPg==');
		opacity: 0.93;
	}

	section.home .slider-nav-button .button-prev {
		margin-right: 52px;
	}

	section.home .slider-nav-button .button-next {
		margin-left: 52px;
	}

	section.home .slider-nav-button .button-next {
		-webkit-transform: rotate(180deg);
		-moz-transform: rotate(180deg);
		-ms-transform: rotate(180deg);
		-o-transform: rotate(180deg);
		transform: rotate(180deg);
	}
