/* Centro Studi Confindustria */
/* CSC Home */

nav.confmenu .subnav.subnav-green{
  background: linear-gradient(rgba(171, 192, 53,1),rgba(171, 192, 53,0.8));
  color: #004388;
  display: inherit;
}

nav.confmenu .subnav.subnav-green{
    color: #004388 !important;
}

nav.confmenu .subnav.subnav-green .colmidline{
  border-right: 1px solid #004388 !important;
}

nav.confmenu .subnav.subnav-green .megamenupic{
  border: 1px solid #004388 !important;
}

nav.confmenu .subnav.subnav-green .menumega2, nav.confmenu .subnav.subnav-green li, nav.confmenu .subnav.subnav-green ul li{
  color: #004388 !important;
}

nav.confmenu .subnav.subnav-green .menumega2.active{
  text-decoration: underline !important;
}

nav.confmenu .subnav.subnav-green .menumega2:hover{
  text-decoration: underline !important;
  color: #999999 !important;
}

.button.border.green{
  color: #004388 !important;
  background-color: rgba(171, 192, 53,1);
}
.button.border.green:hover, .button.border.green:focus{
  color: #004388 !important;
  background-color: white;
}
.text-center h4{
  color: #004388;
  font-weight: bold;
}

#csc_slider_eventi .carousel-inner>.item{
  max-height: 450px;
  background-size: cover;
  background-position: center center;
}

#csc_slider_eventi .carousel-inner>.item>img{
  width: 100%;
}

.feature-box.project .border-left-project {
    background-color: rgba(171, 192, 53,1);
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0px;
    z-index: 100;
    -webkit-transition: all 0.3s ease-out 0s;
    -moz-transition: all 0.3s ease-out 0s;
    -ms-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
}
.feature-box.project .border-project {
    position: absolute;
    height: 100%;
    background: rgba(0,0,0,0.7);
    bottom: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    -webkit-transition: all 0.3s ease-out 0s;
    -moz-transition: all 0.3s ease-out 0s;
    -ms-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
}

.feature-box.project:hover .border-left-project{
  width: 20px;
}

.text_aggiornamenti{
  font-size: 2.5rem !important;
  text-align: center;
  border-bottom: 1px solid #fff;
  margin-bottom: 20px!important;
}
.feature-box.project, .feature-box.proj {
    height: 270px;
    padding-top: 105px;
}
.link_aggiornamenti{
  padding: 0 25px;
}
/***
#back-to-top .top {
    background-color: rgba(171, 192, 53,1)!important;
    color: #004388!important;
} ***/

#back-to-top .top.arrow.green {
    background-color: rgba(171, 192, 53,1)!important;
    color: #004388!important;
}


.footerline {
    padding-top: 7.5rem;
    margin-left: 3.5rem;
    font-size: 18px !important;
    font-weight: 400;
}

/* CSC APPUNTAMENTI */
.evidenza_csc {
    background-color: rgba(171, 192, 53,1);
    color: #000 !important;
    padding: 5px;
}
.border-event_green {
    position: absolute;
    background: rgba(171, 192, 53,1);
    height: 80px;
    bottom: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    -webkit-transition: all 0.3s ease-out 0s;
    -moz-transition: all 0.3s ease-out 0s;
    -ms-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
}
.feature-box.event:hover:before, .feature-box.active:before {
    background: rgba(255, 255, 255, 0.5) none repeat scroll 0 0 !important;
}

/* CSC */
.text_big_green {
    color: #000;
    background-color: rgba(171, 192, 53,1);
    padding: 5px;
    text-transform: uppercase;
    font-weight: bold;
}
.feature-box.event .border-event {
    background-color: rgba(171, 192, 53,1) !important;
}

.feature-box.event a{
  color: black !important;
}

/* CSC NOTE_DETTAGLIO */
.filtri h4 {
    padding-left: 10px;
    color: #000;
}
.filtri.green {
    background-color: rgba(171, 192, 53,1) !important;
}
.video_center.green {
    background-color: rgba(171, 192, 53,1) !important;
}
.video_center h4,.video_center p {
    color: #000;
}
.feature-box.news a{
  color: #000 !important;
}
.feature-box.news:hover:before, .feature-box.active:before {
    background: rgba(255, 255, 255, 0.5) none repeat scroll 0 0 !important;
}

/* CSC PREVISIONE RAPPORTI DOLCE VITA */

.text_dolcevita::before{
  content: '';
  height: 25px;
  width: 27%;
  background-color: green;
  display: inline-block;
  margin-right: .5rem;
}
.text_dolcevita::after{
  content: '';
  height: 25px;
  width: 27%;
  background-color: red;
  display: inline-block;
  margin-left: .5rem;
}
.text_dolcevita_small{
  margin-bottom: 0;
}
.box{
  padding-top: 0;
}
.text_dolcevita_small::before{
  content: '';
  height: 10px;
  width: 22%;
  background-color: green;
  display: inline-block;
  margin-right: .3rem;
}
.text_dolcevita_small::after{
  content: '';
  height: 10px;
  width: 22%;
  background-color: red;
  display: inline-block;
  margin-left: .3rem;
}

@media (max-width: 1199px){
  .text_dolcevita::before{
    width: 23%;
  }
  .text_dolcevita::after{
    width: 23%;
  }
  .text_dolcevita{
    font-size: 30px;
  }
}
@media (max-width: 991px){
  .text_dolcevita::before{
    width: 20%;
  }
  .text_dolcevita::after{
    width: 20%;
  }
  .text_dolcevita{
    font-size: 26px;
  }
}
@media (max-width: 616px){
  .text_dolcevita::before{
    width: 15%;
  }
  .text_dolcevita::after{
    width: 15%;
  }
  .text_dolcevita{
    font-size: 22px;
  }
}
@media (max-width: 457px){
  .text_dolcevita::before{
    display: none;
  }
  .text_dolcevita::after{
    display: none;
  }
  .text_dolcevita{
    font-size: 36px;
  }
}
@media (max-width: 991px){
  .text_dolcevita_small::before{
    width: 30%;
  }
  .text_dolcevita_small::after{
    width: 30%;
  }
}
@media (max-width: 517px){
  .text_dolcevita_small::before{
    width: 25%;
  }
  .text_dolcevita_small::after{
    width: 25%;
  }
}
@media (max-width: 419px){
  .text_dolcevita_small::before{
    width: 15%;
  }
  .text_dolcevita_small::after{
    width: 15%;
  }
}
/* CSC PREVISIONE RAPPORTI SCENARI ECONOMICI */
.linea_red_big{
  width: 100%;
  height: 25px;
  background-color: #a80a18;
  position: relative;
  margin-top: 15px;
  margin-bottom: 10px;
}
.linea_red_big h1 {
    text-transform: uppercase;
    text-align: center;
    background-color: #fff;
    display: inline-block;
    position: relative;
    top: -5px;
    padding: 0 1rem;
}

.linea_red{
  width: 100%;
  height: 10px;
  background-color: #a80a18;
  position: relative;
  margin-top: 15px;
  margin-bottom: 10px;
}

.linea_red p {
    text-transform: uppercase;
    text-align: center;
    background-color: #fff;
    display: inline-block;
    position: absolute;
    top: -5px;
    padding: 0 1rem;
}
/* CSC PREVISIONE RAPPORTI SCENARI INDUSTRIALI */
.linea_green_big{
  width: 100%;
  height: 25px;
  background-color: #016330;
  position: relative;
  margin-top: 15px;
  margin-bottom: 10px;
}
.linea_green_big h1 {
    text-transform: uppercase;
    text-align: center;
    background-color: #fff;
    display: inline-block;
    position: relative;
    top: -5px;
    padding: 0 1rem;
}
.linea_green{
  width: 100%;
  height: 10px;
  background-color: #016330;
  position: relative;
  margin-top: 15px;
  margin-bottom: 10px;
}
.linea_green p {
    text-transform: uppercase;
    text-align: center;
    background-color: #fff;
    display: inline-block;
    position: absolute;
    top: -5px;
    padding: 0 1rem;
}
/* CSC PREVISIONE RAPPORTI VOLUMI BIENNALI */
.linea_blue_big{
  width: 100%;
  height: 25px;
  background-color: #0e71b4;
  position: relative;
  margin-top: 15px;
  margin-bottom: 10px;
}
.linea_blue_big h1 {
    text-transform: uppercase;
    text-align: center;
    background-color: #fff;
    display: inline-block;
    position: relative;
    top: -5px;
    padding: 0 1rem;
}
.linea_blue{
  width: 100%;
  height: 10px;
  background-color: #0e71b4;
  position: relative;
  margin-top: 15px;
  margin-bottom: 10px;
}
.linea_blue p {
    text-transform: uppercase;
    text-align: center;
    background-color: #fff;
    display: inline-block;
    position: absolute;
    top: -5px;
    padding: 0 1rem;
}

/* CSC CONGIUNTURA FLASH */
.panel-default .panel-heading {
    color: #004388;
    background-color: rgba(171, 192, 53,1);
    border-color: rgba(233, 236, 52,1);
    padding: 0 15px;
}

/* CENTRO STUDI CONFINDUSTRIA */
.bordo_green:after{
  content: '';
  height: 6px;
  width:100px;
  background-color: rgba(171, 192, 53,1);
  display: block;
  margin: 0 auto;
}
.bordo_green{
  font-weight: bold;
}
