/************************* 
custom theme Magnifico Riposo 
by @ Bonsai Team 
created On: 03/06/2022
*************************/

@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700&family=DM+Sans:wght@400;500;700&family=Open+Sans:wght@400;500;600&family=Teko:wght@400;500;600&display=swap');

/************ helpers ************/

:root {
    --primary: #e10e16;
    --light: #dadada;
    --dark: #273583;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: #313131;
    /*overflow-x: hidden;*/
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cinzel Decorative', cursive;
    color: #313131;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

.lang_flag {
    width: 18px;
    height: auto;
}

h6 a {
    font-family: 'DM Sans', sans-serif;
}

.text-primary {
    color: #9d9d9c !important;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    color: #fff;
}

.btn-primary {
    background-color: #273583;
    border-color: #273583;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #2c44cc;
    border-color: #2c44cc;
}

.btn-primary:focus {
    box-shadow: 0 4px 10px 0.1rem #2c44cc50 !important;
}

a {
    color: #273583;
}

a:hover,
a:focus,
a:active {
    color: #e10e16;
}

.bg-dark {
    background-color: #313131 !important;
}

.dropdown-item:active {
    background-color: #2c44cc !important;
}


/************** navbar **************/

.logo {
    width: 40%;
}

button.navbar-toggler.me-4 {
    border-color: transparent;
}

a.text-body.px-2,
i.fa.text-primary.me-2 {
    color: #ffffffa9 !important;
}

a.text-body.px-2:hover,
a.text-body.px-2:focus,
a.text-body.px-2:active {
    color: #fff !important;
}

.container-fluid.bg-dark.p-0.wow.fadeIn.animated {
    background-color: #273583 !important;
}

.btn-outline-body {
    color: #fff;
    border-color: transparent;
}

.btn-outline-body:focus {
    box-shadow: 0 4px 10px 0.1rem #2c44cc50 !important;
}

.btn-contacts {
    font-weight: bold;
}

.navbar .dropdown .dropdown-mattresses {
    box-shadow: 0 30px 40px 0 #3131000B !important;
}

button.navbar-toggler {
    font-size: 34px;
    padding: 0px 7px 0px 7px;
}

button.navbar-toggler:hover {
    color: #273583;
}

[class*=" bi-"]::before {
    display: inline-block;
    font-family: bootstrap-icons !important;
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: -.125em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: .5s;
}

.bi-list::before {
    content: "\f479";
}

[class*=" bi-"]::after {
    display: inline-block;
    font-family: bootstrap-icons !important;
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: -.125em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: .5s;
}

.bi-list::after {
    content: "\F62A";
}

.navbar-toggler[aria-expanded=false] .bi-list::after {
    display: none;
}

.navbar-toggler[aria-expanded=true] .bi-list::before {
    display: none;
}

.me-3.logo {
    margin-right: 0px !important;
}


/************** mattresses-facts **************/

.fact-item.text-center.bg-light.h-100.p-5.pt-0 {
    background-color: #dadada15 !important;
}

.fact-item.text-center.bg-light.h-100.p-5.pt-0:hover {
    background-color: #dadada35 !important;
}

.to-mattress-text {
    color: #313131;
}

.to-mattress-link {
    text-decoration: underline;
}

.to-mattress-link:hover {
    letter-spacing: 1px;
    transition: .3s;
}


/************** fabrics **************/

.border-primary-blu {
    border-color: #273583 !important;
}

.service-item * {
    transition: .5s;
}

.service-item .service-text {
    background: hsla(0, 0%, 100%, 0.663);
}

.section-subtitle {
    color: #273583;
}

.nav-pills {
    font-size: 20px;
}

.nav-pills .nav-link {
    color: #9d9d9c;
}

.nav-pills .nav-link:hover,
.nav-pills .nav-link:focus,
.nav-pills .nav-link:active {
    letter-spacing: 1px;
}

.service-text.fab-text.p-3 {
    width: 100%;
}

.fab-item {
    min-height: 245px !important;
}

.text-toogle[aria-expanded=false] .text-expanded {
    display: none;
}

.text-toogle[aria-expanded=true] .text-collapsed {
    display: none;
}

.fab-text .text-toogle {
    display: flex;
    flex-direction: column;
    height: 100%;
    /* background-color: red; */
}

.fab-text .fab-img {
    width: 64px;
    height: auto;
    margin: 0 auto;
}

.fab-text .fabrics-title {
    /* background-color: blue; */
    flex: 1 1 auto;
}

.text-collapsed.more,
.text-expanded.less {
    text-decoration: underline;
}

.text-collapsed.more:hover,
.text-collapsed.more:focus,
.text-collapsed.more:active,
.text-expanded.less:hover,
.text-expanded.less:focus,
.text-expanded.less:active {
    letter-spacing: 1px;
    transition: .3s;
}


/************** materials **************/

.title-mat {
    font-weight: 700 !important;
}

.description-mat a,
.fab-text a span,
.product-item a p,
.wrap_fabrics a {
    color: #273583;
    text-decoration: none;
}

.fab-text a span:hover,
.fab-text a span:focus,
.fab-text a span:active {
    text-decoration: underline!important;
}

.description-mat a:hover,
.description-mat a:focus,
.description-mat a:active,
.product-item a p:hover,
.product-item a p:focus,
.product-item a p:active,
.wrap_fabrics a:hover,
.wrap_fabrics a:focus,
.wrap_fabrics a:active {
    color: #e10e16;
    letter-spacing: 1px;
    transition: .3s;
}

.readmore {
    font-weight: 700!important;
}

.readmore .bi {
    padding-left: 15px;
}

.readmore:hover,
.readmore:focus,
.readmore:active {
    letter-spacing: 1px;
    transition: .3s;
}

.btn-material {
    border: 7px solid white !important;
}


/************** products **************/

.wrap_products .section-subtitle {
    font-size: 40px;
}

.prod-card {
    /* min-height: 160px; */
    min-height: 255px;
}

.product_title {
    font-weight: bold !important;
    height: 80px;
    align-items: center;
    display: flex;
    justify-content: center;
}

.product-item a {
    color: #313131;
}

.product-item a p,
.product-item a p:hover,
.product-item a p:focus,
.product-item a p:active {
    font-size: 16px;
    text-decoration: underline;
}

.owl-prev,
.owl-next {
    position: absolute;
    bottom: 43%;
    background: white;
    font-size: 30px;
    color: #273583;
}

.owl-prev:hover,
.owl-next:hover {
    background: #273583;
    color: white;
}

.owl-next:focus,
.owl-next:active,
.owl-prev:focus,
.owl-prev:active {
    background: #e10e16;
    color: white;
}

.owl-prev {
    left: -4%;
}

.owl-next {
    right: -4%;
}

.lista-caratt {
    margin-left: 5%;
}


/************** molle **************/

.bg-cat {
    background-image: url('../img/uomo-dorme.jpg');
    background-repeat: no-repeat;
    background-position: center;
}

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

.arrow-banner {
    justify-content: center;
    display: flex;
    font-size: 30px;
    color: #273583;
}

.arrow-banner:hover,
.arrow-banner:focus,
.arrow-banner:active {
    color: #2c44cc;
}

.cat-section-title {
    background-color: rgba(255, 255, 255, 0.25);
}


/*** carosello delle caratteristiche ***/

.car-carousel {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 700px;
    margin: 0 auto;
}

.car-carousel .owl-dots {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.car-carousel .owl-dots .owl-dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    transition: .5s;
}

.car-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.car-carousel .owl-dots .owl-dot::after {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
    transition: .5s;
    opacity: 0;
}

.car-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.car-carousel .owl-dots .owl-dot img {
    opacity: .6;
    transition: .5s;
}

.car-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

.car-carousel .car-item {
    background-color: rgba(255, 255, 255, 0.5);
    height: 100%;
    padding: 30px;
}


/******** prods pages *******/

.prod-page .page-header {
    background-size: 100%, auto;
    background-size: cover;
    height: 500px;
}

.product_page_wrap .feature-img img {
    width: 100%;
}

.product_page_wrap .about-img img:last-child,
.product_page_wrap .feature-img img:last-child {
    margin: 0 0 0 0;
}

.details .list-group-numbered>li::before {
    color: #273583;
}

.details .col-blue {
    color: #273583;
}

.details .list-group-item {
    border: none;
}

.princ-attivi {
    color: #9d9d9c;
    margin-left: 10px;
}


/**************** consigli ***************/

.section-title-continue {
    letter-spacing: 3px;
    color: #273583;
    text-align: center;
}

.bg-cons {
    background-color: rgba(225, 14, 22, 0.502);
}

.icon-advice-blue,
.icon-advice-red,
.icon-advice-blue-light,
.icon-advice-red-light {
    padding: 5px;
    border-radius: 5px;
}

.icon-advice-blue {
    background-color: #273583;
}

.icon-advice-red {
    background-color: #e10e16;
}

.icon-advice-blue-light {
    background-color: rgba(39, 53, 131, 0.314);
}

.icon-advice-red-light {
    background-color: rgba(225, 14, 22, 0.314);
}

.title-point:hover,
.title-point:focus,
.title-point:active {
    letter-spacing: 1px;
    transition: .3s;
}

.advice_wrap .about-img img,
.advice_wrap .feature-img img {
    position: absolute;
    width: 60%;
    height: 40%;
    object-fit: cover;
}

.advice_wrap .about-img::before,
.advice_wrap .feature-img::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    border: 5px solid var(--primary);
    z-index: -1;
}

.impo-sentence {
    letter-spacing: 1px;
    font-weight: bold;
    text-transform: uppercase;
}

.eta {
    flex-direction: column;
    align-items: center;
}

.arr-tab {
    align-items: center;
    display: flex;
    flex-direction: initial;
    justify-content: center;
}

.eta img {
    border-radius: 10px;
}

.vl {
    border-left: 6px solid green;
    height: 120px;
}

.table-eta {
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/**************** contacts ***************/

.contacts-wrap {
    /* background-color: #ffffff90 !important; */
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.502), rgba(225, 14, 22, 0.565), rgb(39, 53, 131));
    background-color: rgba(39, 53, 131, 0.376) !important;
    padding: 20px;
    border-radius: 10px;
}

.contacts-wrap h3 {
    color: #dadada;
}

.contacts-wrap a {
    color: #dadada !important;
}

.contacts-wrap a:hover,
.contacts-wrap a:focus,
.contacts-wrap a:active {
    color: white !important;
    text-decoration: underline;
}

.prod-page .contacts {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/contatti/contatti.jpg) center center no-repeat;
    background-size: auto, auto;
}


/**************** footer ***************/

.footer-container .contacts-footer a {
    color: #777777;
}

.footer-container .contacts-footer a:hover {
    color: var(--primary);
    letter-spacing: 1px;
    transition: .3s;
}

.footer-container .contacts-footer {
    color: #ffffff40 !important;
}

.footer-container .contacts-footer .sede {
    color: #ffffff60 !important;
    font-weight: bold;
    text-transform: uppercase;
}

.contacts-footer {
    color: #ffffff40 !important;
}

.contacts-footer .sede {
    color: #ffffff60 !important;
    font-weight: bold;
    text-transform: uppercase;
}

.footer .btn.btn-link {
    color: #ffffff70;
    text-transform: none;
}

.footer-align {
    justify-content: center;
}

.copyright {
    font-size: 12px !important;
}