.title_card{
  text-align: center;
  color: #017A93;
  margin-top: 20px;
}

/*card*****************************************************************************************/
* .carte
{
  margin: 0;
  padding: 0;
}
body .carte
{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 650px;
}

.swiper-container {
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
}

.swiper-slide {
  background-position: center;
  background-size: cover;
  width: 300px;
  height: 500px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.4);
}

/*sezioni con testo*********************************************************************************/
.sezione_1{

  background-image: url("https://www.culturalheritageonline.com/game/img/Heritage2.png");
  background-repeat: no-repeat;
  background-size: cover;
  margin-top: 40px;
  margin-top: 40px;
}
.sezione_1new{

  background-image: url("https://www.culturalheritageonline.com/game/img/back.png");
  background-repeat: no-repeat;
  background-size: cover;
  margin-top: 40px;
  margin-top: 40px;
}

.sezione_3:before{
  position: absolute;
  z-index: -111111;
  width: 100%;
  height: 100%;
  content: "";
  left: 0px;
  background: #7a7A7A;
  background-image: url("https://www.culturalheritageonline.com/game/img/Money2.png");
  background-repeat: no-repeat;
  background-size: cover;

}
.sezione_3new:before{
  position: absolute;
  z-index: -111111;
  width: 100%;
  height: 100%;
  content: "";
  left: 0px;
  background: #7a7A7A;
  background-image: url("https://www.culturalheritageonline.com/game/img/back.png");
  background-repeat: no-repeat;
  background-size: cover;

}
.container_sezione{
  display: flex;
  position: relative;
  margin: 0 auto;
  background-size: 100%;
}

.sezione{
  position: relative;
}

.Esplora_img{
  position: absolute;
  bottom: 0px;
  right: 0px;
  height: auto;
  width: 70%;
  display: block;
  margin: 0 auto;
}

.sezione_2 .a_img{
  position: absolute;
  bottom: 0px;
  right: 0px;
  height: auto;
  width: 70%;
  display: block;
  margin: 0 auto;
}

.sezione_3 .a_img{
  position: absolute;
  bottom: -50px;;
  width: 90%;
  left: 50%;
  transform: translateX(-50%);
}

.sezione_4 .a_img{
  position: absolute;
  bottom: 50%;
  width: 68%;
  height: auto;
  right: 0px;
  transform: translateY(50%);
}

.Testo_sezione{
  padding-top: 120px;
  padding-bottom: 120px;
  color: #fff;
  margin: 5px;
}

.titolo_sezione{
  text-align: right;
  font-size: 50px;
  line-height: 1.1em;
  margin-bottom: 20px;
}

.copy_sezione{
  text-align: right;
  margin-left: auto;
  font-size: 18px;
  line-height: 30px;
  max-width: 600px;
}

@media screen and (min-width: 1800px){

  .testo_dx{
    text-align: right;
  }

  .testo_sx{
    text-align: left;
  }

  .container_sezione{
    width: 80%;
  }

  .Esplora_img{
    position: absolute;
    width: auto;
    height: 100%;
    top: 2%;
  }

  .sezione_2 .a_img{
    position: absolute;
    right: 0px;
    height: auto;
    width: 65%;
  }

  .sezione_3 .a_img{
    position: absolute;
    right: 0px;
    height: auto;
  }

  .sezione_4 .a_img{
    position: absolute;
    right: 0px;
    height: auto;
    width: 60%;
  }
}

@media screen and (min-width: 769px){
  .sezione{
    clear: both;
    margin-right: 3%;
    float: left;
    text-align: inherit;
    margin-left: 0%;
    width: 48.5%;
  }
}

@media screen and (max-width: 767px){
  .posizione_tabella .tabella_3 td {display: block;
  }
}

@media screen and (max-width: 1435px) and (min-width: 687px) {
  .Esplora_img{
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .sezione_3{
    position: relative;
    background-repeat: no-repeat;
    background-position: 10% 37%;
    background-size: 45%;
  }
}

@media screen and (max-width: 768px) and (min-width: 687px){

  .testo_dx{
    text-align: right;
  }

  .testo_sx{
    text-align: left;
  }

  .container_sezione{
    width: 95%;
  }

  .Esplora_img{
    position: absolute;
    width: auto;
    height: 70%;
    top: 2%;
  }

  .sezione_2 .a_img{
    position: absolute;
    right: 0px;
    height: auto;
    width: 110%;
  }

  .sezione_3 .a_img{
    position: absolute;
    left: 160px;
    width: 100%;
    margin: 50px;
    top: 40px;
    height: auto;
  }

  .sezione_4 .a_img{
    position: absolute;
    right: 0px;
    height: auto;
    width: 90%;
  }

  .sezione_3 .a_img{
      width: 53%;
      left: 23.5%;
      bottom: -120px;
      transform: translateX(0);
  }
}

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

  .sezione_4 .a_img{
      width: 48%;
      padding-bottom: 100px;
      position: relative;
      bottom: 0px;
      transform: none;
      right: 0px;
      height: auto;
  }

  .sezione_4 .Testo_sezione{
    padding-bottom: 10px;
    padding-top: 180px;
  }

  .sezione_4 .sezione{
    display: contents;
  }

  .sezione_4 .container_sezione{
    display: block;
    width: 85%;
  }

  .sezione_4{
    text-align: center;
  }

  .sezione_3 .Testo_sezione{
    padding-bottom: 180px;
    padding-top: 180px;
  }

  .sezione_3 .sezione{
    display: contents;
  }

  .sezione_3 .container_sezione{
    display: block;
    width: 85%;
  }

  .sezione_3{
    text-align: center;
  }

  .sezione_2{
    text-align: center;
  }

  .sezione_2 .container_sezione{
    display: block;
    width: 85%;
  }

  .sezione_2 .sezione{
    display: contents;
  }

  .sezione_2 .Testo_sezione{
    padding-bottom: 180px;
    padding-top: 180px;
  }

  .sezione_2 .a_img{
    width: 44%;
    left: 50%;
    transform: translateX(-50%);
    bottom: -150px;
  }

  .sezione_1 .Testo_sezione{
    padding-bottom: 150px;
    padding-top: 80px;
  }

  .sezione_1 .container_sezione{
    display: flex;
    flex-direction: column-reverse;
    width: 85%;
  }

  .Esplora_img{
    width: 45%;
  }

  .titolo_sezione{
    text-align: center;
    margin-left: auto;
    font-size: 40px;
  }

  .copy_sezione{
    text-align: center;
    margin-left: auto;
    margin: 0 auto;
  }
}

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

  .testo_dx{
    text-align: center;
  }

  .testo_sx{
    text-align: center;
  }

  .sezione_2 .container_sezione .sezione{
    display: contents;
  }
  .Esplora_img
  {
    position: absolute;
    top: -140px;
    width: 80%;
    left: 0px;
  }
  .sezione_2 .a_img{
    width: 100%;
    right: 12.5%;
  }

  .sezione_3 .a_img{
    width: 100%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -150px;
  }

  .sezione_4 .a_img{
    padding-top: 30px;
    width: 90%;
    position: relative;
    bottom: 0px;
    transform: none;
    right: 0px;
    height: auto;
  }
}

/*sezione iniziale home**************************************************************************/
.tm-bg-color-1.tm-mb-1.tm-row.tm-social-row{height: 350px;}
.tm-bg-color-1 { background-color: #027a93; }
.tm-mb-1 { margin-bottom: 20px; }
.tm-social-row { padding: 10px; }
.tm-icon{margin:15px;}
@media (min-width: 900px) {
  .tm-row { display: flex; }
  .tm-icon { width: 50%; }
  .tm-services-row {flex-direction: column;}
  .tm-icon-inner {max-width: 250px; text-align: center;}
  hr{display: none;}
  .number_auctions
  {
    font-size: 50px;
  }
}
@media (max-width: 899px) {
  .tm-mb-1 { margin-bottom: 10px; }
  .tm-row { display: flex; text-align: center;}
  .tm-icon { width: 50%; margin-bottom: 25px; margin-top: 20px; text-align: center;}
  .number_auctions
  {
    font-size: 50px;
  }
}

@media (max-width: 767px) {
  .tm-mb-1 { margin-bottom: 10px; }
  .tm-row { display: flex; text-align: center;}
  .tm-icon { width: 40%; margin-bottom: 25px; margin-top: 20px;}
  .number_auctions{font-size: 25px;}
}

.tm-icon-inner {
  margin-left: auto;
  margin-right: auto;
}

.tm-icon-inner > a > * { color: white; }
.tm-icon-inner h3 { line-height: 1.7; }

.container_mappa_home{
  position: relative;
  display: block;
  height: 600px;
  margin: 0 auto;
  background-size: 100%;

}

/*maps**************************************************************************************/

.map {
  height: 400px;
  /* The height is 400 pixels */
  width: 100%;
  /* The width is the width of the web page */
  border-radius: 35px;
  position: absolute;
  top: 180px;
}
@media screen and (min-width:1800px){
  .map{
    max-width: 1000px;
    left: 50%;
    transform: translateX(-50%);
  }
}
@media screen and (max-width:1800px){
  .map{
    max-width: 90%;
    max-height: 90%;
    left: 50%;
    transform: translateX(-50%);
  }
}
@media screen and (max-width: 767px) {
  .map{
    top: 150px;
    max-width: 90%;
    max-height: 90%;
    left: 50%;
    transform: translateX(-50%);
  }
}

/*

Highway Template

https://templatemo.com/tm-520-highway

*/
#tasti /*misura dei tasti proprietà digitale e come funziona CHO*/
{
  width: 50%;
}

#tasto /*misura tasto interazione*/
{
  width: 25%;
}

#grandezza_tast_phone
{
  width: 22%;
  margin-top: 27px;
}

#grandezza_tast_logo
{
  width: 12%;
  margin-top: 7px;
  margin-bottom: 20px;
}

#Tasti_phone /*centratura tasti superiori proprietà digitale e come funziona CHO*/
{
  text-align: center;
}

#Tasti_phone_2 /*centratura tasti superiori proprietà digitale e come funziona CHO*/
{
  text-align: center;
  margin-top: 15px;
}

.logo_menu
{
  width: 40%;
}

.spazio_logo{
  text-align: left;
}

.tabella_3 /*phone*/
{
  position: absolute;
  top: 50px;
}

.tabella_2 /*ipad*/
{
  position: absolute;
  top: 100px;
}

.tabella_1 /*pc*/
{
  position: absolute;
  top: 110px;
  right: 8px;
}

.mappa{
  z-index: 1000000;
  position: absolute;
  top: 50px;
  right: 70px;
  width: 50%;
}

.mappa_tablet{
  z-index: 1000000;
  position: absolute;
  width: 50%;
}


/*
.Altosx{
  position: absolute;
  top: 8px;
  left: 8px;
}

.Altodx{
  position: absolute;
  top: 13px;
  right: 8px;
}

.Bassosx{
  position: absolute;
  bottom: 13px;
  left: 13px;
}

.Bassodx{
  position: absolute;
  bottom: 8px;
  right: 8px;
}


.mappa{
  z-index: 1000000;
  position: absolute;
  top: 90px;
  right: 90px;
}

.mappa_phone{
  z-index: 1000000;
  margin: 0 auto;
  display: block;
  margin-top: 50px;
}
*/

.immagini {
  top: 0px;
  right: 0px;
}

.imgA1 {
  position: absolute;
  z-index: 1;
}
.imgB1 {
  position: absolute;
  z-index: 3;
}

#tast_home_sopra /*centratura tasti superiori proprietà digitale e come funziona CHO*/
{
  text-align: right;
}

#tast_home_sotto /*centratura tasto interazione*/
{
  text-align: center;
}

#contorno_img
{
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

#contorno_img_phone
{
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

#prova
{
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: auto;
  z-index: -1;
  -webkit-background-size: 100% 100%;
 -moz-background-size: 100% 100%;
-o-background-size: 100% 100%;
background-size: 100% 100%;
}


.cid-ssAz5KmWKu {
  padding-top: 2rem;
  padding-bottom: 1rem;
  background-color: #232323;
}
.cid-ssAz5KmWKu .media-wrap {
  padding: 0;
}
@media (max-width: 991px) {
  .cid-ssAz5KmWKu .media-wrap {
    margin-bottom: 1rem;
  }
}
@media (max-width: 767px) {
    .cid-ssAz5KmWKu .row {
      text-align: center;
    }
    .cid-ssAz5KmWKu .row > div {
      margin: auto;
    }
    .cid-ssAz5KmWKu .social-row {
      justify-content: center;
      margin: auto;
    }
    .margine{
      margin: auto;
    }
  }
  .cid-ssAz5KmWKu .social-row {
    display: flex;
    flex-wrap: wrap;
  }
  .cid-ssAz5KmWKu .list {
    list-style: none;
    padding-left: 0;
    color: #bbbbbb;
}
@media (max-width: 991px) {
  .cid-ssAz5KmWKu .list {
    margin-bottom: 2rem;
  }
}
@media (min-width: 992px) {
  .cid-ssAz5KmWKu .list {
    margin-bottom: 0rem;
  }
}
.cid-ssAz5KmWKu .mbr-text {
  color: #bbbbbb;
}
.cid-ssAz5KmWKu .soc-item {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 4rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  padding: 0.5rem;
  height: 2.5rem;
  width: 2.5rem;
}
.cid-ssAz5KmWKu .mbr-icon {
  color: black;
}
@media (max-width: 991px) {
  .cid-ssAz5KmWKu div > *:last-child {
    margin-top: 0 !important;
  }
}

.cid-ssAz5KmWKu {
  padding-top: 2rem;
  padding-bottom: 1rem;
  background-color: #232323;
}
.cid-ssAz5KmWKu .media-wrap {
  padding: 0;
}
@media (max-width: 991px) {
  .cid-ssAz5KmWKu .media-wrap {
    margin-bottom: 1rem;
  }
}
@media (max-width: 767px) {
  .cid-ssAz5KmWKu .row {
    text-align: center;
  }
  .cid-ssAz5KmWKu .row > div {
    margin: auto;
  }
  .cid-ssAz5KmWKu .social-row {
    justify-content: center;
  }
}
.cid-ssAz5KmWKu .social-row {
  display: flex;
  flex-wrap: wrap;
}
.cid-ssAz5KmWKu .list {
  list-style: none;
  padding-left: 0;
  color: #bbbbbb;
}
@media (max-width: 991px) {
  .cid-ssAz5KmWKu .list {
    margin-bottom: 2rem;
  }
}
@media (min-width: 992px) {
  .cid-ssAz5KmWKu .list {
    margin-bottom: 0rem;
  }
}
.cid-ssAz5KmWKu .mbr-text {
  color: #bbbbbb;
}
.cid-ssAz5KmWKu .soc-item {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 4rem;
  margin-bottom: 1rem;
  padding: 0.5rem;
  height: 2.5rem;
  width: 2.5rem;
}
.cid-ssAz5KmWKu .mbr-iconfont {
  color: black;
}
@media (max-width: 991px) {
  .cid-ssAz5KmWKu div > *:last-child {
    margin-top: 0 !important;
  }
}

@font-face {
  font-family: Montserrat-Regular;
  src: url('../fonts/Varino/VarinonormalRegular-nRYg4.otf');
}



* {
    margin: 0;
    padding: 0;
}
body {
    background: #000;
}

#hexGrid {
  display: flex;
  flex-wrap: wrap;
  width: 90%;
  margin: 0 auto;
  overflow: hidden;

  list-style-type: none;
}

.hex {
  position: relative;
  visibility:hidden;
  outline:1px solid transparent; /* fix for jagged edges in FF on hover transition */
  transition: all 0.5s;
  backface-visibility: hidden;
  will-change: transform;
  transition: all 0.5s;
}
.hex::after{
  content:'';
  display:block;
  padding-bottom: 86.602%;  /* =  100 / tan(60) * 1.5 */
}
.hexIn{
  position: absolute;
  width:96%;
  padding-bottom: 110.851%; /* =  width / sin(60) */
  margin: 2%;
  overflow: hidden;
  visibility: hidden;
  outline:1px solid transparent; /* fix for jagged edges in FF on hover transition */
  -webkit-transform: rotate3d(0,0,1,-60deg) skewY(30deg);
      -ms-transform: rotate3d(0,0,1,-60deg) skewY(30deg);
          transform: rotate3d(0,0,1,-60deg) skewY(30deg);
    transition: all 0.5s;
}
.hexIn * {
  position: absolute;
  visibility: visible;
  outline:1px solid transparent; /* fix for jagged edges in FF on hover transition */
}
.hexLink {
    display:block;
    width: 100%;
    height: 100%;
    text-align: center;
    color: #fff;
    overflow: hidden;
    -webkit-transform: skewY(-30deg) rotate3d(0,0,1,60deg);
        -ms-transform: skewY(-30deg) rotate3d(0,0,1,60deg);
            transform: skewY(-30deg) rotate3d(0,0,1,60deg);
}

/*** HEX CONTENT Esagoni **********************************************************************/
.hex img {
  left: -100%;
  right: -100%;
  width: auto;
  height: 100%;
  margin: 0 auto;
}

.hex h1, .hex p {
  width: 100%;
  padding: 5%;
  box-sizing:border-box;
  font-weight: 300;
  opacity: 0;
}

#demo1 {
  color: #F5CE95;
  text-transform: capitalize;
    text-align: center;
  bottom: 50%;
  padding-top:50%;
  font-size: 1.5em;
  z-index: 1;
}
.hex h1:before, .hex h1:after {
  display: inline-block;
  margin: 0 0.5em;
  width: 0.25em;
  height: 0.03em;
  background: #ffffff;
  content: '';
  vertical-align: middle;
  transition: all 0.3s;
  text-align:center;
}

#demo2 {
  top: 50%;
  text-align: center;
  text-transform: uppercase;

  }

.img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-position: center center;
  background-size: cover;
  overflow: hidden;
-webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.img:before, .img:after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: '';
  opacity: 0;
  transition: opacity 0.5s;
}
.img:before {
  background: rgba(22, 103, 137, 0.3);
}
.img:after {
  background: linear-gradient(to top, transparent, rgba(0, 0, 0, 0.5), transparent);
}

/*** HOVER EFFECT Esagoni **********************************************************************/
.hexLink:hover h1, .hexLink:focus h1,
.hexLink:hover p, .hexLink:focus p{
  opacity:1;
  transition: 0.8s;
  }

.hexIn:hover .img:before,
.hexIn:hover .img:after,
.hexIn:hover .hexLink {
  opacity: 1;
}



/* Add a thumb */
body::-webkit-scrollbar-thumb {
    background: rgba(250, 250, 250, 0.5);
}
body, html {
  height: 100%;
  min-height: 100%;
  overflow-x: hidden;
}

/*impostazioni menu*/
nav .logo {
  float: left;
  margin-left: 18px;
}
nav .logo a {
  font-size: 28px;
  line-height: 80px;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.5px;
}
nav {
  background: rgba(250,250,250,0.2);
  height: 80px;
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 300;
  box-shadow: 0px 2px 10px 0px rgba(0,0,0,0.5);
}

.menu-icon {
  background: transparent;
  border: 1px solid #fff;
  width: 50px;
  height: 50px;
  margin: 15px 39px 0 auto;
  position: relative;
  cursor: pointer;
  transition: background 0.5s;
  border-radius: 5px;
}

.menu-icon span,
.menu-icon span:before,
.menu-icon span:after {
  cursor: pointer;
  border-radius: 1px;
  height: 2px;
  width: 35px;
  background: white;
  position: absolute;
  left: 15%;
  top: 50%;
  display: block;
  content: '';
  transition: all 0.5s ease-in-out;
}

.menu-icon span:before {
  left: 0;
  top: -10px;
}

.menu-icon span:after {
  left: 0;
  top: 10px;
}

.menu-icon.active {
  background: rgba(250,250,250,0.2);
}

.menu-icon.active span {
  background-color: transparent;
}

.menu-icon.active span:before,
.menu-icon.active span:after {
  top: 0;
}

.menu-icon.active span:before {
  transform: rotate(135deg);
}

.menu-icon.active span:after {
  transform: rotate(-135deg);
}

/* Menu */
.overlay-menu {
  background: rgba(0, 0, 0, 0.95);
  color: #ffffff;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  padding: 50px 0;
  opacity: 0;
  text-align: center;
  transform: translateY(-100%);
  transition: all 0.5s;
}

.overlay-menu.open {
  opacity: 1;
  transform: translateY(0%);
}

.overlay-menu .main-menu {
  transform: translateY(50%);
  opacity: 0;
  transition: all 0.3s;
  transition-delay: 0s;
}

.overlay-menu.open .main-menu {
  transition: all 0.7s;
  transition-delay: 0.7s;
  opacity: 1;
  transform: translateY(0%);
}

.overlay-menu .main-menu:nth-child(2) {
  transition-delay: 0s;
}

.overlay-menu.open .main-menu:nth-child(2) {
  transition-delay: 1.25s;
}

.overlay-menu {
  overflow: scroll;
}

.overlay-menu::-webkit-scrollbar {
  display: none;
}

.overlay-menu ul {
  list-style: none;
  margin-top: 80px;
  padding: 0px;
}

.overlay-menu ul li {
  padding: 15px 0px;
}

.overlay-menu ul li a {
  font-size: 24px;
  font-weight: 300;
  color: #fff;
  text-decoration: none;
  transition: all 0.5s;
}

.overlay-menu ul li a:hover {
  color: rgba(250,250,250,0.5);
}

.overlay-menu p {
  margin-top: 60px;
  font-size: 13px;
  text-transform: uppercase;
  color: #fff;
  font-weight: 200;
  letter-spacing: 0.5px;
  text-align: center;
}

/*FOOTER*/
.media-container-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  align-items: start;
}
.media-container-row .media-size-item {
  width: 400px;
}

.media-container-column {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  align-items: stretch;
}
.media-container-column > * {
  width: 100%;
}

.col-6
{flex:0 0 50%;max-width:50%}

@media (min-width: 992px) {
  .media-container-row {
    flex-wrap: nowrap;
  }
  .col-lg-3
  {-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}

  .logo_footer{
    width: 100%;
  }
}

.media-container > div {
  max-width: 100%;
}

@media (min-width: 768px) {
  .container-fluid {
    padding-left: 32px;
    padding-right: 32px;
  }
  .col-md-6
  {-ms-flex:0 0 50%;flex:0 0 50%; width:50%}
  [class*="col-"] {
    float: left;
    padding: 20px;
  }

}
@media (min-width: 768px) and (max-width: 991px) {
  .mbr-container {
    padding-left: 32px;
    padding-right: 32px;
  }
  .logo_footer{
    width: 75%;
  }
  .boh{
      margin-top: 29px;
  }
}
@media (max-width: 767px) {
  .mbr-container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .logo_footer{
    width: 80%;
    text-align: center;
  }
  .boh{
      margin-top: 29px;
  }
}

.col-12{
  flex: 0 0 100%;
}

section,
.container,
.container-fluid {
  position: relative;
  word-wrap: break-word;
}

.social
{
  width: 250%;
}

.immagine1 {
      display: block;
}
.immagine2 {
      display: none;
}
#cambioimmagine {
}
#cambioimmagine:hover .immagine1 {
     display: none;
}
#cambioimmagine:hover .immagine2 {
     display: block;
}

#cambioimmagine:active .immagine2 {
     display: block;
}

/*titolo pag*/
.display-1 {
  font-family: 'VarinonormalRegular';
  font-size: 3.6rem;
  line-height: 1.1;
}
.display-1 > .mbr-iconfont {
  font-size: 5.75rem;
}
/*font title paragraph*/
.display-2 {
  font-family: 'VarinonormalRegular';
  font-size: 2.5rem;
  line-height: 1.1;
}
.display-2 > .mbr-iconfont {
  font-size: 3.75rem;
}
/*font paragraph*/
.display-4 {
  font-family: 'VarinonormalRegular';
  font-size: 1.05rem;
  line-height: 1.5;
  color: #fff;
}
.display-4 > .mbr-iconfont {
  font-size: 1.375rem;
}
.display-5 {
  font-family: 'VarinonormalRegular';
  font-size: 2.2rem;
  line-height: 1.5;
}
.display-5 > .mbr-iconfont {
  font-size: 2.75rem;
}
/*sotto-titolo*/
.display-7 {
  font-family: 'VarinonormalRegular';
  font-size: 1.2rem;
  line-height: 1.5;
}
.display-7 > .mbr-iconfont {
  font-size: 1.5rem;
}

/*size title footer*/
.display-8 {
  font-family: 'VarinonormalRegular';
  font-size: 1.65rem;
  line-height: 1.5;
}
.display-8 > .mbr-iconfont {
  font-size: 1.5rem;
}

/*size paragraph footer*/
.display-9 {
  font-family: 'VarinonormalRegular';
  font-size: 1.40rem;
  line-height: 1.5;
}
.display-9 > .mbr-iconfont {
  font-size: 1.5rem;
}

/*social icons*/
.display-10 {
  font-family: 'VarinonormalRegular';
  font-size: 1.5rem;
  line-height: 1.5;
}
.display-10 > .mbr-iconfont {
  font-size: 1.5rem;
}

.mbr-white {
  color: #017A93;
}

.cid-ssAz5KmWKu .mbr-text {
  color: #FFF;
}

.mt-4 {
  margin-top: 2rem !important;
}

.mb-4 {
  margin-bottom: 3.5rem !important;
}



/*impostazioni video*/
#video-container  {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

#video-container video,
.video-overlay {
  position: absolute;
  left: 60%;
  top: 50%;
  transform: translate(-50%, -50%);
  min-width: 120%;
  min-height: 100%;
}

#video-container .video-overlay {
  z-index: 9999;
  background: rgba(0,0,0,0.5);
  width: 100%;
}

#video-container .video-content {
  z-index: 99999;
  position: absolute;
  height: 100%;
  width: 100%;
}

#video-container .video-content .inner {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: column wrap;
}

#video-container .video-content .inner h1 {
  font-size: 64px;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 2px;
  font-weight: 500;
  text-align: center;
}

#video-container .video-content .inner em {
  font-style: normal;
  font-weight: 200;
}


#video-container .video-content .inner p {
  color: #fff;
  font-size: 22px;
  font-weight: 200;
  letter-spacing: 1.5px;
  text-align: center;
  padding: 0px 30px;
}

#video-container .video-content .inner a {
  color: #fff;
  text-decoration: underline;
}

#video-container .video-content .inner .scroll-icon {
  margin-top: 45px;
}

/* Keyframes */
@keyframes totop-in {
  0% {
    top: 600px;
    opacity: 0;
  }
  100% {
    top: 0%;
    opacity: 1;
  }
}

@keyframes totop-out {
  0% {
    top: 0px;
    opacity: 1;
  }
  100% {
    top: -100%;
    opacity: 0;
  }
}

/*** HEXAGON SIZING AND EVEN ROW INDENTATION *****************************************************************/
@media (min-width:1201px) { /* <- 5-4  hexagons per row */
  #hexGrid{
    padding-bottom: 6%;
    padding-top: 1.5%;
  }
  .hex {
    width: 20%; /* = 100 / 5 */
  }
  .hex:nth-child(9n+6){ /* first hexagon of even rows */
    margin-left:10%;  /* = width of .hex / 2  to indent even rows */
  }
}

@media (max-width: 1200px) and (min-width:901px) { /* <- 4-3  hexagons per row */
  #hexGrid{
    padding-bottom: 7.5%;
    padding-top: 1.5%;
    font-size: 13px;
  }
  .hex {
    width: 25%; /* = 100 / 4 */
  }
  .hex:nth-child(7n+5){ /* first hexagon of even rows */
    margin-left:12.5%;  /* = width of .hex / 2  to indent even rows */
  }
}

@media (max-width: 900px) and (min-width:601px) { /* <- 3-2  hexagons per row */
  #hexGrid{
    padding-bottom: 9.5%;
    padding-top: 1.5%;
    font-size: 14px;
  }
  .hex {
    width: 33.333%; /* = 100 / 3 */
  }
  .hex:nth-child(5n+4){ /* first hexagon of even rows */
    margin-left:16.666%;  /* = width of .hex / 2  to indent even rows */
  }
}

@media (max-width: 600px) { /* <- 2-1  hexagons per row */
  #hexGrid{
    padding-bottom: 14.5%;
    padding-top: 1.5%;
    font-size: 12px;
  }
  .hex {
    width: 50%; /* = 100 / 3 */
  }
  .hex:nth-child(3n+3){ /* first hexagon of even rows */
    margin-left:25%;  /* = width of .hex / 2  to indent even rows */
  }
}

@media (max-width: 400px) {
    #hexGrid {
        font-size: 8px;
    }
}


/*Tabella responsive*/
@media screen and (min-width:768px){
  #grandezza_tast_ipad
  {
    width: 62%;
    margin-top: 15px;
  }
  #grandezza_tast_ipad_logo
  {
    width: 12%;
    margin-top: 15px;
    margin-bottom: 50px;
  }
}

@media screen and (max-width:767px) {
  .responsive, thead, tbody, th, tr, td {}
  .responsive {width:100%;}
  .logo_menu{width: 30%;}
  nav .logo {
    float: left;
    margin-left: 34px;
  }
}





/**/
@media (max-width: 530px) {

  .modal-header h3 {
    margin-top: 15%;
  }

  .modal-body input {
    width: 100%;
  }

  .modal-body textarea {
    width: 100%;
  }

  .modal-content {
    padding-bottom: 40px;
  }

  .grid-portfolio {
    padding: 0px 0px;
  }

  .grid-portfolio .portfolio-item {
    margin: 30px 0px;
  }

  .grid-portfolio .load-more-button {
    padding-bottom: 30px;
  }

  .more-about-us .content {
    padding: 60px 30px;
  }

}

@media (max-width: 992px) {


  .blog-entries .blog-posts {
    margin-right: 0px;
  }

  .single-blog-post {
    margin-right: 0px;
    margin-bottom: 80px;
  }

  .blog-entries .page-number {
    margin-bottom: 80px;
  }

  .single-blog-post .tags-share .tags {
    text-align: center;
  }

  .single-blog-post .tags-share .share {
    text-align: center;
  }

}
