@import url('https://fonts.googleapis.com/css?family=Lato');
body {font-family: 'Lato', sans-serif;}
h1, h2, h3, h4, h5, h6 {font-family: 'Lato', sans-serif;}


.full-width {width:100%;}
.mt-xs {margin-top:1px;}
.mt-sm {margin-top:5px;}
.mt-lg {margin-top:15px;}
.mt-xl {margin-top:30px;}
.mt-none {margin-top:0px !important;}

.mb-xs {margin-bottom:1px;}
.mb-sm {margin-bottom:5px;}
.mb-lg {margin-bottom:15px;}
.mb-xl {margin-bottom:30px;}
.mb-none {margin-bottom:0px !important;}

.mr-xs {margin-right:1px;}
.mr-sm {margin-right:5px;}
.mr-lg {margin-right:15px;}
.mr-xl {margin-right:30px;}
.mr-none {margin-right:0px !important;}

.ml-xs {margin-left:1px;}
.ml-sm {margin-left:5px;}
.ml-lg {margin-left:15px;}
.ml-xl {margin-left:30px;}
.ml-none {margin-left:0px !important;}

.mt-negative-sm {margin-top:-80px;}
.mt-negative-lg {margin-top:-120px;}
.mt-negative-xl {margin-top:-225px;}
.mt-negative-home {margin-top:-410px;}

.pt-xs {padding-top:1px;}
.pt-s {padding-top:5px;}
.pt-lg {padding-top:15px;}
.pt-xl {padding-top:30px;}
.pt-none {padding-top:0px;}

.pb-xs {padding-bottom:1px;}
.pb-s {padding-bottom:5px;}
.pb-lg {padding-bottom:15px;}
.pb-xl {padding-bottom:30px;}
.pb-none {padding-bottom:0px;}

.pr-xs {padding-right:1px;}
.pr-s {padding-right:5px;}
.pr-lg {padding-right:15px;}
.pr-xl {padding-right:30px;}
.pr-none {padding-right:0px;}

.pl-xs {padding-left:1px;}
.pl-s {padding-left:5px;}
.pl-lg {padding-left:15px;}
.pl-xl {padding-left:30px;}
.pl-none {padding-left:0px;}



.display-none {display:none;}

.form-control {border-radius:0px !important;}
.container {width:930px;}


.separator {
    max-width: 100%;
    margin: 20px auto;
    background: #166a4f;
}



.logo img {width:100%;}

.bg-white {background:#fff;}
.pr0 {padding-right:0px;}
.pt-50 {padding-top:50px !important;}
.pb-50 {padding-bottom:50px !important;}
.full {width:100%;}

/* top bar */
#top-bar {
    min-height: 40px;
    background: #f5f5f5;
}
.top-menu {border-right:1px solid #333; font-weight:500;}
.top-lang {border-right:1px solid #333; font-weight:500; padding-right:5px;}
.social { list-style-type:none; margin-bottom:0px; float:left; padding:0px; margin-left:0px;}
.social li { float:left;}
.social li a { padding:0px 10px; font-size:12px; line-height:40px; color:#333;}
.social li:first-child a { padding-left:0px;}
.rightc { list-style-type:none; margin-bottom:0px; float:right;}
.rightc li { margin:0px 10px; font-size:13px; float:left; line-height:40px; color:#333;}
.rightc li a {   color:#333;font-size:12px; }



/* navbar */
#navbar-main.affix {
	width: 100%;
    top: 0;
}
#navbar-main.navbar {
	border-radius: 0px !important;
    margin-bottom: 0;
	min-height:40px;
}
#navbar-main.navbar-default {
    background-color: #166a4f;
	border:none;
    border-color: none;
    z-index: 1000;
}
#navbar-main.navbar-fixed-top {
    padding: 0; 
    -webkit-transition: padding 0.5s;
    -moz-transition: padding 0.5s;
    transition: padding 0.5s;
}
#navbar-main.yamm .container {
    position: relative;
    height: 35px;
}
#navbar-main .nav>li>a {
    position: relative;
    display: block;
    line-height:20px;
	color: #fff;
	/*margin-top:-10px;*/
	transition: all 0s;
	border-right: 1px solid #fff;
}
#navbar-main .nav li:first-child {
	border-left: 1px solid #fff;
}
#navbar-main .nav>li>a:focus, #navbar-main .nav>li>a:hover {
    text-decoration: none;
    background-color: #b22f35;
	border-top:solid 3px #b22f35;
	margin-top:-3px;
}
#navbar-main .nav .open>a, #navbar-main .nav .open>a:focus, #navbar-main .nav .open>a:hover {
    background-color: #b22f35;
	border:none;
    border-color: none;
	border-top:solid 3px #b22f35;
	margin-top:-3px;
}

.affix {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

#mobile-navbar {display:none;}

@media (max-width: 767px) {
  #navbar-main {display:none;}
  #mobile-navbar {display:block;}
}


/* dropdown */

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 0;
    margin: -1px -2px 0px;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 0px !important;
    -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
}
.yamm .yamm-content {
   padding:15px;
   min-width: 430px;
}
.yamm .yamm-content h5 {
   color:#b22f35;
   margin:5px 0px 5px 0px;
   font-size:14px;
   font-weight:300;
   text-transform:uppercase;
}

.yamm .yamm-content h5 a {color:#b22f35;}
.yamm .yamm-content p {
   font-size:14px;
   font-weight:bold;
   color:#166a4f;
   margin-bottom:0px;
   padding-left:15px;
   text-transform:uppercase;
}
.yamm .yamm-content p a {color:#000;}
.yamm .yamm-content li {
   padding:5px 0px;
   border-bottom:1px solid #b22f35;
}

.middle-01 {float: right; height: 89px; width: 200px;}
.middle-02 {display: none;}

.nav>li>a {
    position: relative;
    display: block;
    padding: 10px 0px;
    font-size:14px;
}
a.dropdown-toggle {padding-left:0px !important;padding-right:0px !important;}

/* sub-nav */
.bg-header {
	background-repeat:no-repeat;
    background-position: center center;
    background-attachment: fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	min-height:500px;
}
.sub-nav {
	padding:40px 0px 0px;
}
.sub-nav h1 {
	text-transform:none;
	color:#fff;
	font-size:22px;
	padding:15px 0px 15px 0px;
}
.sub-nav h1 span {
    display: inline-block;
}
.sub-nav img {
	text-align:right;
    max-width: 100%;
}

.products {
/*	padding:50px 0px 100px; */
}

/* grid-box */
#grid-section {
	padding-top:15px;
}
#grid-section .container {
	padding-top:28px;	
}
.grid-box {
	margin-bottom:15px;
}
.grid-box a {
	color:inherit;
}
.grid-box img {
	width:100%;
}
.grid-box h4 {
	background-color: #166a4f;
	margin:0px;
	padding:10px;
	font-size:14px;
	font-weight:600;
	color:#fff;
}

.sell {
	background:#b22f35;
	margin-top:50px;
	margin-bottom:60px;
}
.sell h2 {
	color:#fff;
	margin:0;
	font-size:28px;
	padding:15px 0px 10px;
}
.sell h2 a {
	color:#fff;
	position: relative;
    top: -2px;
	left:10px;
}



/* green box */
.box .border {
    display: inline-block;
	border-top:5px solid #166a4f;
	border-bottom:3px solid #166a4f;
	margin-bottom: 30px;
}
.box .pr0 {
	margin-bottom: -1px;
}
.box h5 {
	margin-top: 10px;
    margin-bottom: 4px;
}
.box p {
	font-size:14px;
}
.box img {
	width:100%;
}


/* catalogo */

.categories {
	padding:0;
	list-style:none;
    background: #b22f35;
    width: 97%;
    display: table;
}
.categories li {
	float: left;
    padding: 0px 15px;
    margin: 15px 0px;
    color: #fff;
    font-weight: 300;
    border-right: 2px solid #fff;
    line-height: 1;
}
.categories li a {color:inherit;}
.categories li.active a {color:#fff;font-weight: 900;text-decoration:underline;}
.product-list h5 {
    font-size: 18px;
    font-weight: 600;
    border-top: 1px solid #eee;
    padding-top: 10px;
    margin-top: 0;
}
.schedule {
	background:#166a4f;
	text-align:right;
	padding:10px;
    margin-top:35px;
}
.schedule a {
	color:#fff;
	text-transform:uppercase;
}
.schedule a:hover {
	color:#fff;
}

.schedule .divider {
	color:#fff;
	padding:0px 10px;
}

/* prodotto */
#prod-section .bg-white {
	padding:40px 10px;
}
#prod-section .filter-list a {
	padding: 2px 10px;
    font-size: 12px;
	width: 100%;
    text-align: left;
}

.bg-product {
	background:url(../img/bg-product.jpg) no-repeat center center;
	min-height:400px;
}
h5.breadcrumb {
	margin-top:60px;
	/*color:#166a4f;*/
    color:darkgrey;
	background:none;
	text-transform:none;
	font-size:16px;
	padding:0;
}
h5.breadcrumb a {color:#333;}
.prod-box h4 {
	color:#b22f35;
	margin-top:0;
	text-transform:none;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.prod-box h4 small {}
.prod-box p {
	font-size:14px;
}
.prod-list, .prod-list ul {
	padding:0;
	list-style:none;
}
.prod-list li {
	border-bottom:1px solid #eee;
	padding:5px 0px;
	font-size:16px;
}
.prod-list li span {
    font-weight:600;
}
.prod-box h6 {
	text-transform: none;
    border-top: 3px solid #eee;
    /* border-bottom: 1px solid #eee; */
    font-size: 14px;
    padding: 5px 0px;
    /*padding: 0px 10px;*/
    /*background: #166a4f;*/
    color: #000;
    font-weight: 500;
    /*line-height: 40px;*/
}
.filter-list {
	padding:0;
	list-style:none;
	margin-bottom:30px;
}
.filter-list li {
	font-size:14px;
}
.btn-form {
    color: #fff;
    background-color: #b22f35;
    border-color: #b22f35;
}
.btn-form:hover {
    color: #b22f35;
    background-color: #fff;
    border-color: #b22f35;
}
.end-form {
	font-size:14px;
	border-bottom:1px solid #eee;
	margin-top:20px;
	padding:5px;
}

/* formazione */
.page-section .bg-white {
	padding:40px 10px;
}
.bg-page {
	background-repeat: no-repeat;
    background-position: center center;
	min-height:400px;
}
.page-section .prod-box h4, .page-section h1 {
	color:#166a4f;
	margin-top:0;
	text-transform:none;
}

.column2{
 -webkit-column-count: 2;
    -moz-column-count: 2;
         column-count: 2;
 }


.tabellaelencopezzi.elencoaziendericambi {
    width: 100%;
    max-width: 100% !important;
    background-color: transparent;
}
.tabellaelencopezzi.elencoaziendericambi tr {
    border-bottom: 1px solid #BF1E2E;
}
.tabellaelencopezzi.elencoaziendericambi tr:last-child {
    border-bottom: none;
}
.tabellaelencopezzi.elencoaziendericambi td {
    padding: 10px;
    text-align: center;
}
.tabellaelencopezzi.elencoaziendericambi img {
    padding: 10px;
}
.tabellaelencopezzi.elencoaziendericambi .nomeazienda, .tabellaelencopezzi.elencoaziendericambi span {
    display: inline;
    font-size: 15px;
    text-transform: uppercase;
}


/* slider thumbnails */

#sync1 .item {
    text-align: center;
}
#sync1.owl-theme .owl-controls {display:none;}
#sync2 .item {
    background: #C9C9C9;
    margin: 5px 0px 5px 0px;
    color: #FFF;
    text-align: center;
    cursor: pointer;
}
#sync2.owl-carousel .owl-item img {
    /*max-height: 80px;*/
}
#sync2 .item img {
    width: 100%;
}

/* main owl slider */
.about-carousel .item {
  position: relative;
  margin: 15px;
  background-color: rgba(255, 255, 255, 0.6);
}
.about-carousel .item img {
    opacity: 0.5;
    transition: all 0.1s;
    object-fit: cover;
    height: 100%;
}
.about-carousel .item img:hover {
    opacity: 1;
}
.about-carousel .item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.6);
  opacity: 0.5;
}
.about-carousel .item .caption {
  padding: 15px;
  background: rgba(255, 255, 255, 0.6);
  width: 100%;
  margin: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.about-carousel .item .caption h3 {
  margin: 0;
  font-size: 20px;
}
.about-carousel .item .caption h3 span {
  color:#b22f35;
}
.about-carousel .item .caption hr {
  margin: 5px auto;
  max-width: 50px;
}
.about-carousel .item .caption p {
  margin: 0;
}
.about-carousel .item .caption ul.social {
  margin-top: 5px;
}
.about-carousel .item .caption ul.social li a {
  color: rgba(255, 255, 255, 0.7);
}
.about-carousel .item .caption ul.social li a:hover,
.about-carousel .item .caption ul.social li a:focus {
  color: white;
}
.about-carousel .owl-controls {
  margin-top: 0;
}

.about-carousel .owl-controls .owl-prev,
.about-carousel .owl-controls .owl-next {
  text-align: center;
  position: absolute;
  height: 60px;
  width: 40px;
  border-radius: 0 !important;
  line-height: 50px;
  font-size: 30px !important;
  margin: auto 0 !important;
  top: 0;
  bottom: 0;
  background-color: #b22f35 !important;
  color: white !important;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  transition: all 0.5s;
  opacity: 0.5;
}
.about-carousel .owl-controls .owl-prev:hover,
.about-carousel .owl-controls .owl-next:hover {
  opacity: 1;
}
.about-carousel .owl-controls .owl-prev {
  left: 15px;
}
.about-carousel .owl-controls .owl-next {
  right: 15px;
}

.owl-prod .owl-controls .owl-prev,
.owl-prod .owl-controls .owl-next {
  text-align: center;
  position: absolute;
  height: 50px;
  width: 20px;
  border-radius: 0 !important;
  line-height: 50px;
  font-size: 20px !important;
  margin: auto 0 !important;
  top: 0;
  bottom: 0;
  background-color: #166a4f !important;
  color: white !important;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  transition: all 0.5s;
  opacity: 0.5;
}
.owl-prod .owl-controls .owl-prev:hover,
.owl-prod .owl-controls .owl-next:hover {
  opacity: 1;
}
.owl-prod .owl-controls .owl-prev {
  left: 0px;
}
.owl-prod .owl-controls .owl-next {
  right: 0px;
}



.mercati .myitem .caption {
    padding: 10px 15px 11px 15px;
    background: rgba(178, 47, 53, 0.6);
    width: 100%;
    margin: auto;
    position: relative;
    bottom: 40px;
}

.mercati .myitem .caption h4 {
    margin:0px;
}

.mercati .myitem .caption a {
    margin-left:15px;
    color:#fff;
}

.mercati .myitem {    
    min-height: 255px;
    margin-bottom: 15px;
}

/* Privacy */
.privacy h1 {
    font-size:28px;
    text-align:center;
    margin:10px 0px 40px;
}
.privacy h3 {
    font-size:16px;
    color:#166a4f;    
}
.privacy h5 {
    font-size:15px;
    color:#166a4f;    
    font-style:italic;
    text-transform:none;
    font-weight:300;
}

.privacy a {
    font-size:16px;
    color:#166a4f;    
    font-weight:700;
    font-style:italic;
}

footer.footer {
    color: #fff !important;
    background: #166a4f !important;
    padding: 50px 0 20px !important;
}
footer.footer a {
    color: #fff !important;
}

.mobile-list li {
    list-style:none;
}
.mobile-list li a {
    color: #777;
}

/*RESPONSIVE*/
@media (max-width: 1024px) {
    .nav>li>a {
        font-size: 11px;
        padding: 10px 10px;
    }
}


@media (min-width: 768px) and (max-width: 979px) {
	.container {width:720px;}
}


@media (max-width: 767px) {
  .container {width:auto;}
  .social-ico {display:none;}
  
}


@media (max-width: 480px) {
  #top-bar .social {display:none;}
  .sell {
        text-align: center;
    }
  .sell h2 {
        font-size: 16px;
    }
  .sell h2 a {
        color: #fff;
        position: relative;
        top: 4px;
        left: 0px;
        border: 1px solid;
    }
  .schedule a {
        font-size: 12px;
    }
}


.prod-box h4.title {
            background: #b22f35;
            height: 30px;
            line-height: 30px;
            padding-left: 15px;
            color: #fff;
        }
        .tag {
            background-color: #fff;
            margin: 0px;
            padding: 10px;
            font-size: 14px;
            text-align: center;
            font-weight: 600;
            margin-bottom: 10px;
            border: 2px solid #166a4f;
        }
        .tag a {
            color: #166a4f;
            text-transform:uppercase;
        }
        .tag:hover {
            background:#166a4f;
            text-transform:uppercase;
        }
        .tag:hover a {
            color:#fff;
        }

        .required {border:solid 1px red !important;}


.notify {
    width:100%;
}
.notify h2 {
    color:#166a4f;
    font-size:25px;
}
.notify h3 {
    font-size:18px;
}
.notify i {
    color:#166a4f;
    font-size:30px;
}

.required {border:solid 1px red;
}

.galleria .item {
    object-fit: cover;
    max-height: 150px;
    width: 100%;
    overflow: hidden;
    margin: 10px 0;
} 
.galleria .item img {
    max-width: 280px;
}

#listamarchi {
    margin: 30px 0px;
}

.marchio {
    border: solid 1px #000;
    margin-bottom: 15px;
    text-align: center;
    padding: 5px;
}

    .marchio img {
        width: 80%;
    }

.btn-atlas, .btn-atlas:visited, .btn-atlas:focus {
    background-color: #333;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    position: absolute;
    
    z-index: 9999;
}
.btn-atlas {
    top: 0px;
    right: 15px;
}
    .btn-atlas:hover {
        border: solid #333 1px;
        background-color: #fff;
        color: #333;
    }

@media (min-width: 1200px) {
    .btn-atlas {
        top: 28px;
        right: 280px;
    }
}