@charset "UTF-8";

#header,
#main {
    min-width: 900px;
    position: relative
}

#footer,
#header,
#main,
body,
html {
    position: relative
}

#copyright a,
.blueBtn,
.blueBtn2,
.blueBtn2:hover,
.blueBtn:hover {
    text-decoration: none
}

* {
    margin: 0;
    padding: 0
}

body,
html {
    width: 100%;
    height: 100%;
    min-width: 1000px;
    background-color: #fff;
    background-image: url(../images/background.jpg);
    background-repeat: repeat;
    background-position: center top
}

body {
    color: #222;
    font-size: 1em;
    font-family: Calibri, Arial, "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, 微軟正黑體, sans-serif
}

#header {
    width: 100%;
    height: 130px;
    background-size: 1920px 130px;
    background-position: left top;
    background-repeat: repeat-x
}

#header #companyLogo {
    float: left;
    padding: 10px 0 0 10px
}

#header #companyLogo2 {
    float: left;
    margin-left: 0;
    padding: 0 0 0 8px
}

#header #companyLogo2 img {
    width: 235px;
    height: 73px;
    margin-top: 0
}

#header #companyLogo3 {
    float: left;
    margin-left: 0;
    padding: 10px 0 0
}

.headerEN,
.headerTC {
    background: url(../images/headerBar_bg.png)
}

.headingDiv {
    width: 100%;
    height: auto;
    float: left;
    margin-top: -5px
}

.headingDiv span {
    padding: 5px 0 0 10px;
    float: left;
    font-weight: 700;
    font-size: 1.4em;
    color: #fff;
    letter-spacing: .2em
}

.headingDiv #headingTitle img {
    width: 1024px;
    height: 40px
}

#lang {
    width: 78px;
    height: 24px;
    position: absolute;
    top: 76px;
    right: 12px;
    cursor: pointer
}

#lang img {
    width: 100%;
    height: 100%
}

#main {
    width: auto;
    height: auto;
    max-width: 900px;
    padding: 0 0 100px;
    margin-left: auto;
    margin-right: auto;
    clear: both
}

#planning_meals .card {
    border-radius: 0
}

#food_menu_nav .breadcrumb-item+.breadcrumb-item::before {
    content: ">"
}

#fd_img {
    max-height: 150px;
    max-width: 100%
}

input.quantity {
    width: 60px
}

.blueBtn,
.blueBtn2 {
    display: inline-block;
    width: auto !important;
    height: auto;
    background-color: rgb(248, 167, 5);
    border: 1px solid rgb(255, 132, 0);
    color: #fff !important;
    font-weight: 700;
    font-size: 1em;
    text-align: center;
    cursor: pointer;
    padding: 5px;
    border-radius: 25px;
    border: none;
    transition: 0.3s;
}

.blueBtn:hover,
.blueBtn2:hover {
    display: inline-block;
    width: auto !important;
    height: auto;
    background-color: rgb(255, 132, 1);
    border: 1px solid rgb(255, 132, 0);
    color: #fff !important;
    font-weight: 700;
    font-size: 1em;
    text-align: center;
    cursor: pointer;
    padding: 5px;
    border-radius: 25px;
    border: none;
    transition: 0.3s;
}

.blueBtn span,
.blueBtn2 span {
    height: auto;
    display: block;
    vertical-align: middle
}

.blueBtn span {
    width: 80px;
    margin-top: 2px
}

.blueBtn2 {
    margin-top: 10px
}

.blueBtn2 span {
    width: 70px;
    margin-top: 2px;
    font-size: .9em
}

.contentBox {
    padding: 10px;
    background-color: #fff;
    background-color: rgba(255, 244, 230, 0.8);
    border: 2px solid rgba(255, 208, 158, 0.948);
    border-radius: 30px;
}

.contentBox:hover {
    padding: 10px;
    background-color: #fff;
    background-color: rgba(255, 236, 213, 0.8);
    border: 2px solid rgba(255, 208, 158, 0.948);
    border-radius: 30px;
}

.contentBox-title {
    color: #ea9000;
    font-weight: 700;
    font-size: 1.2em;
    padding-top: 10px;
    padding-bottom: 5px
}

.contentBox-title2 {
    color: rgb(153, 87, 0);
    font-weight: 700;
    font-size: 1.3em;
    padding-bottom: 5px
}

#daily_summary {
    min-width: 280px;
    max-width: 350px;
    z-index: 10
}

#daily_summary .footnote {
    font-size: .9em
}

#daily_summary_parent {
    position: sticky;
    position: -webkit-sticky;
    top: 0
}

#food_menu_header {
    margin-bottom: 10px
}

#food_data,
#food_menu {
    margin-bottom: 15px
}

#food_menu .list-group-item {
    padding: 10px 13px
}

.card-title {
    margin-top: 10px;
    font-size: 1.1em
}

#footer {
    min-width: 700px;
    width: 100%;
    height: 50px;
    margin-top: -50px
}

#copyright {
    height: 50px;
    display: table-cell;
    padding: 0 20px;
    font-size: .7em;
    color: #333;
    vertical-align: middle
}

#copyright a {
    color: #333
}

#copyright a:hover {
    color: #333;
    text-decoration: underline
}

@media only screen and (max-width:767px) {

    #header,
    #lang {
        position: fixed
    }

    #footer,
    #header,
    #main,
    body,
    html {
        min-width: 500px
    }

    #main {
        max-width: 700px;
        padding-left: 15px;
        padding-right: 10px
    }

    #wrap {
        padding-top: 100px
    }

    #header {
        height: 110px;
        background-size: 1920px 110px;
        background-position: left top;
        background-repeat: repeat-x;
        top: 0;
        z-index: 20
    }

    #header #companyLogo {
        height: auto;
        padding: 4px 0 0 10px
    }

    #header #companyLogo img {
        width: 136px;
        height: 34px
    }

    #header #companyLogo2,
    #header #companyLogo3 {
        margin-top: -4px;
        padding: 4px 0 0 10px
    }

    #header #companyLogo2 img,
    #header #companyLogo3 img {
        width: 129px;
        height: 40px
    }

    .headingDiv {
        height: 40px;
        margin-top: 15px
    }

    .headingDiv span {
        padding: 4px 0 0 10px;
        font-size: 1.2em
    }

    .headingDiv #headingTitle img {
        width: 100%;
        height: 40px
    }

    #daily_summary,
    #energy_needs,
    #food_nutrients,
    #planning_meals {
        width: calc(100% + 30px);
        min-width: 460px;
        max-width: 660px
    }

    #lang {
        width: 72px;
        height: 22px;
        top: 62px;
        right: 7px
    }

    #footer {
        height: 100px;
        margin-top: -100px
    }

    #footer span {
        padding: 15px 0 0 10px;
        font-size: 1em;
        letter-spacing: .1em
    }

    #copyright {
        float: right;
        padding: 10px 0 0 10px
    }

    #daily_summary {
        display: block;
        margin-left: 3px !important
    }

    #daily_summary_parent {
        position: relative;
        top: 0
    }
}

#add_form{background-color: rgb(253, 230, 178);padding: 25px;border-radius: 25px;}

#add_form:hover{background-color: rgb(250, 222, 156);padding: 25px;border-radius: 25px;}


.list-group-item.active{
    background-color: rgb(247, 199, 115) !important;
    color: black !important;
    border: none !important;
}

.bg-light {background: none !important;}

.alert-primary {
    color: #855400 !important;
    background-color: #ffe8cc !important;
    border-color: #ffe5b8 !important;
    padding: 10px !important;
    border-radius: 25px;
  }

  input {  accent-color: rgb(249, 204, 115)}

*{transition: 0.3s;}

.cart_img {max-width: inherit}

.list-group-item-action:hover {
    color: #495057;
    text-decoration: none;
    background-color: #ffefc8 !important;
  }

#fd_img {border-radius: 10px;}

.cart_img {border-radius: 10px;}

#needs_age{
    width: 70px;
    border-radius: 15px;
    border-style:solid;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: 5px;}

.form-control {border-radius: 15px;}

#add_qty{
    border-radius: 15px;
    border-style:solid;
    height: calc(2.25rem + 2px);
    padding: 5px;}

.alert {border-radius: 15px;}