/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

.search-field.mb-0 {
    border-top-left-radius: 5px; /* Adjust the value as needed */
    border-bottom-left-radius: 5px; /* Adjust the value as needed */
    background-color: #c4beb2;
}
.form-flat input:not([type=submit]), .form-flat select, .form-flat textarea {
    background-color: rgb(255 255 255 / 91%);
    border-color: rgb(241 231 231 / 19%);
    border-radius: 99px;
    box-shadow: none;
    color: currentColor !important;
}
.searchform .button.icon {
    margin: 0;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
.searchform .button.icon i {
    font-size: 1.2em;
    color: #0d335d;
}
.searchform  .header .flex-row {
    height: 100%;
    background-color: wheat;
}
.icon-1 .col-inner  {
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}
.icon-1 .text-left {
    text-align: left;
    padding: 10px;
}
.icon-2 .uppercase {
    margin-bottom: 0;
    display: flex;
    justify-content: center;
}
.icon-2 .icon {
    border: 1px solid transparent; /* Viền ban đầu trong suốt */
    border-radius: 50%; /* Tạo viền tròn */
    transition: border 0.3s ease; /* Thêm hiệu ứng chuyển đổi */
}
.icon-2 .icon:hover {
    border-color: #0d335d; /* Thay đổi viền thành màu xanh khi hover */
}
.icon-3 {
    background-color: #c8d0da00; /* Nền ban đầu trong suốt */
    transition: background-color 0.3s ease; /* Hiệu ứng chuyển nền */
}

.icon-3 .icon, 
.icon-3 .text {
	border-radius: 20px;
    color: initial; /* Màu ban đầu */
    transition: color 0.3s ease; /* Hiệu ứng chuyển màu */
}

.icon-3:hover {
    background-color: #f4c014; /* Nền chuyển sang màu xanh khi hover */
    border-radius: 20px;
}

.icon-3:hover .icon,
.icon-3:hover .text h3 {
    color: white; /* Màu trắng khi hover */
}

.vong-tron img {
    opacity: 1;
    transition: opacity 1s;
    border-radius: 50%;
    border-color: #0d335d; 
    border: 1px;
}
.testimonial {
    display: flex;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    flex: 1;
    padding-right: 20px;
}

.testimonial-content p {
    margin: 0 0 10px;
    line-height: 1.5;
    display: flex;
    justify-content: flex-end;
}

.author {
    font-weight: bold;
    margin-top: 10px;
}

.details-button {
    display: inline-block;
    background-color: #f0c14b;
    color: #111;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.details-button:hover {
    background-color: #ddb347;
}

.testimonial-image {
    flex-shrink: 0;
    margin-top: -40px;
}

.testimonial-image img {
    border-radius: 50%;
    width: 100px; /* Adjust size as needed */
    height: 100px; /* Adjust size as needed */
    object-fit: cover;
}
.cot-2 .post-title.is-large a { 
	display: -webkit-box;
    -webkit-line-clamp: 2; /* Số dòng tối đa */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cot-2 .post-item {
    display: flex;
    align-items: flex-start; /* Căn thẳng nội dung và dấu chấm */
    margin-bottom: 0px; /* Khoảng cách giữa các mục */
    border-bottom: 1px dashed #d8d8d8;
    margin-left: -10px;
    justify-content: center;
  }
  
.cot-2  .post-item::before {
    content: "•"; /* Dấu chấm đen */
    font-size: 1.5em; /* Kích thước dấu chấm */
    color: #0d335d; /* Màu đen */
    margin-right: 10px; /* Khoảng cách giữa dấu chấm và nội dung */
    margin-top: 10px;
  }
  .cot-2 .is-divider {
    margin-top: .66em;
    display:none;
}
#breadcrumbs {
    font-size: 16px;
    margin: 10px 0;
}

#breadcrumbs a {
    color: #0d335d;
    text-decoration: none;
}

#breadcrumbs a:hover {
    text-decoration: underline;
}

#breadcrumbs span {
    color: #000000;;
}



/* Post Header */
.entry-header {
    text-align: center;
    margin-bottom: 0px;
    
}

.entry-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

/* Meta Information */
.entry-meta {
    font-size: 0.9rem;
    color: #666;
    padding: 1rem;
    background-color: #eaf5ff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-info {
    display: flex;
    align-items: center;
    justify-content: left;
}

.author-info img {
    border-radius: 50%;
    margin-right: 10px;
    width: 40px;
    height: 40px;
}

.author-name {
    font-weight: bold;
    margin-right: 10px;
}

.post-date {
    color: #999;
}

.post-actions {
    display: flex;
    align-items: center;
    justify-content: right;
}

.share-icons {
    margin-right: 15px;
    font-size: 1.2em;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.share-icons a {
    margin-right: 5px;
    text-decoration: none; /* Loại bỏ gạch chân */
}

/* Đặt màu cho từng biểu tượng mạng xã hội */
.share-icons a.facebook {
    color: #3b5998; /* Màu xanh Facebook */
}

.share-icons a.twitter {
    color: #1da1f2; /* Màu xanh Twitter */
}

.share-icons a.instagram {
    color: #e4405f; /* Màu hồng Instagram */
}

.share-icons a.linkedin {
    color: #0077b5; /* Màu xanh LinkedIn */
}

.share-icons a.pinterest {
    color: #bd081c; /* Màu đỏ Pinterest */
}
.share-icons a.email {
    color: #D44638; /* Màu đỏ cho email */
}

/* Thêm các mạng xã hội khác nếu cần */


.post-rating {
    display: flex;
    align-items: center;
}

.rating-label {
    margin-right: 5px;
}

/* Featured Image */
.entry-image {
    margin-bottom: 2rem;
}

.entry-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Content */
.entry-content {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

/* Footer Meta */
.entry-meta footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.entry-taxonomy {
    font-size: 0.9rem;
    color: #666;
}

/* Navigation */
.post-navigation {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.nav-links {
    display: flex;
    justify-content: space-between;
}

.nav-previous,
.nav-next {
    max-width: 48%;
}

.nav-previous a,
.nav-next a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.nav-previous a:hover,
.nav-next a:hover {
    background-color: #e0e0e0;
}
.entry-author {
    background: #fbfbfb;
    padding: 20px;
    display: flex;
    align-items: center;
    border: 1px solid #e6e6e6;
    margin-bottom: 25px;
    }
    .review {
    background: #f0f0f0;
    padding: 10px;
    border-radius: 5px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 30px;
    }
.review-section {
    width: 50%;
}
.share-icons-1 {
    margin-right: 15px;
    font-size: 1.2em;
    width: 50%;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    justify-content: space-between;
}

.lien-he {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.lien-he .row.align-middle.align-center {
    display: flex;
    width: 100%;
    padding: 10px;
    border: 1px solid #1c79d655;
    border-radius: 3px;
}

.lien-he .row.align-middle.align-center input, 
.lien-he.row.align-middle.align-center textarea {
    flex: 1;
    padding: 10px;
    margin-right: 0px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.lien-he .row.align-middle.align-center textarea {
    flex: 2;
    margin-top: 50px;
}

.lien-he .row.align-middle.align-center input[type="submit"] {
    background-color: #d1a040;
    color: white;
    border: none;
    cursor: pointer;
    padding: 0px 20px;
    border-radius: 3px;
}


@media (max-width: 768px) {
    .lien-he.row .align-middle.align-center textarea {
    flex: 2;
    margin-top: 0px;
}
.lien-he .row.align-middle.align-center {
    display: flex;
    width: 100%;
    /* padding: 10px; */
    padding-top: 40px;
    border: 1px #0884ff;
    border-radius: 3px;
} 
.lien-he .row.align-middle.align-center textarea {
    flex: 2;
    margin-top: 0px;
}
}
.b-1 .icon-box-img {
    aspect-ratio: 1 / 1;
    max-width: 120px;
    max-height: 120px;
    background: #07572e;
    margin: 0 auto;
    margin-bottom: 0;
    border-radius: 100%;
    border: 10px solid #afc8e4;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    padding: 20px;
}
.section.banner-end {
    padding-top: 30px;
    padding-bottom: 0px;
}
widget-title {
    font-size: 1em;
    font-weight: 600;
    padding: 10px;
    background-color: #0c335d;
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .single-post article.post {
        padding: 0rem;
    }

    .entry-title {
        font-size: 2rem;
    }

    .entry-content {
        font-size: 1rem;
    }

    .entry-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .post-actions {
        margin-top: 10px;
    }
    .entry-header {
        text-align: center;
        margin-bottom: 0px;
    }
    a.icon:not(.button), button.icon:not(.button) {
        font-family: sans-serif;
        font-size: 0.7em;
        margin-left: .25em;
        margin-right: .25em;
    }
	.kk-star-ratings { align-items: center;
    display: flex;
    flex-direction: column;
   }
	.kk-star-ratings .kksr-legend {
    margin-left: .5rem;
    margin-right: .5rem;
   }
	.share-icons-1 {
    margin-right: 15px;
    font-size: 1.2em;
    width: 50%;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    }
    .icon-1 .icon-box-img {
    flex: 0 0 auto;
    margin-bottom: 0;
    max-width: 30px;
   }
   .testimonial {
    display: flex;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    flex-direction: column-reverse;
  }
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}
