/**
 * @file
 * Subtheme specific CSS.
 */
@font-face {
    font-family: 'Gotham';
    src:url('../fonts/gotham/Gotham-Book.otf')  format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Gotham';
    src: url("../fonts/gotham/Gotham-Bold.otf") format("opentype");
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'Gotham';
    src: url("../fonts/gotham/Gotham-Light.otf") format("opentype");
    font-weight: 300;
    font-style: normal;
}

body {
    font-family: 'Gotham', sans-serif;
}
p,
.field--name-body {
    font-size: 18px;
}
h6 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1px;
}
.section-padding {
    padding-top: 75px;
    padding-bottom: 30px;
}
.mt-n5 {
    margin-top: -50px;
}

/* header homepage */
.width100 {
    width: 100vw;
    height: calc(100vh - 100px);
    overflow: hidden;
}
.headerImg img {
    width: 100%;
    height: 100%;
}
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
}
/* blocchi homepage */
.h1home {
    font-weight: 500;
    font-size: 60px;
    top: 0;
    z-index: 999 !important;
    position: relative;
}
.h1home span {
    font-weight: 800;
    font-size: 75px;
}
.o-text-end .justify {
    justify-content: right;
}
.o-text-start .justify {
    justify-content: left;
}

.iconBg {
    position: relative;
}
.iconBg img {
    height: 10vw;
    width: auto;
    animation-name: updown;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    position: absolute;
}
.o-text-start .iconBg,
.o-text-end .iconBg2 {
    margin-right: 45px;
}
.o-text-end .iconBg {
    background-position: left;
    float: left;
}
.o-text-start .iconBg {
    background-position: right;
    float: right;
}
.iconBg2 {
    position: relative;
}
.iconBg2 img {
    height: 8vw;
    width: auto;
    margin-bottom: -75px;
    z-index: 0;
    animation-name: rotate;
    animation-duration: 10s;
    animation-iteration-count: infinite;
    position: absolute;
}
.iconBg,
.iconBg2 {
    background-size: contain;
    background-repeat: no-repeat;
}
.o-text-end .iconBg2 {
    background-position-x: right;
    float: right;
}
.o-text-start .iconBg2 {
    background-position-x: left;
    float: left;
}
.iconservice {
    position: relative;
}
.iconservice img {
    position: relative;
    z-index: 10;
    max-width: unset !important;
}
.iconservice::before {
    content: '';
    width: 3.5px;
    background: #82B591;
    position: absolute;
    height: 100%;
}
.iconselector > div:first-child .iconservice::before {
    margin-top: 60px;
}
.iconselector > div:last-child .iconservice::before {
    margin-bottom: 130px;
}
#block-cer-logofooter img {
    max-height: 150px;
    width: auto;
}
/* servizi home */

#servizi .h1home span {
  display: inline-block;
  line-height: 0.6;
}

#servizi .h1home span::first-letter {
    font-size: 120px;
}


@keyframes rotate {
  0%   {left:0px; top:0px; rotate: 0deg;}
  50%  {left:0px; top:20px; rotate: 180deg;}
  100% {left:0px; top:0px; rotate: 360deg;}
}
@keyframes updown {
  0%   {left:0px; top:0px;}
  50%  {left:0px; top:20px;}
  100% {left:0px; top:0px;}
}
/* footer */

/*X-Small	None	<576px*/

/*Small	sm	≥576px*/
@media (max-width: 576px) {
    .h1home {
    font-weight: 500;
    font-size: 30px;
    top: 0;
    /*    position: absolute;*/
    }
    .h1home span {
        font-weight: 800;
        font-size: 45px;
    }
    .iconBg img {
        height: 21vw;
    }
    .iconBg2 img {
        height: 21vw;
    }
}
/*Medium	md	≥768px*/
@media (max-width: 768px) {
    .iconservice::before {
        width: 0;
    }
}
/*Large	lg	≥992px*/

/*Extra large	xl	≥1200px*/
@media (max-width: 1200px) {
    .iconselector > div:first-child .iconservice::before {
        margin-top: 120px;
    }
}
/*Extra extra large	xxl	≥1400px*/