
div.recipe-card {
    margin: 15px 15px 0 0;
}

@media screen and (max-width: 576px) {
    body.recipe {
        height: 100vh;
        background-image: url('/static/images/backgrounds/home_background.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
}

@media screen and (min-width: 577px) {
    body.recipe {
        height: 100vh;
        background-image: url('/static/images/backgrounds/home_background.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
}

div#recipe-col {
    overflow-x: auto;
    width: 100%;
}
div.recipe-container {
    position: fixed;
    top: 50px;
}


.hidden-img {
    visibility: hidden;
    width: 100%;
    display: block;
}

div.content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

div.recipe {
    border: 6px solid rgba(200, 200, 200, .70);
    border-radius: 24px;
    width: 85%;
    height: calc(100vh - 90px);
    margin-top: 20px;
    overflow: scroll;
}

div.generic_list {
    overflow-x: auto;
    height: calc(100vh - 160px);
    margin-bottom: 10px;
    border: 1px inset rgba(200, 200, 200, .70);
    border-radius: 8px;
}

table.recipe {
    width: 100%;
    padding: 0;
    border: 10px solid rgba(255, 255, 255, .70);
    border-radius: 15px;
    border-collapse: separate;
    overflow: hidden;
}

table#recipe-data {
    width: 100%;
    background-color: rgba(255, 255, 255, .70);
}

table#recipe-data:hover {
    background-color: rgba(255, 255, 255, .85);
}

table#recipe-data td {
    padding-left: 10px;
    background-clip: padding-box;
    height: 10px;
}

td.recipe-data {
    padding: 0;
    height: 200px;
    border-bottom: 25px solid transparent;
    border-top: 25px solid transparent;
}

td.recipe-img {
    padding: 0;
    height: 200px;
    width: 200px;
    border-bottom: 25px solid transparent;
    border-top: 25px solid transparent;
}

td.recipe-img img {
    width: 200px;
    height: 200px;
}

td#name_col {
    min-width: 400px;
    text-align: center;
}

td#des_col {
    vertical-align: top;
}

/* navbar */

div.recipe-nav {
    width: 100%;
    height: 50px;
    padding: 0;
    margin-bottom: 20px;
    border-bottom: 1px black solid;
    display: inline;
    vertical-align: top;
}

nav.recipe-nav{
    background-color: rgba(255, 255, 255, .70);
    padding: 0;
    height: 45px;
}

div#nav-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}

div#nav-profile:hover {
    background-color: rgba(255, 255, 255, .55);
}

a#nav-profile-name {
    line-height: .2;
}

a#nav-profile-name:hover {
    background-color: rgba(255, 255, 255, .85);
}

td#recipe-add-btn {
    width: 122px;
}

td#recipe-profile {
    width: 110px;
}

td#recipe-log-btn {
    width: 40px;
}

td#recipe-log-btn:hover {
    background-color: rgba(255, 255, 255, .85);
}

li.nav-item:hover {
    background-color: rgba(255, 255, 255, .85);
}

 /*recipe edit*/
fieldset#recipe_time {
    display: inline-flex;
    border: 1px groove lightgray;
    border-radius: .4rem;
    margin: 0 0 15px 15px;
    width: fit-content;"
}

fieldset#recipe_time > legend {
    float: none;
    width: auto;
    margin-left: 1rem;
    font-size: 1rem;
}

fieldset#recipe_time > div.container {
    justify-content: center;
    margin-bottom: 15px;
    padding: 5px;
}

fieldset#recipe_time > div.container > div {
    display: inline-flex;
    margin: 0 15px 0 15px;
}



