:root {
  --main-theme-color: #084681;
  --dark-theme-color: #06752d;
  --light-theme-color: #39a860;
}

/***************** font-face *****************/
@font-face {
    font-family: 'ThaiSans Neue';
    src: url('../fonts/ThaiSansNeue-Regular.eot');
    src: url('../fonts/ThaiSansNeue-Regular.eot?') format('embedded-opentype'),
    	url('../fonts/ThaiSansNeue-Regular.woff?') format('woff'),
    	url('../fonts/ThaiSansNeue-Regular.ttf?') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'ThaiSans Neue';
    src: url('../fonts/ThaiSansNeue-Bold.eot');
    src: url('../fonts/ThaiSansNeue-Bold.eot?') format('embedded-opentype'),
    	url('../fonts/ThaiSansNeue-Bold.woff?') format('woff'),
    	url('../fonts/ThaiSansNeue-Bold.ttf?') format('truetype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'ThaiSans Neue';
    src: url('../fonts/ThaiSansNeue-Italic.eot');
    src: url('../fonts/ThaiSansNeue-Italic.eot?') format('embedded-opentype'),
    	url('../fonts/ThaiSansNeue-Italic.woff?') format('woff'),
    	url('../fonts/ThaiSansNeue-Italic.ttf?') format('truetype');
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'ThaiSans Neue';
    src: url('../fonts/ThaiSansNeue-BoldItalic.eot');
    src: url('../fonts/ThaiSansNeue-BoldItalic.eot?') format('embedded-opentype'),
    	url('../fonts/ThaiSansNeue-BoldItalic.woff?') format('woff'),
    	url('../fonts/ThaiSansNeue-BoldItalic.ttf?') format('truetype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
	font-family: 'Prompt';
	src: url('../fonts/Prompt-Regular.ttf?') format('truetype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Prompt';
	src: url('../fonts/Prompt-Medium.ttf?') format('truetype');
	font-weight: bold;
	font-style: normal;
}

@font-face {
    font-family: 'K2D';
    src: url('../fonts/K2D-Regular.woff?') format('woff'),
    	url('../fonts/K2D-Regular.ttf?') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'K2D';
    src:url('../fonts/K2D-Bold.woff?') format('woff'),
    	url('../fonts/K2D-Bold.ttf?') format('truetype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'K2D';
    src: url('../fonts/K2D-Italic.woff?') format('woff'),
    	url('../fonts/K2D-Italic.ttf?') format('truetype');
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'K2D';
    src: url('../fonts/K2D-BoldItalic.woff?') format('woff'),
    	url('../fonts/K2D-BoldItalic.ttf?') format('truetype');
    font-weight: bold;
    font-style: italic;
}

/************** font-face : DB HelvethaicaX  *****************/
@font-face {
    font-family: 'DB HelvethaicaX Li';
    src: url('../fonts/DBHelvethaicaX Li.TTF');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'DB HelvethaicaX Med';
    src: url('../fonts/DBHelvethaicaX Med.TTF');
    font-weight: normal;
    font-style: normal;
}
@font-face {
  font-family: 'DBHelvethaicaX';
  src: url('../fonts/DBHelvethaicaX-55Regular.eot');
  src: url('../fonts/DBHelvethaicaX-55Regular.eot?#iefix') format('embedded-opentype'),
       url('../fonts/DBHelvethaicaX-55Regular.woff') format('woff'),
       url('../fonts/DBHelvethaicaX-55Regular.ttf') format('truetype'),
       url('../fonts/DBHelvethaicaX-55Regular.svg#DBHelvethaicaX-55Regular') format('svg');
  font-weight: normal;
  font-style: normal;
}

/************** Layout ****************/
body {
	font-family: "Tahoma";
	/* font-family: "K2D"; */
	font-size: 13px;
}

.content-wrapper {
	/* background-image: url('../img/white-bg.png'); */
}
.main-header {border-bottom: 2px solid #3abfbb;}
.main-header .logo {font-size: 1.2em;}
.main-header .logo .logo-lg img {height: 45px;}
.main-footer {
	background-color: #080B10;
	background-image: url('../img/black-bg.png');
 	background-repeat: no-repeat;
 	background-position: left;
	color: #fff;
	font-size: 12px;
	padding-top: 20px;
}

.title-label {
	color: #ffffff;
	font-size: 16px;
	padding: 10px 10px 8px;
	border-bottom:  none;
	margin-bottom: 25px;
	font-weight: bold;
	background: #084681;
}
.title-label .fa {color: #fff;float: right;margin-right: 10px;margin-top: 5px;}

/***************** layout : breadcrumb *****************/
.content-header > .breadcrumb {
  position: relative;
  margin-top: 5px;
  top: 0;
  right: 0;
  float: none;
  background: #d2d6de;
  padding-left: 10px;
}
.content-header > .breadcrumb li:before {
  color: #97a0b3;
}


/*********** BOX **************/
.box-page > .box-header {
	background: #123558; 
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.box-header.with-border {border-bottom: none;}
.box-page > .box-header .box-title{
 	font-family: 'ThaiSans Neue' ;
 	font-weight: bold;
 	font-size: 26px;
 	color: #ffffff;
}

.box-page .box-title-submenu {
	margin-bottom: -10px;
}
.box-page .box-title-submenu .box-title-submenu-item {
	display: inline-block;
	padding: 0 10px;
	font-weight: bold;
	height: 45px;
	vertical-align: middle;
	line-height: 45px;
 	font-size: 14px;
}
.box-page .box-title-submenu .box-title-submenu-active {
	border-bottom: 3px solid #3A8ADC;
	color: #fff;
	cursor: pointer;
}
.box-page .box-title-submenu .box-title-submenu-item a {
	color: #999;
}
.box-page .box-title-submenu .box-title-submenu-item a:hover {
	color: #ededed;
}

/*********** Button Zone ******************/
.button-zone {
	margin-top: 5px;
	text-align: right;
}
.button-zone.button-zone-top {
	margin-bottom: 20px;
}
.button-zone .btn {
 	font-family: 'ThaiSans Neue' ;
 	font-size: 20px;
}

/***************** panel *****************/
.panel-detail {
	font-size: 16px;
}
.panel-detail .form-group {margin-bottom: 25px;}
.panel-detail input, .panel-detail select, .panel-detail textarea, .panel-detail .divControl {
	font-family: tahoma;
	font-size: 14px;
}
.panel-detail .help-block {font-size: 12px; margin-bottom: 0px; color: #20409A;}
.panel-detail label.control-label { padding-top: 5px;}
.panel-detail .form-inline.radio {padding-top: 0px;}
.panel-detail .radio-inline {padding-top: 0px;}
.panel-detail .btn {font-size: 13px;}

/************** Validation ***************/
.panel-detail .help-block.error, .help-block.error  {color: red; font-style: italic;}

.form-group .labelRequest::after {
	color: red;
	content: " *";
}

/************ Search Panel *****************/
.searchPanel {
	font-size: 16px;
}
.searchPanel input[type=text], .searchPanel select, .searchPanel .checkbox {
	font-family: 'tahoma' ;
	font-size: 13px;
}
.searchPanel label.control-label {}
.searchPanel .btn {font-size: 13px; padding-top: 4px; padding-bottom: 5px;}

/****************Check box & radio ******************/
.checkbox.with-icheck, .radio.with-icheck {
	
}
.checkbox.with-icheck label {
	padding-left: 0px;
}
.checkbox.with-icheck div[class*=icheckbox] {
	margin-right: 5px;
}
.radio.with-icheck label {
	padding-left: 0px;
}
.radio.with-icheck div[class*=iradio] {
	margin-right: 5px;
}

/********* DataTable *************/
.dataTables_wrapper {
	clear: both;
	position: relative;
}
.dataTable caption {
	background-color: #084681;
	color: #ffffff;
	font-weight: bold;
	padding-left: 8px; 
	padding-right: 8px;
	font-size: 16px;
}
.dataTable thead tr th {
	background: linear-gradient(#E6E6E6, #FFFFFF); 
	font-size: 16px;
	vertical-align: middle;
}
.dataTable tbody tr td {
	font-size: 14px;
}
.dataTable .bottom {font-size: 14px;}
.dataTable .bottom select {font-size: 13px;}
.dataTable .bottom .dataTables_info , .dataTable .bottom .dataTables_length {float: left; width: auto;}
.dataTable .bottom .dataTables_paginate{float: right; width: auto;}
.dataTable .bottom .dataTables_length {padding-top: 4px; margin-left: 10px; padding-left: 10px; border-left: 1px solid #ccc;}

.skin-smart .pagination > .active > a, 
.skin-smart .pagination > .active > a:focus, 
.skin-smart .pagination > .active > a:hover, 
.skin-smart .pagination > .active > span, 
.skin-smart .pagination > .active > span:focus, 
.skin-smart .pagination > .active > span:hover {
	background-color: #666;
	border-color: #666;
}

/**************** Map *****************/
.mapThai .jqvmap-zoomin, .mapThai .jqvmap-zoomout {width: auto; height: auto;}
.mapDesc {margin-top: 10px;}
.mapDesc .box-desc {display: inline-block; padding: 5px;}
.mapDesc .box-color {width: 25px;}

/**************** Overwrite ****************/
.help-block { font-size: 12px; font-style:italic }
.skin-smart .btn {
	font-size: 16px;
}

.skin-smart .btn-primary {
  color: #fff;
  background-color: #485B6E;
  border-color: #485B6E;
}
.skin-smart .btn-primary:focus,
.skin-smart .btn-primary.focus {
  color: #fff;
  background-color: #2C3E50;
  border-color: #2C3E50;
}
.skin-smart .btn-primary:hover {
  color: #fff;
  background-color: #2C3E50;
  border-color: #2C3E50;
}
.skin-smart .btn-primary:active,
.skin-smart .btn-primary.active,
.skin-smart .open > .dropdown-toggle.btn-primary {
  color: #fff;
  background-color: #2C3E50;
  border-color: #2C3E50;
}
.skin-smart .btn-primary:active:hover,
.skin-smart .btn-primary.active:hover,
.skin-smart .open > .dropdown-toggle.btn-primary:hover,
.skin-smart .btn-primary:active:focus,
.skin-smart .btn-primary.active:focus,
.skin-smart .open > .dropdown-toggle.btn-primary:focus,
.skin-smart .btn-primary:active.focus,
.skin-smart .btn-primary.active.focus,
.skin-smart .open > .dropdown-toggle.btn-primary.focus {
  color: #fff;
  background-color: #2C3E50;
  border-color: #2C3E50;
}
.skin-smart .btn-primary:active,
.skin-smart .btn-primary.active,
.skin-smart .open > .dropdown-toggle.btn-primary {
  background-image: none;
}

/************* overwrite ***************/
.skin-smart .sidebar {background-color: #123558;}
.skin-smart .sidebar-menu {font-family: 'ThaiSans Neue' ; font-size: 18px;}
.skin-smart .sidebar-menu > li > a {border-left: 3px solid transparent;font-weight: normal;}
.skin-smart .sidebar-menu > li.active > a {font-weight: normal; background-color: #084681;}
.skin-smart .sidebar-menu li *{color: white;}
.skin-smart .sidebar-menu li.header {font-size: 16px;}
.skin-smart .sidebar-menu > li > .treeview-menu {background-color: #88bdf3;}
.skin-smart .sidebar-menu > li > .treeview-menu li em {color:#333;}
.skin-smart .sidebar-menu .treeview-menu > li > a  {font-size: 16px; color: #333;}
.skin-smart .user-panel {background-color: #1d7dde;}
.skin-smart .user-panel .user-panel-img {padding: 0px 5px ; text-align: center;}
.skin-smart .user-panel .user-panel-img .img-logo {max-width: 100%;}
.skin-smart .user-panel .user-system {font-weight: bold; font-size: 18px; color: #CCCCCC; text-align: center; font-family: "ThaiSans Neue"; padding: 5px;}
.skin-smart .user-panel .user-system-sub {font-family: 'ThaiSans Neue'; font-weight: bold; font-size: 18px; color: #FFFFFF; text-align: center; margin-bottom: 0px; margin-top: 5px;}
.skin-smart.sidebar-collapse .user-panel .user-panel-img {padding: 0px;}
.skin-smart.sidebar-collapse .user-panel .user-system {display: none;}
.skin-smart.sidebar-collapse .user-panel .user-system-sub {display: none;}
.skin-smart .divControl .jFiler-theme-default .jFiler-input {margin-bottom: 0px;}

.nav-tabs-custom>.nav-tabs>li.active {border-top-color: #f9eb21;}

.noty_type_warning .noty_text > span {display: inline-block;}
.noty_type_warning .text-noty-warning {float: left; text-align: left; display: inline-block;}

/***************** Schedule & Result *****************/
.schedule-info {width: 100%; margin-bottom: 15px; font-size: 14px;}
.schedule-info div {line-height: 2;}
.schedule-info::-webkit-scrollbar { width: 0; height: 0; }
.schedule-info .mascot-sport { margin-bottom: 5px; text-align: right; }
.schedule-info .mascot-sport img {height: 100px;}
.schedule-info .cell-result {width: 200px; vertical-align: top; position: relative; padding-top: 15px;}
.schedule-info .info-label {font-weight: bold; font-family: 'Prompt'; color: #084681; }

.schedule-info-result {width: 100%; border: 1px solid #084681; font-size: 14px;}
.schedule-info-result td {padding: 5px 10px; background-color: #EFEFEF;}
.schedule-info-result .cell-label {font-family: 'Prompt'; width: 75px; background-color: #084681; color: #fff;}
.schedule-info-result tr:first-child .cell-label:first-child { border-bottom: solid 1px #fff; }
.schedule-info-result tr:last-child .cell-label:first-child { border-bottom: solid 1px #084681; }
.schedule-info-result tr:last-child td:not(.cell-label) { background: #fff; }
.schedule-info-result .result-status-running {font-weight: bold; color: orange;}
.schedule-info-result .result-status-unofficial {font-weight: bold; color: red;}
.schedule-info-result .result-status-official {font-weight: bold; color: green;}

.table-overflow { width: 100%; overflow-x: auto; margin: 0px; }
.schedule-result-tbl {width: 100%; min-width: 800px; border: 1px solid #084681; background-color: #fff; font-size: 14px;}
.schedule-result-tbl thead tr th {font-family: 'Prompt'; font-size: 14px; background-color: #084681; color: #fff; padding: 10px 15px; text-align: center; border: 1px solid #06752d; border-bottom: unset; }
.schedule-result-tbl thead tr th:first-child { border-left: unset; }
.schedule-result-tbl thead tr th:last-child { border-right: unset; }
.schedule-result-tbl tbody tr td {border: 1px solid #084681; padding: 5px 10px; }
.schedule-result-tbl tbody tr td.td-teamdetail {width: 5%;}
.schedule-result-tbl tbody tr td.td-stattime {width: 5%;}
.schedule-result-tbl tbody tr td.td-score {width: 5%;}
.schedule-result-tbl tbody tr td.td-remark {width: 15%; min-width: 100px;}
.schedule-result-tbl tbody tr td.td-ranking {width: 10%; min-width: 100px;}
.schedule-result-tbl tbody tr td.td-qualify {width: 10%; min-width: 100px;}
.schedule-result-tbl tbody tr td.sportsman {padding: 0px; width: 65%;}
.schedule-result-tbl tbody tr td.sportsman table {border: none; width: 100%;}
.schedule-result-tbl tbody tr td.sportsman table td {border: none !important;}
.schedule-result-tbl tbody tr td.sportsman table td.sportsman-detail {width: 10%; min-width: 140px; background-color: #999/*#39a860*/; text-align: center; color: #fff;}
.schedule-result-tbl tbody tr td.sportsman table td.sportsman-img {width: 10%; text-align: center;}
.schedule-result-tbl tbody tr td.sportsman table td.sportsman-img img {width: 45px; height: 45px; object-fit: cover;}
.schedule-result-tbl tbody tr td.sportsman table td.sportsman-name {font-weight: bold; min-width: 200px;}
.schedule-result-tbl tbody tr td.sportsman table td.sportsman-flag {width: 10%; text-align: center;}
.schedule-result-tbl tbody tr td.sportsman table td.sportsman-flag img {width: 50px; height: 50px; object-fit: contain;}
.schedule-result-tbl tbody tr td.sportsman table td.sportsman-province {width: 25%;}
.schedule-result-tbl tfoot tr td {border: 1px solid #084681; padding: 5px 10px; font-weight: bold; }
.schedule-result-tbl tbody > tr:nth-child(odd) { background: #f2f2f2; }
.schedule-result-tbl tbody > tr:nth-child(even) td.sportsman table tr { background: #fff; }

.schedule-result-side { background-color: #EFEFEF; padding: 15px; font-size: 14px;}
.schedule-result-side .title-label { background: #084681; font-size: 13px; color: #fff; padding: 10px 10px; border-bottom: none; margin-bottom: 15px; font-weight: bold; }
.schedule-result-side .box {margin-bottom: 15px;}
.schedule-result-side .box .flag img {height: 100px;}
.schedule-result-side .box .side-title {margin-top: 5px; margin-bottom: 15px; font-weight: bold;}
.schedule-result-side .box table {width: 100%; border: 1px solid #06752d; border-radius: 5px;}
.schedule-result-side .box table td {padding: 15px;}
.schedule-result-side .box table td.score {background-color: #084681; color: #fff; font-weight: bold; font-size: 24px; width: 120px; text-align: center;}
.schedule-result-side .result-detail {margin-bottom: 15px; background-color: #fff;}
.schedule-result-side .result-detail table {width: 100%; border: 1px solid #000;}
.schedule-result-side .result-detail table th, .schedule-result-side .result-detail table td {padding: 10px; text-align: center;}
.schedule-result-side .result-detail table th {background-color: #000; color: #fff; font-weight: bold; }
.schedule-result-side .result-detail table td  {border: 1px solid #000;}
.schedule-result-side .result-remark {margin-bottom: 15px;}
.schedule-result-side .result-remark .remark-label {font-weight: bold;}
.schedule-result-side .result-sportsman {background-color: #fff;}
.schedule-result-side .result-sportsman table {width: 100%;}
.schedule-result-side .result-sportsman table td {padding: 5px 10px;}
.schedule-result-side .result-sportsman table td.sportsman-detail {width: 10%; background-color: #39a860; color: #fff; text-align: center;}
.schedule-result-side .result-sportsman table td.sportsman-img {width: 10%; text-align: center;}
.schedule-result-side .result-sportsman table td.sportsman-img  img {width: 35px; height: 35px; object-fit: contain;}
.schedule-result-side .result-sportsman table td.sportsman-name {font-weight: bold;}
.schedule-result-side .result-sportsman table td.sportsman-positiontype {width: 10%; text-align: center;}

.schedule-result-group-tbl {width: 100%; min-width: 800px; border: 1px solid #084681; background-color: #fff; margin-top: 15px;}
.schedule-result-group-tbl thead tr th {font-family: 'Prompt'; font-size: 14px; background-color: #084681; color: #fff; padding: 10px 15px; text-align: center; border: 1px solid #06752d; border-bottom: unset; }
.schedule-result-group-tbl thead tr th:first-child { border-left: unset; }
.schedule-result-group-tbl thead tr th:last-child { border-right: unset; }
.schedule-result-group-tbl tbody tr td {border: 1px solid #084681; padding: 5px 10px; }
.schedule-result-group-tbl tbody tr td.groupname {font-weight: bold;}
.schedule-result-group-tbl tbody tr td.province-sportsman .province {font-weight: bold;}
.schedule-result-group-tbl tbody tr td.province-sportsman img {height: 24px;}
.schedule-result-group-tbl tbody tr td.set {font-weight: bold;}
.schedule-result-group-tbl tbody tr td.total {font-weight: bold;}

.remark-zone {margin-top: 30px; margin-bottom: 30px; font-size: 14px;}
.remark-zone .remark-title {font-weight: bold; font-family: 'Prompt'; margin-bottom: 15px; }
.remark-zone .remark-item {padding-bottom: 5px;}
.remark-zone .remark-label {}
.remark-zone .remark-label div {background-color: #E6E6E6; padding: 5px 10px; font-weight: bold; font-family: 'Prompt';}
.remark-zone .remark-detail {}
.remark-zone .remark-detail div {padding: 5px;}

.scction-clear-1 { height: 15px; background-image: linear-gradient(#444, #666, #999); }
.scction-clear-2 { height: 15px; background-image: linear-gradient(#444, #555, #666); }

/***************** Tab & validate *****************/
.nav-tabs li .warning {display: none;}
.nav-tabs li.warning .warning {display: inline-block;}

/*** jFiler ****/
.jFiler-items .icon-jfi-trash.jFiler-item-trash-action {display: inline-block;}


/****************** custom data table *****************/
.dataTable .bottom { text-align: center; }
.dataTable .bottom .dataTables_paginate { float: unset; display: inline-block; }
.dataTable .bottom .dataTables_length { float: right; margin-left: 0; padding-left: 0; border: none; }

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
	background-color: #084681;
	border-color: #084681;
}

/************** IPST Only responsive css ****************/
.modal-dialog { width: 50%; margin: 0 auto; margin-top: 15px; margin-bottom: 15px; }
.modal-dialog table.dataTable { width: 100% !important; }
@media (max-width: 768px) { .modal-dialog { width: 100%; margin-top: 0px; margin-bottom: 0px; } }
.bootstrap-dialog { font-family: 'tahoma'; }
.bootstrap-dialog.type-primary .modal-header { background: none; box-shadow: 0px 2px 2px #ccc; }
.bootstrap-dialog .bootstrap-dialog-title { font-weight: bold; color: #fff; }
.bootstrap-dialog .bootstrap-dialog-title em { font-size: 20px; margin-right: 5px; }
.modal-header .close { color: #0A4D90; opacity: 1; font-weight: bold; }
p.form-control-static { word-break: break-all; }

.container-profile .panel-header-title1 { font-family: 'DBHelvethaicaX'; font-size: 36px; color: #084681; }
.container-profile .panel-header-title2 { font-family: 'DBHelvethaicaX'; font-size: 34px; text-align: center; margin-bottom: 20px; }
.container-profile .menu-left { background: #F2F2F2; padding: 15px; margin-bottom: 30px; }
.container-profile .menu-left-item { font-size: 22px; padding: 7px 15px; font-family: 'DBHelvethaicaX'; }
.container-profile .menu-left-item a { text-decoration: none; color: #084681; }
.container-profile .menu-left-item.active { background: #084681; }
.container-profile .menu-left-item.active a { cursor: default; color: #FFF }
.container-profile .menu-left-item:hover { background: #084681; }
.container-profile .menu-left-item:hover a { color: #FFF }
.container-profile .form-horizontal .has-feedback .form-control-feedback { top: 10px; }
.container-profile .form-horizontal .radio { padding-top: 3px; }

#swal2-content { font-size: 14px; line-height: 1.8; }

/* Filter */

@media only screen and (min-width: 1170px) {
    .cd-header {
        height: 180px;
    }
    .cd-header h1 {
        line-height: 180px;
    }
}
.cd-main-content {
    position: relative;
    min-height: 100vh;
}
.cd-main-content:after {
    content: "";
    display: table;
    clear: both;
}
.cd-main-content.is-fixed .cd-tab-filter-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}
.cd-main-content.is-fixed .main-body {
    padding-top: 76px;
}
.cd-main-content.is-fixed .cd-filter {
    position: fixed;
    height: 100vh;
    overflow: hidden;
}
.cd-main-content.is-fixed .cd-filter form {
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
.cd-main-content.is-fixed .cd-filter-trigger {
    position: fixed;
}
@media only screen and (min-width: 768px) {
    .cd-main-content.is-fixed .main-body {
        padding-top: 90px;
    }
}
@media only screen and (min-width: 1170px) {
    .cd-main-content.is-fixed .main-body {
        padding-top: 0px;
    }
}
  
/* -------------------------------- 
  
  xgallery 
  
  -------------------------------- */
.main-body {
    padding: 26px 5%;
    width: 100%;
}
@media only screen and (min-width: 768px) {
    .main-body {
        padding: 40px 3%;
    }
    .main-body ul {
        text-align: justify;
    }
    .main-body ul:after {
         content: "";
        display: table;
        clear: both;
    }
    /* .main-body li {
        width: 48%;
        margin-bottom: 2em;
    } */
}
@media only screen and (min-width: 1170px) {
    .main-body {
        padding: 0;
        float: right;
        -webkit-transition: width 0.3s;
        -moz-transition: width 0.3s;
        transition: width 0.3s;
    }
    /* .main-body li {
         width: 23%;
    } */
    .main-body.filter-is-visible {
      /* reduce width when filter is visible */
        width: 80%;
    }
}
  
/* -------------------------------- 
  
xfilter  จำเป็นต้องมี
  
-------------------------------- */
.cd-filter {
    position: absolute;
    top: 0;
    left: 0;
    /* width: 280px; */
    width: 318px;
    /* width: 20%; */
    height: 100%;
    background: #ffffff;
    box-shadow: 4px 4px 20px transparent;
    z-index: 2;
    /* Force Hardware Acceleration in WebKit */
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-transition: -webkit-transform 0.3s, box-shadow 0.3s;
    -moz-transition: -moz-transform 0.3s, box-shadow 0.3s;
    transition: transform 0.3s, box-shadow 0.3s;
}
.cd-filter::before {
    /* top colored bar */
    content: 'ค้นหาข้อมูลนวัตกรรม';
    position: absolute;
    top: 0px;
    left: 0;
    height: 50px;
    width: 100%;
    background-color:#055391;
    z-index: 2;
    font-size: 24px;
    color:#fff;
    padding-left: 54px;
    line-height: 52px;
    font-weight: 400;
    box-shadow: 0px 3px 8px rgba(0,0,0,.3);
}
.cd-filter form {
    padding: 70px 20px;
}
.cd-filter .cd-close {
    position: absolute;
    top: 0;
    right: 0px;
    height: 50px;
    line-height: 50px;
    width: 60px;
    color: #fff;
    font-size: 1.3rem;
    text-align: center;
    background: #063b66;
    opacity: 0;
    -webkit-transition: opacity 0.3s;
    -moz-transition: opacity 0.3s;
    transition: opacity 0.3s;
    z-index: 3;
    text-decoration: none;
}
.cd-filter .cd-close:hover {
    background-color: #030231;
}
.no-touch .cd-filter .cd-close:hover {
    background: #32255f;
    text-decoration: none;
}
.cd-filter.filter-is-visible {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
    box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.2);
    background-color: #055391;
}
.cd-filter.filter-is-visible .cd-close {
    opacity: 1;
}
@media only screen and (min-width: 1170px) {
    .cd-filter {
        width: 20%;
        /* width: 318px; */
    }
    .cd-filter form {
        padding: 50px 10px 10px 10px;
    }
}
  
.cd-filter-trigger {
    position: absolute;
    top: 0;
    left: 0;
    height: 50px;
    line-height: 50px;
    width: 60px;
    /* image replacement */
    overflow: hidden;
    text-indent: 100%;
    color: transparent;
    white-space: nowrap;
    z-index: 3;
}
.cd-filter-trigger.filter-is-visible {
    pointer-events: none;
}
@media only screen and (min-width: 1170px) {
    .cd-filter-trigger {
      width: auto;
      left: 0;
      text-indent: 0;
      color: #fff;
      text-transform: uppercase;
      font-size: 1.3rem;
      font-weight: 700;
      padding-left: 16px;
      padding-right: 18px;
      background-position: left center;
      -webkit-transition: color 0.3s;
      -moz-transition: color 0.3s;
      transition: 0.3s;
      background-color: #055391;
    }
    .no-touch .cd-filter-trigger:hover {
      color: #fff;
    }
    .cd-filter-trigger:hover {
        color: #fff;
        background-color: #020331;
    }
    .cd-filter-trigger.filter-is-visible, .cd-filter-trigger.filter-is-visible:hover {
      color: #ffffff;
    }
}
@media only screen and (max-width: 1170px) {
    .cd-filter-trigger {
        width: auto;
        left: 0;
        text-indent: 0;
        color: #fff;
        text-transform: uppercase;
        font-size: 1.3rem;
        font-weight: 700;
        padding-left: 16px;
        padding-right: 18px;
        background-position: left center;
        -webkit-transition: color 0.3s;
        -moz-transition: color 0.3s;
        transition: 0.3s;
        background-color: #055391;
      }
      .no-touch .cd-filter-trigger:hover {
        color: #fff;
      }
      .cd-filter-trigger:hover {
          color: #fff;
          background-color: #020331;
      }
      .cd-filter-trigger.filter-is-visible, .cd-filter-trigger.filter-is-visible:hover {
        color: #ffffff;
      }
}

/************** Index Only ****************/

.box-title  { line-height: 0.7; margin-bottom: 30px; }
.box-title .title-main { font-size: 50px; color: #05436f; font-weight: 900; }
.box-title .title-sub { font-size: 40px; color: #bd4239; font-weight: 500; }
.box-title .add { font-size: 50px; color: #05436f; }
.box-item .item {border-radius: 15px; box-shadow: 0px 4px 10px -1px #817c7c; padding: 20px;}
.section { margin-bottom: 30px; }

.section .container, .modal-content { font-family: 'DBHelvethaicaX'; }
.modal-content .modal-title { border-left: 3px solid #000; padding-left: 10px; font-size: 32px; }
.modal-content .title-label { font-size: 24px; }
.modal-content form {font-size: 22px;}
a:hover, a:focus {text-decoration: none !important;}

.section-search .bg { padding: 20px; background: #005490; }
.section-search .text-left { padding-left: 50px; }
.section-search .col-md-8 { padding-top: 25px; }
.section-search .list-filter { display: inline-block; }
.section-search .list-filter.title { font-weight: bold; color: #fff; }
.section-search .list-filter.title p { font-size: 40px; line-height: 1; }
.section-search .list-filter input { background: rgba(255,255,255,0.8); font-family: 'DBHelvethaicaX'; font-size: 18px; border-radius: 20px; display: block; width: 280px; margin-right: 5px; }
.section-search .list-filter select { background: rgba(255,255,255,0.8); font-family: 'DBHelvethaicaX'; font-size: 18px; border-radius: 20px; display: block; width: 170px; margin-right: 5px; }
.section-search .list-filter a { background: rgba(255,255,255,0.8); font-family: 'DBHelvethaicaX'; font-size: 18px; background: #00104C; color: #fff; border-radius: 15px; padding: 7px 25px; }
.section-search .list-filter a:hover { background: #232d50; text-decoration: none; }

.section-1 .box-detail, .section-1 .box-silde { background: #fff; }
.section-1 .title .title-main { font-size: 50px; color: #05436f; font-weight: 900; }
.section-1 .title .title-sub { font-size: 30px; }
.section-1 .detail { font-size: 22px; }
.section-1 #section1-silde-001 img { height: 200px; width: 100%; object-fit: cover; }

.section-2 .header { text-align: center; }
.section-2 .header .title { font-size: 50px; font-weight: bold; }
.section-2 .header .detail { font-size: 30px; }
.section-2 .box-item .item { text-align: center; margin-bottom: 20px; }
.section-2 .box-item .item > div { margin-bottom: 10px; }
.section-2 .box-item .item .detail > p { margin-bottom: 10px; }
.section-2 .box-item .item .image img {  width: 100%; height: 280px; object-fit: cover; }
.section-2 .box-item .item .detail .title { font-size: 34px; color: #2181cd; }
.section-2 .box-item .item .detail .amount { font-size: 60px; font-weight: bold; }
.section-2 .box-item .item .detail .name { font-size: 30px; color: #005490; }

.section-3 .box-detail { background: #fff; }
.section-3 .title { line-height: 0.7; }
.section-3 .title .title-main { font-size: 50px; color: #05436f; font-weight: 900; }
.section-3 .title .title-sub { font-size: 40px; color: #bd4239; font-weight: 500; }
.section-3 .detail { font-size: 22px; }

.section-4 .container { position: relative; }
.section-4 .zone-title { text-align: left; margin-bottom: 50px; }
.section-4 .zone-title .title { font-size: 26px; color: #003B94; }
.section-4 .zone-title .title span.sub-1 { font-size: 28px; margin-right: 10px; }
.section-4 .zone-title .title span.sub-2 { border-bottom: solid 3px #FFB66B; }
.section-4 .zone-title .title span.sub-3 { color: #003B94; }
.section-4 .homecard { margin-bottom: 20px; box-shadow: 2px 2px 5px #ccc; }
.section-4 .homecard .image { position: relative; }
.section-4 .homecard .image .category { font-family: 'DBHelvethaicaX';font-size: 35px;position: absolute;top: 37%;left: auto; padding: 5px 10px;color: #fff;width: 100%;text-align: center;text-shadow: 2px 2px 2px #575453;}
.section-4 .homecard .image a img { height: 250px; object-fit: cover; }
.section-4 .homecard .detail { padding: 15px; background: #f5f5f5; }
.section-4 .detail-title { margin-bottom: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.section-4 .detail-title a { font-size: 22px; color: #333; }
.section-4 .detail-row .detail-detail { height: 60px; overflow: hidden; }
.section-4 .slick-slide img { width: 100%; object-fit: contain; }
.section-4 .overlay-left,.section-4 .overlay-right {background-color: rgba(255, 255, 255, 0.8);width: 386px;z-index: 2;}
.section-4 #slideSet_section4_Next { position: absolute; top: 45%; left: -50px; font-size: 20px; padding: 16px; color: #2d5f90; background: #ffffff; border: 1px solid; border-radius: 50%; height: 50px; width: 50px; }
.section-4 #slideSet_section4_Prev { position: absolute; top: 45%; right: -50px; font-size: 20px; padding: 16px; color: #ffffff; background: #2d5f90; border: 1px solid; border-radius: 50%; height: 50px; width: 50px; }
.section-4 #slideSet_section4_Next:hover, #section-4 #slideSet_section4_Prev:hover { cursor:pointer}

.section-5 .box-item .item { height: 250px; padding: 40px 20px 20px 20px; text-align: center; font-size: 35px; color: #fff;}    
.section-5 .box-item .item .image { font-size: 50px; }
.section-5 .box-item .row { margin-bottom: 30px; }
.section-5 .box-item .item-8 { padding-top: 80px; }
.section-5 .box-item .item-8 .image .fa { height: 100px; width: 100px; padding: 27px; border: 1px solid;  border-radius: 50%; color: #cbcbcb;}
.section-5 .box-item .item-1 { background: #2196f3; }
.section-5 .box-item .item-2 { background: #576ea2; }
.section-5 .box-item .item-3 { background: #0d2254; }
.section-5 .box-item .item-4 { background: #314aa6; }
.section-5 .box-item .item-5 { background: #227ae8; }
.section-5 .box-item .item-6 { background: #0d2254; }
.section-5 .box-item .item-7 { background: #2196f3; }
.section-5 .box-item .item-8 { background: #fff; }
.section-5 .box-item .zoom { transition: transform .2s; }
.section-5 .box-item .zoom:hover { transform: scale(1.2); cursor:pointer; }

.section-6 .box-title {float: left;}
.section-6 .box-add { font-size: 50px; color: #05436f; }
.section-6 .main-content { margin-bottom: 20px; }
.section-6 .main-content .content-image img{height: 250px; width: 100%; object-fit: cover;}
.section-6 .main-content .content-detail {height: 250px; overflow: hidden;}
.section-6 .main-content .content-detail p.detail { font-size: 22px;  word-break: break-all; }
.section-6 p.title { font-size: 25px; font-weight: bold; overflow: hidden; height: 85px; word-break: break-word; line-height: 1.2;}
.section-6 p.time {font-size: 22px;}
.section-6 .sub-contant .item { background-color: #fff; margin-bottom: 30px; }
.section-6 .sub-contant .item .content-image img{ width: 100%; object-fit: cover; margin-bottom: 10px; height: 150px;}
.section-6 .sub-contant .item .detail{ font-size: 25px; line-height: 1;}
.section-6 em { position: relative; top: 2px;}
.section-6 a:hover {text-decoration: none;}

.section-7 .item-list .item { color: #fff; padding: 20px; position: relative; }
.section-7 .item-list .item .title { font-size: 30px; margin-bottom: 10px; }
.section-7 .item-list .item .title em { position: relative; top: 5px; margin-right: 10px; }
.section-7 .item-list .item .detail { font-size: 25px; margin-right: 10px;}
.section-7 .item-list .item-1 { background-image: url(../img/bg/bg-c1.png) }
.section-7 .item-list .item-2 { background-image: url(../img/bg/bg-c2.png) }
.section-7 .item-list .item-3 { background-image: url(../img/bg/bg-c3.png) }
.section-7 .item-list .viewmore { text-align: center; margin-top: 9px;  font-size: 20px; color: #fff; transition: 0.5s;}
.section-7 .item-list .viewmore::after { content: "\f107"; font-family: FontAwesome; color: #fff; position: relative; padding-left: 4px; top: 2px; }
.section-7 .item-list .viewmore:hover { cursor: pointer; }
.section-7 .item-list .viewmore#viewmore1 { background: #933b39; }
.section-7 .item-list .viewmore#viewmore2 { background: #254d79; }
.section-7 .item-list .viewmore#viewmore3 { background: #565555; }
.section-7 .item-list .viewmore#viewmore1:hover { background: #893c3b; }
.section-7 .item-list .viewmore#viewmore2:hover { background: #1e3d5e; }
.section-7 .item-list .viewmore#viewmore3:hover { background: #4a4646; }
.section-7 .item-list a { color: #fff; }
.section-7 .item-list a:hover { color: #cbcbcb; text-decoration: none; }

.section-banner .item-list .item {text-align: center;}
.section-banner .item-list .item .image img{ width: 250px; height: 70px; object-fit: cover; }

@media (max-width: 991px) {

	.section-search .list-filter { padding-top: 20px; }
    .section-search .text-left { padding-left: 15px; }
    .section-search .list-filter { display: block; margin-bottom: 15px; padding: 0 15px; }
    .section-search .list-filter input { width: 100%; margin-right: 0px; }
    .section-search .list-filter select { width: 100%; margin-right: 0px; }
	.section-search .col-md-8 {text-align: center;}
	
	.section-5 .box-item .item { margin-bottom: 20px; }
	.section-5 .box-item .row { margin-bottom: 0px; }
	.section-5 .box-item .item { height: 200px; }    
	.section-5 .box-item .zoom:hover { transform: scale(1.1); cursor:pointer; }
	.section-5 .box-item .item-8 { padding-top: 45px; }

	.section-6 .sub-contant .item { background-color: #fff; margin-bottom: 30px; }

	.section-7 .box-title , .section-7 .item-list .col-md-4 {margin-bottom: 20px;}

	.section-banner .box-title , .section-banner .item-list .item {margin-bottom: 20px;}

}
@media (max-width: 767px) {

}
@media (max-width: 425px) {

}

/************** Index Only ****************/


/************** Page Search Only ****************/

.page-search .table-list { overflow: auto; }
.page-search .result-title { font-size: 26px; margin-bottom: 0px; }
.page-search .result-title .fa { position: relative; top: 3px; padding-right: 10px; }
.page-search .result-title small { float: right; position: relative; top: 10px; }
.page-search .result-title small span { color: #943505; }

.page-search .table-list table thead { font-size: 24px; text-align: center; background: #666666; color: #fff; }
.page-search .table-list table tbody { font-size: 20px; }
.page-search .panel-detail { font-size: 20px; }
.page-search a:hover { text-decoration: none; }
.page-search .table-list th { vertical-align: middle; font-weight: 400; text-align: center; }

/************** End Page Search Only ****************/

.cd-main-content { background-color: #f3f3f4;}
.page-title { display: none; }
.page-title { text-align: center; color: #172b48; position: relative; top: -30px; overflow: hidden; }
.page-title .main-title { font-size: 45px; color: #172b48; font-family: 'DB HelvethaicaX Med'; margin-bottom: 10px; }
.page-title .main-title { margin-bottom: 0; display: inline-block; position: relative; top: 15px; /* padding: 0 70px; */ font-weight: 700; letter-spacing: 2px; color: #172b48; }
.page-title .main-title:before,
.page-title .main-title:after {background-color: #0A214A; content: ""; display: inline-block; height: 3px; position: relative; vertical-align: middle; width: 50%;}
.page-title .main-title:before {right: 1em;  margin-left: -50%;}
.page-title .main-title:after {left: 1em;  margin-right: -50%;}
.page-title .sub-title { font-size: 30px; margin-bottom: 50px; line-height: 22px; }
.page-title .sub-title { padding-top: 12px; margin: 0 auto 0px; line-height: 1; }

.app-box { background: #fff; padding: 20px; border-radius: 0px; box-shadow: 0px 0px 10px 2px #ddd; margin-bottom: 30px; }
.app-box .app-box-header {font-family: 'DB HelvethaicaX Med';font-size: 36px; padding: 0px 0px 15px;}

.form-group.custom-icon-panel  { padding-left: unset; position: relative; }
.form-group.custom-icon-panel label { color: #172B48; margin-bottom: 10px; font-family: 'DB HelvethaicaX Med'; font-size: 26px; }
.form-group.custom-icon-panel .with-icheck label { font-family: "DBHelvethaicaX-Regular"; font-weight: normal; }
.form-group.custom-icon-panel .custom-icon { background: #14346D; border-radius: 50%; text-align: center; width: 35px; height: 35px; display: inline-block; margin-right: 12px; }
.form-group.custom-icon-panel .custom-icon em { color: #fff; margin-top: 8px; font-size: 18px; position: relative; }

.flex-container { display: flex; }
.panel-detail .help-block.error, .help-block.error { font-size: 19px; }

.swal2-popup { min-width: 40%; }

.bootstrap-dialog.type-primary .modal-header { background: linear-gradient( to bottom, #ff5100, #ff7230); box-shadow: none; }
.bootstrap-dialog.type-primary .modal-header .close { color: #fff; }
.bootstrap-dialog .bootstrap-dialog-title { font-size: 24px !important; font-weight: normal; }
.bootstrap-dialog .bootstrap-dialog-footer-buttons { text-align: center; }
.bootstrap-dialog .bootstrap-dialog-footer-buttons button { font-size: 22px; }
.bootstrap-dialog .bootstrap-dialog-footer-buttons button span { font-size: 18px; }
.bootstrap-dialog .btn.btn-primary { background: linear-gradient( to bottom, #ff5100, #ff7230); border: none; }


@media (max-width: 991px) {
    .page-title .main-title { font-size: 30px; line-height: 1.2; margin-bottom: 15px; }
    .page-title .sub-title { font-size: 25px; }
}
@media (max-width: 767px) {
    .page-title .main-title { font-size: 25px; line-height: 1.2; margin-bottom: 15px; }
    .page-title .sub-title { font-size: 20px; }
    .page-title .main-title:before {display: none;}
    .page-title .main-title:after {display: none;}
}

.jFiler-input-text a, .jFiler-input-icon em { color: #ff5100 !important; }