/*
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.   ***************/
img{border-radius:6px}
img:hover{transform: scale(1.05);transition: transform 0.3s ease-in-out;cursor: pointer;border-radius:6px}

/************* Other ****************/
.searchform .button.icon i {font-size:0.7em;margin-top: 4px;}

/* >>>>>>>  FEED CSS <<<<<<<<<  */
.feed .post-item .col-inner {border:1px solid #1c1c1c; border-radius:3px; padding:8px 6px 8px 8px;margin-bottom:10px;cursor: pointer;}
.feed .box-text {border-radius:3px;}
.feed .box-text:hover {filter: contrast(0.9);}

/* Vô hiệu hóa sự kiện click trên các liên kết trong .col-inner */
.feed .post-item .col-inner a.plain {
  pointer-events: none;
  cursor: default;
}

/* CSS cho popup tự tạo */
.custom-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    /* Hiệu ứng chuyển động */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-popup-overlay.is-visible {
    display: flex; /* Hiển thị khi có class is-visible */
    opacity: 1;
}

.custom-popup-content {
    background: #fff;
    padding: 20px;
    max-width: 800px;
    width: 96%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    /* Hiệu ứng chuyển động */
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.custom-popup-overlay.is-visible .custom-popup-content {
    transform: scale(1);
}

.custom-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    line-height: 1;
}

.custom-popup-content .post-content h1,
.custom-popup-content .post-content h2,
.custom-popup-content .post-content h3 {
    margin-top: 0;
}

.popup-inner-content
{pointer-events: none;}

.button_close{
width: 100%;
background-color: black;
color: white;
border-radius: 6px;
}

.custom-popup-content::-webkit-scrollbar-button:single-button {
  background-color: transparent;
  display: none;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
	

}