.navbar-brand > img {
   max-width: 100%;
}

.logo-cgm {
    max-width: 137px !important;
    padding:10px 0 0 0 !important;
}



body {

    font-size: 17px;
}

html, body, a, p, h1, h2, h3, h4, h5, h6 {
    
    font-family: Calibri, sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
    
    color:#003366;
}

#main-slider .slider-inner h2 {
    color: #97bf0d;
    font-size: 47px;
    margin-top: 166px;
}

.btn.btn-primary {
    background: #97bf0d;
    border-color: #83a802;
}

.btn.btn-primary:hover, .btn.btn-primary:focus {
    background: #83a802;
}

.btn.btn-warning {
    background: #149272 ;
    border-color: #017c5d  ;
}
.btn.btn-warning:hover, .btn.btn-warning:focus {
    background: #017c5d ;
}


.owl-carousel .owl-wrapper {
    
    /*background-color: #97bf0d;*/
}



#main-slider .item {
    height: 650px;
    background-repeat: no-repeat;
   
    background-size: cover;
    background-color: #97bf0d;
    /*margin-left:26%;*/
   background-position: 100% 0;

}




.section-header .section-title::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    bottom: -11px;
    left: 50%;
    margin-left: -12px;
    border: 8px solid #fff;
    border-radius: 20px;
    background: #97bf0d ;
}

#features {
    padding-top: 70px;
    padding-bottom: 30px;
}

#features2 {
    padding-bottom: 70px;
}

#features .first-block {
   padding-top:92px;
               
    }


#features .media.service-box {
    margin: 20px 0 0 0;
    height: 57px;
    display: inline-block;
    border-right: 1px solid #cdcdcd;
    padding-right: 13px;
    width: 170px;
}
#features  .media.service-box:nth-child(1), #features  .media.service-box:nth-child(3), #features  .media.service-box:nth-child(6) {
    border-right: none;
    padding-left: 20px;
}
#features  .media.service-box:nth-child(7) {
    display: block;
    width: 100%;
        border-right: none;
    line-height: 20px;

}
#features .media.service-box .media-body {
    padding-top: 21px;
}

.team-member .img-responsive {
    padding: 10px;
}


.media.service-box:hover .pull-left > i {
    background-image: none;
    background-color: #97bf0d;
    color: #fff;
    box-shadow: none;
    -webkit-box-shadow: none;
}


#meet-team2 .media.service-box .pull-left > i {
    font-size: 23px;
    width: 30px;
    height: 30px;
    line-height: 28px;
}


#meet-team2 .media.service-box {
    margin: 12px 0;
}


.media.service-box .pull-left  {
    margin-right:5px;
}

.media.service-box .pull-left > i {
    color: #97bf0d;
    font-size: 43px;
    height: 65px;
    line-height: 67px;
    width: 65px;
    box-shadow: none;
}

.media.service-box .pull-left > i::after {
    border:none;
    background: none;
}
.section-header .section-title {
    font-size: 34px;
    color: #003366;
    text-transform: none;
    position: relative;
    padding-bottom: 20px;
    margin: 0 0 20px;
}

#cta {

    box-shadow: 0px 14px 29px -24px rgba(0,0,0,.5) inset;
    background: #97bf0d none repeat scroll 0 0;
    padding: 50px 0 0 0;
   

}


#cta-bis {

    box-shadow: 0px 14px 29px -24px rgba(0,0,0,.5) inset;
    background: #1a8794 none repeat scroll 0 0;
    padding: 50px 0 0 0;
   

}
.column-title::after {
    border-bottom: 1px solid #97bf0d;
   
}

#cta .column-title::after {
    border-bottom: 1px solid #97bf0d;
   
}

#cta-bis .column-title::after {
    border-bottom: 1px solid #1a8794;
   
}
#cta .column-title, #cta-bis .column-title {
    border-bottom: 1px solid #ebebeb ;

}


#features .media.service-box:first-child {
    margin-top: 0px;
}


#cta .section-header .section-title::before, #cta-bis .section-header .section-title::before{
    background: #ebebeb  none repeat scroll 0 0;
  
}


#cta .section-header .section-title::after {
    background: #fafafa none repeat scroll 0 0;
    border: 8px solid #97bf0d;
    
}

#cta-bis .section-header .section-title::after {
    background: #fafafa none repeat scroll 0 0;
    border: 8px solid #1a8794;
    
}



#portfolio .section-header .section-title::before {
    background: #cdcdcd none repeat scroll 0 0;
  
}


#portfolio .section-header .section-title::after {
    background: #45aed6 none repeat scroll 0 0;
    border: 8px solid #fafafa;
    
}

 #portfolio {
    background: #fafafa;    
}


.tabella-container {
}

.tabella-cell {
    border-top: 1px solid #45aed6;
    border-left: 1px solid #45aed6;
    padding: 10px;
    text-align: center;
     float: none;
    display: table-cell;
    vertical-align: middle;
    height: auto;
}


.bottom-cell {
    
   border-bottom: 1px solid #45aed6;
}

.last-cell{
    
   border-right: 1px solid #45aed6;
   
}

.corner-top-left{
    
    border-radius: 5px 0 0 0;
}
.corner-bottom-left{
    
    border-radius: 0 0 0 5px;
}

.corner-bottom-right{
    
    border-radius: 0 0 5px 0;
}

.tabella-intestazione {
    background-color:#45aed6;
    border-radius: 5px 5px 0 0;
    padding: 10px;
    color:#ffffff;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

.tabella-intestazione2 {
    background-color:#f6f6f6;
    border-radius: 0;
    padding: 5px 10px ;
    color:#45aed6;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    border-left: 1px solid #45aed6;
    border-top: 1px solid #45aed6;
    border-right: 1px solid #45aed6;
}

.tabella-title{
    
    color: #003366;
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: left !important;
    word-wrap: break-word;
    hyphens: auto;
}
.tabella-title-grey{
    
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: left !important;
    word-wrap: break-word;
    hyphens: auto;
}

.tabella-container .fa{
    font-size:38px;
    color: #003366;
}

.green{
    color: #97be0c !important;
}

.red{
    color: #cc0000 !important;
}

.orange{
    color: #ff940c !important;
}



.ico-small{
   
    font-size:28px !important;
}


.no-margin{
    
    margin: 0;
    display: table;
    width: 100%;
}





#cta2 {
    background: #242a33 url("../images/cta2-bg.jpg") no-repeat scroll 50% 50% / cover ;
    color: #ffffff;
    padding-top: 70px;
    padding-bottom: 70px;
    box-shadow: 0px 14px 29px -24px rgba(0,0,0,.5) inset;
    border-top:7px solid #1a8794; 
}
#get-in-touch {
    background-color: #45aed6;
    background-image: none;
    color: #ffffff;
    padding: 50px 0 50px;
}
#about {
    padding: 80px 0;
}
#contact .container-wrapper {
    background: #ffffff none repeat scroll 0 0;
   /* border-top: 7px solid #45aed6;*/
    height: 100%;
    left: 0;
    position: relative;
    top: 0;
    width: 100%;
    z-index: 1;
    padding-bottom: 50px;
}

#meet-team .team-member {
    background: #ffffff none repeat scroll 0 0;
   
}

.team-img > h3 {
    background-color: #003366;
    color: #ffffff;
    font-size: 21px;
    margin: 0;
    padding: 9px 0;
    text-align: center;
}
#meet-team .team-member:hover {
    border-color: #97bf0d;
}
.team-info span {
    display: block;
    line-height: 17px;
}
.team-img.foo > h3 {
    background-color: #97bf0d;
}
.team-img.foo {
    bottom: -14px;
    margin-top: 0 !important;
    position: relative;
}
.team-img .fa {
    border: 2px solid #ffffff;
    border-radius: 25px;
    height: 35px;
    padding: 5px;
    width: 35px;
}





#zoomma {
    position: absolute;
    left: 38%;
    bottom: 38%;
}


.modal-body img {
    margin: auto;
}
.modal-header {
 
    border-bottom: none;
}

.modal-backdrop {

    background-color: #fff;
}

.modal-backdrop.in {
    filter: alpha(opacity=85);
    opacity: 0.85;
}
.modal-header .close {
    margin-top: -10px;
    font-size: 34px;
}

#zommata {
    position: absolute;
    top: 0px;
    left: -2px;
}

#zommata2 {
    position: absolute;
    top: 0px;
    left: -2px;
}


#zommata3 {
    position: absolute;
    top: 10px;
    left: -2px;
}




@media (max-width:1500px){
    
    #features .first-block {
   padding-top:70px;
               
    }
    

    #main-slider .item {
   background-position: 70% 0;
    }
}

@media (max-width:1200px){
    

    #main-slider .item {
   background-position: 60% 0;
               
    }
    #zoomma {
    position: absolute;
    left: 31%;
    bottom: 38%;
    }
    #features .first-block {
   padding-top:10px;
               
    }

}

@media (max-width:991px){
    

    #main-slider .item {
    background-position: 80% 0;
    margin-top: 406px;
               
    }
    #main-slider .slider-inner h2 {
    font-size: 45px;
    margin-top: 52px;
    }
    #zoomma {
    position: absolute;
    left: 29%;
    bottom: 34%;
        height: 30px;
        padding-top: 5px;
    }
    
    
     .img-features {
    width: auto;
    margin: 50px auto 0;
    text-align: center;
    display: block;
    float: none !important;
}

}


@media (max-width:767px){
    
    .stores-container {
    display:inline-block !important;
         }

    #features .first-block {
   padding-top:0;
               
    }
    
    
    #main-slider .item {
   background-position: 75% 0;
               
    }
    
    #features {
text-align: center !important;               
    }
    
    
     #features .text-justify{
text-align: center !important;               
    }
    
    
    
    .pull-left.stores {
    display: inline-block;
    float: none !important;
}
#features .media.service-box:nth-child(7) {
    display: block;
    width: 351px;
    border-right: none;
    text-align: left;
    line-height: 20px;
    padding-left: 0;
    margin-right: 4px;
    float: none !important;
    margin: 20px auto;
}





    
    .col-xs-6.team-member:last-child {
    float: right;
    margin-top: 0!important;
    }

    .col-xs-6.team-member {
    display: block;
    float: left;
    width: 48%;
    }
      .text-justify{
        text-align: left;
    }
    
   #zoomma {
    position: absolute;
    left:0;
    bottom: 20%;
       right: 0;
    height: 45px;
    padding-top: 5px;
    width: 80px;
       margin: 0 auto;
    }
    
}

@media (max-width:640px){
    

    #main-slider .item {
    background-position: 77% 0;
    background-size: cover;
    height: 472px;
               
    }
    

}










@media (max-width:550px){
    
   
    
    #main-slider .slider-inner h2 {
    font-size: 40px;
    margin-top: 35px;
    margin-bottom: 25px;
    }
    .col-xs-6.team-member{
        width: 100%;
    }
    .col-xs-6.team-member:first-child {
        margin-bottom: 50px;
    }
    
    #main-slider .item {
    background-position: 77% 0;
    background-size: cover;
    height: 421px;
        margin-top: 370px;
               
    }
    
    #zoomma {
    position: absolute;
    left:0;
    bottom: 10%;
       right: 0;
    height: 45px;
    padding-top: 5px;
    width: 80px;
       margin: 0 auto;
    }
  

    
}

@media (max-width:350px){
    
   
    #main-slider .item {
    background-position: 73% 0;
    background-size: cover;
    height: 370px;
        margin-top: 414px;
}

               
  
    #main-slider .btn {
    width: 118px;
    font-size: 16px;
}


#features .media.service-box:nth-child(7) {
    display: block;
    width: 100%;
    border-right: none;
    text-align: left;
    line-height: 20px;
    padding-left: 0;
    margin-right: 4px;
    float: none !important;
    margin: 20px auto;
    word-wrap: break-word;
}

.media.service-box .pull-left > i {
    color: #97bf0d;
    font-size: 26px;
    height: 43px;
    line-height: 42px;
    width: 43px;
    box-shadow: none;
}


#features .media.service-box .media-body {
    padding-top: 14px;
}

    
 #features .media.service-box {
    margin: 20px 0 0 0;
    height: 57px;
    display: inline-block;
    border-right: 1px solid #cdcdcd;
    padding-right: 0px;
    width: 125px;
}
#features .media.service-box:nth-child(1), #features .media.service-box:nth-child(3), #features .media.service-box:nth-child(6) {
    border-right: none;
    padding-left: 10px;
}
.media.service-box .pull-left {
    margin-right: -5px;
}


    
}


