@font-face {
  font-family: 'CSChatThaiUI';
  src: url('../fonts/CSChatThaiUI.eot') format('embedded-opentype'),  
  url('../fonts/CSChatThaiUI.woff') format('woff'), 
  url('../fonts/CSChatThaiUI.ttf')  format('truetype'), 
  url('../fonts/CSChatThaiUI.svg') format('svg');
  font-weight: normal;
  font-style: normal; 
}

@font-face {
  font-family: 'CSChatThai';
  src: url('../fonts/CSChatThai.eot') format('embedded-opentype'),  
  url('../fonts/CSChatThai.woff') format('woff'), 
  url('../fonts/CSChatThai.ttf')  format('truetype'), 
  url('../fonts/CSChatThai.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'ThaiSansNeue-Bold';
  src: url('../fonts/ThaiSansNeue-Bold.eot') format('embedded-opentype'),  
  url('../fonts/ThaiSansNeue-Bold.woff') format('woff'), 
  url('../fonts/ThaiSansNeue-Bold.ttf')  format('truetype'), 
  url('../fonts/ThaiSansNeue-Bold.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}

body {
    margin: 0;
    background: #f6f7f7;
}

html {
	background: #fff;
	font-family: 'CSChatThaiUI';

}
h1, h2, h3, h4, h5, h6 {
  font-family: 'ThaiSansNeue-Bold';
}
h2, .uk-h2 {
    font-size: 37px;
    line-height: 37px;
}

.contentheading {
    display: block !important;
    margin: 0px 0px 15px !important;
    border-bottom: 3px solid #37AEA3;
    padding: 2px 0px;
}


section#tm-main-top .uk-panel-title {
    font-family: 'ThaiSansNeue-Bold';
    font-style: italic;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 27px;
    line-height: 23px;
    font-weight: 100;
    text-transform: none;
    color: #000;
    border-bottom: 2px solid #37AEA3;
    padding-bottom: 6px;
}


.uk-panel-title {
    font-family: 'ThaiSansNeue-Bold';
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 27px;
    line-height: 23px;
    font-weight: 100;
    text-transform: none;
    color: #000;
    padding-bottom: 6px;
}

.tm-sidebar-b h3.uk-panel-title {
    -webkit-clip-path: polygon(75% 0%, 80% 50%, 75% 100%, 0% 100%, 0 50%, 0% 0%);
    clip-path: polygon(75% 0%, 80% 50%, 75% 100%, 0% 100%, 0 50%, 0% 0%);
    background: #74c1bd;
    color: #fff;
	padding: 10px;
	width: 208px;
}

.tm-sidebar-b .uk-panel {
    background: #f1f1f1;
}
.tm-sidebar-b span.module_readon {
    background: #37aea3;
    /* width: 100%; */
    display: block;
    padding: 10px 10px 10px 0px;
    text-align: right;
}
.tm-sidebar-b span.module_readon a {
	color: #fff;
}
ul.mod_flexicontent.mod_flexicontent_standard {
	list-style-type: square;
	color: gray;
}
ul.mod_flexicontent.mod_flexicontent_standard a {
	font-family: 'CSChatThaiUI';
	color: #7d7d7d;	
	list-style-type: square;
}

.logo.uk-container.uk-container-center {
    background: transparent;
        border: 0px solid;
}

.mainnav {
    height: 62px;
    background: #f1f1f1;
    background: -moz-linear-gradient(top, #f1f1f1 0%, #fafafa 48%, #f0f0f0 100%);
    background: -webkit-linear-gradient(top, #f1f1f1 0%,#fafafa 48%,#f0f0f0 100%);
    background: linear-gradient(to bottom, #f1f1f1 0%,#fafafa 48%,#f0f0f0 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f1f1f1', endColorstr='#f0f0f0',GradientType=0 );
        border-bottom: 1px solid #e5e5e5;
    margin-bottom: 10px;
}
.mainnav .uk-container {
    margin: 0 auto;
}

.uk-navbar {
    background: #21AABD url(../images/header.jpg) center top;
    color: #ffffff;
}

.uk-navbar.tm-headerbar.uk-container.uk-container-center.uk-flex.uk-flex-center.uk-flex-middle {
    max-width: inherit;
    padding: 0px;
    height: 233px;
    background: #21AABD url(../images/header.jpg) center top;
    border-bottom: 7px solid #35827c;
}

.tm-navbar {
    background: #FDFEFE !important;
    /* background: #4f5157; */
    background: #f1f1f1;
    background: -moz-linear-gradient(top, #f1f1f1 0%, #fafafa 48%, #f0f0f0 100%);
    background: -webkit-linear-gradient(top, #f1f1f1 0%,#fafafa 48%,#f0f0f0 100%);
    background: linear-gradient(to bottom, #f1f1f1 0%,#fafafa 48%,#f0f0f0 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f1f1f1', endColorstr='#f0f0f0',GradientType=0 );
}

.tm-navbar {
    margin-bottom: 0px;
    border-bottom: 0px solid #37AEA3;
}


.uk-navbar-nav > li > a {
    display: block;
    box-sizing: border-box;
    text-decoration: none;
    height: 62px;
    padding: 0 9px;
    line-height: 60px;
    color: #1d1b19;
    font-size: 16px;
    font-family: 'CSChatThaiUI';
    font-weight: 100;
}
.uk-navbar-nav > li:hover > a, .uk-navbar-nav > li > a:focus, .uk-navbar-nav > li.uk-open > a {
    background-color: rgba(0, 0, 0, 0);
    color: #13a6b7;
    outline: none;
}
.uk-navbar-nav > li.uk-active > a {
    background-color: rgba(0, 0, 0, 0);
    color: #37AEA3;
    font-style: italic;
    font-weight: bold;
}
.logo.uk-container.uk-container-center {
    display: block;
    width: 100%;
    margin-top: -140px;
}

nav.uk-visible-large .uk-flex-center {
    -ms-flex-pack: flex-start !important;
    -webkit-justify-content: flex-start !important;
    justify-content: flex-start !important;
}


.uk-icon-button {
    box-sizing: border-box;
    display: inline-block;
    width: 25px;
    height: 30px;
    border-radius: 100%;
    background: rgba(0, 0, 0, 0);
    line-height: 25px;
    color: #66bcb4;
    font-size: 18px;
    text-align: center;
    border: 0px solid #adadae;
}

.tm-footer {
    margin-top: 0px;
}
.tm-footer {
    box-sizing: border-box;
    padding: 0px 0;
    background: transparent;
    color: #fff;
    font-size: 14px;
}


/*
.uk-grid > * {
    padding-left: 14px;
}
*/

.home section#tm-top-a .uk-hidden-small.uk-hidden-medium.uk-width-large-1-3.uk-row-first,
.home section#tm-top-a .uk-width-large-1-3 {
       width: 450px;
    padding-left: 11px;
}

.home section#tm-top-a .uk-hidden-small.uk-hidden-medium.uk-width-large-2-3 {
    width: 794px;
    padding-left: 15px;
}

section#tm-top-a {
    margin-left: -11px;
}

 


.uk-overlay-panel.uk-overlay-bottom.uk-overlay-slide-bottom ,
.uk-overlay-panel.uk-overlay-bottom.uk-overlay-fade {
    -webkit-clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
    display: block;
    width: 50%;
    background: rgba(108, 191, 186, 0.71);
    color: #fff;
}

.uk-overlay-panel.uk-overlay-bottom.uk-overlay-slide-bottom h3,
.uk-overlay-panel.uk-overlay-bottom.uk-overlay-slide-bottom .uk-margin ,
.uk-overlay-panel.uk-overlay-bottom.uk-overlay-fade h3,
.uk-overlay-panel.uk-overlay-bottom.uk-overlay-fade .uk-margin {
    width: 300px;
    margin-left: 80px;
}


.uk-overlay-bottom {
    top: 140px;
    right: 30px;
    left: auto;
    height: 115px;
}

.uk-slidenav-position .uk-slidenav-next {
    right: 60px;
    background: url(../images/arr-right.png) no-repeat;
    width: 40px;
    height: 40px;
    display: block;
    margin-top: 20px;
}

.uk-slidenav-position .uk-slidenav-previous {
    /* left: auto; */
    background: url(../images/arr-left.png) no-repeat;
    width: 40px;
    height: 40px;
    display: block;
    margin-top: 20px;
    left: 333px;
}

.uk-slidenav-previous:before, .uk-slidenav-next:before {
    font-family: 'Monday';
    font-size: 0px;
}


.mod_flexicontent_wrapper .fcitem_active .fcitem_title a, 
.mod_flexicontent_wrapper .fcitem_active a.fcitem_link {
    border-radius: 8px !important;
    background-color: transparent !important;
    color: #000 !important;
    padding: 0px !important;
}


body #flexicontent .flexi.label, body #flexicontent .desc-title.label {
    background-color: #999999;
    color: #ffffff;
    border-radius: 3px;
    padding: 1px 10px;
}
#flexicontent ul.introblock > li {
    margin: 10px 0 10px 0;
    padding: 15px 0 15px 0;
    border-top: 0px solid darkgray;
    background: none;
    width: 100%;
    min-height: 10px;
    display: -moz-inline-stack;
    display: inline-block;
    vertical-align: top;
    zoom: 1;
    line-height: inherit;
}


.home section#tm-bottom-a .uk-panel-title,
.home section#tm-main-top .uk-panel-title {
    background: url(../images/hos-icon.png) left 2px no-repeat;
    padding-left: 28px;
}

aside.tm-sidebar-b .uk-panel-title {
    background: #74c1bd url(../images/hos-icon-bw.png) 8px 13px no-repeat;
    padding-left: 34px;
}

aside.tm-sidebar-b .mod_flexicontent_wrapper {
    padding: 10px;
}

.uk-accordion .uk-margin.uk-text-center {
    text-align: left;
    float: left;
    margin: 0px 10px 0px 0px;
}

.uk-accordion .uk-accordion-title {
    color: #000;
    margin-top: 0;
    margin-bottom: 0px;
    padding: 10px 0px 10px 15px;
    background: rgba(0, 0, 0, 0);
    font-size: 20px;
    line-height: 23px;
    cursor: pointer;
    border-bottom: 0px solid #dddddd;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}


.home section#tm-bottom-a {
    background: #f7f7f7;
    padding: 40px 20px;
}

.headicon {
    display: inline-block;
    float: left;
     margin-top: 6px;

}
.uk-accblock {
    border: 1px solid #dbdbdb;
    margin: 10px 0px;
}


 
.home .carousel.mod_flexicontent_wrapper .fc_block {
    line-height: 20px;
    display: inline-block;
    float: left;
}

.home .carousel.mod_flexicontent_wrapper .content_standard {
    padding: 10px 12px 10px 0px;
    margin-left: 15px;
}


.home .carousel.mod_flexicontent_wrapper .fcitem_date {
    background: none;
    padding: 2px 6px 2px 0px;
}
 

#mod_fcitems_box_standard_138 div.mod_flexicontent_standard_wrapper_innerbox {
    background: transparent;
}

.news.mod_flexicontent_wrapper .fcitem_date {
    background: url(https://hosdoc.com/templates/colorpack_hosdoc/css/images/date.png) no-repeat scroll 0px 5px;
    padding: 2px 6px 2px 20px;
}
.news.mod_flexicontent_wrapper .fcitem_title {
    padding: 0px 4px 0px 0px !important;
    margin: 10px 0px 5px 0px !important;
    /* border: 1px dashed #bbbbbb; */
    font-size: 16px !important;
    text-align: left;
    line-height: 20px !important;
    display: inline-block !important;
}

.news.mod_flexicontent_wrapper .fc_stretch {
    width: 95% !important;
}

.news.mod_flexicontent_wrapper .mod_flexicontent_featured, .news.mod_flexicontent_wrapper .mod_flexicontent_standard {
    width: 95%;
}


ul.thumbnails {
    margin-left: 0px !Important;
    padding: 0px 15px;
}



section#tm-main-top span.module_readon {
    -webkit-clip-path: polygon(75% 0%, 84% 50%, 75% 100%, 0% 100%, 0 50%, 0% 0%);
    clip-path: polygon(75% 0%, 80% 50%, 75% 100%, 0% 100%, 0 50%, 0% 0%);
    background: #3bb0a5;
    color: #fff;
    padding: 10px;
    width: 150px;
    display: inline-block;
    float: right;
 
}
section#tm-main-top span.module_readon a {
    color: #fff;
    padding-left: 15px;
}

.uk-container-center {
    margin-left: auto;
    margin-right: auto;
    background: #fdfefe;
  padding:  0px; 
    border-left: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
}


.tm-footer > .uk-container {
    position: relative;
    background: #005953;
    padding: 30px;

}
.nofix.uk-position-relative .uk-container-center {
    margin-left: auto;
    margin-right: auto;
    background: #f7f7f7;
    padding: 25px 40px 10px;
}

.uk-slidenav-position.uk-margin {
    margin-bottom: 0px;
    margin-top: 10px;
}

#mod_fcitems_box_standard_121 div.mod_flexicontent_standard_wrapper_innerbox {
    min-height: 300px;
}


.blockinside {
    display: block;
    width: 276px;
    float: right;
    margin-right: 114px;
    margin-top: -239px;
    position: relative;
    color: #fff;
    background: #5d9391c4;
    height: 145px;
    padding: 16px 0px 0px;
    transform: skew(-25deg);
}
.blockinside p {
	font-weight: bold;
}

.homeslide {
    min-height: auto !important;
}

.news.mod_flexicontent_wrapper .fcitem_title:hover a, .news.mod_flexicontent_wrapper .fcitem_title a:hover {
    cursor: pointer;
    text-shadow: 0px 0px 0px #00000000;
}

.news.mod_flexicontent_wrapper .fcitem_title, .news.mod_flexicontent_wrapper .fcitem_title a {
    color: #3bb0a5;
    font-size: 16px;
    background-color: transparent;
    line-height: 1.2em;
    width: 100%;
    display: inline-block;
}

.news.mod_flexicontent_wrapper .fcitem_title_box {
    display: block;
    background: transparent;
    margin: 0;
    padding: 0px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.news.mod_flexicontent_wrapper .fcitem_title {
    text-shadow: 0px 0px 0px #000000;
}

.fc_inline.fcitem_date.created {
    position: absolute;
    bottom: 90px;
}

.news.mod_flexicontent_wrapper .fcitem_date {
    background: url(../images/date-news.png) no-repeat scroll 0px 5px;
    padding: 2px 6px 2px 20px;
}

@media (max-width: 1800px) {

.fc_inline.fcitem_date.created {
    position: absolute;
    bottom: 90px;
}

}


@media (min-width: 1220px) {
 
.uk-grid > * {
    padding-left: 35px;
}

.uk-grid {
    margin-left: -25px; 
}
.uk-grid + .uk-grid, .uk-grid-margin, .uk-grid > * > .uk-panel + .uk-panel {
    margin-top: 30px;
    margin-bottom: 20px;
}



}

@media (max-width: 1024px) {

.fc_inline.fcitem_date.created {
    position: absolute;
    bottom: 117px;
}

}


@media (max-width: 768px) {
.uk-grid {
    margin-left: 0px; 
}
section#tm-top-a .uk-width-1-1.uk-width-medium-1-3.uk-row-first {
    width: 33.33% ;
}

.tm-headerbar-left {
    left: 0px;
    top: 20px;
    height: 40px;
}

.tm-headerbar-right {
    right: 15px;
    right: 30px;
    top: 10px;
    height: 50px;
}

.mainnav {
    display: none;
}


.uk-slidenav-position .uk-slidenav-previous {
    /* left: auto; */
    background: url(../images/arr-left.png) no-repeat;
    width: 40px;
    height: 40px;
    display: block;
    margin-top: 20px;
    left: 50px;
}
.blockinside {
    display: block;
    width: 70%;
}

.blockinside {
    margin-right: 15%;
}

.fc_inline.fcitem_date.created {
    position: absolute;
    bottom: 65px;
}

}


@media (max-width: 414px) {

.uk-navbar.tm-headerbar.uk-container.uk-container-center.uk-flex.uk-flex-center.uk-flex-middle {
    max-width: inherit;
    padding: 0px;
    height: 163px;
    background: #21AABD url(../images/header.jpg) center top;
}

section#tm-top-a {
    display: none;
}

#mod_fcitems_box_standard_121 div.mod_flexicontent_standard_wrapper {
    width: 100% !important;
    display: block;
}
.tm-headerbar-left {
    left: 0px;
    height: 85px;
}

.tm-headerbar-left {
    left: 0px;
    top: 10px;
    height: 40px;
}
.tm-headerbar-right {
 
    top: 50px;
 
}
.uk-grid > * {
    padding-left: 5px;
    padding-right: 5px;
}


.home .carousel.mod_flexicontent_wrapper .content_standard {
    padding: 10px 10px 10px 0px;
    margin-left: 0px;
}

.nofix.uk-position-relative .uk-container-center {
    margin-left: auto;
    margin-right: auto;
    background: #f7f7f7;
    padding: 10px 10px 10px;
}
.home section#tm-bottom-a {
    background: #f7f7f7;
    padding: 10px 20px;
}

.news.mod_flexicontent_wrapper .fc_stretch {
    width: 100% !important;
}
#mod_fcitems_box_standard_121 div.mod_flexicontent_standard_wrapper_innerbox {
    min-height: 350px;
}

.tm-noblog .tm-content, .tm-isblog .tm-article.tm-article-box, .yoo-zoo .uk-article {
    border-radius: 0;
    padding: 20px;
}

.fc_inline.fcitem_date.created {
    position: absolute;
    bottom: 70px;
}


}

@media (max-width: 375px) {


.fc_inline.fcitem_date.created {
    position: absolute;
    bottom: 95px;
}

}

@media (max-width: 320px) {

.fc_inline.fcitem_date.created {
    position: absolute;
    bottom: 130px;
}
}




.uk-navbar-toggle:after {
    content: '-=เมนู=-';
    color: #fff;
    font-weight: bold;
    font-size: 20px;
    font-family: arial;
}




.tm-noblog .tm-content, .tm-isblog .tm-article.tm-article-box, .yoo-zoo .uk-article {
      border-radius: 0; 
    padding: 50px;
      box-shadow: 0 0px 0px 0 rgba(160, 166, 168, 0.35); 
      background: #ffffff; 
}


span.icon-chevron-right {
    display: none;
}

.btn,
.btn:hover, 
.btn:focus {
    background: #3BB0A5;
    color: #fff;
    box-shadow: 0px 0px 0px 0px transparent;
}

#flexicontent .readmore {
    display: inline-block;
    float: left;
    clear: both;
    -webkit-clip-path: polygon(75% 0%, 84% 50%, 75% 100%, 0% 100%, 0 50%, 0% 0%);
    clip-path: polygon(75% 0%, 80% 50%, 75% 100%, 0% 100%, 0 50%, 0% 0%);
    background: #3bb0a5;
    color: #fff;
    padding: 10px;
    width: 150px;
    display: inline-block;
    float: right;
}


.uk-panel.hilight {
    background: #f1f1f1;
    padding: 5px 10px;
}

.uk-panel-box {
    padding: 30px;
    background: #ffffff;
    color: #5c5c5c;
    overflow: hidden;
    background: #ffffff none 0 0 repeat;
    border-radius: 0;
    box-shadow: 0 0px 0px 0 rgba(160, 166, 168, 0.35);
}

.nofix.uk-position-relative {
    position: relative !important;
    background: #f6f7f7;
}