/**
 * Theme Name:     K-Tech
 * Author:         K-Tech
 * Template:       flatsome
 * Text Domain:	   k-tech
 * Description:    Websites build by K-Tech
 * Theme URI:      https://k-tech.net.vn/
 * Author URI:     https://k-tech.net.vn/
 * Version:        2024
 */



.sidebar-tour {
    position: sticky;
    top: 3rem;
    h3.text-center {
        background-color: var(--fs-color-primary);
        padding: 5px 15px;
        color:#fff;
    }
}

div#logo img {
    padding: .5rem;
}

.desc-txt a {
    color: #fff;
}

.desc-txt a:hover {
    color: var(--yellow);
}

/*
.sec-banner .col-inner {
    background: #00000029;
    padding: 2rem 0;
    border-radius: 1rem;
} */

:root {
    --height-img: 170px;
}




.list-info .info-item {
	margin-bottom: 10px;
}
.list-info .info-item .txt {
	font-weight: 600;
	display: inline-block;
	width: 30%;
}


#wide-nav {
    .header-nav {
        /* .menu-color {
            &> a {
                color: var(--fs-color-secondary)!important;

                &:hover {
                    color: var(--fs-color-secondary)!important;
                }
            }
        } */
        &>.menu-item {
            &.mega-menu {


                a {
                    border-bottom: none;
                }



                &>.sub-menu {
                    display: flex;
                    flex-wrap: wrap;
                    height: max-content;
                    width: 100%;
                    padding: 15px !important;

                    &>.menu-item {
                        width: 20%;
                        height: auto;
                        display: block;
                        white-space: wrap;
                        color: #000 !important;
                        padding: 5px !important;

                        &:hover {
                            background-color: unset;

                            a {
                                color: #000 !important;
                            }

                            .sub-menu {
                                .menu-item {
                                    background-color: unset;
                                }
                            }
                        }

                    }
                }
            }
        }
    }
}

.sec-tour-k {
    .pagination {
        display: none !important;
    }
}

.list-tours .tours-item .detail .desc {
    text-align: left;
    display: none !important;
}

.custom-text-why {
    i {
        color: var(--fs-color-primary);
    }
}

.button-see {
    background-color: var(--fs-color-secondary) !important;
}

.sec-servies-k {
    .custom-img-box {
        .col-inner {
            box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
            border-radius: 0.5rem;
            transition: all 0.3s ease;
            overflow: hidden;
            background: #fff;

            .box-image {
                padding: 30px;
            }

            .box-text {
                h4 {
                    color: var(--fs-color-primary);
                    font-weight: 600;
                }
            }

            &:hover {
                box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;

            }
        }
    }
}

.button-sub {
    background-color: var(--fs-color-secondary) !important;
}

.sale-tour .postImg .price {
    background-color: var(--fs-color-secondary) !important;
}

.sec-why-k {
    .icon-box {
        h3 {
            font-size: 14px;
        }
    }
}

.sec-tab-about {

    .custom-tab-k {
        .nav {
            gap: 8px;

            .tab {
                font-size: 18px;
                font-weight: 600;
                border-radius: 25px;
                padding: 8px 16px;
                transition: all 0.3s ease;
                border: 1px solid transparent;

                a {
                    padding: 0;
                }

                &.active {
                    border: 1px solid var(--fs-color-primary);
                    color: var(--fs-color-primary);
                }
            }
        }

        .tab-panels {
            .custom-row-icon-box {
                margin-top: 30px;

                .large-3 {
                    .col-inner {
                        box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
                        border-radius: 0.5rem;
                        transition: all 0.3s ease;
                        overflow: hidden;
                        height: 100%;

                        .icon-box {
                            padding: 30px;

                            h3 {
                                color: #000;
                                font-weight: 600;
                            }
                        }
                    }
                }
            }

            .custom-row-text {
                margin-top: 30px;

                .large-6 {
                    .col-inner {
                        box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
                        border-radius: 0.5rem;
                        transition: all 0.3s ease;
                        overflow: hidden;
                        height: 100%;
                        padding: 30px;

                        h3 {
                            color: #000;
                        }
                    }
                }
            }
        }

    }

    .custom-row-vector {
        padding-top: 30px;
        background-image: url(https://www.ls-electric.com.vn/wp-content/uploads/2025/03/Vector-36.svg);
        background-position: top center;
        background-repeat: no-repeat;

        &::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #fff;
            z-index: -1;
        }

        .pt {
            padding-top: 50px !important;
        }

        .col {
            p {
                padding-left: 5px;
                margin-bottom: 5px;
            }

            &.left {
                .col-inner {
                    /* background-color: red; */
                    padding: 30px 30px 0;
                    position: relative;

                    &::before {
                        content: '';
                        position: absolute;
                        top: 35px;
                        right: -9px;
                        width: 18px;
                        height: 18px;
                        border-radius: 50%;
                        border: 3px solid var(--fs-color-primary);
                        background: white;

                        @media screen and (max-width: 768px) {
                            display: none;
                        }
                    }

                    &::after {
                        content: '';
                        position: absolute;
                        top: 42px;
                        right: 7px;
                        width: 20px;
                        height: 2px;
                        background: #000;

                        /* display: none; */
                        @media screen and (max-width: 768px) {
                            display: none;
                        }
                    }
                }
            }

            &.right {
                .col-inner {
                    /* background-color: whitesmoke; */
                    padding: 30px 30px 0;

                    &::before {
                        content: '';
                        position: absolute;
                        top: 35px;
                        left: -9px;
                        width: 18px;
                        height: 18px;
                        border-radius: 50%;
                        border: 3px solid var(--fs-color-primary);
                        background: white;

                        @media screen and (max-width: 768px) {
                            display: none;
                        }
                    }

                    &::after {
                        content: '';
                        position: absolute;
                        top: 42px;
                        left: 7px;
                        width: 20px;
                        height: 2px;
                        background: #000;

                        /* display: none; */
                        @media screen and (max-width: 768px) {
                            display: none;
                        }
                    }
                }
            }
        }

        @media screen and (max-width:768px) {
            background-image: none;
        }
    }
}

.sec-field-about {
    .large-4 {
        .box {
            .box-text-inner {
                padding-left: 45px;

                h3 {
                    font-size: 20px;
                    color: var(--fs-color-primary);
                    font-weight: 600;
                    margin-bottom: 15px;
                }
            }

        }
    }
}

.sec-staff-about {
    .custom-row-staff {
        .large-4 {
            .col-inner {
                box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
                border-radius: 0.5rem;
                transition: all 0.3s ease;
                overflow: hidden;
                height: 100%;

                .box {
                    position: relative;

                    .box-text {

                        /* position: relative; */
                        .content-hover {
                            position: absolute;
                            top: 50%;
                            left: 0;
                            right: 0;
                            background: rgba(0, 0, 0, 0.6);
                            color: #fff;
                            display: flex;
                            flex-direction: column;
                            justify-content: center;
                            align-items: center;
                            opacity: 0;
                            transition: all 0.5s ease;

                            p {
                                font-size: 14px;
                                text-align: center;
                                padding: 0 10px;
                            }
                        }
                    }

                    &:hover {
                        .box-text .content-hover {
                            top: -100%;
                            opacity: 1;
                        }
                    }
                }
            }
        }
    }
}
.img-border img{
	    border-radius: 12px;
}
.header-nav-main {
    &.nav-left {
/*         height: var(--height-img); */

        .header-block {
            height: 100%;

            .header-block-block-1 {
                height: 100%;

                .img {
                    height: 100%;

                    .img-inner {
                        height: 100%;

                        img {
                            height: 100%;
                            object-fit: contain;
                        }
                    }
                }
            }
        }
    }
}

.wpcf7-spinner {
    display: none;
}

.custom-col-border {
    .col-inner {
        background: #fff;
        box-shadow: 0 15px 35px rgb(0 0 0 / 10%);
        border-radius: 16px;
        padding: 15px 20px;
        overflow: hidden;
        height: 100%;

        p {
            margin-bottom: 0;
        }
    }
}

.sec-contact {
    .wpcf7-submit {
        width: 100%;
        border-radius: 8px;
        overflow: hidden;
    }
}

.sec-ft {
    .follow-icons {
        margin-top: 15px;

        .icon {
            opacity: 1;
        }
    }

    .custom-menu {
        .ux-menu-link__link {
            color: #fff !important;

            &:hover {
                color: #fa8e11 !important;
            }
        }
    }

    .custom-menu-hotline {
        a {
            background-color: #0c5c99;
            padding: 5px 15px;
            display: flex;
            align-items: center;
            border-radius: 4px;
            overflow: hidden;
            color: #fff;

            &:hover {
                box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
                color: #fff;

            }
        }
    }
}

.single {
    &.single-post {
        blockquote {
            padding: 20px 15px 0px 10px;
            margin: 8px 0;
            box-shadow: 0 0 8px rgb(0 0 0 / 15%);
            border: 1px solid #009eeb;
            border-radius: 10px;
            margin: 25px 0;
            font-style: unset;
            font-weight: normal;
            font-size: 16px !important;
            position: relative;

            &::before {
                content: "“";
                position: absolute;
                left: 10px;
                top: 0px;
                width: 30px;
                height: 30px;
                line-height: 1;
                font-family: Arial;
                font-size: 72px;
                color: #333;
                color: #009eeb;
                font-size: 55px;
                top: -12px;
                background: white;
                width: unset;
            }
        }
    }
}

.button-check .wpcf7-form-control {
    background-color: var(--fs-color-secondary) !important;
}

.quote {
    background-color: var(--fs-color-secondary) !important;

}

.check-info {
    position: relative;

    .total {
        align-items: center;
        span {
            font-size: 18px;
        }
        strong {
            color: red;
            font-size: 24px;
        }
    }
    .quote {

        position: absolute;
        top: 34px;
        left: 35px;
        z-index: 2;
    }

    .ds-tour {
        .item {
            .price-person {
                font-size: 16px !important;
                font-weight: 600 !important;
            }

            .imgH {
                height: 150px;
                display: block;
                overflow: hidden;
                border-radius: 8px;
                margin-bottom: 15px;
                object-position: center;

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

.search-main-page {
    margin-bottom: 40px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 5px;
}

.search-main-page .search-form {
    margin-bottom: 0;
}

/* Tùy chỉnh input cho to và dễ nhìn hơn ở trang kết quả */
.search-main-page .search-field {
    background-color: #fff !important;
    border-top-left-radius: 30px !important;
    border-bottom-left-radius: 30px;
    height:45px;
    padding-left: 20px !important;
}

.search-main-page .ux-search-submit {
    border-radius: 0 30px 30px 0 !important;
    height: 45px;
}

.sec-banner  {
    .searchform-wrapper {
        background-color: #f8f8f8;
        padding: 15px 20px;
        border-radius: 8px;
        overflow: hidden;
        color: #000;
        input {
            color: #000;
        }
    }
}
.sec-banner .search-on {
    left:60%!important;
}

/* Tổng thể form */
.custom-registration-form {
    max-width: 430px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background: #fff;
}

/* Tiêu đề xanh phía trên */
.custom-registration-form .form-header {
    background: linear-gradient(to bottom, #002c77, #001a4d);
    color: #fff;
    text-align: center;
    padding: 15px;
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
}

/* Thân form */
.custom-registration-form .form-body {
    padding: 20px;
}

/* Các nhóm ô input */
.custom-registration-form .input-group {
    position: relative;
    margin-bottom: 15px;
}

/* Icon trong ô input */
.custom-registration-form .input-group .icon-form {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #002c77; /* Màu icon xanh */
    z-index: 10;
}

/* Định dạng các ô input và select */
.custom-registration-form input[type="text"],
.custom-registration-form input[type="tel"],
.custom-registration-form select {
    width: 100% !important;
    padding: 10px 10px 10px 40px !important; /* Chừa khoảng trống bên trái cho icon */
    border: 1px solid #ddd !important;
    border-radius: 10px !important;
    background: #fff !important;
    font-size: 15px;
    color: #555;
    height: 45px;
    margin-bottom:0;
}

/* Nút Gửi */
.custom-registration-form input[type="submit"] {
    width: 100% !important;
    background: linear-gradient(to right, #ff9900, #ff6600) !important;
    color: #fff !important;
    border: none !important;
    padding: 12px !important;
    border-radius: 10px !important;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    text-transform: uppercase;
    transition: 0.3s;
}

.custom-registration-form input[type="submit"]:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

/* Ẩn bớt các khoảng trắng mặc định của CF7 */
.wpcf7-form-control-wrap {
    display: block;
}




@media only screen and (max-width: 768px) {
	.bg-mb .col-inner {
		background: #fff;
	}
	.sec-banner .search-on {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        transform: translate(0) !important;
    }
	
	.order-mb1 {
		order: 1;
	}
	
	.order-mb2 {
		order: 2;
	}
	
	.sidebar-tour {
		margin-bottom: 30px;
	}
}