﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */

html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 8rem;
}

/* Custom styles go here */

/* ----------------- accordions -------------- */
.accordion-button {
    color: #1d800a !important;
}
    .accordion-button:not(.collapsed) {
        font-weight: bold;
        background-color: unset;
    }
        .accordion-button:not(.collapsed)::after {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231d800a'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
        }
/* ----------------- end of accordions -------------- */

/* ----------------- carousel -------------- */
.carousel-indicators {
    background: rgba(128, 128, 128, 0.65);
    margin-left: 35%;
    margin-right: 35%;
}
    .carousel-indicators [data-bs-target] {
        background-color: #f6de00;
    }
/* ----------------- end of carousel -------------- */

/* ----- button animation  ----------- */
svg.svg-action-btn {
    width: 1rem;
    height: 1rem;
    margin-bottom: 0.2rem;
    fill: #1d800a;
}
.sync {
    animation-name: rotateAnimation;
    -webkit-animation-name: wk-rotateAnimation;
    animation-duration: 1.8s;
    -webkit-animation-duration: 1.8s;
    animation-delay: 0.3s;
    -webkit-animation-delay: 0.3s;
    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
}
@keyframes rotateAnimation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
@-webkit-keyframes wk-rotateAnimation {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}
/* ----- end of button animation  ----------- */

/* --------- headers and footers ---------------- */
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 28px; /* Vertically center the text there */
}

.all4-header, .all4-footer {
    background: rgb(249,205,55);
    background: linear-gradient(0deg, rgba(249,205,55,1) 35%, rgba(255,190,17,1) 100%);
}
.all4-footer {
    background: rgb(249,205,55);
    background: linear-gradient(180deg, rgba(249,205,55,1) 35%, rgba(255,190,17,1) 100%);
}
.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28163,0,0,0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-light .navbar-toggler-icon:hover {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,99,52,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
button.navbar-toggler {
    border-color: #a3000040 !important;
}
    button.navbar-toggler:hover {
        border-color: #ff6334 !important;
    }
/* --------- logo ---------------- */
.logo-small .nav-item {
    font-family: 'Gabriola';
    font-weight: normal;
    font-size: 1.5rem;
}
    .logo-small .nav-item .nav-link {
        padding-top: 0;
        padding-bottom: 0;
    }
        .logo-small .nav-item .nav-link:first-child {
            padding-top: 0.5rem !important;
        }
.logo-small .navbar-brand {
    margin-top: -1rem;
}
.logo-small .logo-text {
    font-family: 'Gabriola';
    font-weight: normal;
    font-size: 1.25rem;
    display: inline-block;
    margin-bottom: -2rem;
}
.logo-small .logo-text-4 {
    font-family: 'Nirmala UI';
    font-weight: normal;
    color: #a50e0e;
    font-size: 2.85rem;
    display: inline-block;
    margin-bottom: -1rem;
}
.logo-small .logo-sub {
    font-family: 'Gabriola';
    font-weight: normal;
    font-size: 0.65rem;
    display: inline-block;
}
.logo-small .logo-main {
    margin-top: -2.1rem;
}

.logo .logo-text {
    font-family: 'Gabriola';
    font-weight: normal;
    font-size: 2.25rem;
    display: inline-block;
    margin-bottom: -3.5rem;
}
.logo .logo-text-4 {
    font-family: 'Nirmala UI';
    font-weight: normal;
    color: #a50e0e;
    font-size: 5.15rem;
    display: inline-block;
    margin-bottom: -1.6rem;
}
.logo .logo-sub {
    font-family: 'Gabriola';
    font-weight: normal;
    font-size: 1.15rem;
    display: inline-block;
}
.logo .logo-main {
    margin-top: -3.7rem;
}
.logo .navbar-brand {
    margin-top: -0.3rem;
    padding-top: 0;
    margin-right: 0;
}
.logo img {
    max-width: 4rem;
}
.footer-small {
    font-size: 0.75rem;
}
@media (min-width: 350px) {
    .logo .logo-text {
        font-size: 2.5rem;
        margin-bottom: -3.8rem;
    }
    .logo .logo-text-4 {
        font-size: 5.7rem;
        margin-bottom: -1.6rem;
    }
    .logo .logo-sub {
        font-size: 1.3rem;
    }
    .logo .logo-main {
        margin-top: -4.0rem;
    }
    .logo img {
        max-width: 5rem;
    }
}
@media (min-width: 576px) {
    .logo-small {
        margin-top: -1.25rem;
    }
        .logo-small .navbar-collapse {
            margin-bottom: -1.4rem;
        }
        .logo-small .navbar-toggler {
            margin-bottom: -1.25rem;
        }
        .logo-small .navbar-brand {
            margin-top: 0;
        }
    .logo .logo-text {
        font-size: 3rem;
        margin-bottom: -4.7rem;
    }
    .logo .logo-text-4 {
        font-size: 6.85rem;
        margin-bottom: -2.2rem;
    }
    .logo .logo-sub {
        font-size: 1.55rem;
    }
    .logo .logo-main {
        margin-top: -4.85rem;
    }
    .logo img {
        max-width: 6rem;
    }
}
/* --------- logo ---------------- */

.btn-main, .btn-outline-main {
    color: #1d800a;
    background-color: #fff;
    border-color: #f7c836;
    border-width: 2px;
    font: normal 1.25rem 'Gabriola';
    padding-top: 0.1rem;
    padding-bottom: 0;
    letter-spacing: 0.1rem;
}
    .btn-main:hover, .btn-outline-main:hover {
        color: #fff;
        background-color: #1d800a;
        border-color: #1d800a;
    }
    .btn-main.btn-lg {
        font-size: 1.75rem;
        font-weight: bold;
        letter-spacing: 4px;
        padding-top: 0.2rem;
        padding-bottom: 0.1rem;
    }
.btn-alt {
    color: #6c757d;
    background-color: #fff;
    border-color: #f7c836;
    border-width: 2px;
    font: normal 1.25rem 'Gabriola';
    padding-top: 0.1rem;
    padding-bottom: 0;
    letter-spacing: 0.1rem;
}
    .btn-alt:hover {
        color: #fff;
        background-color: #6c757d;
        border-color: #6c757d;
    }

.badge.lenten {
    border: 2px solid #dd2c00;
    color: #a30000;
    font-weight: normal;
}
.badge.dietary {
    border: 2px solid #ffc679;
    color: #e88500;
    font-weight: normal;
}
.badge.all4-badge {
    padding-bottom: 0.45em;
}
.badge.filter {
    background-color: rgba(255,255,255,1);
    color: #dd2c00;
    border: 1px solid #dd2c00;
    font-weight: normal;
}
    .badge.filter:hover {
        color: #ff6334;
        border-color: #ff6334;
    }
.badge svg {
    fill: rgba(255,255,255,1);
    width: 8px;
    height: 8px;
}
.badge.filter svg {
    fill: rgba(221,44,100,1);
    width: 8px;
    height: 8px;
}
.badge.filter:hover svg {
    fill: rgba(255,99,52,1);
    width: 8px;
    height: 8px;
}

.all4-link, .logo-small .nav-link {
    color: #a30000 !important;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
    .all4-link:hover, .logo-small .nav-link:hover {
        color: #ff6334 !important;
        transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    }
    .all4-link:active, .logo-small .nav-link:active, .logo-small .nav-link.active {
        color: #dd2c00 !important;
        transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    }

.all4-dropdown-link {
    /*color: #1d800a !important;*/
    color: #606060;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    padding-top: 0.5rem !important;
}
    .all4-dropdown-link:hover {
        /*color: #ffffff !important;
        background-color: #1d800a;*/
        color: #a30000 !important;
        background-color: #f7c836;
        cursor: pointer;
        transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    }
    .all4-dropdown-link:active {
        color: #dd2c00 !important;
        cursor: pointer;
        transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    }
.all4-dropdown-link-disabled {
    color: #808080 !important;
}
a.all4-dropdown-link, button.all4-dropdown-link {
    padding-bottom: 0.25rem;
}

.btn-outline-cuisine {
    color: #e88500;
    border-color: #ffc679;
    border-radius: 1rem;
    border-width: 2px;
}
    .btn-outline-cuisine:hover {
        color: #fff;
        background-color: #e88500;
        border-color: #e88500;
    }
.btn-outline-group {
    color: #a30000;
    border-color: #dd2c00;
    border-radius: 1rem;
}
    .btn-outline-group:hover {
        color: #fff;
        background-color: #ff6334;
        border-color: #ff6334;
    }

.mw-recipe-name {
    max-width: 24em;
}
.mw-product-cat {
    max-width: 13em;
}
.mw-product-group {
    max-width: 13em;
}
.mw-product {
    max-width: 13em;
}

.text-stylized {
    font-family: 'Gabriola';
}
.border-all4 {
    border-color: #f7c836 !important;
}
a:hover .border-all4 {
    border-color: #dd2c00 !important;
}
.pre-formatted {
    white-space: pre-line;
}
.fg-article-title {
    /*color: #dd2c00 !important;*/
    color: #1d800a !important;
}
svg.svg-tristate-btn {
    fill: rgba(29,108,10,.75);
    width: 24px;
    height: 24px;
}
button.btn-tristate:hover svg.svg-tristate-btn {
    fill: rgba(255,255,255,.75);
}
.price {
    background-color: #f7c836;
    color: #dd2c00;
}
img.product-index {
    width: 200px;
}
img.basket-index {
    width: 65px;
}
@media (min-width: 576px) {
    img.basket-index {
        width: 80px;
    }
}
@media (min-width: 400px) {
    .col-xxsm-25 {
        flex: 0 0 auto;
        width: 20.8333333333%;
    }

    .col-xxsm-95 {
        flex: 0 0 auto;
        width: 79.1666666667%;
    }
}
@media (min-width: 525px) {
    .col-xsm-2 {
        flex: 0 0 auto;
        width: 16.6666666667%;
    }

    .col-xsm-10 {
        flex: 0 0 auto;
        width: 83.3333333333%;
    }
}
.map {
    height: 400px;
    width: 100%;
}
.mt-15 {
    margin-top: 0.15rem !important;
}
.pt-15 {
    padding-top: 0.15rem !important;
}

.dropdown-toggle::after {
     margin-left: unset!important; 
     vertical-align: unset!important; 
}
select.all4-select > option:checked {
    color: #fff;
    background-color: #1d800a;
}
.list-group-item-primary.list-group-item-action.active {
    color: #a30000;
    background-color: #f7c836;
    border-color: #f7c836;
}
.form-check-input:checked {
    background-color: #fff;
    border-color: #f7c836;
}
    .form-check-input:checked[type=checkbox] {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23a30000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
    }

svg.svg-btn {
    width: 1.5rem;
    height: 1.5rem;
    cursor: pointer;
}
    svg.svg-btn:not(:disabled) {
        cursor: pointer;
    }
    svg.svg-btn.disabled, svg.svg-btn:disabled {
        pointer-events: none;
    }
svg.svg-btn-danger {
    fill: #a30000a0;
}
    svg.svg-btn-danger:hover {
        fill: #ff6334;
    }
    svg.svg-btn-danger:active {
        fill: #dd2c00 !important;
    }
.basket-btn {
    margin-bottom: -0.2rem;
}
.basket-input {
    padding: 1px 3px 1px 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    width: 6rem;
}
    .basket-input:focus {
        outline: 0;
        border-color: #f7c836 !important;
    }
    /* --------- fonts ---------------- */
    @font-face {
        font-family: 'Gabriola';
        font-style: normal;
        font-weight: normal;
        src: local('Gabriola'), url('../font/gabriola.woff') format('woff');
    }
@font-face {
    font-family: 'Nirmala UI';
    font-style: normal;
    font-weight: normal;
    src: local('Nirmala UI'), url('../font/nirmala-ui-2.woff') format('woff');
}
/* --------- basket ---------------- */
.basket {
    max-height: 2.4rem;
    max-width: 2.4rem;
    fill: #a30000a0;
}
    .basket.basket-lg {
        max-height: 4.8rem;
        max-width: 4.8rem;
    }
.basket.active {
    fill: #dd2c00 !important;
}
    .basket:hover {
        fill: #ff6334;
    }
.basket-in-header {
    margin-bottom: -1.1rem;
}
.top-40 {
    top: 40% !important;
}
.top-10 {
    top: 10% !important;
}
.start-80 {
    left: 80% !important;
}
/* --------- basket ---------------- */