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

@import url("https://use.typekit.net/nqy3pfp.css");
@import url('https://fonts.googleapis.com/css?family=Roboto+Mono:400,700');
@import url("font-awesome.min.css");

@font-face {
  font-family: 'ELCOmpanies';
  src: url(fonts/OptimaDisplay-Roman.otf) format('opentype'),
	   url(fonts/OptimaDisplay-Roman.woff) format('woff'),
       url(fonts/OptimaDisplay-Roman.eot) format('embedded-opentype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'ELCOmpanies';
  src: url(fonts/OptimaLTStd-Medium.otf) format('opentype'),
	   url(fonts/OptimaLTStd-Medium.woff) format('woff'),
       url(fonts/OptimaLTStd-Medium.eot) format('embedded-opentype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'ELCOmpanies';
  src: url(fonts/OptimaLTStd.otf) format('opentype'),
	   url(fonts/OptimaLTStd.woff) format('woff'),
       url(fonts/OptimaLTStd.eot) format('embedded-opentype');
  font-weight: 400;
  font-style: normal;
}



*, *:before, *:after {
  box-sizing: border-box;
}
html {
	height: 100%;
}
body {
  margin:0;
  padding:0;
  background-color: #202a44;
  font-family: "ELCOmpanies", Helvetica, Arial, sans-serif;
	font-size: 1.3rem;
	font-weight: 300;
	letter-spacing: 1px;
	height: 100%;
}
h3 {
	font-size:2rem;
	font-family: "ELCOmpanies", Helvetica, Arial, sans-serif;
	font-weight: 300;
	margin-bottom: 0px;
}
h4 {
	font-size:1.4rem;
	font-family: "ELCOmpanies", Helvetica, Arial, sans-serif;
	font-weight: 400;
	margin-bottom: 0px;
}

a {
	color: inherit;
}
a.under {
	color: inherit;
	text-decoration: underline;
}
header {
  background-color: #000;
  height:60px;
}
#subheader {
  background-color: #000;
  height:60px;
  border-top: 1px solid #ccc;
}
#nav {
 width: 100%;
 max-width: 1200px;
 margin: auto;
 text-align: center;
}
#subnav {
 width: 100%;
 max-width: 1200px;
 margin: 0 auto;
 text-align: center;
 height: 60px;
	/*border: 1px solid #ff0000;*/
}
#hamb {
 display:none;
  font-size:2.5rem;
}
#hamb:before {
  content: "≡";
	position: relative;
	float: right;
	margin-right: 30px;
	margin-top: -60px;
	color: #fff;
}
#check {
  display:none;
	margin: 0;
	padding: 0;
}
#ELCompaniesLogoTop {
	margin-top: 0px;
	height: 30px;
	width: auto;
}
ul.menu {
	list-style: none;
	display: inline-block;
	margin: 0;
	padding: 0;
	}
ul.menu li {
	display: inline-block;
	padding: 10px 25px;
	margin-top: 10px;
	height: 40px;
	border-left: 1px solid #ccc;
	}
ul.menu li:last-child {
	border-right: 1px solid #ccc;
	}
content {
	display: inline-block;
 	width: 100%;
	color: #000;
	text-align: center;
	background-color: #fff;
	min-height: calc(100% - 180px);
	padding-bottom: 50px;
	/*border: 1px solid #ff0000;*/
}
#contentimage {
	display: flex;
	width: 100%;
	min-height: 500px;
	margin-bottom: 40px;
	background-image: url(imgs/ELC_Ccare_top.jpg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	background-color: #000;
}
#logo {
	display: flex;
	width: 100%;
	min-height: 100px;
	margin-bottom: 0;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	background-color: #202a44;
}

#elc {
	display: flex;
	width: 100%;
	max-width: 300px;
	height: 200px;
	margin: auto;
}
#elc img {
	margin: auto;
	width: 100%;
	height: auto;
}
#contentimage .logo {
	display: flex;
	width: 50%;
	max-width: 500px;
	height: 150px;
	margin: auto;
	background-color: rgba(0,0,0,0.50)
}
#contentimage .logo img {
	margin: auto;
	width: 80%;
	height: auto;
}
#titolo {
	display: block;
	margin: 50px auto;
	max-width: 1200px;
	padding: 0 50px;
	text-align: center;
}
#titolo p {
	margin:8px 0 30px 0;
}
ul.mainNav {
	color: #fff;
	list-style: none;
	padding: 0;
}
ul.mainNav li {
	display: inline-block;
	padding: 0;
	height: 50px;
	
	/*border: 1px solid #ff0000;*/
	}
content .codice {
	width: 250px;
	height: 50px;
	padding: 0 20px;
	border: 1px solid #000;
	margin-bottom: 10px;
}
content input::placeholder {
	color: #000;
	opacity: 1;
	font-family: "esteeTesto";
}
content input[type=button] {
	background-color: #575656;
	color: #fff;
	font-weight: bold;
	font-size: 1em;
	border: 1px solid #575656;
}
footer {
	width: 100%;
	padding: 0;
	font-size: 0.8rem;
	font-weight: 300;
	letter-spacing: 1.4px;
	position: absolute;
	/*bottom:0;*/
	background-color: #202a44;
	color: #FFFFFF;
}
#footerbar {
	width: 100%;
	height: 30px;
	background-color: #202a44;
}
#footerbar p {
	width: 100%;
	max-width: 1200px;
	margin: auto;
	padding: 20px 30px;
	text-align: center;
	font-family: "ELCOmpanies", Helvetica, Arial, sans-serif;
}
#footerbar a {
	margin-right: 50px;
}

#loghi {
	display: flex;
	width: 100%;
	max-width: 1200px;
	margin: 50px auto 0;
	padding: 0 30px;
	justify-content: space-between;
}
.brand {
	display: flex;
	width: auto;
	/*border: 1px solid #ff0000;*/
	margin-right: 50px;
}
.brand img {
	margin: auto;
	width: 100%;
	height: auto;
}

.brand.last {
	margin-right: 0;
}

#tabella {
	display: flex;
	width: 100%;
	max-width: 1200px;
	margin: auto;
	padding: 0 30px;
}
/* 
Generic Styling, for Desktops/Laptops 
*/
table { 
  width: 100%; 
  border-collapse: collapse;
	font-size: 1.1rem;
}
/* Zebra striping 
tr:nth-of-type(odd) { 
  background: #eee; 
}*/
th { 
  background: #202a44; 
  color: white; 
  font-weight: 300;
	font-size: 0.8rem;
}
td:first-child {
	background: #202a44; 
  color: white;
	font-size: 1.4rem;
	width: 20%;
}
td, th { 
  padding: 6px; 
  border: 1px solid #ccc; 
  text-align: center; 
}


@media screen and (max-width: 640px)
	
 {
	 #loghi {
	flex-wrap: wrap;
}
	.brand {
	max-width: 26%;
		margin-right: 0 !important;
		margin-bottom: 20px
}
	 


	/* Force table to not be like tables anymore */
	table, thead, tbody, th, td, tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	tr { border: 1px solid #ccc; }
	
	td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 20%; 
		font-size: 0.9rem;
	}
	
	td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 15%; 
		padding-right: 10px; 
		white-space: nowrap;
		text-align: left;
		font-size: 0.8rem;
		font-style: italic;
	}
	 td:first-child {
	width: 100%;
}
	
	/*
	Label the data
	*/
	td:nth-of-type(1):before { content: ""; width: 1%; }
	td:nth-of-type(1) { padding-left: 2%; }
	td:nth-of-type(2):before { content: ""; width: 1%; }
	td:nth-of-type(2) { padding-left: 2%; }
	td:nth-of-type(3):before { content: "Telefono"; }
	td:nth-of-type(4):before { content: "Whatsapp"; }
}







@media screen and (max-width: 950px) {
	
	
	
	ul.menu li {
	padding: 10px 20px;
	}
	#footerbar a {
	margin-right: 10px;
}
}
@media screen and (max-width:750px) {
	
.brand {
		margin-right: 20px;
}
	
	#titolo {
	padding: 0 30px;
}
	
	#elc {
	width: 90%;
}
	ul.mainNav li {
	display: block;
		margin-bottom: 10px;
	}
	ul.menu {
    display:none;
		width: 200px;
		right: 0;
  }
	#subheader {
		height: 0;
	}
	#hamb {
  display:block;
}
	#check:checked  ~ ul.menu {
    display:block;
    position: absolute;
  }
   #check:checked  ~ ul.menu li {
    background: #000;
    padding:10px 10px;
	margin: 0 auto;
		width: 180px;
		text-align: center;
		font-size: 1rem;
		height: auto;
		border-bottom: 1px solid #fff;
	   border-left:  0px solid #fff;
	   border-right:  0px solid #fff; 
  }
  #check:checked  ~ ul.menu li a {
    color:#000;
  }
 #check:checked + #hamb:before {
  content: "×"
}
	#footerbar a {
	margin-right: 0;
	margin-bottom: 5px;
	display: block;
}
	content input {
	display: block;
	margin: 20px auto 0px;
}
}
@media screen and (max-width: 520px) {
	#contentimage.left {
	background-position: left center;
}
	#contentimage.right {
	background-position: -650px center;
}
	#nav {
 text-align: left;
}
	#ELCompaniesLogoTop {
	height: auto;
	width: 70%;
		margin-left: 30px;
}
	ul.mainNav li {
	width: 90%;
	}
	ul.mainNav li img {
	width:100%;
	height: auto;
	}
	content .codice {
	width: 200px;
	padding: 0 5px;
}
	#titolo {
	padding: 0 30px;
}
	footer p {
		text-align: center;
	}
	#footerbar a {
	display: block;
}
	ul.menu {
		margin: 0px 0px 0px 20px;
	}
	h2 {
		font-size: 4em;
	}
	
}