/* @override http://www.schiattarella.com/wp-content/themes/schiattarella/style.css?ver=4.4.2 */

/*
Theme Name: Schiattarella
Theme URI: http://schiattarella.it/
Author: Fabio Folgori
Author URI: http://fabiofolgori.it/
Version: 1.0
*/

/* @group structure */

@import url(https://fonts.googleapis.com/css?family=Karla:400,700);

::-webkit-scrollbar {
	width: 10px;
}

::-webkit-scrollbar-track {
	background-color: #fff;
}

::-webkit-scrollbar-thumb {
	background-color: #000;
	border-left: solid 1px transparent;
}

::-webkit-scrollbar-thumb:hover {
	background-color: #000;
}

/* @group structure */

* {
	margin: 0;
	padding: 0;
}

body {
	font-family: 'Karla', sans-serif;
	font-size: 14px;
	display: flex;
	min-height: 100vh;
	flex-direction: column;
}

ul {
	list-style: none;
}

a {
	color: #000;
}

a:hover {
	color: #000;
}

a:focus {
	color: #000 !important;
}

.img-responsive {
	display: block;
	height: auto;
	width: 100%;
}

.uppercase {
	text-transform: uppercase !important;
}

.container {
	max-width: 920px !important;
}

/* @end */

/* @group header */

.logo {
	position: absolute;
	top: 30px;
	left: 30px;
	width: 40px;
	z-index: 2000;
}

.text {
	position: absolute;
	top: 50px;
	left: 50%;
	margin-left: -155px;
	width: 310px;
	z-index: 21;
}

.connect {
	font-size: 1.1em;
	font-weight: bold;
	position: absolute;
	top: 43px;
	height: 22px;
	right: 30px;
	width: 30px;
	z-index: 21;
	text-decoration: none;
}

.connect .relative {
	position: relative;
}

.connect .line {
	background: #000;
	border-radius: 2px;
	height: 2px;
	left: 0;
	width: 100%;
	position: absolute;
	-webkit-transition: all linear 0.15s;
	-moz-transition: all linear 0.15s;
	-ms-transition: all linear 0.15s;
	-o-transition: all linear 0.15s;
}

.connect .line-1 {
	top: 0px;	
}

.connect .line-2 {
	top: 10px;	
}

.connect .line-3 {
	top: 20px;	
}

body.menu-open .connect .line-1 {
	top: 9px;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

body.menu-open .connect .line-3 {
	top: 9px;
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

body.menu-open .connect .line-2 {
	opacity: 0;
}

body.menu-open .connect {
	text-decoration: underline;
}

#head {
	background: #fff;
	position: fixed;
	top: 0;
	left: 0;
	height: 100px;
	width: 100%;
	z-index: 2000;
}

/* @end */

/* @group menu */

.menu-container {
	display: none;
	position: absolute;
	top: 100px;
	background: #fff;
	box-sizing: border-box;
	padding: 0 50px;
	width: 100%;
	z-index: 19;
	-webkit-transition: all ease-in-out 0.35s;
	transition: all ease-in-out 0.35s;
}

body.menu-open .menu-container {
	display: block;
}

body.home .sub-menu {
	display: none;
}

.menu-container .menu:after {
	clear: both;
	content: '';
	display: block;
}

.menu-container > div + div {
	margin-left: 5%;
}

.menu-container .center {
	text-align: center;
}

.menu-container .right {
	float: right;
	width: 20%;
}

.menu-container.open {
	top: 100px;
}

#nav-menu {
	margin: 10px 0;
	display: -webkit-flex;
	display: -webkit-moz;
	display: flex;
	justify-content: space-between;
	-webkit-justify-content: space-between;
	-moz-justify-content: space-between;
}

#nav-menu:after {
	display: none;
}

#nav-menu li a {
	display: block;
	text-transform: lowercase;
}

#nav-menu > .current_page_item > a,
.current-menu-ancestor > a {
	font-weight: bold;
	text-decoration: none;
}

.single-project #menu-item-428 > a {
	font-weight: bold;
}

.current_page_item > a {
	text-decoration: line-through;
}

.contacts-container {
	display: none;
	padding: 10px 0;
}

span[id^='more-'] {
	display: block;
	height: 30px;
}

.box-contacts .entry-content h3,
.box-contacts .entry-content p {
	font-size: 1.8em;
}

body.contacts-open .contacts-container {
	display: block;
}

body .toggle-contacts a {
	text-decoration: none;
}

body.contacts-open .toggle-contacts a {
	font-weight: bold;
	text-decoration: none;
}

.contacts-container > div {
	float: left;
	width: 30%;
}

.contacts-container > div + div {
	margin-left: 5%;
}

.contacts-container .center {
	text-align: center;
}

.contacts-container .right {
	float: right;
	width: 20%;
}

/* @end */

/* @group footer */

.top {
	cursor: pointer;
	margin-top: 80px;
	text-align: center;
}

/*
.home .footer {
	display: none;
}
*/

.footer-home {
	margin: 0 50px;
	padding: 30px 0;
}

.footer {
	background: #000;
	color: #fff;
	font-size: 0.9em;
	bottom: 0;
	margin-top: 20px;
	padding: 15px;
	text-align: center;
	left: 0;
	width: 100%;
	z-index: 20;
}

.footer a {
	color: #fff;
	text-decoration: underline;
}

/* @end */

/* @group page */

body.menu-open #main {
	margin-top: 220px;
}
body.menu-open.contacts-open #main {
	margin-top: 330px;
}

body #main {
	margin-top: 160px;
	flex: 1;
}

#map {
	height: 400px;
}

body.home #main {
	margin-top: 150px;
}

#main h1 {
	margin-top: 0;
	margin-bottom: 20px;
}

#main h1:before {
	content: '';
	border-left: solid 1px #000;
	position: relative;
	left: -20px;
}

#main .entry-content {
	margin-bottom: 80px;
}

/* @end */

/* @group team */

.team-item {
	position: relative;
	margin-bottom: 30px;
}

.team-item .rollover {
	background: #C4BFB7;
	box-sizing: border-box;
	position: absolute;
	margin: 20px;
	padding: 20px;
	opacity: 0;
	top: 0;
	left: 0;
	height: calc(100% - 40px);
	width: calc(100% - 40px);
	transition: all ease-in-out 0.25s;
	-webkit-transition: all ease-in-out 0.25s;
	-moz-transition: all ease-in-out 0.25s;
	-ms-transition: all ease-in-out 0.25s;
	-o-transition: all ease-in-out 0.25s;
}

.team-item .rollover:hover {
	opacity: 1;
}

.team-item .rollover .name {
	font-weight: bold;
}

.team-item .rollover .name,
.team-item .rollover .role {
	font-size: 1.1em;
}

/* @end */

/* @group projects */

.loop-blog .wp-post-image {
	margin-top: 10px;
}

.projects-container .loop {
	position: relative;
	margin-bottom: 6%;
	float: left;
	width: 46%;
}

.projects-container .loop:nth-child(odd) {
	margin-right: 6%;
}

.projects-container .loop .rollover {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	background: #000;
	color: #fff;
	margin: 20px;
	padding: 20px;
	height: calc(100% - 40px);
	width: calc(100% - 40px);
	transition: all ease-in-out 0.25s;
	-webkit-transition: all ease-in-out 0.25s;
	-moz-transition: all ease-in-out 0.25s;
	-ms-transition: all ease-in-out 0.25s;
	-o-transition: all ease-in-out 0.25s;
}

.projects-container .loop .rollover:hover {
	opacity: 1;
}

.projects-container .loop .rollover h2 {
	font-size: 1.2em;
	font-weight: bold;
	margin: 0 0 5px;
}

.projects-container .loop .info {
	margin-bottom: 5px;
}

.vertical-title {
	position: absolute;
	bottom: 0;
	left: -5px;
	text-transform: lowercase;
	transform-origin: left bottom;
	text-align: center;
	margin: 0;
	transform: rotate(-90deg);
	-webkit-transform: rotate(-90deg);
	-moz-transform: rotate(-90deg);
	-ms-transform: rotate(-90deg);
	-o-transform: rotate(-90deg);
}

.gallery .row div {
	margin-bottom: 30px;
}

.page-id-18 .column p,
.page-id-511 .column p {
	margin-bottom: 15px;
}

.page-id-18 .column strong,
.page-id-18 .column b,
.page-id-511 .column strong,
.page-id-511 .column b {
	display: block;
	font-size: 2em;
	font-weight: normal;
	line-height: 1em;
}

.page-id-18 .column a,
.page-id-511 .column a {
	text-decoration: underline;
}

.page-id-18 .column a:hover,
.page-id-511 .column a:hover {
	color: #555;
}

/* @end */

/* @group owl */

.owl-container {
	margin: 100px 40px 0;
	position: relative;
}

.owl-container .left, .owl-container .right, .owl-container .owl-next, .owl-container .owl-prev {
	position: absolute;
	background: no-repeat center;
	top: 0;
	height: 100%;
	width: 250px;
	z-index: 9;
}

.owl-container .left {
	background-position: center left;
}

.owl-container .right {
	background-position: center right;
}

.owl-container .owl-next, .owl-container .owl-prev {
	overflow: hidden;
	text-indent: -2000px;
	cursor: pointer;
	z-index: 2000;
	width: 100px;
}

.owl-container .owl-prev {
	left: -40px;
}

.owl-container .owl-next {
	right: -40px;
}

.owl-container .left {
	cursor: pointer;
	background-image: url("images/left.png");
	left: 0;
	height: 100%;
}

.owl-container .right {
	cursor: pointer;
	background-image: url("images/right.png");
	right: 0;
	height: 100%;
}

.mobile .owl-container .left,
.mobile .owl-container .right,
.ios .owl-container .left,
.ios .owl-container .right {
	display: none !important;
}

.mobile .news-zone,
.ios .news-zone {
	margin: 0 40px !important;
	width: calc(100% - 80px) !important;
}

.mobile .news-title h2,
.ios .news-title h2 {
	font-size: 1.2em !important;
}

.max500 {
	height: auto;
	width: 100%;
	max-width: 500px;
}

body.mobile {
	overflow: hidden;
}

.owl-container .owl {
	height: calc(100vh - 150px);
	position: relative;
}

.owl-container .owl * {
	-webkit-backface-visibility: hidden;
			backface-visibility: hidden;
}

.owl-container .owl .slide {
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	height: -webkit-calc(100vh - 150px);
	height: calc(100vh - 150px);
	position: relative;
	width: 100%;
}

.owl-container .owl .slide * {
	cursor: url('images/cursor.png'), auto;
}

.owl-container .owl .slide-video * {
	cursor: default;
}

.owl-container .owl .slide #video {
	cursor: default !important;
}

.owl-container .owl .slide .play {
	cursor: pointer !important;
}

.owl-container .owl .slide a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.owl-container .owl .slide .content {
	color: #fff;
	position: absolute;
	bottom: 140px;
	left: 0;
	text-align: center;
	width: 100%;
}

.owl-container .owl .slide .content .tag {
	display: inline-block;
	border: solid 1px #fff;
	padding: 7px;
	font-size: 1.4em;
	margin-bottom: 20px;
	text-transform: lowercase;
}

.owl-container .owl .slide .content h2 {
	font-size: 3em;
	font-weight: bold;
	margin: 0;
}

.owl-container .owl .slide .content p {
	font-size: 2.2em;
	margin: 0;
}

.owl-container .owl .owl-dots {
	position: absolute;
	bottom: 110px;
	left: 0;
	width: 100%;
	text-align: center;
	z-index: 2000;
}

.ios .play {
	top: 30% !important; 
}

.ios .owl-container .owl .owl-dots {
	bottom: 120px !important;
}

.owl-container .owl .owl-dots .owl-dot {
	display: inline-block;
	margin: 0 5px;
	width: 40px;
}

.owl-container .owl .owl-dots .owl-dot span {
	border-bottom: solid 1px #fff;
	display: inline-block;
	width: 40px;
}

.owl-container .owl .owl-dots .owl-dot.active span {
	background: #fff;
	height: 4px;
	padding: 0;
	margin: 5px 0 0;
}

.left-text,
.right-text {
	color: #fff;
	line-height: 30px;
	position: absolute;
	top: 50%;
	white-space: nowrap;
	font-size: 1.4em;
	margin-top: -15px;
	z-index: 2000;
	opacity: 0;
	transition: all linear 0.15s;
	-webkit-transition: all linear 0.15s;
	-moz-transition: all linear 0.15s;
	-ms-transition: all linear 0.15s;
	-o-transition: all linear 0.15s;
}

.left-text.visible,
.right-text.visible {
	opacity: 1;
}

.left-text {
	left: 20px;
}

.right-text {
	text-align: right;
	right: 20px;
}

/* @end */

/* @group single */

.nav-zone {
	background: #000;
	color: #fff;
	opacity: 0;
	position: fixed;
	left: 0;
	top: 85px;
	width: 100%;
	z-index: 200;
	transition: all linear 0.15s;
	-webkit-transition: all linear 0.15s;
	-moz-transition: all linear 0.15s;
	-ms-transition: all linear 0.15s;
	-o-transition: all linear 0.15s;
}

body.nav-zone-active .nav-zone {
	opacity: 1;
}

body.menu-open .nav-zone {
	top: 180px;
}

body.menu-open.contacts-open .nav-zone {
	display: none;
}

.nav-zone a {
	color: #fff;
}

.prev-link,
.next-link {
	-webkit-transition: all linear 0.15s;
	-moz-transition: all linear 0.15s;
	-ms-transition: all linear 0.15s;
	-o-transition: all linear 0.15s;	
}

.prev-link {
	margin-left: -100px;
}

.next-link {
	margin-right: -100px;
}

.prev-link:hover {
	margin-left: 0;
}

.next-link:hover {
	margin-right: 0;
}

.nav-zone,
.prev-zone {
	line-height: 60px;
}

.nav-zone .prev-link {
	float: left;
}

.nav-zone .next-link {
	float: right;
}

.nav-zone span {
	margin-left: 10px;
}

.nav-zone span {
	margin-right: 10px;
}

.image-link {
	background-position: center;
	background-size: cover;
	display: block;
	float: left;
	height: 60px;
	width: 100px;
}

.next-link .image-link {
	float: right;
}

.info {
	font-weight: bold;
	margin-bottom: 10px;
	text-transform: lowercase;
}

h1 {
	font-weight: bold;
}

.share {
	margin: 40px 0;
	font-weight: bold;
	font-size: 0.85em;
	text-transform: uppercase;
}

.share-social {
	display: inline-block;
}

.share-social + .share-social {
	margin-left: 5px;
}

.file-container h3 {
	font-size: 1em;
	font-weight: bold;
}

.file-container a {
	background: url('images/icon.png') no-repeat center left;
	height: 60px;
	float: left;
	width: 50%;
	margin-bottom: 15px;
	line-height: 60px;
	display: block;
	padding-left: 40px;
}

/* @end */

/* @group home */

.slide-video {
	cursor: pointer;
	position: relative;
}

.slide-video .play {
	cursor: pointer;
	background: url('images/play.png') no-repeat center;
	background-size: contain;
	position: absolute;
	margin-top: -30px;
	margin-left: -30px;
	height: 60px;
	width: 60px;
	top: 50%;
	left: 50%;
	z-index: 2000;
}

#video {
	/*
	display: none;
	*/
	background-color: #fff;
	object-fit: cover;
	max-height: 100%;
	min-height: 100%;
	width: 100%;
}

.news-container {
	background: #000;
	color: #fff;
	padding: 10px 50px 30px;
	box-sizing: border-box;
	margin: 0 50px;
}

.news-container a {
	color: #fff;
}

.news-container a:active,
.news-container a:hover,
.news-container a:focus {
	color: #fff !important;
	text-decoration: none !important;
}

.news-container h2 {
	text-align: center;
	margin-top: 35px;
}

.news-container .news {
	margin-bottom: 30px;
}

.news-container .news-big {
	padding-top: 50px;
}

.news-container .exc {
	margin-bottom: 30px;
}

.news-container .date {
	margin-top: 10px;
	text-transform: uppercase;
	text-decoration: underline;
}

.news-container .rmore {
	font-size: 0.8em;
	display: inline-block;
	text-transform: uppercase;
	padding: 2px 10px;
	border: solid 1px #fff;
}

.news-container h3 {
	margin: 10px 0 15px;
}

.news-container h3 a {
	text-decoration: none;
}

#custom-row .col-sm-4 {

}

#custom-row .col-sm-7 {
	margin-left: 45px;
	max-width: 730px;
}

.appear {
	-webkit-transition: all 0.5s ease-out;
	transition: all 0.5s ease-out;
	-webkit-transform: translate3d(0, 50px, 0);
	transform: translate3d(0, 50px, 0);
	opacity: 0;
}

.appear.appeared {
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
	opacity: 1;
}

.arrow_box {
	position: relative;
	margin-top: 10px;
	z-index: 200;
}

.arrow_box:after, .arrow_box:before {
	top: 100%;
	left: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.arrow_box:after {
	border-color: rgba(0, 0, 0, 0);
	border-top-color: #000000;
	border-width: 10px;
	margin-left: -10px;
}
.arrow_box:before {
	border-color: rgba(255, 255, 255, 0);
	border-top-color: #ffffff;
	border-width: 14px;
	margin-left: -14px;
}

@keyframes bounce {
	0%, 20%, 50%, 80%, 100% {
		transform: translateY(0);
	}
	40% {
		transform: translateY(-16px);
	}
	60% {
		transform: translateY(-8px);
	}
}

.bounce {
	animation: bounce 2s 3;
}

/* @end */

/* @group news */

.single-news {
	margin-bottom: 30px;
}

.plus {
	background: url('images/plus.png') no-repeat center;
	background-size: contain;
	cursor: pointer;
	position: absolute;
	top: 0;
	right: 0;
	height: 25px;
	width: 25px;
	transition: all linear 0.15s;
	-webkit-transition: all linear 0.15s;
	-moz-transition: all linear 0.15s;
	-ms-transition: all linear 0.15s;
	-o-transition: all linear 0.15s;
}

.back-to-news {
	display: block;
	margin-bottom: 10px;
	text-decoration: underline;
}

.more-archive {
	background: url('images/archive-arrow.png') no-repeat center left;
	text-indent: 50px;
	display: block;
	text-decoration: underline;
}

.more-text {
	cursor: pointer;
	font-size: 1.2em;
	position: absolute;
	bottom: 0;
	padding-bottom: 30px;
	left: 0;
	width: 100%;
	background: #fff;
	box-sizing: border-box;
}

.more-text span {
	display: inline-block;
	background: #000;
	height: 20px;
	color: #fff;
	line-height: 20px;
	text-align: center;
	width: 20px;
}

.more-text i {
	color #000;
	font-size: 0.8em;
	font-style: normal;
	margin-left: 10px;
}

/* @end */

@media (max-height: 700px) {
	.slide-video .play {
		top: 30% !important;
		width: 50px;
		height: 50px;
		margin-top: -25px;
		margin-left: -25px;
		background-size: contain;
	}
}

@media (max-height: 600px) {
	.slide-video .play {
		display: none !important;
		width: 50px;
		height: 50px;
		margin-top: -25px;
		margin-left: -25px;
		background-size: contain;
	}
}

@media (max-width: 700px) {
	html,
	body,
	.owl-container,
	.owl {
		overflow-x: hidden;
	}
	.slide-video .play {
		top: 50% !important;
		width: 50px;
		height: 50px;
		margin-top: -25px;
		margin-left: -25px;
		background-size: contain;
	}
	.owl-container .owl {
		height: calc(100vh - 80px);
	}
	#head {
		top: 0;
		height: 80px;
	}
	#main {
		margin-top: 80px !important;
	}
	#nav-menu {
		display: block;
		text-align: center;
	}
	#nav-menu > li {
		margin-bottom: 10px;
	}
	.cover {
		height: 80px;
	}
	.logo {
		top: 20px;
		left: 20px;
	}
	.text {
		display: none;
	}
	.connect {
		top: 30px;
		right: 20px;
	}
	.menu {
		padding-left: 0;
		padding-right: 0;
		top: -200px;
	}
	.menu > div {
		clear: both;
		float: none;
		text-align: center;
		width: 100% !important;
	}
	.menu > div + div {
		margin-top: 20px;
		margin-left: 0;
	}
	.menu.open {
		top: 80px;
	}
	.owl-container {
		margin: 80px 0 0;
	}
	.owl-container .owl-prev, .owl-container .owl-next, .owl-container .left, .owl-container .right {
		display: none;
	}
	.owl-container .owl .slide {
		height: -webkit-calc(100vh - 80px);
		height: calc(100vh - 80px);
		position: relative;
	}
	.owl-container .owl .slide .content {
		bottom: inherit;
		top: 0;
		left: 0;
		width: 100%;
	}
	.owl-container .owl .slide .content .tag {
		display: block;
		border-top: none;
		border-left: none;
		border-right: none;
	}
	.owl-container .owl .slide .content h2 {
		font-size: 1.8em;
	}
	.owl-container .owl .slide .content p {
		font-size: 1.4em;
	}
	#map {
		height: 250px;
	}
	.box-contacts .entry-content h3,
	.box-contacts .entry-content p {
		font-size: 1.2em;
	}
	.vertical-title {
		display: none;
	}
	.projects-container .loop {
		width: 100%;
	}
	.projects-container .loop .rollover {
		position: relative;
		top: inherit;
		left: inherit;
		opacity: 1;
		margin: 0;
		width: 100%;
	}
	.projects-container img {
		margin-bottom: 0 !important;
	}
	.nav-zone {
		display: none !important;
	}
	.wp-post-image,
	.gallery .row > div {
		margin-bottom: 30px;
	}
	.team-item .rollover {
		margin: 0;
		height: 100%;
		width: 100%;
	}
	.menu-container {
		top: 80px;
		padding: 0;
	}
	.share {
		display: none !important;
	}
	.owl-container .owl .owl-dots {
		bottom: 80px !important;
	}

	.news-container {
		margin: 0;
	}

	.news-container .news:last-child {
		display: block;
	}

	.news-container .news-big {
		display: none;
	}

	.footer-home * {
		text-align: center;
	}

}





/* @group style v2 */

.back {
	display: block;
	margin-bottom: 15px;
	text-decoration: underline;
}

.archive .gray {
	background: #ececec;
	padding-bottom: 15px;
	margin-bottom: 30px;
}

.archive .loop {
	margin-bottom: 30px;
}

.archive .info {
	font-weight: normal;
	font-size: 1.1em;
	margin-bottom: 0;
	text-transform: capitalize;
}

.archive .tax-more {
	display: none;
}

.archive .tax-more-toggle {
	cursor: pointer;
	margin-bottom: 15px;
}

.archive .tax-more-toggle .tax-plus {
	width: 20px;
	height: 20px;
	background: #000;
	color: #fff;
	text-align: center;
	display: inline-block;
	margin-right: 10px;
	text-indent: 1px;
	font-size: 1.2em;
	line-height: 16px;
}

.archive .tax-less-toggle {
	cursor: pointer;
	display: none;
}

.archive .tax-less-toggle .tax-less {
	width: 20px;
	height: 20px;
	background: #000;
	color: #fff;
	text-align: center;
	display: inline-block;
	margin-right: 10px;
	text-indent: 1px;
	font-size: 1.2em;
	line-height: 20px;
}

.archive .entry-title {
	font-weight: bold;
	position: relative;
	margin-top: 10px;
}

.archive .entry-title a:hover {
	text-decoration: none;
}

.archive .entry-title:after {
	content: '';
	background: #000;
	top: 0;
	bottom: 0;
	left: -15px;
	opacity: .75;
	position: absolute;
	width: 1px;
}

.archive .author{
	color: #000;
	font-weight: lighter;
	text-transform: uppercase;
	margin-top: 10px;
	font-size: 0.5em;
}

.archive .more {
	text-decoration: underline;
}

.single-blog #main .entry-content {
	margin-bottom: 20px;
}

.single-blog #main .wp-post-image {
	margin-bottom: 25px;
}

/* @end */