/********************************************************************************************
	
	RESPONSIVE: DOWN VALUES  

*********************************************************************************************/

/******************* Large devices (desktops, less than 1340px) */
@media (max-width: 1340px) {
    .EG-carousel .carousel-item::before {
        width: 100%;
        height: 100%;
       /* background-color:rgba(0,0,0,0.3);*/
        z-index: 9;
        content: "";
        display: block;
        position: absolute;    
    }
     /*.EG-carousel .carousel-caption {
       color:#fff;
        left: 9%;
        font-size: 1.7rem; 
    }
    .EG-carousel .carousel-item h5, .EG-carousel .carousel-item h5 a {
        font-size: 2.5rem; 
        color: #fff;
    }*/
    .carousel-control-next, .carousel-control-prev {
       width: 4%;
    }
}

/******************* Large devices (desktops, less than 1200px) */
@media (max-width: 1199px) {
    
.sidebar .EG-banner-AlboFornitori, .sidebar .EG-banner-Elenco-Bandi {
    background-image: none;
}    
    
 header .EG-nav-aree-int {
    left: 212px;
}
.EG-copertina .container {
}
/*
.EG-copertina .container h1 {
    line-height: 20vw;
}
  .EG-copertina {
    background-position: right;
}*/

  .EG-copertina::before {
        height: 20vw;
        background-color:rgba(0,0,0,0.2);
    }
    .EG-carousel .carousel-caption {
/*  left: 11%;
    right: 35%;
    */
}
.section-altre-notizie .section-altre-notizie-list .news .body-news h3 a {
    font-size: 1.6rem;
 }
 .section-altre-notizie .section-altre-notizie-list .news .body-news {
    max-height: 233px;
}

.head-news nav {
     padding-right: 0px;
}
.condivisioneSocial {
    top: -45px;
}
.EG-int .EG-header-box-social{
     left: 78px;
}
.EG-header-box-social img {
    /*width: 20%;*/
}
    
}

/******************* Medium devices (tablets, less than 992px) */
@media (max-width: 991px) {	
    
    .EG-copertina .container h1 {
   font-size: 2.3vw;
}
    
    .EG-carousel .carousel-item img {
    width: 42%;
}
    
    
    .EG-carousel .carousel-caption {
      /*  color:#fff;
        left: 10%;
        right: 10%;
        font-size: 1.7rem;
        */
    }
    .EG-carousel .carousel-caption {
         left: 45%;
         top: 12%;
    }
    .EG-carousel .carousel-item h5, .EG-carousel .carousel-item h5 a {
        font-size: 2.5rem; 
        color: #fff;
    }
    .EG-carousel .carousel-item p {
    font-size: 1.4vw;
}
    
    .section-nav-aree-home .EG-nav-aree .EG-nav-aree-box {
    width: 48%;
    margin: 1%;
}
    .EG-nav-aree .EG-nav-aree-box a {
    font-size: 1.5rem;
    min-height: auto;
}

.section-nav-aree-home .EG-nav-aree .EG-nav-aree-box a::before  {
    height: 80px;
    background-size: 50px;
    display: inline-block;
    width: 60px;
}
 header .EG-nav-aree-int {
   display:none;
}

.EG-header-row-navbar  {
    /*background: #414956;
    background: #bdb6ad;
    background: #e7ddd4;
    background: #1B5E20;*/
    background: #00973C;
    
}

.EG-header-row-navbar .navbar-light .navbar-toggler {
    color: rgba(0,0,0,.8);
    border-color: transparent;
    position: absolute;
    right: 0;
    top: 0;
}
.EG-header-row-navbar .navbar {
    padding:0;
    position: relative;
    min-height: 25px;
}
.EG-header-row-navbar .navbar .navbar-nav {

    padding:25px;
}

.EG-int header .EG-header-row1 .EG-header-brand {    margin: 3rem 0 ;
}

   header .EG-header-row1 .EG-header-brand img, .EG-int header .EG-header-row1 .EG-header-brand img {
    width: 150px;
}
  .EG-carousel .carousel-item::before {
       /* background-color:rgba(0,0,0,0.5);*/
    }

.navbar-light .navbar-nav .nav-link {
    color: rgba(255,255,255,.8);
}
header .navbar-light .navbar-nav .active>.nav-link {
     color: rgba(255,255,255,1);
}
.navbar-light .navbar-collapse .navbar-nav .show>.nav-link {
    color: #fff;
}



.list-news .news {
    width: 48%;
}
.section-altre-notizie .section-altre-notizie-list .news .body-news h3 a {
    font-size: 1.4rem;
 }
 .section-altre-notizie .section-altre-notizie-list .news .body-news {
    max-height: 173px;
}

.section-contatti .container .EG-container-box .EG-contatti-box {
    width: 48%;
    
}
footer .footer-nav ul li {

    display: block;
    border: none;
}

.dropdown-menu {
   border:none;
  BACKGROUND-COLOR: transparent;
}
header .EG-header-row-navbar .dropdown-menu a {
        color: rgba(255,255,255,.6);
}
header .EG-header-row-navbar .dropdown-menu a:hover {
        color: rgba(255,255,255,1);
}
header .EG-header-row-navbar .dropdown-item:focus,header .EG-header-row-navbar .dropdown-item:hover {
    background-color: transparent;
}
.EG-nav-aree {
    margin-top: 30px;
}
.EG-nav-aree .EG-nav-aree-box a::before {
     max-height: 80px;
}
.EG-int .EG-header-box-social {
    left: 200px;
}
.EG-header-box-social img {
   /* width: 18%;
    margin-right: 15px;*/
}

.section-banner-home .EG-banner  {
    margin-bottom: 40px;
        width: 100%;
}
.carousel-indicators {
    display:none;
}


}

/******************* Small devices (landscape phones, less than 768px) */
@media (max-width: 767px) {
    

    
    .EG-nav-aree .EG-nav-aree-box a {
    font-size: 1.3rem;
    min-height: auto;
}

.section-nav-aree-home .EG-nav-aree .EG-nav-aree-box a::before  {
    height: 50px;
    background-size: 40px;
    display: inline-block;
    width: 45px;
}
  .EG-copertina::before {
        background-color:rgba(0,0,0,0.3);
    }

.news .body-news .text-news {
    clear: both;
}
.EG-bandi-gare .bandi-gare-list {
    display: block;
    height: auto;
}
.EG-bandi-gare .bandi-gare-list .bandi-gare-post {
    width: 95%;
}

.section-altre-notizie .section-altre-notizie-list .news {
    width: 100%;
}

    .section-altre-notizie .section-altre-notizie-list .news:nth-child(2):after,  .section-altre-notizie .section-altre-notizie-list .news:nth-child(6):after   { 
       margin-left: 0px;
       transform: rotate(180deg);
    }
    
    
  .section-altre-notizie .section-altre-notizie-list .news:nth-child(3):after    { 
    margin-left: -20px;
    transform: rotate(0deg);
}
       
       
    .section-altre-notizie .section-altre-notizie-list .news:nth-child(2) .header-news, 
    .section-altre-notizie .section-altre-notizie-list .news:nth-child(6) .header-news  { 
        order:1 
    }

    .section-altre-notizie .section-altre-notizie-list .news:nth-child(2) .categoria, 
    .section-altre-notizie .section-altre-notizie-list .news:nth-child(6) .categoria  { 
        right:0;
        left: unset;
    } 
    
    
        .section-altre-notizie .section-altre-notizie-list .news:nth-child(3) .header-news  { 
        order:0
    }
     .section-altre-notizie .section-altre-notizie-list .news:nth-child(3) .categoria  { 
        right:unset;
        left:0 ;
    } 

 .EG-nav-servizi-per-te .EG-nav-aree-box {
    width: 100%;
}

.EG-carousel .carousel-item h5, .EG-carousel .carousel-item h5 a {
    font-size: 2.2rem;
}
.EG-carousel .carousel-item img {
    width: 41%;
}


}

/******************* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
  
  .EG-copertina .container h1 {
    font-size: 2.8vw;
    background-size: 41px;
    padding-left: 74px;
}
    

.EG-copertina {
    background-size: contain;}
    
    .EG-carousel .carousel-caption {
    left: 44%;
    top: 39%;
}

.EG-nav-aree .EG-nav-aree-box a {
    font-size: 1.3rem;
    min-height: auto;
}

.section-nav-aree-home .EG-nav-aree .EG-nav-aree-box a::before  {
    height: 50px;
    background-size: 40px;
    display: inline-block;
    width: 45px;
}
.news .header-news img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
}
.list-news .news .header-news img {
    /*width: 42%; */
    height: auto;
    margin: 0 1.2rem 1.2rem 0;
}
.list-news .news .body-news .text-news {
   clear:none;
}

  .list-news .news {
    width: 100%;
}

.news .categoria {
    padding: 2px 5px 2px 25px;
    font-size: 1.2rem;
   }
   
   .section-contatti .container .EG-container-box .EG-contatti-box {
    width: 98%;
}
footer .footer-nav {
    text-align: left;
}
footer .footer-nav ul{
    padding:0;
}


.EG-carousel .carousel-item p {
    display:none;
}
       
       .EG-carousel .carousel-item h5, .EG-carousel .carousel-item h5 a {
    font-size: 1.6rem;
}

}

/******************* Extra small devices (portrait phones, less than 461px) */
@media (max-width: 460px) {
    
    .EG-copertina {
    background-size: cover;
}
.EG-copertina .container {
    padding: 0;
    height: 30vw;
}
.EG-copertina .container h1 {
    background-color: rgba(0,0,0,0.5);
    width: 100%;
    height: 100%;
    left: 0;
    font-size: 4vw;
    padding: 13vw;
    padding-left: 85px;
    padding-right: 0;
}
    
    
    .section-nav-aree-home {
        display:none;
    }
    
  
    }



/******************* Extra small devices (portrait phones, less than 361px) */
@media (max-width: 360px) {

}

/********************************************************************************************

RESPONSIVE: UP VALUES 

*********************************************************************************************/


/******************* Small devices ( 460px and up)*/
    @media (min-width: 460px) {
    
}

/******************* Small devices (576px and up)*/
@media (min-width: 576px) {


}

/******************* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {

}

/******************* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    header .EG-header-row-navbar .navbar-expand-lg .navbar-nav {
        justify-content: space-between;      
        width: 100%;        
    }
    .EG-int header .EG-header-row-navbar .navbar-expand-lg .navbar-nav {
        justify-content: space-between;
        width: 806px;
    }

    .navbar-expand-lg .navbar-collapse {
        justify-content: flex-end;
    }

#cnt {

    height: 100%!important;
}

}

/******************* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

            
}

/********************************************************************************************

RESPONSIVE: "AND" VALUES 

*********************************************************************************************/


@media (max-width: 575px) and (min-width: 460px) {

}

@media (max-width: 1199px) and (min-width: 991px) {
    .EG-int header .EG-header-row1 {
    position: inherit;
    }
    header {
    background-position: 123px -13px;
    }
    .EG-int header .EG-header-row1 .EG-header-brand {
        position: absolute;
        left: 30px;
        margin: 0;
        top: 60px;
    }
    .EG-int header .EG-header-row1 .EG-header-brand img {
        width: 150px;
    }
    .EG-int .EG-header-box1 {
        position: absolute;
        left: auto;
        right: 20px;
    }
    .EG-int header .EG-nav-aree-int {
    left: 200px;
}
}

@media (max-width: 991px) and (min-width: 767px) {
    .news .header-news img {
        width: 325px;
    } 
    .EG-nav-servizi-per-te {
    display: block;
        overflow: auto;
}
.EG-nav-servizi-per-te .EG-nav-aree-box {
    width: 47%;
    float: left;
    margin: 0 3% 2% 0;
}
.EG-int .news .header-news img {
    width: 100%;
        max-height: 250px;
    object-fit: cover;
}

}

@media (max-width: 991px) and (min-width: 567px) {

}

@media (max-width: 767px) and (min-width: 567px) {
   .news .header-news img {
    width: 100%;

}   
}


        