/*
***********************************
***********************************
Version: 1.0v
Author: Giuseppe
***********************************
***********************************
*/

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

:root {
    --bg-tecnofos: #111A26;
    --bg-rectangle: #192940;
    --bg-button: #64A9DF;
    --navbar: #021f36;
    --font: 'Lato', sans-serif;
}

* {
    font-family: var(--font);
    font-weight: 300 !important;
}

body {
    background-color: var(--bg-tecnofos) !important;
}

b {
    font-weight: bolder !important;
}

main {
    position: relative;
    float: left;
    width: 100%;
    background-color: var(--bg-tecnofos);
}

a {
    color: #fff !important;
    text-decoration: none;
}

a:hover {
    color: #64A9DF !important;
}

.fs-14px {
    font-size: 14px !important;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;

/* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    /*object-fit: cover;*/
}

.swiper-pagination {
    position: relative !important;
    margin-top: 25px;
}

.swiper-pagination-bullet-active {
    background-color: #64A9DF !important;
}

.swiper-pagination-bullet {
    background: #fff !important;
}

.f1rem {
    font-size: 1rem;
}

.mt-8rem {
    margin-top: 8rem;
}

.navbar {
    background-color: var(--navbar) !important;
    transition: .5s;
}

.offcanvas {
    background-color: var(--navbar) !important;
}

.offcanvas-header .btn-close {
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat !important;
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-toggler:focus {
    box-shadow: none;
}

#menu-mobile {
    display: none !important;
}

.nav-link {
    color: #fff !important;
    font-size: 1.1rem;
    transition: .5s;
}

.nav-link:hover {
    font-size: 1.2rem;
    font-weight: bold;
}

.nav-link.active {
    font-size: 1.2rem;
    font-weight: bold;
    color: #64a9df !important;
}

.my-box {
    background-color: var(--bg-rectangle) !important;
    position: relative;
    z-index: 1;
}

.contact-about {
    font-size: 1.3rem;
}

.title-about {
    font-size: 60px;
    letter-spacing: 3px;
}

@media only screen and (max-width: 1400px) {
    .title-about {
        font-size: 40px;
    }
    .paragraph-about {
        font-size: 1rem !important;
    }
}

.paragraph-about {
    font-size: 1.2rem;
}

.btn-contact-about {
    letter-spacing: 2px;
    font-size: 1.1rem;
    color: #fff;
    background-color: var(--bg-button);
    border-color: var(--bg-button);
    padding: 0.5rem 1.9rem;
}

.btn-contact-about-v2 {
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: #fff;
    background-color: var(--bg-button);
    border-color: var(--bg-button);
    padding: 0.5rem 1.9rem;
}

.about-color {
    font-size: 1rem;
}

.about-color:hover {
    color: #212529 !important;
}

.service-title {
    font-weight: 700;
    letter-spacing: 10px;
    font-size: 3.5rem;
}

.service-l,.service-r {
    margin-bottom: 3rem;
}

#service-mobile {
    display: none !important;
}


#mob-certificati {
    display: none;
}

.help-block {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

@media only screen and (max-width: 992px) {
    #mob-certificati {
        display: block;
    }
    #desk-certificati {
        display: none;
    }
}

@media only screen and (min-width: 467px) and (max-width: 767px) {
    .c {
        height: 330px !important;
    }
}

@media only screen and (min-width: 430px) and (max-width: 466px) {
    .c {
        height: 300px !important;
    }
}

@media only screen and (min-width: 992px){
    .service-l {
        margin-bottom: 4rem;
        padding-left: 2rem;
    }

    .service-r {
        margin-bottom: 4rem;
        padding-right: 2rem;
    }
}

#mobile-btn-contact-about {
    display: none;
}

@media only screen and (max-width: 991px){
    #mobile-btn-contact-about {
        display: block;
    }

    #desktop-btn-contact-about {
        display: none;
    }
}


@media only screen and (max-width: 820px) {
    .howtoimg {
        height: 250px;
    }
    .btn-whatcan {
        padding: 0.5rem 1.5rem !important;
    }
    .what-can {
        font-size: 1.5rem !important;
    }
}

#mobile-footer-text {
    display: none;
}

@media only screen and (max-width: 767px) {
    .service-title {
        font-size: 40px;
        font-weight: bold !important;
    }

    .btn-whatcan {
        font-size: 0.9rem !important;
    }

    #mobile-footer-text {
        display: block;
    }

    #desktop-footer-text {
        display: none;
    }

    .text-footer-only {
        font-size: 0.55rem !important;
    }

    .img-footer-only {
        width: 25px;
    }
}

@media only screen and (max-width: 576px) {
    #service-desktop {
        display: none !important;
    }
    #service-mobile {
        display: block !important;
    }
    .img-footer {
        width: 150px !important;
    }
}

@media only screen and (max-width: 450px) {
    .service-title {
        font-size: 1.5rem;
    }
    .title-about {
        font-size: 1.5rem;
    }
}

.service-subtitle {
    letter-spacing: 5px;
    font-size: 1.3rem;
    font-weight: 700;
}

.service-paragraph {
    font-size: 1rem;
    line-height: 1.5rem;
}

.service-box-bg {
    background-color: var(--bg-rectangle) !important;
}

.maintxt {
    position: relative;
    text-align: center;
}

.centered {
  position: absolute;
  width: 90%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.bg-contact {
    background-color: var(--bg-rectangle);
    padding: 1rem 0;
}

.bg-footer {
    background-color: var(--bg-tecnofos);
    color: #fff;
}

.copyright {
    background-color: var(--bg-rectangle);
    color: #fff;
    padding: 1rem 0;
}

.copyright .row {
    margin: 0 !important;
}

.what-can {
    font-size: 2.3rem;
    font-weight: 600;
    color: #fff;
}

.btn-whatcan {
    color: #fff;
    background-color: var(--bg-button);
    padding: 1rem 2rem;
    font-size: 1.2rem;
}

.btn-contact {
    color: #fff;
    background-color: var(--bg-button);
    padding: 0.6rem 1.5rem;
    font-size: 1.1rem;
}

.title-domotica {
    font-size: 2.8rem;
    font-weight: 600;
}

.parag-domotica {
    font-size: 1.2rem;
}
/* CARD */

.slcard {
  width: 320px;
  height: 380px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
}

.slcard .main-content {
  width: 100%;
  height: 100%;
}
.slcard .main-content img {
  width: 100%;
  height: 100%;
}

.slcard .overlay-content,
.slcard .overlay-content1,
.slcard .overlay-content2,
.slcard .overlay-content3,
.slcard .overlay-content4,
.slcard .overlay-content5,
.slcard .overlay-content6,
.slcard .overlay-content7,
.slcard .overlay-content8,
.slcard .overlay-content9,
.slcard .overlay-content10,
.slcard .overlay-content11 {
  width: 100%;
  height: 100%;
  background-color: var(--bg-rectangle) !important;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: absolute;
  z-index: 1;
  transition: 0.6s;
  top: 0%;
  left: 100%;
  border-radius: 15px !important;
}
/*
.slcard:hover .overlay-content { 
  transform: translateX(-100%);
}
*/
.slcard .overlay-content p {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 1px;
  line-height: 1.75rem;
}
.slcard .overlay-content p span {
  display: block;
  letter-spacing: normal;
  font-size: 1rem;
  font-style: italic;
  margin-top: 1.25rem;
}

.domsub {
    font-size: 1.2rem;
}

.arrow-dom {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--bg-button);
}

@media (max-width: 576px) {
  .slcard {
    width: 310px !important;
    height: 380px;
  }
}

/* FINE CARD */

.card-videosorveglianza {
    background-color: var(--bg-rectangle) !important;
}

.card-videosorveglianza img {
    position: relative;
    top: -30px;
    left: -40px;
}

.plusadd {
    font-size: 1.3rem;
    color: #64a9df;
    cursor: pointer;
}

#to_top {
    display: none;
    transition: .5s;
    animation-name: showme;
    animation-duration: .5s;
}

@keyframes showme {
  0%   {right:0px; bottom:30px;}
  100% {right:20px; bottom:30px;}
}


button.pos_fixed {
    position:fixed;
    bottom: 30px;
    right: 20px;
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
    border: 0;
    background-color: #203759;
}

.sicurezza-bg {
    background-color: var(--bg-rectangle);
}

.text-sicurezza {
    padding: 1.8rem;
}

.text-sicurezza p:nth-child(1) {
    font-size: 1.4rem;
    font-weight: bold;
    color:  #fff;
}

.text-sicurezza p:nth-child(2) {
    font-size: 1rem;
    color:  #fff;
}

.text-sicurezza p:nth-child(3) {
    font-size: 1rem;
    color:  #fff;
    margin-bottom: 0;
}

.text-sicurezza ul li {
    font-size: 1rem;
    color:  #fff;
}

.bg-card-net {
    background-color: var(--bg-rectangle);
}

.form-title {
    padding: 1rem;
    background-color: var(--bg-tecnofos);
    margin: 30px 0;
}

.contact-show i{
    font-size: 2.3rem;
    color: var(--bg-button);
}

.contact-show p{
    font-size: 1.01rem;
    color: #fff;
    padding-bottom: 0;
}

@media only screen and (min-width: 1400px) {
    .what-can {
        font-size: 4rem;
    }
}

@media only screen and (max-width: 991px) {
    #image-bg-domotica {
        background-image: url("../../img/domotica/copertina-domotica.jpg");
        min-height: 75vh;
        background-position: right;
        background-repeat: no-repeat;
        background-size: cover;
    }
    #image-bg-sicurezza {
        background-image: url("../../img/sicurezza/copertina-sicurezza.jpg");
        min-height: 75vh;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    #image-bg-videosorveglianza {
        background-image: url("../../img/videosorveglianza/copertina-videosorveglianza.jpg");
        min-height: 75vh;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    #image-bg-networking {
        background-image: url("../../img/networking/copertina-networking.jpg");
        min-height: 75vh;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
}

.mybtn-close {
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke ='rgba(255,255,255)' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat !important;
}

@media only screen and (max-width: 1200px) {
    #nebbiogeno #video-nebbiogeno {
        order: 2;
    }

    #nebbiogeno #text-nebbiogeno {
        order: 1;
    }
}

#mob-contact-page {
    display: none;
}

@media only screen and (max-width: 767px) {
    .title-domotica {
        font-size: 1.9rem;
    }
    #desk-contact-page {
        display: none;
    }
    #mob-contact-page {
        display: flex;
    }
    .form-title{
        font-size: 1.8rem;
    }
}

/*
#mob-videosorveglianza {
    display: none;
}
*/

.my-card {
    background-color: var(--bg-rectangle) !important;
    color: #fff;
}

@media only screen and (max-width: 679px){
    #desk-videosorveglianza {
        display: none;
    }
    /*
    #mob-videosorveglianza {
        display: block;
    }
    */
}


@media only screen and (min-width: 993px) {
    .navbar {
        margin-top: 3rem;
        padding: 0.8rem;
    }
    .box-top {
        margin-top: -200px;
    }
    #image-bg {
        background-image: url("../../img/home/menu.jpg");
        min-height: 100vh;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        margin-top: -130px;
    }
    #image-bg-domotica {
        background-image: url("../../img/domotica/copertina-domotica.jpg");
        min-height: 70vh;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        margin-top: -130px;
    }
    #image-bg-sicurezza {
        background-image: url("../../img/sicurezza/copertina-sicurezza.jpg");
        min-height: 70vh;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        margin-top: -130px;
    }
    #image-bg-videosorveglianza {
        background-image: url("../../img/videosorveglianza/copertina-videosorveglianza.jpg");
        min-height: 70vh;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        margin-top: -130px;
    }
    #image-bg-networking {
        background-image: url("../../img/networking/copertina-networking.jpg");
        min-height: 70vh;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        margin-top: -130px;
    }
    #image-bg-contatti {
        min-height: 80vh;
        width: 100%;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        margin-top: -130px;
    }
    /*main::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }*/
    .margin-left-img {
        margin-left: 20px !important;
    }
}

@media only screen and (max-width: 992px) {
    #menu-mobile {
        display: block !important;
    }
    #menu-desktop {
        display: none !important;
    }
    #image-bg {
        position: relative;
        margin-top: 70px;
    }
    .contact-about {
        font-size: 1rem;
    }
    .paragraph-about {
        letter-spacing: 2px;
        font-size: 1rem;
    }
    .service-paragraph {
        font-size: 1rem;
        line-height: 1.5rem;
    }
}

@media only screen and (max-width: 991px) {
    #image-bg {
        background-image: url("../../img/home/menu.jpg");
        min-height: 100vh;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        margin-top: -130px;
    }

    .box-top {
        margin-top: -200px;
    }

    .my-box h1 {
        font-size: 1.7rem !important;
    }
}

.my-box h1 {
    font-size: 2.3rem;
}

.icon-color {
    color: var(--bg-button);
}

@media only screen and (max-width: 500px) {
    .about-color {
        font-size: 0.8rem;
    }
    .my-box h1 {
        font-size: 1.6rem !important;
    }
}

#mob-type {
    display: none !important;
}

@media only screen and (max-width: 767px) {
    #desk-type {
        display: none !important;
    }
    #mob-type {
        display: block !important;
    }
    .my-box-pd {
        padding: 1rem !important;
    }

    #progettazione,#realizzazione,#integrazione {
        font-size: 1.4rem !important;
    }
}

@media only screen and (max-width: 991px) {
    .contatti-map {
        margin-top: 70px;
        width: 100%;
        height: 50vh;
    }
}

.img-overlay-with-text {
    position: relative;
    width: 80%;
    max-width: 100%;
    margin: 0 auto;
}

.image-over {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    -webkit-box-shadow: 0px 0px 8px 0px #385f99;
    -moz-box-shadow: 0px 0px 8px 0px #385f99;
    -o-box-shadow: 0px 0px 8px 0px #385f99;
    box-shadow: 0px 0px 12px 0px #385f99;
}

.overlay {
    position: absolute; 
    bottom: 0; 
    background: #111A26BF !important;
    color: #f1f1f1; 
    width: 100%;
    transition: .5s ease;
    opacity:1;
    color: white;
    padding: 10px 0 0 0;
    text-align: center;
    height: 30%;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

@media only screen and (min-width: 200px) and (max-width: 449px) {
    .overlay {
        height: 35% !important;
    }
}

@media only screen and (min-width: 450px) and (max-width: 767px) {
    .overlay {
        height: 28% !important;
    }
}

@media only screen and (max-width: 1350px) {
    .overlay {
        height: 42%;
    }
}
/*
@media only screen and (min-width: 1351px) and (max-width: 1500px){
    .overlay {
        height: 38%;
    }
}


@media only screen and (max-width: 1350px) {
    .overlay {
        height: 100%;
    }

    .text-overlay-center {
        top: 50%;
        position: absolute;
    }
}
*/

.overlay p {
    font-size: clamp(0.8rem, 0.7077rem + 0.6vw, 1.2rem);
    padding: 10px 10px;
    line-height: 1.15rem;
}

.overlay h3 {
    font-size: clamp(1.2rem, 1.1308rem + 0.6vw, 1.5rem);
}