﻿/*.dropdown:hover > .dropdown-menu {
    display: block;
}*/


.dropdown:hover > .drop-hover {
    display: block;
}

.di {
    position: absolute;
    margin-top: 10px;
    margin-left: 10px;
}

.datepicker table tr td.today {
    color: #000000;
    background-color: #ffdb99;
    border-color: #ffb733;
}

.vertical-center {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.thumbcrop {
    position: relative;
    width: 180px;
    height: 180px;
    overflow: hidden;
}

    .thumbcrop img {
        position: absolute;
        left: 50%;
        top: 50%;
        height: 100%;
        width: 100%;
        -webkit-transform: translate(-50%,-50%);
        -ms-transform: translate(-50%,-50%);
        transform: translate(-50%,-50%);
    }

        .thumbcrop img.portrait {
            width: 100%;
            height: auto;
        }


.t-MyPhoto {
    width: 40px;
    height: 40px;
}

    .t-MyPhoto img {
        object-fit: cover;
        width: 40px;
        height: 40px;
        background-position: center center;
        background-size: cover;
    }

.m-MyPhoto {
    width: 40px;
    height: 40px;
}

    .m-MyPhoto img {
        object-fit: cover;
        width: 40px;
        height: 40px;
        background-position: center center;
        background-size: cover;
    }

.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -6px;
        margin-left: -1px;
        /*-webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;*/
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

    .dropdown-submenu > a:after {
        display: block;
        content: " ";
        float: right;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-left-color: #ccc;
        margin-top: 10px;
        margin-right: -10px;
    }

    .dropdown-submenu:hover > a:after {
        border-left-color: #fff;
    }

    .dropdown-submenu.pull-left {
        float: none;
    }

        .dropdown-submenu.pull-left > .dropdown-menu {
            left: -100%;
            margin-left: 10px;
            /*-webkit-border-radius: 6px 0 6px 6px;
        -moz-border-radius: 6px 0 6px 6px;
        border-radius: 6px 0 6px 6px;*/
        }

.cr:hover {
    cursor: pointer;
}

.HideFet {
    width: 30px;
}

    .HideFet:hover {
        cursor: pointer;
        filter: brightness(0.95);
    }

.iHover:hover {
    cursor: pointer;
    filter: brightness(0.8);
}

.bHover:hover {
    cursor: pointer;
    background-color: rgba(16,69,88,0.1);
    filter: brightness(0.8);
}

.blur {
    filter: brightness(0.4);
}

    .blur:hover {
        cursor: pointer;
        filter: brightness(0.8);
    }

.fa-sty {
    position: absolute;
    margin-top: 5px;
    margin-left: 9px;
    color:#696969;
}

.sp10 {
    padding-left: 10px;
}

.f12 {
    font-size: 12px;
}

.f14 {
    font-size: 14px;
}

.f16 {
    font-size: 16px;
}

.f18 {
    font-size: 18px;
}

.f20 {
    font-size: 20px;
}

.f22 {
    font-size: 22px;
}

.f24 {
    font-size: 24px;
}
.f32 {
    font-size: 32px;
}
.f36 {
    font-size: 36px;
}
.upHover {
    filter: brightness(1.8);
}

.u2Hover:hover {
    filter: brightness(1.5);
}

.u1Hover:hover {
    cursor: pointer;
    filter: brightness(1.2);
}

.a-ur {
    top: 0;
    left: 0;
}

    .a-ur:before {
        content: '';
        display: inline-block;
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
        border-bottom: 7px solid rgba(0, 0, 0, 0.15);
        border-top: 0;
        border-bottom-color: rgba(255, 255, 255, 0.95);
        position: absolute;
        margin-top: -15px;
        margin-left: 190px;
    }

    .a-ur:after {
        content: '';
        display: inline-block;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-bottom: 6px solid #ffffff;
        border-top: 0;
        position: absolute;
    }

.am-ur {

}

    .am-ur:before {
        content: '';
        display: inline-block;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 10px solid rgba(0, 0, 0, 0.15);
        border-top: 0;
        border-bottom-color: rgba(255, 255, 255, 0.95);
        position: absolute;
        margin-top: -18px;
        margin-left: 350px;
    }

    .am-ur:after {
        content: '';
        display: inline-block;
        border-left: 9px solid transparent;
        border-right: 9px solid transparent;
        border-bottom: 9px solid #ffffff;
        border-top: 0;
        position: absolute;
    }

.am-alert {
    top: 0;
    left: 0;
}

    .am-alert:before {
        content: '';
        display: inline-block;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 10px solid rgba(255, 255, 255, 0.0);
        border-top: 0;
        border-bottom-color: rgba(255, 255, 255, 0.95);
        position: absolute;
        margin-top: -18px;
        margin-left: 41px;
    }

    .am-alert:after {
        content: '';
        display: inline-block;
        border-left: 9px solid transparent;
        border-right: 9px solid transparent;
        border-bottom: 9px solid #ffffff;
        border-top: 0;
        position: absolute;
    }

/* ------------------------------------------------------------------------------ */
.previous {
    background-color: #F4F5F6;
    color: black;
}

.nxt {
    height: 40px;
    background-color: white;
    color: #2196f3;
    border: 1px solid #E4E5E6;
    border-radius: 3px 3px 3px 3px;
    transition: 0.3s;
}

    .nxt:hover {
        filter: brightness(0.90);
        border: 1px solid #56C6f3;
        cursor: pointer;
    }

.next {
    height: 40px;
    background-color: white;
    color: #2196f3;
    border: 1px solid #E4E5E6;
    border-radius: 3px 3px 3px 3px;
    margin-left: 5px;
    margin-right: 5px;
    transition: 0.3s;
}

    .next:hover {
        filter: brightness(0.90);
        border: 1px solid #56C6f3;
        cursor: pointer;
    }

.jump {
    color: #2196f3;
    height: 25px;
    background: rgba(255,255,255,0.0);
    border: 0px;
 /*   margin-left: 10px;*/
}

    .jump:hover {
        filter: brightness(0.90);
        cursor: pointer;
    }

.btnw80 {
    width: 80px;
}
.btnw100 {
    width: 100px;
}
.btnw120 {
    width: 120px;
}
/* ------------------------------------------------------------------------------ */
#scrUp {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 2000;
    font-size: 18px;
    border: none;
    outline: none;
    cursor: pointer;
    filter: brightness(0.9);
}

    #scrUp:hover {
        filter: brightness(0.7);
    }

#laList {
    border: 1px solid #F4F5F6;
    height: 340px;
    overflow: auto;
}

.labox {
    height: 75px;
    width: 100%;
}

.mview {
    line-height: 20pt;
    color: #0F4596;
    height: 57px;
    width: 90%;
    padding: 5px 5px 0px 10px;
    font-size: 16px;
    background-color: #F6F7F8;
    float: left;
    overflow: hidden;
}

.latime {
    color: #969696;
    height: 30px;
    border: 0px solid green;
    padding: 5px 0px 0px 10px;
    font-size: 16px;
    float: left;
}

.latitle {
    line-height: 20pt;
    color: #0F4596;
    height: 55px;
    width: 100%;
    padding: 5px 5px 0px 10px;
    font-size: 16px;
    background-color: #F6F7F8;
    float: left;
    overflow: hidden;
}

.hidden {
    float: right;
    margin-top: 15px;
    margin-right: 10px;
}

#latestbox {
    height: 400px;
    margin-top: 50px;
}

#latesthead {
    background-color: #E6E7FF;
    color: #462457;
    height: 50px;
    position: fixed;
    width: 270px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 50px;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal2 {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 150px;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(50,50,50,0.1);
}

.modal3 {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 50px;
    width: 100%;
    height: calc(100vh - 50px);
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modalLoad {
    position: fixed;
    z-index: 1001;
    padding-top: 150px;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(50,50,50,0.1);
}

.modalmob {
    position: fixed;
    z-index: 1001;
    padding-top: 250px;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(50,50,50,0.0);
}

.modal-contentwait1 {
    padding-top: 250px;
    width: 80px;
    height: 80px;
    margin: auto;
}

.modal-contentwait2 {
    padding-top: 250px;
    width: 40px;
    height: 40px;
    margin: auto;
}

.loader1 {
    border: 6px solid rgba(10,50,50,0.1);
    border-radius: 50%;
    border-top: 6px solid rgba(50,150,150,0.5);
    border-right: 6px solid rgba(50,150,150,0.5);
    width: 80px;
    height: 80px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
}

.loader2 {
    border: 6px solid rgba(10,50,50,0.1);
    border-radius: 50%;
    border-top: 6px solid rgba(50,150,150,0.5);
    border-right: 6px solid rgba(50,150,150,0.5);
    width: 40px;
    height: 40px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
}

.loader3 {
    float: left;
    margin-left: 10px;
    margin-top: 5px;
    border: 3px solid rgba(150,150,150,0.1);
    border-radius: 50%;
    border-top: 3px solid rgba(150,150,150,0.3);
    border-right: 3px solid rgba(150,150,150,0.3);
    width: 30px;
    height: 30px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
}

.loader4 {
    float: left;
    margin-left: 20px;
    margin-top: 20px;
    border: 5px solid rgba(150,150,150,0.1);
    border-radius: 50%;
    border-top: 3px solid rgba(50,50,50,0.3);
    border-right: 3px solid rgba(50,50,50,0.3);
    width: 50px;
    height: 50px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
}

.loader5 {
    border: 16px solid rgba(10,50,50,0.1);
    border-radius: 50%;
    border-top: 16px solid rgba(50,150,150,0.5);
    border-right: 16px solid rgba(50,150,150,0.5);
    width: 180px;
    height: 180px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.ro90 {
    -moz-transform: rotate(+90.0deg); /* FF3.5+ */
    -o-transform: rotate(+90.0deg); /* Opera 10.5 */
    -webkit-transform: rotate(+90.0deg); /* Saf3.1+, Chrome */
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0.083); /* IE6,IE7 */
    -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0.083)"; /* IE8 */
}

.ro-90 {
    -moz-transform: rotate(-90.0deg); /* FF3.5+ */
    -o-transform: rotate(-90.0deg); /* Opera 10.5 */
    -webkit-transform: rotate(-90.0deg); /* Saf3.1+, Chrome */
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0.083); /* IE6,IE7 */
    -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0.083)"; /* IE8 */
}

.st-l {
    color:#696969;
    background-color:rgba(0,0,0,0);
    border:0px;
    padding:-5px;
}
    .st-l:hover {
        color: rgba(11,121,242,1.0);
    }

.scroll-y1::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 0px rgba(0,0,0,0.0);
    background-color: rgba(244,245,246,0.2);
}

.scroll-y1::-webkit-scrollbar {
    width: 1px;
    background-color: rgba(244,245,246,0.2);
}

.scroll-y1::-webkit-scrollbar-thumb {
    background-color: rgba(244, 245, 246,1.0);
}

.scroll-y3::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.0);
    background-color: rgba(244,245,246,0.2);
}

.scroll-y3::-webkit-scrollbar {
    width: 6px;
    background-color: rgba(244,245,246,0.2);
}

.scroll-y3::-webkit-scrollbar-thumb {
    background-color: rgba(244, 245, 246,1.0);
}

.scroll-y3p:focus {
    border-color: #4624CC99;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px #4624CC60;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px #4624CC60;
}
.scroll-y3p > option:hover {
    background-color:#00FF00;
}

.scroll-y3p::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.0);
    background-color: rgba(244,245,246,0.2);
}

.scroll-y3p::-webkit-scrollbar {
    width: 6px;
    background-color: rgba(244, 245, 246,1.0);
}

.scroll-y3p::-webkit-scrollbar-thumb {
    background-color: #8684FFC0;
    border-radius: 3px;
}


.scroll-yr::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.0);
    background-color: #F4F5F6;
}

.scroll-yr::-webkit-scrollbar {
    width: 4px;
    background-color: #F4F5F6;
}

.scroll-yr::-webkit-scrollbar-thumb {
    background-color: rgba(11,121,242,0.5);
}

.scroll-y6::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.0);
    background-color: #F4F5F6;
}

.scroll-y6::-webkit-scrollbar {
    width: 6px;
    background-color: #F4F5F6;
}

.scroll-y6::-webkit-scrollbar-thumb {
    background-color: #C1D2E3;
    border-radius: 3px;
}

.fin img {
    /*position: absolute;*/
    -webkit-transition: opacity 2s ease-in-out;
    -moz-transition: opacity 2s ease-in-out;
    -o-transition: opacity 2s ease-in-out;
    transition: opacity 2s ease-in-out;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

.btn-x {
    border:0px;
    background:rgba(0,0,0,0);
}
.x-color {
    color: rgba(50,50,50,0.4);
}
.x-color:hover {
    color: dimgrey;
}

.mh {
    color: rgba(11,121,242,0.5);
}
    .mh:hover {
        cursor: pointer;
        filter: brightness(0.8);
        background-color: rgba(11,121,242,0.05);
    }

.aniload {
    margin: 0;
    width: 100%;
    height: 100vh;
    font-family: "Exo", sans-serif;
    color: #fff;
    background: linear-gradient(-45deg, #F7F8F9, #F4F8F9, #F0F5F6, #F5F0F6);
    background-size: 400% 400%;
    animation: gradientBG 1s ease infinite;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.anime1, .anime2 {
    margin: 0;
    width: 100%;
    height: 100vh;
    font-family: "Exo", sans-serif;
    color: #fff;
    background: linear-gradient(-45deg, #f4f3f7, #f1f0f5, #efecf3, #e9eaf3);
    background-size: 400% 400%;
    animation: gradientBG 1s ease infinite;
}

.anime3 {
    margin: 0;
    width: 100%;
    height: 100vh;
    font-family: "Exo", sans-serif;
    color: #fff;
    background: linear-gradient(-45deg, #e4e3e7, #e1e0e5, #dfdce3, #d9dae3);
    background-size: 400% 400%;
    animation: gradientBG 1s ease infinite;
}


@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}



.btnmob {
    display: none;
    position: absolute; /* All 'absolute'ly positioned elements are relative to this one */
    margin-left: 30px;
    margin-top: -65px;
    background-color: #fa3a33;
    border: 0px;
    border-radius: 50%;
    color: white;
    width: 40px;
    height: 40px;
    padding-top: 10px;
    text-align: center;
    font-size: 36px;
    line-height: 1rem;
}


.loader,
.loader:before,
.loader:after {
    border-radius: 50%;
}

.loader {
    color: #ffffff;
    font-size: 11px;
    text-indent: -99999em;
    margin: 55px auto;
    position: relative;
    width: 10em;
    height: 10em;
    box-shadow: inset 0 0 0 1em;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}

    .loaderc1:before,
    .loaderc1:after {
        position: absolute;
        content: '';
    }

    .loaderc1:before {
        width: 5.2em;
        height: 10.2em;
        background: #0dc5c1;
        border-radius: 10.2em 0 0 10.2em;
        top: -0.1em;
        left: -0.1em;
        -webkit-transform-origin: 5.2em 5.1em;
        transform-origin: 5.2em 5.1em;
        -webkit-animation: load2 2s infinite ease 1.5s;
        animation: load2 2s infinite ease 1.5s;
    }

    .loaderc1:after {
        width: 5.2em;
        height: 10.2em;
        background: #0dc5c1;
        border-radius: 0 10.2em 10.2em 0;
        top: -0.1em;
        left: 5.1em;
        -webkit-transform-origin: 0px 5.1em;
        transform-origin: 0px 5.1em;
        -webkit-animation: load2 2s infinite ease;
        animation: load2 2s infinite ease;
    }

@-webkit-keyframes load2 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes load2 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.loaderc2 {
    font-size: 10px;
    margin: 50px auto;
    text-indent: -9999em;
    width: 11em;
    height: 11em;
    border-radius: 50%;
    background: #ffffff;
    background: -moz-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
    background: -webkit-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
    background: -o-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
    background: -ms-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
    background: linear-gradient(to right, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
    position: relative;
    -webkit-animation: load3 1.4s infinite linear;
    animation: load3 1.4s infinite linear;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}

    .loaderc2:before {
        width: 50%;
        height: 50%;
        background: #ffffff;
        border-radius: 100% 0 0 0;
        position: absolute;
        top: 0;
        left: 0;
        content: '';
    }

    .loaderc2:after {
        background: #0dc5c1;
        width: 75%;
        height: 75%;
        border-radius: 50%;
        content: '';
        margin: auto;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
    }

@-webkit-keyframes load3 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes load3 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.swapcolor {
    background-color: #edf2fa;
}
    .swapcolor:hover {
        background-color: #FF0;
    }
.z3 {
    z-index: 3
}

.mobile input {
    height:100px;
}
/*---------------------------- Mobile --------------------------------------*/
/*.ups {
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
    margin-right: 50px;
}

.ups3 {
    -webkit-transform: scale(3);
    transform: scale(3);
    margin-top: 10px;
    margin-left: 300px;
}

.us2 {
    -webkit-transform: scale(2.0);
    transform: scale(2.0);
}

.us3 {
    -webkit-transform: scale(3.0);
    transform: scale(3.0);
}*/
/*
.h100 {
    height:100px;
    font-size:40px;
}
.wha:hover {
    color: #FFFFFF;

}
.wha:hover {
    color: #F0FFFF;
    text-decoration: underline;
    cursor: pointer;
}

.txtSlLa {
    position: absolute;
    margin-top: -55px;
    color: #F4F5F6;
    line-height: 1.1;
    background-color: rgba(200,50,50,0.6);
    width:100%;
    height:100%;
}

.sHL {
    background-color: #DDDDDD;

}*/
/*----------------- For Search New Version --------------------------*/
.searchbtn {
    font-size: 12pt;
    border: 0px;
    background-color: white;
    color: #5f6368;    
}
    .searchbtn:hover {        
        font-weight:bold;
    }
.btnHide {
    border: 0px;
    background-color: white;
}
.btntool {
    font-size: 16px;
    border: 0px;
    background-color: white;
    color: #5f6368;
}


/*----------------- For latest --------------------------*/
.thumb-latest {
    width: 100px;
    text-align: center;
    vertical-align: middle;
}

    .thumb-latest img {
        display: block;
        max-width: 100%;
        max-height: 180px;
        width: auto;
        height: 180px;
        margin-left: auto;
        margin-right: auto;
        object-fit: scale-down;
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
    }


/*-------------- หน้าจอหลักใหม่ -------------------------*/

.mpm {
    border-bottom: 1px solid #7F5899;
    padding-top: 6px;
    padding-bottom: 6px;
}


/*----------- Mobile Only ------------------*/
.am-ul1 {
    top: 0;
    left: 0;
}

    .am-ul1:before {
        content: '';
        display: inline-block;
        border-left: 0;
        border-right: 10px solid rgba(0, 0, 0, 0.15);
        border-bottom: 10px solid transparent;
        border-top: 10px solid transparent;
        border-right-color: rgba(255, 255, 255, 0.95);
        position: absolute;
        margin-top: 75px;
        margin-left: -14px;
    }

.am-ul2 {
    top: 0;
    left: 0;
}

    .am-ul2:before {
        content: '';
        display: inline-block;
        border-left: 0;
        border-right: 10px solid rgba(0, 0, 0, 0.15);
        border-bottom: 10px solid transparent;
        border-top: 10px solid transparent;
        border-right-color: rgba(255, 255, 255, 1);
        position: absolute;
        margin-top: 115px;
        margin-left: -14px;
    }

.am-ul22 {
    top: 0;
    left: 0;
}

    .am-ul22:before {
        content: '';
        display: inline-block;
        border-left: 0;
        border-right: 10px solid rgba(0, 0, 0, 0.15);
        border-bottom: 10px solid transparent;
        border-top: 10px solid transparent;
        border-right-color: rgb(255, 255, 255);
        position: absolute;
        margin-top: 157px;
        margin-left: -14px;
    }

.am-ul3 {
    top: 0;
    left: 0;
}

    .am-ul3:before {
        content: '';
        display: inline-block;
        border-left: 0;
        border-right: 10px solid rgba(0, 0, 0, 0.15);
        border-bottom: 10px solid transparent;
        border-top: 10px solid transparent;
        border-right-color: rgba(255, 255, 255, 1);
        position: absolute;
        margin-top: 45px;
        margin-left: -14px;
    }

.am-ul4 {
    top: 0;
    left: 0;
}

    .am-ul4:before {
        content: '';
        display: inline-block;
        border-left: 0;
        border-right: 10px solid rgba(0, 0, 0, 0.15);
        border-bottom: 10px solid transparent;
        border-top: 10px solid transparent;
        border-right-color: rgba(255, 255, 255, 1);
        position: absolute;
        margin-top: 65px;
        margin-left: -14px;
    }

.am-ul5 {
    top: 0;
    left: 0;
}

    .am-ul5:before {
        content: '';
        display: inline-block;
        border-left: 0;
        border-right: 10px solid rgba(0, 0, 0, 0.15);
        border-bottom: 10px solid transparent;
        border-top: 10px solid transparent;
        border-right-color: rgba(255, 255, 255, 1);
        position: absolute;
        margin-top: 265px;
        margin-left: -14px;
    }

.am-ulx {
    top: 0;
    left: 0;
}

.am-ulx:before {
    content: '';
    display: inline-block;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid rgba(0, 0, 0, 0.15);
    border-top: 0;
    border-bottom-color: rgba(255, 255, 255, 0.95);
    position: absolute;
    margin-top: -16px;
    margin-left: 125px;
}

.smenu {
    position: relative;
}

.smenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    /*-webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;*/
}

.smenu > a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 10px;
    margin-right: -10px;
}

.smenu:hover > a:after {
    border-left-color: #fff;
}

.smenu.pull-left {
    float: none;
}

        .smenu.pull-left > .dropdown-menu {
            left: -100%;
            margin-left: 10px;
            /*-webkit-border-radius: 6px 0 6px 6px;
        -moz-border-radius: 6px 0 6px 6px;
        border-radius: 6px 0 6px 6px;*/
        }

.clr {
    clear: left;
}

.scrollx {
    display: flex; /*[1] */
    flex-wrap: nowrap; /* [1] */
    overflow-x: auto; /* [2] */
    -webkit-overflow-scrolling: touch; /* [3] */
    -ms-overflow-style: -ms-autohiding-scrollbar; /* [4] */
    white-space: nowrap;
}


    /* [6] */
    .scrollx::-webkit-scrollbar {
        display: none;
    }

/*.nav-item,
.vertical-align-middle {
    display: inline-block;
    vertical-align: middle;
}*/

/*----------------------------------------------------------------------------------------*/
/*---------------------------------- หน้าจอหลักใหม่ -----------------------------------------*/
/*------------------------------------ Deaktop -------------------------------------------*/
/*----------------------------------------------------------------------------------------*/
#navbar {
    padding: 0px;
    height: 56px;
    background: linear-gradient(to top,#4B2E9C 0%,#4B2E9C 75%,Black 25%,Black 100%);
}

#logo {
    width: 100px;
    top: 5px;
}

#bell {
    color: rgba(0,0,0,0.5);
    margin-top: 24px;
    margin-right: 10px;
    margin-left: 10px;
    font-size: 16pt;
}

#navbtn {
    margin-top: 50px;
    z-index: 3;
    background-color: #F4F5FF;
}


/*--------------------- ตัวเลขแจ้งเตือน --------------------------*/
.btnalt {
    display: none;
    position: absolute; /* All 'absolute'ly positioned elements are relative to this one */
    margin-left: 20px;
    margin-top: -35px;
    background-color: #fa3a33;
    border: 0px;
    border-radius: 50%;
    color: white;
    width: 18px;
    height: 18px;
    padding: 1px;
    text-align: center;
    font-size: 8pt;
    line-height: 1rem;
}
/*--------------- กล่องข้อความ "การแจ้งเตือน" --------------------*/
#drMsgL1 {     
    background-color: white;
    padding: 5px 10px 3px 5px;
    height: 35px;
    font-size: 13pt;
    position: fixed;
    width: 395px;
    margin-top: -5px;
    border-bottom: 1px solid #DDDDDD;
    border-radius: 5px 5px 0px 0px;
}
    #drMsgL1 > span {
        color: #242526;
    }
/*---------- กล่องข้อความ "ทำเครื่องหมายเป็นอ่านแล้ว" ---------------*/
.msgvisit {
    color: #385898;
}

    .msgvisit:visited {
        color: #007bff;
    }

    .msgvisit:hover {
        text-decoration: underline;
    }

.upmsg {
    font-size:12pt;
    float:right;
}

#dropMsg {
    margin-top: 30px;
    height: 340px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 0;
}
/*---------- กล่องข้อความ div ครอบ "ดูทั้งหมด" ---------------*/
#drMsgL3 {
    padding: 10px 10px 3px 5px;
    height: 35px;
    position: fixed;
    width: 395px;
    top: 430px;
    text-align: center;
    border-top: 1px solid #DDDDDD;
}
/*---------- กล่องข้อความ "ดูทั้งหมด" ---------------*/
#allnoti {
    font-size: 13pt;
}


/*------------------ dropdown แสดงเมนู และปุ่มสามเหลี่ยม ที่กล่องข้อความรูประฆัง -----------------------*/
.a-t {
    width: 400px;
    margin-left: -350px;
    background-color: rgba(255,255,255,0.95);
    height: 420px;
}

    .a-t:before {
        content: '';
        display: inline-block;
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
        border-bottom: 7px solid rgba(255, 255, 255, 0.0);
        border-top: 0;
        border-bottom-color: rgba(255, 255, 255, 0.95);
        position: absolute;
        margin-top: -15px;
        margin-left: 361px;
    }

    .a-t:after {
        content: '';
        display: inline-block;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-bottom: 6px solid #ffffff;
        border-top: 0;
        position: absolute;
    }
/*----------------------- dropdown แสดงเมนู และปุ่มสามเหลี่ยมที่ navbtn ---------------------------*/
.a-me {
}

    .a-me:before {
        content: '';
        display: inline-block;
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
        border-bottom: 7px solid rgba(0, 0, 0, 0.15);
        border-top: 0;
        border-bottom-color: rgba(255, 255, 255, 0.95);
        position: absolute;
        margin-top: -15px;
        margin-left: 10px;
    }

    .a-me:after {
        content: '';
        display: inline-block;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-bottom: 6px solid #ffffff;
        border-top: 0;
        position: absolute;
    }

.ls {
   margin-bottom:0px;
   margin-left:10px;
}

#subok {
    margin-top: 10px;
    margin-right: 15px;
    background-color: #4B2E9CBA;
    color: white;
    text-align: center;
    width:40%;
}
#subcan {
    margin-top: 10px;
    margin-right: 15px;
    margin-left: 15px;
    text-align: center;
    width: 40%;
}

.subdivide {
    margin: 0px;
    padding: 0px;
    height: 1px;
    border-top: 1px solid rgba(0,0,0,0.15);
}
.fav {
    font-size: 18pt;    
    display: none;
}
    .fav:hover {
        cursor: pointer;   
        color: #AC61F6;
    }
.ifav {
    font-size: 20pt;
}
    .ifav:hover {
        cursor: pointer;
        font-weight: bold;
    }

#bBan {
    font-size: 14pt;
    margin-left:-30px;
    color:#8888;
}

    #bBan:hover {
        cursor: pointer;
        font-weight: bold;
        color: #6610f2;
    }

/*.no-gutters {
    transform: scale(0.95);
}*/


.iban:hover {
    cursor: pointer;
    filter: brightness(1.4);
}
/*-----------------------------------------------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------------------------------------------*/
/*------------------ Control Search @Media -----------------------*/
@media (min-width: 1px) {
    #Left0, #Left1, #Left2 {
        width: 0;
    }
    #Right0, #Right1, #Right2 {
        width: 100%;
    }
}
@media (min-width: 777px) {
    #Left0, #Left1, #Left2 {
        width: 15%;
    }
    #Right0, #Right1 {
        width: 70%;
    }
    #Right2 {
        width: 85%;
    }
}
@media (min-width: 992px) {
    #Left0, #Left1, #Left2 {
        width: 20%;
    }
    #Right0, #Right1 {
        width: 60%;
    }
    #Right2 {
        width: 80%;
    }
}
@media (min-width: 1200px) {
    #Left0, #Left1, #Left2 {
        width: 25%;
    }
    #Right0, #Right1 {
        width: 50%;
    }
    #Right2 {
        width: 75%;
    }
}
/*----------------- Control Search Box & Toggler -------------------*/
@media (max-width: 833.98px) {
    #navbtn {
        height: auto;

    }
    #smallSearch {
        display: block;
    }
    #normalSearch {
        display: none;
    }
    .searchbtn, .btntool {
        font-size: 12pt;
    }
    .mr-auto {
        font-size: 12pt;
    }
    .fs {
        font-size: 12pt;
    }
    #dropmsub {
        margin-top:-200px;
    }
    .tool1, .tool2, .tool3 {
        width: 100%;
        margin-top: 15px;
    }
    .navbar-nav > .nav-item {
        padding: 8px 0px 8px 0px;
        border-top: 1px solid rgba(75, 46, 156,0.2);
    }
        .navbar-nav > .nav-item > .nav-link {
         /*   padding: 6px 0px 6px 0px;*/
            
        }
    .dropdown-item {
        padding: 8px 24px;
    }
    #navbtn {
        padding-top: 0px;
        padding-bottom: 0px;
    }
    .fsty {
        color:#F4F5F6;
        background-color: #4B2E9C;
        position: relative;
        left: 0px;
        right: 0px;
        font-size: 14px;
    }
    .modal-contentwait1 {
        padding-top: 140px;
    }
    #dropTopMenu > .dropdown-item {
        padding-top:8px;
        padding-bottom:8px;
    }

    .navbar-toggler::after {
        border-color: #4B2E9C;
    }
}

@media (min-width: 834px) {
    #navbtn {
        height: 47px;
        padding-bottom: 0px;
    }
    #smallSearch {
        height: 30px;
        display: none;
    }
    #normalSearch {
        display: block;
    }
    .searchbtn, .btntool {
        font-size: 16px;
    }
    .navbar-nav > .nav-item > .nav-link {
           padding: 8px 12px;
    }
    .mr-auto {
        font-size: 14px;
    }

    .fs {
        font-size: 14px;
    }
    .tool1 {
        width:115px;
        margin-top: 0px;
    }
    .tool2 {
        width: 180px;
        margin-top: 0px;
    }
    .tool3 {
        width: 150px;
        margin-top: 0px;
    }
    .fsty {
        color: #F4F5F6;
        background-color: #4B2E9C;
        position: relative;
        left: 0px;
        right: 0px;
        font-size: 12pt;
    }
    .modal-contentwait1 {
        padding-top: 250px;
    }
    .dline {
        width:1px;
        position: relative;
    }
        .dline:after {
            content: '';
            position: absolute;
            left: 0px;
            top: 25%;
            height: 50%;
            border-left: 1px solid #E4E5FA;
        }
}
/*----------------- Control Footer -------------------*/
#divMain {
    min-height: calc(100vh - 227px);
}

.group-wrap {
    width: 100%;
    z-index:0;
}
/*----------------- Infomation Message -------------------*/

@media (max-width: 575.98px) {
    .ocmBox {
        width:100%;
    }
    .infomsg {
        overflow: hidden;
        height: 175px;
    }
        .infomsg tbody {
            width: 250px;
        }

    #btnsub {
        /*ความสูงของกล่อง Subscription แบบ Mobile*/
        height: 1305px;             
        font-size: 15px;
        width: 245px;
        margin-top: -10px;
        background-color: rgba(255,255,255,0.98)
    }

    .chk {
        padding-left: 10px;
    }
}
@media (min-width: 576px) {
    .infomsg {
        width: 350px;
        height: 175px;
    }

    #subok {
        width: 45%;
    }

    #subcan {
        width: 45%;
    }

    #btnsub {
        min-height: 400px;
        font-size: 15px;
        width: 490px;
        margin-top: -10px;
        background-color: rgba(255,255,255,0.95);
    }
    .chk {
        padding-left: 10px;
    }
    .grid-wrap {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 6px 12px;
    }
        .grid-wrap .dropdown-item {
            display: flex;
            align-items: center;
        }
    #btnsub .full-width {
        margin-top: 10px;
        display: flex;
        justify-content: center;
        gap: 12px;
    }
}