body, html {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
}


header {
    z-index: 100;
    background-color: #fff;
    height: 78px;
    box-shadow: 1px 1px 5px rgba(10,10,10,0.2);
    position: fixed;
    width: 100%;
}

table {width: 100%;}

footer {
    margin-top: 50px;
    background-color: #fff;
    box-shadow: -1px -1px 5px rgba(10,10,10,0.2);
}

.top-container {padding-top: 120px;}

header .navbar .container {padding-left: 0; padding-right: 0;position: relative;}
header .navbar form{width: 450px;justify-content: flex-end;margin-right: 10px;}
header .navbar-brand-item {
    height: 60px;
    width: auto;
}

* {
    outline: none;
}

.navbar-brand {
    padding-top: 0px;
    padding-bottom: 0px;
    margin-right: 0;
}

header .nav-item {height: 70px;line-height: 70px;}
header .nav-item .dropdown-menu {line-height: initial;}
.dropdown-fullwidth .dropdown-menu {margin: 0 auto;top:65px;left: 0;right: 0;padding: 1rem 0;width: 220px;}
.dropdown-menu ul {padding-left:1rem}
.dropdown-menu li {list-style-type: none;margin-bottom: 10px;}
.dropdown-menu li strong {display: block; margin-bottom: 10px;}
.dropdown-menu li a {
    background: linear-gradient(to right, currentColor 0%, currentColor 100%);
    background-size: 0px 5%;
    background-color: transparent !important;
    background-repeat: no-repeat;
    background-position: left 100%;
    transition-duration: 0.2s;
    font-weight: inherit; 
    text-decoration: none;
}
.dropdown-menu li a:hover {background-size: 100% 5%;}


.dropdown-item {padding:0;display: inline;}
a {color: #3d3d3d;}
header .nav-link:hover,
header.nav-link:focus,
a:hover, a:focus {color: #000}

header .navbar-expand .navbar-nav .nav-link {
    padding: 0 0.5em;
    color: rgb(25, 135, 84); 
    font-weight: 300;
    font-size: 19px;
    position: relative;
}
header .navbar-expand .navbar-nav .nav-link:hover:before {
    content: "";
    position: absolute;
    left:0;bottom:0;
    height: 1.5px;
    width: 100%;
    background-color: rgb(25, 135, 84);
}

footer .nav-link {padding: 0 1em;}

.nav.nav-divider .nav-item {
    display: inline-block;
    vertical-align: middle;
}
.nav.nav-divider .nav-item + .nav-item:before {
    content: "•";
    color: inherit;
    padding-left: 0.65rem;
    padding-right: 0.75rem;
    opacity: 0.8;
}

h1 {
    font-size: 4rem;
}

h1,h2,h4,h5,h6 {font-weight: 400;}
h2 {font-weight: 400;}

h2.lead {
    margin: 0.25em auto 1em auto;
    line-height: 1.5;
}


.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand .h1 {
    font-weight: 300;
    font-size: 1.5rem;
    margin:  10px 0 0 0;
    background: -webkit-linear-gradient(45deg, #33C77D, #3D3D3D 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {z-index: 4;position: relative;text-decoration: none;}

a.badge:hover {
    text-decoration: inherit;
    color:  #eee;
}

.btn-link {
    background: linear-gradient(to right, currentColor 0%, currentColor 100%);
    background-size: 0px 5%;
    background-repeat: no-repeat;
    background-position: left 100%;
    transition-duration: 0.2s;
    font-weight: inherit;
    padding: 0;
    text-decoration: none;
}

.btn-link:hover {
    background-size: 100% 5%;
}

input[name="q"] {
    padding: 0 20px;
    border-width: 1px;
    border-top-left-radius: .3rem;
    border-bottom-left-radius: .3rem;
    border: 1px solid gray;
}

.card {
     background-position: center left;
     background-size: cover;
     border:  none;
     border-radius: 5px;
     box-shadow: 0px 0px 3px rgba(20, 20, 20, 0.1); 
     transition: all 0.2s;    
     height: 100%;
}

.card:hover {
    box-shadow: 0px 0px 5px rgba(10, 10, 10, 0.2);     
}

.card a {
    text-decoration: none;
}

.text-holder {
    padding:  0 1rem 1rem 1rem;
    position: relative;
    z-index: 2;
}

.recipe-figure {width: 100%;position: relative;}
.blog-figure {margin: 16px; width: 85%;position: relative;}
.recipe-figure img, .blog-figure img, .rich-text img {width: 100%; height: auto;}
.recipe-figure:before,
.blog-figure:before {
    content: "";
    position: absolute;
    left:0;top:0;
    width: 100%;height: 100%;
    box-shadow: inset 0 0 150px black;
}

.recipe-figure.no-image:before {
    box-shadow: inset 0 0 150px rgba(0,0,0,0.1);
}

.card a:hover {
    color: inherit !important;
}

.card.card-with-background {height: 560px;}
.card.card-with-background.default-image {
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center;
}
.card.card-with-background.card-grid-sm {height: calc(280px - var(--bs-gutter-y) / 2);}

.col-md-3 .card.card-with-background {height: 260px;}

.col-md-2 .card.card-with-background {height: 160px;}
.col-md-2 > .card {margin-bottom: 2em;}

.col-md-2 .card h4{font-size: 1rem;}

.col-12.small .card.card-with-background {height: 160px;}

.col-md-6 .card.card-with-background {height:  calc(280px - calc(var(--bs-gutter-y) / 2));}


.col-md-6 .card h1,
.blog-grid .card h1 {
    font-size:  calc(0.6875rem + 0.75vw);
    text-shadow: 1px 1px #666;
}

.col-md-6 .card p.text-white {display: none;}

.full-width-image {
    width: 100%;
}

.avatar {
    height: 3rem;
    width: 3rem;
    position: relative;
    display: inline-block !important;
}

.avatar-xl {
    height: 5.125rem;
    width: 5.125rem;
}

.avatar-xxl {
    width: 8rem;
    height: 8rem;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.rounded-circle {
    border-radius: 50% !important;
}
.recipie-step,
.recipie-ingredient {
    font-size: 1.15rem;
    padding: 1rem;
    border: 0;
    border-bottom: 1px solid rgb(220, 230, 230);
}

.text-intro {
    font-size: 1.15rem;
}

.rich-text {
    line-height: 1.5;
    font-size: 1.25rem;
    font-weight: 300;
}

.rich-text h3 {margin-bottom: 0;}

.recipie-step:last-child,
.recipie-ingredient:last-child {
    border-bottom: 0;
}

.card-img-overlay:before {
    content: "";
    position: absolute;
    height: 40%;
    width: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: -webkit-gradient(linear, left top, left bottom, from(transparent), to(#333));
    background-image: linear-gradient(180deg, transparent, #333);
    z-index: 1;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    
}

.position-relative .card-img-overlay:before {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}


.pagination .page-item {margin: 0 0.2em;}
.pagination .page-link {color: rgb(25, 135, 84);border: 1px solid #efefef;}
.page-item.disabled .page-link {color: #dee2e6;border-color: #dee2e6;}

.section-a-z h6 {display:inline-block;background-color: #FF6600;padding: 0.75em 1em; color: #fff; font-weight: 600}
.letter-block li {padding: 10px;}
.letter-block li a {text-decoration: none;}
.letter-block li a:hover {text-decoration: underline;}

.tags_holder {padding: 0.25rem 1rem;}

.tableinfo {margin: 20px auto;width: 90%; font-size: 1.15rem; font-weight: 300;border-collapse: collapse;}
.tableinfo table{
    width: 100%;
}
.tableinfo table tr {vertical-align: top;}
.tableinfo table td {width: 50%;}


.tableinfo table td, .tableinfo table th {padding: 10px;border: 1px solid #fff;}

.tableinfo table th{
    background-color:rgba(255, 50, 0, 0.2);
    text-align: center;
}

.navbar-collapse {
    justify-content: space-between;
}

@media (max-width: 1023px) {
    
    .tableinfo {width: 100%;}
    .tableinfo table, .tableinfo thead, .tableinfotbody, .tableinfo th, .tableinfo td, .tableinfo tr { 
        display: block; 
        width: 100% !important;
    }

    h1 {font-size: 2.375rem;margin-bottom: 0; line-height: 1.05;}
    .blog-grid .card h1 {font-size: 1.5rem;}
    h4 {font-size: 1.5rem;}
    h4.card-title {font-size: 1rem;}
    .top-container {padding-top: 80px;}
    .pb-3 {padding-bottom: 0.5rem!important;}
    .mb-4 {margin-bottom: 0.5rem !important;}
    header {height: 70px;}
    .text-holder {padding: 0 0.5rem 0.5rem 0.5rem;}
    .navbar-brand .h1 {font-size: 0.75rem;}
    .navbar-brand .h1 span {display: block;}
    .navbar-brand-item {margin-left: 15px;height: 30px;}
    .card.card-with-background {height: 300px;}
    .col-md-6 .card h1 {font-size: 1rem ;}
    .recipie-step, .recipie-ingredient {padding: 0.5rem 0}
    .recipie-ingredient .col-2 {padding-right:  10px !important;}
    .section-a-z nav {display: none;}
    .navbar-toggler:focus {box-shadow: none;}
    .card.card-with-background {height: 160px;}
    .col-md-3 .card.card-with-background {height: 160px;}
    .col-12.small .card.card-with-background {height: 160px;}
    .col-md-6 .card.card-with-background {height:  160px;}
    .col-main .card.card-with-background {height:  260px;}
    .navbar-expand .navbar-toggler {display: block;}
    .tags_holder {padding: 0.25rem 0.5rem;}
    .card-img-overlay:before {height: 60%;}
    .card-body {padding: 0.5rem 0.5rem !important;}
    .navbar-toggler-icon {
        background-image: url('/static/menu.svg');
    }
    footer .nav-link {padding: 0 1em 1em 0;}
    .collapse:not(.show) {
        display: none !important;
    }
    .nav-item {
        height: 50px !important;
        line-height: 50px !important; 
        padding: 1em 0 0 0}
    .dropdown-fullwidth .dropdown-menu {padding: 0.5em 0 0.5em 0}
    .navbar-collapse {
        -webkit-box-shadow: 0px 10px 30px rgb(83 88 93 / 20%);
        box-shadow: 0px 10px 30px rgb(83 88 93 / 20%);
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: #fff;
        height: calc(100vh - 70px);
        overflow: scroll;
        align-items: flex-start;
        flex-direction: column-reverse;
        justify-content: flex-end;
    }

    header .navbar-expand .navbar-nav .nav-link {padding: 0 15px;}

    input[name="q"] {flex: 1;}

    header .navbar form {
        padding: 25px 15px;
        width: 100%;
    }
    .navbar-expand .navbar-nav .dropdown-menu {
        border: 0;
        position: relative;
        top: 0;
        width: 100%;
    }

    .navbar-expand .navbar-nav .dropdown-menu .p-3 {padding: 0 !important}
    .navbar-expand .navbar-nav {flex-direction: column;}

}