@import "global_setting.css";

/*images*/
.img-full {
    width: 100%;
}

/*divider*/
.divider {
    width: 100%;
    height: 1px;
    background-color: var(--gray-300);
}

.divider-2 {
    width: 100%;
    margin: 24px 0px;
    display: flex;
    align-items: center;
}

.divider-2--line {
    width: 100%;
    height: 1px;
    background-color: var(--gray-300);
}

.divider-2--text {
    margin: 0px 16px;
    color: var(--gray-300);
}

.divider-primary {
    width: 100%;
    height: 1px;
    background-color: var(--primary-600);
}

.divider-or {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--gray-300);
}

/*breadcrumb*/
.breadcrumb {
    margin: 0px;
    padding: 12px 8%;
    background-color: var(--primary-50);
}

.breadcrumb-item+.breadcrumb-item::before {
    content: url(../i/breadcrumb_navigate.svg);
    padding-top: 4px;
}

.breadcrumb-item.active {
    color: var(--gray-800);
}

.breadcrumb-item a {
    color: var(--primary-600);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--primary-400);
}

/* card*/
.card-wrap {
    height: auto;
    width: 100%;
    max-width: 248px;
    overflow: hidden;
    margin-bottom: 12px;
    border-radius: 8px;
    background-color: white;
    filter: drop-shadow(0px 4px 10px rgba(34, 29, 86, 0.06));
}

.card-cover {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    max-height: 148px;
    overflow: hidden;
}

.card-cover img {
    width: 100%;
    transition: transform 300ms;
}

.card-wrap:hover .card-cover img {
    transform: scale(1.05);
    transition: transform 300ms;
}

.card-content {
    background-color: white;
    padding: 12px 8px 16px 12px;
}

.card-provider {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.card-provider-avatar {
    height: 20px;
    width: 20px;
    overflow: hidden;
}

.card-provider-avatar img {
    width: 100%;
}

.card-provider-name {
    color: var(--gray-600);
}

.card-title {
    color: var(--gray-800);
    height: 41px;
    margin-bottom: 8px;
}

.card-bottom,
.card-bottom-between {
    width: 100%;
    display: flex;
    align-items: center;
    margin-top: 8px;
    gap: 12px;
    color: var(--gray-500);
}

.card-bottom {
    gap: 12px;
}

.card-bottom-between {
    justify-content: space-between;
}

.card-location,
.card-time,
.card-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.card-location img,
.card-time img {
    height: 10px !important;
    width: 10px !important;
    margin-right: 4px;
}

.card-price {
    color: var(--primary-600);
}

.card-link {
    margin-top: 8px;
    color: var(--gray-600);
}

.card-link--left {
    width: 20%;
}

.card-link--right {
    width: 80%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* card-article */
.card-article-wrap {
    height: auto;
    width: 100%;
    max-width: 325px;
    overflow: hidden;
}

.card-article-wrap a {
    height: auto;
    width: 100%;
    max-width: 325px;
    overflow: hidden;
}

.card-article-cover {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    max-height: 178px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

.card-article-cover img {
    width: 100%;
    transition: transform 300ms;
}

.card-article-wrap:hover .card-article-cover img {
    transform: scale(1.05);
    transition: transform 300ms;
}

.card-descript {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* mobile card */
.m_card-item {
    display: flex;
    width: 100%;
    margin-bottom: 8px;
    padding: 8px;
    background-color: white;
    border-radius: 8px;
    filter: drop-shadow(0px 2px 10px rgba(34, 29, 86, 0.04));
}

.m_card-cover {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin-right: 10px;
    border-radius: 8px;
}

.m_card-cover img {
    width: 100%;
}

.m_card-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2px;
    width: 100%;
}

.m_card-title {
    color: var(--gray-800);
    height: 41px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.m_card-date,
.m_card-location,
.m_card-time {
    color: var(--gray-500);
}

.m_card-location,
.m_card-time {
    display: flex;
    align-items: center;
    gap: 4px;
}

.m_card-price {
    color: var(--primary-600);
    display: flex;
    justify-content: flex-end;
}

.m_card-descript {
    color: var(--gray-500);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.m_card-more {
    color: var(--primary-600);
    text-decoration-line: underline;
}

/* content-expand */

.content-expand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 48px 0px;
    padding: 48px 0px;
    border-top: 1px solid var(--primary-600);
}

.content-expand-btn {
    min-width: 160px;

    display: flex;
    justify-content: center;
    align-items: center;
    margin: 16px 0px;
    padding: 8px 24px;

    color: var(--primary-600);

    border: 1px solid var(--primary-600);
    border-radius: 50px;
}

.content-expand-btn:hover {
    color: var(--primary-600);
    background-color: rgba(58, 93, 174, 0.1);
    ;
}

/* btn */

.btn-default {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 8px 0px;
    gap: 8px;
    border-radius: 4px;
    color: #FFF;
    background-color: var(--primary-600);
}

.btn-default:hover {
    color: #FFF;
    background-color: var(--primary-500);
}

.btn-line {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 4px 12px;
    gap: 8px;
    border: 1px solid var(--primary-600);
    border-radius: 4px;
    color: var(--primary-600);
}

.btn-line:hover {
    color: var(--primary-600);
    opacity: 80%;
}

.btn-line-white{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 4px 12px;
    gap: 8px;
    border: 1px solid var(--white);
    border-radius: 4px;
    color: var(--white);
}

.btn-line-white:hover{
    color: var(--white);
    opacity: 80%;
}

.btn-line-gray--round {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 4px;
    gap: 8px;
    color: var(--gray-500) !important;
    border: 1px solid var(--gray-500) !important;
    border-radius: 100px;
}

.btn-mobile-link {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: #FFFFFF;
    border-bottom: 1px solid #F1F0F6;
    color: #181818;
}

.btn-mobile-link__title {
    margin-top: 24px;
    margin-bottom: 16px;
    color: #606060;
}

.btn-mobile-link:hover {
    color: #181818;
    background: #FAFAFC;
}

@media screen and (max-width: 960px) {
    .btn-mobile-link__title {
        padding-left: 8px;
    }
}

.btn-underline {
    color: var(--primary-600);
    text-decoration-line: underline;
}

.btn-underline:hover {
    color: var(--primary-800);
}

/*popup*/
.popup-mask {
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    display: none;
    z-index: 9999;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
}

/* popup */

.popup {
    max-width: 600px;
    width: 70%;
    position: fixed;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    background: #FFFFFF;
    padding: 30px;
    border-radius: 4px;
    text-align: center;
}

.popup__title {
    color: #192464;
    margin-bottom: 16px;
}

.popup__content {
    color: #606060;
    margin-bottom: 16px;
}