@import url('https://fonts.googleapis.com/css2?family=Mitr:wght@300;400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500&display=swap');
body {
    background-image: url(/assets/images/Slide1.PNG);
    background-repeat: repeat;
    background-position: top center;
    background-attachment: fixed;
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
    width: 100%;
    height: 100%;
    padding-top: 5px;
}



.font1 {
    font-family: 'Mitr', sans-serif;
}

.font2,
.sweet-alert {
    font-family: 'Prompt', sans-serif;
}

.f300 {
    font-weight: 300;
}

.fs14 {
    font-size: 14px;
}

.fs12 {
    font-size: 12px;
}

.container.header {
    margin-top: 5px;
    margin-bottom: 5px;
}

.header-logo img,
.header-logo-aac img {
    height: 110px;
}

.header-logo .h1 {
    font-size: 35px;
    color: #6f4eb7;
    text-shadow: 1px 1px 0 black;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: white;
}

.header-logo .h2 {
    font-size: 24px;
    color: #fd154f;
    -webkit-text-stroke-width: 0.5px;
    -webkit-text-stroke-color: white; 
}

/*ส่วนของ Navbar*/

.navbar-brand strong {
    font-weight: bolder;
    letter-spacing: 0.5px;
    color:#FF0000;
    font-size: 13px;
    -webkit-text-stroke-width: 0.5px;
    -webkit-text-stroke-color: white; 
    
}

.navbar-brand img {
    height: 28px;   
}


.custom-toggler.navbar-toggler {
  border-color: rgb(255,102,203);

} 

.navbar-dark {
    background-color: #2356ffd5;
    font-weight: 300;
    font-size: 14px;
}

.navbar-dark .dropdown-menu {
    font-size: 12px;
    font-weight: 300;
    border: dotted 1px #0d92ff;
    border-radius: 0 0 15px 15px;
}

.navbar-dark .dropdown-menu .fa-caret-right {
    color: #e4513f;
}

.btn-danger.deeppink {
    background-color: #e4513f;
    border-color: #e4513f;
}

.marquee {
    font-weight: 300;
    font-size: 14px;
    vertical-align: -webkit-baseline-middle;
    color: #e4513f;
}

.box-group {
    box-shadow: 0 0 5px rgba(0, 0, 0, .09);
    background-color: rgba(255, 255, 255, .5);
    border: none;
}

.bg-none {
    background: none;
}

.list-img {
    width: 70px;
    float: left;
    margin-right: 5px;
}

.row-small {
    margin-left: -7px;
    margin-right: -7px;
}

.col-small {
    padding-left: 7px;
    padding-right: 7px;
}

.welcome-page .carousel img {
   
  height: 394px;
    width: 3%;
}

.welcome-page .carousel-inner {
    border: solid 2px rgba(255, 255, 255, .5);
}

.footer-image img {
    width: 100%;
}

.footer-image a {
    width: 14.285714285714286%;
    display: block;
    padding-left: 7px;
    padding-right: 7px;
}

.footer-image .d-flex {
    margin-left: -7px;
    margin-right: -7px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    padding-left: 1rem;
}

.footer-menu-link a,
.footer-menu-link a:hover {
    text-decoration: none;
}

.footer-menu-link a {
    color: black;
}

.footer-menu-link a .fa {
    color: #e4513f;
}

.footer-menu-link a:hover span {
    text-decoration: underline;
}

li.finance-menu-link {
    margin-bottom: 13px;
    padding: 0;
}

.footer-menu .row .col-small:first-child .h6 {
    text-align: left;
}

.footer-menu .row .col-small .h6 {
    text-align: center;
}

.footer-menu .row .col-small:last-child .h6 {
    text-align: right;
}

.btn-red {
    color: white;
    background-color: #e4513f;
    border-color: #e4513f;
}

.btn-red:hover {
    color: white;
    background-color: #a34235;
    border-color: #a34235;
}

.btn-purple {
    color: white;
    background-color: #227aff;
    border-color: #227aff;
}

.btn-purple:hover {
    color: white;
    background-color: #2356ff;
    border-color: #2356ff;
}

.text-red {
    color: #e4513f;
}

.text-purple {
    color: #227aff;
}

.welcome-tabs .nav-link {
    margin-right: 5px;
    background-color: #227aff;
    color: white;
}

.welcome-tabs .nav-link.active {
    color: #227aff;
    border-color: #227aff;
    border-bottom: none;
}

.welcome-tabs .nav-link:not(.active) {
    border: solid 1px #59428b !important;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-list li:after {
    content: '';
    display: block;
    clear: both;
}

.news-list li:not(:last-child) {
    margin-bottom: 15px;
    border-bottom: 1px solid #dee2e6;
}

.news-text h6,
.news-text h6 a {
    color: #6f4eb7;
}

.news-img {
    float: left;
    width: 100px;
    height: 80px;
    margin-right: 1rem;
}

.list-group-list {
    height: 221px;
    overflow-y: auto;
}

.nowrap {
    white-space: nowrap;
}

.image-link img {
    height: 160px;
}

.border-purple {
    border-color: #6f4eb7 !important;
}

.fb-page>span {
    width: 100% !important;
}

.swipe-img-item {
    cursor: pointer;
}

.dbsubmenu-link {
    cursor: pointer;
}

.dbsubmenu {
    display: none;
    position: absolute;
    width: 170px;
    right: -170px;
    top: 0;
    background: rgb(241, 0, 0);
    border: dotted 1px black;
    list-style: none;
    padding: 5px;
    margin: 0;
    border-radius: 5px;
}

.dbsubmenu-link:hover+.dbsubmenu,
.dbsubmenu:hover {
    display: block;
}

.dbsubmenu li a {
    display: block;
    width: 100%;
    padding: .25rem 0.5rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dbsubmenu li a:hover {
    color: #16181b;
    text-decoration: none;
    background-color: #300024;
}

.news-list-inline {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-list-inline:after {
    content: '';
    display: block;
    clear: left;
}

.news-list-inline li {
    width: calc(25% - 20px);
    margin-right: 10px;
    margin-left: 10px;
    float: left;
    border: solid 1px #c5c1cc;
}

.news-list-inline li:hover {
    border-color: #6f4eb7;
}

.news-img-container {
    overflow: hidden;
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-img-container img {
    width: 100%;
    height: 100%;
}

.news-list-inline li:hover img {
    transform: scale(1.1);
}

.news-list-inline .news-text a {
    font-size: 14px;
    font-weight: 300;
    text-decoration: none;
}

.news-list-inline li,
.news-img-container img {
    transition: all ease-in-out 0.2s;
}

.welcome-page .news-text h1,
.welcome-page .news-text h2,
.welcome-page .news-text h3,
.welcome-page .news-text h4,
.welcome-page .news-text h5,
.welcome-page .news-text h6 {
    font-size: 14px;
    font-weight: 300;
}


@media screen and (max-width: 1024px) {
    .news-list-inline li {
        width: calc(33.333333333333336% - 20px);
    }
}

@media screen and (max-width: 768px) {
    .dbsubmenu {
        border: none;
        position: static;
        width: 100%;
        padding-left: 30px;
    }

    .news-list-inline li {
        width: calc(50% - 20px);
    }
    .welcome-page .carousel img {
        height: 80%;        
    }
}

@media screen and (max-width: 767px) {
    .news-list-inline li {
        width: calc(100%);
        margin-left: 0;
        margin-right: 0;
    }

    .w-xs-100 {
        width: 100% !important;
    }
    .welcome-page .carousel img {
        height: 80%;        
    }
}