@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Poppins:300,500');

/* CSS Document */
/*------------------------------------------------------
CSS Created:	05/04/2017
CSS Author:		Alessandro Avallone
---------------------------------------------* GENERAL */

html, body {
	padding:0;
	margin:0;
	font-family:'Poppins', sans-serif;
	font-weight:300;
	font-style:normal;
	background-color:#003399;
}

body {
	overflow:hidden;
}

a {
	text-decoration:none;
}

.animatedFast {
	/* */
    -webkit-transition:all 0.25s ease-out;
    -moz-transition:all 0.25s ease-out;
    -o-transition:all 0.25s ease-out;
    -ms-transition:all 0.25s ease-out;
    transition:all 0.25s ease-out;
}

.animatedMedium {
	/* */
    -webkit-transition:all 0.5s ease-in;
    -moz-transition:all 0.5s ease-in;
    -o-transition:all 0.5s ease-out;
    -ms-transition:all 0.5s ease-out;
    transition:all 0.5s ease-out;
}

.animatedSlow {
	/* */
    -webkit-transition:all 1s ease-out;
    -moz-transition:all 1s ease-out;
    -o-transition:all 1s ease-out;
    -ms-transition:all 1s ease-out;
    transition:all 1s ease-out;
}

.clearfix::before,
.clearfix::after {
	content:"";
	display:table;
	clear:both;	
}

.wrapper {
	margin:0 auto;
	position:relative;
}

.centered {
    display:-webkit-box;
    display:-moz-box;
    display:-ms-flexbox;
    display:-webkit-flex;
    display:flex;
    align-items:center;
    justify-content:center;
}

.desktop {
	display:none;
}

.mobile {
	display:none;
}

/*---------------------------------------------* LAYOUT */

.fullScreen {
	width:100vw;
	height:100vh;
	position:fixed;
	z-index:50;	
	left:0;
	top:0;
	opacity:0.9;
	background-size:cover;
	background-position:center;	
	background-image:linear-gradient(#003399, #003399), url(../images/backgrounds/parliament.jpg);
	background-blend-mode: multiply;	
}


.mainTitle {
	position:fixed;
	z-index:100;
	top:3rem;
	text-align:center;
	left:0;
	right:0;
	transform-origin: left center;
}

.mainTitle.inner {
	animation-duration: 2s; /* or: Xms */
	animation-iteration-count: 1;
	animation-direction: normal; /* or: normal */
	animation-timing-function: ease; /* or: ease, ease-in, ease-in-out, linear, cubic-bezier(x1, y1, x2, y2) */
	animation-fill-mode: forwards; /* or: backwards, both, none */
	animation-delay: 0s; /* or: Xms */
}

.mainTitle h1 {
	font-weight:500;
	color:#ffcc00;
	font-size:88px;
	line-height:22px;
}

.mainTitle h2 {
	font-weight:500;
	font-size:26px;
    margin-right: -450px;
    margin-top: -45px;
	color:white;
}

.mainClaim {
	width:50%;
	position:fixed;
	z-index:100;
  	top: 30vh;
  	left: 50%;
  	transform: translateX(-50%);
	font-size:32px;
	font-weight:300;
	color:white;
	line-height:42px;
	text-align:center;
	padding:2rem;
	box-sizing:border-box;
}

.mainClaim::after {
	content:"";
	background-image:url(../images/layout/quote-open.png), url(../images/layout/quote-close.png);
	background-position: left center, right center;
	background-repeat: no-repeat;
  	opacity: 0.2;
  	top: 0;
  	left: 0;
  	bottom: 0;
  	right: 0;
  	position: absolute;
  	z-index: -1; 	
}

.businessMan {
	position:fixed;
  	left: 50%;
	bottom:-60px;
	height:60vh;
	z-index:100;
	transform:scale(1) translateX(-50%);
	transform-origin: right bottom;	
}

.businessMan.inner {
	transform:scale(0.8) translateX(-110%);
}

.businessMan.inner.loading {
	transform:scale(0.8) translateX(-80%);
}

.businessMan img {
	width:auto;
	height:100%;
}

.actionButton {
	width:180px;
	margin-top:20px;
	padding:0.5rem;
	box-sizing:border-box;
	border:1px solid #ffcc00;
	text-align:center;
	font-size:18px;
	font-weight:300;
	color:#ffcc00;
	cursor:pointer;
	background-color:transparent;
}

.enterButton {
	position:fixed;
	z-index:100;
  	bottom: 4rem;
  	left: 50%;
  	transform: translateX(-50%);
}

.submitButton {
	margin:1rem auto;
}

.stars {
	position:fixed;
	z-index:1000;
	display:none;
	/* */	
	background-image:url(../svg/stars.svg);
	background-position:center;
	background-repeat:no-repeat;
	background-size:100%;
	/* */
	animation-name: spin;
	animation-duration: 4s; /* or: Xms */
	animation-iteration-count:infinite;
	animation-direction: normal; /* or: normal */
	animation-timing-function: linear; /* or: ease, ease-in, ease-in-out, linear, cubic-bezier(x1, y1, x2, y2) */
	animation-fill-mode: forwards; /* or: backwards, both, none */
	animation-delay: 0s; /* or: Xms */
}

/*---------------------------------------------* HEADER */

header {
	position:fixed;
	z-index:90;
	background-color:rgba(0,0,0,0.4);
	width:100%;
	transform:translateY(-200px);
}

header.appear {
	transform:translateY(0);
}

header.black {
	background-color:rgba(0,0,0,1.00);
}

header nav {
	width:50%;
	float:right;
}

header nav ul {
	list-style:none;
	padding:0;
	margin:0;
	text-align:center;
}

header nav ul li {
	display:inline-block;
	color:rgba(255,255,255,1.00);
	font-size:14px;	
	padding:1rem 0.75rem;
	cursor:pointer;
}

/*---------------------------------------------* ARTICLE */

article {
	z-index:80;
	position:relative;	
}

article a {
	text-decoration:none;
	color:#ffcc00;
}

article .half {
	width:50%;
}

article #halfTitle {
	float:left;
	opacity:0;
}

article #halfTitle.appear {
	opacity:1;
}

article #halfTitle h3 {
	font-size:3rem;
	font-weight:300;
	position:fixed;
	text-align:center;
	top:6rem;
	color:#ffcc00;	
}

article #halfContent {
	float:right;
	background-color:#003399;
	padding:4rem;
	box-sizing:border-box;
	min-height:100vh;
	transform:scaleY(0);
	transform-origin: center top;
	position:relative;
}

article #halfContent.appear {
	transform:scaleY(1);	
}

article #halfContent .content {
	font-size:18px;
	line-height:32px;
	color:rgba(255,255,255,1.00);		
	opacity:0;
	visibility:hidden;
	margin-top:2em;
}

article #halfContent .content p:first-of-type {
	margin-top:0;
}

article #halfContent .content.appear {
	opacity:1;
	visibility:visible;
}

article .servizi {
	padding:0;
	margin:1rem 0;
	list-style:none;
}

article .servizi li {
	width:100%;
	padding:1rem 0;
	border-bottom:1px solid rgba(255,255,255,0.2);
	opacity:0.6;
	background-position:right 1rem top 1rem;
	background-repeat:no-repeat;
	background-size:40px auto;
}

article .servizi li.ted {
	background-image:url(../images/layout/logo-ted.png);
}

article .servizi li:hover {
	opacity:1;
	background-color:rgba(255,255,255,0.2);	
}

article .servizi li .label {
	display:inline-block;
	width:100%;
	box-sizing:border-box;
	background-position:10px center;
	background-repeat:no-repeat;	
}

article .servizi li:hover .label {
	padding-left:40px;
	background-image:url(../images/layout/arrow.png);
	background-position:10px center;
	background-repeat:no-repeat;
}

article .servizi li .more {
	display:inline-block;	
	font-size:0.9rem;
	line-height:1rem;
	padding:1rem;
	box-sizing:border-box;
}

article .singleNew {
	margin-bottom:3rem;
}

article .singleNew .date {
	font-size:0.8rem;
	line-height:0.8rem;
	margin-top:1rem;
	padding-left:30px;
	background-image:url(../images/layout/arrow.png);
	background-position:left center;
	background-repeat:no-repeat;
}

article .singleNew .title h3 {
	font-weight:500;
	font-size:1.6rem;
	line-height: 1.8rem;
	color:#ffcc00;
	margin:0;
}

article .singleNew .image {
	position:relative;
}

article .singleNew .image img {
	width:100%;
	display:block;
}

article .singleNew .image::after {
	content:"";
	width:calc(100% - 20px);
	height:calc(100% - 20px);
	border:2px solid #ffcc00;
	box-sizing:border-box;
	position:absolute;
	left:10px;
	top:10px;
	z-index: 10;
}

article .singleNew .image.video::before {
	content:"";
	width:120px;
	height:120px;
	position:absolute;
	left:50%;
	top:50%;
	transform: translate(-50%, -50%);
	background-image:url(../images/swipebox/play.png);
	background-size:cover;
	z-index: 10;
}

article .singleNew .description {
	height:10rem;
	overflow:hidden;
	position:relative;
}

article .singleNew .description.full {
	height:auto;
	overflow:auto;
}


article .singleNew .description:after {
	content:"";
	position:absolute;
	left:0;
	bottom:0;
	width:100%;
	height:10rem;
	background: rgba(0,51,153,0);
	background: -moz-linear-gradient(top, rgba(0,51,153,0) 0%, rgba(0,51,153,1) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0,51,153,0)), color-stop(100%, rgba(0,51,153,1)));
	background: -webkit-linear-gradient(top, rgba(0,51,153,0) 0%, rgba(0,51,153,1) 100%);
	background: -o-linear-gradient(top, rgba(0,51,153,0) 0%, rgba(0,51,153,1) 100%);
	background: -ms-linear-gradient(top, rgba(0,51,153,0) 0%, rgba(0,51,153,1) 100%);
	background: linear-gradient(to bottom, rgba(0,51,153,0) 0%, rgba(0,51,153,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#003399', endColorstr='#003399', GradientType=0 );
}

article .singleNew .description.full:after {
	display:none;
}


article .contactData {
	line-height:1.3rem;
}
	

article .contactData td:nth-of-type(odd) {
	color:rgba(255,255,255,0.6);
}

article .contactForm {
	color:rgba(255,255,255,0.6);
}

article .contactForm input[type="text"],
article .contactForm input[type="email"],
article .contactForm input[type="tel"],
article .contactForm select {
	width:100%;
	box-sizing:border-box;
	padding:0.5rem;
	background-color:transparent;
	border:none;
	border-bottom:1px solid rgba(255,255,255,0.2);
	font-family:'Poppins', sans-serif;
	font-size:1rem;
	color:rgba(255,255,255,1.00);
	font-weight:300;
}

article .contactForm input[type="text"],
article .contactForm input[type="email"],
article .contactForm input[type="tel"] {
	border-bottom:1px solid rgba(255,255,255,0.2);
}

article .contactForm select {
	border:none;
	background-color:#002877;
}

article .contactForm input[type="radio"] {
	width:20px;
	height:20px;
}

.parsley-errors-list {
	list-style:none;
	margin:1rem 0;
	padding:0;
}

.parsley-errors-list li {
	padding-left:40px;
	background-image:url(../images/layout/arrow.png);
	background-position:10px center;
	background-repeat:no-repeat;	
}

/*---------------------------------------------* FOOTER */

/*---------------------------------------------------------------------- */
/*---------------------------------------------* MEDIA QUERY [ LARGE ]   */
/*---------------------------------------------------------------------- */

@media screen and (min-width:1680px) {
	
html, body {
	font-size:16px
}

.desktop {
	display:block;
}

.hamburger {
	display:none;
}

.wrapper {
	width:1200px;
}

.mainTitle.inner {
	animation-name: mainTitleAnimation--large;
}

.stars {
	width:600px;
	height:600px;
	left:50%;
	top:calc((100vh - 600px) / 2);
}

}

/*---------------------------------------------------------------------- */
/*---------------------------------------------* MEDIA QUERY [ MEDIUM ]  */
/*---------------------------------------------------------------------- */

@media screen and (min-width:1024px) and (max-width:1679px) {
	
html, body {
	font-size:16px;
}

.desktop {
	display:block;
}

.hamburger {
	display:none;
}

.wrapper {
	width:960px;
}
	
header nav ul li {
	padding:1rem 0.25rem;
}	

.mainTitle.inner {
	animation-name: mainTitleAnimation--medium;
}

.mainClaim {
    width: 80%;
    left: 10%;
	transform: translateX(0);
}

.stars {
	width:400px;
	height:400px;
	left:50%;
	top:calc((100vh - 400px) / 2);
}

}

/*---------------------------------------------------------------------- */
/*---------------------------------------------* MEDIA QUERY [ TABLET ]  */
/*---------------------------------------------------------------------- */

@media screen and (min-width:768px) and (max-width:1023px) {
	
html, body {
	font-size:14px;
}

header {
	height:60px;
	overflow:hidden;
}

header.slideDown {
	height:100vh;
	background-color:rgba(0,0,0,0.8);
}

header nav {
    width: 60%;
}

header nav {
	visibility:hidden;
	opacity:0;
	transform:translateX(-50px);
}

header nav.appear {
	visibility:visible;
	opacity:1;
	transform:translateX(0px);
}

header nav ul li {
    display: block;
    font-size: 24px;
    padding: 2rem;
}

.wrapper {
	width:90%;
}

.mobile {
	display:block;
}

.hamburger {
	position:fixed;
	top:1rem;
	right:5%;
	z-index:1000;
	display:none;
}

.hamburger.appear {
	display:block;
}

.mainTitle {
	top:1rem;
}

.mainTitle.inner {
	animation-name: mainTitleAnimation--tablet;
}

.mainTitle h1 {
    font-size: 58px;
}

.mainTitle h2 {
    font-size: 14px;
    margin-right: -345px;
    margin-top: -35px;
}

.mainClaim {
    width: 90%;
    left: 5%;
	transform: translateX(0);
}

.businessMan.inner {
    transform: scale(0.8) translateX(-130%);
}

.stars {
	width:300px;
	height:300px;
	left:50%;
	top:calc((100vh - 300px) / 2);
}

article #halfTitle {
	width:40%;
}

article #halfContent {
	width:60%;
}

article .servizi li:active {
	opacity:1;
	background-color:rgba(255,255,255,0.2);	
}

article .servizi li:active .label {
    padding-left: 40px;
    background-image: url(../images/layout/arrow.png);
    background-position: 10px center;
    background-repeat: no-repeat;
}

}

/*---------------------------------------------------------------------- */
/*------------------------------------------* MEDIA QUERY [ SMARTPHONE ] */
/*---------------------------------------------------------------------- */

@media screen and (min-width:320px) and (max-width:767px) {
	
html, body {
	font-size:14px;
}

.mobile {
	display:block;
}

.wrapper {
	width:96%;
}

header {
	height:60px;
	overflow:hidden;
}

header.slideDown {
	height:100vh;
	background-color:#003399;
}

header nav {
    width: 100%;
	float:none;
}

header nav {
	visibility:hidden;
	opacity:0;
	transform:translateX(-50px);
}

header nav.appear {
	visibility:visible;
	opacity:1;
	transform:translateX(0px);
}
	
header nav ul {
	margin-top: 80px;
}

header nav ul li {
    display: block;
    font-size: 24px;
    padding:2vh 2rem;
	margin-top:1rem;
}

.wrapper {
	width:90%;
}

.mobile {
	display:block;
}

.hamburger {
	position:fixed;
	top:1rem;
	right:5%;
	z-index:1000;
	display:none;
}

.hamburger.appear {
	display:block;
}

.mainTitle {
	top:1rem;
}

.mainTitle h1 {
    font-size: 38px;
}

.mainTitle h2 {
    font-size: 12px;
}

.mainTitle.inner h1 {
	font-size:24px;
}

.mainTitle.inner h2 {
    font-weight: 500;
    font-size: 8px;
    margin-right: -130px;
    margin-top: -20px;
    color: white;
}

.mainTitle.inner {
	animation-name: mainTitleAnimation--smartphone;
}

.mainTitle h2 {
    font-size: 12px;
    margin-right: -190px;
    margin-top: -25px;
}

.mainClaim {
    width: 90%;
    left: 5%;
	transform: translateX(0);
    font-size: 18px;
    line-height: 24px;
	padding:1rem;
}

.businessMan.inner {
    transform: scale(0.8) translateX(calc(	(100vw * 1.5) * -1));
}

.businessMan.inner.loading {
    transform: scale(0.8) translateX(-90vw);
}

.stars {
	width:300px;
	height:300px;
	left: calc((100vw - 300px) / 2);
    top: calc((100vh - 300px) / 2);
}

article #halfTitle {
	display:none;
}

article #halfContent {
	width:94%;
	margin:0 auto;
	float:none;
	padding:3rem;
}

article .servizi li:active {
	opacity:1;
	background-color:rgba(255,255,255,0.2);	
}

article .servizi li:active .label {
    padding-left: 40px;
    background-image: url(../images/layout/arrow.png);
    background-position: 10px center;
    background-repeat: no-repeat;
}

article .contactData td {
	width:100%;
	display:block;
}


}