@charset "utf-8";
/* CSS Document */

html, body {
	height:100%; 
	-webkit-transition:.15s ease-in-out;
	-moz-transition:.15s ease-in-out;
	-o-transition:.15s ease-in-out;
	-webkit-transition-property:background-attachment;
	-moz-transition-property:background-attachment;
	-o-transition-property:background-attachment;
	font-family: "Montserrat-Light", Arial, Helvetica, sans-serif;
	background:#111319;
	color:#fff;
	font-size:12px;
}

@media screen and (min-width: 480px) {
	body {
		font-size:14px;
	}
}

/*MAINTENANCE*/
#container404, #containerMaintenance {
  position:fixed;
  width:320px;
  height:300px;
  left:50%;
  top:50%;
  margin-top:-150px;
  margin-left:-160px;
  text-align:center;
  background: url(/img/logo.png) no-repeat top center;
  background-size:contain;
}

#containerMaintenance p {
	padding-top:160px;
	line-height:1.3;
}

#containerMaintenance h1 {
	font-weight: normal;
	text-align: center;
	font-size: 35px;
	line-height:1;
	margin:0;
}

#maintenance_active {
	background: #f00;
	color: #fff;
	text-align: center;
}

/*COOKIE*/

#cookie {
	display:none;
	position:fixed;
	top:0;
	left:0;
	width:100%;
	z-index:999999;
	background:#0d0f12;
}

#cookie p {
	padding:1%;
	color:#fff;
	margin:0;
}

@media screen and (min-width: 480px) {
	
	#cookie p {
		font-size:12px;
	}
	
}

@media screen and (min-width: 768px) {
	
	#cookie p {
		float:left;
		width:85%;
		height:80px;
	}	

}

@media screen and (min-width: 1366px) {
	
	#cookie p {
		height:60px;
	}		
	
}

#cookie p.cookieOK {
	/*
	background:#000;
	*/
	text-align:center;
}

@media screen and (min-width: 768px) {
	
	#cookie p.cookieOK {
		float: right;
		text-align: right;
		width: 11%;
		height:80px;
	}
	
}

@media screen and (min-width: 1366px) {
	
	#cookie p.cookieOK {
		height:60px;
	}		
	
}

#cookie button {
  padding:1%;
  color:#fff;
  background:#0d0f12;
  margin:0;
  width: 50px;
  height: 50px;
  border-radius: 25px;
}

#cookie a, #cookie a:visited, #cookie a:hover, #cookie a:active {
	color:#fff;
	text-decoration:underline;
}


/*PRIVACY*/
#privacyText {
	padding:10px;
	font-family: "Montserrat-Light", Arial, Helvetica, sans-serif;
}

@media screen and (min-width: 1024px) {
	
	#privacyText {
		padding:0;
		margin:0 100px;
	}
	
}

#privacyText p {
    font-weight:100;
	font-size: 14px;
	line-height:1.5;
}

#privacyText ul li, #privacyText ol li {
  font-weight:100;
  font-size: 14px;
  line-height:1.5;
}


/*
@media screen and (min-width: 1024px) {
	
	#privacy p {
		font-size:19px;
	}
	
}
*/

#privacy h1 {
  font-size:30px;
  text-align:center;
  text-transform:uppercase;
}

@media screen and (min-width: 1024px) {
	
	#privacy h1 {
		font-size:35px;
	}

}

#privacy h2 {
  font-size:20px;
  font-weight:100;
  text-transform:uppercase;
  text-align:center;
}

@media screen and (min-width: 1024px) {
	
	#privacy h2 {
		font-size:22px;
		text-align:left;
	}
	
}

#privacy h3 {
	font-size:19px;
	font-style:italic;
	text-align:center;
	font-weight:100;
}

@media screen and (min-width: 1024px) {
	
	#privacy h3 {
		font-size:21px;
		text-align:left;
	}
	
}

#privacy table td {
	padding: 3px;
	font-size: 14px;
	line-height:1.5;
}

@media screen and (min-width: 1024px) {
	
	#privacy table td {
		/*font-size:19px;*/
		padding: 10px;
	}
	
}

#closeWin {
	position: fixed;
	top:0;
	right:0;
	margin: 0;
}

@media screen and (min-width: 1024px) {

	#closeWin {
		top: 20px;
		right:20px;
	}
	
}

#closeWin a {
  background: #080808;
  width: 50px;
  height: 50px;
  display: block;
  color:#fff;
  text-decoration:none;
  
  /* transition 
  -webkit-transition: 1s;
  -moz-transition: 1s;
  transition: 1s;
  */
}

@media screen and (min-width: 1024px) {

	#closeWin a {
		width: 60px;
		height: 60px;
		border-radius: 30px;
	}

}

#closeWin a:after {
  /*content: '\21D1';*/
  content: 'X';
  color: #fff;
  font-size: 30px;
  font-weight: 100;
  /* width: 60px; */
  position: absolute;
  bottom: 5px;
  left: 14px;
}

@media screen and (min-width: 1024px) {

	#closeWin a:after {
		font-size: 38px;
	}

}

@media all and (-ms-high-contrast:none) {
	
	/* IE10 */
	#closeWin a:after {
		bottom: 9px;
		left: 12px;
	}
	
	/* IE11 */	 
	*::-ms-backdrop, #closeWin a:after { 
		bottom: 9px;
		left: 12px;
	}
	
}

/* FIREFOX */
@-moz-document url-prefix() { 
	#closeWin a:after {
		bottom: 8px;
		left: 11px;
	}
}

#closeWin a:hover {
}

/*HEADER*/
header {
	display:none;
	background-image:url(img/bg_header.png);
	background-position:top left;
	background-repeat:repeat-x;
	background-size: contain;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9;
	height:50px;
	background-color:#0d0f12;
	width: 100%;
	padding-top: 5px;
}

@media screen and (min-width: 480px) {

	header {
		height:61px;
		background-size:auto;
	}
	
}

#site-title {
	float:left;
	margin: 5px;
}

@media screen and (min-width: 480px) {
	
	#site-title {
		margin: 10px;
	}
		
}

#mainmenu ul {
  margin: 0px 0 0px 0px;
  float: right;
  width: auto;
  list-style: none;
}

#mainmenu ul li {
	float: left;
	margin: 0 0px 0 0;
	position: relative;
}

#mainmenu ul li a {
	cursor:pointer;
	color: #fff;
	display: block;
	padding: 22px 20px;
	text-transform:uppercase;
	text-decoration:none;
}

#mainmenu ul li a#home:hover, #mainmenu ul li a#home.active {
	color:#7eaa29;
}

#mainmenu ul li a#storia:hover,#mainmenu ul li a#storia.active {
	color:#7eaa29;
}

#mainmenu ul li a#lavorazioni:hover, #mainmenu ul li a#lavorazioni.active {
	color:#28a1d8;
}

#mainmenu ul li a#mappa:hover, #mainmenu ul li a#mappa.active {
	color:#dcbd42;
}

#mainmenu ul li a#contatti:hover, #mainmenu ul li a#contatti.active {
	color:#ca473f;
}
 
/* Button Responsive Menu*/
.btn-responsive-menu{
	display: none;
	float: right;
	padding:5px;
	cursor:pointer;
	margin: 5px 5px 0 0;
	color: #ffffff;
	border: 1px solid #fff;
}

.icon-bar {
	display: block;
	width: 18px;
	height: 2px;
	margin:5px;
	background-color: #f5f5f5;
	-webkit-border-radius: 1px;
	-moz-border-radius: 1px;
	border-radius: 1px;
	-webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
	-moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

.show{
	display:block !important;
}


@media (max-width: 767px) {
 
    /* Header */
    
	header {
		/*display:block;*/
		background-size: contain;
	}

	#site-title a {font-size:25px;margin-left:10px;}
  #mainmenu {display:none;}
	#mainmenu ul {width: 100%;margin-top:-1px;background-color:#0d0f12;text-align:center;}
  #mainmenu ul li {float: none;border-top: 1px solid #555;}
	#mainmenu ul li a {padding: 15px 0;color:#fff;}
	
	#mainmenu ul li a#home:hover {
		background:#7eaa29;
		color:#fff;
	}
	
	#mainmenu ul li a#storia:hover {
		background:#7eaa29;
		color:#fff;
	}
	
	#mainmenu ul li a#lavorazioni:hover {
		background:#28a1d8;
		color:#fff;
	}
	
	#mainmenu ul li a#mappa:hover {
		background:#dcbd42;
		color:#fff;
	}
	
	#mainmenu ul li a#contatti:hover {
		background:#ca473f;
		color:#fff;
	}
 
  .btn-responsive-menu {display:block;}
 
}

/*GENERIC*/
.slide {
	width:100%;
	position:relative;
	display:table;
	/*min-height:100%;*/
}

.spanCentered {
	display: table-cell;
  vertical-align: middle;
}

.leftFloat {
}

@media screen and (min-width: 768px) {

	.leftFloat {
		float:left;
	}

}

.rightFloat {
}

@media screen and (min-width: 768px) {

	.rightFloat {
		float:left;
	}

}

@media screen and (min-width: 1280px) {

	.rightFloat {
		float:right;
	}

}

.last {
}

@media screen and (min-width: 768px) {
	
	.last {
		margin-right:0 !important;
	}
	
}

/*PAGE*/
#intro {
	height: 100%;
	text-align:center;
	background:url(img/bg_colors.png) center center no-repeat;
	background-size:cover;
}

/*
@media screen and (min-width: 768px) {
	#intro {
		height: 100%;
		text-align:center;
	}
}
*/

#intro .wrapper{
	height:100vh;
  display:table-cell;
  width:auto;
  position:relative;
  width:100%;
  vertical-align:middle;
}
	
#introInner {
	display:none;
}

#intro #bgvidDesk, #intro #bgvidSmart, #intro #bgvidTab {
	width:100%;
	overflow: hidden;
}

@media only screen and (min-width:1280px) {
	
	#intro #bgvidDesk, #intro #bgvidSmart, #intro #bgvidTab {
		width:100%;
		height:100%;
	}
	
}

/*
@media screen and (min-width: 480px) {
	
	#intro #bgvidDesk, #intro #bgvidSmart, #intro #bgvidTab {
		height: 100%;
		margin-bottom:0;
	}
	
}
*/

#intro #buttons {
	display:none;
}

#intro #bgvidDesk iframe, #intro #bgvidSmart iframe, #intro #bgvidTab iframe {
	position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
	
}

#logo {
  width:242px;
}

@media screen and (min-width: 480px) {
	
	#logo {
		 width:380px;
	}
	
}

@media screen and (min-width: 640px) {
	
	#logo {
		 width:480px;
	}
	
}

@media screen and (min-width: 1024px) {
	
	#logo {
		 display:none;
	}
	
}

#intro h1 {
	margin:0;
  font-weight:100;
  font-size:21px;
  color:rgba(255,255,255,0.7);
}

@media all and (-ms-high-contrast:none) {

	/* IE10 */
	#intro h1 {
		font-size:21px;
	} 
	
	/* IE11 */
	*::-ms-backdrop, #intro h1 { 
		line-height:1.4;
	} 
	
}

@media screen and (min-width: 480px) {

	#intro h1 {
		font-size:29px;
	}

}

@media screen and (min-width: 640px) {
	
	#intro h1 {
		font-size:36px;
	}
	
}

@media screen and (min-width: 1024px) {
	
	#intro h1 {
		 display:none;
	}
	
}

#intro button {
  margin-top:10px;
  outline: 0;
  width: 236px;
  overflow: auto;
  padding: 3%;
  background:transparent;
  border: 1px solid #fff;
  font-weight: 100;
  font-size: 12px;
  color: #fff;
  text-transform:uppercase;
}

@media screen and (min-width: 640px) {
	
	#intro button {
		padding:10px;
	}	
	
}

@media screen and (min-width: 1024px) {
	
	#intro button {
		margin-top:0px;
		margin-bottom:40px;
	}
	
}

#intro button:hover {
	background:#0d0f12;
	border: 1px solid #0d0f12;
}


#history {
	min-height: 100%;
	/*
	background-image:url('img/bg_dna.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
	*/
	text-align:center;
	background-color:#eef1f2;
	color:#111319;
}

@media screen and (min-width: 1024px) {
	
	#history {
		background-image:url('img/bg_history.png');
		background-repeat: no-repeat;
		background-size: cover;
		background-position:bottom center;
		
	}
	
}

#historyInner {
	padding: 20px;
}

@media screen and (min-width: 480px) {

	#historyInner {
		padding: 20px 40px;
	}

}

#history h1 {
  margin:0;
  padding:10px 0;
  font-size:20px;
  color:#7eaa29;
  text-transform:uppercase;
}

@media screen and (min-width: 1024px) {
	
	#history h1 {
		font-size:22px;
	}
	
}

#history h2 {
  margin:0;
  padding:0 0 20px 0;
  font-size:30px;
  font-weight:100;
  text-transform:uppercase;
  background-image: url(img/divider_history.jpg);
  background-repeat:no-repeat;
  background-position:bottom center;
}

@media screen and (min-width: 1024px) {
	
	#history h2 {
		font-size:35px;
	}
	
}

#history p {
	line-height:1.5;
}

#works {
	min-height: 100%;
	/*
	background-image:url('img/bg_dna.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
	*/
	text-align:center;
	background-color:#111319;
	color:#fff;
}

@media screen and (min-width: 1024px) {
	
	#works {
		background-image:url('img/bg_services.png');
		background-repeat: no-repeat;
		background-size: cover;
		background-position:bottom center;
		
	}
	
}

#worksInner {
	padding: 20px;
}

@media screen and (min-width: 480px) {

	#worksInner {
		padding: 20px 40px;
	}

}

#works h1 {
  margin:0;
  padding:10px 0;
  font-size:20px;
  color:#28a1d8;
  text-transform:uppercase;
}

@media screen and (min-width: 1024px) {
	
	#dna h1 {
		margin: 0 100px;
		padding:50px 0;
		font-size: 60px;
	}	
	
}

#works h2 {
  margin:0;
  padding:0 0 20px 0;
  font-size:30px;
  font-weight:100;
  text-transform:uppercase;
  background-image: url(img/divider_services.jpg);
  background-repeat:no-repeat;
  background-position:bottom center;
}

#works p {
	line-height:1.5;
}

.workBox {
	background:#0d0f12;
	padding:10px;
	margin-top:20px;
}

@media screen and (min-width: 768px) {
	
	.workBox {
		width: 45%;
		margin-right: 1%;
		margin-left: 1%;
	}

}

@media screen and (min-width: 1024px) {
	
	.workBox {
		padding: 2%;
		width: 43%;
		margin-right: 2%;
	}

}

@media screen and (min-width: 1366px) {
	
	.workBox {
		padding: 2%;
		width: 46%;
		margin-right:0;
		clear: both;
	}

}


.workBox h3 {
  margin:0;
  font-size:19px;
  font-weight:100;
  text-transform:uppercase;
  color:#28a1d8;
}


#offices {
	min-height: 100%;
	/*
	background-image:url('img/bg_dna.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
	*/
	text-align:center;
	background-color:#eef1f2;
	color:#111319;
}

@media screen and (min-width: 1024px) {
	
	#offices {
		background-image:url('img/bg_offices.png');
		background-repeat: no-repeat;
		background-size: cover;
		background-position:bottom center;
	}
	
}

#officesInner {
	padding: 20px;
}

@media screen and (min-width: 480px) {

	#officesInner {
		padding: 20px 40px;
	}

}

@media screen and (min-width: 1024px) {
	
	#offices .sede {
		margin:0 1%;
		width:48%;
		float:left;
	}
	
}

#offices h1 {
  margin:0;
  padding:10px 0;
  font-size:20px;
  color:#dcbd42;
  text-transform:uppercase;
}

@media screen and (min-width: 1024px) {
	
	#dna h1 {
		margin: 0 100px;
		padding:50px 0;
		font-size: 60px;
	}	
	
}

#offices h2 {
	margin:0;
	padding:0 0 20px 0;
	font-size:30px;
	font-weight:100;
	text-transform:uppercase;
	background-image: url(img/divider_offices.jpg);
	background-repeat:no-repeat;
	background-position:bottom center;
}

#offices p {
	line-height:1.5;
}

.map {
	width:100%;
	height:270px;
}

@media screen and (min-width: 1024px) {
	
	.map {
		height:350px;
	}
	
}

#contacts {
	min-height: 100%;
	/*
	background-image:url('img/bg_dna.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
	*/
	text-align:center;
	background-color:#111319;
	color:#fff;
}

@media screen and (min-width: 1024px) {
	
	#contacts {
		background-image:url('img/bg_contacts.png');
		background-repeat: no-repeat;
		background-size: cover;
		background-position:bottom center;
	}
	
}


#contactsInner {
	padding: 20px;
}

@media screen and (min-width: 480px) {

	#contactsInner {
		padding: 20px 40px;
	}

}

#contacts h1 {
  margin:0;
  padding:10px 0;
  font-size:20px;
  color:#ca473f;
  text-transform:uppercase;
}

@media screen and (min-width: 1024px) {
	
	#contacts h1 {
		margin:0;
		padding:10px 0;
		font-size:22px;
		color:#ca473f;
		text-transform:uppercase;
	}
	
}

#contacts h2 {
  margin:0;
  padding:0 0 20px 0;
  font-size:30px;
  font-weight:100;
  text-transform:uppercase;
  background-image: url(img/divider_contacts.jpg);
  background-repeat:no-repeat;
  background-position:bottom center;
}

#contacts p {
	line-height:1.5;
}

.contactsBox {
	padding:10px 0;
	margin-top:10px;
}

@media screen and (min-width: 768px) {
	
	.contactsBox {
		width:45%;
		margin-right:10%;
	}
	
}

/*
@media screen and (min-width: 1024px) {
	
	.contactsBox {
		width:40%;
		margin-right:20%;
	}
	
}
*/

.contactsBox h3 {
  margin:0;
  font-size:19px;
  font-weight:100;
  text-transform:uppercase;
  color:#ca473f;
}

#infoForm input[type=text], #quoteForm input[type=text] {
  outline: 0;
  width: 94%;
  overflow: auto;
  padding: 3%;
  background:#0d0f12;
  border: 1px solid #fff;
  font-family: "Montserrat-Light", Arial, Helvetica, sans-serif;
  font-weight: 100;
  color: #fff;
}

@media screen and (min-width: 1024px) {
	
	#contactForm input[type=text] {
		width: 97%;
	}	
	
}

#infoForm textarea, #quoteForm textarea {
  outline: 0;
  width: 94%;
  overflow: auto;
  padding: 3%;
  background:#0d0f12;
  border: 1px solid #fff;
  height: 200px;
  font-family: "Montserrat-Light", Arial, Helvetica, sans-serif;
  font-weight: 100;
  color: #fff;
}

@media screen and (min-width: 1024px) {
	
	#contactForm textarea {
		width: 97%;
	}
	
}

#infoForm label a,
#infoForm label a:visited, 
#quoteForm  label a,
#quoteForm label a:visited {
  color:#28a1d8;
  text-decoration:none;
}

#infoForm label a:active,
#infoForm label a:hover, 
#quoteForm  label a:active,
#quoteForm label a:hover {
  color:#28a1d8;
  text-decoration:underline;
}

#infoForm button, #quoteForm button {
  outline: 0;
  width: 100%;
  overflow: auto;
  padding: 3%;
  background:#0d0f12;
  border: 1px solid #fff;
  font-weight: 100;
  font-size: 12px;
  color: #fff;
  text-transform:uppercase;
}

@media screen and (min-width: 640px) {
	
	#infoForm button, #quoteForm button {
		width: 220px;
		padding:10px;
	}	
	
}

#infoForm button:hover, #quoteForm button:hover {
	background:#ca473f;
	border: 1px solid #ca473f;
}

#responseInfo, #responseQuote {
  color:#fff;
  font-weight: 100;
  text-align:center;
}

#responseInfo p.sendOK, #responseQuote p.sendOK {
	color:#0f0;
}


#responseInfo p.formError, #responseQuote p.formError {
	color:#f00;
}

footer {
	position: relative;
	background-color: #0d0f12;
	text-align:center;
	padding:10px 0;
}

footer p {
	margin:0;
	line-height:1.2;
}

#backTop {
	position: fixed;
	bottom:5px;
	right:5px;
	margin: 0;
}

@media screen and (min-width: 1024px) {

	#backTop {
		/*bottom: 20px;
		right:20px;*/
	}
	
}

#backTop a {
  background: #0d0f12;
  width: 37px;
  height: 36px;
  display: block;
  color: #eef1f2;
  text-decoration: none;
  /*border: 1px solid #0d0f12;*/
  /* transition 
  -webkit-transition: 1s;
  -moz-transition: 1s;
  transition: 1s;
  */
}

@media screen and (min-width: 1024px) {

	#backTop a {
		width: 45px;
		height: 45px;
		/*border-radius: 30px;*/
	}

}

#backTop a:after {
  /* content: '\21D1'; */
  content: '\25b2';
  color: #eef1f2;
  font-size: 30px;
  font-weight: 100;
  font-family: Arial, Helvetica, sans-serif;
  /*font-family: GothamLight;*/
  /* width: 60px; */
  position: absolute;
  bottom: 0px;
  left: 5px;
}

@media screen and (min-width: 1024px) {

	#backTop a:after {
		font-size: 38px;
	}

}

@media all and (-ms-high-contrast:none) {
	
	/* IE10 */
	#backTop a:after {
		bottom: 9px;
		left: 12px;
	}
	
	/* IE11 */	 
	*::-ms-backdrop, #backTop a:after { 
		bottom: 9px;
		left: 12px;
	}
	
}

/* FIREFOX */
@-moz-document url-prefix() { 
	#backTop a:after {
		bottom: 8px;
		left: 11px;
	}
}

#backTop a:hover {
}


/*FINE*/

#dnaInner1 {
    background: #fff;
}

#dnaInner2 {
    width: 100%;
	margin:0 auto;
	height: auto;
}

@media screen and (min-width: 768px) {
	
	#dnaInner2 {
		height: 750px;
	}
	
}

@media screen and (min-width: 1366px) {
	
	#dnaInner2 {
		width:auto;
		margin:0 100px;
	}
	
}

@media screen and (min-width: 1920px) {
	
	#dnaInner2 {
		height: 1000px;
	}
		
}

#dnaBox1 {
	display: table;
	width:100%;
	margin-top:20px;
	color:#fff;
}

@media screen and (min-width: 768px) {

	#dnaBox1 {
		height: 50%;
	}

}

@media screen and (min-width: 1024px) {

	#dnaBox1 {
		width:50%;
		height: 50%;
	}

}

#dnaBox2 {
	display: table;
	width:100%;
	margin-bottom:20px;
	margin-top:20px;
}

@media screen and (min-width: 768px) {
	
	#dnaBox2 {
		height: 50%;
	}	
	
}

@media screen and (min-width: 1024px) {
	
	#dnaBox2 {
		width:50%;
		height: 50%;
		margin-top:0;
	}	
	
}

#dnaBox1 div, #dnaBox2 div {
  display: table-cell;
  vertical-align: middle;
  padding: 20px;
}

#dnaBox2 div {
}

@media screen and (min-width: 1024px) {
	
	#dnaBox2 div {
		text-align:right;
	}
	
}

#dnaBox1 p, #dnaBox2 p {
	line-height:1.3;
	margin:10px 0;
	font-family:GothamLight;
	font-size:19px;
	color:#fff;
}

@media screen and (min-width: 1024px) {
	
	#dnaBox1 p, #dnaBox2 p {
		line-height:1.5;
		font-family:GothamBook;
		font-size:21px;
	}
	
}

.alphaBlue {
    /* Fallback for web browsers that don't support RGBa */
    background-color: rgb(0, 0, 255);
    /* RGBa with 0.6 opacity */
    background-color: rgba(0, 0, 255, 0.5);
}

.alphaRed {
    /* Fallback for web browsers that don't support RGBa */
    background-color: rgb(255, 0, 0);
    /* RGBa with 0.6 opacity */
    background-color: rgba(255, 0, 0, 0.5);
}

.alphaYellow {
    /* Fallback for web browsers that don't support RGBa */
    background-color: rgb(255, 255, 0);
    /* RGBa with 0.6 opacity */
    background-color: rgba(255, 255, 0, 0.5);
}

.alphaBlack {
    /* Fallback for web browsers that don't support RGBa */
    background-color: rgb(0, 0, 0);
    /* RGBa with 0.6 opacity */
    background-color: rgba(0, 0, 0, 0.5);
}

.alphaWhite {
    /* Fallback for web browsers that don't support RGBa */
    background-color: rgb(255, 255, 255);
    /* RGBa with 0.6 opacity */
    background-color: rgba(255, 255, 255, 0.5);
}

.borderYellow {
	border:10px solid #cba947;
}

.borderRed {
	border:10px solid #9c3e3c;
}

.borderNavy {
	border:10px solid #0b0f45;
}

.borderBlack {
	border:10px solid #080808;
}


.leftText {
}

@media screen and (min-width: 1024px) {
	
	.leftText {
		text-align:left;
	}
	
}

.rightText {
}

@media screen and (min-width: 1024px) {
	
	.rightText {
		text-align:right;
	}
	
}

.big {
	font-family:GothamBold;
}

.break {
	display:block;
}

@media screen and (min-width: 1024px) {
	
	.break {
		display:inline;
	}
	
}

.spanCentered {
  display: table-cell;
  vertical-align: middle;
}

@media screen and (min-width: 1024px) {
}


#services {
	min-height: 100%;
	background-image:url('img/bg_service_carousel.jpg');
	background-color:#fff;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
}

#servicesInner1 {
	background: #080808;
}

#servicesInner1 h1 {
  margin: 0;
  padding:20px 0;
  font-family:GothamLight;
  font-weight: 100;
  font-size: 25px;
  color: #fff;
  text-align:center;
}

@media screen and (min-width: 1024px) {
	
	#servicesInner1 h1 {
		margin: 0 100px;
		padding:50px 0;
		font-size: 60px;
	}	
	
}

#servicesInner2 {
	background:#eee;
	padding:10px 0 0 0;
}

@media screen and (min-width: 1024px) {

	#servicesInner2 {
		background:#eee;
		padding:10px 0;
	}
	
}

#servicesInner2 div {
	padding:10px;
	margin:0 auto 10px auto;
	height:244px;
	display: table;
}

@media screen and (min-width: 480px) {
	
	#servicesInner2 div {
		margin:0 30px 10px 30px; 
	}

}

@media screen and (min-width: 640px) {
	
	#servicesInner2 div {
		margin:0 60px 10px 60px; 
	}

}

@media screen and (min-width: 768px) {
	
	#servicesInner2 div {
		margin:0 100px 10px 100px; 
	}

}

@media screen and (min-width: 1024px) {
	
	#servicesInner2 .serviceContainer {
		width:870px;
		margin:0 auto !important;
	}	
	
}

@media screen and (min-width: 1366px) {
	
	#servicesInner2 .serviceContainer {
		width:1020px;
		margin:0 auto !important;
	}
}

@media screen and (min-width: 1024px) {
	
	#service1 {
		width:250px;
		height:250px !important;
		margin:0px auto 0 auto !important;
	}
	
}

@media screen and (min-width: 1366px) {
	
	#service1 {
		width:300px;
		height:300px !important;
	}
	
}

@media screen and (min-width: 1024px) {
	
	#service2 {
		float:left;
		width:250px;
		height:250px !important;
		margin:0 auto !important;
	}
	
}

@media screen and (min-width: 1366px) {
	
	#service2 {
		float:left;
		width:300px;
		height:300px !important;
	}
	
}

@media screen and (min-width: 1024px) {
	
	#service3 {
		float:right;
		width:250px;
		height:250px !important;
		margin:0 auto !important;
	}
	
}

@media screen and (min-width: 1366px) {
	
	#service3 {
		float:right;
		width:300px;
		height:300px !important;
	}
	
}

@media screen and (min-width: 1024px) {
	
	#service4 {
		clear:both;
		width:250px;
		height:250px !important;
		margin:0 auto !important;
	}
	
}

@media screen and (min-width: 1366px) {
	
	#service4 {
		clear:both;
		width:300px;
		height:300px !important;
		margin:20px auto 0 auto !important;
	}
	
}

#servicesInner2 h2 {
	line-height: 1.3;
	margin: 10px 0;
	font-family: GothamBold;
	font-size: 19px;
	text-align:center;
}

@media screen and (min-width: 1024px) {

	#servicesInner2 h2 {
		font-size:21px;
	}

}

#servicesInner2 p {
	line-height: 1.3;
	margin: 10px 0;
	font-family: GothamLight;
	font-size: 19px;
	text-align:center;
}

@media screen and (min-width: 1024px) {

	#servicesInner2 p {
		font-size:21px;
	}

}

#servicesInner3 {
	margin:0;
}

@media screen and (min-width: 1024px) {
	
	#servicesInner3 {
		margin:0 100px;
	}
		
}

#servicesCarousel {
	width: 280px;
	margin: 20px auto;
}

@media screen and (min-width: 480px) {
	
	#servicesCarousel {
		width: 400px;
	}
	
}

@media screen and (min-width: 1024px) {
	
	#servicesCarousel {
		width: 500px;
	}
	
}


/*
@media screen and (min-width: 768px) {
	
	#servicesCarousel {
		width: 730px;
	}
	
}

@media screen and (min-width: 1920px) {
	
	#servicesCarousel {
		width: 1620px;
		margin: 20px auto;
	}
		
}
*/


#servicesCarousel .slick-prev {
	left:-10px;
}

@media screen and (min-width: 1024px) {
	
	#servicesCarousel .slick-prev {
		left:-25px;
	}
	
}

#servicesCarousel .slick-next {
	right:-10px;
}

@media screen and (min-width: 1024px) {
	
	#servicesCarousel .slick-next {
		right:-25px;
	}
	
}

#servicesCarousel .slick-prev:before {
  transform: scale(1,3);
  -webkit-transform: scale(1,3);
  display: inline-block;
  content: '\003c';
  font-size: 20px;
}

@media screen and (min-width: 1024px) {
	
	#servicesCarousel .slick-prev:before {
		font-size: 30px;
	}
	
}

#servicesCarousel .slick-next:before {
  transform: scale(1,3);
  -webkit-transform: scale(1,3);
  display: inline-block;
  content: '\003e';
  font-size: 20px;
}

@media screen and (min-width: 1024px) {
	
	#servicesCarousel .slick-next:before {
		font-size: 30px;
	}
		
}

#servicesCarousel .slick-track {
	left: -10px;
}

#servicesCarousel div {
	margin:0 10px;
	height: 630px;
}

@media screen and (min-width: 480px) {
	
	#servicesCarousel div {
		height:430px;
	}

}

@media screen and (min-width: 1024px) {
	
	#servicesCarousel div {
		height:500px;
	}

}

	
#servicesCarousel div h1 {
  font-family:GothamBook;
  font-weight: 100;
  font-size: 19px;
  color: #fff;
  text-align:center;
  padding:10px;
  margin:0;
}

@media screen and (min-width: 1024px) {
	
	#servicesCarousel div h1 {
		font-family:GothamBold;
		font-size: 24px;
		padding:20px;
	}
	
}

#servicesCarousel div p {
  font-family:GothamLight;
  font-weight: 100;
  font-size: 19px;
  color: #fff;
  text-align:center;
  padding:0 10px;
  margin:0;
}

@media screen and (min-width: 1024px) {

	#servicesCarousel div p {
		font-size: 21px;
		padding:20px;
	}
	
}

#servicesInner4 {
	background:#eee;
	padding:10px 0;
}

#servicesInner4 div {
	padding:10px;
	margin:0 auto 10px auto;
	height:244px;
	display: table;
}

@media screen and (min-width: 480px) {
	
	#servicesInner4 div {
		margin:0 30px 10px 30px; 
	}

}

@media screen and (min-width: 640px) {
	
	#servicesInner4 div {
		margin:0 60px 10px 60px; 
	}

}

@media screen and (min-width: 768px) {
	
	#servicesInner4 div {
		margin:0 100px 10px 100px; 
	}

}

@media screen and (min-width: 1024px) {
	
	#servicesInner4 .serviceContainer {
		width:750px;
		margin:0 auto !important;
	}	
	
}

@media screen and (min-width: 1366px) {
	
	#servicesInner4 .serviceContainer {
		width:900px;
		margin:0 auto !important;
	}
}

@media screen and (min-width: 1024px) {
	
	#serviceA {
		width:250px;
		height:250px !important;
		margin:0px auto 0 auto !important;
	}
	
}

@media screen and (min-width: 1366px) {
	
	#serviceA {
		width:300px;
		height:300px !important;
	}
	
}

@media screen and (min-width: 1024px) {
	
	#serviceB {
		float:left;
		width:250px;
		height:250px !important;
		margin:-30px !important;
	}
	
}

@media screen and (min-width: 1366px) {
	
	#serviceB {
		float:left;
		width:300px;
		height:300px !important;
	}
	
}

@media screen and (min-width: 1024px) {
	
	#serviceC {
		float:right;
		width:250px;
		height:250px !important;
		margin:-30px !important;
	}
	
}

@media screen and (min-width: 1366px) {
	
	#serviceC {
		float:right;
		width:300px;
		height:300px !important;
	}
	
}

@media screen and (min-width: 1024px) {
	
	#serviceD {
		clear:both;
		width:250px;
		height:250px !important;
		margin:0 auto !important;
	}
	
}

@media screen and (min-width: 1366px) {
	
	#serviceD {
		clear:both;
		width:300px;
		height:300px !important;
		margin:20px auto 0 auto !important;
	}
	
}


#servicesInner4 h2 {
	line-height: 1.3;
	margin: 10px 0;
	font-family: GothamBold;
	font-size: 19px;
	text-align:center;
}

#servicesInner4 p {
	line-height: 1.3;
	margin: 10px 0;
	font-family: GothamLight;
	font-size: 19px;
	text-align:center;
}

#servicesInner5 {
	background:#fff;
	padding-bottom: 10px;
}

#servicesInner5 h1 {
  margin: 0;
  padding:20px 0;
  font-family:GothamLight;
  font-weight: 100;
  font-size: 25px;
  color: #080808;
  text-align:center;
}

@media screen and (min-width: 1024px) {
	
	#servicesInner5 h1 {
		margin:0 100px;
		padding:50px 0;
		font-size: 50px;
	}
	
}

#clientsCarousel {
	width: 280px;
	margin: 0px auto;
}

@media screen and (min-width: 480px) {
	
	#clientsCarousel {
		width: 400px;
	}
	
}

/*
@media screen and (min-width: 768px) {
	
	#clientsCarousel {
		width: 730px;
	}
	
}
*/

@media screen and (min-width: 1024px) {
	
	#clientsCarousel {
		width: 500px;
	}
	
}

/*
@media screen and (min-width: 1920px) {
	
	#clientsCarousel {
		width: 1620px;
	}
	
}
*/

#clientsCarousel .slick-prev {
	left:-10px;
}

@media screen and (min-width: 1024px) {
	
	#clientsCarousel .slick-prev {
		left:-25px;
	}
	
}

#clientsCarousel .slick-next {
	right:-10px;
}

@media screen and (min-width: 1024px) {
	
	#clientsCarousel .slick-next {
		right:-25px;
	}
	
}

#clientsCarousel .slick-prev:before {
  transform: scale(1,3);
  -webkit-transform: scale(1,3);
  display: inline-block;
  content: '\003c';
  font-size: 20px;
  color:#bbb;
}

@media screen and (min-width: 1024px) {
	
	#clientsCarousel .slick-prev:before {
		font-size: 30px;
	}
	
}

#clientsCarousel .slick-next:before {
  transform: scale(1,3);
  -webkit-transform: scale(1,3);
  display: inline-block;
  content: '\003e';
  font-size: 20px;
  color:#bbb;
}

@media screen and (min-width: 1024px) {
	
	#clientsCarousel .slick-next:before {
		font-size: 30px;
	}
		
}

#clientsCarousel .slick-track {
	left: -10px;
}

#clientsCarousel div {
	margin:0 10px;
	height:234px;
}

@media screen and (min-width: 480px) {
	
	#clientsCarousel div {
		height:360px;
	}

}

#clientsCarousel div img {
	width:234px;
	margin:0 auto;
}

@media screen and (min-width: 480px) {
	
	#clientsCarousel div img {
		width:360px;
	}

}


#people {
	min-height: 100%;
	background-image:url('img/bg_people2.jpg');
	background-color:#fff;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
}

#peopleInner1 {
	background: #080808;
}

#peopleInner1 h1 {
  margin:0;
  padding:20px 0;
  font-family:GothamLight;
  font-weight: 100;
  font-size: 25px;
  color: #fff;
  text-align:center;
}

@media screen and (min-width: 1024px) {
	
	#peopleInner1 h1 {
		margin:0 auto;
		padding:50px 0;
		font-size: 60px;
	}	
	
}

#peopleInner2 {
}

.peopleBox {
    margin:20px 0;
}

@media screen and (min-width: 1024px) {

	.peopleBox {
		margin: 20px 100px;
	}

}

.peopleBox1 {
    width: 100%;
	padding: 20px 0;
}

@media screen and (min-width: 1024px) {
	
	.peopleBox1 {
		width: 33%;
		height: 460px;
		display: table;
		padding:0;
	}	
	
}

.peopleBox2 {
	width:100%;
}

@media screen and (min-width: 1024px) {
	
	.peopleBox2 {
		width:66%;
		height: 460px;
		display: table;
	}	
	
}

.peopleBox1 h1 {
  font-family: GothamLight;
  font-weight: 100;
  font-size: 23px;
  color: #080808;
  padding:0 20px;
  line-height:1;
  margin:0;
}

@media screen and (min-width: 1024px) {

	.peopleBox1 h1 {
		font-size: 50px;
	}

}

.peopleBox1 h2 {
  font-family: GothamLight;
  font-weight: 100;
  font-size: 19px;
  color: #080808;
  padding:0 20px;
  line-height:1;
  margin:0;
}

@media screen and (min-width: 1024px) {
	
	.peopleBox1 h2 {
		font-size: 32px;
	}	
	
}

.peopleBox1 p, .peopleBox2 p {
  font-family: GothamLight;
  font-weight: 100;
  font-size: 19px;
  color: #080808;
  padding:0 20px;
  line-height:1.5;
  margin:0 0 10px 0;
  color:#fff;
}

@media screen and (min-width: 1024px) {
	
	.peopleBox1 p, .peopleBox2 p {
		font-family: GothamLight;
		font-weight: 100;
		font-size: 19px;
		color: #080808;
		padding:0 20px;
		line-height:1.5;
		margin-bottom:10px;
	}	
	
}

#stories {
	min-height: 100%;
	background-image:url('img/bg_stories.jpg');
	background-color:#fff;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
}

#storiesInner1 {
    background: #fff;
}

#storiesInner1 h1 {
  margin:0;
  padding:20px 0;
  background: #fff;
  font-family:GothamLight;
  font-weight: 100;
  font-size: 25px;
  color: #ccc;
  text-align:center;
}

@media screen and (min-width: 1024px) {

	#storiesInner1 h1 {
		margin:0 auto;
		padding:50px 0;
		font-size: 60px;
	}

}

#storiesInner2 {
  margin:0;
  vertical-align: middle;
}

@media screen and (min-width: 1024px) {

	#storiesInner2 {
		margin:0 100px;
		height: 1000px;
		vertical-align: middle;
	}

}

#storiesBox {
  width: 100%;
  margin-top:20px;
}

@media screen and (min-width: 1024px) {
	
	#storiesBox {
		width: 50%;
		margin-top:100px;
	}
		
}

#storiesBox div {
  display: table-cell;
  vertical-align: middle;
  padding: 20px;
}

#storiesBox p {
	line-height:1.3;
	margin:10px 0;
	font-family:GothamLight;
	font-size:19px;
	color:#fff;
}

@media screen and (min-width: 1024px) {
	
	#storiesBox p {
		line-height:1.5;
		font-size:21px;
		font-family:GothamBook;
	}


}

#storiesInner3 {
  /*display: table-row;
   height: 80%; 
  vertical-align: middle;*/
  background:#fff;
  padding:10px 0;
}

/*
#storiesInner3 .slick-slider {
	margin: 10px 0;
}
*/

#storiesCarousel {
	width: 280px;
	margin: 20px auto;
}

@media screen and (min-width: 480px) {
	
	#storiesCarousel {
		width: 400px;
	}
	
}

@media screen and (min-width: 1024px) {
	
	#storiesCarousel {
		width: 500px;
	}
	
}


/*
@media screen and (min-width: 768px) {
	
	#storiesCarousel {
		width: 730px;
	}
	
}

@media screen and (min-width: 1920px) {
	
	#storiesCarousel {
		width: 1620px;
		margin: 20px auto;
	}
		
}
*/

#storiesCarousel .slick-prev {
	left:-10px;
}

@media screen and (min-width: 1024px) {
	
	#storiesCarousel .slick-prev {
		left:-25px;
	}
	
}

#storiesCarousel .slick-next {
	right:-10px;
}

@media screen and (min-width: 1024px) {
	
	#storiesCarousel .slick-next {
		right:-25px;
	}
	
}

#storiesCarousel .slick-prev:before {
  transform: scale(1,3);
  -webkit-transform: scale(1,3);
  display: inline-block;
  content: '\003c';
  font-size: 20px;
  color: #000;
}

@media screen and (min-width: 1024px) {
	
	#storiesCarousel .slick-prev:before {
		font-size: 30px;
	}
	
}

#storiesCarousel .slick-next:before {
  transform: scale(1,3);
  -webkit-transform: scale(1,3);
  display: inline-block;
  content: '\003e';
  font-size: 20px;
  color: #000;
}

@media screen and (min-width: 1024px) {
	
	#storiesCarousel .slick-next:before {
		font-size: 30px;
	}
		
}

#storiesCarousel .slick-track {
	left: -10px;
}

@media screen and (min-width: 1024px) {
	
	#storiesCarousel .slick-track {
		left: 0;
	}
	
}

#storiesCarousel div {
	margin:0 10px;
	height: 260px;
}

@media screen and (min-width: 480px) {
	
	#storiesCarousel div {
		height:360px;
	}

}

@media screen and (min-width: 1024px) {
	
	#storiesCarousel div {
		height:480px;
	}

}

#storiesCarousel div.storiesInnerBox {
	display:table;
	margin:0;
	width:100%;
}

#storiesCarousel div .spanCentered {
  display: table-cell;
  vertical-align: middle;
  padding:0;
}

	
#storiesCarousel div h1 {
  font-family:GothamBook;
  font-weight: 100;
  font-size: 19px;
  color: #fff;
  text-align:center;
  padding:10px;
  margin:0;
}

@media screen and (min-width: 1024px) {
	
	#storiesCarousel div h1 {
		font-family:GothamBold;
		font-size: 40px;
		padding:20px;
	}
	
}

#storiesCarousel div p {
  font-family:GothamLight;
  font-weight: 100;
  font-size: 19px;
  color: #fff;
  text-align:center;
  padding:10px;
  margin:0;
}

@media screen and (min-width: 1024px) {

	#storiesCarousel div p {
		font-size: 21px;
		padding:20px;
	}
	
}


	#contactsBox1 {
		width:50%;
	}
	
}

#contactsBox1 h1 {
  font-family:GothamLight;
  font-weight: 100;
  font-size: 25px;
  color: #fff;
  text-align:center;
}

@media screen and (min-width: 1024px) {

	#contactsBox1 h1 {
		font-size: 30px;
	}

}

#contactForm {
	text-align:center;
}

#contactForm input[type=text] {
  outline: 0;
  width: 87%;
  overflow: auto;
  padding: 1.5%;
  background: #080808;
  border: 1px solid #fff;
  font-family:GothamLight;
  font-weight: 100;
  font-size: 19px;
  color: #fff;
}

@media screen and (min-width: 1024px) {
	
	#contactForm input[type=text] {
		width: 97%;
	}	
	
}

#contactForm textarea {
  outline: 0;
  width: 87%;
  overflow: auto;
  padding: 1.5%;
  background: #080808;
  border: 1px solid #fff;
  height: 300px;
  font-family:GothamLight;
  font-weight: 100;
  font-size: 19px;
  color: #fff;
}

@media screen and (min-width: 1024px) {
	
	#contactForm textarea {
		width: 97%;
	}
	
}

#contactForm button {
  outline: 0;
  width: 91%;
  overflow: auto;
  padding: 1.5%;
  background: #080808;
  border: 1px solid #fff;
  font-family:GothamLight;
  font-weight: 100;
  font-size: 19px;
  color: #fff;
}

@media screen and (min-width: 1024px) {
	
	#contactForm button {
		width: 200px;
	}	
	
}


#contactsBox2 {
	width:100%;
}

@media screen and (min-width: 1024px) {
	
	#contactsBox2 {
		width:50%;
	}
	
}

#contactsBox2 p {
  font-family:GothamLight;
  font-weight: 100;
  font-size: 21px;
  color: #fff;
  text-align:center;
}

@media screen and (min-width: 1024px) {

	#contactsBox2 p {
		font-size: 30px;
	}

}

/*MENU*/
.dl-menu.dl-animate-out-1 {
	animation: MenuAnimOut1 0.4s linear forwards;
}

@keyframes MenuAnimOut1 {
	
	50% {
		transform: translateZ(-250px) rotateY(30deg);
	}
	75% {
		transform: translateZ(-372.5px) rotateY(15deg);
		opacity: .5;
	}
	100% {
		transform: translateZ(-500px) rotateY(0deg);
		opacity: 0;
	}
	
}

.dl-menu.dl-animate-in-1 {
	animation: MenuAnimIn1 0.3s linear forwards;
}

@keyframes MenuAnimIn1 {
	
	0% {
		transform: translateZ(-500px) rotateY(0deg);
		opacity: 0;
	}
	20% {
		transform: translateZ(-250px) rotateY(30deg);
		opacity: 0.5;
	}
	100% {
		transform: translateZ(0px) rotateY(0deg);
		opacity: 1;
	}
	
}

#dl-menu {
  margin: 0;
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 99999;
  padding: 0;
}

@media screen and (min-width: 1024px) {
	
	#dl-menu {
		margin: 0;
		position: fixed;
		top: 20px;
		left: 20px;
		z-index: 99999;
		padding: 0;
	}
	
}

#dl-menu button {
  background: #080808;
  width: 50px;
  height: 50px;
}

@media screen and (min-width: 1024px) {
	
	#dl-menu button {
		width: 60px;
		height: 60px;
		border-radius: 30px;
	}
	
}

#dl-menu button:after {
  width: 30px;
  height: 5px;
  top: 12px;
  left: 10px;
}

@media screen and (min-width: 1024px) {
	
	#dl-menu button:after {
		top: 17px;
		left: 15px;
	}
		
}

#dl-menu ul {
	 margin:0;
	 background:#080808;
}

@media screen and (min-width: 1024px) {
	
	#dl-menu ul {
		 margin: -60px 0 0 70px;
	}
		
}

#dl-menu ul li {
	 font-family:GothamLight;
	 font-size:19px;
}

#dl-menu ul li a {
	 font-family:GothamLight;
	 font-size:19px;
	 text-decoration:none;
}

/*#bgvidDesk button, #bgvidSmart button, #bgvidTab button {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 18px 10px;
  line-height: 1;
  color: #fff;
  background: #345;
  border: 0;
  border-radius: 4px;
  margin-left: 0.75em;
}

#bgvidSmart button {
  color: #000;
  background: #fff;
  border: 1px solid #fff;
}
*/

/* Use CSS art to draw the 'Play / Pause' button */
#playpause, #playpause2 {
	width:236px; 
	position:initial; 
	margin:0 auto; 
	cursor:pointer;
	-webkit-transition: 0.5s;
	transition: 0.5s;
	margin-bottom:10px;
}

@media screen and (min-width: 1024px) {
	
	#playpause, #playpause2 {
		position:absolute; 
		margin-left:-118px; 
		left:50%;
		z-index:100;
		opacity:1;
		top:auto;
	}
	
	#playpause {
		bottom:270px;
	}
	
	#playpause2 {
		bottom:220px;
	}
}

#playpause:before, #playpause2:before {
  border: 1px solid #fff;
  text-transform: uppercase;
  padding: 9px;
  color: #fff;
  display: block;
}

#playpause:before {
    content: "guarda il video";
}

#playpause2:before {
    content: "scopri di più";
}


@media only screen and (min-width:1024px) { 

	#playpause:before, #playpause2:before  {
		border: 1px solid #000;
		color: #000;
	}

}

#playpause:hover:before, #playpause2:hover:before {
	color:#fff;
	border: 1px solid #00adef;
}


#playpause.pause, #playpause2.pause {
	opacity:0.1;
	-webkit-transition: 0.5s;
	transition: 0.5s;
}

#playpause.pause:before, #playpause2.pause:before {
  border: 1px solid #00adef;
  text-transform: uppercase;
  padding: 9px;
  color: #00adef;
  display: block;
}
#playpause.pause:hover:before, #playpause2.pause:hover:before {
	color:#fff;
}

#playpause:hover, #playpause2:hover{
	background-color:#00adef;
}

/*#playpause2 {
	width:236px; 
	position:initial; 
	margin:0 auto; 
	cursor:pointer;
	-webkit-transition: 0.5s;
	transition: 0.5s;
}

@media only screen and (min-width:768px) {
	
	#playpause2 {
		position:absolute; 
		margin-left:-118px; 
		left:50%;
		z-index:100; 
		cursor:pointer;
		-webkit-transition: 0.5s;
		transition: 0.5s;
		top:40px;
		bottom:auto;
	}
	 
}

#playpause2 button {
	color:#fff;
	border:1px solid #fff;
	-webkit-transition: 0.5s;
	transition: 0.5s;
	margin-bottom:0;
}

@media only screen and (min-width:768px) { 

	#playpause2 button {
		border: 1px solid #000;
		color: #000;
	}

}

#playpause2 button:hover {
	border:1px solid #00adef;
	background:#00adef;
}

#playpause2 button.pause:hover {
	border:1px solid #00adef;
	background:#00adef;
}
*/


.overlay:hover #playpause {
	opacity:1;
}

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

  .parent {
    width:90%; 
    margin:50px auto;
  }
  
}

/* fixes for the iPhone and iPad to show default controls */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px)  {
	
	.overlay iframe {
		height:100%; 
		top:0; 
		z-index:200;
	}
	
}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {
	
	.overlay iframe {
		height:100%; 
		top:0; 
		z-index:200;
	}
	
}

@media only screen 
and (min-device-width : 375px) 
and (max-device-width : 667px) {
	
	.overlay iframe {
		height:100%; 
		top:0; 
		z-index:200;
	}
	
}

@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 568px) {
	
	.overlay iframe {
		height:100%;
		top:0;
		z-index:200;
	}
}

@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {
	
	.overlay iframe {
		height:100%; 
		top:0; 
		z-index:200;
	}
	
}