/**** Customize > Additional CSS is replaced with this file  ****/

/* Navbar - Renewed 2025-04-25 */

.nav-desktop {
    display: block;
}

.nav-mobile {
    display: none;
}

/* Mobile Navigation */
@media (max-width: 991px) {
    .nav-desktop {
        display: none;
    }

    .nav-mobile {
        display: block;
        padding: 30px;
    }

    .nav-mobile a {
        color: #bbb;
    }

    .nav-mobile a:hover {
        color: #9bd5e4;
    }
    
    .navbar-nav li {
        padding: 2.5px 0;
    }
}

/* Desktop Navigation */
@media (min-width: 992px) {
    .navbar-nav {
        list-style: none;
        padding-left: 0;
        margin: 0;
    }

    .navbar-nav > li {
        display: inline-block;
    }

    .navbar-nav a {
        text-decoration: none;
        padding: 10px;
        display: block;
        color: #333;
        font-weight: 500;
    }

    /* First-level dropdown */
    .navbar-nav li ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 200px;
        background: white;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        z-index: 1000;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .navbar-nav li:hover > ul {
        display: block;
    }

    /* Second-level dropdowns */
    .navbar-nav li ul li {
        position: relative;
        list-style: none;
    }

    .navbar-nav li ul li ul {
        top: 0;
        left: 100%;
    }

    .navbar-nav li ul li a {
        padding: 10px;
    }
}

.navbar-nav li {
    position: relative;
    list-style: none;
}

/* CONTACT Button Style */
.navbar--contact {
    background-color: #d7786f !important; 
    color: #fff !important;
    font-weight: bold!important;
    border-radius: 4px!important;
    transition: background-color 0.2s ease-in-out !important;
}

/* hover effect */
.navbar--contact:hover {
    background-color: #bd4949 !important;
    text-decoration: none !important;
}

/* Contact Form */
/* https://noripon.blog/how-to-customize-contact-form-7-wordpress/ */

.inquiry input[type="text"],
.inquiry input[type="password"],
.inquiry input[type="datetime"],
.inquiry input[type="date"],
.inquiry input[type="month"],
.inquiry input[type="time"],
.inquiry input[type="week"],
.inquiry input[type="number"],
.inquiry input[type="email"],
.inquiry input[type="url"],
.inquiry input[type="search"],
.inquiry input[type="tel"],
.inquiry input[type="color"],
.inquiry select,
.inquiry textarea,
.inquiry .field {
    display: block;
    width: 100%;
    height: 45px;
    margin-bottom: 0;
    padding: 0 12px;
    border: 0;
    border-radius: 3px;
    background-color: #eff1f5;
    box-shadow: none;
    color: #5c6b80;
    font-size: 1em;
    vertical-align: middle;
    line-height: 45px;
    transition: background-color 0.24s ease-in-out;
}

textarea {
    max-width: 100%;
    min-height: 120px;
    line-height: 1.5em;
    padding: 0.5em;
    overflow: auto;
}

@media(max-width:500px) {
    .inquiry td,
    .inquiry th {
        display: block !important;
        width: 100% !important;
        border-top: none !important;
        -webkit-box-sizing: border-box !important;
        -moz-box-sizing: border-box !important;
        box-sizing: border-box !important
    }
    .inquiry tr:first-child th {
        border-top: 1px solid #d7d7d7 !important
    }
    .inquiry .any,
    .inquiry .haveto {
        font-size: 10px
    }
}

.inquiry th {
    text-align: left;
    font-size: 14px;
    color: #444;
    padding-right: 5px;
    width: 30%;
    background: #f7f7f7;
    border: solid 1px #d7d7d7
}

.inquiry td {
    font-size: 13px;
    border: solid 1px #d7d7d7
}

.entry-content .inquiry tr,
.entry-content table {
    border: solid 1px #d7d7d7
}

.haveto {
    font-size: 7px;
    padding: 5px;
    background: #ff9393;
    color: #fff;
    border-radius: 2px;
    margin-right: 5px;
    position: relative;
    bottom: 1px
}

.any {
    font-size: 7px;
    padding: 5px;
    background: #93c9ff;
    color: #fff;
    border-radius: 2px;
    margin-right: 5px;
    position: relative;
    bottom: 1px
}
.verticallist .wpcf7-list-item {
    display: block
}

#formbtn {
    display: block;
    padding: 15px;
    width: 350px;
    background: #ffaa56;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 2px;
    margin: 25px auto 0
}

#formbtn:hover {
    background: #fff;
    color: #ffaa56;
    border: 2px solid #ffaa56
}

th {
    font-weight: 700;
    padding: 13px
}

td {
    border-top: 1px solid #ededed;
    padding: 12px
}

input,
select,
textarea {
    border: 1px solid #dfdfdf;
    letter-spacing: 1px;
    margin: 0;
    max-width: 100%;
    resize: none
}

/* Sticky Footer - Mobile Only */
.sticky-footer {
	display: none;
}
@media (max-width: 767px) {
    .sticky-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #fff;
        color: #333;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
        box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);
        z-index: 9999;
    }

    .sticky-footer--text {
        font-size: 14px;
        font-weight: 500;
        margin: 0;
        color: #555;
        flex: 1;
    }

    .sticky-footer--button {
        background-color: #73c4a9;
        color: #fff; 
        font-weight: bold;
        text-decoration: none;
        padding: 8px 12px;
        border-radius: 4px;
        margin-left: 10px;
        white-space: nowrap;
        transition: background-color 0.2s ease-in-out;
    }

    .sticky-footer--button:hover {
        background-color: #eee;
        color: #73c4a9;
    }
}

/* Contact Form Button */
.wpcf7-submit--locked {
    opacity: 0.6;
    cursor: not-allowed;
}
