/*
 * Theme Name: Sami
 * Description:
 * Author: MS3
*/

html{scroll-behavior: smooth;}

body {
    font-family: 'Assistant', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #082C38;
}

.absolute{position: absolute;}
.fixed{position: fixed;}
.relative {position: relative;}

h1{font-size: 40px;}
h2{font-size: 36px;}
h3{font-size: 28px;}
h4{font-size: 22px;}

a, a:hover, a:visited{text-decoration: none; color: #005CAA;}

.testo_bianco{color:#ffffff;}
.testo_blu{color:#005CAA;}

.testo_bianco a{color: #fff;}

.mini_text{font-size:10px;}

.bg_bianco{background-color: #fff; color: #082C38;}
.bg_bianco_trasparente{background-color: rgba(255, 255, 255, 0.7);}
.bg_blu{background-color:#005CAA; color:#fff;}
.bg_grigio{background-color:#333; color:#fff;}
.bg_grigio_chiaro{background-color: #ddd;}

.circle{border-radius: 50%;}
.bordered{border: 5px solid #fff;}

.btn {
    border-radius: 10px;
    border: 1px solid #005CAA;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 16px;
    padding: 8px 30px;
}
.btn:hover{background-color: #fff; border: 1px solid #fff;}
.btn:active, .btn:focus{outline: none; box-shadow: none;}
.btn-blu{background-color: #005CAA; color: #ffffff; border: 1px solid #005CAA;}
.btn-grigio{background-color: #333333; color: #ffffff; border: 1px solid #333;}
.btn-grigio:hover{border: 1px solid #333;}
.btn-blu a, .btn-verde a{color:#ffffff;}
.btn-bianco{background-color: #ffffff; color: #082C38; border: 1px solid #fff;}
.btn-transparent{border: 1px solid #fff; color:#fff;}

.uppercase {text-transform: uppercase;}
.italic {font-style: italic;}

.regular {font-weight: 400;}
.semibold {font-weight: 600;}
.bold {font-weight: 700;}

.overflow-h{overflow: hidden;}

header.sticky{transition: max-height 0.3s ease-out;}
header.sticky .logo{transition: width 0.3s ease-out;}

.mega-menu ul{list-style: none; font-size: 1.3rem; line-height: 2.3rem;}
.mega-menu a{color:#fff;}
.mega-menu nav{margin-top: 100px;}

.mega-menu {
    transition: .3s ease-in-out;
    position: fixed;
    padding-bottom: 78px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    opacity: 0;
    display: none;
    overflow-y: auto;

    text-align: right;
}
.mega-menu nav {
    padding-top: 70px;
}
.mega-menu.reveal {
    opacity: 1;
}


.header{z-index: 100; top:0;}

#nav-main ul{list-style: none; margin-bottom: 0;}
#nav-main li{display: inline-block; margin-right: 15px; text-transform: uppercase; font-weight: 700; font-size: 18px;}
#nav-main li a{color:#333;}
#nav-main li:last-child{margin-right: 0;}

.social ul{list-style: none;}
.social li{display: inline-block; margin-right: 5px;}
.social li:last-child{margin-right: 0;}

.footer a{color:#fff;}
.copyright p{margin-bottom: 0 !important;}

.main_image_hp{min-height: 100vh; background-size: cover; background-position:center bottom; padding-top:10%;}
.main_image_hp .titolo{font-size: 3rem;}

.row_servizi_hp{transform:translateY(-20%); padding-bottom: 80px;}
.box_servizio{border-radius: 30px; position: relative; height: 100%; padding-bottom: 120px !important;}
.box_servizio .ico_box_servizio{z-index: 2; position: absolute; transform: translateY(50%); bottom: 0; left: 0;}

.swiper {width: 100%; height: 100%;}
.swiper-slide img {display: block; width: 100%; height: 100%; object-fit: cover;}
.lavoro_img{height: 250px; overflow: hidden;}

.img_fascia{background-size: cover; background-position:center bottom;}
.img_fascia .col_fascia{margin:120px 0;}

.image_article{height: 400px; background-size: cover; background-position: center;}

.top_image{height: 400px; background-size: cover; background-position: center;}

.btn_text{font-size: 30px; line-height: 32px;}

.img_servizio{background-size: cover; background-position: center; height: 200px;}
.info_servizio .logoservizio{height:65px;}

.icone_menu img{height: 24px; cursor: pointer;}

.bg_menu{height: 100vh; width: 100%; right: 0; z-index: -1;}

.form_contatti input {height: 50px;}
.form_contatti input, .form_contatti textarea {padding: 4px 10px; width: 100%;}
input.wpcf7-submit{text-transform: uppercase; color:#fff; background-color: #005CAA; border:0;}
.wpcf7-list-item{margin-left:0 !important;}
.wpcf7-list-item input{height:auto;}

.img_organismo{background-size:contain; background-position:center; background-repeat:no-repeat; min-height:370px;}



@media (max-width: 768px) {
  .bs_mb_mobile{margin-bottom:120px;}
}

@media (max-width: 576px) {
  .main_image_hp{padding-top: 30%;}
  .image_article, .top_image{height: 200px;}
}
