﻿@charset "UTF-8";
.bg-detail.is-single .l-sidebar {
	display: none;
}
.bg-detail.is-single .l-main {
	margin-left: auto;
	margin-right: auto;
	width: auto !important;
	max-width: 600px !important;
}
.bg-detail.is-single .l-main .c-detail-head {
	padding: 0;
}
.bg-detail.is-single .l-main .c-news-detail {
  padding: 0;
}
.onecms__live{
    padding-left:0 !important;
}
@media (min-width: 992px) {
    .bg-detail.is-single .c-share-scroll.has-fixed {
	/*position: absolute;*/
  }
  .entry .sc-longform-header-no-bg-img {
	padding-top: 150px;
  }
}
.invisible-box {
	opacity: 0;
	pointer-events: none;
}

/*new*/
.onecms_load_view.fadeout {
	position: relative;
}
.onecms_load_view.fadeout::after {
	animation: shimmer 2s linear infinite reverse;
	background-image: -webkit-gradient(linear,left top,right top,from(#ddd),color-stop(5%,#eee),color-stop(6%,#ddd),color-stop(66%,#ddd),color-stop(71%,#eee),color-stop(72%,#ddd),to(#ddd));
	background-image: linear-gradient(90deg,#ddd,#eee 5%,#ddd 6%,#ddd 66%,#eee 71%,#ddd 72%,#ddd);
	background-size: 300% 100%;
	bottom: 0;
	content: "";
	display: block;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 99;
}
@keyframes shimmer {
	0% {
		background-position: 0 0;
	}

	100% {
		background-position: 100% 0;
	}
}
/*.entry, .entry p, .entry h2, .entry h3, .entry h4, .entry blockquote,
.entry address, .entry blockquote, .entry dl,
.entry figure, .entry ol, .entry p, .entry pre, .entry table, .entry ul,
.entry .image-responsive, .entry .grid,
.entry .sc-longform-header-default-normal .sc-longform-header-text {
	max-width: 730px;
}*/

.login_lang {display: flex}
#mnMember {padding: 0;margin: 0 20px 0 0}
#mnMember li {list-style: none;display: block}
.msg {position: fixed; top: 20px;right: 20px;padding: 20px 30px; border-radius: 6px; font-size: 16px; color: white;z-index: 10000; opacity: 0; transition: opacity 0.3s;}
.msg.show { opacity: 1; }
.msg.success { background: #28a745; }
.msg.error { background: #dc3545; }
.msg.warning { background: #ffc107; color: #212529; }
.msg.info { background: #17a2b8; }
.msg.default { background: #6c757d; }
#btn_ShowLoginModal {line-height: 20px}
/* Modal Login Styles */
.modal-login {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal-login.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-login-content {
    background-color: #fff;
    border-radius: 12px;
    padding: 0;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: slideDown 0.3s ease;
    position: relative;
}

.modal-login-close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #999;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.modal-login-close:hover,
.modal-login-close:focus {
    color: #333;
}

.modal-login-header {
    padding: 30px 30px 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.modal-login-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.modal-login-body {
    padding: 30px;
}

.btn-google-login {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 24px;
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    color: #3c4043;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-google-login:hover {
    background: #0069d9;
    border-color: #0062cc;
    color: white
}

.btn-google-login:active {
    background: #f1f3f4;
}

.btn-google-login svg {
    flex-shrink: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
@media(max-width: 993px){
    #mnMember {width: 100px;margin-right: 5px}
    #mnMember .btn-primary {max-width: 100px;overflow: hidden}
}
@media (max-width: 768px) {
    .modal-login-content {
        width: 95%;
        margin: 20px;
    }

    .modal-login-header {
        padding: 25px 20px 15px;
    }

    .modal-login-header h2 {
        font-size: 20px;
    }

    .modal-login-body {
        padding: 20px;
    }
    #mnMember .btn-primary {padding: 6px}
}