:root {
  --vh-offset: 0px;
}

/** height: calc(100vh - var(--vh-offset)); **/

body{
	margin:0;
	padding:0;
	font-size: 16px;
	background-color: #fff;
	color:#4f4f4f;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
  font-family: 'Ubuntu', sans-serif;
}

html, body {
     overflow-x:hidden;
}

.tr {
  -webkit-transition: all 600ms ease;
  -moz-transition: all 600ms ease;
  -ms-transition: all 600ms ease;
  -o-transition: all 600ms ease;
  transition: all 600ms ease;
}


a { color:inherit; }

h1, h2, h3, h4, h5 {font-weight: normal; margin: 0;}

h1 {
  font-size: 40px;
  line-height: 50px;
  margin-bottom: 25px;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
}

h2 {
  font-size: 35px;
  line-height: 45px;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
}

h3 {
  font-size: 18px;
  line-height: 25px;
}

div {
  position: relative;
}

.centerimage img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
}

#header {
  height: 70px;
  background: #15477C;
}

#top_row {
  background: #123F68;
  color: #7E98B1;
  font-size: 14px;
  height: 30px;
  line-height: 30px;
  padding: 0 40px;
}

#top_row .left a:hover {
  text-decoration: underline;
}

#top_row .left {
  float: left;
}

#top_row .right {
  float: right;
}

.social_box .social_item {
  margin-right: 10px;
  font-size: 16px;
}

.social_box .social_item:hover {
  opacity: 0.5;
}

.social_box .social_item:last-child {
  margin-right: 0;
}

#header_row {
  background: #15477C;
  height: 70px;
  line-height: 70px;
  padding: 0 40px;
  color: #fff;
  z-index: 2;
}

#header_row.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 50px;
  line-height: 50px;
  -webkit-box-shadow: 0 0 20px 0 rgba(0,0,0,0.1);
  box-shadow: 0 0 20px 0 rgba(0,0,0,0.1);
}

#main_logo {
  position: absolute;
  left: 40px;
  top: 11px;
  width: 100%;
  max-width: 300px;
}

#main_logo_s {
  position: absolute;
  left: 40px;
  top: 11px;
  width: 100%;
  max-width: 300px;
  display: none;
}

#header_row.sticky #main_logo {
  max-width: 250px;
  top: 5px;
}

#main_logo img {
  width: 100%;
}

#main_logo_s img {
  width: 100%;
}

#header_row #main_menu {
  float: right;
}

#main_menu .main_menu_item {
  text-transform: uppercase;
  margin-right: 50px;
  line-height: 16px;
  vertical-align: middle;
}

#main_menu .main_menu_item .bg {
  display: none;
}

#main_menu .main_menu_item:last-child {
  margin-right: 0;
}

#main_menu .main_menu_item:hover {
  opacity: 0.5;
}

#mobile_menu_btn {
  display: none;
}

#close_btn {
  display: none;
}



@media only screen and (max-width: 1300px) {

  .content {
    padding: 0 30px;
  }

}


@media only screen and (max-width: 1200px) {

  #header {
    height: 50px;
  }

  #top_row {
    display: none;
  }

  #header_row {
    padding: 0 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    line-height: 50px;
    -webkit-box-shadow: 0 0 20px 0 rgba(0,0,0,0.1);
    box-shadow: 0 0 20px 0 rgba(0,0,0,0.1);
  }

  #main_menu {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #15477C;
    font-size: 0!important;
    line-height: 0!important;
    opacity: 0;
    visibility: hidden;
    backface-visibility: hidden;
    z-index: 10;
  }

  #main_menu.show {
    opacity: 1;
    visibility: visible;
  }

  #main_menu .main_menu_item {
    width: 100%;
    padding: 30px;
    margin-right: 0;
    height: 33.33%;
    text-align: center;
    font-size: 25px;
  }

  #main_menu .main_menu_item .bg {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    opacity: 0.2;
    display: block;
  }

  #main_menu .main_menu_item a {
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    position: absolute;
  }

  #main_logo {
    left: 20px;
    max-width: 250px;
    top: 5px;
  }

  #main_logo_s {
    left: 20px;
    max-width: 250px;
    top: 5px;
  }

  #mobile_menu_btn {
    display: block;
    position: absolute;
    top: 0;
    right: 20px;
    width: 30px;
    cursor: pointer;
    bottom: 0;
    opacity: 0;
    visibility: hidden;
    backface-visibility: hidden;
  }

  #mobile_menu_btn.show {
    opacity: 1;
    visibility: visible;
  }

  #mobile_menu_btn img {
    width: 100%;
  }

  #close_btn {
    position: fixed;
    top: 0;
    height: 50px;
    right: 20px;
    width: 25px;
    cursor: pointer;
    bottom: 0;
    z-index: 11;
    opacity: 0;
    visibility: hidden;
    backface-visibility: hidden;
    display: block;
  }

  #close_btn.show {
    opacity: 1;
    visibility: visible;
  }

  #close_btn img {
    width: 100%;
  }

}



@media only screen and (max-width: 700px) {

  #main_menu .main_menu_item {
    font-size: 20px;
  }

}

@media only screen and (max-width: 400px) {

  #main_logo {
    display: none;
  }

  #main_logo_s {
    display: block;
    width: 60px;
  }


}





#slide_box {
  height: 530px;
  width: 100%;
  overflow: hidden;
  background: #123F68;
}

.pages #slide_box {
  height: 350px;
}


#slide_box .photo {
  width: 60%;
  left: auto;
}

#slide_logo {
  position: absolute;
  right: 160px;
  top: -20px;
  bottom: -20px;
}

#slide_logo img {
  height: 100%;
  opacity: 27%;
}

#slide_box .gradient {
  background: -moz-linear-gradient(left,  rgba(18,63,104,1) 0%, rgba(18,63,104,0) 100%);
background: -webkit-linear-gradient(left,  rgba(18,63,104,1) 0%,rgba(18,63,104,0) 100%);
background: linear-gradient(to right,  rgba(18,63,104,1) 0%,rgba(18,63,104,0) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#123f68', endColorstr='#00123f68',GradientType=1 );

  left: 40%;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40%;
}

.content {
  max-width: 1200px;
  margin: 0 auto;
}

#slide_box .content {
  height: 530px;
}

.pages #slide_box .content {
  height: 350px;
}

#slide_box .text {
  color:#ffffff;
  max-width: 400px;
}

.buttons_row {
  margin-top: 30px;
}

.main_btn {
  height: 60px;
  line-height: 60px;
  -webkit-border-radius:30px;
  border-radius:30px;
  background: #15477C;
  color: #fff;
  padding:  0 55px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  text-transform: uppercase;
  font-size: 16px;
  -webkit-transition: all 600ms ease;
  -moz-transition: all 600ms ease;
  -ms-transition: all 600ms ease;
  -o-transition: all 600ms ease;
  transition: all 600ms ease;
  cursor: pointer;
}

.main_btn.map {
  margin-left: 20px;
}

.main_btn i {
  margin-left: 10px;
}

.main_btn:before {
  content: url(../img/arrow_w.svg);
  width: 10px;
  position: absolute;
  left: 10px;
  top: 3px;
  -webkit-transition: all 600ms ease;
  -moz-transition: all 600ms ease;
  -ms-transition: all 600ms ease;
  -o-transition: all 600ms ease;
  transition: all 600ms ease;
  opacity: 0;
}

.main_btn.w {
  background: #fff;
  color: #15477C;
}

.main_btn.w:before {
  content: url(../img/arrow_b.svg);
}

.main_btn:hover:before {
  opacity: 1;
  left: 26px;
}

.buttons_row .social_box {
  height: 60px;
  line-height: 60px;
  margin-left: 20px;
}

.buttons_row .social_item {
  font-size: 23px;
}







@media only screen and (max-width: 1000px) {

  #slide_box {
    height: auto;
  }

  .pages #slide_box {
    height: auto;
  }

  #slide_box .gradient {
    display: none;
  }

  #slide_box .content {
    height: auto;
    padding-top: 70px;
    padding-bottom: 100px;
    text-align: center;
  }


  .pages #slide_box .content {
    height: auto;
  }

  #slide_box .content .centerMe_V {
    top: 0;
    left: 0;
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
    position: relative;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
  }

  #slide_box .bg {
    position: relative;
    width: 100%;
    height: 300px;
  }

  #slide_logo {
    height: 400px;
    bottom: auto;
    right: 20px;
  }


}




@media only screen and (max-width: 800px) {

  #slide_box .bg {
    height: 200px;
  }

  #slide_logo {
    height: 250px;
    bottom: auto;
    right: 20px;
  }

  .main_btn {
    padding:  0 30px;
  }

  .main_btn:hover {
    padding-left: 55px;
  }

}

@media only screen and (max-width: 500px) {

  .main_btn {
    width: 100%;
    margin-left: 0!important;
    text-align: center;
  }

  .main_btn.map {
    margin-top: 20px;
  }


}






#home_cat_box {
  margin-top: -30px;
}

.home_cat_item {
  border: 10px #fff solid;
  -webkit-box-shadow: 0 0 30px 0 rgba(0,0,0,0.07);
  box-shadow: 0 0 30px 0 rgba(0,0,0,0.07);
  width: 49%;
  -webkit-border-radius: 30px;
  border-radius: 30px;
  overflow: hidden;
  height: 400px;
  margin-bottom: 20px;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.home_cat_item:hover .bg {
  -moz-transform: scale(1.1) translateZ(0);
-webkit-transform: scale(1.1) translateZ(0);
-o-transform: scale(1.1) translateZ(0);
-ms-transform: scale(1.1) translateZ(0);
transform: scale(1.1) translateZ(0);
}

.home_cat_item .text {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  color:#fff;
  background: -moz-linear-gradient(top,  rgba(35,71,201,0.8) 0%, rgba(35,71,201,1) 100%);
  background: -webkit-linear-gradient(top,  rgba(35,71,201,0.8) 0%,rgba(35,71,201,1) 100%);
  background: linear-gradient(to bottom,  rgba(35,71,201,0.8) 0%,rgba(35,71,201,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cc15477C', endColorstr='#15477C',GradientType=0 );
  padding: 30px;
  padding-left: 60px;
  text-align: left;
}

.home_cat_item .text h2 {
  text-transform: uppercase;
  margin-bottom: 5px;
  position: relative;
}

.home_cat_item .text h2:before {
  content: url(../img/arrow_w.svg);
  width: 16px;
  position: absolute;
  left: -35px;
  top: 4px;
  -webkit-transition: all 600ms ease;
  -moz-transition: all 600ms ease;
  -ms-transition: all 600ms ease;
  -o-transition: all 600ms ease;
  transition: all 600ms ease;
}

.home_cat_item:hover h2:before {
  left: -30px;
}






@media only screen and (max-width: 800px) {

  .home_cat_item {
    width: 100%;
  }


}










.home_cert_box {
  background: #123F68;
  padding: 120px 0px;
  overflow: hidden;
  margin-top: 50px;
}

.home_cert_box .content {
  max-width: 1200px;
}

.home_cert_box .text {
   color: #ffffff;
   width: 50%;
}


.home_cert_box.right .text {
   float: right;
}

.home_cert_box.flip .bg {
  transform: rotateY(180deg);
}

@media only screen and (max-width: 800px) {

  .home_cert_box .text {
     width: 100%;
  }

  .home_cert_box {
    padding: 70px 0px;
  }

  .home_cert_box.right .bg {
    transform: rotateY(180deg);
  }


}












#footer {
  background: #15477C;
  padding: 70px 0;
  color:#fff;
  text-align: center;
}

#footer .left {
  width: 43%;
}

#footer .right {
  width: 43%;
  font-size: 0;
}

#footer .right .col {
  width: 50%;
  font-size: 16px;
  line-height: 35px;
}

#footer .right .col a span {
  font-weight: 700;
  text-transform: uppercase;
}

#footer .right .col a span:hover {
  opacity: 0.5;
}

#footer .right .col a span.s {
  font-weight: 400;
  text-transform: capitalize;
}







@media only screen and (max-width: 1200px) {

  #footer .autoMargin {
    text-align: center;
  }

  #footer .right {
    display: none;
  }

  #footer .left {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 500px;
    width: 100%;
  }

  .buttons_row .social_box {
    width: 100%;
    margin-left: 0;
    margin-top: 10px;
  }

}










#bottom_row {
  background: #123F68;
  color: #7E98B1;
  font-size: 14px;
  height: 30px;
  line-height: 30px;
  padding: 0 40px;
}

#bottom_row br {
  display: none;
}

#bottom_row .left a:hover {
  text-decoration: underline;
}

#bottom_row .left {
  float: left;
}

#bottom_row .right {
  float: right;
}

#bottom_row .right a:hover {
  text-decoration: underline;
}

#bottom_row .left {
  float: left;
  font-weight: 700;
}

#bottom_row .right {
  float: right;
}

@media only screen and (max-width: 1350px) {

  #bottom_row {
    height: auto;
    line-height: 30px;
    padding: 10px 30px;
    text-align: center;
  }

  #bottom_row span.sep {
    display: none;
  }

  #bottom_row br {
    display: block;
  }


  #bottom_row .left {
    width: 100%;
    float: none;
  }

  #bottom_row .right {
    width: 100%;
    float: none;
  }

}








.showContacts {
  cursor: pointer;
}

/* BOX CONTATTI */

#contacts_overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: all 600ms ease;
  -moz-transition: all 600ms ease;
  -ms-transition: all 600ms ease;
  -o-transition: all 600ms ease;
  transition: all 600ms ease;
}

#contacts_overlay.show {
  visibility: visible;
  opacity: 1;
}

#contacts_box {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  background: #FFFFFF;
  width: 100%;
  max-width: 500px;
  z-index: 41;
  -webkit-transition: all 600ms ease;
  -moz-transition: all 600ms ease;
  -ms-transition: all 600ms ease;
  -o-transition: all 600ms ease;
  transition: all 600ms ease;
  -moz-transform: translateX(100%);
  -webkit-transform: translateX(100%);
  -o-transform: translateX(100%);
  -ms-transform: translateX(100%);
  transform: translateX(100%);
  -webkit-border-radius:30px 0 0 30px;
  border-radius:30px 0 0 30px;
}

#contacts_box.show {
  -moz-transform: translateX(0);
  -webkit-transform: translateX(0);
  -o-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
}

#contacts_content {
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  overflow-y: auto;
  padding: 20px;
}

#contacts_box .form_box {
  margin-top: 30px;
}

#contacts_box h3 a {
  margin-top: 15px;
  font-size: 23px;
  text-decoration: none;
}

#contacts_box h3 a:hover {
  opacity: 0.8;
}

#contacts_box h3 a img {
  width: 30px;
  margin-right: 10px;
}

#contacts_box .buttons_row {
  margin-top: 0;
}

.showContacts {
  cursor: pointer;
}

#contactsCloseBtn {
  position: fixed;
  right: 520px;
  width: 20px;
  z-index: 41;
  cursor: pointer;
  -webkit-transition: all 600ms ease;
  -moz-transition: all 600ms ease;
  -ms-transition: all 600ms ease;
  -o-transition: all 600ms ease;
  transition: all 600ms ease;
  opacity: 0;
  visibility: hidden;
  backface-visibility: hidden;
  -moz-transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
  top: -50px;
}

#contactsCloseBtn.show {
  opacity: 1;
  visibility: visible;
  -moz-transform: rotate(0deg);
  -webkit-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);
  top: 15px;
}

#contactsCloseBtn:hover {
  opacity: 0.7;
}

input[type=text], textarea, select, .form_box input[type="email"] {
  -webkit-border-radius:20px;
  border-radius:20px;
  -webkit-box-shadow: 0 0 20px 0 rgba(0,0,0,0.1);
  box-shadow: 0 0 20px 0 rgba(0,0,0,0.1);
  background-color: #ffffff!important;
  border: 0px none!important;
  color:#2F2A27!important;
  padding: 0 30px;
}

@media only screen and (max-width: 560px) {

  #contacts_box {
    width: auto;
    left: 60px;
  }

  #contactsCloseBtn {
    right: auto;
    left: 20px;
  }

}




/* POPUP CONTATTI */




#popup_overlay {
  background: #000;
  opacity: 0.8;
  position: fixed;
  top:0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: all 600ms ease;
  -moz-transition: all 600ms ease;
  -ms-transition: all 600ms ease;
  -o-transition: all 600ms ease;
  transition: all 600ms ease;
}

#popup_overlay.show {
  opacity: 0.8;
  visibility: visible;
}

#popup_box {
  background: #FFFFFF;
  padding: 35px;
  position: fixed;
  z-index: 51;
  width: 90%;
  max-width: 600px;
  opacity: 0;
  visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: all 600ms ease;
  -moz-transition: all 600ms ease;
  -ms-transition: all 600ms ease;
  -o-transition: all 600ms ease;
  transition: all 600ms ease;
  -webkit-border-radius:30px;
  border-radius:30px;
}

#popup_box.show {
  opacity: 1;
  visibility: visible;
}

#popup_close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 20px;
  cursor: pointer;
}

#popup_box h1 {
  font-size: 25px;
}

#popup_box p {
  margin-top: 10px;
}










#cat_menu_box {
  margin-top: 20px;
  padding: 10px;
  -webkit-border-radius:30px;
  border-radius:30px;
  -webkit-box-shadow: 0 0 30px 0 rgba(0,0,0,0.07);
  box-shadow: 0 0 30px 0 rgba(0,0,0,0.07);
  text-align: center;
  color:#15477C;
  font-weight: 700;
}

.cat_menu_item {
  margin: 10px;
}

.cat_menu_item:hover {
  opacity: 0.5;
}

.category_container {
  margin-top: 20px;
  padding: 20px;
  -webkit-border-radius:30px;
  border-radius:30px;
  -webkit-box-shadow: 0 0 30px 0 rgba(0,0,0,0.07);
  box-shadow: 0 0 30px 0 rgba(0,0,0,0.07);
}

.category_title_row {
  -webkit-border-radius:30px;
  border-radius:30px;
  overflow: hidden;
  padding: 20px;
  margin-bottom: 10px;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.category_title_row .bg:before {
  background: -moz-linear-gradient(left,  rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
  background: -webkit-linear-gradient(left,  rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
  background: linear-gradient(to right,  rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=1 );
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
}

.category_title_row h2 {
  position: relative;
  color:#15477C;
}

.cat_list_item {
  padding: 20px;
  -webkit-box-shadow: 0 0 30px 0 rgba(0,0,0,0.07);
  box-shadow: 0 0 30px 0 rgba(0,0,0,0.07);
  -webkit-border-radius:30px;
  border-radius:30px;
  margin-bottom: 10px;
}

.cat_list_item .main_btn {
  font-size: 14px;
}

.category_container .cat_list_item:last-child {
  margin-bottom: 0px;
}

.cat_list_item h3 {
  font-weight: 700;
  color:#15477C;
}

#about_box {
  margin: 60px 0 20px 0;
}

#about_box h2 {
  color:#15477C;
}

#about_box .col {
  font-size: 16px;
  margin: 20px 0;
  width: 47%;
  line-height: 28px;
}

#about_box .col.full {
  width: 100%;
}

.about_img_row {
  margin: 60px 0;
  -webkit-border-radius:30px;
  border-radius:30px;
  overflow: hidden;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  height: 450px;
}

.about_img_row .swiper-product {
  width: 100%;
  height: 100%;
}

#about_box .home_cert_box {
  margin-top: 40px;
}

.cert_list_box {
  margin-top: 30px;
}

.cert_logo {
  width: 150px;
  -webkit-box-shadow: 0 0 30px 0 rgba(0,0,0,0.07);
  box-shadow: 0 0 30px 0 rgba(0,0,0,0.07);
  -webkit-border-radius:30px;
  border-radius:30px;
  overflow: hidden;
  padding: 20px;
  font-size: 0;
  float: left;
  margin-right: 30px;
  margin-bottom: 10px;
  background: #fff;
}

.cert_logo img {
  width: 100%;
}

.cert_list_box .text {

}

@media only screen and (max-width: 900px) {

  #about_box .col {
    width: 100%;
  }

}


@media only screen and (max-width: 700px) {

  .about_img_row {
    height: 350px;
  }

}

@media only screen and (max-width: 600px) {

  .cert_logo {
    float: none;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
  }

  .cert_list_box {
    text-align: center;
  }

}

@media only screen and (max-width: 450px) {

  .about_img_row {
    height: 250px;
  }

}






#logos_box {
  margin-top: 50px;
}

.home_logo_item {
  width: 16%;
  background: #fff;
  padding: 10px;
  -webkit-box-shadow: 0 0 20px 0 rgba(0,0,0,0.1);
  box-shadow: 0 0 20px 0 rgba(0,0,0,0.1);
  -webkit-border-radius:30px;
  border-radius:30px;
  overflow: hidden;
  margin: 20px 3%;
}

.home_logo_item img {
  width: 100%;
}


@media only screen and (max-width: 1300px) {

  #products_box {
    text-align: center;
  }

  #products_box .text {
    width: 100%;
    max-width: auto;
  }

}

@media only screen and (max-width: 1000px) {


  .home_logo_item {
    width: 23%;
  }

}

@media only screen and (max-width: 600px) {


  .home_logo_item {
    width: 43%;
  }

}



.has-error{
  border: 1px solid red;
}

#contact-success {
  color: #76c23e;
  font-size: 16px;
  font-weight: bold;
}

#contact-error {
  color: #cd3e3e;
  font-size: 16px;
  font-weight: bold;
}
