body.bc-header-enabled {
    position: relative;
    top: 80px;
}

.bc-header {
    position: absolute;
    display: flex;
    width: 100%;
    height: 80px;
    top: -80px;
    overflow: hidden;

    justify-content: center;
    padding: 3px 4px;
    line-height: 19px;

    font-size: 14px;
    text-align: center;
    background: #fff;
    z-index: 9999;
}

.bc-header p {
    display: inline-flex;
    align-items: center;
    margin: 0;
}

/* Button CSS */
.bc-header .bc-header__link {
    margin-left: 5px;
    display: inline-block;
    color: #222222;
    text-decoration: none;
    border: 1px solid #222;
    padding: 5px 15px;
    border-radius: 6px;
    transition: all .3s;
    line-height: 28px;
}

.bc-header .bc-header__link:hover {
    color: #fff;
    background-color: #222;
    transition: all .3s;
}

/* Here should be advanced, generic CSS */
.bc-header .bc-header__logo {
    display: inline-flex;
    padding-left: 15px;
}

.bc-header .bc-header__logo img {
    max-height: 39px;
}

/* Header for Italy */
.bc-header .bc-header__italy {
    max-width: 80%;
    padding-left: 15px;
    line-height: 16px;
}

.bc-header .bc-header__italy p {
    display: inline-block;
}

/* Header for France */
.bc-header .bc-header__france {
    margin: -8px auto;
}

.bc-header .bc-header__france img {
    max-height: 35px;
}

.bc-footer {
    width: 100%;
    position: relative;
    text-align: center;
    background: #fff;
}

.bc-footer .bc-footer__image {
    padding: 4px 8px;
    max-height: 75px;
}

.bc-footer .bc-footer__legal-text {
    font-weight: 600;
    padding: 4px 10px;
    width: 100%;
    display: inline-block;
    font-size: 13px;
}

/* =========== POPUP ======== */

.bc-popup {
    display: none;
    position: fixed;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1234567892;
    width: 100%;
}

.bc-popup .bc-popup__container {
    padding-right: 1.875rem;
    padding-left: 1.875rem;
    padding-top: .9375rem;
    margin-right: auto;
    margin-left: auto;
}

.bc-popup .bc-popup__container .bc-popup__image-wrapper {
    display: inline-block;
    margin-right: 1.875rem;
}

.bc-popup .bc-popup__container .bc-popup__image-wrapper:last-child {
    margin-right: 0;
}

.bc-popup__content {
    color: #fff;
    font-size: 14px;
    line-height: 23px; /* 14 * 1.618 */
    font-family: Arial, Helvetica, sans-serif;
    text-align: justify;
    padding: .9375rem 0;
    margin: 0;
}

.bc-popup .bc-popup__close {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: #8b1822;
    color: #fff;
    cursor: pointer;
    line-height: 16px;
    font-size: 14px;
}

.bc-popup .bc-popup__close .bc-popup__close-icon {
    position: absolute;
    top: 5px;
    left: 0;
    font-size: 12px;
}

.bc-popup .bc-popup__close:hover,
.bc-popup .bc-popup__close:focus {
    background-color: #af1220;
    -moz-transition: all 0.2s ease-in;
    -webkit-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
}

.bc-popup .bc-popup__close .bc-popup__close-icon:before,
.bc-popup .bc-popup__close .bc-popup__close-icon:after {
    position: absolute;
    left: 18px;
    content: ' ';
    height: 22px;
    width: 3px;
    background-color: #fff;
    border-radius: 10px;
    top: 3px;
}

.bc-popup .bc-popup__close .bc-popup__close-icon:before {
    transform: rotate(45deg);
}

.bc-popup .bc-popup__close .bc-popup__close-icon:after {
    transform: rotate(-45deg);
}

@media (min-width: 544px) {
    .bc-popup .bc-popup__container {
        max-width: 576px;
    }
}

@media (min-width: 768px) {
    .bc-popup .bc-popup__container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .bc-popup .bc-popup__container {
        max-width: 940px;
    }
}

@media (min-width: 1200px) {
    .bc-popup .bc-popup__container {
        max-width: 1140px;
    }
}

@media screen and (max-width: 600px) {
    #wpadminbar {
        position: fixed !important;
    }

    .bc-header .bc-header__italy {
        padding: 0;
    }

    .bc-header .bc-header__italy, 
    .bc-header__france p {
        font-size: 10px;
        line-height: 1.2;
    }

    .bc-header .bc-header__france img {
        max-height: 35px;
        padding-top: 5px;
    }

    .bc-header .bc-header__logo img {
        max-height: 25px;
    }
}

@media ( min-width: 580px ) {
    body.bc-header-enabled {
        position: relative;
        top: 65px;
    }

    .bc-header {
        height: 65px;
        padding: 6px 10px;
        top: -65px;
    }
}

@media ( min-width: 1020px ) {
    body.bc-header-enabled {
        position: relative;
        top: 55px;
    }

    .bc-header {
        height: 55px;
        padding: 8px 12px;
        top: -55px;
    }
    .bc-footer .bc-footer__legal-text {
        padding: 4px 20%;
    }
}
