body {
    color: #000000;
    background-color: #4f5961;
}

#contentData {
    color: #000000;
    min-height: calc(100vh - 328px);
}

/* HEADER */
.blockHeaderLogin {
    background-color: #F9F8FF;
    padding: 4px 0px 5px;
    position: relative;
}

.textHeaderLogin {
    font-family: 'Sarabun-SemiBold';
    color: #5A3B84;
}

.textHeaderSizeSmall {
    font-family: 'Sarabun-SemiBold';
    font-size: 14px;
    color: #5A3B84;
    margin-left: 5px;
    padding: 7px 7px 5px 7px;
    cursor: pointer;
}

.textHeaderSizeMiddle {
    font-family: 'Sarabun-SemiBold';
    font-size: 16px;
    color: #5A3B84;
    text-align: center;
    padding: 5px 7px 4px 7px;
    margin-left: 5px;
    cursor: pointer;
}

.textHeaderSizeLarge {
    font-family: 'Sarabun-SemiBold';
    font-size: 18px;
    color: #5A3B84;
    text-align: center;
    margin-left: 5px;
    padding: 3px 7px 4px 7px;
    cursor: pointer;
}

.textHeaderSizeSmall:hover:not(.active),
.textHeaderSizeMiddle:hover:not(.active),
.textHeaderSizeLarge:hover:not(.active),
.textHeaderSizeSmall:focus:not(.active),
.textHeaderSizeMiddle:focus:not(.active),
.textHeaderSizeLarge:focus:not(.active) {
    color: #5A3B84;
    text-decoration: underline;
}

.textHeaderSizeSmall.active,
.textHeaderSizeMiddle.active,
.textHeaderSizeLarge.active {
    background-color: #5A3B84;
    color: #ffffff;
    cursor: default;
}

.borderHeaderLogin {
    border-left: 1px solid #5A3B84;
    margin-left: 8px;
    margin-right: 10px;
    padding: 2px 0px 1px;
}

.textLinkHeaderLogin, .textLinkHeaderLoginIcon {
    font-family: 'Sarabun-SemiBold';
    color: #5A3B84;
}

.textLinkHeaderLoginIcon>i {
    margin-left: 5px;
}

.textLinkHeaderLogin:hover, .textLinkHeaderLogin:focus {
    color: #5A3B84;
    text-decoration: underline;
}

.textLinkHeaderLoginIcon:hover>span, .textLinkHeaderLoginIcon:focus>span {
    color: #5A3B84;
    text-decoration: underline;
}

.textLinkHeaderLoginIcon:hover>i, .textLinkHeaderLoginIcon:focus>i {
    color: #5A3B84;
}

.imgLanguage {
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin-left: 10px;
    margin-top: -3px;
}

.navbarSbs {
    border: none;
    border-radius: 0px;
    margin-bottom: 0px;
}


.blockHeaderColorLeft {
    position: absolute;
    width: 21%;
    background-color: #ffffff;
    height: 100%;
    left: 0px;
}

.navbar-headerSBS {
    position: relative;
}

.navbar-brandSBS {
    padding: 10px 0px 10px 15px;
}

.navbar-brandSBS>img {
    width: 120px;
    filter: brightness(0) invert(1);
}

.navbar-toggleSbs {
    background-color: #5A3B84;
}

.navbar-toggleSbs .icon-bar {
    background-color: #ffffff
}

.navbar-collapseSBS {
    width: 85%;
    float: right;
    padding: 0px;
}

.navbarSBS-nav {
    padding-top: 24px;
    max-width: 100%;
}

.navbarSBS-nav li a {
    font-family: 'Sarabun-SemiBold';
    color: #FFFD38;
}

.navbarSBS-nav>li>a:focus, .navbarSBS-nav>li>a:hover {
    text-decoration: none;
    background-color: transparent;
}

/*.navbarSBS-nav li:hover:not(.active) a,
.navbarSBS-nav li:focus:not(.active) a {
    color: #FFFD38;
    background-color: transparent;
    text-decoration: underline;
    background-color: #3A3A3A;
    border-radius: 5px;
}
*/
.navbarSBS-nav li:hover:not(.active) .hover-bg-not,
.navbarSBS-nav li:focus:not(.active) .hover-bg-not {
    color: #FFFD38;
    background-color: transparent !important;
    border-radius: 5px;
    text-decoration: underline;
}

.navbarSBS-nav li.active a,
.navbarSBS-nav li.active:hover a,
.navbarSBS-nav li.active:focus a {
    color: #D3B85D;
    background-color: transparent;
}

.navbarSBS-nav ul.dropdown-menu li a {
    font-family: 'Sarabun';
    color: #3D3D4E !important;
    text-decoration: unset !important;
}

/*.navbarSBS-nav .open>a, .navbarSBS-nav .open>a:focus, .navbarSBS-nav .open>a:hover {
    background-color: #5a3887;
    text-decoration: underline;
    border: none;
}*/

.navbarSBS-nav ul.dropdown-menu li:hover:not(.active) a, .navbarSBS-nav ul.dropdown-menu li:focus:not(.active) a {
    color: #5A3B84;
    text-decoration: underline !important;
}

/*.navbarSBS-nav ul.dropdown-menu li.active a, .navbarSBS-nav ul.dropdown-menu li.active:hover a, .navbarSBS-nav ul.dropdown-menu li.active:focus a {
    color: #ffffff !important;
    background-color: #5a3887;
}*/

/* HEADER */
/* NAVIGATION */
.blockNavigation {
    background-color: #E5E5E5;
    font-family: 'Sarabun-Medium';
    color: #5E5E5E;
    padding: 7px 0px;
}

.aNavigation, .aNavigation:hover, .aNavigation:focus {
    color: #5E5E5E;
    cursor: pointer;
}

.aNavigation.active, .aNavigation.active:hover, .aNavigation.active:focus {
    color: #5A3886;
}

.iconBetweenNavication {
    margin: 0px 3px;
}

/* NAVIGATION */
/* INDEX */
.blockBannerIndex {
    background-size: 100% 100%;
    background-repeat: no-repeat;
    height: 450px;
    position: relative;
}

.blockBannerIndexColorLeft {
    position: absolute;
    width: 50%;
    background-color: #ffffff;
    height: 100%;
    left: 0px;
}

/*.textSubjectBanner {
    font-family: 'Sarabun-Bold';
    color: #5A3887;
    padding-top: 25px;
}

.textSubjectBannerBottom {
    font-family: 'Sarabun-Bold';
    color: #5A3887;
    position: relative;
}*/

.textSubjectBannerBottom:after {
    content: '';
    position: absolute;
    width: 15%;
    border-bottom: 4px solid #D3B85D;
    bottom: 0;
    left: 0;
}

/*.textBanner {
    margin-top: 25px;
    color: #5A3887;
    font-family: 'Sarabun-Medium';
}*/

.blockIconBanner {
    background-color: #EAE9F2;
    padding: 13px 15px;
    border-radius: 50%;
    width: 55px;
    margin-left: auto;
    margin-right: auto;
}

/*.blockIconBanner>i {
    color: #5A3887;
}*/

/*.numberBottomIconBanner {
    font-family: 'Sarabun-Bold';
    margin-top: 5px;
    text-align: center;
    color: #5A3887;
}

.textBottomIconBanner {
    font-family: 'Sarabun-SemiBold';
    text-align: center;
    color: #5A3887;
}*/

.inputGroupSBSIndex {
    padding-top: 35px;
    padding-left: 35px;
}

.inputGroupSBSIndex .form-control {
    border-radius: 20px 0px 0px 20px;
    padding-left: 20px;
    box-shadow: none;
    border: none;
    font-family: 'Sarabun-Medium';
}

.inputGroupSBSIndex .form-control:focus {
    border: none;
    box-shadow: none;
}

.inputGroupSBSIndex .input-group-btn .btn {
    border-radius: 0px 20px 20px 0px;
    background-color: #ffffff;
    border: none;
    padding: 7px 15px;
}

.textSubjecIndex {
    font-family: 'Sarabun-Bold';
    color: #5A3D83;
    text-align: center;
}

.blockDataSetIndex {
    background-color: #FAF9FF;
    padding: 15px 0px;
}

.dataSetIndex {
    padding: 10px;
    width: 180px;
    margin-left: auto;
    margin-right: auto;
}

.dataSetIndex > .imgDataSetIndex {
    text-align: center;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dataSetIndex > .imgDataSetIndex img {
    width: 55px;
    margin-left: auto;
    margin-right: auto;
}

.dataSetIndex > .textDataSetIndex {
    text-align: center;
    margin-top: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 40px;
}

.dataSetIndex > .textDataSetIndex > a {
    color: #454545;
    font-family: 'Sarabun-Bold';
}

.dataSetIndex > .textDataSetIndex > a:hover, .dataSetIndex > .textDataSetIndex > a:focus{
    text-decoration: underline;
}

.dataSetIndex:hover, .dataSetIndex:focus {
    background: linear-gradient(0deg, rgba(101, 78, 163, 1) 0%, rgba(234, 175, 200, 1) 100%);
}

.dataSetIndex:hover > .textDataSetIndex > a, .dataSetIndex:focus > .textDataSetIndex > a {
    color: #ffffff;
}

.dataSetIndex:hover > .imgDataSetIndex img, .dataSetIndex:focus > .imgDataSetIndex img {
    filter: grayscale(100%) brightness(185%) sepia(100%) hue-rotate(20deg) saturate(500%) contrast(1);
}

.blockStatisticsIndex {
    padding: 15px 0px;
}

.blockNewsIndex {
    background-image: url("/static/sbs-themes/images/bg-news.4536895aab81.jpg");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    padding: 15px 0px 30px;
    height: 100%;
}

.blockNewsData {
    padding: 15px;
    background-color: #ffffff;
    margin-top: 10px;
}

.blockNewsData>.imgNewsDataIndex {
    height: 250px;
    width: 100%;
}

.blockNewsData>.imgNewsDataIndex img {
    max-height: 100%;
    width: 100%;
}

.blockNewsData .textNewsDataIndex {
    margin-top: 10px;
}

/*.blockNewsData .textNewsDataIndex>a {
    font-family: 'Sarabun-Bold';
    color: #5A3887;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 40px;
    line-height: 1.35em;
}
*/
.blockNewsData .textNewsDataIndex>a:hover,
.blockNewsData .textNewsDataIndex>a:focus {
    text-decoration: underline;
}

.dateNewsDataIndex {
    font-family: 'Sarabun-Bold';
    color: #4C87A4;
    margin-top: 15px;
}

.dataSetSilde.owl-theme .owl-nav .disabled{
    opacity: 0;
}


/*.dataSetSilde .owl-nav > .owl-prev > i {
    padding: 6px 12px 6px 9px;
    border-radius: 50%;
    border: 2px solid #5a3887;
    background-color: #000000;
    color: #ffffff;
}

.dataSetSilde .owl-nav > .owl-next > i {
    padding: 6px 9px 6px 12px;
    border-radius: 50%;
    border: 2px solid #5a3887;
    background-color: #000000;
    color: #ffffff;
}*/

.dataSetSilde.owl-theme .owl-nav [class*=owl-]:hover {
    background-color: transparent;

}
.dataSetSilde.owl-theme .owl-nav [class*=owl-]:hover > em {
    background-color: #000000;
    color: #FFFD38;
    text-decoration: none;
}

.dataSetSilde.owl-theme .owl-nav > .owl-next {
    right: -45px;
}

.dataSetSilde.owl-theme .owl-nav > .owl-prev {
    left: -45px;
}

/* INDEX */


/* SEARCH */
.blockFormSearch {
    background-color: #F7F6FF;
    padding: 15px 20px 17px 20px;
}

.inputGroupSearch .input-group-addon {
    border-radius: 0px;
    background-color: #ffffff;
    padding: 8px 0px 8px 8px;
    box-shadow: 0px 0px 5px 0px rgb(223 218 253);
    color: #000000;
}

.inputGroupSearch .form-control {
    border-left: 0;
    border-right: 0px;
    background-color: #ffffff;
    box-shadow: 4px 0px 5px 0px rgb(224 224 224);
    font-family: 'Sarabun-Medium';
    padding: 10px;
    height: 47px;
    color: #2B2B2B;
}

/* The container */
.checkbox-custom {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.checkbox-custom input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 5px;
    left: 0;
    height: 16px;
    width: 16px;
    background-color: #FFFD38;
    border-radius: 2px;
}

/* On mouse-over, add a grey background color */
.checkbox-custom:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.checkbox-custom input:checked ~ .checkmark {
    background-color: #000000;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.checkbox-custom input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.checkbox-custom .checkmark:after {
    left: 6px;
    top: 1px;
    width: 5px;
    height: 11px;
    border: solid white;
    border-width: 0px 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}



.inputGroupSearch .form-control:focus {
    box-shadow: 0px 0px 5px 0px rgb(224 224 224);
}

.inputGroupSearch .input-group-btn {
    box-shadow: 0px 0px 5px 0px rgb(224 224 224);
}

.inputGroupSearch .input-group-btn button {
    border-radius: 0px;
    border-left: 0px;
    color: #D3B84D;
    background-color: #5A3289;
    border-color: #ffffff;
    box-shadow: 0px 0px 5px 0px rgb(224 224 224);
    font-family: 'Sarabun-SemiBold';
    padding: 10px 25px;
}

.inputGroupSearch .input-group-btn:hover button,
.inputGroupSearch .input-group-btn:focus button {
    text-decoration: underline;
}

.textSearchOption {
    float: left;
    width: 29%;
    margin-top: 10px;
    text-align: left;
}

.selectSearchOption {
    float: left;
    border-radius: 0px;
    border: 1px solid #ffffff;
    box-shadow: 0px 0px 5px 0px rgb(224 224 224);
    height: 46px;
    width: 71%;
}

.clearSearchData {
    font-family: 'Sarabun-SemiBold';
    color: #5A3289;
    cursor: pointer;
}

.clearSearchData:hover, .clearSearchData:focus {
    color: #5A3289;
    text-decoration: underline;
}

.blockSubjectFilter {
    padding: 10px 0px;
    font-family: 'Sarabun-Bold';
    background-color: #5A3289;
    text-align: center;
    color: #ffffff;
}

.blockDataFilter {
    background-color: #F6F6F6;
    padding: 15px;
}

.dataFilter {
    font-family: 'Sarabun-Bold';
    background-color: #E6E3EC;
    padding: 10px 15px;
    color: #6D6D6D;
    position: relative;
}

.dataFilter:not(:first-child) {
    margin-top: 15px;
}

.filterData {
    color: #6D6D6D;
}

.filterData.active, .filterData:hover, .filterData:focus {
    color: #4E369A;
}

.filterData:hover:after, .filterData:after {
    position: absolute;
    content: '+';
    top: 35%;
    transform: translate(-50%, -50%);
    right: 5px;
    width: 10px;
    height: 10px;
}

.filterData.active:after {
    content: 'x';
    display: inline-block;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #5b3388;
    padding-left: 7px;
    padding-top: 0px;
    position: absolute;
    content: 'x';
    top: 50%;
    transform: translate(-50%, -50%);
    right: -5px;
    color: #e5e3eb;
}

.blockDataFilterChecked {
    text-align: left;
}

.blockDataFilterChecked:not(:last-child) {
    margin-bottom: 20px;
}

.dataFilterChecked {
    font-family: 'Sarabun-Bold';
    background-color: #e5e3eb;
    padding: 5px 30px 5px 15px;
    border-radius: 20px;
    color: #4e3699;
    position: relative;
    margin-right: 5px;
    margin-top: 5px;
    float: left;
}

.dataFilterChecked>a {
    color: #4e3699;
}

.dataFilterChecked:hover, .dataFilterChecked:focus,
.dataFilterChecked:hover>a, .dataFilterChecked:focus>a {
    color: #4e3699;
    text-decoration: underline;
}

.dataFilterChecked>a:after {
    content: 'x';
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #5b3388;
    padding-left: 6.5px;
    padding-top: 0px;
    position: absolute;
    content: 'x';
    top: 50%;
    transform: translate(-50%, -50%);
    right: -4px;
    color: #e5e3eb;
}

.blockFilterSearch:not(:first-child) {
    margin-top: 20px;
}

.blockFilterSearch:last-child {
    margin-bottom: 30px;
}

.moreFilter {
    margin-top: 10px;
    text-align: center;
    padding: 0px 0px 15px;
}

.moreFilter a {
    color: #42455C;
    font-family: 'Sarabun-Medium';
}

.moreFilter a>div:first-child {
    float: left;
    margin-left: 40%;
}

.moreFilter a:hover>div:first-child {
    text-decoration: underline;
}

.moreFilter a>div:last-child {
    float: left;
    margin-left: 7px;
    margin-top: -2px;
}

.moreFilter a>div.upData:last-child {
    float: left;
    margin-left: 7px;
    margin-top: 4px;
}

.checkBoxSbs {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 0px;
    cursor: pointer;
    user-select: none;
}

.checkBoxSbs input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkBoxMart {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: #F4F4F4;
    border: 2px solid #D5D5D5;
}

.checkBoxSbs:hover input~.checkBoxMart {
    background-color: #F4F4F4;
}

.checkBoxSbs input:checked~.checkBoxMart {
    background-color: #4E369A;
    border: none;
}

.checkBoxMart:after {
    content: "";
    position: absolute;
    display: none;
}

.checkBoxSbs input:checked~.checkBoxMart:after {
    display: block;
}

.checkBoxSbs .checkBoxMart:after {
    left: 6px;
    top: -2px;
    width: 10px;
    height: 21px;
    border-style: solid;
    border-color: #FFFD38;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.blockContentSearch {
    margin: 25px;
}

.textResults {
    color: #2B2B2B;
    font-family: 'Sarabun-SemiBold';
    margin-top: 11px;
}

.hightLightTextResults {
    color: #EB5351;
}

.textSelectLimitPage {
    color: #2B2B2B;
    font-family: 'Sarabun-SemiBold';
}

.selectLimitPage {
    border-radius: 0px;
    border: 1px solid #FFFD38;
    box-shadow: 0px 0px 5px 0px rgb(224 224 224);
    padding: 6px 12px;
    line-height: 1.42857143;
    margin-left: 10px;
}

.blockDataSearch {
    padding: 15px 15px 25px;
    box-shadow: 0px 0px 5px 0px rgb(224 224 224);
    background-color: #FFFD38;
}

.textSubjectDataSearch>a {
    font-family: 'Sarabun-SemiBold';
    color: #4E369A;
}

.textSubjectDataSearch>a:hover, .textSubjectDataSearch>a:focus {
    text-decoration: underline;
}

.textBottomSubjectDataSearch {
    font-family: 'Sarabun-Medium';
    color: #6D6D6D;
    margin-top: 10px;
}

.textDateDataSearch {
    font-family: 'Sarabun-Medium';
    color: #4986A4;
    margin-top: 10px;
}

.logoDataSetSearch em {
    margin-right: 10px;
    margin-top: 16px;
    color: #5A3289;
}

.fileDownloadSearch img {
    margin-right: 10px;
    margin-top: 5px;
    width: 32px;
}

.textHightLight {
    color: #D24559;
}

.blockPagination {
    text-align: right;
}

.blockPagination .pagination>li>a,
.blockPagination .pagination>li>span {
    font-family: 'Sarabun-Medium';
    color: #4C4490;
    background-color: #FFFD38;
    border: 1px solid #979797;
}

.blockPagination .pagination>li:hover:not(.active)>a,
.blockPagination .pagination>li:hover:not(.active)>a>i {
    text-decoration: underline;
}

.blockPagination .pagination>li.active>a {
    font-family: 'Sarabun-Medium';
    color: #FFFD38;
    background-color: #5A3289;
    border: 1px solid #979797;
}

.blockPagination .pagination>li:first-child>a, .pagination>li:first-child>span,
.blockPagination .pagination>li:last-child>a, .pagination>li:last-child>span {
    border-radius: 0px;
}

/* SEARCH */
/* NEWS */
/* NEWS */
/* DATASET */
.blockContentDataset {
    padding: 20px 0px;
}

.blockContentDataset .TabMain>li>a {
    border: none;
    background-color: transparent;
    color: #5A3885;
    min-width: 170px;
    text-align: center;
    font-family: 'Sarabun-SemiBold';
}

.blockContentDataset .TabMain>li:not(.active)>a:hover, .blockContentDataset .TabMain>li:not(.active)>a:focus {
    text-decoration: underline;
}

.blockContentDataset .TabMain li.active a {
    background: linear-gradient(90deg, rgba(101, 72, 165, 1) 0%, rgba(234, 171, 198, 1) 100%);
    border: none;
    border-radius: 0px;
    color: #FFFD38;
}

.blockContentDataset .tab-content {
    padding: 20px 0px 10px;
}

.textSubjectDataset {
    color: #5A3885;
    font-family: 'Sarabun-Bold';
}

.textBottomSubjectDataset {
    color: #454545;
    font-family: 'Sarabun-Bold';
    padding: 5px 0px;
}

.socialLogo {
    width: 32px;
}

.blockDescDataset {
    background-color: #F8F7FF;
    color: #454545;
    font-family: 'Sarabun-Medium';
    padding: 20px;
    margin-top: 7px;
    margin-bottom: 20px;
}

.blockDescDatasetTable {
    margin: 20px 0px 20px;
    padding: 20px 20px 0px;
    background-color: #FFFD38;
}

.TabSub>li {
    float: none;
    margin-bottom: 0px;
}

.TabSub>li .blockDownloadData {
    background-color: #5A3886;
    border: none;
    border-radius: 0px;
    width: 100%;
    cursor: pointer;
    font-family: 'Sarabun-SemiBold';
}

.TabSub>li .blockImgDownloadData>a,
.TabSub>li .blockTextDownloadData {
    color: #FFFD38;
}

.TabSub>li.active .blockImgDownloadData>a,
.TabSub>li.active .blockTextDownloadData {
    color: #000000;
}

.blockImgDownloadData {
    padding: 10px;
    text-align: center;
}

.blockTextDownloadData {
    padding: 10px 0px;
}

.TabSub>li.active .blockDownloadData {
    background-color: #F8F7FF;
    border: none;
    border-radius: 0px;
    width: 100%;
}

.TabSub>li.active>.blockDownloadData::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -20px;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 20px solid #5A3886;
    display: block;
    width: 0;
    z-index: 2;
}

.borderBlockImgDownloadData {
    border-bottom: 2px solid #E7E7E7;
    border-right: 2px solid #E7E7E7;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.borderBlockTextDownloadData {
    border-bottom: 2px solid #E7E7E7;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.blockDownloadData a {
    color: #000000;
    font-family: 'Sarabun-SemiBold';
}

.iconDownloadFile {
    width: 24px;
}

.textTopperTableSub {
    font-family: 'Sarabun-Bold';
    color: #000000;
    margin-bottom: 5px;
}

.textViewDataset {
    color: #5A3885;
    font-family: 'Sarabun-Bold';
}

.aFullScreen {
    color: #000000;
}

.aFullScreen:hover, .aFullScreen:focus {
    color: #5A3885;
}

.selectBlockFullScreen {
    width: 150px;
    display: inline;
    text-align-last: center;
}

.iconViewDataset {
    padding: 7px 7px 7px 8px;
    background-color: #FFFD38;
    color: #C6C6C6;
    border-radius: 50%;
    border: 1px solid #C6C6C6;
}

.iconViewDataset.active {
    padding: 7px 7px 7px 8px;
    background: linear-gradient(90deg, rgba(101, 72, 165, 1) 0%, rgba(234, 171, 198, 1) 100%);
    color: #fff;
    border-radius: 50%;
    border: 1px solid #FFFD38;
}

.TagDataSearch {
    background: linear-gradient(90deg, rgba(101, 72, 165, 1) 0%, rgba(234, 171, 198, 1) 100%);
    padding: 5px 15px;
    border-radius: 15px;
    color: #FFFD38;
}

.TagDataSearch:hover, .TagDataSearch:focus {
    color: #ffffff;
    text-decoration: underline;
}

.tableDataset tr th,
.tableDataset tr td {
    padding-left: 0px !important;
}

.tableDataset tr:first-child td, .tableDataset tr:first-child th {
    border-top: none;
}

.tableDataset tr:last-child td, .tableDataset tr:last-child th {
    border-bottom: 1px solid #dddddd;
}

.tableDatasetSub tr th,
.tableDatasetSub tr td {
    padding-left: 0px !important;
    font-family: 'Sarabun-SemiBold';
    color: #000000;
}

.tableDatasetSub tr:first-child td, .tableDatasetSub tr:first-child th {
    border-top: none
}

.tableDatasetSub tr:last-child td, .tableDatasetSub tr:last-child th {
    border-bottom: 1px solid #dddddd;
}

.blockRelatedDataset {
    margin-top: 20px;
}

.dataRelatedDataset {
    padding: 15px;
    background-color: #F8F7FF;
}

.textSubjectRelated>a {
    color: #194770;
    font-family: 'Sarabun-Medium';
}

.textSubjectRelated>a:hover, .textSubjectRelated>a:focus {
    text-decoration: underline;
}

.datasetRelatedImg {
    width: 32px;
    margin-right: 10px;
}

.datasetRelatedText {
    font-family: 'Sarabun-Bold';
    color: #454545;
    padding-top: 5px;
}

.datasetRelatedText:hover, .datasetRelatedText:focus {
    text-decoration: underline;
}

.descRelatedDataset {
    margin-top: 10px;
    color: #2B2B2B;
    font-family: 'Sarabun-Medium';
}

.dateRelatedDataset {
    margin-top: 10px;
    color: #2B2B2B;
    font-family: 'Sarabun-Medium';
}

.fileDownloadRelatedDataset {
    margin-top: 10px;
}

.fileDownloadRelatedDataset img {
    margin-right: 10px;
    margin-top: 5px;
    width: 36px;
}

/* DATASET */
/*FOOTER*/
.blockFooter {
    /*position: absolute;
    bottom: 0;
    width: 100%;*/
    /*height: 285px;*/
    /*height: 410px;*/
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    /*background: linear-gradient(90deg, rgba(66,39,90,1) 0%, rgba(78,58,153,1) 100%);*/
    /*background-color: #000000;*/
    background: linear-gradient(0deg, #000000 0%, rgba(33, 37, 41, 0.85) 100%);
    padding: 10px 0px;
}

.textDataFooter {
    /*font-family: 'Sarabun-Medium';*/
    font-family: 'Sarabun-Light';
    color: #FFFD38;
    text-align: center;
}

.iconFooter {
    text-align: center;
    color: #FFFD38;
    margin: 10px 0px;
}

.textDataFooter > a {
    color: #FFFD38;
}

.textDataFooter > a:hover,
.textDataFooter > a:focus {
    color: #FFFD38;
    text-decoration: underline;
}

.blockTextFooter a {
    color: #FFFD38;
}

.borderBetweenFooter {
    border-top: 1px solid #FFFD38;
    margin-top: 15px;
    margin-bottom: 10px;
}

.aIconFooterSocial {
    padding: 9px 8px;
    border-radius: 30px;
    margin: 0 5px;
    color: #fff;
    border: 1px solid #FFFD38;
}

.aIconFooterSocial > em,
.aIconFooterSocialProblemWidth > em {
    margin-left: 3px;
}

.aIconFooterSocialProblem {
    padding: 9px 11px;
    border-radius: 30px;
    margin: 0 5px;
    color: #fff;
    border: 1px solid #FFFD38;
}

.aIconFooterSocialProblemWidth{
    padding: 9px 6px;
    border-radius: 30px;
    margin: 0 5px;
    color: #fff;
    border: 1px solid #FFFD38;
}

.iconFooterSocial {
    color: #FFFD38;
    vertical-align: middle;
    display: inline-block;
    cursor: pointer;
}

.aIconFooterSocialProblemWidth.youtube:hover .fa-youtube.iconFooterSocial, .aIconFooterSocialProblemWidth.youtube:focus .fa-youtube.iconFooterSocial {
    color: #ff2b54;
}

.aIconFooterSocialProblemWidth.youtube:hover, .aIconFooterSocialProblemWidth.youtube:focus {
    border-color: #ff2b54;
}

.aIconFooterSocial.facebook:hover .fa-facebook-square.iconFooterSocial, .aIconFooterSocial.facebook:hover .fa-facebook-square.iconFooterSocial {
    color: #0673f7;
}

.aIconFooterSocial.facebook:hover, .aIconFooterSocial.facebook:focus {
    border-color: #0673f7;
}

.aIconFooterSocial.envelope:hover .fa-envelope.iconFooterSocial, .aIconFooterSocial.envelope:focus .fa-envelope.iconFooterSocial {
    color: #fd6a58;
}

.aIconFooterSocial.envelope:hover, .aIconFooterSocial.envelope:focus {
    border-color: #fd6a58;
}

.aIconFooterSocial.twitter:hover .fa-twitter-square.iconFooterSocial, .aIconFooterSocial.twitter:focus .fa-twitter-square.iconFooterSocial {
    color: #55acf2;
}

.aIconFooterSocial.twitter:hover, .aIconFooterSocial.twitter:focus {
    border-color: #55acf2;
}

.aIconFooterSocial.instagram:hover .fa-instagram.iconFooterSocial, .aIconFooterSocial.instagram:focus .fa-instagram.iconFooterSocial {
    color: #c53093;
}

.aIconFooterSocial.instagram:hover, .aIconFooterSocial.instagram:focus {
    border-color: #c53093;
}

.aIconFooterSocialProblem.line:hover .fa-line.iconFooterSocial, .aIconFooterSocialProblem.line:focus .fa-line.iconFooterSocial {
    color: #38cf00;
}

.aIconFooterSocialProblem.line:hover, .aIconFooterSocialProblem.line:focus {
    border-color: #38cf00;
}

.textHeaderFooter {
    font-family: 'Sarabun-Medium';
    color: #FFFD38;
    text-align: center;
}

/*FOOTER*/
#one-search::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #FFFD38 !important;
    opacity: 1;
    /* Firefox */
}

#one-search:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #FFFD38 !important;
}

#one-search::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #FFFD38 !important;
}

::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #D3D4D6 !important;
    opacity: 1;
    /* Firefox */
}

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

::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #D3D4D6 !important;
}

.btnDataset {
    border-radius: 0px;
    background-color: #5A3886;
    color: #FFFD38;
}

.btnDataset:hover, .btnDataset:focus {
    background-color: #FFFD38;
    color: #5A3886;
    border: 1px solid #5A3886;
}

.btnDatasetType {
    background-color: #065382;
    color: #FFFD38;
}

.btnDatasetType:hover, .btnDatasetType:focus {
    background-color: #FFFD38;
    color: #065382;
    border: 1px solid #065382;
}

.flexMiddle {
    display: flex;
    align-items: center;
}

.textColortPurple {
    color: #5A3885;
}

.bgPurple {
    background-color: #5A3886;
}

.bgWhite {
    background-color: #ffffff;
}

.ml-minus-3px {
    margin-left: -3px;
}

.ml-1px {
    margin-left: 1px;
}

.ml-2px {
    margin-left: 2px;
}

.mr-2px {
    margin-right: 2px;
}

.mr-3px {
    margin-right: 3px;
}

.mr-3_5px {
    margin-right: 3.5px;
}

.pb-1, .py-1 {
    padding-bottom: 0.5rem !important;
}

.pl-2, .px-2 {
    padding-left: 1rem !important;
}

.pb-2, .py-2 {
    padding-bottom: 1rem !important;
}

.pb-3, .py-3 {
    padding-bottom: 1.5rem !important;
}

.pb-4, .py-4 {
    padding-bottom: 2rem !important;
}

.pb-5, .py-5 {
    padding-bottom: 2.5rem !important;
}

.pb-6, .py-6 {
    padding-bottom: 3rem !important;
}

.pb-7, .py-7 {
    padding-bottom: 3.5rem !important;
}

.pb-8, .py-8 {
    padding-bottom: 4rem !important;
}

.pl-2, .px-2 {
    padding-left: 1rem !important;
}

.pl-3, .px-3 {
    padding-left: 1.5rem !important;
}

.pl-4, .px-4 {
    padding-left: 2rem !important;
}

.pl-5, .px-5 {
    padding-left: 2.5rem !important;
}

.pr-2, .px-2 {
    padding-right: 1rem !important;
}

.pr-3, .px-3 {
    padding-right: 1.5rem !important;
}

.pr-4, .px-4 {
    padding-right: 2rem !important;
}

.pr-5, .px-5 {
    padding-right: 2.5rem !important;
}

.pt-2, .py-2 {
    padding-top: 1rem !important;
}

.mt-1, .my-1 {
    margin-top: 0.5rem !important;
}

.mt-2, .my-2 {
    margin-top: 1rem !important;
}

.pl-0, .px-0 {
    padding-left: 0 !important;
}

.pl-0, .px-0 {
    padding-left: 0 !important;
}

.pr-0, .px-0 {
    padding-right: 0 !important;
}

.p-3 {
    padding: 1.5rem !important;
}

.mt-3, .my-3 {
    margin-top: 1.5rem !important;
}

.mt-4, .my-4 {
    margin-top: 2rem !important;
}

.mt-5, .my-5 {
    margin-top: 2rem !important;
}

.mt-6, .my-6 {
    margin-top: 2.5rem !important;
}

.mt-7, .my-7 {
    margin-top: 3rem !important;
}

.mr-2, .mx-2 {
    margin-right: 1rem !important;
}

.mr-3, .mx-3 {
    margin-right: 1.5rem !important;
}

.mb-2, .my-2 {
    margin-bottom: 1rem !important;
}

.mb-5, .my-5 {
    margin-bottom: 3.5rem !important;
}

.ml35px {
    margin-left: 35px !important;
}

.p-4 {
    padding: 2rem !important;
}

.m-0 {
    margin: 0 !important;
}

.ml-0 {
    margin-left: 0 !important;
}

.f-14 {
    font-size: 14px;
}

.f-16 {
    font-size: 16px;
}

.f-18 {
    font-size: 18px;
}

.f-20 {
    font-size: 20px;
}

.f-22 {
    font-size: 22px;
}

.f-24 {
    font-size: 24px;
}

.f-26 {
    font-size: 26px;
}

.f-28 {
    font-size: 28px;
}

.f-30 {
    font-size: 30px;
}

.text-white {
    color: #fff !important;
}

.rowFlex {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.align-self-center {
    -ms-flex-item-align: center !important;
    align-self: center !important;
}

.bg-white {
    background-color: #fff !important;
}

.mr-auto, .mx-auto {
    margin-right: auto !important;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.ds-none {
    display: none;
}

.ds-none-impt {
    display: none !important;
}

.text-balck {
    color: black !important;
}

.text-orange {
    color: #f57327 !important;
}

.position-relative {
    position: relative;
}

.text-nowrap {
    white-space: nowrap;
}

.row-eq-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.row-eq-heightFix {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.h-100 {
    height: 100%;
}

/* ON TOP */
.go-to-top {
    display: none;
}

.go-to-top .icon-bg {
    background-color: #2BD1A6;
    box-shadow: 0px 0px 9px 0px rgb(0 0 0 / 72%);
    border-radius: 5px;
    height: 45px;
    position: absolute;
    -webkit-transition: all .3s ease-out 0s;
    -moz-transition: all .3s ease-out 0s;
    -o-transition: all .3s ease-out 0s;
    -ms-transition: all .3s ease-out 0s;
    transition: all .3s ease-out 0s;
    width: 45px;
    cursor: pointer;
}

.go-to-top {
    background-color: transparent;
    bottom: 40px;
    height: 45px;
    margin: 0;
    position: fixed;
    right: 5%;
    width: 45px;
    z-index: 10000;
}

.go-to-top .back-to-top-text {
    color: #000000;
    font-size: 24px;
    font-weight: 400;
    left: 50%;
    opacity: 1;
    -moz-opacity: 1;
    filter: alpha(opacity=100);
    position: absolute;
    text-align: center;
    text-transform: uppercase;
    top: 50%;
    -webkit-transform: translate3d(-50%, -50%, 0px);
    -moz-transform: translate3d(-50%, -50%, 0px);
    -ms-transform: translate3d(-50%, -50%, 0px);
    -o-transform: translate3d(-50%, -50%, 0px);
    transform: translate3d(-50%, -50%, 0px);
    -webkit-transition: all .3s ease-out 0s;
    -moz-transition: all .3s ease-out 0s;
    -o-transition: all .3s ease-out 0s;
    -ms-transition: all .3s ease-out 0s;
    transition: all .3s ease-out 0s;
    width: 100%;
    z-index: 2;
    cursor: pointer;
}

.go-to-top .back-to-top-icon {
    color: #fff;
    font-size: 24px;
    left: 50%;
    opacity: 0;
    -moz-opacity: 0;
    filter: alpha(opacity=0);
    position: absolute;
    top: 80%;
    -webkit-transform: translate3d(-50%, -50%, 0px);
    -moz-transform: translate3d(-50%, -50%, 0px);
    -ms-transform: translate3d(-50%, -50%, 0px);
    -o-transform: translate3d(-50%, -50%, 0px);
    transform: translate3d(-50%, -50%, 0px);
    -webkit-transition: all .3s ease-out 0s;
    -moz-transition: all .3s ease-out 0s;
    -o-transition: all .3s ease-out 0s;
    -ms-transition: all .3s ease-out 0s;
    transition: all .3s ease-out 0s;
    z-index: 2;
    cursor: pointer;
}

.go-to-top:hover .back-to-top-text {
    opacity: 0;
    -moz-opacity: 0;
    filter: alpha(opacity=0);
    top: 40%;
}

.go-to-top:hover .back-to-top-icon {
    opacity: 1;
    -moz-opacity: 1;
    filter: alpha(opacity=100);
    top: 50%;
}

/* ON TOP */
/* > XS */
@media (min-width: 767px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }

}

/* XS */
@media (max-width: 767px) {
    /*body {
      margin-bottom: 0px;
    }*/

    .blockFooter {
        position: relative;
        height: auto;
    }

    .blockTextFooter:last-child {
        border-bottom: 1px solid #ffffff;
        padding-bottom: 10px;
    }

    .textContactFooter {
        text-align: center;
    }

    .iconFooterSocialCenter {
        text-align: center;
    }

    .row-eq-height {
        display: block;
    }

    .TabSub>li.active>.blockDownloadData::after {
        position: relative;
        border: none;
    }

    .textSearchOption {
        width: 100%;
        text-align: center;
    }

    .selectSearchOption {
        width: 100%;
    }

    .blockHeaderColorLeft {
        display: none;
    }

    .blockHeader {
        background-color: #ffffff;
    }

    .navbar-brandSBS {
        height: 110px;
    }

    .navbar-brandSBS>img {
        margin: 15px 15px 0px;
    }

    /*.navbarSBS-nav {
      padding-top: 0px;
      background-color: #5A3887;
    }*/

    .navbar-toggleSbs {
        margin-top: 40px;
    }

    .navbar-collapseSBS {
        width: unset;
        padding: 0px 15px;
        float: none;
    }

    .navbarSBS-nav {
        max-width: unset;
        margin: 0px;
    }

    .borderHeaderLogin.first {
        clear: both;
        display: block;
        border: none;
        margin-top: 10px;
    }

    .blockBannerIndex {
        background-image: none;
    }

/*    .textSubjectBanner {
        padding-top: 10px;
        border-top: 2px solid #5A3887;
    }*/

    .textSubjectBannerBottom:after {
        width: 24%;
    }

    .blockBannerIndex {
        height: 100%;
    }

/*    .blockInputGroupSbsIndex {
        margin-top: 20px;
        background-color: #5A3887;
    }*/

    .inputGroupSBSIndex {
        padding-bottom: 35px;
        padding-left: 0px;
    }

    .dataSetSilde.owl-theme .owl-nav > .owl-next {
        right: -4px;
    }

    .dataSetSilde.owl-theme .owl-nav > .owl-prev {
        left: -4px;
    }

    .navbarSBS-nav ul.dropdown-menu li a {
        /*color: #ffffff !important;*/
        color: #3d3d4e !important;
        text-align: center;
    }

    /*.navbarSBS-nav ul.dropdown-menu li.active a, .navbarSBS-nav ul.dropdown-menu li.active:hover a, .navbarSBS-nav ul.dropdown-menu li.active:focus a {
        color: #5a3887 !important;
        background-color: #ffffff;
    }*/
}

/* แนวนอน XS */
@media (max-width: 767px) and (orientation: landscape) {
    .navbar-collapseSBS {
        width: 100%;
        margin: 0px;
    }
}

/* แนวตั้ง SM */
@media (max-width: 1024px) and (min-width: 768px) and (orientation: portrait) {
    /*body {
      margin-bottom: 305px;
    }*/

    .blockFooter {
        height: 305px;
    }

    .row-eq-height {
        display: block;
    }

    .TabSub>li.active>.blockDownloadData::after {
        position: relative;
        border: none;
    }

    .navbar-collapseSBS {
        width: 83%;
    }

    .textContactFooter {
        text-align: center;
        margin-left: 18px;
    }

    .blockNewsData>.imgNewsDataIndex {
        height: 150px;
    }

    .blockBannerIndex {
        height: 300px;
    }

    .dataSetSilde.owl-theme .owl-nav > .owl-next {
        right: -25px;
    }

    .dataSetSilde.owl-theme .owl-nav > .owl-prev {
        left: -25px;
    }
}


.blocksearch{
    margin-left: 70px;
    width: 70%;
}
.glyphicon-search{
    color: #FFFD38;
}
.btn-search{
    background: #3A3A3A !important;
    border-radius: 0px 5px 5px 0px !important;
    padding: 6px 12px !important;
    font-size: 14px !important;
    border-color: #FFFD38 !important;
}

.blockHeaderLogin{
    background: #3A3A3A;
}
.decrease-font, .increase-font{
    background-color: #696969;
    border: none;
    font-family: 'Sarabun-Medium';
    padding: 0px 4px 1px 4px;
    width: 25px;
    height: 25px;
    margin-top: 5px;
    border-radius: 3px;
    color: #ffffff;
}
.normal-font{
    background-color: #FFFFFF;
    border: 1px solid #fff;
    font-family: 'Sarabun-Medium';
    padding: 0px 4px 1px 4px;
    width: 25px;
    height: 25px;
    margin-top: 5px;
    color: #3D3D4E;
    border-radius: 3px;
}
.change-theme-1{
    background: #696969;
    border-radius: 3px;
    font-family: 'Sarabun-Medium';
    color: #fff;
    border: none;
    width: 25px;
    height: 25px;
}
.change-theme-2{
    background: #696969;
    border-radius: 3px;
    font-family: 'Sarabun-Medium';
    color: #3D3D4E;
    border: none;
    width: 25px;
    height: 25px;
}
.change-theme-3{
    background: #696969;
    border-radius: 3px;
    font-family: 'Sarabun-Medium';
    color: #FFFD38;
    border: none;
    width: 25px;
    height: 25px;
}
.line-center{
    border-right: 1px solid #EEEEEE;
    margin: 6px;
}
.blockHeader {
    background-color: #000000;
    position: relative;
}
.navbar {
    position: relative;
    min-height: 110px;
}
.navbar-brandSBS>img {
    width: 99px;
}
.navbarSBS-nav li a {
    font-family: 'Sarabun-SemiBold';
    color: #FFFD38;
}
.navbarSBS-nav li.active a, .navbarSBS-nav li.active:hover a, .navbarSBS-nav li.active:focus a {
    color: #FFFD38;
    background-color: #3A3A3A;
    border-radius: 5px;
}
.navbarSBS-nav li.active img {
    max-width: 25px;
}
.navbarSBS-nav>li>a:focus, .navbarSBS-nav>li>a:hover {
    color: #FFFD38;
    background-color: #3A3A3A !important;
    text-decoration: none !important;
    border-radius: 5px;
}
.nav>li>a {
    padding: 10px 25px;
    margin-left: 2px;
}
.divider-line {
    border-left: 2px solid;
    height: 20px;
    margin-top: 30px;
    margin-left: 2px;
    color: #FFFD38;
}
.mt-menu{
    font-family: 'Sarabun';
    margin-top: 5px;
}
.blockBannerIndex{
    background-image: url("/static/sbs-themes/images/banner/benner A3-08.68083195e473.jpg");
}
.bs-course-title>img {
    width: 35px;
    filter: grayscale(100%) brightness(185%) sepia(100%) hue-rotate(20deg) saturate(500%) contrast(1);
}
.blockDataBasicCourse{
    padding-top: 25px;
    text-align: center;
    padding-bottom: 50px;
    background-color: #000000;
}
.col-centered{
    float: none;
    margin: 0 auto;
}
.bs-course-title{
    font-family: Sarabun-Medium;
    font-size: 32px;
    font-weight: 700;
    color: #FFFD38;
}
.primary-short-class{
    display: inline-block;
    padding: 10px;
    background-color: #FFC94A;
    color: #000000;
    font-size: 18px;
    border-radius: 5px;
    min-width: 50px;
}
.primary-full-class{
    display: inline-block;
    font-size: 16px;
    color: #FFFD38;
    border: 4px solid #FFC94A;
    padding: 9px 8px 6px 8px;
    border-radius: 5px;
    margin-left: -10px;
    min-width: 148px;
}
.secondary-short-class{
    display: inline-block;
    padding: 10px;
    background-color: #8EE8CE;
    color: #000000;
    font-size: 18px;
    border-radius: 5px;
    min-width: 50px;
}
.secondary-full-class{
    display: inline-block;
    font-size: 16px;
    color: #FFFD38;
    border: 4px solid #8EE8CE;
    padding: 9px 8px 6px 8px;
    border-radius: 5px;
    margin-left: -10px;
    min-width: 148px;
}
.mt-class>div {
    padding-left: 5px;
    padding-right: 5px;
    margin-top: 35px;
}
.blockDataRecomendCourse{
    background-image: url("/static/sbs-themes/images/banner/Banner_Mooc4.ca6c95ed984d.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    /*height: 450px;*/
    text-align: center;
    padding-bottom: 40px;
    background-attachment: fixed;
    padding-top: 25px;
    background: #4f5961;
}
.rm-course-title>img {
    width: 35px;
    filter: grayscale(100%) brightness(185%) sepia(100%) hue-rotate(20deg) saturate(500%) contrast(1);
}
.rm-course-title{
    font-family: Sarabun-Medium;
    font-size: 32px;
    font-weight: 700;
    color: #FFFD38;
}
#owl-demo .item img{
    display: block;
    width: 100%;
    height: auto;
}
.dataSetSilde .owl-nav > .owl-next > em {
    padding: 6px 9px 6px 12px;
    border-radius: 50%;
    border: 1px solid transparent;
    /*background-color: #C6DBF3;*/
    background: rgba(196, 196, 196, 0.57);
    color: #808080;
}
.dataSetSilde.owl-theme .owl-nav [class*=owl-]:hover > em {
    /*background-color: #000000;*/
    background-color: #000000;
    color: #FFFD38;
    border:1px solid transparent;
    text-decoration: none;
}
.dataSetSilde .owl-nav > .owl-prev > em {
    padding: 6px 12px 6px 9px;
    border-radius: 50%;
    border: 1px solid transparent;
    /*background-color: #C6DBF3;*/
    background: rgba(196, 196, 196, 0.57);
    color: #808080;
}
.image-recomend-detail img{
    border-radius: 5px;
}
.image-recomend-detail{
    width: 325px;
    border-radius: 5px;
}
.text-recomend-detail {
    position: relative;
    padding: 10px 20px 20px 20px;
    text-align: left;
    margin-left: 20px;
    color: #FFFD38;
    background-color: #000000;
    border-radius: 5px;
    min-height: 182px;
}
.title-recomend{
    font-size: 22px;
    margin-bottom: 15px;
}
.sub-title-recomend{
    font-family: 'Sarabun';
    font-size: 16px;
    margin-bottom: 0px;
}

.recomend-btn-detail{
    position: absolute;
    bottom: 10px;
}
.recomend-date{
    position: absolute;
    bottom: 15px;
    right: 15px;
}
.owl-dots{
    margin-top: 30px;
}
.owl-theme .owl-dots .owl-dot span {
    width: 15px;
    height: 15px;
    background: transparent;
    border: 1px solid #FFFD38;
}
.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
    background: #FFFD38;
}
.btn-course-recommend{
    background-color: #2BD1A6;
    color: #000000;
    padding: 10px;
    position: absolute;
    right: 21px;
    bottom: 0px;
    border-radius: 5px;
    z-index: 1;
}
.btn-course-recommend:hover{
    background-color: #fff;
    color: #000000;
    padding: 10px;
    position: absolute;
    right: 21px;
    bottom: 0px;
    border:1px solid #2BD1A6;
    border-radius: 5px;
    z-index: 1;
}
.btn-recomend-detail{
    background-color: #2BD1A6;
    color: #000000;
}

.btn-recomend-detail:hover{
    background-color: #fff;
    color: #000000;
}
.blockDataLatestCourse{
    padding-top: 25px;
    text-align: center;
    padding-bottom: 25px;
    background: #274784;
}
.lc-course-title>img {
    width: 35px;
    filter: grayscale(100%) brightness(185%) sepia(100%) hue-rotate(20deg) saturate(500%) contrast(1);
}
.lc-course-title{
    font-family: Sarabun-Medium;
    font-size: 32px;
    font-weight: 700;
    color: #FFFD38;
    margin-top: 15px;
}
.subject-lastestcourse{
    background-color: #000000;
    border-radius: 5px;
    box-shadow: 0px 4px 10px #E5E5E5;
    text-align: left;
}
.subject-lastestcourse img {
    border-radius: 5px 5px 0px 0px;
    width: 100%;
    height: 125px;
}
.subject-lastestcourse .card-body {
    padding: 10px;
}
.card-title{
    font-family: 'Sarabun-Bold';
    color: #FFFD38;
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 70px;
    line-height: 1.40em;
}

.card-title a {
    color: #FFFD38 !important;
}

.card-text{
    color: #FFFD38;
}
.cardBy{
    color: #FFFD38;
    padding: 0px 10px 5px 10px;
}

.cardTime {
    color: #FFFD38 !important;
} 
.btn-all-course{
    margin-top: 30px;
    background-color: #2BD1A6;
    color: #000000;
    border-radius: 5px;
    font-size: 18px;
}
.btn-all-course:hover{
    margin-top: 30px;
    color: #000000;
    background: #fff;
    border:1px solid #2BD1A6;
    border-radius: 5px;
}
.ministry{
    margin-top: 15px;
    margin-bottom: 15px;
}

.joint-agency{
    margin-top: 15px;
    margin-bottom: 15px;
}

.blockDataLogoAgency {
    /*min-height: 250px;*/
    text-align: center;
    /*padding-bottom: 50px;*/
    background: #000000;
}
.block-title-minitry{
    border-top: 2px solid #FFFD38;
}
.title-minitry{
    color: #000000;
    background-color: #FFFD38;
    padding: 2px 40px 7px 40px;
    border-radius: 0px 0px 20px 20px;
}
.block-title-joint-agency{
    border-top: 2px solid #FFFD38;
}
.title-joint-agency{
    color: #000000;
    background-color: #FFFD38;
    padding: 2px 40px 7px 40px;
    border-radius: 0px 0px 20px 20px;
}
.text-justify{
    text-align: justify;
}
.text-left{
    text-align: left;
}
.text-right{
    text-align: right;
}
.title-DataFooterAddress, .title-DataFooterContact{
    color: #FFFD38;
    font-size: 16px;
}
.DataFooterAddress, .DataFooterContact{
    color: #FFFD38;
}
.DataFooterContact, .DataFooterAddress{
    line-height: 25px;
}
.minitry-img{
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.minitry-img img{
    max-height: 100%;
    max-width: 100%;
}
.join-agency-img{
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.join-agency-img img {
    max-height: 100%;
    max-width: 100%;
}
.minitry-img>img {
    width: unset !important;
}
.join-agency-img>img {
    width: unset !important;
}
.cc-size{
    font-size: 35px !important;
}
.font-bold{
    font-weight: bold;
}
.navbar-toggleSbs {
    background-color: #000000;
}
.ml-5px {
    margin-left: 5px;
}
.sarabun-bold{
    font-family: 'Sarabun-Bold' !important;
}
#contentData, body {
    font-size: 16px;
}

/*.navbarSBS-nav li a {
  font-size: 15px;
}*/

.navbarSBS-nav ul.dropdown-menu li a {
    font-size: 15px;
}

.blockNavigation {
    font-size: 15px;
}

.iconBetweenNavication {
    font-size: 11px;
}

.textSubjectBanner {
    font-size: 32px;
}

.textSubjectBannerBottom {
    font-size: 32px;
}

.textBanner {
    font-size: 18px;
}

.blockIconBanner>i {
    font-size: 26px;
}

.numberBottomIconBanner {
    font-size: 24px;
}

.textBottomIconBanner {
    font-size: 18px;
}

.textSubjecIndex {
    font-size: 26px;
}

.dataSetIndex > .textDataSetIndex > a {
    font-size: 15px;
}

.blockNewsData .textNewsDataIndex>a {
    font-size: 16px;
}

.inputGroupSearch .input-group-addon {
    font-size: 16px;
}

.inputGroupSearch .form-control {
    font-size: 16px;
}

.inputGroupSearch .input-group-btn button {
    font-size: 16px;
}

.textSearchOption {
    font-size: 18px;
}

.selectSearchOption {
    font-size: 16px;
}

.clearSearchData {
    font-size: 18px;
}

.blockSubjectFilter {
    font-size: 18px;
}

.filterData:hover:after, .filterData:after {
    font-size: 16px;
}

.filterData.active:after {
    font-size: 16px;
}

.textResults {
    font-size: 18px;
}

.textSubjectDataSearch>a {
    font-size: 18px;
}

.textDateDataSearch {
    font-size: 12px;
}

.logoDataSetSearch em {
    font-size: 22px;
}

.blockPagination .pagination>li>a,
.blockPagination .pagination>li>span {
    font-size: 16px;
}

.blockPagination .pagination>li>a>i {
    font-size: 13px;
}

.blockContentDataset .TabMain>li>a {
    font-size: 16px;
}

.textSubjectDataset {
    font-size: 22px;
}

.textBottomSubjectDataset {
    font-size: 18px;
}

.blockDescDataset {
    font-size: 16px;
}

.textTopperTableSub {
    font-size: 18px;
}

.textViewDataset {
    font-size: 24px;
}

.iconViewDataset {
    font-size: 20px;
}

.iconViewDataset.active {
    font-size: 20px;
}

.textSubjectType {
    font-size: 16px;
}

.textSubjectRelated>a {
    font-size: 18px;
}

.datasetRelatedText {
    font-size: 16px;
}

.dateRelatedDataset {
    font-size: 12px;
}

.iconFooter {
    font-size: 32px;
}

.iconFooterSocial {
    font-size: 18px;
}

.textHeaderFooter {
    font-size: 16px;
}

.go-to-top .back-to-top-text {
    font-size: 24px;
}

.go-to-top .back-to-top-icon {
    font-size: 24px;
}
.panel-primary-custom{
    border-color: #000000;
}
.panel-primary-custom>.panel-heading {
    color: #FFFD38;
    background-color: #000000;
    border-color: #000000;
}
.num-course{
    color: #e9983e;
}

/* Search  */
.blockSearchPage {
    height: 60px;
    position: relative;
}
.btn-search-page {
    background: #000000;
    border-radius: 5px 5px 5px 5px;
    color: #FFFD38;
}
.btn-search-page:hover {
    border-color: #000000;
    background-color: #FFFD38;
    border-radius: 5px 5px 5px 5px;
    color: #000000;
}
.btn-search-page:hover>.color-white{
    color: #000000;
}
.color-white {
    color: #FFFD38;
}
.result-course{
    font-size: 20px;
    color: #FFFD38;
    border-bottom: 1px solid #FFFD38;
    padding-bottom: 13px;
}
.btn-search-sbs{
    width: 150px;
}
#filter-control {
    box-sizing: border-box;
    padding: 5px;
    text-align: center;
    bottom: 0;
    position: sticky;
    position: -webkit-sticky;
    z-index: 20;
    transition: background .4s;
}
.btn-sbs {
    box-shadow: none !important;
    text-shadow: none !important;
    display: inline-block;
    padding: 6.5px 12px !important;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    outline: none;
}
.btn-filter{
    background-color: #000000;
}
.btn-except-filter{
    color: #FFFD38;
    background-color: #AC0218;
}
.blockResultSearch {
    margin-top: 50px;
    margin-bottom: 50px;
}
.input-search-filter{
    margin-top: 20px;
}
.input-search-filter>input{
    border: 1px solid #000000;
}
.li-style-none{
    list-style: none;
}
.btn-search-filter {
    background: #000000;
    border-radius: 0px 5px 5px 0px;
    border-left: none;
}
.btn-search-filter>.glyphicon-search {
    color: #FFFD38;
}
.result-subject {
    background-color: #000000;
    border-radius: 5px;
    box-shadow: 0px 4px 10px #000000;
    text-align: left;
    margin-top: 20px;
}
.result-subject img {
    border-radius: 5px 5px 0px 0px;
    width: 100%;
    height: 125px;
}
.result-subject .card-body {
    padding: 10px;
}
.title-filter {
    color: #FFFD38;
    width: 100px;
    position: absolute;
    right: 50%;
    top: 5px;
    font-size: 16px;
}

.toggleWrapper {
    position: absolute;
    top: 20;
    left: 50%;
    top: 0px;
    /* right: 0; */
    overflow: hidden: -webkit-transform: translate3d(-50%, -50%, 0);
    /* transform: translate3d(-50%, -50%, 0); */
}
.toggleWrapper input{
    position: absolute;
    left: -99em;
}
.toggle{
    cursor: pointer;
    display: inline-block;
    position: relative;
    width: 120px;
    height: 34px;
    background: #ffdc80;
    border-radius: 5px;
    -webkit-transition: all 200ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
    transition: all 200ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}
.toggle:before, .toggle:after{
    position: absolute;
    line-height: 34px;
    font-size: 14px;
    z-index: 2;
    -webkit-transition: all 200ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
    transition: all 200ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}
.toggle:before{
    content: "เปิด";
    left: 20px;
    color: #000000;
}
.toggle:after{
    content: "ปิด";
    right: 20px;
    color: #000000;
}
.toggle__handler{
    display: inline-block;
    position: relative;
    z-index: 1;
    background: #FDC42D;
    width: 65px;
    height: 34px;
    border-radius: 3px;
    top: 0px;
    left: 0px;
    -webkit-transition: all 200ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
    transition: all 200ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
}
.icon-more{
    font-size: 16px;
    margin-right: 5px;
}
input:checked + .toggle{
    background: #ffdc80;;
}
input:checked + .toggle:before{
    color: #000000;
}
input:checked + .toggle:after{
    color: #000000;;
}
input:checked + .toggle .toggle__handler{
    width: 60px;
    -webkit-transform: translateX(60px);
    transform: translateX(60px);
    border-color: #FFFD38;
}
.btn-clear{
    background-color: #AC0218;
}
.btn-clear:hover{
    border-color: #AC0218;
    background-color: #fff;
    color: #AC0218;
}
#ng-search {
    padding-top: 0px;
}

#content {
    min-height: 550px;
}

.box_course_wrap {
    transition: width .5s;
}

#result-parent {
    /*padding: 0 !important;*/
    margin-top: 15px;
    position: relative;
}

#result-parent.overflow {
    overflow: hidden;
}

#result-parent>div:first-child {
    padding: 0 !important;
    transition: width .6s;
}

#result-parent div.sbs-filter {
    transition: left .5s;
    left: 0;
    transform: scale(0);
    padding-left: 50px;
}

#result-parent div.filter-position {
    position: absolute;
}

#result-parent div.filter-hide {
    right: -40%;
}

.box-scale-transition {
    transition: transform .4s, opacity .4s cubic-bezier(.23, 1, .32, 1);
}

.box-scale-preset {
    opacity: 0;
    transform: scale(0);
}

.box-scale-finish {
    opacity: 100;
    transform: scale(1)
}

.result-message, .result-element {
    margin-top: 15px;
    margin-bottom: 15px;
}

.result-element {
    padding: 0px;
}

.result-empty {
    margin-top: 30px;
    text-align: center;
    font-size: 1.5em;
    color: #aaa;
}

.box_course {
    position: relative;
    background-color: #FFF;
    height: 320px;
    border-radius: 3px;
    box-shadow: #ccc 1px 2px 5px;
    cursor: pointer;
    margin-bottom: 20px;
}

.box_course a:hover {
    text-decoration: none;
}

.course_thumbnail {
    border-radius: 3px 3px 0 0;
    height: 150px;
    transition: background-size 0.7s ease, height 0.5s;
    background-size: 100%;
    position: center;
    background-repeat: no-repeat;
    background-position: center;
}

div.col-md-4>.box_course .course_thumbnail {
    height: 120px;
}

.course_thumbnail:hover {
    background-size: 150%;
}

.course_num_des {
    color: #888;
    padding: 11px 0 0 7px;
    line-height: 2;
}

.course_title {
    padding: 7px;
    font-size: 16px;
    line-height: 2;
    color: #337ab7;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

@supports (-webkit-line-clamp: 3) {
    .box_course:not(.box-scale-preset) {
        transition: height 0.5s;
    }
    .col-md-3 .box_course, .col-sm-3 .box_course {
        height: 380px;
    }
    .col-md-4 .box_course, .col-sm-4 .box_course {
        height: 350px;
    }
    .course_title {
        white-space: initial;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        min-height: 110px;
    }
}

ul.dropdown-menu>li {
    cursor: pointer;
}

ul.dropdown-menu>li.active {
    color: #FFFD38;
    background-color: #337ab7;
}

.panel-filter {
    margin: 10px auto;
}

.panel-filter ul {
    margin: 0 0;
    padding: 0 0;
}

.panel-filter ul li.filter-wrap {
    list-style-type: none;
    line-height: 22px;
}

/*.panel-filter ul li label {
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-style: normal !important;
    cursor: pointer;
    font-weight: normal;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}*/

li.filter-wrap label.downgrade div:last-child {
    opacity: .5;
}

li.filter-wrap label div {
    display: table-cell;
}

li.filter-wrap label div:last-child {
    padding-left: 7px !important;
    line-height: 1.5;
}

li.filter-wrap label div:last-child span.hnum {
    color: #E18906;
}

#filter-control {
    box-sizing: border-box;
    padding: 5px;
    text-align: center;
    bottom: 0;
    position: sticky;
    position: -webkit-sticky;
    z-index: 20;
    transition: background .4s;
}

#filter-control.sticky-bg {
    background-color: rgba(1, 32, 60, 0.7);
}

#filter-control.sticky-bg button.btn-sbs, #filter-control.sticky-bg button.btn-sbs:hover {
    border: #d4d3d3 solid 1px !important;
}

div.sbs-filter div.panel div.panel-footer {
    padding: 5px;
    background-color: #FFF;
    border-top: none;
}

ul.filter-more li:nth-child(n+6) {
    display: none;
}

div.filter-more {
    margin: 0 auto;
    width: 100%;
    text-align: right;
}

div.filter-more em {
    width: 25px;
    height: 25px;
    text-align: center;
    padding: 4px;
    border-radius: 20px;
    cursor: pointer;
    vertical-align: middle;
    box-sizing: border-box;
}

/*div.filter-more i:hover {
    background-color: #337ab7;
    color: #FFF;
}*/

div.faulty-wrap {
    margin: 0 0 20px 0;
    padding: 0 0;
    width: 100%;
    min-height: 20px;
}

div.faulty-wrap p {
    width: 100%;
    background-color: #DAEAFF;
    box-sizing: border-box;
    margin: 0 0;
    padding: 6px;
    line-height: 1.5;
    color: #646d93;
    font-weight: 500;
    border-radius: 5px;
}

div.faulty-wrap div.branch-wrap {
    width: 100%;
    box-sizing: border-box;
    min-height: 20px;
    padding: 5px 10px 0 10px;
}

.banner_subject {
    cursor: pointer;
    /*width: 250px;*/
    float: left;
    margin: 15px;
}

.banner_subject img {
    /*margin: 15px 15px 15px 0;*/
    border: 1px solid #0075b4;
    padding: 15px;
    background-color: #fff;
    height: 80px;
}

div.selected_banner>a>img {
    border: 2px solid #ca817e;
}

.bx-wrapper {
    position: relative;
    margin: 0 auto;
}

.banner_subject_box {}

.carousel-inner img {
    height: 90px;
    margin: 15px;
    border: 2px solid #337ab7;
    padding: 5px 10px;
    cursor: pointer;
}

.carousel-inner {
    margin-top: 15px;
    min-height: 100px;
}

.glyphicon-chevron-right::before {
    /*content: '>';*/
    color: #337ab7;
}

.glyphicon-chevron-left::before {
    /*content: '<';*/
    color: #337ab7;
}

.carousel-indicators {
    display: none;
}

.filter_top {
    margin-top: 15px;
    overflow: hidden;
    background-color: #d9e9f2;
    border-radius: 5px;
}

div.filter_top span {
    padding: 5px;
    margin: 5px;
    font-size: 14px;
    float: left;
}

.removeFilter, .carousel-control {
    cursor: pointer;
}

p.text_num_course{
    padding: 0px 15px;
}

/* หน้าหลักสูตรของฉัน */
.blockResultMycourse {
    /*height: 2250px;*/
    background-color: #4f5961;
}
.mycourse_thumbnail{
    max-width: 250px;
}
.mycourse_thumbnail img{
    width: 100%;
    height: 140px;
    margin-top: 13px;
}
.btn-mycourse{
    cursor: pointer;
    background-color: #ffffff;
    color: #000000;
    border: 1px solid transparent;
}
.btn-mycourse:hover{
    text-decoration: underline;
}
.mycourse-title{
    color: #FFFD38 !important;
}
.mycourse_date_start{
    font-size: 16px !important;
    color: #FFFD38 !important;
}
.ratingTotal {
    border: none;
    float: left;
    height: 20px;
}
.ratingTotal > label {
    color: #ddd;
    float: right;
    cursor: default;
}
.ratingTotal > .half:before {
    content: "\f089";
    position: absolute;
}
.ratingTotal > label:before {
    margin: 5px;
    font-size: 1.25em;
    font-family: 'Font Awesome 5 Free';
    display: inline-block;
    content: "\f005";
}
.sbs-nav {
    border-bottom: 1px solid #000000;
    padding-bottom: 14px;
    padding-left: 0px;
}
ul.sbs-nav li.nav-item {
    list-style-type: none;
    display: inline-block;
}

ul.sbs-nav li.nav-item a.nav-link {
    padding: 10px 15px 13px;
    border-style: solid;
    border-width: 0 0 4px 0;
    border-bottom-color: transparent;
    font-size: 18px;
    color: #000000;
}
ul.sbs-nav li.nav-item a.nav-link:hover, ul.sbs-nav li.nav-item.active a.nav-link {
    font-size: 18px;
    border-bottom-color: #FFFD38;
    color: #FFFD38;
}

.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
    color: #555;
    cursor: default;
    background-color: #FFFD38;
    border: 1px solid #FFFD38;
    border-bottom-color: transparent;
}
.nav>li>a:focus, .nav>li>a:hover {
    text-decoration: none;
    background-color: #FFFD38;
}
.nav-tabs>li>a:hover {
    border-color: #FFFD38;
}
.header-courses {
    border-bottom: #aeaeae solid 1px;
    line-height: 30px;
}
.color-star{
    color: #fdd505 !important;
}
.box_course_dashboard {
    background-color: #000000;
    border: 1px solid #000000;
    margin-top: 20px;
    box-shadow: 1px 1px 1px 0px #000000;
    border-radius: 3px;
}

.box_course_dashboard:last-child {
    margin-bottom: 30px;
}

.cer-img {
    width: 27px;
}

.unenroll {
    text-align: right;
}

.course_thumbnail {
    height: 150px;
    transition: background-size 0.7s ease, height 0.5s;
    background-size: 100%;
    position: center;
    background-repeat: no-repeat;
    background-position: center;
}

.course_thumbnail:hover {
    background-size: 150%;
}

.course_info{
    padding-bottom: 12px;
    color: #FFFD38;
}

.course_info h3 {
    margin: 10px 0;
    font-size: 1.4em;
}

.course_info p {
    font-family: 'Sarabun';
    margin: 5px;
    font-size: 16px;
    color: #FFFD38;
    margin-bottom: 0px;
    margin-top: 4px;
}

.box_course {
    position: relative;
    background-color: #FFF;
    height: 300px;
    border-radius: 3px;
    box-shadow: #ccc 1px 2px 5px;
    margin-bottom: 20px;
}

.box_course a:hover {
    text-decoration: none;
}

.course_num_des {
    color: #888;
    padding: 11px 0 0 7px;
    line-height: 2;
}

.course_title {
    padding: 7px;
    font-size: 16px;
    line-height: 2;
    color: #337ab7;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.course_control {
    position: absolute;
    width: 100%;
    text-align: right;
    padding: 7px;
    color: #999;
    font-size: .9em;
    left: 0;
    bottom: 0;
}

.fR {
    float: right;
}

.colorWhite {
    color: #FFFD38 !important;
}

.btn-xs .badge {
    margin-top: 2px;
    margin-left: 4px;
}

.ratingTotal {
    border: none;
    float: left;
    height: 20px;

}

.ratingTotal > input { display: none; }
.ratingTotal > label:before {
    margin: 5px;
    font-size: 1.25em;
    font-family: 'Font Awesome 5 Free';
    display: inline-block;
    content: "\f005";
}

.ratingTotal > .half:before {
    content: "\f089";
    position: absolute;
}

.ratingTotal > label {
    color: #ddd;
    float: right;
    cursor: default;
}

.ratingTotal > input:checked ~ label { color: #FFD700;  }

.aNotLink {
    cursor: pointer;
}

.input-search-mycourse{
    width: 100%;
    border-color: #000000;
}

.btn-pagination{
    background-color: #000000;
}

.btn-pagination:hover {
    border-color: #000000;
    background-color: #fff;
    color: #000000;
}

.unset-redius{
    border-radius: 0px !important;
}

.current-page{
    box-shadow: none !important;
    text-shadow: none !important;
    display: inline-block;
    padding: 6.5px 12px !important;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    outline: none;
    background-color: #E5E5E5;
    color: #000000;
}

.all-page{
    box-shadow: none !important;
    text-shadow: none !important;
    display: inline-block;
    padding: 6.5px 12px !important;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    outline: none;
    background-color: #eaeffb7a;
    color: #000000;
}

/* หน้าหลักสูตรที่จบแล้ว */
.blockResultGraduate {
    /*height: 1580px;*/
    background-color: rgb(234 239 251 / 70%);
}
.subject-graduate{
    background-color: #000000;
    border-radius: 5px;
    box-shadow: 0px 4px 10px #000000;
    text-align: left;
}
.subject-graduate img {
    border-radius: 5px 5px 0px 0px;
    width: 100%;
    height: 158px;
}
.subject-graduate .card-body {
    padding: 10px;
}
.graduate_date{
    margin-top: 10px;
    font-size: 16px;
    color: #000000;
}
.btn-star{
    background-color: #FFC94A;
    color: #000000;
    width: 30px;
    height: 30px;
    padding: 0px;
}
.btn-certificate{
    background-color: #8EE8CE;
    color: #000000;
    width: 30px;
    height: 30px;
    padding: 0px;
}

/* หน้าสถิติ */
.blockStatistics{
    min-height: 900px;
    background-color: #eaeffb7a;
}
.img-course img{
    max-width: 100%;
}

/* หน้าหลักสูตรแนะนำ  */
.blockRecommendCourse {
    background-color: #4f5961;
}
.subject-recommend-course{
    background-color: #000000;
    border-radius: 5px;
    box-shadow: 0px 4px 10px #000000;
    text-align: left;
}
.subject-recommend-course img {
    border-radius: 5px 5px 0px 0px;
    width: 100%;
    height: 158px;
}
.subject-recommend-course .card-body {
    padding: 10px;
}
.recommend-course-date{
    margin-top: 10px;
    font-size: 16px;
    color: #FFFD38;
}

@supports (-webkit-line-clamp: 3) {
    .box_course {
        height: 360px;
    }

    .course_title {
        white-space: initial;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }
}
/* ================================= @media ================================= */

@media (min-width: 320px) and (max-width: 375px) {
    .btn-fontsize{
        text-align: center;
    }
    .blocksearch{
        margin-top: 10px;
        margin-left: 0px;
        width: 100%;
    }
    .title-recomend {
        font-size: 16px;
    }
    .sub-title-recomend {
        font-size: 12px;
    }
    .recomend-btn-detail{
        font-size: 12px;
    }
    .recomend-date {
        font-size: 10px;
    }
    .mt-xs{
        margin-top: 10px;
    }
    .center-xs{
        text-align: center;
    }
    .box_course_dashboard {
        padding: 15px;
    }
    .mycourse_thumbnail {
        max-width: 320px;
    }
    .title-filter {
        position: unset;
        padding-top: 14px;
    }
    .blockResultSearch {
        margin-top: 100px;
    }
    .result-course{
        margin-top: 14px;
    }
    .blockSearchPage{
        margin-bottom: -15px;
    }
    .xs-center{
        text-align: center;
    }
    #result-parent div.sbs-filter{
        padding-left: 15px;
    }
}

@media (max-width: 375px) {
    .container-fluid>.navbar-collapse, .container-fluid>.navbar-header, .container>.navbar-collapse, .container>.navbar-header {
        margin-left: -15px;
    }
    .bs-course-title {
        font-size: 24px;
    }
    .primary-short-class {
        display: inline;
        padding: 10px;
        /*background-color: #FFC94A;*/
        /*color: #000000;*/
        font-size: 14px;
        border-radius: 5px;
        /* min-width: 50px; */
    }
    .primary-full-class {
        display: inline;
        font-size: 11px;
        /*color: #000000;*/
        /*border: 4px solid #FFC94A;*/
        padding: 9px 8px 6px 8px;
        border-radius: 5px;
        margin-left: -10px;
    }
    .secondary-short-class {
        display: inline;
        padding: 10px;
        /*background-color: #8EE8CE;*/
        /*color: #000000;*/
        font-size: 14px;
        border-radius: 5px;
    }
    .secondary-full-class {
        display: inline;
        font-size: 11px;
        /*color: #000000;*/
        /*border: 4px solid #8EE8CE;*/
        padding: 9px 8px 6px 8px;
        border-radius: 5px;
        margin-left: -10px;
    }
    .image-recomend-detail {
        width: 90%;
        margin: 0 auto;
    }
    .image-recomend-detail img {
        border-radius: 5px 5px 0px 0px;
    }
    .text-recomend-detail{
        width: 90%;
        margin: 0 auto;
        border-radius: 0px 0px 5px 5px;
    }
    .title-recomend {
        font-size: 16px;
        margin-bottom: 15px;
    }
    .sub-title-recomend {
        font-size: 12px;
        margin-bottom: 0px;
    }
    .recomend-date{
        font-size: 10px;
    }
    .textDataFooter{
        font-size: 12px;
    }
    .title-DataFooterAddress, .title-DataFooterContact {
        /*color: #fff;*/
        font-size: 14px;
    }
    .DataFooterAddress{
        font-size: 12px;
    }
    .box_course_dashboard {
        padding: 15px;
    }
    .mycourse_thumbnail {
        max-width: 320px;
    }
    .title-filter {
        position: unset;
        padding-top: 14px;
    }
    .blockResultSearch {
        margin-top: 100px;
    }
    .result-course{
        margin-top: 14px;
    }
    .blockSearchPage{
        margin-bottom: -15px;
    }
    .xs-center{
        text-align: center;
    }
    #result-parent div.sbs-filter{
        padding-left: 15px;
    }
}

@media (min-width: 375px) and (max-width: 414px){
    .btn-fontsize{
        text-align: center;
    }
    .blocksearch {
        margin-top: 10px;
        margin-left: 0px;
        width: 100%;
    }
    .image-recomend-detail {
        width: 90%;
        margin: 0 auto;
    }
    .image-recomend-detail img {
        border-radius: 5px 5px 0px 0px;
    }
    .text-recomend-detail {
        width: 90%;
        margin: 0 auto;
        border-radius: 0px 0px 5px 5px;
    }
    .title-recomend {
        font-size: 16px;
        margin-bottom: 15px;
    }
    .sub-title-recomend {
        font-size: 14px;
        margin-bottom: 0px;
    }
    .box_course_dashboard {
        padding: 15px;
    }
    .mycourse_thumbnail {
        max-width: 320px;
    }
    .title-filter {
        position: unset;
        padding-top: 14px;
    }
    .blockResultSearch {
        margin-top: 100px;
    }
    .result-course{
        margin-top: 14px;
    }
    .blockSearchPage{
        margin-bottom: -15px;
    }
    .xs-center{
        text-align: center;
    }
    #result-parent div.sbs-filter{
        padding-left: 15px;
    }
}

@media (max-width: 425px){
    .divider-line{
        border-left: unset;
        height: unset;
        margin-top: unset;
        margin-left: unset;
    }
    .btn-course-recommend {
        bottom: -55px;
    }
    .btn-course-recommend:hover {
        bottom: -55px;
    }
    .container-fluid>.navbar-collapse, .container-fluid>.navbar-header, .container>.navbar-collapse, .container>.navbar-header {
        margin-left: 0px;
    }
    .subject-lastestcourse{
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    .mt-xs{
        margin-top: 10px;
    }
    .center-xs{
        text-align: center;
    }
    .box_course_dashboard {
        padding: 15px;
    }
    .mycourse_thumbnail {
        max-width: 320px;
    }
    .title-filter {
        position: unset;
        padding-top: 14px;
    }
    .blockResultSearch {
        margin-top: 100px;
    }
    .result-course{
        margin-top: 14px;
    }
    .blockSearchPage{
        margin-bottom: -15px;
    }
    .xs-center{
        text-align: center;
    }
    #result-parent div.sbs-filter{
        padding-left: 15px;
    }
}

/* XS */
@media (min-width: 425px) and (max-width: 767px) {
    .image-recomend-detail {
        width: 90%;
        margin: 0 auto;
    }
    .image-recomend-detail img {
        border-radius: 5px 5px 0px 0px;
    }
    .text-recomend-detail{
        width: 90%;
        margin: 0 auto;
        border-radius: 0px 0px 5px 5px;
    }
    .title-recomend {
        font-size: 18px;
    }
    .sub-title-recomend {
        font-size: 14px;
    }
    .recomend-date{
        font-size: 14px;
    }
    .navbar-toggleSbs {
        margin-top: 40px;
    }
    .btn-fontsize{
        text-align: center;
    }
    .blocksearch {
        margin-top: 10px;
        margin-left: 0px;
        width: 100%;
    }
    .subject-lastestcourse{
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    .mt-xs{
        margin-top: 10px;
    }
    .center-xs{
        text-align: center;
    }
    .box_course_dashboard {
        padding: 15px;
    }
    .mycourse_thumbnail {
        max-width: 320px;
    }
}

/* แนวตั้ง SM == Ipad */
@media (max-width: 1024px) and (min-width: 768px) and (orientation: portrait) {
    .container {
        width: 100%;
    }
    .divider-line {
        border-left: unset;
        height: unset;
        margin-top: unset;
        margin-left: unset;
    }
    .blockFooter {
        height: 450px;
    }
    /*.blockDataLogoAgency {
        min-height: 400px;
    }*/
    .image-recomend-detail {
        width: 270px;
        margin-left: 20px;
    }
    .text-recomend-detail {
        margin-left: 60px;
        min-height: 151px;
        margin-right: 20px;
    }
    .dataSetSilde.owl-theme .owl-nav > .owl-prev {
        left: -5px;
        top: -50px;
    }
    .dataSetSilde.owl-theme .owl-nav > .owl-next {
        right: -5px;
        top: -50px;
    }
    .navbar-nav>li {
        font-size: 10px;
    }
    .title-recomend {
        font-size: 16px;
        margin-bottom: 15px;
    }
    .sub-title-recomend {
        font-size: 12px;
        margin-bottom: 0px;
    }
    .recomend-date{
        font-size: 12px;
    }
    .blockResultSearch {
        margin-top: 70px;
    }
    .blockSearchPage {
        height: 45px;
    }
    .xs-center{
        text-align: center;
        margin-bottom: 10px;
    }
}

/* แนวนอน SM */
@media (max-width: 1024px) and (min-width: 768px) and (orientation: landscape) {
    .divider-line {
        border-left: 2px solid;
        height: 20px;
        margin-top: 30px;
        margin-left: 2px;
    }
    .blockDataRecomendCourse {
        height: 320px;
    }
    .mt-class>div {
        padding-left: 27px;
        padding-right: 5px;
        margin-top: 35px;
    }
    .image-recomend-detail {
        width: 250px;
    }
    .text-recomend-detail {
        width: 400px;
        min-height: 140px;
    }
    .dataSetSilde.owl-theme .owl-nav > .owl-prev {
        left: -30px;
    }
    .dataSetSilde.owl-theme .owl-nav > .owl-next {
        right: 0px;
    }
    .textDataFooter{
        font-size: 12px;
    }
    .title-DataFooterAddress, .title-DataFooterContact {
        /*color: #fff;*/
        font-size: 14px;
    }
    .DataFooterContact, .DataFooterAddress {
        font-size: 12px;
    }
    .navbarSBS-nav li a {
        font-size: 10px;
    }
    .title-recomend {
        font-size: 18px;
    }
    .sub-title-recomend, .recomend-date, .btn-recomend-detail {
        font-size: 12px;
    }
    .card-title{
        font-size: 18px;
    }
    /*.blockDataLogoAgency {
        min-height: 285px;
    }*/
    .blockFooter{
        height: 380px;
    }
}

/* แนวนอน IPAD PRO */
@media (max-width: 1366px) and (min-width: 1024px) and (orientation: landscape) {
    /*.blockDataLogoAgency{
        min-height: 160px;
    }*/
    .dataSetSilde.owl-theme .owl-nav > .owl-prev {
        left: -45px;
        top: -45px;
    }
    .dataSetSilde.owl-theme .owl-nav > .owl-next {
        right: -45px;
        top: -45px;
    }
    .card-title {
        font-size: 18px;
    }
    .textDataFooter {
        font-size: 14px;
    }
    .DataFooterContact, .DataFooterAddress {
        font-size: 14px;
    }
    .blockFooter {
        /*height: 425px;*/
    }
    /*.blockDataLogoAgency {
        min-height: 210px;
    }*/
    .btn-search-page {
        padding: 8px 8px;
        font-size: 12px;
    }
    .btn-clear {
        padding: 8px 8px;
        font-size: 12px;
    }
}

/* แนวตั้ง IPAD PRO */
@media (max-width: 1366px) and (min-width: 1024px) and (orientation: portrait) {
    /*body {
        margin-bottom: 285px;
    }*/
    .blockFooter {
        height: 430px;
    }
    .textContactFooter {
        text-align: center;
        margin-left: 0px;
    }
    /*  .blockDataLogoAgency {
          min-height: 270px !important;
      }*/
    .image-recomend-detail {
        width: 280px;
        border-radius: 5px;
    }
    .text-recomend-detail {
        position: relative;
        padding: 10px 20px 20px 20px;
        text-align: left;
        margin-left: 20px;
        /*color: #FFFD38;*/
        /*background-color: #000000;*/
        border-radius: 5px;
        min-height: 156px;
    }
    .btn-search-page {
        padding: 8px 8px;
        font-size: 12px;
    }
    .btn-clear {
        padding: 8px 8px;
        font-size: 12px;
    }
}

@media (min-width: 1270px){
    /*.blockDataLogoAgency {
        min-height: 130px;
    }*/
}
/* ================================= @media ================================= */

img.imgProfileMenu {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    max-width: 100%;
    max-height: 100%;
    border: 2px solid #8f908f2e;
}

img.card-img-top {
    object-fit: cover;
    object-position: top;
}

#search-loader {
    font-size: 4em;
    color:#000000;
}

label.downgrade {
    opacity: .5;
}

div.image-recomend-detail img {
    object-fit: cover;
    object-position: top;
    height: 185px;
}

div.recomend-btn-detail a, div.recomend-btn-detail a:link {
    color: #FFFD38 !important;
}



/* rewrite old style edx original */

.window-wrap {
    background: #4f5961;
}
.window-wrap .blockHeaderLogin .container, .window-wrap .blockHeader .container {
    padding: 0 15px !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

.window-wrap .navbarSBS-nav > li:not(.active) a {
    color: #FFFD38 !important;
}
.window-wrap .navbarSBS-nav > li:not(.active):not(.dropdown) a:hover {
    color: #FFFD38 !important;
}

.window-wrap .navbarSBS-nav > li.dropdown:focus:not(.active) a {
    color: #FFFD38 !important;
}

.window-wrap .dropdown-menu > li:not(.active) a {
    color: #000000 !important;
}

.window-wrap .blockHeaderLogin .btn-fontsize button {
    background-image: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    padding: 0px 4px 1px 4px !important;
    vertical-align: baseline !important;
}
.course-info header.course-profile {
    padding-top: 0 !important;
}

.course-info header.course-profile .intro-inner-wrapper .media .hero img {
    height: 240px;
    object-fit: cover;
}
.window-wrap .blockHeader .container .navbar-nav {
    display: block !important;
}

.window-wrap .blockHeader .navbarSbs:before,
.window-wrap .blockHeader .navbarSbs:after,
.window-wrap .blockHeader .navbarSbs .container:before,
.window-wrap .blockHeader .navbarSbs .container:after{
    content:none;
}

#bs-example-navbar-collapse-1 a.dropdown-toggle:after {
    display: none !important;
}

.window-wrap .navbarSBS-nav > li.dropdown:hover a.dropdown-toggle {
    color: #FFFD38 !important;
}

#bs-example-navbar-collapse-1 {
    flex-basis: auto !important;
}

.navbarSbs, .navbarSbs >.container {
    display: block !important;
    padding: 0 0 !important;
}

#bs-example-navbar-collapse-1 .navbarSBS-nav ul.dropdown-menu {
    position: absolute !important;
}

.navbar-headerSBS {
    width: auto !important;
    border: none !important;
    box-shadow: none !important;
    background-color: #000000 !important;
}

.navbar-collapseSBS {
    width: 85% !important;
    border: none !important;
    box-shadow: none !important;
    background-color: #000000 !important;
}
.blockHeaderLogin .container div.row {
    border: none !important;
    background: none !important;
}

section.blockFooter > .container > div {
    background: none !important;
    box-shadow: none !important;
    border: none !important;
}

.textDataFooter {
    line-height: 1.42857143 !important;
}

#one-search {
    height: 34px !important;
    border-radius: 4px 0 0 4px !important;
    box-shadow: none !important;
    border-color: #FFFD38;
    color: #FFFD38;
    background-color: #696969;
}


.pos-absolute .text-purple, .pos-absolute .num-course {
    color: #000000;
}

.block-member .member-title {
    color: #000000;
}

.blockStatistics .bg-color {
    background-color: #000000;
    color: #FFFD38;
}

.blockStatistics .border_graph {
    background-color: #000000;
    color: #FFFD38;
}

.blockStatistics .border_graph {
    border: 1px solid #000000;
}

.title_main h3, .title_main h3 em {
    color: #000000 !important;
}

.title_main {
    color: #000000;
}

.ef_sub_h, .ef_box_des {
    background-color: #000000 !important;
    color: #FFFD38 !important;
}

.title_main_left {
    color: #FFFD38 !important;
    border-bottom: 2px solid #FFFD38 !important;
}

.title_main_left h2 {
    color: #FFFD38 !important;
    margin-top: 20px;
}

a.thumbnail.active, a.thumbnail:focus, a.thumbnail:hover {
    border-color: #FFFD38 !important;
}

.thumbnail .caption:hover, .caption_hover {
    background-color: #000000 !important;
    color: #FFFD38 !important;
}

#about_intitute {
    color: #FFFD38;
}

#showmore {
    color: #000;
}

.content-wrapper .course-tabs .nav-item.active .nav-link, .content-wrapper .course-tabs .nav-item:hover .nav-link, .wrapper-course-material .course-tabs .tab a:hover, .wrapper-course-material .course-tabs .tab div.info-wrapper section.handouts ol li div.hitarea:hover+h4, div.info-wrapper section.handouts ol li .wrapper-course-material .course-tabs .tab div.hitarea:hover+h4, .wrapper-course-material .course-tabs .tab div.info-wrapper section.handouts ol li div.hitarea:focus+h4, div.info-wrapper section.handouts ol li .wrapper-course-material .course-tabs .tab div.hitarea:focus+h4, .wrapper-course-material .course-tabs .tab a:focus, .wrapper-course-material .course-tabs .tab a.active, .wrapper-course-material .course-tabs .tab a:visited:hover, .wrapper-course-material .course-tabs .tab div.info-wrapper section.handouts ol li div.hitarea:hover+h4:visited, div.info-wrapper section.handouts ol li .wrapper-course-material .course-tabs .tab div.hitarea:hover+h4:visited, .wrapper-course-material .course-tabs .tab div.info-wrapper section.handouts ol li div.hitarea:focus+h4:visited, div.info-wrapper section.handouts ol li .wrapper-course-material .course-tabs .tab div.hitarea:focus+h4:visited, .wrapper-course-material .course-tabs .tab a:visited:focus, .wrapper-course-material .course-tabs .tab a:visited.active {
    color: #FFFD38 !important;
    border-bottom: 4px solid #FFFD38 !important;
}

.content-wrapper .course-tabs .nav-item.active .nav-link, .content-wrapper .course-tabs .nav-item:hover .nav-link, .wrapper-course-material .course-tabs .tab a, .wrapper-course-material .course-tabs .tab a:visited {
    color: #FFFD38 !important;
}

.course-info .course-sidebar header .social-sharing .share {
    color: #FFFD38;
    opacity: 1;
}

.content-wrapper .course-tabs .nav-item .nav-link {
    color: #000000 !important;
}

.course-info .course-sidebar .important-dates li .icon, .course-info .course-sidebar .important-dates li .important-dates-item-title, .course-info .course-sidebar .important-dates li .important-dates-item-text {
    color: #FFFD38;
}


.head_title {
    text-decoration-color: #FFFD38 !important;
    color: #FFFD38 !important;
    border-bottom: #FFFD38 !important;
}

.head_bottom {
    border-bottom: 2px solid #FFFD38 !important;
}

.panel-primary {
    border-color: #000000;
}

.panel-primary>.panel-heading {
    color: #FFFD38;
    background-color: #000000;
    border-color: #000000;
}

.panel-primary>.panel-heading label {
    color: #FFFD38 !important;
}

.panel-body .col-md-1 span {
    color: #ffd700 !important;
}

.panel-primary .label_hover {
    color: #000000 !important;
}
