/* Global color
Blue : #2e2f7a (46, 47, 122)
Pink : #E90E8B (233, 14, 139)
Green : #74BE45 (116, 190, 69)
Yellow : #F69321 (246, 147, 33)
Gray : #868585 (134, 133, 133) */
/* Global font family & font size */
html,
body {
    font-family: "Kanit", sans-serif;
    font-size: 16px !important;
    letter-spacing: 0.35px;
    /* background-color: #fefefe !important; */
    max-width: 100vw;
    overflow-x: hidden;
}

.color-gradiant {
    content: 'content mock';
    width: 100%;
    background: linear-gradient(90deg, #E90E8B 0%, #74BE45 50%, #F69321 100%);
    position: absolute;
    top: 0;
    left: 0;
}

.col-lg a.footer-desktop {
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
    font-weight: 600;
    float: left;
    margin-bottom: 10px;
}

.col-lg h2 a.footer-desktop {
    margin-bottom: 12px;
    line-height: 1.7;
}

.col-lg-auto a.footer-desktop {
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    font-weight: 600;
    float: left;
    margin-bottom: 10px;
}

/* custom light gallery css */
#lightgallery div a {
    cursor: zoom-in;
}

#lightgallery div a img {
    transition: 0.4s;
}

#lightgallery div a:hover img {
    filter: opacity(0.7);
}

/* Placeholder css custom color */
::placeholder {
    color: #cfcfcf;
    /* Firefox */
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #cfcfcf;
}

::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #cfcfcf;
}

/* ---------- Bootstrap override or Define similar class -------------- */
.btn {
    border-radius: 0.6rem;
    padding: 0.2em .5em 0.3em .5em;
    z-index: 2;
}

.btn-group-lg>.btn {
    border-radius: 0.6rem;
    padding: 0.8em .7em 0.75em .7em;
}

.btn-yellow {
    background-color: #f69321;
    color: white;
    transition: all 0.3 ease;
}

.btn-yellow:hover {
    color: white;
    background: rgba(246, 147, 33, 0.85);
}

.btn-green {
    background-color: #74be45;
    color: white;
    transition: all 0.3 ease;
}

.btn-green:hover {
    color: white;
    background: rgba(116, 190, 69, 0.85);
}

.btn-pink {
    background-color: #e90e8b;
    color: white;
    transition: all 0.3 ease;
}

.btn-pink:hover {
    color: white;
    background: rgba(233, 14, 139, 0.85);
}

.btn-blue {
    background-color: #2e2f7a;
    color: white;
    transition: all 0.3 ease;
}

.btn-blue:hover {
    color: white;
    background: rgba(46, 47, 122, 0.85);
}

/* Animate underline link */
.navbar .nav-link {
    /* color: white !important; */
    font-weight: 400;
    transition: all 0.4s ease;
}

.navbar .nav-link span {
    position: relative;
}

.navbar .nav-link span:after {
    content: "";
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1.7px;
    bottom: -3.5px;
    left: 0;
    background-color: #E90E8B;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.navbar .nav-link:hover span:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.navbar .nav-link.active {
    font-weight: 400;
}

/*---------------- Global Banner section (img + navigate) ------------------*/
#banner .img {
    min-height: 280px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.banner-topic {
    color: white;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav.text-nav {
    color: white;
    font-size: 1rem;
    /* margin-top: -.5rem; */
}

.nav.text-nav .nav-item .nav-link {
    color: white;
}

.nav.text-nav .nav-item .nav-link span {
    position: relative;
}

.nav.text-nav .nav-item .nav-link span:after {
    content: "";
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1.7px;
    bottom: -3.5px;
    left: 0;
    background-color: white;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.nav.text-nav .nav-item .nav-link:hover span:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.line-white-under-navigate {
    content: '';
    min-height: 3px;
    width: 5rem;
    margin-top: .5rem;
    background-color: white;
    opacity: .7;
}

/*---------------- Global Banner section (blue pure) ------------------*/
#banner-blue {
    position: relative;
    margin-top: 100px;
    height: 134px;
    background-color: #2e2f7a;
    z-index: -1;
}

#banner-blue h3 {
    position: absolute;
    width: 100%;
    top: 50%;
    margin-top: -0.5rem;
    transform: translate(0px 50%);
    text-align: center;
    color: white;
    font-size: 2rem;
}

/* Box color for test */
.red-box {
    border: 1.2px solid red;
}

.green-box {
    border: 1.2px solid green;
}

.yellow-box {
    border: 1.2px solid yellow;
}

.blue-box {
    border: 1.2px solid blue;
}

/* Background global class */
.bg-blue {
    background-color: #2e2f7a !important;
}

a.inherit-color {
    color: inherit;
}

p.text-topic {
    color: #3d3d42;
    font-size: 2.5rem;
    font-weight: bold;
    float: left;
}

span.text-topic-2 {
    color: #3d3d42;
    font-size: 1.35rem;
    font-weight: 400;
    float: left;
}