/* AGCM STYLE */

body {
    font-family: 'Open Sans', sans-serif;
}
* :focus {
    outline: 1px solid #0070c6;
}

/* title & text */
* p, * a {
    line-height: normal;
}
.section h2 {
    color: #1a5393;
    font-weight: 600;
    padding-bottom: 0.3em;
    border-bottom: 7px solid #1a5393;
    margin-bottom: 0;
    font-size: 2em;
    letter-spacing: -1px;
}
.section h2.onlineService {
    color: #007633;
    font-weight: 600;
    padding-bottom: 0.3em;
    border-bottom: 7px solid #007633;
    margin-bottom: 0;    
}
.text-lowercase {
  text-transform: lowercase !important;
}

.text-uppercase {
  text-transform: uppercase !important;
}
.font-weight-light {
  font-weight: 300 !important;
}

.font-weight-normal {
  font-weight: 400 !important;
}

.font-weight-bold {
  font-weight: 600 !important;
}

.font-italic {
  font-style: italic !important;
}

.text-white {
  color: #fff !important;
}
.text-basic {
  color: #434343 !important;
}
.text-blue {
  color: #1a5393;
}
.text-justify {
  text-align: justify !important;
}

.text-nowrap {
  white-space: nowrap !important;
}

.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-left {
  text-align: left !important;
}

.text-right {
  text-align: right !important;
}

.text-center {
  text-align: center !important;
}
/* buttons */
.btn-primary {
    background-color: #1a5393;
    border-color: transparent;
    color: #fff;
}
.pillsBtn {
    width: 100%;
    min-height: 65px; 
    background-color: #D5E3F2; 
    color: #1B5292; 
    border-radius: 15px; 
    font-size: 14px; 
    border: 1px solid #1B5292; 
    text-align: center;
    margin-bottom: 10px;
    white-space: unset;
    padding-top: 19px;
}
a.btn.pillsBtn:hover {
    background-color: #1B5292;
    color: #fff;
}
/* HEADER */
.mb-fix {
    margin-bottom: -1px;
}

.navHeader ul li a, .navHeader a {
    color: #fff;
    font-size: 0.9em;
}
.nav>li>a:focus, .nav>li>a:hover, a.navbar-brand.text-uppercase.navbar-right:hover {
    background-color: #153f6f;
}
.navbar-toggle .icon-bar{
    background-color: #fff;
}
a.navbar-brand.text-uppercase {
    font-size: 0.938em;
}
.socialCircle {
    width: 24px;
    height: 24px;    
}
.list-inline.social>li {
    padding-right: 0;
    padding-left: 0;
}
.ricercaAvanz {
    text-align: right !important;
    font-size: 90%;
}
/* footer */
footer {
    background-color: #1a5393;
    color: #fff;
}
footer a, footer a:hover, footer a:visited, footer a:focus {
    color: #fff;
}
footer ul, footer ol {
    padding-left: 15px;
}
.socialList {
    list-style: none;
    margin-left: 0;
    padding-left: 0.3em;
}
.socialList .socialCircle {
    width: 35px;
    height: 35px;
    position: relative;
    display: inline-table; 
    padding: 5px 0 0 0;
}
.socialList li {
    margin-bottom: 0.5em;
}
.social li a {
    padding: 1px 2px;
}
a.btn.btn-primary.rounded-circle.fbIcon {
    padding: 3px 10px;
}
/* UTILS -- margin & padding */
.mt-0,
.my-0 {
  margin-top: 0 !important;
}

.mr-0,
.mx-0 {
  margin-right: 0 !important;
}

.mb-0,
.my-0 {
  margin-bottom: 0 !important;
}

.ml-0,
.mx-0 {
  margin-left: 0 !important;
}

.m-1 {
  margin: 0.25rem !important;
}

.mt-1,
.my-1 {
  margin-top: 0.25rem !important;
}

.mr-1,
.mx-1 {
  margin-right: 0.25rem !important;
}

.mb-1,
.my-1 {
  margin-bottom: 0.25rem !important;
}

.ml-1,
.mx-1 {
  margin-left: 0.25rem !important;
}

.m-2 {
  margin: 0.5rem !important;
}

.mt-2,
.my-2 {
  margin-top: 0.5rem !important;
}

.mr-2,
.mx-2 {
  margin-right: 0.5rem !important;
}

.mb-2,
.my-2 {
  margin-bottom: 0.5rem !important;
}

.ml-2,
.mx-2 {
  margin-left: 0.5rem !important;
}

.m-3 {
  margin: 1rem !important;
}

.mt-3,
.my-3 {
  margin-top: 1rem !important;
}

.mr-3,
.mx-3 {
  margin-right: 1rem !important;
}

.mb-3,
.my-3 {
  margin-bottom: 1rem !important;
}

.ml-3,
.mx-3 {
  margin-left: 1rem !important;
}

.m-4 {
  margin: 1.5rem !important;
}

.mt-4,
.my-4 {
  margin-top: 1.5rem !important;
}

.mr-4,
.mx-4 {
  margin-right: 1.5rem !important;
}

.mb-4,
.my-4 {
  margin-bottom: 1.5rem !important;
}

.ml-4,
.mx-4 {
  margin-left: 1.5rem !important;
}

.m-5 {
  margin: 3rem !important;
}

.mt-5,
.my-5 {
  margin-top: 3rem !important;
}

.mr-5,
.mx-5 {
  margin-right: 3rem !important;
}

.mb-5,
.my-5 {
  margin-bottom: 3rem !important;
}

.ml-5,
.mx-5 {
  margin-left: 3rem !important;
}

.p-0 {
  padding: 0 !important;
}

.pt-0,
.py-0 {
  padding-top: 0 !important;
}

.pr-0,
.px-0 {
  padding-right: 0 !important;
}

.pb-0,
.py-0 {
  padding-bottom: 0 !important;
}

.pl-0,
.px-0 {
  padding-left: 0 !important;
}

.p-1 {
  padding: 0.25rem !important;
}

.pt-1,
.py-1 {
  padding-top: 0.25rem !important;
}

.pr-1,
.px-1 {
  padding-right: 0.25rem !important;
}

.pb-1,
.py-1 {
  padding-bottom: 0.25rem !important;
}

.pl-1,
.px-1 {
  padding-left: 0.25rem !important;
}

.p-2 {
  padding: 0.5rem !important;
}

.pt-2,
.py-2 {
  padding-top: 0.5rem !important;
}

.pr-2,
.px-2 {
  padding-right: 0.5rem !important;
}

.pb-2,
.py-2 {
  padding-bottom: 0.5rem !important;
}

.pl-2,
.px-2 {
  padding-left: 0.1rem !important;
}

.p-3 {
  padding: 1rem !important;
}

.pt-3,
.py-3 {
  padding-top: 1rem !important;
}

.pr-3,
.px-3 {
  padding-right: 1rem !important;
}

.pb-3,
.py-3 {
  padding-bottom: 1rem !important;
}

.pl-3,
.px-3 {
  padding-left: 1rem !important;
}

.p-4 {
  padding: 1.5rem !important;
}

.pt-4,
.py-4 {
  padding-top: 1.5rem !important;
}

.pr-4,
.px-4 {
  padding-right: 1.5rem !important;
}

.pb-4,
.py-4 {
  padding-bottom: 1.5rem !important;
}

.pl-4,
.px-4 {
  padding-left: 1.5rem !important;
}

.p-5 {
  padding: 3rem !important;
}

.pt-5,
.py-5 {
  padding-top: 3rem !important;
}

.pr-5,
.px-5 {
  padding-right: 3rem !important;
}

.pb-5,
.py-5 {
  padding-bottom: 3rem !important;
}

.pl-5,
.px-5 {
  padding-left: 3rem !important;
}

.m-auto {
  margin: auto !important;
}

.mt-auto,
.my-auto {
  margin-top: auto !important;
}

.mr-auto,
.mx-auto {
  margin-right: auto !important;
}

.mb-auto,
.my-auto {
  margin-bottom: auto !important;
}

.ml-auto,
.mx-auto {
  margin-left: auto !important;
}
/* element style */
.rounded {
  border-radius: 0.25rem !important;
}

.rounded-top {
  border-top-left-radius: 0.25rem !important;
  border-top-right-radius: 0.25rem !important;
}

.rounded-right {
  border-top-right-radius: 0.25rem !important;
  border-bottom-right-radius: 0.25rem !important;
}

.rounded-bottom {
  border-bottom-right-radius: 0.25rem !important;
  border-bottom-left-radius: 0.25rem !important;
}

.rounded-left {
  border-top-left-radius: 0.25rem !important;
  border-bottom-left-radius: 0.25rem !important;
}

.rounded-circle {
  border-radius: 50% !important;
}

.rounded-0 {
  border-radius: 0 !important;
}
.bg-white {
  background-color: #fff !important;
}
.bg-lightGrey {
    background-color: #f7f7f7;
}
.bg-grey {
    background-color: #EDEDED;
}
.bg-lightBlue {
    background-color: #eaf5ff;
}
.bg-blue {
    background-color: #1a5393;
}
.bg-darkBlue {
    background-color: #153f6f;
}
.bg-lightGreen {
    background-color: #ccebd9;
}
.bg-transparent {
  background-color: transparent !important;
}
.bg-green {
    background-color: #007633;
}
.border {
  border: 1px solid #dee2e6 !important;
}

.border-top {
  border-top: 1px solid #dee2e6 !important;
}

.border-right {
  border-right: 1px solid #dee2e6 !important;
}

.border-bottom {
  border-bottom: 1px solid #dee2e6 !important;
}

.border-left {
  border-left: 1px solid #dee2e6 !important;
}

.border-0 {
  border: 0 !important;
}

.border-top-0 {
  border-top: 0 !important;
}

.border-right-0 {
  border-right: 0 !important;
}

.border-bottom-0 {
  border-bottom: 0 !important;
}

.border-left-0 {
  border-left: 0 !important;
}

.border-primary {
  border-color: #007bff !important;
}

.border-secondary {
  border-color: #6c757d !important;
}

.border-success {
  border-color: #28a745 !important;
}

.border-info {
  border-color: #17a2b8 !important;
}

.border-warning {
  border-color: #ffc107 !important;
}

.border-danger {
  border-color: #dc3545 !important;
}

.border-light {
  border-color: #f8f9fa !important;
}

.border-dark {
  border-color: #343a40 !important;
}

.border-white {
  border-color: #fff !important;
}
.list-inline {
    display: inline-block;
    margin-left: 0;
}
hr {
    border-top: 1px solid #ccc;
    margin: 10px auto;
}
/* SEZIONI HP */
/* notizie in primo piano */
.notiziaPrinc {
    width: 95%;     
}
.dataNotiziaPrinc {
    font-size: 16px !important;
}
.gradient-darkBlue {
  /***  CSS Gradient  ***/
  /*  Chrome 1-9 and Safari 4-5.0  */
  background-image: -webkit-gradient(linear, left top, left bottom,
        color-stop( 0.0, rgb(21, 63, 113) ),
        color-stop( 1.0, rgb(26, 83, 147) ));
  /*  Chrome 10+ Safari 5.1+ Mobile Safari  */
  background-image: -webkit-linear-gradient(to bottom,
        rgb(21, 63, 113), 
        rgb(26, 83, 147) );

  /*  Firefox 3.6+  */
  background-image: -moz-linear-gradient(to bottom,
        rgb(21, 63, 113), 
        rgb(26, 83, 147) );
  /*  IE 10+  */
  background-image: -ms-linear-gradient(to bottom,
        rgb(21, 63, 113), 
        rgb(26, 83, 147) );

  /*  Opera 11.10+  */
  background-image: -o-linear-gradient(to bottom,
        rgb(21, 63, 113), 
        rgb(26, 83, 147) );

  /*  W3C  */
  background-image: linear-gradient(to bottom,
        rgb(21, 63, 113), 
        rgb(26, 83, 147) );    
}
.gradient-darkBlue h3,
.gradient-darkBlue a,
.gradient-darkBlue a:hover,
.gradient-darkBlue a:visited,
.gradient-darkBlue p,
.gradient-darkBlue span,
.gradient-darkBlue small, 
.bg-darkBlue h3, 
.bg-darkBlue p,
.bg-darkBlue span,
.bg-darkBlue a,
.bg-darkBlue a:hover,
.bg-darkBlue a:visited {
    color: #fff;
}
.min-height {
    min-height: 9em;
    display: inline-block;
    width: 100%;
}
/* font icon agcm */
.bg-darkBlue span.agcmagcm  {
    color:#1a5393;
    font-size: 2em;
    line-height: 1;
}

.bgmargin {
    margin-right: .5em;
}

.white-border-top {
    border-top:7px solid #FFFFFF;
    display: inline-block;
}
.bg-image {
    background: url(/application/immagini-sito/Agcm5.png);
    background-size: 62%;
    background-position: bottom right;
    background-repeat: no-repeat;
    min-height: 380px;
}
hr.hr-1-section {
    height: 7px;
    background-color: #fff;
    margin: 15px 15px 0 15px;
}
.img-mr-0 {
    padding: 0;
    margin-top: 1px;
}
.boxSection {
    min-height: 3em;
    display: inline-block;
    width: 100%;
}
.pubSection {
    padding-bottom: 0rem !important; 
}
.competenze h3 {
    color: #fff;
    background-color: #293443;
    padding: 5px;
    margin: 0 15px;
    font-weight: 500;
    font-size: 21px;
    display: table;
    position: absolute;
    bottom: 0;
    left:0;
}
.boxNews p {
    border-bottom: 1px solid #ccc;
}
.boxNews span {
    color: #7B7B7B;
}
.pubBox {
    display: inline-block;
    margin-bottom:1em;
    /*min-height: 9em;*/
    max-height: 7.8em;
    min-height: 7.8em;
    width: 100%;
}
.btnList-service {
    padding-left: 0;
    padding-top: 7px;
}
.btnList-service li {
    list-style: none;
    background-color: #fff;
    margin: 0.4em 1em 0em 1em;
}
.btnList-service li a {
    width: 100%;
}
.btnList-service li a span.bg-green {
    vertical-align: middle;    
    position: relative;
    display: inline-block;
    margin: 0;
    min-height: 55px;
    padding-top: 1em;
}
.btnList-service li a span.bg-green:after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 15px;
    border-color: transparent transparent transparent #007633;
    position: absolute;
    top: 22%;      
}
.btnList-service li a span.text-basic {
    padding-left: 1.4em;
}
.btnList-service li a em {
    color: #fff;
    text-decoration: none;
    vertical-align: middle;
    min-width: 55px;
    text-align: center;
}
.twitter-block {
    overflow: auto;
    height: 525px !important;
}
.dataAgenda {
    border-bottom: 1px solid #C0C0C0;
    display: inline-block;
    position: relative;
    margin-left: 15px;
    margin-right: 15px;
}
.boxShadow {
    box-shadow: 6px 6px 10px -5px rgba(102,102,102,0.5);
}
.dispBlock {
    display: block;
}
.btn-search-header{
    padding: 1px 6px;
    background: #005393;
    text-transform: none;
    color: white;
    border-radius: 0px;
     }
.btn-search-header:hover {
    color: white;
}
.form-link {
    display: inline-block;
}
.form-control {
    border-radius: 0px;
/*    height: 24px;*/
}
.form-control-header {
    border-radius: 0px;
    height: 24px;
    background: #EDEDED;
    color: #727271;
    min-width: 200px;
    border: 1px solid #E2E2E2;
    padding-left: 3px;
}
/* carousel buttons */
.media-carousel {
  margin-bottom: 0;
  padding: 0 40px 30px 40px;
  margin-top: 30px;
}
/* Previous button  */
.media-carousel .carousel-control.left {
   left: -12px;
    background: transparent;
    height: 40px;
    width: 40px;
    margin-top: 0;
    color: #494F55;
    text-shadow: none;
    font-size: 3em;
    opacity: 1;
    text-decoration: none !important;
}
/* Next button  */
.media-carousel .carousel-control.right {
  right: -12px !important;
  background: transparent;
    height: 40px;
    width: 40px;
    margin-top: 0;
    color: #494F55;
    text-shadow: none;
    font-size: 3em;
    opacity: 1;
    text-decoration: none !important;
}
/* Changes the position of the indicators */
.media-carousel .carousel-indicators {
  right: 50%;
  top: auto;
  bottom: 0px;
  margin-right: -19px;
}
/* Changes the colour of the indicators */
.media-carousel .carousel-indicators li {
  background: #c0c0c0;
}
.media-carousel .carousel-indicators .active {
  background: #333333;
}
/* MEDIAQUERY HOMEPAGE */
/* mediaquery for !IE11 */
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {  
   /* IE10+ specific styles go here */  
    .white-border-top {display: block;}
    .ieFix {
        background-color: #153f6f ;
        margin-top: -2px;
    }  
    * :focus {
        outline: 1px solid #ffffff;
    }
}
@media only screen and (max-width:768px) {
    a.navbar-brand.text-uppercase {
        float: right;
    }
    .logo {
        margin: 1em auto;
        display: table;
    }
    main.mt-5 {
        margin-top: 0 !important;
    }
    #header-siti {
       margin-top: 2em; 
    }
    .bg-darkBlue span.agcmagcm  {
        display: none;
    }
    .bg-darkBlue small.font-italic {
        margin-bottom: 1em;
        display: inline-block;
    }
    .gradient-darkBlue span.h4.font-italic {
        margin-bottom: 1em;
        display: inline-block;
    }
    .btnList-service li a span.text-basic {
        font-size: 90%;
    }
    .m-img-xs {
        padding-left: 15px !important;
    }
    .competenze h3 {
        font-size: 150%;
    }
    .pubBox {min-height: auto !important;}
    .pubBox h3 {
        margin-top: 5px;
    }  
    .form-group .text-left.mobileFix {
        float: right;
    }
    .media-carousel .carousel-control.left, .media-carousel .carousel-control.right {
        margin-top: 110px;
    } 
    
    .list-inline.no-pl-xs>li {
        padding-left: 0; 
    }
    
	#imgAgcm h3 {  
		font-size: 130%;
	}    

    #imgAgcm span {  
    	font-size: 100%;
	}    

}
@media only screen and (min-width:768px) and (max-width:1024px) {
    .pubBox {min-height: auto !important;}
    .competenze h3 {font-size: 100%;}
    .nav>li>a:first-child {
        padding-left: 0;
    }    
    
    .btnList-service li a span.text-basic {
        padding-left: 1.4em;
        width: 79%;
        vertical-align: middle;
        position: relative;
        display: inline-block;
        margin: 0;
        min-height: 50px;
        padding-top: 1em;    
    }    
}
@media only screen and (min-width:1024px) and (max-width:1366px) {
    .competenze h3 {
        font-size: 150%;
    }
    
    .btnList-service li a span.text-basic {
        padding-left: 1.4em;
        width: 79%;
        vertical-align: middle;
        position: relative;
        display: inline-block;
        margin: 0;
        min-height: 50px;
        padding-top: 1em;    
    }    
}

.width100 {
    width: 100%;
}


.video-container {
    position: relative;
    padding-bottom: 67.00%;
    height: 0;
    overflow: auto;
    -webkit-overflow-scrolling:touch;
}
.video-container iframe,.video-container object,.video-container embed {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.video-container iframe img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

@media (max-width:576px){
    .video-container {
        position: relative;
        padding-bottom: 67.00%;
        height: 0;
        overflow: auto;
        -webkit-overflow-scrolling:touch;
    }
    .video-container iframe,.video-container object,.video-container embed {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }
}