﻿
.clearfix {
    clear: both;
}

/*版型寬設定*/
.container {
    max-width: 1024px;
    margin: 0px auto;
    position: relative;
    padding: 0;
    overflow: hidden
}

/*header相關*/
.header {
    /*background: rgba(0,0,0,0.75);*/
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: 56px;
    padding: 0 42px;
}

.logo {
    float: left;
}

.logo a {
    display: block;
    /* background-image: url('./Images/Logo/logo_w.png'); */
    /* text-indent: -99999px; */  /* 註解或刪除這行 */
    width: auto;      
    height: auto;     
    margin: 16px;
    color: #FFFFFF;      
    font-size: 24px;  
    font-weight: bold;
    text-decoration: none; 
}

.menu {
    float: right;
}

.menu li{
    float: left;

}

.menu li a {
    display: block;
    text-decoration: none;
    color: #FFFFFF;
    text-align: center;
    font-weight: bold;
    padding: 20px
}

.menu li a:hover {
    border-radius: 50%;
    background-color: #696969;
    transition: all 0.5s;
}

.showmenu {
    display: none;
    color: white;
    font-size: 1.2em
}

.showmenu:hover {
    cursor: pointer;
}

@media (max-width: 576px) 
{
    .menu {
        max-height: 0;
        overflow: hidden;

        transition: max-height 1.5s;
        position: absolute;
        top:56px;
        left: 0;
        right: 0;
        z-index: 100
    }

    .menu li {
        clear: both;
        width: 100%;
        background: rgba(0,0,0,0.75);
    }

    .menu li a:hover {
        border-radius: 0%;
    }

    .showmenu {
        display: block;
        float: right;
        margin: 1em
    }

    .menu-show .menu {
        max-height: 200px
    }
}

/*Banner相關*/
.banner {
    background-image: url('./Images/Banner/header_desktop.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    height: 420px;
    width: 100%;
}

.discription {
    background-color: rgba(0,0,0,0.35);
    color: #FFFFFF;
    width: 460px;
    height: 152px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.discription h3{
    margin: 30px;
    font-size: 36px;

}

.discription p {
    margin: 10px
}

.discription i {
    padding: 0 10px
}

@media (max-width: 768px) {

    .banner {
        background-image: url('./Images/Banner/header_mobile.png');
    }
}

/*footer開始*/

.footer {
    background-color: #EFE9E7;
}

.f_About, .f_Contact {
    float: left;
    width: 30.33333%;
    padding: 2%
}

.f_About h3, .f_Contact h3 {
    /*h3等於24px因此不用條文字大小*/
    padding: 15px 0;
    font-weight: bold;
    font-family: MicrosoftJhengHeiRegular
}

.f_About p, .f_Contact li {
    line-height: 20px
}

.f_Contact ul {
    margin-left: 15px;
    list-style-type: disc
}

.f_Share {
    width: 39.33333%;
    float: right;
    text-align: right;
    padding: 2%
}

.f_Share_Name {
    font-family: NotoSansCJKtc-Black;
    font-size: 49px;
    color: #3D1101;
    letter-spacing: 0px;
    display: block;
    font-weight: bold;
    margin-bottom: 20px
}

    /*清除所有a(米米西餐廳)樣式*/
.f_Share_Name, .f_Share_Name:link, .f_Share_Name:visited {
    color: #3D1101;
    text-decoration: none
}

.f_Share_Icon a {
    display: block;
    float: right;
    width: 31px;
    height: 36px;
    margin: 2%
}

.f_Share_Icon img {
    width: 100%;
    height: 100%;
}

@media (max-width: 576px) {

    .f_About, .f_Contact {
        width: 100%;
    }

    .f_Share {
        width: 100%;
    }
}

/*首頁CSS*/

.home_header {
    background-color: #EFE9E7;
    padding: 50px;
    position: relative
}

.home_header_title {

    text-align: center;
    font-size: 20px;
    color: #3D1101;
    line-height: 32px;
}

.home_header_title:before, .home_header_title:after {
    display: inline-block;
    content: '';
    width: 20%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 50%;
}

.home_header_title:before {
    right: 50%;
    margin-right: 100px;
}
.home_header_title:after {
    left: 50%;
    margin-left: 100px;
}

/*特色*/

.home_feature {
    background-color: #EFE9E7;
}

.home_feature_content {
    float: left;
    width: 33.33333%;
    padding: 0 3% 3% 3%;
}

.home_feature_content img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    border-radius:50%
}

.home_feature_content h3 {
    text-align: center;
    font-size: 18px;
    margin: 15px;
    color: #3D1101;
}

.home_feature_content p {
    line-height: 20px
}

@media (max-width: 576px) {

    .home_feature_content {
        width: 100%;
    }
}

/*今日主廚*/
.home_mainChef {
    background-color: #3D1101;

    display: flex;
    align-items: center;
}

.home_mainChef_picture {
    float: left;
    width: 50%;
    padding-left:2%
}

/*用img的元素，不是用background-image方法，如何讓圖片自適應，佔滿整個div*/
.home_mainChef_picture img {
    min-width: 100%;
    min-height: 100%;
}

.home_mainChef_Introduction {
    height: 100%;
    float: left;
    width: 50%;
    color: #EFE9E7;
    padding: 2%;

}

.home_mainChef_Introduction h4{
    margin-top: 5%;
    line-height: 32px;
}

.home_mainChef_Introduction p {
    line-height: 20px;
    padding-bottom:15px
}


@media (max-width: 576px) {

    .home_mainChef {
        display: block;
    }

    .home_mainChef_picture {
        width: 100%;
        padding-left: 0
    }

    .home_mainChef_Introduction {
        width: 100%;
    }
}

/*聽聽別人感想*/
.home_thinkOther {
    background-color: #EFE9E7;
}

.home_thinkOther h3{
    padding-top: 50px;
    text-align: center;
    color: #3D1101;
    font-size: 24px;
}

.home_thinkOther_Content {
    float: left;
    padding: 2%;
    width: 33.333333%;
}

    .home_thinkOther_Content img {
        border-radius: 50%;
        vertical-align: middle;
    }

.home_thinkOther_Article {
    color: #3d1101;
}

/*需要與圖片並行，並在圖片的中間*/
.home_thinkOther_Article_Name {
    font-size: 18px;
}

.home_thinkOther_Article_Content {
    padding-left: 67px;
    line-height: 24px;
}

.home_thinkOther_Article_NickName {
    text-align: right;
    line-height: 24px;
    margin-top: 16px;
}

@media (max-width: 576px) {

    .home_thinkOther_Content {
        width: 100%;
    }
}

/*地理位置*/
.home_position {
    background: rgba(250,250,250,0.70);
    padding: 50px 0;
}

.home_position h3{
    background: rgba(250,250,250,0.70);
    text-align: center;
    color: #3D1101;
    line-height: 30px;
    padding-bottom: 30px;
}

.home_position_content {
    width: 50%;
    float: left;
}

.home_position_content img {
    width: 100%;
}

.home_position_content_formGroup {
    padding: 0 15px 15px 15px;
    font-family: PingFangTC-Light;
}

.home_position_content_formGroup label{
    font-size: 14px;
    color: #3D1101;
    padding: 5px 0;
}

.home_position_content input[type="text"] {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;

    background: #FFFFFF;
    border: 1px solid #CCCCCC;
    box-shadow: inset 0px 1px 0px 0px #ECECEC;
    border-radius: 3px;
}

.home_position_content input[type="radio"] {
    margin-right:40px
}

.home_position_content_BtnGroup {
    float: right;
    font-family: PingFangTC-Regular;
    font-size: 14px;
    color: #FFFFFF;
}

.home_position_content_BtnGroup input[type="button"] {
    border-radius: 3px;
    width: 70px;
    height: 30px
}

.home_position_content_SendBtn {
    background: #F56C23;
}

.home_position_content_CancelBtn {
    background: rgba(0,0,0,0.35);
}

@media (max-width: 576px) {

    .home_position_content {
        margin-bottom: 20px;
        width: 100%;
    }
}

/*登入畫面*/
.loginBlock {
    background-color: #EFE9E7;
}

.loginWarp {
    margin: 0 auto;
    font-family: NotoSansCJKtc-Black;
    color: #3D1101;

    width: 300px;
    height: 500px;
}

.loginTitle {
    text-align: center;
    padding: 30px 0;
    font-weight: bold;
}

.loginTitle h3 {
    font-size: 48px;
    line-height: 70px;
}

.loginTitle p {
    font-size: 20px;
    line-height: 30px;
}

.loginInput {
    border-top: #f56c23 2px solid;
    background: #EFE9E7;
    box-shadow: 3px 3px 4px 0px rgba(0,0,0,0.16);
    padding: 30px;
}

.loginInput h3 {
    font-family: NotoSansCJKtc-Black;
    font-size: 18px;
    text-align: center;
    font-weight: bold;
}

.formGroup {
    margin: 20px 0;
    position: relative
}

.formGroup label {
    display: block;
    font-family: MicrosoftJhengHeiRegular;
    font-size: 16px;
}

.formGroup input[type="text"] {
    background: #FFFFFF;
    border: 1px solid #CCCCCC;
    box-shadow: inset 0px 1px 0px 0px #ECECEC;
    border-radius: 3px;
    width: 100%;
    text-indent: 15px;
    height: 20px
}

.formGroup i {
    position: absolute;
    left: 3px;
    top: 20px;
    font-size: 12px;
    color: gray
}

.formGroup .forgetPassword {
    font-family: MicrosoftJhengHeiRegular;
    font-size: 14px;
    color: #FF5E45;
}

.formGroup input[type="button"] {
    width: 49%;
    height: 32px
}

.formGroup .registerBtn {
    background: rgba(0,0,0,0.35);
    border-radius: 3px;
}

.formGroup .loginBtn {
    background: #F56C23;
    border-radius: 3px;
}

/*登入畫面結束*/

/*購物車*/

.shoppingWrap {
    background-color: #EFE9E7;
    padding: 2%
}

.shoppingSide {
    float: left;
    width: 20%;
    font-family: MicrosoftJhengHeiRegular;
}

.shoppingSide span {
    font-size: 20px;
    color: #3D1101;
    line-height: 32px;
    padding-left:20px
}

.shoppingSide img {
    color: #3D1101;
    width: 26px;
    height: 32px;
    vertical-align: middle;
}

.shoppingContent {
    float: left;
    width: 76%;
    margin-left:1%
}

.shoppingSide_menu {
    font-family: MicrosoftJhengHeiRegular;
    font-size: 16px;
    color: #3D1101;
    margin-top: 30px;
}

.shoppingSide_menu li {
    line-height: 32px;
    border-bottom: 1px solid #3D1101;
}

.shoppingSide_menu li a{
    display: block;
    color: #3D1101;
    text-decoration:none;
}

.shoppingSide_menu li a:hover {
    background:#f56c23;
    border-bottom: 0
}

.shoppingContent {
    margin-left: 2%;
}


.shoppingSearch {
    float: left;
    width: 80%
}

.shoppingSearch input[id="search"] {
    border: 2px solid #3D1101;
    width: 300px;
    float: left;
    height: 26px;
    font-size: 18px;
}

.SearchIcon {

    background-color: #3d1101;
    color: white;
    height: 26px;
    line-height: 26px;
    width: 30px;
    position: relative;
    text-align: center;
    vertical-align: middle;
    left: 0;
    top: 50%;
    transform: translateY(- 50%)
}

.shoppingCar {
    float: right;
}

.shoppingCar a{
    text-decoration: none;
    color: black
}

.shoppingBody {
    font-family: MicrosoftJhengHeiRegular;
}

.shoppingProduct {
    margin: 2% 1% 2% 0;
    width: 32.33333%;
    float: left;
    text-align: center;
    background: #EFE9E7;
    color: #3D1101;
    box-shadow: 3px 3px 4px 0px rgba(0,0,0,0.16);
    position: relative;
    overflow: hidden;
}

.shoppingProduct .favorite {
    position: absolute;
    top: 3px;
    left: 3px;
    color: white;
    font-size: 20px
}

.shoppingProduct h3 {
    font-size: 20px;
    padding-top: 15px
}

.shoppingProduct .ProductNameEn {
    font-size: 12px;
    padding-top: 10px
}

/*緞帶做不出來向老師一樣的*/
.shoppingProduct .sellWell {
    position: absolute;
    top: 19px;
    right: -18px;
    padding: 0px 15px;
    line-height: 20px;
    text-align: center;
    background: #00CC99;
    transform: rotate(-315deg);
    font-family: NotoSansCJKtc-Bold;
    font-size: 14px;
    color: #FFFFFF;
}

.sellWell:before {
    content: "";
    border-top: 4px solid #00CC99;
    border-left: 4px solid #00CC99;
    border-right: 4px solid #00CC99;
    position: absolute;
    bottom: -4px;
    left: 0;
}

.sellWell:after {
    content: "";
    border-top: 4px solid #00CC99;
    border-left: 4px solid #00CC99;
    border-right: 4px solid #00CC99;
    position: absolute;
    bottom: -4px;
    right: 0;
}

.shoppingProduct .line {
    width: 50%;
    margin: 10px auto;
    border: 1px solid #3D1101;
    background-color: #3D1101
}

.shoppingProduct .ProductPrice {
    font-family: Roboto-Light;
    font-size: 20px;
    padding: 15px 0;
}

.shoppingProduct .AddCar {
    display: block;
    text-decoration: none;
    font-size: 16px;
    color: #FF5E45;
    border: 2px solid #FF5E45;
    border-radius: 3px;
    padding: 5px;
    margin: 10px;
}

@media (max-width: 576px) {

    .shoppingContent {
        width: 100%;
        padding: 2%
    }

    .shoppingSide {
        width: 100%
    }

    .shoppingSearch {
        width: 100%;
        margin-top: 20px;
    }

    .shoppingSearch input[type="text"]{
        width: 93%;
    }

    .shoppingCar {
        width: 100%;
        margin: 20px 0;
        text-align: right
    }

    .shoppingProduct {
        width: 100%
    }

    .shoppingProduct img{
        width: 100%
    }
}


