body {
    font-family: 'Roboto', sans-serif;
}

h1, h2, h3, h4, h5, h6 {

}

a {
    color: #155724;
}

a:hover {
    color: #026b4d;
    text-decoration: underline;
}

section {
    padding: 60px 0;
}

section img {
    max-width: 100%;
    height: auto;
}

section.dark_background {
    background: #f8f9fa;
}

section .section_title {
    text-align: center;
    line-height: 1;
    margin-bottom: 30px;
    font-size: 60px;
    font-weight: 900;
}

section .section_title h2 {
    font-weight: 600;
}

section .section_title h3 {
    font-weight: 600;
}

section .section_title h3 + h2 {
    margin: -10px 0 30px;
}

section.dark_background .section_title {
    color: #fff;
}

section .big_title {
    color: #1d1d1b;
    text-transform: uppercase;
    margin-bottom: 15px;
}

section .big_title h3 {
    font-size: 35px;
}

section.dark_background .big_title {
    color: #1d1d1b;
}

h2 {
    font-weight: 400;
    font-size: 47px;
    line-height: 1;
    margin-bottom: 30px;
}

h3 {
    font-weight: 900;
    font-size: 60px;
    line-height: 1;
    margin-bottom: 0;
}

.cta-button{
    background: #16bae1;
    font-weight: 800;
    padding: 15px 30px;
    border-radius: 15px;
    display: inline-block;
    color: #fff;
    position: relative;
}

.cta-button:hover {
    background: #12a8cc;
    color: #fff;
    text-decoration: none;
}

/* INPUT */
.form-control {
    border-radius: 0;
}

.form-control.error {
    border-color: red;
    background: #fff5f5;
    border-style: dashed
;
}

textarea.form-control {
    min-height: 150px;
}

.form-control:focus {
    box-shadow: none;
    border-color: #45a851;
}

/* PULSANTI */
[class*="btn-"] {
    background: white;
    padding: 10px 15px;
    font-weight: 500;
    display: inline-block;
    transition: background 0.1s;
}

[class*="btn-"]:hover {
    text-decoration: none;
}

.btn-1 {
    background: #1d1d1b;
    color: white;
    text-transform: uppercase;
}

.btn-1:hover {
    background: #000000;
    color: #fff;
}

.btn-2 {
    background: #ff9300;
    color: white;
    border-radius: 0;
    padding: 15px;
    border: none;
    text-transform: uppercase;
}

.btn-2:hover {
    background: #da7e00;
    color: #fff;
}

/* BLOCCO SERVIZI */
.service_blocks .service_block {
    padding: 30px;
    text-align: center;
    height: 100%;
    font-weight: 400;
    word-break: break-word;
    position: relative;
    z-index: 10;
}

#blocchi_footer.service_blocks .service_block h3 {
    font-size: 23px;
    text-transform: uppercase;
    margin-bottom: 15px;
}


/* TOPBAR */
#topbar {
    background: #1d1d1b;
    display: flex;
    padding: 5px 15px;
}

#topbar ul {
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 15px;
    font-weight: 500;
    line-height: 25px;
}

#topbar ul.right {
    text-align: right;
    flex: 1 0 100px;
}

#topbar ul li {
    display: inline-block;
    color: white;
    margin-right: 15px;
    padding: 2px 0;
}

#topbar ul.right li {
    margin-left: 5px;
    margin-right: 0;
}

#topbar ul li i {
    margin-right: 5px;
}

#topbar ul li a i {
    margin: 0;
    background: white;
    color: #1d1d1b;
    display: inline-block;
    height: 25px;
    width: 25px;
    text-align: center;
    line-height: 25px;
    border-radius: 50%;
}

#topbar ul li a {
    color: white;
}

/* INTESTAZIONE */
#barra_navigazione {
    background: #ffffff;
    padding: 0px 15px;
    font-size: 15px;
    min-height: 60px;
}

#barra_navigazione .logo {
    height: 100%;
    padding: 0 0 0 0px;
    flex: 1;
    width: 100%;
    min-height: 60px;
    line-height: 60px;
}

#barra_navigazione .logo img {
    width: auto;
    height: auto;
    max-height: 40px;
}

#barra_navigazione .navbar-collapse {

    /* flex: auto; */
}

#barra_navigazione .navbar-collapse .navbar-nav {
}

#barra_navigazione .nav-item {
    font-weight: 600;
    height: 100%;
}

#barra_navigazione .nav-item a {
    color: #000;
    text-transform: uppercase;
    font-weight: 500;
    text-decoration: none;
    display: block;
    height: 100%;
    padding: 20px 15px;
}

#barra_navigazione .nav-item a:hover,
#barra_navigazione .nav-item.active a {
    color: #ffffff;
    background: #ff9300;
}

#barra_navigazione .nav-item.active a {
    font-weight: bold;
}

#barra_navigazione .navbar-toggler {
    outline: none !important;
    margin: 0 0 0 auto;
    flex: 0 1;
    padding: 0;
}

#barra_navigazione .navbar-toggler .icon {
    background: white;
    display: block;
    width: 40px;
    height: 25px;
    color: #000000;
    border-top: 2px solid;
    border-bottom: 2px solid;
    position: relative;
}

#barra_navigazione .navbar-toggler .icon:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #000000;
    height: 2px;
    margin: auto;
}

#barra_navigazione .navbar-toggler:hover .icon {
    border-color: #ff9300;
}

#barra_navigazione .navbar-toggler:hover .icon:before {
    background: #ff9300;
}

/* BARRA OFFERTE */
#barra_offerte {
    background: black;
    padding: 10px 0;
    text-align: center;
    color: white;
    font-weight: 800;
}

/* SLIDER */
#slider.bg_page {
    color: white;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 60px 0 !important;
    min-height: auto;
    text-align: center;
}

#slider.bg_page:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

#slider {
    padding: 0 !important;
}

#slider .owl-dots {
    display: none;
}

#slider .slider_content {
    color: white;
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 180px 0;
}


#slider .slider_content:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

#slider .slider_content.bg_light {
    color: black;
}

#slider .slider_content.bg_dark:before {
    background: rgb(0, 0, 0);
}

#slider .slider_content.bg_light:before {
    background: rgb(255, 255, 255);
}

#slider.bg_page:before {
    background: rgb(0, 0, 0);
}

#slider .header_text {
    position: relative;
    color: #ffffff;
}

.bg_page .header_text {
    color: #fff !important;
}

#slider.bg_light .header_text {
    color: #1d1d1b;
}

.bg_page.bg_light .header_text {
    color: #fff !important;
}

#slider .header_text .header_text_content {
}

#slider .header_text .header_text_content .lead {
    font-weight: 500;
    font-size: 18px;
}

#slider .header_text h1 {
    font-weight: 800;
    font-size: 42px;
    text-transform: uppercase;
}

#slider .header_text a {

}

/* BLOCCHI SLIDER HOME */
#blocchi_slider {
    position: relative;
    background: url(https://lagosantopellet.com/wp-content/uploads/2018/02/cropped-sfondo.jpg);
    background-size: cover;
    background-position: center;
    padding: 100px 0;
}

#blocchi_slider::after {
    content: '';
    position: absolute;
    background: rgba(255,255,255,0.5);
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    z-index: 0;
}

#page {
    padding: 60px 0 0 0;
}

/* CTA CATALOGO */
#cta_catalogo {
    text-align: center;
    padding: 100px 0;
}

#cta_catalogo .btn-1 {
    display: inline-block;
}

#cta_catalogo img {
    position: absolute;
    top: 0;
    bottom: 0;
    height: 200%;
    right: 0;
    max-width: 100%;
    transform: translateY(-25%);
    object-fit: contain;
    z-index: 10;
}

/* CTA PUNTI VENDITA */
#cta_punti_vendita {
    height: 30vw;
    min-height: 300px;
    max-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 30px 0;
}

#cta_punti_vendita .left_bg,
#cta_punti_vendita .right_bg {
    content: '';
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 0;
}

#cta_punti_vendita .left_bg {
    max-height: 90%;
    height: 350px;
    width: 50%;
    left: 0;
    bottom: 0;
    background-position: left bottom;
}

#cta_punti_vendita .right_bg {
    height: 100%;
    width: 50%;
    right: 0;
    background-position: right bottom;
}

#cta_punti_vendita .container {
    position: relative;
}

#cta_punti_vendita .big_title,
#cta_punti_vendita p {
    text-align: center;
    background: rgba(255, 255, 255, 0.6);
}

#cta_punti_vendita .btn-2 {
    text-align: center;
    width: 250px;
}

/* PAGINA PRODOTTI */
.product_list .product_row {
    margin-top: 60px;
}

.product_list .product_row #contact_form {
    margin-bottom: -60px;
}


.product_list .product_row .product_title {
    background: #d1ead4;
    padding: 15px 0;
    text-align: right;
    font-weight: 500;
}

.product_list .product_row .product_title h2 {
    font-size: 30px;
    font-weight: bold;
    margin: 0;
}

.product_list .product_row .product_content {
    display: flex;
    padding: 30px 0 0;
}

.product_list .product_row .product_content .product_image {
    flex: 1;
    margin: 0;
}

.product_list .product_row .product_content .product_image img,
.product_list .product_row .product_content .product_image embed {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product_list .product_row .product_content .product_info {
    flex: 2;
}


.product_list .product_row:nth-child(even) .product_title {
    text-align: left;
}

.product_list .product_row:nth-child(even) .product_image {
    order: 2;
}

.product_list .product_row .product_content .product_info  {
    order: 1;
}


.product_list .product_row .product_content .product_info .product_tabs .tab_title {
    text-transform: uppercase;
    color: black;
    font-weight: 500;
    margin-right: 25px;
}

.product_list .product_row .product_content .product_info .product_tabs .tab_title.active {
    font-weight: 600;
    text-decoration: underline;
}

.product_list .product_row .product_content .product_info .product_tabs .product_tab {
    display: none;
    margin-top: 30px;
}

.product_list .product_row .product_content .product_info .product_tabs .product_tab.active {
    display: block;
}

.product_list .product_row .product_content .product_info .product_tabs .product_tab.caratteristiche ul {
    /* list-style: none; */
    margin: 0;
    /* padding: 0; */
    column-count: 2;
}

.product_list .product_row .product_content .product_info .product_tabs .product_tab.caratteristiche ul li {
    padding-bottom: 10px;
}

.product_list .product_row .product_cta {
    text-align: center;
    position: relative;
}

.product_list .product_row .product_cta:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    height: 1px;
    width: 100%;
    margin: auto;
    background: #e8e8e8;
    z-index: -1;
}

.product_list .product_row .product_cta a {
    border: 10px solid white;
}

/* MAPPA SEDI */
#mappa_sedi {
    height: 50vh;
    min-height: 400px;
}

/* CONTACT FORM */
#contact_form {
    background-position: bottom left;
    background-repeat: no-repeat;
}

#contact_form [type="submit"] {
    float: right;
    cursor: pointer;
}

/* FOOTER */
#blocchi_footer > .container {
    bottom: -80px;
    position: relative;
    margin-top: -80px;
}

#blocchi_footer {
    /* margin-bottom: 60px; */
    padding: 30px 0;
}

#sedi {
    padding: 60px 0 0 0;
}

#sedi_tabs {
    background: none;
    border: none;
    margin-top: 60px;
}

#sedi_tabs .ui-widget-header {
    background: none;
    border: none;
    border-bottom: 1px solid #c5c5c5;
    border-radius: 0;
}

#sedi_tabs .ui-widget-content {
    padding: 30px 0;
}

#sedi_tabs .ui-tabs-nav li {
    background: white;
    border-color: transparent;
}

#sedi_tabs .ui-tabs-nav li.ui-tabs-active {
    background: white;
    color: black;
    border-color: #c5c5c5;
}

#sedi_tabs .ui-tabs-nav li.ui-tabs-active a {
    color: black;
    font-weight: bold;
}

#sedi_tabs .localita_box {
    background: url('../images/fiamma.png') no-repeat left center;
    background-size: 25px auto;
    display: block;
    text-decoration: none;
    padding: 0 0 30px 30px;
}

#sedi_tabs .localita_box .sede_title {
    display: block;
    font-weight: 600;
    font-size: 20px;
}

.orari {
    text-align: center;
    background: #f8f9fa;
    padding: 30px 0;
}

.sedeInfoWindow h1 {
    font-size: 19px;
}

.sedeInfoWindow .immagine_sede {
    width: 50%;
    float: left;
    border: 1px solid #c5c5c5;
    padding: 3px;
    margin-right: 10px;
}

.sedeInfoWindow .phone {
    float: left;
    line-height: 25px;
}

.sedeInfoWindow .position {
    float: right;
    background: #45a851;
    padding: 5px 15px;
    color: white;
}

/* FOOTER */

#blocchi_footer .service_block {
    background: #1d1d1b;
    color: white;
}

#footer_info {
    padding: 120px 0 60px;
    text-align: right;
    background-position: bottom left;
    background-repeat: no-repeat;
}

#footer_info .footer_logo {
    margin-bottom: 15px;
    max-width: 250px;
}

#footer_info .footer_description {
    text-transform: uppercase;
    font-weight: 800;
    font-size: 17px;
    line-height: 1.2;
}

#footer_info .footer_description p {
    max-width: 600px;
    display: inline-block;
}

#footer {
    background: #1d1d1b;
    text-align: center;
    padding: 15px 0;
    color: white;
}

#footer p {
    margin: 0;
    padding: 0;
    font-weight: 500;
    font-size: 15px;
}

#footer p a {
    color: white;
}

#footer-bar > a {
    font-size: 17px !important;
}