/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/



/*Stile del Footer*/
div#footer {
    border: none;
}

/*Stile bottone menu Chi Siamo*/
span.avia-menu-text {
    padding: 5px!important;
}

/*Stile body 100%h con intestazione piccola*/
.full-height-small-header{
    min-height: calc(100vh - 305px);
}

/*Stile header*/
#avia2-menu a {
    font-size: 13px;
}

/*Stile dei link word*/
a[href$=".docx"], a[href$="doc"]{
    /* background: url(/gelsiaambiente/wp-content/uploads/2020/02/word.png) no-repeat 0 50%; */
	background: url(https://i.ibb.co/fQ8X14D/word.png) no-repeat 0 50%;
    background-size: contain;
    padding: 5px 0 5px 45px;
    line-height: 2.3 ;
}

/*Stile dei doc excel*/
a[href$="xlsx"]{
    /* background: url(/gelsiaambiente/wp-content/uploads/2020/02/excel.png) no-repeat 0 50%; */
	background: url(https://i.ibb.co/Bt8kjkB/excel.png) no-repeat 0 50%;
    background-size: contain;
    padding: 5px 0 5px 45px;
    line-height: 2.3 ;
}

/* HACK GM 6.8.1 added to fix burger menu style */
.av-burger-overlay{
    opacity: 0.8;
}
/* HACK GM 6.8.1 added to fix burger menu style */
.html_av-overlay-side #av-burger-menu-ul li{display:block; height:auto; width:100%; padding:0.3em 0; font-size: 35px;}

/* HACK GM 6.8.1 added to fix mobile sticky menu */
@media only screen and (max-width: 767px) {

    #header{
        position: fixed !important;
    }
    .html_header_top.html_header_topbar_active.html_header_sticky #top #main{
        padding-top: 140px !important;
    }
    #av_section_1{
        background-size: cover;
    }
    #av_section_1 .av-special-heading-h2 {
        max-inline-size: fit-content;
    }
	
	h1.main-title.entry-title a{
	  font-size: 34px !important;
	}
}

@media only screen and (min-width: 768px) and (max-width: 980px) {
  .responsive #top #wrap_all .container {
    width: 85%;
    max-width: 85%;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
    float: none;
  }
  .responsive #header .sub_menu, .responsive #header_meta .sub_menu > ul {
	float: none;
	width: 100%;
	text-align: center;
	margin: 0 auto;
	position: static;
  }
   .responsive #header_meta .sub_menu > ul > li {
    float: none;
    display: inline-block;
    padding: 0 10px;
  }

  
}

/* HACK GM 6.8.1 added to fix mobile sticky menu */
@media only screen and (max-width: 980px){
    .sub_menu > ul > li > a, .sub_menu > div > ul > li > a {
        line-height: 1;
    }
    .responsive .logo img{
        padding: 5px !important;
    }

    #socket .sub_menu_socket li{
        line-height: 15px !important;
    }
}

/* HACK GM 6.8.1 added for ANCHOR LINKS FIX*/
#top #wrap_all #main .avia-section, #codice-etico {
    margin: 2px;
    scroll-snap-align: start;
    scroll-margin-top: 100px;
}

