body {
    font-family: Poppins, sans-serif;
    font-size: 12px;
    margin: 0px;
    padding: 0px;
    color: #000;
}

main {
    display: block;
    min-height: 100vh;
    margin-top: 50px;
    padding-top: 50px;
}

.mainViewport {
    min-height: calc(100vh - 342px)
}

@media (min-width: 992px) {
    main {
        padding-top: 175px;
    }
}

@media (max-width: 768px) {
    main {
        margin-top: 10px;
        padding-top: 60px;
    }
}

a {
    color: #EA5B29;
}

button {
    padding: 0;
    background-color: transparent;
    border: none;
}
.btn {
    border-radius: 25px;
}
.btn-sm {
    padding-left: 16px;
    padding-right: 16px;
}
.btn-primary {
    background-color: hsl(16, 82%, 54%);
    border: none;
}
.btn-primary:first-child:active,
.btn-primary:hover,
.btn-primary:focus-visible {
    background-color: hsl(16, 82%, 46%);
    border: none;
    box-shadow: none;
}
.btn-outline-primary {
    border-color: #EA5B29;
}
.btn-outline-primary:first-child:active,
.btn-outline-primary:hover,
.btn-outline-primary:focus-visible {
    background-color: #EA5B29;
    border-color: #EA5B29;
}

.heading1 {/* Titolo pagina listato */
    font-size: 40px;
    font-weight: bold;
}

.heading2 {/* Titolo pagina foglia */
    margin: 0 0 16px;
    font-size: 42px;
    line-height: 1;
    font-weight: bold;
    color: #820040;
}

.heading3 {/* h2 */
    font-size: 20px;
    color: #fff;
}

.heading3Red {
    font-size: 20px;
}

.heading4 {/* Titolo paragrafo */
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: bold;
    color: #820040;
    text-transform: uppercase;
}
.heading5 {/* Titolo sezione pagina */
    margin: 0 0 30px;
    font-size: 36px;
    font-weight: bold;
    color: #820040;
}
.listAlphabetic {
    list-style-type: lower-alpha;
}
.accordion-button:not(.collapsed) {
    color: inherit;
    background-color: transparent;
}
.accordion-button:focus {
    border-color: inherit;
    box-shadow: none;
}
.accordion-button:not(.collapsed)::after {
    background-image: var(--bs-accordion-btn-icon);
    ;
}
.accordionSimple .accordion-button,
.accordionSimple .accordion-item {
    border: none;
    box-shadow: none;
}
.accordionSimple .accordion-button {
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    color: #820040;
}
.accordionSimple .accordion-body {
    padding: 0;
}
.ca-button {
    /*display: flex;*/
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 36px;
    padding: 0 16px;
    background-color: #EA5B29;
    color: #fff;
    font-size: 12px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    margin: 0px 10px 0px 10px;
}
.ca-button-link {
    display: flex;
    flex-direction: column;
    row-gap: 4px;
    font-weight: bold;
    text-decoration: none;
}

.cta-button {
    text-align: right;
}

.buttonBar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.container {
    /*min-height: calc(100vh - 80px - 254px); Per tenere il footer attaccato in fondo anche su pagine con poco contenuto: altezza schermo - altezza header - altezza footer*/
    /*margin-top: 80px;*/
    /*padding-bottom: 40px;*/
}

.contentContainer {
    max-width: 610px;
    margin: auto;
}
.sectionContainerBlack {
    /*    background: url('../images/Cantinium_img_01.jpg') no-repeat fixed center;
        background-blend-mode: multiply;
        background-size: cover;*/
}
.sectionContainerWhite {
    background-color: #fff;
}
.table-simple {
    max-width: 90%;
    margin-left: calc(var(--bs-gutter-x) * .5);
}

@media (min-width: 768px) {
    .table-simple {
        max-width: 40%;
    }
}
.table-simple td,
.table-simple th {
    text-align: center;
    border: 1px solid #000;
    padding: 5px 10px;
}

/**********************/
/* Header - begin */
/**********************/
header {
    z-index: 50 !important;
    display: block;
    font-size: 14px;
}

header .navbar {
    background-color: #000;
    padding: 15px 0px 15px 0px;
    background: url('../images/img01.jpg') no-repeat fixed center;
    background-size: cover;
    background-position-x: center;
    background-position-y: center;
}

@media (min-width: 993px) {
    header .navbar {
        background-position-y: -220px;
    }

    header .navbar .nav-item {
        text-align: center;
    }
}

header .navbar .container {
    align-items: flex-start;
}

header .navbar .nav-link {
    color: #fff !important;
    font-weight: bold;
    cursor: pointer;
}

header .navbar .nav-link:hover {
    color: #fff !important;
}

header .navbar .search input {
    font-weight: bold;
}

header .violetRow {
    height: 25px;
    background-color: #820040;
}

.search {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    text-align: center;
    padding: 30px 0px;
    margin-right: 60px;
}

.search form {
    width: 80%;
    margin: auto;
}

.search form .form-control {
    background: none;
    font-size: 12px;
    color: #fff;
    border: 1px solid #ABABAB;
    border-radius: 25px;
    /*background-color: #ABABAB;*/
}

.search form .form-control::placeholder {
    color: #fff;
    font-size: 14px;
}

.search form .btn img {
    height: 24px;
}

/* Larger devices */
@media (min-width: 768px) {

    .navbar .navbar-brand img {
        max-width: 6em;
    }

    .navbar-collapse {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }

}

@media (max-width: 992px) {

    .navbar {
        max-height: 100vh;
    }

    .navbar-nav {
        width: 100%;
        text-align: right;
        color: #fff;
        font-size: 16px;
        padding-right: 12px;
    }

    header .navbar .nav-link {
        color: #fff !important;
        margin: 5px 0px 5px 0px;
    }

    .navbar-toggler-icon {
        background-image: url('../images/hamburgerThemeBlackIcon.png');

    }

    .navbar-toggler {
        padding-top: 5px;
        border: none;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    .navbar-collapse .search {
        display: none;
    }

    .search {
        padding: 0;
        margin-right: 0;
    }

    .search form {
        width: 100%;
    }

    .navbar .menu-close {
        text-align: right;
    }

    .navbar .menu-close .navbar-toggler-icon {
        background-image: url('../images/closeIconWhite.png');
    }

    header .navbar {
        background-size: auto;
        background-attachment: scroll;
        /*background:*/
    }
}
@media (max-width: 430px) {
    header .navbar .search input::placeholder {
        font-size: 13px;
    }
}
@media (max-width: 405px) {
    header .navbar .search input::placeholder {
        font-size: 12px;
    }
}
@media (max-width: 385px) {
    header .navbar .search input::placeholder {
        font-size: 11px;
    }
}
@media (max-width: 362px) {
    header .navbar .search input::placeholder {
        font-size: 10px;
    }
}
@media (max-width: 341px) {
    header .navbar .search input::placeholder {
        font-size: 9px;
    }
}
/**********************/
/* Header - end */
/**********************/

/**********************/
/* Footer - begin */
/**********************/
.footer {
    background: #000;
    font-size: 12px;
    color: #fff;
    display: block;
    padding: 30px;
}

.footer p {
    margin-bottom: 5px;
}

.footer .footer-company-info a {
    color: #fff;
}

.footer .footer-company-info span {
    margin: 0 10px;
}
.footer .footer-company-info span:first-of-type {
    margin: 0 10px 0 0;
}

.footer-company-info-mobile {
    display: none;
}

@media(max-width: 768px) {
    .footer-company-info-mobile {
        display: block;
    }

    .footer-company-info-std {
        display: none;
    }
}

.footer-main-name {
    font-size: 15px;
}

footer .footer-social img {
    max-width: 33px;
    max-height: 33px;
}

footer .footer-social a:link {
    text-decoration: none;
}

footer .footer-social a:visited {
    text-decoration: none;
}

footer .footer-social a:hover {
    text-decoration: none;
}

footer .footer-social a:active {
    text-decoration: none;
}

/**********************/
/* Footer - end */
/**********************/

/* Bootstrap customization*/
form, .form-text {
    font-size: 14px;
}
.form-control {
    border: none;
    background-color: #ECECEC;
}
.form-check-input:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.25);
}
.form-check-input:checked {
    background-color: #EA5B29;
    border-color: #EA5B29;
}

/* Common controls */
.singleBottle .singleBottleContent img {
    cursor: pointer;
}

.product-total-price {
    font-size: 15px;
}

.product-total-price-number {
    font-weight: bold;
    color: #820040;
}

.stockingChoose {
    margin-bottom: 20px;
}

/* POPUPs */
.popup-container {
    z-index: 9999;
}

.popup-content {
    /*z-index: 1;  Sit on top */
    width: 60%;
    max-height: calc(100% - 15em);
    top: 10%; /*calc(50% - 100px);*/
    overflow-x: hidden; /* Enable scroll if needed */
    overflow-y: auto;
    background-color: white;
    border-radius: 10px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 20;
    padding: 0px 10px 0px 10px;
}

.popup-container .popup-content input[type="email"] {
    font-size: 11px;
}

@media (min-width: 768px) and (max-width: 991px) {
    .popup-content {
        width: 70%;
    }
}

@media(max-width: 767px) {
    .popup-content {
        width: 80%;
    }
}

.popup-content-title {
    font-size: 15px;
    font-weight: bold;
    color: #820040;
    padding-top: 20px;
}
.popup-content-message {
    padding-top: 20px;
    padding-bottom: 20px;
}
.popup-content-button {
    background: #EA5B29;
    color: #ffffff;
    font-size: 13px;
    padding: 10px;
    border: 1px solid white;
    border-radius: 25px;
    width: 130px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}
.popup-container {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
}
.popup-opacity {
    opacity: 70%;
    background-color: #000;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 10;
    position: absolute;
}

/* Connect popup */
.popup-connect-button {
    padding: 15px;
    margin: 10px;
    border-style: solid;
    border-width: 1px;
    border-radius: 15px;
}

/* Navbar */
.nav-link img {
    width: 30px;
}
@media only screen and (min-width: 992px) {
    .nav-link img {
        width: 18px;
    }
}

/* Form validation rules*/
input:invalid {
    border: 2px solid red;
    border-radius: 5px;
}

textarea:invalid {
    border: 2px solid red;
    border-radius: 5px;
}

.invalid {
    border: 2px solid red;
    border-radius: 5px;
}

/* About */
@media (min-width: 992px) {
    .about img {
        margin-left: auto;
        margin-right: auto;
        width: 35%;
        display: block;
    }
}

@media (max-width: 991px) {
    .about img {
        margin-left: auto;
        margin-right: auto;
        width: 80%;
        display: block;
    }
}

/* */
.loginError {
    background-color: #FF4747;
    border-radius: 5px;
    padding-bottom: 5px;
}

.loginError p {
    margin-bottom: 0;
}

/**************************
 * ## COOKIE BAR START ## *
 *************************/
.cookies-infobar {
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px;
    text-align: center;
}

.cookies-infobar.cookies-infobar_accepted {
    display: none;
}

.cookies-infobar_wrapper {
    margin: 10px;
}

.cookies-infobar a {
    color: inherit;
}

.cookies-infobar_btn {
    display: inline-block;
    padding: 5px 10px;
    background: #0d9999;
    text-decoration: none;
    border-radius: 3px;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.2em;
}
/************************
 * ## COOKIE BAR END ## *
 ***********************/