/*
Theme Name:   HAKU_tcd080 Child
Theme URI:    https://wordpress.org/themes/twentytwentyone/
Description:  Haku_tcd080 Child theme for Head-onsen website
Author:       E-STAGE Thailand
Author URI:  
Version:2.6
Template:     haku_tcd080
*/

:root {
    --main_color: #034ea2;
    --secondary-color: #6c757d;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --border-radius: 4px;
    --bg_review_desc: rgba(255, 255, 255, 0.3);
    --padding-lg: 120px 140px;
    --padding-md: 120px 60px;
    --padding-sm: 120px 20px;
}

/* 
Reset and Base Styles =================================================================
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "Times New Roman", serif, 'Noto Sans Thai', 'Noto Sans SC', sans-serif !important; */
}

body {
    /* line-height: 1.6; */
    /* font-size: 18px; */
    /*Change the background color to match the homepage as desired by the customer. ฺBy Am ESTH 250212*/
    background: url(/head-onsen/wp-content/themes/haku_tcd080_child/utils/img/Top_page_bgx1680px@72x-100.jpg) no-repeat center top;
    background-size: cover;
    margin-bottom: 0;
    width: 100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}

/* Program Megamanu ==============================================================*/
.megamenu_product_category_list_inner {
    width: 1075px;
}

.megamenu_product_category_list .item {
    width: 20%
}

/* Adjust the height of the header menu By Am ESTH 140225 =================================================================*/
.pc #header {
    height: 200px;
}

#header_logo {
    height: 135px !important;
}

.megamenu_product_category_list,
.megamenu_blog_list {
    top: 200px !important;
}

.pc .header_fix #header {
    height: 70px !important;
}

a {
    color: #000;
    text-decoration: none;
}

a:hover {
    color: rgba(0, 0, 0, .6);
}

h2 {
    font-size: 1.5rem
}

h3 {
    font-size: 1.25rem
}

/* Contact info & Map on footer part =========================================================== */
#contact-container {
    display: flex;
}

.contact_info {
    width: 50%;
    padding: 120px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
}

.contact_info .cb_header_inner .catch {
    color: var(--main_color);
}

.contact_info .cb_header_inner h1 {
    font-size: 24px;
    margin-bottom: 20px;
}

.contact_info .desc {
    font-size: 16px;
}

.contact_info .item {
    display: flex;
    margin: 1rem;
    align-items: center;
}

.icon {
    width: 36px;
    height: 36px;
    margin-right: 10px;
}

.info-item p {
    margin: 0;
    font-size: 16px;
}

.map {
    width: 50%;
    background-color: #000;
}

@media only screen and (max-width: 1000px) {
    .contact_info .cb_header_inner h1 {
        font-size: 18px;
    }
}

@media only screen and (max-width: 750px) {
    #contact-container {
        flex-direction: column;
    }

    .contact_info {
        width: 100%;
        padding: 20px;
        height: 360px;
    }

    .map {
        width: 100%;
        height: 360px;
    }
}

@media only screen and (max-width: 550px) {
    .contact_info .cb_header_inner h1 {
        font-size: 16px;
    }

    .contact_info .desc {
        font-size: 12px;
    }
}

/* Topic page ==================================================================== */
#post_list2 .item {
    background-color: white;
    margin-bottom: 20px !important;
}

#post_list2 .title_area {
    border: none !important;
}

#post_list2 .category {
    bottom: 0 !important;
}

/* ----------------------------------------------------------------------
Resposive for Header menu on mobile
---------------------------------------------------------------------- */

@media screen and (max-width:1000px) {
    .mobile #header {
        height: 60px !important;
    }

    .mobile #header_logo {
        height: 60px !important;
    }
}