@import url("settings.css");
@import url("font.css");
@import url("banner.css");
@import url("menu.css");
@import url("search.css");
@import url("content.css");
@import url("button.css");
@import url("productcard.css");
@import url("popup.css");
@import url("footer.css");
@import url("category.css");
@import url("checkbox.css");
@import url("slider.css");
@import url("selectbox.css");
@import url("productdetail.css");
@import url("zoom.css");
@import url("cart.css");
@import url("spinner.css");
@import url("thanks.css");
@import url("media_screen.css");
@import url("shopper.css");
@import url("blog.css");
@import url("spedition.css");
@import url("contact-form.css");

html, body {
    margin: 0;
    padding: 0;
    z-index: 0;
    position: relative;
    width: 100%;
}

body {
    background-color: #f1f1f1;
    display: flex;
    flex-direction: column;

    overflow-x: hidden;
    min-height: 100vh;
}

body:before {
    content: " ";
    width: 100%;
    background-color: white;
    height: 149px;
    top: 0;
    position: absolute;
    z-index: 0;
}

body:after {
    content: " ";
    width: 100%;
    background-color: var(--color-main);
    height: 46px;
    top: 149px;
    position: absolute;
    z-index: -1;
}

* {
    position: relative;
    outline: none;
}

p, u, i, h1, h2, h3, span, label, button {
    cursor: default;
}

.template-common {
    display: none!important;
}

.error-input {
    background-color: #FF6666;
}

.product-label {
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 12px;
    margin-right: 10px;
    display: inline-block;
    border: 2px solid var(--color-main);
    color: white;
    background-color: var(--color-main);
    font-weight: bold;
    margin-bottom: 5px;
}

.product-label.product-label-discount {
    background-color: #e31e24;
    border: 2px solid #e31e24;
}

.stock-not-available {
    color: #ff6347;
}

.stock-available, .free-delivery-notice {
    color: #228B22;
}

.no-vat {
    grid-area: product-card-price;
    font-size: 13px;
    color: gray;
}

.error-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 200px;
}

.error-content::before {
    content: "";
    display: block;
    width: 100%;
    height: 200px;
    max-width: 400px;
    max-height: 200px;
    background-image: url('/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.error-content img {
    display: none;
}

.error-content a {
    background-image: none;
    background-color: var(--color-main);
}

.error-content a:hover {
    background-color: var(--color-main-hover);
    transform: scale(1.05);
}

@media only screen and (max-width: 1400px) {  
    body::before,
    body::after {
        display: none;
    }
}

@media only screen and (max-width: 860px) {
    body {
        margin-top: 120px;
    }

    .error-content {
        padding-top: 0;
    }
}

@media only screen and (max-width: 640px) {
    body {
        margin-top: 120px;
    }
}

@media only screen and (max-width: 480px) {
    .error-content {
        padding: 0px 15px;
        box-sizing: border-box;
    }

    .error-content::before {
        max-width: 350px;

    }
}