/* ==========
Teraskin website / 2019
========== */

@import "webfonts/style.css";


/*-----------------------------------------------------------------------------------------------
   fonts
-----------------------------------------------------------------------------------------------*/

@font-face {
  	font-family: 'Atlas Grotesk Web';
  	src: url('webfonts/AtlasGrotesk-Medium-Web.eot');
  	src: url('webfonts/AtlasGrotesk-Medium-Web.eot?#iefix') format('embedded-opentype'),
		 url('webfonts/AtlasGrotesk-Medium-Web.woff2') format('woff2'),
		 url('webfonts/AtlasGrotesk-Medium-Web.woff') format('woff');
  	font-weight: 500;
  	font-style: normal;
  	font-stretch: normal;
  	}

.AtlasGrotesk-Medium-Web {
	font-family: 'Atlas Grotesk Web';
	font-weight: 500;
	font-style: normal;
	font-stretch: normal;
	}


/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/

html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

/*------------------------------------------------------------*/

body {
	font-family: 'Atlas Grotesk Web', Helvetica, Arial, "sans-serif";
	font-weight: 500;
	font-style: normal;
	font-stretch: normal;
	margin: 0;
	background: #fff;
	color: #000;
	font-size: 100%;

	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	}

.container {
	width: 1200px;
	max-width: 98%;
	margin: 0 auto;
	padding: 0;
	background: transparent;
	}


/*-----------------------------------------------------------------------------------------------
   colonne
-----------------------------------------------------------------------------------------------*/

.col_1-1, .col_1-2 {
	float: left;
	margin: 0 2.5%;
	padding: 0;
   	-moz-box-sizing: border-box;
   	-webkit-box-sizing: border-box;
   	box-sizing: border-box;
	}

.col_1-1 { width: 95%; }
.col_1-2 { width: 45%; }


/*-----------------------------------------------------------------------------------------------
   header
-----------------------------------------------------------------------------------------------*/

#header {
 	width: 100%;
	margin: 30px 0 66px 0;
	padding: 0;
	float: left;
	}

#header .col_1-1 { background: url("images/onda.png") 194px 31px no-repeat transparent; }

#header .icon-teraskin-logo { font-size: 310%; float: left; margin: 0; }

/*-----------------------------------------------------------------------------------------------
   page
-----------------------------------------------------------------------------------------------*/

#page {
 	width: 100%;
	margin: 0; 
	padding: 0;
	float: left;
	}
#page .container { width: 1080px; }

#page h1, #page h2, #page h3, #page h4, #page h5, #page h6 { width: 100%; float: left; clear: both; margin: 0; padding: 0; font-weight: 100; }

#page p { width: 100%; clear: both; float: left; margin: 0; padding: 0; }

#header a, #page p a { color: #000; text-decoration: none; }
#page .text p a { padding: 1px; color: #8c8c8c; }
#header a:hover, #page p a:hover { color: #e30613; text-decoration: none; }
#page .text p a:hover { background: url("images/onda-rossa.png") bottom left repeat-x transparent; }

#page .col_1-1.intro { margin-bottom: 60px; text-align: center; font-size: 200%; line-height: 46px; }
#page .col_1-2.text, #page .col_1-2.slide { margin-bottom: 40px; font-size: 140%; line-height: 26px; }
#page .col_1-2.text { width: 33.5%; }
#page .col_1-2.slide { width: 56.5%; text-align: center; float: right; }
#page .col_1-2.slide .slidecnt { width: 490px; max-width: 100%; float: none; margin: 0 auto; padding: 0; display: inline-block; }

#page img.loghi { width: auto; max-width: 100%; height: auto; float: none; display: inline-block; margin-top: 60px; }


/* slideshow - jQuery Nivo Slider v3.2 */
 
.nivoSlider {
	position:relative;
	width:100%;
	height:auto;
	overflow: hidden;
}
.nivoSlider img {
	position:absolute;
	top:0px;
	left:0px;
	max-width: none;
}
.nivo-main-image {
	display: block !important;
	position: relative !important; 
	width: 100% !important;
}

/* If an image is wrapped in a link */
.nivoSlider a.nivo-imageLink {
	position:absolute;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	border:0;
	padding:0;
	margin:0;
	z-index:6;
	display:none;
	background:white; 
	filter:alpha(opacity=0); 
	opacity:0;
}
/* The slices and boxes in the Slider */
.nivo-slice {
	display:block;
	position:absolute;
	z-index:5;
	height:100%;
	top:0;
}
.nivo-box {
	display:block;
	position:absolute;
	z-index:5;
	overflow:hidden;
}
.nivo-box img { display:block; }

/* Caption styles */
.nivo-caption {
	position:absolute;
	left:0px;
	bottom:0px;
	background:#000;
	color:#fff;
	width:100%;
	z-index:8;
	padding: 5px 10px;
	opacity: 0.8;
	overflow: hidden;
	display: none;
	-moz-opacity: 0.8;
	filter:alpha(opacity=8);
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
}
.nivo-caption p {
	padding:5px;
	margin:0;
}
.nivo-caption a {
	display:inline !important;
}
.nivo-html-caption {
    display:none;
}
/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav a {
	position:absolute;
	top:45%;
	z-index:9;
	cursor:pointer;
}
.nivo-prevNav {
	left:0px;
}
.nivo-nextNav {
	right:0px;
}
/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav {
	text-align:center;
	padding: 15px 0;
}
.nivo-controlNav a {
	cursor:pointer;
}
.nivo-controlNav a.active {
	font-weight:bold;
}

/*
===========================================================================================
	media queries
===========================================================================================
*/

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

	#page .col_1-2.text, #page .col_1-2.slide { width: 95%; }
	#page .col_1-2.slide { margin-top: 50px; text-align: center; }
	#page .col_1-2.slide .slidecnt { float: none; display: inline-block; }
	
	#page .col_1-2.text { text-align: center; }

}

