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

/*GENERAL*/
* {
  margin:0;
  padding:0;
}

body {
  font-family: 'Playfair Display', serif;
}

h1, h2, h3, h4, h5, h6, p {
	margin: 0;
	padding: 0;
}

header {
  position:absolute;
  top:0;
  height: auto;
  padding: 20px 0;
  z-index: 9;
  width: 100%;
}

@media screen and (min-width: 768px) {	
  header {
    height: 80px;
  }
}

header div {
  height: inherit;
}

#logo {
  display:block;
  height:60px;
  margin:10px 0 0 0;
  text-align:center;
}

@media screen and (min-width: 768px) {
  #logo {
    height:80px;
    display:inline;
    height:inherit;
  }
}

#logo img {
  height:100%;
}

#links-bar {
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  -webkit-transition: all 0.50s linear;
  -o-transition: all 0.50s linear;
  transition: all 0.50s linear;
}

@media screen and (min-width: 768px) {
  #links-bar {
    float: right;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

a.item-social {
  font-family: "Font Awesome 5 Free";
  font-size: 25px;
  font-weight: bold;
  color:#222;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  margin: 0 10px;
}

@media screen and (min-width: 768px) {	
  a.item-social {
    font-size: 30px;
  }
}

a.item-social.instagram::before {
    font-family: "Font Awesome 5 Brands";
    content: "\f16d";
}

a.item-social.facebook::before {
    font-family: "Font Awesome 5 Brands";
    content: "\f082";
}

a.item-social.linkedin::before {
    font-family: "Font Awesome 5 Brands";
    content: "\f08c";
}

a.item-social.website::before {
    content: "\f0ac";
}

footer {
	margin-bottom:10px;
	width:100%;
	position:absolute;
	bottom:0;
	z-index:9;
}

footer p {
padding: 20px 0;
line-height: 1.2;
color: #222;
text-align: center;
}

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

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

footer span#company, footer span#address, footer span#contacts {
	display:block;
}

@media screen and (min-width: 768px) {
  footer span#company, footer span#address {
    display:inline;
  }
  
  footer span#address::before {
	  content:' | ';
  }
}

/*TEST  MAINTENANCE*/
#ribbonTest {
  width: 124px;
  background: #e43;
  position: fixed;
  top: 10px;
  right: -35px;
  text-align: center;
  line-height: 25px;
  letter-spacing: 1px;
  color: #fff;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  z-index:99999;
}

/*COOKIE*/
#cookie {
  display:none;
  background: rgba(255,255,255,0.6);
  color: #fff;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  z-index:999999;
}

#cookie p {
  padding:1%;
  margin:0;
  text-align:center;
  font-size:12px;
  background:#00391d;
}

@media screen and (min-width: 768px) {	
  #cookie p {
    float:left;
    width:85%;
    height:50px;
    text-align:left;
    font-size: 14px;
  }
}

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

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

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

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

#cookie button {
	color:#fff;
	border:1px solid #fff;
}

/*PAGINA*/
section {

}

section#intro {
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  height:100vh;
}

.container {
  margin:auto;
  width:96%;
  padding:0 2%;
}

/*
@media screen and (min-width: 768px) {	
  .container {
	padding:0;
    width: 750px;
  }
}
*/

@media screen and (min-width: 1024px) {	
  .container {
    width: 1000px;
	padding:0;
  }
}

@media screen and (min-width: 1200px) {	
  .container {
    width: 1170px;
  }
}

.slideshow {
  position: absolute;
 	width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slideshow-image {
  position: absolute;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  -webkit-animation-name: kenburns;
  animation-name: kenburns;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-duration: 16s;
  animation-duration: 60s;
  opacity: 1;
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
  filter: grayscale(100%);
}

.slideshow-image:nth-child(1) {
  -webkit-animation-name: kenburns-1;
  animation-name: kenburns-1;
  z-index: 3;
}

.slideshow-image:nth-child(2) {
  -webkit-animation-name: kenburns-2;
  animation-name: kenburns-2;
  z-index: 2;
}

.slideshow-image:nth-child(3) {
  -webkit-animation-name: kenburns-3;
  animation-name: kenburns-3;
  z-index: 1;
}

.slideshow-image:nth-child(4) {
  -webkit-animation-name: kenburns-4;
  animation-name: kenburns-4;
  z-index: 0;
}

#newsletter {
	width:80%;
	margin: 0 auto;
	position:relative;
	background:#fff;
	padding:20px;
	z-index:99;
-webkit-box-shadow: 10px 10px 0px 0px rgba(0,0,0,1);
-moz-box-shadow: 10px 10px 0px 0px rgba(0,0,0,1);
box-shadow: 10px 10px 0px 0px rgba(0,0,0,1);
}

@media screen and (min-width: 1024px) {
	#newsletter {
		width:60%;	
	}
}

#newsletter h1 {
	position:relative;
	font-size:1.8em;
	padding-bottom: 15px;
	margin-bottom: 10px;
}

#newsletter h1:before {
	position:absolute;
	bottom:0;
	left:0;
	content: "";
  height: 1px;
  border-top: 4px solid #000;
  width: 50px;
}

#newsletter h1:after {
	position:absolute;
	bottom:0;
	left:0;
	content: "";
  height: 1px;
  border-bottom: 1px solid #000;
  width: 100%;
}

#newsletter p.subtitle {
	font-size:1.2em;
	color:#000;
	font-style:italic;
}

::-webkit-input-placeholder { /* Edge */
 color:#bbb;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color:#bbb;
}

::placeholder {
  color:#bbb;
 }
 
 @media screen and (min-width: 1024px) {
	 ::-webkit-input-placeholder { /* Edge */
 opacity:0;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
   opacity:0;
}

::placeholder {
   opacity:0;
 }
}

form {
	width:100%;
	margin: 20px auto 0 auto;
	font-size:1em;
}

form p {
	margin-top: 10px;
}

form label {
	display:none;
}

form label.error {
	color:#f00;
}

form span.label,  form span.label-file {
	    margin-right: 20px;
		display:inline-block;
	width:120px;
}

 form span.label-file {
	 display:none;
 }

@media screen and (min-width: 1024px) {
	form label, form span.label, form span.label-file {
	display:inline-block;
	width:120px;
	margin:0;
}
}

form input[type=text] {
	outline:0;
	padding:2%;
	    width: calc(96% - 2px);
		border:1px solid #222;
		color:#000;
		font-family: 'Playfair Display', serif;
}

form input[type=text]:read-only {
  border:0;
  cursor:default;
}

form input[type="file"] {
    display: none;
}

label.custom-file-upload {
	display:inline-block;
	position: relative;
	cursor: pointer;
	outline: 0;
    padding: 2%;
   padding-right: 40px;
    border: 1px solid #000;
    color: #222;
    font-family: 'Playfair Display', serif;
}

@media screen and (min-width: 1024px) {
	label.custom-file-upload {
		width: calc(100% - 19px - 160px);
	}
}

label.custom-file-upload:before {
	    position: absolute;
    font-family: "Font Awesome 5 Free";
        font-size: 1.3em;
    font-weight: bold;
    line-height: 1;
    text-decoration: none;
	content: '\f382';
    right: 5px;

}

label.custom-file-upload.ok:before {
	    position: absolute;
    font-family: "Font Awesome 5 Free";
        font-size: 1.3em;
    font-weight: bold;
    line-height: 1;
    text-decoration: none;
	content: '\f2ed';
    right: 5px;

}

form select {
	outline:0;
	padding: 2%;
    text-transform: none;
    width: calc(100% - 2px);
border: 1px solid #222;
    color: #000;
    font-family: 'Playfair Display', serif;
}

@media screen and (min-width: 1024px) {
	form select {
	padding: 6px;
    width: calc(100% - 4px - 120px);

}
}

@media screen and (min-width: 1024px) {
	form input[type=text].num {

	    width: calc(20% - 2px);

}
}

form input[type=text].error, form select.error {
border:1px solid #f00;
}

@media screen and (min-width: 1024px) {
form input[type=text] {
	padding:6px;
	width:calc(100% - 19px - 120px);
}
}

form input[type=radio], form input[type=checkbox] { 
	display: none; 
}

form input[type=radio] + label,  form input[type=checkbox] + label {
	display:inline-block;
	width:auto;
	    margin-right: 20px;
}

form input[type=radio] + label:before, form input[type=checkbox] + label:before { 
	color: #bbb; 
	font-family:FontAwesome; 
	display: inline-block; 
margin: 0 8px 0 0;
}

form input[type=radio] + label:before { 
	content: "\f10c"; 
}

form input[type=radio]:checked + label:before { 
	content: "\f192";
}

form input[type=checkbox] + label:before { 
	content: "\f0c8";
}

form input[type=checkbox]:checked + label:before { 
	content: "\f14a";
}

form span.default {
display:none;
}

	
form span.details {
	font-size: 0.7em;
	text-align:right;
	color:#bbb;
}

@media screen and (min-width: 1024px) {
form span.details {
	font-size: 0.8em;
	margin-left:126px;
text-align:left;
}

}

form span.details.error {
	color:#f00;
}

.one-half p.but-line {
	position: relative;
	text-align:center;
}

@media screen and (min-width: 1024px) {
.one-half p.but-line {
		position: absolute;
		    bottom: 5%;
    right: 5%;
}
}

button {
	outline:0;
	cursor:pointer;
	padding:6px;
	background:transparent;
	border:1px solid #000;
	color:#000;
}

button:hover {
	background:#000;
	color:#fff;
}

p.but-line {
	float:right;
	text-align:right;
}

p.but-line button.send {
	position: relative;
    line-height: 25px;
    padding-right: 40px;
}

p.but-line button.send:after {
	position:absolute;
	font-family: "Font Awesome 5 Free";
	font-size: 25px;
    font-weight: bold;
    line-height: 1;
    text-decoration: none;
}

p.but-line button.send:after {
	content:'\f1d8';
	right:5px;
}

p.but-line button.send:disabled {
	    border: 1px solid #ddd;
    color: #ddd;
	cursor:not-allowed;
}

p.but-line button.send:disabled {
	     border: 1px solid #ddd;
    color: #ddd;
	cursor:not-allowed;
}

#responseQuote {
	height: 40px;
	line-height: 40px;
}

@media screen and (min-width: 1024px) {
	#responseQuote {
		line-height: 40px;
	}
}
@-webkit-keyframes 
kenburns-1 {  0% {
 opacity: 1;
 -webkit-transform: scale(1.05);
 transform: scale(1.05);
 filter: grayscale(0.5) blur(1px) saturate(2);
}
 1.5625% {
 opacity: 1;
}
 23.4375% {
 opacity: 1;
}
 26.5625% {
 opacity: 0;
 -webkit-transform: scale(1);
 transform: scale(1);
 filter: grayscale(1) blur(10px) saturate(2);
}
 100% {
 opacity: 0;
 -webkit-transform: scale(1.05);
 transform: scale(1.05);
 filter: grayscale(0.5) blur(1px) saturate(2);
}
 98.4375% {
 opacity: 0;
 -webkit-transform: scale(1.06);
 transform: scale(1.06);
}
 100% {
 opacity: 1;
}
}

@keyframes 
kenburns-1 {  0% {
 opacity: 1;
 -webkit-transform: scale(1.05);
 transform: scale(1.05);
}
 1.5625% {
 opacity: 1;
}
 23.4375% {
 opacity: 1;
}
 26.5625% {
 opacity: 0;
 -webkit-transform: scale(1);
 transform: scale(1);
}
 100% {
 opacity: 0;
 -webkit-transform: scale(1.05);
 transform: scale(1.05);
}
 98.4375% {
 opacity: 0;
 -webkit-transform: scale(1.06);
 transform: scale(1.06);
}
 100% {
 opacity: 1;
}
}

@-webkit-keyframes 
kenburns-2 {  23.4375% {
 opacity: 1;
 -webkit-transform: scale(1.05);
 transform: scale(1.05);
}
 26.5625% {
 opacity: 1;
}
 48.4375% {
 opacity: 1;
}
 51.5625% {
 opacity: 0;
 -webkit-transform: scale(1);
 transform: scale(1);
}
 100% {
 opacity: 0;
 -webkit-transform: scale(1.05);
 transform: scale(1.05);
}
}

@keyframes 
kenburns-2 {  23.4375% {
 opacity: 1;
 -webkit-transform: scale(1.05);
 transform: scale(1.05);
}
 26.5625% {
 opacity: 1;
}
 48.4375% {
 opacity: 1;
}
 51.5625% {
 opacity: 0;
 -webkit-transform: scale(1);
 transform: scale(1);
}
 100% {
 opacity: 0;
 -webkit-transform: scale(1.05);
 transform: scale(1.05);
}
}

@-webkit-keyframes 
kenburns-3 {  48.4375% {
 opacity: 1;
 -webkit-transform: scale(1.05);
 transform: scale(1.05);
}
 51.5625% {
 opacity: 1;
}
 73.4375% {
 opacity: 1;
}
 76.5625% {
 opacity: 0;
 -webkit-transform: scale(1);
 transform: scale(1);
}
 100% {
 opacity: 0;
 -webkit-transform: scale(1.05);
 transform: scale(1.05);
}
}

@keyframes 
kenburns-3 {  48.4375% {
 opacity: 1;
 -webkit-transform: scale(1.05);
 transform: scale(1.05);
}
 51.5625% {
 opacity: 1;
}
 73.4375% {
 opacity: 1;
}
 76.5625% {
 opacity: 0;
 -webkit-transform: scale(1);
 transform: scale(1);
}
 100% {
 opacity: 0;
 -webkit-transform: scale(1.05);
 transform: scale(1.05);
}
}

@-webkit-keyframes 
kenburns-4 {  73.4375% {
 opacity: 1;
 -webkit-transform: scale(1.05);
 transform: scale(1.05);
}
 76.5625% {
 opacity: 1;
}
 98.4375% {
 opacity: 1;
}
 100% {
 opacity: 0;
 -webkit-transform: scale(1);
 transform: scale(1);
}
}

@keyframes 
kenburns-4 {  73.4375% {
 opacity: 1;
 -webkit-transform: scale(1.05);
 transform: scale(1.05);
}
 76.5625% {
 opacity: 1;
}
 98.4375% {
 opacity: 1;
}
 100% {
 opacity: 0;
 -webkit-transform: scale(1);
 transform: scale(1);
}
}
