body {
    background-color: #e5f3d2;
    font-family: "Nato Sans TC", 'cwTeXYen', sans-serif;
    display: block;
}

@media (min-width: 991px) {
    body {
        font-family: "Nato Sans TC", "微軟正黑體", "新細明體", Arial;
    }
}

#container {
    position: relative;
    background-color: #ffffff;
    margin: 0.5rem;
}

a:hover {
    text-decoration: none;
}

@media (min-width: 992px) {
    #container {
        width: 60rem;
    }
}

.modal-body {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.mobile_menu {
    display: flex;
    align-items: center;
}

.menu_button_container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu_button_link {
    flex-grow: 1;
}

.menu_button_link:hover, .menu_button_link:active {
    background-color: #f9f9f9;
}

.menu_icon {
    width: 3rem;
    padding: 0.4rem;
}

.search_button_container {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo_button_container {
    flex-grow: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login_button_container {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shopping_cart_button_container {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile_page_footer {
    margin-top: 1rem;
}

.footer_item {
    background-color: #b2e073;
    height: 2.8rem;
    display: flex;
    justify-content: left;
    align-items: center;
}

.footer_item_title {
    color: #ffffff;
    padding-left: 0.6rem;
    font-size: 1.5rem;
    display: block;
    flex-grow: 1;
}

.more_mark {
    color: #ffffff;
    font-size: 1.5rem;
    margin-right: 0.6rem;
}

.footer_item_content {
    background-color: #b2e073;
    color: #ffffff;
    font-size: 1.4rem;
    margin-top: -1px;
}

.contact_paragraph {
    background-color: #b2e073;
    color: #ffffff;
    font-size: 1.4rem;
    padding-left: 2rem;
    margin-bottom: 0;
}

.service_info_list {
    list-style-type: none;
    background-color: #b2e073;
    margin-bottom: 0;
    color: #ffffff;
    font-size: 1.4rem;
    padding-left: 2rem;
}

.service_info_list li a {
    color: #ffffff;
    text-decoration: none;
    margin-bottom: 0;
}

.latest_news_list {
    list-style-type: square;
    background-color: #b2e073;
    margin-bottom: 0;
    color: #ffffff;
    font-size: 1.2rem;
    padding-left: 2rem;
}

.latest_news_list li a {
    color: #ffffff;
    text-decoration: none;
    margin-bottom: 0;
}

.logo_img {
    max-width: 100%;
    height: auto;
}

.div_center_horizontal {
    display: flex;
    justify-content: center;
}

.content_container {
    font-size: 1rem;
    color: black;
}

.contact_paragraph a {
    color: #ffffff;
    text-decoration: none;
    margin-bottom: 0;
}

.back_title_container {
    display: flex;
    justify-content: left;
    align-items: center;
    width: 100%;
    min-height: 3.5rem;
    background: #28b2bf;
    color: white;
    font-size: 1.5rem;
}

.back_title_container .icon{
    padding-left: 1rem;
    padding-right: 1rem;
    min-height: 3.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.back_title_container .icon:hover, .back_title_container .icon:active{
    background: #25a3af;
}

.back_title_container .title {
    padding-left: 0.5rem;
}

.menu_drop_down_modal {
    flex-direction: column;
    display: none;
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: #fff;
    z-index: 100;
}

.menu_drop_down_modal_title {
    min-height: 3rem;
}

.menu_drop_down_modal_content {
    flex-grow: 1;
}

[data-toggle='menu_drop_down_modal'], [data-dismiss='menu_drop_down_modal'] {
    cursor: pointer;
}


#menu-open-close{
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 2rem;
    height: 2rem;
    margin: 1rem;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
}

#menu-open-close:after, #menu-open-close:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 0;
    border-top: 0.2rem solid rgba(255, 255, 255, 0);
    left: 0;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
}



#menu-open-close:after {
    top: 0.375em;
}

#menu-open-close:before {
    top: 1em;
}

#menu-open-close.open {
    border: 0 solid rgba(255, 255, 255, 0);
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
    transition: transform 0.4s;
}

#menu-open-close.open:before,#menu-open-close.open:after{
    border-top: 0.2rem solid #f4c153;
    top: 1.6rem;
    left: 0.2rem;
    width: 80%;
}

#menu-open-close.open:after {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);

}

#menu-open-close.open:before {
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

.menu_list {
    padding-left: 0;
}

.menu_list li {
    list-style-type: none;
    border-top: 0.1rem solid #f4c153;
}

.menu_list li:hover, .menu_list li:active {
    background-color: #f9f9f9;
}

.menu_list li a {
    color: #748257;
    width: 100%;
    height: 3rem;
    display: flex;
    align-items: center;
    padding-left: 1rem;
    font-size: 1.2rem;
}

.search_input_container {
    border: 2px solid #b8b8b8;
    margin: 0.5rem;
    display: flex;
    align-items: center;
}

.search_input_container .search_product_input {
    flex-grow: 1;
    border: none;
}

.search_input_container .search_product_input:hover, .search_input_container .search_product_input:visited, .search_input_container .search_product_input:active .search_input_container .search_product_input:focus {
    border: none;
    box-shadow: none;
}

.search_input_container .search_product:hover, .search_input_container .search_product:visited, .search_input_container .search_product:active, .search_input_container .search_product:focus {
    border: none;
    box-shadow: none;
}

.search_input_container button.search_product {
    display: flex;
    width: 3rem;
    justify-content: center;
    align-items: center;
}

.search_input_container .fa-search {
    color: #f4c153;
    width: 1rem;
    height: 1rem;
}

.section_title_container {
    background: #28b2bf;
    border-radius: 0.4rem;
    color: white;
    margin: 0.75rem;
    font-size: 1.6em;
    text-align: center;
    padding: 0.3rem;
}

img.instant_buy {
    width: 3.5rem;
    height: 1.75rem;
}

.search_product_result_product_original_price {
    font-size: 0.8rem;
    color: #333333;
    text-decoration: line-through;
}

.search_product_result_product_sale_price {
    font-size: 0.9rem;
    color: #BF0000;
    font-weight: bold;
}

.search_product_result_product_name {
    color: #006699;
    text-decoration: none;
}

.search_product_result_num_notice {
    margin: 0.5rem;
    display: none;
}

.search_product_result_list_container {
    overflow-x: hidden;
    overflow-y: scroll;
    flex-grow: 1;
    height: 100%;
}

.search_product_result_list {
    display: flex;
    align-content: flex-start;
    flex-wrap: wrap;
    background-color: #fff;
}

.search_product_result_product_container {
    width: 50%;
    padding: 0rem 0.3rem;
    height: 17rem;
}

.search_product_result_product_img_container {
    width: 100%;
    height: 8rem;
}

.search_product_result_product_img_container a {
    width: 100%;
    height: 8rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search_product_result_product_img_container img{
    object-fit: cover;
    width: 8rem;
    height: 8rem;
}

.search_product_result_product_price_and_buy_container {
    display: flex;
}

.search_product_result_product_price_container {
    flex-grow: 1;
}

.search_product_result_product_buy_button_container {
    width: 3.6rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search_product_result_product_name a {
    color: #006699;
}

.custom_pop_up_modal {
    background-color: #fff;
    display: none;
    position: fixed;
    left: 0%;
    height: 100%;
    width: 100%;
}

.custom_pop_up_modal_content {
    overflow-y: scroll;
    flex-grow: 1;
}

[data-toggle='custom_pop_up_modal'], [data-dismiss='custom_pop_up_modal'] {
    cursor: pointer;
}

button.full_width_button {
    width: 100%;
    background-color: #28b2bf;
    border-color: #24a0ab;
    color: #fff;
    margin: 0.5rem;
}

button.done_full_width_button {
    background-color: #28b2bf;
}

button.initial_full_width_button {
    color: #dc3545;
    background-color: whitesmoke;
}

.button_container {
    display: flex;
    width: 100%;
    min-height: 4.2rem;
    align-items: center;
}

button.full_width_button:hover, button.full_width_button:active {
    width: 100%;
    background-color: #24a0ab;
    border-color: #24a0ab;
    color: #fff;
    margin: 0.5rem;
}


.checkbox_container {
    display: block;
    height: 1rem;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.checkbox_container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 1.5rem;
    width: 1.5rem;
    background-color: #efefef;
    border-radius: 0.2rem;
}

.checkbox_container:hover input ~ .checkmark {
    background-color: #ddd;
}

.checkbox_container input:checked ~ .checkmark {
    background-color: #f02c2c;
}

.checkbox_container.disabled input:checked ~ .checkmark {
    background-color: #f79595;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox_container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox_container .checkmark:after {
    left: 8px;
    top: 1px;
    width: 8px;
    height: 17px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.checkbox_container.disabled .checkmark:after {
    left: 8px;
    top: 1px;
    width: 8px;
    height: 17px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}


.radio_container {
    display: block;
    height: 1rem;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.radio_container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio_checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 1.5rem;
    width: 1.5rem;
    background-color: #dedede;
    border-radius: 50%;
}

.radio_container:hover input ~ .radio_checkmark {
    background-color: #ddd;
}

.radio_container input:checked ~ .radio_checkmark {
    background-color: #f02c2c;
}

.radio_checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.radio_container input:checked ~ .radio_checkmark:after {
    display: block;
}

.radio_container .radio_checkmark:after {
    top: 0.5rem;
    left: 0.5rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: white;
}

.mobile_social_media_container {
    background-color: #a8e2f8;
    display: flex;
    align-items: center;
    border-radius: 0.3rem;
    margin: 0.3rem;
}

.social_media_button_link {
    flex-grow: 1;
}

.social_media_text {
    font-size: 1em;
    color: black;
}

.social_media_button_container {
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.3rem;
}

.social_media_button_img_container {
    width: 2.6rem;
    height: 2.6rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.social_media_icon {
    width: 2.6rem;
}

.social_media_text {
    font-size: 1em;
    color: black;
}

.loader,
.loader:before,
.loader:after {
  border-radius: 50%;
  width: 1em;
  height: 1em;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation: load7 1s infinite ease-in-out;
  animation: load7 1s infinite ease-in-out;
}
.loader {
    color: #ffc107;
    font-size: 10px;
    margin: 80px auto;
    position: relative;
    text-indent: -9999em;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}
.loader:before,
.loader:after {
    content: '';
    position: absolute;
    top: 0;
}
.loader:before {
    left: -2em;
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}
.loader:after {
    left: 2em;
}
@-webkit-keyframes load7 {
    0%,
    80%,
    100% {
        box-shadow: 0 2.5em 0 -1.3em;
    }
    40% {
        box-shadow: 0 2.5em 0 0;
    }
}
@keyframes load7 {
    0%,
    80%,
    100% {
        box-shadow: 0 2.5em 0 -1.3em;
    }
    40% {
        box-shadow: 0 2.5em 0 0;
    }
}
