/* @import url("https://fonts.googleapis.com/css?family=Open+Sans:100,200,300,400,700"); */
@font-face{
  font-family:'TIMSans';
  src:url("/font/TIMSans-Bold.ttf");
}
html {
  /* font-family: "Open Sans", sans-serif;*/
  font-family: "TIMSans"; 
  font-size: 20px;
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
  font-family: "TIMSans"; 
  font-weight: normal;
  margin: 0;
  padding: 0;
}

ol,
ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}
.tablet,
.desktop,
.mobile {
  display: none;
}
body {
  font-family: "TIMSans"; 
  color: #fff;
  font-weight: 400;
}
header {
  height: 125px;
}
.logo {
  padding: 30px;
}
section {
  position: relative;
  height: calc(100vh - 370px);
  /* background-image: url("../images/bg_desktop_2.jpg"); */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.message {
  position: absolute;
  text-align: center;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.message > h1 {
  font-size: 40px;
  line-height: 50px;
  padding: 10px;
}
strong {
  font-weight: 700;
}
.message > p {
  font-size: 18px;
  font-weight: 100;
  line-height: 1.6;
  padding: 10px;
}
footer {
  height: 245px;
  text-align: center;
  background-color: #004691;
  font-size: 11px;
  position: relative;
}
footer > .symbol {
  padding-top: 40px;
}
footer p {
  position: absolute;
  bottom: 40px;
  width: 100%;
  text-align: center;
  margin: auto;
}
@media only screen and (max-width: 1024px) {
  header {
    text-align: center;
    margin: auto;
  }
  footer > .symbol {
    padding-top: 40px;
  }
}
@media only screen and (max-width: 768px) {
  header {
    height: 65px;
  }
  .logo {
    padding: 5px;
  }
  
  section {
    height: calc(100vh - 315px);
  }
  .message {
	  width:100%;
  }
  .message h1{
	  font-size:34px;
	  line-height:40px;
  }
  .message > p {
	  font-size:16px;
  line-height:1.4;
  }
  footer {
    height: 250px;
  }
  footer p {
    width: 80%;
    padding-left: 20%;
  }
}
/* Schermi grandi o ad alta risoluzione */
@media all and (max-width: 1690px) { 
  header {
    height: 65px;
  } 
  
  section {
    height: calc(100vh - 315px);
  }
  .message {
	  width:100%;
  }
  .message h1{
	  font-size:34px;
	  line-height:40px;
  }
  .message > p {
	  font-size:16px;
  line-height:1.4;
  }
  footer {
    height: 250px;
  }
  footer p {
    width: 80%;
    padding-left: 20%;
  }
 }

/* Schermi Desktop o Portatili */
@media all and (min-width: 1280px) and (max-width: 1689px) { 
  header {
    height: 65px;
  }
 
  section {
    height: calc(100vh - 315px);
  }
  .message {
	  width:100%;
  }
  .message h1{
	  font-size:34px;
	  line-height:40px;
  }
  .message > p {
	  font-size:16px;
  line-height:1.4;
  }
  footer {
    height: 250px;
  }
  footer p {
    width: 80%;
    padding-left: 20%;
  }
 }

/* Tablet in modalità orizzontale */
@media all and (min-width: 737px) and (max-width: 1279px) { 
  header {
    height: 65px;
  }

  section {
    height: calc(100vh - 315px);
  }
  .message {
	  width:100%;
  }
  .message h1{
	  font-size:34px;
	  line-height:40px;
  }
  .message > p {    
  font-size:large;
  line-height:1.4;
  }
  footer {
    height: 250px;
  }
  footer p {
    width: 80%;
    padding-left: 20%;
  }
 }
/* Tablet in modalità verticale */
@media all and (min-width: 481px) and (max-width: 736px) { 
  header {
    height: 65px;
  }
   section {
    height: calc(100vh - 315px);
  }
  .message {
	  width:100%;
  }
  .message h1{
	  font-size:34px;
	  line-height:40px;
  }
  .message > p {
    font-size:large;
  line-height:1.4;
  }
  footer {
    height: 250px;
  }
  footer p {
    width: 80%;
    padding-left: 20%;
  }
 }

/* Smartphone o piccoli Tablet */
@media all and (max-width: 480px) { 
  header {
    height: 65px;
  }
 
  section {
    height: calc(100vh - 315px);
  }
  .message {
	  width:100%;
  }
  .message h1{
	  font-size:34px;
	  line-height:40px;
  }
  .message > p {
    
    font-size:large;
  line-height:1.4;
  }
  footer {
    height: 250px;
  }
  footer p {
    width: 80%;
    padding-left: 20%;
  }
 } 
