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

body {
	/*font-family: Open Sans, sans-serif;*/
	font-family: 'Lato', sans-serif;
	font-size:12px;
	color:#383838;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

section {
	display:block;
	clear:both;
	padding:20px 0;
}

section h1.title {
	padding: 0px;
    /* display: inline-block; */
    text-align: center;
    font-size: 40px;
    text-transform: uppercase;
    font-weight: bold;
    /* border-top: 5px solid #383838; */
    /* border-bottom: 5px solid #383838; */
    margin: 0 auto 20px auto;
    /*width: 400px;*/
}

@media screen and (min-width: 768px) {
	section h1.title {
		font-size: 50px;
	}
}

section#sectionCorsi {
	background-color:#ddd;
    background-image: url(img/bg_courses.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
}

section#sectionNews {
	background:#383838;
}

section#sectionProject {
	background:#fff;
}

section#sectionContacts {
	background:#0f7893;
}

section#sectionCorsi h1.title, section#sectionProject h1.title {
	color:#383838;
}

section#sectionNews h1.title {
	color:#0f7893;
}

section#sectionContacts h1.title {
	color:#fff;
}

section#sectionNews a, section#sectionNews a:visited {
	color:#0f7893;
	text-decoration:none;
}

section#sectionNews a:hover, section#sectionNews a:active {
	color:#0f7893;
	text-decoration:underline;
}

/*
section h1.title::before { 
  content: "\00a0 ";
}


section h1.title::after {
	content: "";
    position: absolute;
    bottom: 160px;
    left: 50%;
    margin-left: -25px;
    width: 50px;
    height: 2px;
    background: #0f7893;
}

*/

#message {
	/*display:none;*/
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
	background-color: rgba(0, 0, 0, 0.6);
	z-index:99999;
}

#message_box {
	overflow: auto;
	color: #000;
	width: 100%;
	height: 100%;
	background-color: #fff;
	background-position: top right;
	border-top: 3px solid #0f7893;
	z-index:999;
	align-items: center;
    justify-content: center;
    display: flex;
}

@media screen and (min-width: 768px) {
	
	#message_box {
		position: fixed;
		background-repeat:no-repeat;
		background-size:cover;
		background-position: top left;
		top: 50%;
		left: 50%;
		width: 760px;
		height: 460px;
		padding: 20px;
		margin: -230px 0 0 -380px;
	}
	
}

#message_box .container {
	text-align: center;
}

@media screen and (min-width: 768px) {
	
	#message_box .container {
		margin-left:335px;
	}	
	
}

#message_box h1 {
	color: #0f7893;
	font-size:20px;
	font-weight:bold;
	line-height:1.5;
}

#message_box p {
	color: #383838;
	font-size:14px;
	line-height:1.3;
	margin-bottom: 5px;
	text-align: justify;
	padding:0 5%;
}

@media screen and (min-width: 768px) {
	
	#message_box p {
		font-size:18px;
		line-height:1.5;
		margin-bottom: 10px;
		padding:0;
	}
	
}

#message_box a, #message_box a:visited {
	color:#0f7893;
	text-decoration:none;
}

#message_box a:active, #message_box a:hover {
	color:#0f7893;
	text-decoration:underline;
}

#message_box p#close {
		text-align:center;
	}

@media screen and (min-width: 768px) {
	#message_box p#close {
		display:none;
	}
}

#message_box #closeX {
	display:none;
}

@media screen and (min-width: 768px) {
	#message_box #closeX {
		display:block;
		position:absolute;
		top:0;
		right:0;
		width:30px;
		font-size:14px;
		line-height:30px;
		background:#0f7893;
		color:#fff;
		text-align:center;
		text-decoration:none;
	}
}

/*COOKIE*/
#cookie {
	display:none;
	position:fixed;
	bottom:0;
	left:0;
	width:100%;
	z-index:999;
	background:#383838;
}

#cookie p {
	padding:10px;
	color:#fff;
	margin:0;
	line-height:1.5;
}

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

}

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

#cookie p.cookieOK {
	text-align:center;
}

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

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

#cookie button {
	outline:0;
	cursor:pointer;
	padding:10px;
	color:#fff;
	background:#383838;
	border:2px solid #fff;
	margin:0;
	width: 50px;
    height: 50px;
    border-radius: 25px;
}

#cookie button:hover {
	border:2px solid #0f7893;
	background:#0f7893;
	color:#fff;
}
#cookie a, #cookie a:visited, #cookie a:hover, #cookie a:active {
	color:#fff;
	text-decoration:underline;
}

#topNav {
	width: 100%;
    color: #a9a9a9;
    background-color: #383838;
    font-weight: 300;
    position: relative;
	text-align:center;
	line-height:1.5;
}

@media screen and (min-width: 768px) {
	
	#topNav {
		text-align:right;
		line-height:30px;
	}
		
}

#topNav span {
	display:block;
}

@media screen and (min-width: 768px) {
	#topNav span {
		display:inline;
	}
}

#topNav a, #topNav a:visited {
	display: inline-block;
    color: #a9a9a9;
    text-decoration: none;
	text-transform:uppercase;
	margin:0 5px;
}

#topNav a:hover, #topNav a:active {
    color: #fff;
}

@media screen and (min-width: 768px) {
	#topNav a {
		margin:0 10px;
	}
}

#header {
	width:100%;
	background:#fff;
	padding:5px 0;
	position:fixed;
	z-index:99;
}

@media screen and (min-width: 768px) {
	#header {
		background-image:url(img/bg_header.png);
		background-reapeat:no-repeat;
		/*background: url(img/bg_header.png) center center no-repeat;*/
    	background-size: cover;
		background-color:#fff;
		padding:0;
		position:relative;
	}
}

#header.scroll {
	position:fixed;
	z-index:999;
	top:0px;
}

#header #headerLogo {
	display: inline-block;
	background-image: url(img/alfacampus_logo2.png);
	background-size: contain;
	background-repeat: no-repeat;
	background-position:center center;
    width: 250px;
    height: 37px;
	margin:5px;
}

@media screen and (min-width: 768px) {
	#header #headerLogo {
		display: block;
		background-image: url(img/alfacampus_logo.png);
		width: 409px;
		height: 90px;
		margin: 0 auto;
   		padding: 30px 0;
	}	
}

#header span#menuToggle {	
    position: absolute;
    top: 0px;
    right: 0;
    cursor: pointer;
    font-size: 34px;
    padding: 10px;
}

@media screen and (min-width: 768px) {
	#header span#menuToggle {
		display: none;
	}
}

#header span#menuToggle.scroll {	
    top: 5px;
}

nav {
	display: none;
	background-color: #fff;
}

@media screen and (min-width: 768px) {
	nav {
		display: block;
		font-size:0;
		border-bottom: 3px solid #0f7893;
		background:transparent;
	}
}

nav.open {
	display: block;
}

nav a, nav a:visited {
	display: block;
	color: #383838;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
	font-size: 18px;
	font-weight:bold;
	cursor:pointer;
	-webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
	-moz-animation: fadein 2s; /* Firefox < 16 */
	-ms-animation: fadein 2s; /* Internet Explorer */
	-o-animation: fadein 2s; /* Opera < 12.1 */
	animation: fadein 2s;

}

@media screen and (min-width: 768px) {
	nav a {
		display: inline-block;
		padding:14px 0;
		text-transform:uppercase;
	}
	
	nav a.two {
		width:50%;
	}
	
	nav a.twoLast {
		width:50%;
	}
	
	nav a.three {
		width:33%;
	}
	
	nav a.threeLast {
		width:34%;
	}
	
	nav a.four {
		width:25%;
	}
	
	nav a.fourLast {
		width:25%;
	}
	
	nav a.five {
		width:20%;
	}
	
	nav a.fiveLast {
		width:20%;
	}
	
}
  
nav a:hover, nav a:active {
	background-color: #fff;
	color: #0f7893;
}

@media screen and (min-width: 768px) {
	nav a:hover, nav a:active {
		background: transparent;
	}
}

nav a.active {
	background-color: #0f7893;
	color: #fff;
}

@media screen and (min-width: 768px) {
	nav a.icon {
		display: none;
	}
}

#homeSlider {
	height:400px;
}

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

#homeSlider div {
	padding:0 !important;
	height:100%;
	background-repeat:no-repeat;
	background-position:center center;
	background-size:cover;
	-webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
	-moz-animation: fadein 2s; /* Firefox < 16 */
	-ms-animation: fadein 2s; /* Internet Explorer */
	-o-animation: fadein 2s; /* Opera < 12.1 */
	animation: fadein 2s;

}

#homeSlider div p {
	font-size: 20px;
	font-weight: bold;
	color:#fff;
	text-shadow: 2px 2px 4px #000000;
	display: flex;
	justify-content: center;
	flex-direction: column;
	text-align: center;
	height:100%;
	padding:0;
	-webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
	-moz-animation: fadein 2s; /* Firefox < 16 */
	-ms-animation: fadein 2s; /* Internet Explorer */
	-o-animation: fadein 2s; /* Opera < 12.1 */
	animation: fadein 2s;
}

@media screen and (min-width: 768px) {
	#homeSlider div p {
		font-size: 20px;
	}
}

#homeSlider div p span.title {
	font-size: 30px;
	margin: 0 auto;
    width: auto;
    padding: 20px;
    background: rgba(0,0,0,0.5);
}

@media screen and (min-width: 768px) {
	#homeSlider div p span.title {
		font-size: 50px;
	}
}

#homeSlider div p span.title button {
	background-image:url(img/downButton.png);
	background-repeat:no-repeat;
	background-size:contain;
	background-position:center left;
    background-color: transparent;
    border: 5px solid transparent;
    padding: 2px 2px 2px 25px;
    font-size: 14px;
	display:block;
    margin: 10px auto 0 auto;
    cursor: pointer;
	text-transform:uppercase;
	outline:0;
	font-family: 'Lato', sans-serif;
	color:#fff;
}

@media screen and (min-width: 768px) {
	
	#homeSlider div p span.title button {
		font-size: 20px;
		margin: 20px auto 0 auto;
		padding: 2px 2px 2px 40px;
	}
	
}

#homeSlider div p span.title button:hover {
    background-color: #0f7893;
    border: 5px solid #0f7893;
}


#sectionText {
	text-align: center;
	font-size: 14px;
	line-height: 1.3;
	padding:10px;
	background-image:url(img/bg_sectionText.png);
	background-position:center center;
	background-repeat:no-repeat;
	background-size:cover;
}

@media screen and (min-width: 768px) {
	#sectionText {
		padding:80px 10px;
	}	
}

#homeFilters div#controls {
	margin: 20px auto;
    width: 80%;
	display:block;
	text-align:center;
}

#homeFilters div#controls button {
	background-image:url(img/playButton.png);
	background-repeat:no-repeat;
	background-size:contain;
	background-position:center left;
    background-color: #ddd;
    border: 5px solid #ddd;
    padding: 2px 2px 2px 25px;
    font-size: 14px;
	display:block;
	width:100%;
    margin: 10px auto;
    cursor: pointer;
	text-transform:uppercase;
	outline:0;
	font-family: 'Lato', sans-serif;
	text-align:left;
	color:#383838;
}

@media screen and (min-width: 768px) {
	
	#homeFilters div#controls button {
		font-size: 18px;
		width:auto;
		display:inline;
		margin: 0 9px;
		padding: 2px 2px 2px 30px;
	}
	
}

#homeFilters div#controls button:hover {
    background-image:url(img/playButton_blu.png);
	/*background-color: #383838;
    border: 5px solid #383838;*/
	color:#0f7893;
}

#homeFilters div#controls button.mixitup-control-active {
    background-image:url(img/playButton_white.png);
    background-color: #0f7893;
    border: 5px solid #0f7893;
	color:#fff;
}


#homeFilters div#courses {
    margin: 20px auto;
    width: 80%;
}

@media screen and (min-width: 768px) {
	#homeFilters div#courses {
		display: flex;
		margin: 20px auto;
		flex-direction: row;
		flex-wrap: wrap;
		flex-flow: row wrap;
	}
}

#homeFilters div#courses .mix {
	position:relative;
	width: 98%;
	margin: 10px 2%;
}

@media screen and (min-width: 768px) {
	#homeFilters div#courses .mix {
		width: 21%;
	}
}

#homeFilters div#courses .mix .overlay {
	opacity: 0;
	background-color: #fff;
	background-image:url(img/playButton.png);
	background-repeat:no-repeat;
	background-position: center center;
	background-size:contain;
	cursor:pointer;
    height: 100%;
    width: 100%;
    /*opacity: 0.75;*/
    top: 0;
    left: 0;
    position: absolute;
    padding: 0;
    transition: opacity .5s;
    z-index: 99;
    margin: 0;
	text-align:center;
	border-top:2px solid #383838;
	border-bottom:2px solid #383838;
}

#homeFilters div#courses .mix .overlay:hover { 
	opacity: 1;
	transition: opacity .5s;
}

#homeFilters div#courses img {
	width:100%;
}

#homeFilters div#courses div h1 {
	position:absolute;
	bottom:0;
	padding:2%;
	background:rgba(0,0,0,0.5);
	color:#fff;
	font-size: 17px;
    /*font-weight: bold;*/
	/*text-transform:uppercase;*/
	text-align:center;
	width:96%;
}

.tooltipster-sidetip.tooltipster-noir.tooltipster-noir-customized .tooltipster-box {
	background: #0f7893;
	border: 0px solid red;
	border-radius: 0px;
}

.tooltipster-sidetip.tooltipster-noir.tooltipster-noir-customized .tooltipster-content {
	color: #fff;
	padding: 8px;
}

.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow-border{
	border-bottom-color:#0f7893;
}

.tooltipster-sidetip.tooltipster-left .tooltipster-arrow-border{
	border-left-color:#000;
}

.tooltipster-sidetip.tooltipster-right .tooltipster-arrow-border{
	border-right-color:#000;
}

.tooltipster-sidetip.tooltipster-top .tooltipster-arrow-border{
	border-top-color:#0f7893;
}

#bottomSlider {
	outline:0;
}

#bottomSlider div {
	padding:0 !important;
	outline:0;
}

#bottomSlider div h1 {
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;	
	padding:0 40px;
	color:#0f7893;
	width: 80% !important;
}

@media screen and (min-width: 768px) {
	#bottomSlider div h1 {
		margin: 10px auto;
		width: 50% !important;
		padding:0;
	}
}

#bottomSlider div h2 {
    font-size: 17px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;	
	padding:0 40px;
	color:#0f7893;
	width: 80% !important;
}

@media screen and (min-width: 768px) {
	#bottomSlider div h2 {
		margin: 10px auto;
		width: 50% !important;
		padding:0;
	}
}

#bottomSlider div p {
    text-align: center;	
	font-size: 14px;
	line-height:1.5;
	color:#fff;
	margin:0 auto;
	width: 80% !important;
}

@media screen and (min-width: 768px) {
	#bottomSlider div p {
		width: 50% !important;
		padding:0;
	}	
}

#bottomSlider .slick-prev::before, #bottomSlider .slick-next::before {
   color:#fff;
}

@media screen and (min-width: 768px) {
	#bottomSlider .slick-next {
		right: 20%;
	}
}

@media screen and (min-width: 768px) {
	#bottomSlider .slick-prev {
		left: 20%;
	}
}

#project, #contacts {
	text-align:center;
	width:90%;
	margin:20px auto;
	font-size:17px;
}

@media screen and (min-width: 768px) {
	
	#project, #contacts {
		width:50%;
	}	

}

#project h1, #contacts h1 {
	font-weight:bold;
}

#project h2, #contacts h2 {
	font-size:20px;
	font-weight:bold;
	text-transform:uppercase;
	line-height:1.5;
}

#project p, #contacts p, #project ul li {
	line-height:1.5;
}

#project p {
	text-align:justify;
}

#project ul {
	text-align: left;
    list-style-type: disc;
    list-style-position: inside;
}

#project img {
	width:100%;
	height:auto;
}

#contacts p {
	color:#fff;
}

#contacts input, #contacts textarea {
	font-family: 'Lato', sans-serif;
	font-size:17px;
	padding:6px;
	width:100%;
	background:transparent;
	border:1px solid #fff;
	margin-bottom:10px;
	color:#fff;
}

#contacts input::-webkit-input-placeholder, #contacts textarea::-webkit-input-placeholder  { /* Chrome/Opera/Safari */
  color: #ddd;
}
#contacts input::-moz-placeholder, #contacts textarea::-moz-placeholder { /* Firefox 19+ */
  color: #ddd;
}
#contacts input:-ms-input-placeholder, #contacts textarea::-moz-placeholder { /* IE 10+ */
  color: #ddd;
}
#contacts input:-moz-placeholder, #contacts textarea::-moz-placeholder { /* Firefox 18- */
  color: #ddd;
}

#contacts button {
	background-image:url(img/downButton.png);
	background-repeat:no-repeat;
	background-size:contain;
	background-position:center left;
    background-color: transparent;
    border: 5px solid transparent;
    padding: 2px 2px 2px 25px;
    font-size: 14px;
	display:block;
    margin: 10px auto 0 auto;
    cursor: pointer;
	text-transform:uppercase;
	outline:0;
	font-family: 'Lato', sans-serif;
	color:#fff;
}

#contacts button:hover {
	background-color: #383838;
    border: 5px solid #383838;
}

#footer {
	background:#383838;
	padding:20px;
	color:#fff;
	text-align:center;
	line-height:1.5;
}

#footer p {
	text-align:right;
}

#footer a, #footer a:visited {
	color:#fff;
	text-decoration:none;
}

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