﻿/* 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;
}

a {
  color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #8bc34a;
    border-color: #8bc34a;
}

.btn-success {
    background-color: #39b54a;
    border-color: #39b54a;
}

.btn-outline-success {
    color: #39b54a;
    border-color: #39b54a;
}

.btn-outline-success:hover {
    background-color: #39b54a;
    border-color: #39b54a;
}

    .btn-primary:hover, .btn-primary:focus, .btn-primary:active {
        background-color: #ccc !important;
        border-color: #ccc !important;
    }

    .nav-pills .nav-link.active, .nav-pills .show > .nav-link {
        color: #fff;
        background-color: #8bc34a;
    }

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #ced4da;
    outline: 0;
    box-shadow: none;
}

#nav-main-menu {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: 1em;
    line-height: 2.5;
    padding: 5px;
}

.dropdown-item {
    color: #39b54a !important;
}

.dropdown-item:active {
    background-color: #fff !important;
}

    .dropdown-item:hover {
        background-color: #fff !important;
    }

    .dropdown-item:focus {
        background-color: #fff !important;
    }

.nav-link {
    color: #39b54a !important;
    font-weight: bold;
}

#nav-main-menu .nav-item {
    display: list-item;
    padding: 5px;
}

    #nav-main-menu .nav-item .nav-link {
        font-size: 15px;
        padding: 0px 5px;
        color: #39b54a !important;
        font-weight: bold;
    }

        #nav-main-menu .nav-item .form-inline {
            padding-top: 6px !important;
        }

        #nav-main-menu .navbar-brand {
            line-height: 1.5;
            font-size: 20px;
            padding: 5px 0px;
        }

    #nav-main-menu .navbar-toggler {
        width: 40px;
        height: 40px;
        padding: 5px 1px;
        margin: 3px;
        background-color: #fff;
    }

        #nav-main-menu .navbar-toggler span {
            font-size: 25px;
            color: #39b54a;
        }

    #nav-main-menu button:hover, button:focus{
        background-color: #fff;
    }

    #nav-main-menu .dropdown-item{
        font-size: 14px;
        padding: 3px 20px; 
    }

    #nav-main-menu a:visited {
        color: #16181b;
    }


.cookie-popup{
    position:absolute;
}
/* 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: 60px;
    font-size: 1em;
}
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
    color: #39b54a !important;
}

    .footer a {
        color: #39b54a !important;
    }

    /*foodie app*/
    .foodie-menu-item {
        width: 20%;
        height: 54px;
        border-right: 2px solid #fff;
        border-radius: 5px;
    }

.foodie-menu-item-last{
    border-right: 0px !important;
}

.w3-button {
    border-radius: 5px;
    font-size: 1em;
    padding-left: 40px !important;
}

#food-tracker{
    margin-top:10px;
}

.container {
    width: 100%;
    padding-right: 0px;
    padding-left: 0px;
    margin-right: auto;
    margin-left: auto;
}

#foodie-app {
   margin: 0 16px 16px 16px;
   padding:0px;
}

.starg, .staro{
    margin-top:5px;
}

.food-table tr td input[type="number"] {
    margin-top: 5px;
    width: calc(100% - 40px);
    border-radius: 5px;
}

.search-input {
    border-radius: 5px;
}

.w3-select, .w3-input, .w3-card {
    border-radius: 5px;
}

.tab-menu-inner-item.w3-green {
    border-radius: 5px;
    border-color: #fff;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.food-editor-title {
    width: 65%;
}

input#add-category-input {
    width: 100%;
    padding: 7px;
}

button#add-category-btn {
    margin-left: 10px;
}

.category-show-hide-button {
    width: 120px;
}

.show-category {
    background-image: url('../img/invisible-24.png');
    background-repeat: no-repeat;
    background-position: 10px;
    background-size: 24px;
}

.hidden-category {
    background-image: url('../img/visible-24.png');
    background-repeat: no-repeat;
    background-position: 10px;
    background-size: 24px;
}

.edit-category-button, .share-category-button, .details-category-button {
    margin-right: 5px;
}

button#add-food-button {
    margin-right: 10px;
}

.w3-container, .w3-panel {
    padding: 0px;
}

.accept-category-container{
    margin-top:10px;
}

.foodie-dialog-container{
    top:100px !important;
}
.foodie-dialog-container button {
    text-align: center;
    padding: 5px !important;
}

td.category-button-col {
    min-width: 318px;
}

#foodie-lang-selector {
    border: none !important;
    width: auto;
    margin-top: 1px;
}

select:focus{
    outline:none;
}

button:focus {
    outline: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    border: 1px solid #8bc3a4;
    /*-webkit-text-fill-color: #8bc3a4;*/
    -webkit-box-shadow: 0 0 0px 1000px #fff inset;
    /*transition: background-color 5000s ease-in-out 0s;*/
    background-color: #fff !important;
}

.food-category-img {
    margin-left: auto;
    margin-right: auto;
    margin-top:10px;
    width: 150px;
}

.food-category-column {
    float: left;
    width: 25%;
    padding: 0 10px;
}

    .food-category-column a {
        color: #39b54a;
    }

    .food-category-column .card {
        min-height: 180px;
    }

    .food-category-column .card-body {
        padding: 1em;
        padding-bottom: 0;
    }

    .row {
        margin-right: 0px;
        margin-left: 0px;
    }

.food-calculator-card{
    width:240px;
    margin-left:auto;
    margin-right:auto;
}

.image-center {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.calculator-card {
    width: 450px;
    margin-left: auto;
    margin-right: auto;
}

    .calculator-card .title{
        text-align:center;
        margin-top:5px;
        margin-bottom:0;
        font-weight:bold;
    }

    .calculator-img {
        margin-left: auto;
        margin-right: auto;
        width: 150px;
    }

.calculator-btn-container {
    width: 200px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
}

.calculator-calculate-btn {
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    margin-bottom: 20px;
    cursor: pointer;
    padding: 15px;
    width:200px;
}

.calculator-hide {
    display:none;
}

.bmi-red-border, .dci-red-border {
    border-color: red;
}

#bmi-text{
    text-align:center;
}

.bmi-bold{
    font-weight:bold;
}

.bmi-border{
    width:10px;
}

.bmi-border-yellow {
    border-left: 10px solid #ffc107;
}

.bmi-border-green {
    border-left: 10px solid #8bc34a;
}

.bmi-border-orange {
    border-left: 10px solid #ffa726;
}

.bmi-border-darkorange {
    border-left: 10px solid #ef6c00;
}

.bmi-border-red {
    border-left: 10px solid #c62828;
}

.bmi-color-yellow {
    color: #ffc107;
}

.bmi-color-green {
    color: #8bc34a;
}

.bmi-color-orange {
    color: #ffa726;
}

.bmi-color-darkorange {
    color: #ef6c00;
}

.bmi-color-red {
    color: #c62828;
}

.bmi-result {
    width: 100px;
    margin-left: auto;
    margin-right: auto;
    font-size: 22px;
    text-align: center;
    padding: 20px;
    margin-top: 10px;
    font-weight: bold;
}

.bmi-result-card {
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
}

#bmi-result-container{
    margin-top:50px !important;
}

.recipe-image {
    position: absolute;
    right: 10px;
    width: 300px;
}

.foodie-main-container p,td,li {
    font-family: "muli-regular", sans-serif;
    color: #767676;
}

.foodie-main-container a {
    color: #39B54A;
}

.foodie-main-container h1, h2, h3, h4, h5 {
    font-family: "montserrat-regular", sans-serif;
    color: #151515;
}


/*responsive*/
@media (max-width: 1200px){
    .recipe-image {
        width: 300px;
        margin-left: auto;
        margin-right: auto;
        display: block;
        position: relative;
        right: 0;
    }
}


@media (min-width: 768px) and (max-width: 999px) {
    .container {
        padding-right: 0px;
        padding-left: 0px;
        max-width: 730px;
    }

    #foodie-app {
        margin:0px !important;
        padding:0px !important;
    }

    .foodie-menu-item {
        background-size: 25px !important;
        padding-left: 40px !important;
        font-size: 13px;
        text-align: center;
    }

    .calculator-card{
        width: 350px;
    }
}

@media (max-width: 767px){
    .foodie-menu-item {
        background-position: center !important;
        padding-left: 0px !important;
    }

        .foodie-menu-item span {
            display: none;
        }

    .edit-category-button, .category-show-hide-button, .details-category-button, .share-category-button {
        text-indent: -200px;
        width: 40px;
        padding: 8px;
    }

    td.category-button-col {
        min-width: 170px;
    }

    .food-category-column {
        width: 33.33%;
        display: block;
        margin-bottom: 20px;
    }

        .food-category-column .card {
            min-height: 190px;
        }

    .recipe-image {
        width: 300px;
        margin-left: auto;
        margin-right: auto;
        display: block;
        position: relative;
        right: 0;
    }

    .calculator-card {
        width: 280px;
    }

}

@media screen and (max-width: 600px) {
    .food-category-column {
        width: 50%;
        display: block;
        margin-bottom: 20px;
    }

    .recipe-image {
        width: 300px;
        margin-left: auto;
        margin-right: auto;
        display: block;
        position: relative;
        right: 0;
    }

    .calculator-card {
        width: 320px;
    }
}


@media (max-width: 375px) {
    #food-tracker{
        margin:0px;
    }
        #food-tracker .btn-container .w3-button {
            background-image: none;
            padding: 8px !important;
            width: 33.3333%;
            margin: 0px;
            text-align: center;
            border: 1px solid #fff;
            font-size: 12px;
        }
        #food-tracker .btn-container button.icon-comment {
            margin: 0px !important;
        }

        #food-tracker .btn-container button.icon-calc {
            float: right !important;
        }

    .edit-category-button, .category-show-hide-button, .details-category-button, .share-category-button {
        text-indent: -200px;
        width: 40px;
        padding: 8px;
    }

    td.category-button-col {
        min-width: 170px;
    }

    .food-category-column {
        width: 100%;
        display: block;
        margin-bottom: 20px;
    }

    .recipe-image {
        width: 300px;
        margin-left: auto;
        margin-right: auto;
        display: block;
        position: relative;
        right:0;
    }

    .calculator-card {
        width: 300px;
    }
}

#lawmsg {
    font-size: 14px;
    font-weight: normal;
}



.footer-text{
    margin-right:10px;
    height:30px;
    display:inline-block;
}

.food-category-name-text {
    width: 50px;
    height: 50px;
    background-color: #ffc107;
    color: #fff;
    border-radius: 25px;
    text-align: center;
    font-size: 25px;
    line-height: 50px;
    margin-left: auto;
    margin-right: auto;
}

.validation-summary-errors li{
    color: #DC3545 !important;
}

#delete{
    color:#fff;
}

/*landing*/
#home {
    width: 100%;
    height: 786px;
    min-height: 786px;
    background-color: #ddd;
    position: relative;
    display: table;
    margin-bottom: 5rem;
    margin-top: -16px;
    background-image: url(/img/landing/newhatter.png);
    background-repeat: no-repeat;
}

    #home .row {
        width: 94%;
        max-width: 1170px;
        margin: 0 auto;
    }

    #home .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: .4;
        background: #000;
        background: -webkit-linear-gradient(to right, #000, #a9a9a9);
        background: linear-gradient(to right, #000, #a9a9a9);
    }

.home-content {
    display: table-cell;
    width: 100%;
    height: 100%;
    vertical-align: bottom;
}

    .home-content .contents {
        position: relative;
    }

.home-content-left {
    padding: 11rem 0 10rem 40px;
    position: relative;
    width: 50%;
}

    .home-content-left h3 {
        color: rgba(255, 255, 255, 0.8);
        font-size: 1.4rem;
        line-height: 1.5;
        text-transform: uppercase;
        letter-spacing: .2rem;
        margin-bottom: 1.4rem;
    }

    .home-content-left h1 {
        font-family: "montserrat-regular", sans-serif;
        font-size: 2.8rem;
        letter-spacing: -.05rem;
        line-height: 1.269;
        color: #ffffff;
        margin-bottom: 6rem;
    }

    .home-content-left .button.stroke {
        color: #ffffff !important;
        border-color: #ffffff;
        margin: 0 .6rem 1.2rem;
        padding: 0 2.2rem;
        min-width: 250px;
    }

        .home-content-left .button.stroke span[class*="icon"] {
            margin-right: 5px;
            position: relative;
            top: 2px;
        }

    .home-content-left .button {
        display: inline-block;
        font-family: "montserrat-regular", sans-serif;
        font-size: 1rem;
        height: 3rem;
        line-height: calc(3rem - .6rem);
        padding: 0 3rem;
        margin: 0 .3rem 1.2rem 0;
        color: #222222;
        text-decoration: none;
        cursor: pointer;
        text-align: center;
        white-space: nowrap;
        border-radius: .5rem;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        background-color: transparent;
        border: .3rem solid #c5c5c5;
    }

        .home-content-left .button.stroke:hover {
            border: 0.3rem solid #39b54a;
            color: #39b54a;
        }

.home-social-list li a:hover, .home-social-list li a:focus, .home-social-list li a:active {
    color: #44c455 !important;
}

.home-image-right {
    display: block;
    position: absolute;
    right: 0;
    top: 65%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 500;
    width: 50%;
    text-align: right;
}

    .home-image-right img {
        vertical-align: bottom;
        width: 75%;
    }

.home-social-list {
    position: absolute;
    right: 42px;
    top: 50%;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 1.8rem;
    line-height: 1.75;
    text-align: center;
    -webkit-transform: translateY(-55%);
    -ms-transform: translateY(-55%);
    transform: translateY(-55%);
}

    .home-social-list li {
        padding-left: 0;
        display: block;
    }

        .home-social-list li a, .home-social-list li a:visited {
            color: #FFFFFF;
        }


#landing-about{
    padding:1rem;
}

    #landing-about .about-intro {
        border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    }

#landing-about h1.intro-header {
    font-family: "montserrat-regular", sans-serif;
    font-size: 2rem;
    line-height: 1.324;
    color: #151515;
    position: relative;
    padding-bottom: 1.6rem;
}

    #landing-about p.lead {
        font-family: "muli-light", sans-serif;
        font-size: 1.4rem;
        line-height: 1.6;
        color: #838383;
        margin-bottom: 3.6rem;
    }

#landing-about h1.intro-header::before {
    display: block;
    content: "";
    height: 2px;
    width: 70px;
    background-color: #39b54a;
    position: absolute;
    left: 0;
    bottom: 0;
}

    #landing-about .about-features-pd {
        padding-top: 3rem;
    }

    #landing-about .about-features .feature .icon {
        margin-bottom: 1.5rem;
        display: inline-block;
    }

        #landing-about .about-features .feature .icon i {
            color: #39b54a;
            font-size: 3.8rem;
        }

    #landing-about .about-features .feature h3 {
        font-family: "montserrat-regular", sans-serif;
        font-size: 1.4rem;
        color: #151515;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }

    #landing-about .about-features .feature p {
        font-family: "muli-regular", sans-serif;
        font-size: 1rem;
        line-height: 1.5;
        color: #767676;
    }

.icon-cont {
    margin-top: 1.5rem;
}

.about-how{
    padding-top:2rem;
}

.about-how-content {
    position: relative;
    width: 100%;
    max-width: 1000px;
    min-height: 300px;
    margin-top: 5rem;
    margin-left: auto;
    margin-right: auto;
    clear: both;
}

    .about-how-content::before, .about-how-content::after {
        content: "";
        display: block;
        width: 1px;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.1);
        position: absolute;
        top: 0;
    }

    .about-how-content::before {
        left: 0;
    }

    .about-how-content::after {
        left: 50%;
    }

    .about-how-content .step::before {
        display: block;
        font-family: "muli-bold";
        font-size: 1.3rem;
        content: attr(data-item);
        color: #ffffff;
        height: 54px;
        width: 54px;
        line-height: 54px;
        text-align: center;
        border-radius: 50%;
        background-color: #39b54a;
        box-shadow: 0 0 0 15px #ffffff;
        z-index: 500;
        position: absolute;
        top: -12px;
        left: -27px;
    }

    .about-how-content .about-how-steps {
        width: 100%;
    }

.block-1-2 .bgrid:nth-child(2n+1) {
    clear: both;
}

.about-how-content .step {
    padding: 0 40px 1.5rem 60px;
    position: relative;
    min-height: 240px;
}

.bgrid {
    float: left;
}

.block-1-2 .bgrid {
    width: 50%;
}

.about-how-content .step h3 {
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    min-height: 52px;
}

.about-how-content .step p {
    font-family: "muli-regular", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #767676;
}

.about-bottom-image {
    width: 100%;
    margin: 0 auto 2rem auto;
}

    .about-bottom-image img {
        width: 100%;
    }


@media only screen and (max-width: 1200px) {
    #home {
        overflow: hidden;
    }

        #home .overlay {
            opacity: .5;
        }
}

@media only screen and (max-width: 1024px) {
    .home-content-left {
        width: 60%;
        padding: 10rem 6rem 10rem 4rem;
    }

    .home-right{
        top:60px;
    }

    .home-image-right {
        width: 50%;
        padding-top: 0px;
        padding-right: 70px;
    }
}


@media only screen and (max-width: 900px) {
    #home, .home-content {
        display: block;
        text-align: center;
    }

    #home {
        height: auto;
        min-height: 840px;
    }

    .home-content-left {
        width: 94%;
        position: static;
        padding: 10rem 6rem 100px;
        margin: 0 auto;
    }

    .home-image-right {
        display: none;
    }
}


@media only screen and (max-width: 850px) {
    .about-how-content .step {
        width: 100% !important;
        float: none !important;
        clear: both !important;
        margin-left: 0;
        margin-right: 0;
        padding-right: 18px;
        min-height: auto;
        padding: 0 40px .9rem 60px;
    }

    .about-how-content::after {
        display: none;
    }
}

@media only screen and (max-width: 768px){
    #home {
        min-height: 600px;
        margin-bottom: 2rem;
    }

    .home-content-left {
        width: 94%;
        position: static;
        padding: 10rem 6rem 100px;
        margin: 0 auto;
    }

    .about-how h3 {
        font-size: 1.9rem;
    }

    .about-how-content .step::before {
        font-size: 1.6rem;
        height: 45px;
        width: 45px;
        line-height: 45px;
        top: -9px;
        left: 7.5px;
    }

    .about-how h3 {
        padding-left: 1rem;
    }

    .about-how-content::before {
        content: "";
        display: block;
        width: 1px;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.1);
        position: absolute;
        top: 0;
        left: 32px;
    }

    .about-how-content::after{
        display:none;
    }

    .home-image-right{
        display:none;
    }
}

@media only screen and (max-width: 600px) {
    .home-content-left .button.stroke {
        width: 100%;
        min-width: 0;
        max-width: 280px;
    }
}


@media only screen and (max-width: 500px) {
    #home {
        min-height: 600px;
        margin-bottom: 2rem;
    }

    .home-content-left {
        padding: 4rem 0.5rem 100px;
        width: 100%;
    }

        .home-content-left h1 {
            font-size: 2.5rem;
        }

        .home-content-left h3 {
            font-size: 1.2rem;
        }

       /* .home-social-list, .home-scrolldown {
            display: none;
        }*/

    .home-content-left .button.stroke {
        margin: 2rem 0 0 0;
    }

    .footer-text {
        margin:0px;
        height: 25px;
        display: grid;
        text-align:center;
    }

    .footer {
        line-height: 30px;
    }

    #landing-about {
        padding-bottom: 35px;
        text-align: center;
    }

    .home-social-list{
        right: 0;
        left: 0;
        font-size:2rem;
    }

        .home-social-list li {
            display: inline-block;
            padding:10px;
        }

    .home-content-left .buttons{
        margin-top:125px;
    }
}