@font-face {
  font-family: "ThaiSansNeue-Regular";
  src: url("../fonts/ThaiSansNeue-Regular.eot"); /* IE9 Compat Modes */
  src: url("../fonts/ThaiSansNeue-Regular.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("../fonts/ThaiSansNeue-Regular.otf") format("opentype"), /* Open Type Font */
    url("../fonts/ThaiSansNeue-Regular.svg") format("svg"), /* Legacy iOS */
    url("../fonts/ThaiSansNeue-Regular.ttf") format("truetype"), /* Safari, Android, iOS */
    url("../fonts/ThaiSansNeue-Regular.woff") format("woff"), /* Modern Browsers */
    url("./fonts/ThaiSansNeue-Regular.woff2") format("woff2"); /* Modern Browsers */
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "ThaiSansNeue-SemiBold";
  src: url("../fonts/ThaiSansNeue-SemiBold.eot"); /* IE9 Compat Modes */
  src: url("../fonts/ThaiSansNeue-SemiBold.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("../fonts/ThaiSansNeue-SemiBold.otf") format("opentype"), /* Open Type Font */
    url("../fonts/ThaiSansNeue-SemiBold.svg") format("svg"), /* Legacy iOS */
    url("../fonts/ThaiSansNeue-SemiBold.ttf") format("truetype"), /* Safari, Android, iOS */
    url("../fonts/ThaiSansNeue-SemiBold.woff") format("woff"), /* Modern Browsers */
    url("../fonts/ThaiSansNeue-SemiBold.woff2") format("woff2"); /* Modern Browsers */
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "ThaiSansNeue-Bold";
  src: url("../fonts/ThaiSansNeue-Bold.eot"); /* IE9 Compat Modes */
  src: url("../fonts/ThaiSansNeue-Bold.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("../fonts/ThaiSansNeue-Bold.otf") format("opentype"), /* Open Type Font */
    url("../fonts/ThaiSansNeue-Bold.svg") format("svg"), /* Legacy iOS */
    url("../fonts/ThaiSansNeue-Bold.ttf") format("truetype"), /* Safari, Android, iOS */
    url("../fonts/ThaiSansNeue-Bold.woff") format("woff"), /* Modern Browsers */
    url("../fonts/ThaiSansNeue-Bold.woff2") format("woff2"); /* Modern Browsers */
  font-weight: normal;
  font-style: normal;
}

.btn, .uk-button-default {
    background-color: #f6f0ee !important;
    color: #4e4241;
    background-image: none !important;
}

article h2 a:hover {
    color: #843a3c !important;
}

.tm-headerbar-top {
    background: #f1e7e4;
    padding: 9px 0px;
}

*+.uk-h1, *+.uk-h2, *+.uk-h3, *+.uk-h4, *+.uk-h5, *+.uk-h6, *+.uk-heading-2xlarge, *+.uk-heading-large, *+.uk-heading-medium, *+.uk-heading-small, *+.uk-heading-xlarge, *+h1, *+h2, *+h3, *+h4, *+h5, *+h6 {
    margin-top: 0px;
}
.uk-input, .uk-select:not([multiple]):not([size]), .uneditable-input:not([class*=uk-]), input[type=color]:not([class*=uk-]), input[type=date]:not([class*=uk-]), input[type=datetime-local]:not([class*=uk-]), input[type=datetime]:not([class*=uk-]), input[type=email]:not([class*=uk-]), input[type=month]:not([class*=uk-]), input[type=number]:not([class*=uk-]), input[type=password]:not([class*=uk-]), input[type=search]:not([class*=uk-]), input[type=tel]:not([class*=uk-]), input[type=text]:not([class*=uk-]), input[type=time]:not([class*=uk-]), input[type=url]:not([class*=uk-]), input[type=week]:not([class*=uk-]), select:not([class*=uk-]):not([multiple]):not([size]) {
    border: 1px solid #ccc !important;
    background: #fff;

}

textarea#Message {
    background: #fff;
    border: 1px solid #ccc;
}
.uk-card-body {
    padding: 25px 40px;
} 
.uk-card-default {
    background: #fff;
}

.uk-search-input {
    border: 1px solid #955a29;
    border-bottom: 1px solid #955a29 !important;
    border-radius: 20px;
    font-size: 14px;
}

.uk-navbar-container {
	border-bottom: 3px solid #fff;
}

html {
    font-family: "ThaiSansNeue-Regular";
    font-size: 22px;
    line-height: 26px;
}
.uk-h2, h2 {
    font-family: "ThaiSansNeue-Bold";
  
    font-size: 27px;
}
.uk-h3, h3 {
  	font-family: "ThaiSansNeue-Bold";
	color: #6e4512;
}
.uk-h4, h4 {
  	font-family: "ThaiSansNeue-Bold";
	color: #3b3b3b;	
	font-size: 25px;
}
h5 , h6 {
  	font-family: "ThaiSansNeue-Bold";

}

.fronttext h3 , .fronttext h4 {
	margin-top: 0px;
	margin-bottom: 0px;
}


.boxshadow .uk-flex {
    box-shadow: 0px 0px 6px 1px #dbdbdb;
}

.fc-toolbar.fc-header-toolbar {
    background: #67331b;
    color: #fff;
    height: 65px;
}
.fc-toolbar .fc-left {
    float: none;
}
.mod-dpcalendar-mini .fc-event, 
.mod-dpcalendar-mini .fc-event-dot {
    background-color: #3a87ad;
    width: 25px;
    height: 10px;
    text-align: center;
    margin: 0 auto;
}

.mod-dpcalendar-mini .fc-toolbar h2 {
	color: #fff;
	height: 65px;
	font-size: 30px;
	line-height: 65px;
}
.mod-dpcalendar-mini .fc-icon {
    display: block;
    height: auto;
    line-height: 1em;
    font-size: 20px;
    text-align: center;
    overflow: visible;
}

.uk-heading-bullet::before {
    background: url(../images/header-bullet.png) 0 0 no-repeat;
    padding: 1px 13px;
    border-left: 0px;
}
.mod-dpcalendar-mini__calendar {
    background: #e9e9e9;
}

.mod-dpcalendar-mini .fc-ltr .fc-basic-view .fc-day-top .fc-day-number {
    float: none;
    font-weight: bold;
    color: #555555;
}
.mod-dpcalendar-mini .fc-unthemed th, .fc-unthemed td, .fc-unthemed thead, .fc-unthemed tbody, .fc-unthemed .fc-divider, .fc-unthemed .fc-row, .fc-unthemed .fc-content, .fc-unthemed .fc-popover, .fc-unthemed .fc-list-view, .fc-unthemed .fc-list-heading td {
    border-color: #ddd;
    text-align: center;
    font-size: 33px;
    letter-spacing: 1px;
    vertical-align: middle;
    overflow: hidden;
}
.mod-dpcalendar-mini .fc-basic-view .fc-body .fc-row {
    min-height: 30px;
}
.mod-dpcalendar-mini .fc-unthemed th {
    height: 45px;
}
td.fc-day-top.fc-sun.fc-past span ,
td.fc-day-top.fc-sun.fc-future span {
    color: red !important;
}
td.fc-day-top.fc-sat.fc-past span ,
td.fc-day-top.fc-sat.fc-future span {
    color: #960e0b !important;
}
.fc-toolbar.fc-header-toolbar {

}

.mod-dpcalendar-upcoming-panel__event {
    background-color: #fff;
    box-shadow: 0px 0px 0px;
}
.mod-dpcalendar-upcoming-panel__description p,
.mod-dpcalendar-upcoming-panel a.dp-event-url.dp-link {
    color: #4e4241;
	font-size: 23px;
}
.mod-dpcalendar-upcoming-panel__information {
    margin-bottom: 10px;
}
h3.wk-h5.wk-margin-top-remove ,
.mod-dpcalendar-upcoming-panel .dp-date__start {
    font-size: 23px;
    color: #6e4511;
    font-weight: bold;
    opacity: unset !important;
}


.com-dpcalendar-calendar .fc-toolbar h2 {
    color: #fff;
    height: 65px;
    font-size: 34px;
    line-height: 65px;
}
.com-dpcalendar-calendar__calendar.dp-calendar.fc.fc-unthemed.fc-ltr {
    background: #e9e9e9;
}


.fc-view-container *, 
.fc-view-container *:before, 
.fc-view-container *:after {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    color: #000;
    font-size: 22px;
    font-weight: 100;
}
.fc-view-container *, 
.fc-view-container *:before, 
.fc-view-container *:after {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    color: #000;
    font-size: 22px;
    font-weight: 100;
}
.fc-unthemed th, .fc-unthemed td, .fc-unthemed thead, .fc-unthemed tbody, .fc-unthemed .fc-divider, .fc-unthemed .fc-row, .fc-unthemed .fc-content, .fc-unthemed .fc-popover, .fc-unthemed .fc-list-view, .fc-unthemed .fc-list-heading td {
    border-color: #b6b6b6;
}

.com-dpcalendar-calendar .fc-content {
    height: 20px;
}
.fc-toolbar.fc-header-toolbar {
    margin-bottom: 0em;
}

span.fc-title {
    font-size: 0px;
}
.dp-event-tooltip__date   {
    font-size: 20px;
}
.dp-event-tooltip a {
    font-size: 20px;
}
.dp-event-tooltip a:hover {
    color: #fff;
}

h3.wk-h5.wk-margin-top-remove  {
    font-size: 23px;
    color: #2b2b2b;
    font-weight: bold;
    opacity: unset !important;
}
p.wk-article-meta {
    display: none;
}

.book-panel h3.wk-h5.wk-margin-top-remove {
    background: url(../images/pdf-icon.png) 0 0 no-repeat;
    display: inline-block;
    padding: 10px;
    width: 100%;
    margin-left: 54px;
    min-height: 50px;
}

.book-panel a.wk-link-reset {
    width: 89%;
    display: block;
    margin-top: -15px;
    float: right;
}


.mod-dpcalendar-upcoming-panel  span.dp-time__start ,
.mod-dpcalendar-upcoming-panel  span.dp-time__separator ,
.mod-dpcalendar-upcoming-panel  span.dp-time__end {
	display: none;
}

.mod-dpcalendar-upcoming-panel__date {
    display: inline;
}
.mod-dpcalendar-upcoming-panel__description {
    display: inline-block;
}

.mod-dpcalendar-upcoming-panel__group, .mod-dpcalendar-upcoming-panel>.mod-dpcalendar-upcoming-panel__event {
    flex: unset;
    position: relative;
    margin: 0px;
}
.mod-dpcalendar-mini .fc-center {
    position: absolute;
    margin: 0 auto;
    left: 40%;
    display: block;
}

.mod-dpcalendar-mini .fc-button-group {
    width: 100%;
    display: inline-block;
}
.mod-dpcalendar-mini span.fc-icon.fc-icon-left-single-arrow::after {
    content: "< เดือนก่อนหน้า";
    display: block;
    width: 133px;
    font-family: kanit;
    float: left;
    font-weight: normal;
    margin-top: 0px;
    font-size: 16px;
    color: #fff;
    margin-top: 23px;
}
.mod-dpcalendar-mini span.fc-icon.fc-icon-right-single-arrow::after {
    content: "เดือนถัดไป >";
    display: block;
    width: 133px;
    font-family: kanit;
    float: left;
    margin-left: -100px;
    font-weight: normal;
    margin-top: 0px;
    font-size: 16px;
    color: #fff;
    margin-top: 23px;
}
.mod-dpcalendar-mini button.fc-next-button.fc-button.fc-state-default.fc-corner-right {
    float: right;
}
 .mod-dpcalendar-mini button.fc-prev-button.fc-button.fc-state-default.fc-corner-left {
    float: left;
}
.mod-dpcalendar-mini .fc-button-group .fc-button {
    border-radius: .1rem;
    width: 50px;
    display: block;
}
.mod-dpcalendar-mini .fc-button-group .fc-button {
    border-radius: .1rem;
    width: auto;
    display: block;
    border: 0px;
    box-shadow: 0px 0px 0px;
    background: none;
}

.fc-state-default {
    text-shadow: 0px 0px 0px;
}

:focus {
    outline: -webkit-focus-ring-color auto 0px;
}


ul.uk-nav.uk-nav-default li {
font-family: "ThaiSansNeue-Regular";
    font-size: 23px;
    letter-spacing: 0px;
    height: 81px;
    display: table;
    margin: 0 auto;
    width: 190px;
    text-align: left;
    border-bottom: 1px solid #dbdbdb;
}
ul.uk-nav.uk-nav-default li a {
	display: table-cell;
	vertical-align: middle;
	padding-left: 0px;
	padding-right: 0px;
}
ul.uk-nav.uk-nav-default li.uk-active {
    height: 109px;
    width: 100%;
    display: table;
    background: #8e501e;
}
ul.uk-nav.uk-nav-default li.uk-active a {
	padding-left: 40px;
    padding-right: 40px;
}
.uk-nav-default>li.uk-active>a {
	display: table-cell;
	vertical-align: middle;
    color: #f4edeb;
    background-color: transparent;
}
.uk-card-body .uk-nav-default>li.uk-active:after  {
	display: none;
}

ul.uk-list.uk-list-divider {
    background: #fff;
    color: #4e4241;
    box-shadow: 2px 4px 12px rgba(0,0,0,.03), 8px 28px 56px rgba(0,0,0,.05);
    padding: 20px;
}

ul.uk-list h3 {
    font-size: 22px;
}



div#pages .uk-container {
	background: #fff;
}

body.donate .donate-panel .uk-container {
    background: #fff;
    padding-top: 20px;
    padding-bottom: 35px;
}

body.donate .donate-panel .el-content p {
    margin-top: 5px !important;
    margin-bottom: 0px !important;
}

body.donate .uk-card-body {
    padding: 15px 20px;
}

 
  article.uk-article {
/*    background: #fff; */
}
 

.uk-article h2.uk-margin-small-top {
    background: #fff;
    margin-top: 0px !important;
    padding: 10px 20px;
    min-height: 64px;

}

.block-article article.uk-article h2 {
    min-height: 64px;
}

div#tm-main h1 {
font-family: "ThaiSansNeue-Regular";
    font-size: 30px;
    line-height: 1.3;
    color: #960c0a;
    font-weight: bold;
    letter-spacing: 1.2px;
}

div#tm-main .uk-container {
    background: #fff;
    padding: 30px 30px;
}

.uk-accordion-title {
    display: block;
    font-size: 21px;
    line-height: 60px;
    color: #422c2a;
    padding: 0 0;
    background: 0 0;
    overflow: hidden;
    font-family: "ThaiSansNeue-Regular";
    letter-spacing: -.5px;
    height: 75px;
    padding-left: 30px;
    background: #ededed;
}

.uk-accordion .el-item.uk-open  {
    background: #ededed;

}

.uk-accordion .el-content.uk-panel.uk-margin-top {
    padding-left: 30px;
    padding-bottom: 40px;
    padding-right: 30px;
}

.uk-accordion-title::before {
    content: "แสดงรายละเอียดเพิ่มเติม" !important;
    width: 200px;
    font-weight: bold;
    font-size: 19px;
    background-image: url(../images/arrow-right.png);
    background-repeat: no-repeat;
    background-position: 128px 19px;
    height: auto;
}

.uk-open>.uk-accordion-title::before {
    background-image: url(../images/arrow-down.png);
    background-repeat: no-repeat;
    background-position: 128px 19px;
    height: auto;
}
 

.formResponsive input[type="submit"], .formResponsive button[type="submit"] {
    background-color: #8f511e;
    border-color: #8f511e #8f511e #8f511e;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#8f511e', endColorstr='#8f511e', GradientType=0);
    filter: progid:dximagetransform.microsoft.gradient(enabled=false);
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);


    background-image: -ms-linear-gradient(top, #8f511e, #8f511e);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#8f511e), to(#8f511e));
    background-image: -webkit-linear-gradient(top, #8f511e, #8f511e);
    background-image: -o-linear-gradient(top, #8f511e, #8f511e);
    background-image: -moz-linear-gradient(top, #8f511e, #8f511e);
    background-image: linear-gradient(top, #8f511e, #8f511e);
    float: right;
    padding: 13px 40px;
    font-family: "ThaiSansNeue-Regular";
    font-size: 20px;
    letter-spacing: 2px;
}



.uk-form-horizontal .uk-form-controls {
    margin-left: 0px;
    width: 500px;
    text-align: center;
    margin: 0 auto;
}

.rsform-block.rsform-block-info2 {
    text-align: center;
    margin-top: 20px;
}

.rsform-block.rsform-block-name ,
.rsform-block.rsform-block-email ,
.rsform-block.rsform-block-subject ,
.rsform-block.rsform-block-message ,
.rsform-block.rsform-block-send {
    width: 50%;
    margin: 0 auto;
}

label#searchphraseany-lbl ,
label#searchphraseall-lbl {
    font-size: 20px !important;
}


form#searchForm .uk-text-small {
    font-size: 20px;
}
.uk-search-default .uk-search-input {
    height: 40px;
    padding-left: 20px;
    padding-right: 20px;
}
form#searchForm button.uk-button {
    background: #8e501e;
    border-radius: 20px;
    color: #fff;
}

input#searchphraseall ,
input#searchphraseany ,
input#searchphraseexact  {
    margin-right: 6px;
}

.search .uk-grid-margin.uk-first-column {
    padding-bottom: 20px;
    border-bottom: 1px solid #dbdbdb;
}  

.search .uk-grid {
    margin-left: 0px;
}

.book article a img {
    width: 173px;
    height: 250px;
}

@media (max-width:414px) {


.homeslide img.el-image.uk-cover {
    height: 447px !important;
    width: 1085px !important;
}

.uk-navbar-container:not(.uk-navbar-transparent) {
    background: #ffffff;
}

a.uk-navbar-item.uk-logo img {
    width: 50px;
}

.book-panel h3.wk-h5.wk-margin-top-remove {
    margin-left: 0px;
}

ul.uk-nav.uk-nav-default li a {
    display: block;
    vertical-align: middle;
    padding-left: 0px;
    padding-right: 0px;
    width: 100%;
}
ul.uk-nav.uk-nav-default li {
    font-family: "ThaiSansNeue-Regular";
    font-size: 23px;
    letter-spacing: 0px;
    height: auto;
    display: block;
    margin: 0 auto;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid #dbdbdb;
}
ul.uk-nav.uk-nav-default li.uk-active {
    height: auto;
    width: 100%;
    display: inline-block;
    background: transparent;
    text-align: left;
}

ul.uk-nav.uk-nav-default li.uk-active a {
    padding-left: 0px;
    padding-right: 0px;
    font-weight: bold;
}


.uk-nav-default>li.uk-active>a {
    display: table-cell;
    vertical-align: middle;
    color: #554949;
}
ul.uk-nav-sub {
    padding: 0px 0 15px 15px;
    margin-top: -5px;
}
.uk-nav-sub a {
    padding: 6px 0;
}

.mod-dpcalendar-mini .fc-toolbar h2 {
    color: #fff;
    height: 55px;
    font-size: 25px;
    line-height: 33px;
    margin-top: -40px;
}
.mod-dpcalendar-mini .fc-center {
    position: absolute;
    margin: 0 auto;
    left: 2%;
    display: block;
}
.mod-dpcalendar-mini span.fc-icon.fc-icon-left-single-arrow::after {
    margin-left: -20px;
}
.mod-dpcalendar-mini span.fc-icon.fc-icon-right-single-arrow::after {
    margin-right: -29px;
}

.rsform-block.rsform-block-name, .rsform-block.rsform-block-email, .rsform-block.rsform-block-subject, .rsform-block.rsform-block-message, .rsform-block.rsform-block-send {
    width: 100%;
    margin: 0 auto;
}


.donate-panel img.el-image.uk-cover {
    height: 261px !important;
    width: 179px !important;
}

.footer .uk-container {
    text-align: center;
}


.uk-accordion-title {
    display: block;
    font-size: 20px;
    line-height: 25px;
    color: #422c2a;
    padding: 10px 0;
    background: 0 0;
    overflow: hidden;
    font-family: "ThaiSansNeue-Regular";
    letter-spacing: 0.5px;
    height: auto;
    padding-left: 15px;
    padding-right: 20px;
    background: #ededed;
}


.uk-accordion-title::before {
    content: ">" !important;
    position: absolute;
    right: 22px;
    width: auto;
}






}

@media (max-width:375px) {

.mod-dpcalendar-mini span.fc-icon.fc-icon-right-single-arrow::after ,
.mod-dpcalendar-mini span.fc-icon.fc-icon-left-single-arrow::after {
    font-size: 12px;
}



}

@media (max-width:320px) {


.mod-dpcalendar-mini .fc-toolbar h2 {
    font-size: 20px;
}
.mod-dpcalendar-mini span.fc-icon.fc-icon-left-single-arrow::after {
    position: absolute;
    top: -24px;
    left: -16px;
    z-index: 999;
}
.mod-dpcalendar-mini span.fc-icon.fc-icon-right-single-arrow::after {
    position: absolute;
    right: -14px;
    top: -24px;
    z-index: 999;
}


}















