/* Have fun adding your style here :) - PS: At all times this file should contain a comment or a rule, otherwise opera might act buggy :( */

/* General Custom CSS */

/* vecchio giallo: efc920 */
/* nuovo giallo: fcc031 */

#wrap_all {
    background-color: #D5D8DD !important;
}

.avia_ajax_form .button:hover {
    color: #000 !important;
    background-color: #fcc031 !important;
}
.avia_ajax_form .button {
    border: 0 none !important;
}

.avia-button.avia-color-orange, .avia-button.avia-color-orange:hover {
    background-color: #fcc031;
    border-bottom-color: #fcc031;
    border-left-color: #fcc031;
    border-right-color: #fcc031;
    border-top-color: #fcc031 ;
    color: #000;
}


.hr-custom .hr-inner.inner-border-av-border-fat {
    border-top-width: 3px;
}

.persona-nome {
    margin-bottom: -5px;
}


#googlemap .container{
    padding: 0 !important;
}
#googlemap .avia-button-wrap {
    position: absolute !important;
    z-index: 100;
    right: 10px;
    top: 10px;
}


#sepHome {
    display: block;
    width: 50px;
    height: 5px;
    background: #fcc031;
    margin: 5px auto 35px;
}


/* News che scorrono */

#news-section {
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0.25+0,0.62+99 */
background: -moz-linear-gradient(top,  rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.62) 99%, rgba(0,0,0,0.62) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  rgba(0,0,0,0.25) 0%,rgba(0,0,0,0.62) 99%,rgba(0,0,0,0.62) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  rgba(0,0,0,0.25) 0%,rgba(0,0,0,0.62) 99%,rgba(0,0,0,0.62) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#40000000', endColorstr='#9e000000',GradientType=0 ); /* IE6-9 */

    bottom: 0;
    display: block;
    position: absolute;
    z-index: 1000;
}



#news-section.container_wrap {
    border-color: rgba(255,255,255,0.35);
}

#news-section .container,
#news-section .content {
    padding: 0;
    margin: 0;
}

#news-section.avia-section {
    min-height: 0 !important;
}

.mtphr-dnt-tick-container {
    margin: 30px 0;
}
.mtphr-dnt-tick,
.mtphr-dnt-tick a {
    color: #fff;
    opacity: 0.85;
    font-size: 18px;
}
.mtphr-dnt-tick a:hover {
    color: #fff;
    opacity: 1;
}


#elencoattivita {}
#elencoattivita h3 {
    margin-top: 25px;
    font-size: 18px;
}
#elencoattivita p {
    color: #353535;
    font-size: 14px;
    line-height: 24px;
    text-align: justify;
}


#gallery-attivita {
    margin: -70px auto 0;
}


#soci p {
    text-align: justify;
}



#sezionerealizzazioni .grid-content,
#sezionerealizzazioni .grid-entry-title,
#sezionerealizzazioni .avia-arrow {
    background-color: #fff;
}

#sezionerealizzazioni .grid-entry-title a {
    color: #010101;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 18px;
}

#sezionerealizzazioni .grid-entry .inner-entry {
    -webkit-box-shadow: 0 0 0 0 transparent;
    -moz-box-shadow: 0 0 0 0 transparent;
    box-shadow: 0 0 0 0 transparent;
}

#sezionerealizzazioni .grid-content {
    padding: 15px;
    min-height: 65px;
}

.single-portfolio .av-masonry {
    margin-bottom: -35px;
}





/*
Desktop Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the desktop view of your site */

@media only screen and (min-width: 768px) {
  /* Add your Desktop Styles here */

    h2 {
        font-weight: 600 !important;
    } 
    
    /* sidebar MENU */
    .header_bg {
        background-color: #2f3339 !important;
    }
    .html_header_sidebar .logo {
        background-color: #fff !important;
    }
    .html_header_left #main, .av-main-nav-wrap {
        border:0 none;
    }
    .html_header_sidebar .logo {
        border:0 none;
        padding: 30px 40px;
    }
    
    .html_header_sidebar #header .av-main-nav {
        padding: 0;
    }
    .html_header_sidebar #header .av-main-nav > li {
        margin: 0;
    }
    
    .html_header_sidebar #header .av-main-nav > li > a .avia-menu-text {
        padding: 0 30px 4px 30px;
        text-transform: uppercase;
        color: #e1e1e1;
        font-size: 16px;
        font-weight: bold;
    }
    
    .html_header_sidebar #header .av-main-nav > li > a .avia-menu-subtext {
        padding: 0 30px 0 30px;
        font-size: 11px;
        font-style: italic;
        opacity: 0.3;
    }
    
    .current-menu-item {
        background-color: #fcc031;
    }
    .current-menu-item > a .avia-menu-text { 
        color: #000 !important;
        opacity: 1 !important;
        text-transform:none !important;
    }
    .current-menu-item > a .avia-menu-subtext {
        color: #000 !important;
        opacity: 1 !important;
    } 
    
    #socket {
        bottom: 0;
        left: 0;
        position: fixed;
        z-index: 1000;
        background-color: transparent;
        border: 0 none;
    }  
    #socket .social_bookmarks {
        float: none;
        margin-left: 0;
        margin-bottom: 6px;
        left: -6px;
    }
    #socket .container {
        padding: 30px;
    }
    #socket .copyright {
        color: #6c7076;
        font-size: 10px;
        font-weight: 100;
        padding: 3px;
    }
    #top .social_bookmarks li a {
        color: #fff;
        font-size: 13px;
    }
    #top .social_bookmarks .sep {
        text-align: center;
        padding-top: 5px;
        opacity: 0.5;
    }

    .title-top {
        text-align: center;
    }
    
    #main {
        background-color: transparent;
    }
    #main .container_wrap_first {
        padding: 15px;
    }
    #main .container_wrap_first .container {
        background-color: #fff;
    }
    .main_color .av-masonry {
        background-color: transparent;
    }
    
    
    #sezioneazienda p {
        line-height: 26px;
        font-size: 15px !important;
        margin: 0;
        text-align: justify;
    }
    
    #sezioneazienda h2 {
        font-size: 30px;
        margin-top: 15px !important;
    }    
    

    .home .slideshow_caption img {
        width: 757px;
        height: auto;
    }    
    .home .slideshow_caption p {
        font-weight: 700;
    }    
    /*
    .page-id-773 .slideshow_caption h2 strong {
        padding: 0 10px;
        background-color: #fcc031;
    }   */
    
    
}



/*
Mobile Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the Mobile and Tablet Portrait view */

@media only screen and (max-width: 767px) {
  /* Add your Mobile Styles here */
    
    .avia-multi-slideshow-button {
        min-width: auto;
    }
    .avia-multi-slideshow-button.avia-slideshow-button {
        margin-right: 0;
    }
    #socket {
        display: none;
    }
    .responsive .logo img {
        max-height: 70px;
    }
    .avia_desktop #advanced_menu_toggle,
    .avia_desktop #advanced_menu_hide {
        border-color: transparent;
    }
    
    #googlemap .container {
        max-width: 100% !important;
        width: 100% !important;
    }
    #header_main {
        border-bottom-width: 0;
    }
    
    .mtphr-dnt-tick, .mtphr-dnt-tick a {
        font-size: 14px;
    }    
    #mobile-advanced li {
        border-top: 1px solid #eee;
    }
    #mobile-advanced {
        background-color: #fff !important;
    }

    
}


@media only screen and (max-height: 670px) and (min-width: 768px) {

    footer {
        visibility: hidden;
    }
    
}