
@font-face{
    font-family: 'exo-bold';
    src:url('../fonts/Exo-Bold.ttf');
    -webkit-font-smoothing:antialiased;
}

@font-face{
    font-family: 'exo-light';
    src:url('../fonts/Exo-Light.ttf');
    -webkit-font-smoothing:antialiased;
}

@font-face{
    font-family: 'exo-medium';
    src:url('../fonts/Exo-Medium.ttf');
    -webkit-font-smoothing:antialiased;
}

@font-face{
    font-family: 'exo-regular';
    src:url('../fonts/Exo-Regular.ttf');
    -webkit-font-smoothing:antialiased;
}

@font-face{
    font-family: 'exo-thin';
    src:url('../fonts/Exo-Thin.ttf');
    -webkit-font-smoothing:antialiased;
}

/*   navbar it's use the the navbar for bootstrap and the change from bootstrap are in the following style */ 
.navbar-default{
    background-color: #e5e5dd;
    border-color: #e5e5dd;
}

.navbar-default .navbar-nav>li>a{
    font-family:'exo-regular';
    font-size: 18px;
    letter-spacing: 1px;
    color:#4c4c4c;
    text-transform: uppercase;

}

.navbar-default .navbar-nav>li {
    border-bottom: 2px solid transparent;
}

.navbar-default .navbar-nav>li:hover, .navbar-default .navbar-nav>li.active{
    color:rgb(0, 172, 90);
    border-bottom: 2px solid rgb(0, 172, 90);
}

.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus {
    color:rgb(0, 172, 90);
    background-color: transparent;
}
.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:hover, .navbar-default .navbar-nav>.open>a:focus{
    background-color: transparent;
}

dropdown-menu>li>a{
    font-family:'exo-regular';
    font-size: 20px;
    letter-spacing: 1px;
    color:rgb(140, 142, 141);
}



body{
    background: #fff;
    font-family: 'exo-regular';
    font-size: 15px;
}   


.box-news {
    padding: 0 20px 0 0;
}

.box-news a {
    color: inherit !important;
}

.news-date {
    color: #0059A2;
    margin-bottom: 0;
    font-size: 0.9em;
}

.banner {
    min-height: 50px;
    margin-top: -20px;
    overflow: hidden;
}



/* ---------------- height for the header -------------*/  
.header{
    height: 100px;
}
/*---------- h1 on the header   used for the demo porpuse -------------*/  
.header h1{
    font-family: 'exo-medium';
    font-size: 24px;
    font-weight: 100;
    color: #216fad;
    float: right;
    letter-spacing: 2px;
    margin: 41px 0px 0px 0px;

}
.header span{
    font-family: 'exo-regular';
    font-size: 18px;
    color: rgb(0, 172, 90);
}
/*  ------------th logo class has the size for the logo---------- */  
.logo{
    position: absolute;
    width: 20%;
    height: 170px;
    z-index: 999;
    margin-top: 20px;
    margin-left: 20px;
}
/*   ------the sixe for the logo the div above has the size for it ------------*/  
.logo img{
    max-width: 100%;
    max-height: 100%;
}
/*  ----------carousel caption --------------*/  


#pb_10, #pb_2 {
    margin-top: 70px;
}

/*  use for demo  popuse like margin. the size  for the div it use the container fro bootstrap */  
.wraper{
    margin-top: 80px;
    margin-bottom: 50px;
}


.box-news ul {
    list-style: none !important;
    list-style-position: inside;
}

.box-news ul li {
    
}

.box-news .news-body {
    border-bottom: 1px solid #AFAFAF;
    margin: 25px 0;
}

.box-news .news-description {
    line-height: 20px;
}

.box-news li:last-child {
    border-bottom: 0;
}


.box-news img {
    max-width: 100%;
    height: 7rem;
}

.box-news .readmore {
    text-align: right;
}

/*------------------------------------*\
  Media Object Styles
\*------------------------------------*/
.media {
    margin-bottom: 1.5rem;
}
.media:after {
    content: "";
    display: table;
    clear: both;
}

.media__img {
    display: block;
    margin-right: 1.5rem;
    margin-bottom: 0.75rem;
}

.media--one {
    border-left: 0.75rem solid #636649;
    padding: 0.75rem;
}

.media--two .media__img {
    margin-bottom: 0;
    border-left: 0.75rem solid #f0f0f0;
}
.media--two .media__body {
    padding: 0.75rem;
    background-color: #f0f0f0;
}

.media--three .media__img {
    margin-bottom: 0;
}
.media--three .media__body {
    position: relative;
    padding: 0.75rem;
    background-color: #f0f0f0;
}
.media--three .media__body:before {
    position: absolute;
    top: -0.75rem;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0.75rem 0.75rem 0.75rem;
    border-color: transparent transparent #f0f0f0 transparent;
    content: "";
}

@media (min-width: 27em) {
    .media__img {
        float: left;
    }

    .media__body {
        overflow: hidden;
    }

    .media--one {
        border-left: 0;
        padding: 0;
    }

    .media--two .media__img {
        border-left: 0;
    }
    .media--two .media__body {
        padding: 0;
        background-color: inherit;
    }

    .media--three .media__body {
        padding: 0;
        background-color: inherit;
    }
    .media--three .media__body:before {
        display: none;
    }
}


.media--three a{
    color: #5B5C56;
    text-decoration: none;
    float: right;
    font-size: 16px;

}
.media--three a:hover{
    color: #84c67f;
    text-decoration: underline;
}
/*  carousel section  */  


.carousel {
    height: 100%;
}

.item,
.active,
.carousel-inner {
    height: 100%;
}

/* Background images are set within the HTML using inline CSS, not here */

.fill {
    width: 100%;
    height: 100%;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}






/*-----------------/header section ----------------*/ 
/*  -------------media image ----------------*/  


.image-slide{
    margin-bottom: 50px;
    margin-top: 80px;
    /*     height: 540px;*/
}



.vew-links{
    margin-bottom: 50px;  
}  

.vew-links ul li{
    width: 33.33%;
    float: left;
    text-align: center;
    background:#008EDA;
}
.vew-links ul li:first-child {
    background:#00AC5A;
}

.vew-links ul li:last-child {
    background:#00AC5A;
}

.vew-links ul li a {
    font-size: 22px;
    color: #F7F4F4;
    padding: 42px 0;
    display: block;
    text-decoration: none;

    -webkit-transition: background,color 500ms ease-out 50ms;
    -moz-transition: background,color 500ms ease-out 50ms;
    -o-transition: background,color 500ms ease-out 50ms;
    transition: background,color 500ms ease-out 50ms; 
}

.vew-links ul li:first-child a:hover {
    background-color: #01944E;
}
.vew-links ul li:last-child a:hover {
    background-color: #01944E;
}
.vew-links ul li a:hover {
    background-color: #0059A2;
}

.vew-links {
    text-align: center;
    height: 115px;
    margin-bottom: 50px;
}


/*  ------------------footer -------------*/  

.footer {
    margin-top: 20px;
    background: #e5e5dd;
    width: 100%;
    height: auto;
    text-align: left;
    border-top: 2px solid #cccccc;
}

.footer > div.container {
    padding-top: 20px;
    padding-bottom: 20px;
}

.line{
    width:100px;
    height: 2px;
    float: left;
    /*     background: #160e34;*/

}


.footer-content h2 {
    padding-bottom: 15px;
}

.footer-content h2 a{
    color: #494E51;
    font-size: 23px;
    text-decoration: none;
    letter-spacing: 2px;
    font-weight: 600;
}
.footer-content h2 a:hover{
    color: #216FAD;
}

.footer-content a{
    text-decoration: none;
}

.footer-content ul{
    
}
.footer-content ul li{
    margin: 10px 0px 0px 0px;
}
.footer-content li {
    text-decoration: none;
    color: #4c4c4c;
    font-size: 15px;

    font-weight: 100;
    letter-spacing: 1px;
    line-height: 15px;
}


.footer-bottom {
    width:100%;
    background:#d6d7c9;
    padding: 10px;
    font-size: 12px;
}


/*  -------copyright  -----------*/  


.text-copyright{
    text-align: left;
    color: #141515;
    opacity: 0.5;
    float: left;
}





.poweredby {
    float: right;
    text-align: right;
}


/* ---------------------- chi siamo  --------------------*/  



.chisiam-content{

}

.chisiam-content1{

}
.chisiamo-wraper{
    text-align:left;
}


h2.pageTitle {
    background: white;
    color: #01A95A;
    text-align: left;
    border-bottom: 1px solid #01A95A;
    margin-left: 15px;
}

.about-chisiamo{
    margin-bottom:80px; 

}

.chisiam-content{
    text-align: justify;
    padding: 5px 20px;
}

.chisiam-content h2 {
    color: #216FAD;
    font-size: 20px;
    letter-spacing: 1px;
    padding-bottom: 15px;
}

.body-content ul, .chisiam-content ul {
    list-style-type: square;
    list-style-position: inside;
}
.body-content ul li, .chisiam-content ul li { 
    margin-bottom: 4px;
    padding-left: 10px;
}


.body-content {
    line-height: 27px;
    margin-bottom: 20px;
}

.body-content h4 {
    color: #216FAD;
    margin-top: 15px;
}

.body-content .col-left {
    padding-right: 20px;
}
.body-content .col-right {
    padding-left: 20px;
}


.loghi-accreditamenti {
    text-align: center;
}
.loghi-accreditamenti div {
    float: right;
    clear: both;
    width: 50%;
}
.loghi-accreditamenti img {
    display: inline-block;
    margin-bottom: 10px;
    width: 100%;
}

/*  -------------------contact -------------*/ 
.contact-wraper{
    margin-top: 100px;
    margin-bottom: 100px;
}

.pagination>.active>a, 
.pagination>.active>span, 
.pagination>.active>a:hover, 
.pagination>.active>span:hover, 
.pagination>.active>a:focus, 
.pagination>.active>span:focus{
    background-color: #83C57E;
    border-color: #83C57E;
}

.pagination>li>a, .pagination>li>span {
    color: #83C57E;
}

.pagination>li>a:hover, .pagination>li>span:hover {
    color: #83C57E;
}


.news_style2 .image {
    width: 300px;
    float: left;
    margin-right: 20px;
}
.news_style2 div.content {
    padding: 0px 20px;
}

.padd {
    padding-left: 10px;
}

a.customized-button {
    background: #008EDA;
    color: white !important;
}

a.customized-button:hover {
    background: #0059A2;
}

#myCarousel_2{
    border: 1px solid #fefefe;
    box-shadow: 0px 0px 1px 2px #DEDEDE;
}


/*   -------------   different media screens ------------------*/  
@media (min-width: 380px) and (max-width: 768px){
    .collapse.in {
        margin-top: 25px;
    }    
}

@media (max-width: 992px){

    
    .header h1{
        font-size: 16px;
        margin: 41px 0px 0px 103px;
            
    }
    .header span{
        font-size: 14px;
    }
    
    div.logo {
        margin-left: 0px;
    }
    
    .navbar-default .navbar-nav>li>a {
        font-size: 15px;
    }
}

@media  (max-width: 768px){
    /*---------- h1 on the header   used for the demo porpuse -------------*/  
    .header h1{
        font-size: 14px;
        margin: 41px 40px 0px 123px;
    }
    .header span{
        font-size: 12px;
    }
    
    .vew-links ul li a {
        font-size: 18px;
    }
    .footer-content {
        padding-left: 10px;
    }
    
    .news_style2 .image {
        float: none;
    }
    h2.pageTitle {
        font-size: 20px;
    }
    .about-chisiamo {
        margin-bottom: 10px;
    }
    .body-content .col-right{
        padding-left: 0px;
    }
    .chisiam-content{
        padding-left:0px; 
    }
    
    .body-content ul li, .chisiam-content ul li, .padd{
        padding-left: 15px;
    }
    
}

@media  (max-width: 700px){
    .header h1{
        font-size: 13px;
        margin: 41px 40px 0px 123px;
    }
    .header span{
        font-size: 11px;
    }
}

@media (max-width: 500px){ 
    
    #pb_14 {
        margin-top: 40px;
    }
    
    .header h1{
        font-size: 11px;
        margin: 41px 30px 0px 100px;
    }
    .header span{
        font-size: 9px;
    }
    .header{
        height: 120px;
    }
}

@media(max-width: 400px){
    .vew-links ul li a {
        font-size: 13px;
    }
    
    .header h1{
        margin: 41px 10px 0px 80px;
    }
}

@media(max-width: 300px){
    
    .header h1{
        margin: 41px 10px 0px 60px;
    }
}
