.font-title {
    font-family: Helvetica, Arial, sans-serif
}

.font-normal {
    font-family: Helvetica, Tahoma, sans-serif
}

.font-emphasize {
    font-family: Helvetica, Arial, sans-serif
}

.background-noise-grey {
    background: #fff url(../images/noise.png) 0 0 repeat
}

.box-sizing {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

.clear {
    clear: both;
    height: 0;
    width: 0
}

.font-0-5-em {
    font-size: .5em !important
}

.font-0-8-em {
    font-size: .8em !important
}

.font-1-em {
    font-size: 1em !important
}

.font-1-2-em {
    font-size: 1em !important
}

.font-1-5-em {
    font-size: 1.5em !important
}

.font-2-em {
    font-size: 2em !important
}

.font-3-em {
    font-size: 3em !important
}

.font-4-em {
    font-size: 4em !important
}

.font-5-em {
    font-size: 5em !important
}

.text-overflow {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.padding {
    padding: 20px
}

.padding-x {
    padding-left: 20px;
    padding-right: 20px
}

.padding-y {
    padding-top: 20px;
    padding-bottom: 20px
}

.uk-pagination .uk-active span {
    background: #ea8b38
}

h2.line {
    width: 100%
}

h2.line span {
    position: relative;
    z-index: 2;
    padding-right: 10px;
    background: #fff
}

h2.line:after {
    content: "";
    background: #eee;
    height: 1px;
    width: 100%;
    display: block;
    position: absolute;
    top: 32px
}

::-moz-selection {
    background: #ee282b;
    color: #fff
}

::selection {
    background: #ee282b;
    color: #fff
}

* {
    padding: 0;
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

a {
    color: #ea8b38;
    text-decoration: none
}

a:hover {
    color: #ee282b;
    text-decoration: none
}

em {
    font-size: .8em;
    color: grey
}

body {
    font-size: 1rem;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    color: #666
}

h1, h2, h3, h4, h5, h6 {
    font-family: Helvetica, Arial, sans-serif;
    line-height: 1.2em;
    margin: 0
}

h1 > i, h2 > i, h3 > i, h4 > i, h5 > i, h6 > i {
    margin-right: 10px;
    color: #ea8b38
}

h1 {
    font-size: 2em
}

h2 {
    font-size: 1.8em
}

h3 {
    font-size: 1.6em
}

h4 {
    font-size: 1.5em
}

h5 {
    font-size: 1.3em
}

h6 {
    font-size: 1.1em
}

ul {
    margin: 0
}

p.indent {
    text-indent: 45px
}

p.justify {
    text-align: justify
}

article.uk-article h2 {
    font-size: 3em
}

article.uk-article em {
    font-size: 1em;
    font-style: normal;
    color: #555;
    font-weight: 700
}

.bullet-list li, .check-list li {
    padding-left: 2em
}

.bullet-list li:before, .check-list li:before {
    content: "\f00c";
    font-family: FontAwesome;
    font-weight: 400;
    font-style: normal;
    vertical-align: baseline;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    margin-left: -1.2em;
    width: 1.2em;
    display: inline-block;
    position: relative;
    top: -2px;
    left: -5px;
    color: #ea8b38
}

.bullet-list li:before {
    content: "\f105";
    display: inline-block;
    font-family: FontAwesome;
    font-weight: 400;
    font-style: normal;
    vertical-align: baseline;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    top: 0;
    left: 2px
}

.uk-offcanvas-page {
    position: relative !important
}

.uk-panel-teaser {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    overflow: hidden
}

header {
    position: relative;
    z-index: 2
}

#top a, footer a {
    color: #fff
}

#top a:hover, footer a:hover {
    color: #fff;
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 1px dotted #fff
}

#top .social, footer .social {
    display: inline-block
}

#top .social a, footer .social a {
    font-size: 1.4em;
    padding: 0 10px
}

#top {
    width: 100%;
    background: #ea8b38;
    color: #fff;
    padding: 10px 0;
    position: relative
}

#top .uk-search .uk-search-field {
    color: #fff;
    border: 1px solid #fff;
    border-radius: 10px
}

#top .uk-search:before {
    color: #fff
}

#top .pullblock {
    position: absolute;
    top: 0;
    z-index: 9
}

#top .pullblock .block {
    background: #777;
    padding: 10px;
    max-width: 400px;
    border-bottom-right-radius: 10px;
    display: none
}

#top .pullblock .block .block-container {
    padding: 10px;
    background: #fff;
    border-radius: 10px
}

#top .pullblock .puller {
    background: #777;
    color: #fff;
    text-align: center;
    padding: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    width: 120px;
    cursor: pointer
}

#top form {
    color: #555
}

#main-head .logo {
    width: 240px;
    height: 60px;
    display: block;
    background: transparent url(../images/logo.png) 0 0 no-repeat;
    -webkit-background-size: 100% auto;
    background-size: 100% auto
}

#topmenu {
    position: relative;
    top: 20px
}

#topmenu a {
    color: #555;
    border-bottom: 2px solid #fff;
    text-decoration: none !important
}

#topmenu a:hover {
    border-bottom: 2px solid #ea8b38
}

#topmenu .uk-open li > a:hover {
    color: #fff;
    background: #ea8b38;
}

#narrow-screen {
    background: #ea8b38;
    text-align: right;
    line-height: 25px
}

#narrow-screen .uk-sticky-wrapper {
    min-height: 25px;
    height: auto !important
}

#narrow-screen .uk-container {
    position: relative
}

#narrow-screen .uk-container #call-sidemenu {
    position: absolute;
    bottom: 10px;
    right: 20px
}

#narrow-screen .uk-container #back {
    position: absolute;
    left: 15px;
    bottom: 10px;
    display: none
}

#narrow-screen h2 {
    font-size: 1.6em
}

#narrow-screen h2 em {
    font-size: .5em
}

#narrow-screen em {
    color: #fff
}

#narrow-screen .logo {
    display: block;
    width: 65px;
    height: 55px;
    float: left;
    margin-left: 5px;
    background: transparent url(../images/logo-white.png) 0 0 no-repeat;
    -webkit-background-size: 100% auto;
    background-size: 100% auto
}

#narrow-screen .pullblock {
    color: #fff;
    width: 100%
}

#narrow-screen .pullblock .block {
    color: #555;
    display: none;
    padding: 10px;
    margin: 10px;
    border-radius: 10px;
    text-align: left;
    background: #fff url(../images/noise.png) 0 0 repeat
}

#narrow-screen .pullblock .puller {
    cursor: pointer;
    display: inline-block;
    padding-right: 25px
}

#narrow-screen .pullblock .bar {
    padding: 5px
}

#narrow-screen a, #narrow-screen a:hover {
    color: #fff
}

footer {
    font-size: .8em;
    width: 100%;
    background: #ea8b38;
    color: #fff;
    padding: 30px 0
}

footer h2 {
    color: #fff
}

.message {
    font-size: .8em;
    color: green;
    cursor: pointer
}

.message.error {
    color: red
}

.password-toggle {
    width: auto;
    height: auto;
    position: relative;
    cursor: pointer
}

.password-toggle input {
    corsor: normal
}

.password-toggle .eye:after {
    content: "\f06e";
    display: inline-block;
    font-family: FontAwesome;
    font-weight: 400;
    font-style: normal;
    vertical-align: baseline;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    position: absolute;
    top: 8px;
    right: 8px;
    color: #aaa
}

.swiper-container {
    width: 100%;
    height: auto;
    overflow: hidden;
    color: inherit;
    text-align: center;
    position: relative
}

.swiper-container .swiper-wrapper {
    height: auto !important
}

.swiper-container .swiper-wrapper .swiper-slide {
    height: auto !important
}

.swiper-container .swiper-wrapper .swiper-slide .img-container {
    position: relative;
    width: 100%;
    padding-bottom: 55%;
    z-index: 8;
    margin-bottom: -2px
}

.swiper-container .swiper-wrapper .swiper-slide .img-container > .img {
    margin-top: -2px;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    -webkit-background-size: contain;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    width: 100%
}

.swiper-container .swiper-wrapper .swiper-slide > img {
    width: 100%;
    height: auto
}

.swiper-container .swiper-wrapper .swiper-slide > a {
    display: block;
    position: relative
}

.swiper-container .swiper-wrapper .swiper-slide > a .caption {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .5);
    color: #fff;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 1.5em;
    padding: 10px;
    text-align: left;
    z-index: 9
}

.swiper-container .swiper-wrapper .swiper-slide > a > img {
    width: 100%;
    height: auto
}

.pagination {
    position: absolute;
    bottom: -4px;
    text-align: center;
    width: 100%
}

.swiper-pagination-switch {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(0, 0, 0, .2);
    margin: 0 3px;
    cursor: pointer
}

.swiper-active-switch {
    background: #ea8b38;
    border: 0
}

#latest h2 {
    font-size: 1.2em
}

.img-container {
    width: 100%;
    height: 0;
    padding-bottom: 55%;
    position: relative;
    overflow: hidden
}

.img-container img {
    width: 100%;
    min-height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0
}

.img-container-fit, .img-container-js {
    background-color: transparent !important;
    -webkit-background-size: cover !important;
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important
}

.bullet-list li, .check-list li {
    padding-left: 2em
}

.bullet-list li a, .check-list li a {
    color: #999
}

.bullet-list li a:hover, .check-list li a:hover {
    color: #333
}

.bullet-list li:before, .check-list li:before {
    content: "\f00c";
    font-family: FontAwesome;
    font-weight: 400;
    font-style: normal;
    vertical-align: baseline;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    margin-left: -1.2em;
    width: 1.2em;
    display: inline-block;
    position: relative;
    top: -2px;
    left: -5px;
    color: #ea8b38
}

.bullet-list li:before {
    content: "\f105";
    display: inline-block;
    font-family: FontAwesome;
    font-weight: 400;
    font-style: normal;
    vertical-align: baseline;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    top: 0;
    left: 2px
}

.uk-comment-header {
    -webkit-transition: background 7s;
    transition: background 7s
}

.new {
    background: #fffbdf
}

.editable-container {
    position: relative
}

.editable-container .editable-tools {
    font-size: 14px;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 2;
    -webkit-box-shadow: 5px 5px 12px -3px rgba(0, 0, 0, .5);
    box-shadow: 5px 5px 12px -3px rgba(0, 0, 0, .5);
    padding: 10px;
    background: #f5f5f5 url(../images/noise.png) 0 0 repeat;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px
}

.editable-container .editable {
    position: relative
}

.editable-container .editable:hover:before {
    content: "ดับเบิลคลิกเพื่อแก้ไข";
    font-size: 10px;
    line-height: 16px;
    padding: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    color: #fff;
    position: absolute;
    top: -30px;
    -webkit-box-shadow: -5px -5px 12px -3px rgba(0, 0, 0, .5);
    box-shadow: -5px -5px 12px -3px rgba(0, 0, 0, .5);
    background: #777 url(../images/noise.png) 0 0 repeat
}

#references {
    position: relative;
    margin-top: 30px
}

#references > button {
    position: absolute;
    top: 0;
    right: 0
}

#references .editable li {
    position: relative;
    cursor: pointer
}

#references .editable li:hover:after {
    content: "แก้ไข";
    width: 30px;
    height: 20px;
    position: absolute;
    top: 0;
    right: 10px;
    color: #aaa
}

.photo-grid {
    list-style: none;
    margin-left: -4px;
    padding: 0
}

.photo-grid > li {
    width: 20%;
    padding-bottom: 20%;
    position: relative;
    float: left;
    line-height: 130px;
    text-align: center;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

.photo-grid > li > a {
    display: block;
    position: absolute;
    top: 5px;
    right: 0;
    bottom: 0;
    left: 5px;
    background-color: #000;
    overflow: hidden
}

.photo-grid > li > a > img {
    height: 100%;
    max-width: inherit;
    margin-top: -2px
}

.photo-grid:after {
    content: "";
    clear: both;
    height: 0;
    width: 0
}

@media (max-width: 767px) {
    .photo-grid > li {
        width: 33%;
        padding-bottom: 33%
    }
}

#gallery {
    position: relative;
    padding: 20px 0
}

#gallery .gallery-nav {
    position: absolute;
    top: 25px;
    right: 0
}

#gallery .gallery-nav button {
    font-size: 1.2em;
    color: #fff;
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    background: #ea8b38;
    outline: 0;
    border: none;
    margin: 0 5px
}

#gallery .gallery-nav button:hover {
    background: #ee282b
}

#gallery #gallery-swiper {
    margin: 20px 0
}

#admin-tools button {
    margin-top: 15px
}

.page-title {
    position: relative;
    width: 100%
}

.page-title a {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px
}

.blog-card {
    position: realtive;
    margin-top: 15px
}

.blog-card .admin-menu {
    position: absolute;
    top: 15px;
    right: 15px;
    display: none
}

.blog-card [data-action=unpublish] {
    display: block
}

.blog-card [data-action=publish] {
    display: none
}

.blog-card a, .blog-card a:hover {
    color: #555
}

.blog-card.unpublished .uk-grid {
    opacity: .3
}

.blog-card.unpublished [data-action=unpublish] {
    display: none
}

.blog-card.unpublished [data-action=publish] {
    display: block
}

.blog-card:hover .admin-menu {
    display: block
}

.expert-card {
    border: 2px solid #ea8b38;
    border-radius: 10px;
    padding: 15px;
    display: block;
    color: #555;
    margin-top: 30px
}

.expert-card .img-container-fit {
    border-radius: 10px;
    width: 100%;
    height: 0;
    padding-bottom: 100%
}

.expert-card:hover {
    color: #555
}

#questions td {
    vertical-align: middle
}

#questions a {
    display: block;
    color: #555
}

#questions a:hover {
    color: #ea8b38
}

#admin-menu a, #admin-menu a:hover {
    color: #555;
    padding-bottom: 0;
    border-bottom: 1px solid rgba(0, 0, 0, .16)
}

.youtube-ss {
    position: relative
}

.youtube-ss img {
    top: -17%
}

.youtube-ss:hover:after {
    opacity: 1
}

.youtube-ss:after {
    background: transparent url(../images/youtube_play.png) 0 0 no-repeat;
    -webkit-background-size: 100% auto;
    background-size: 100% auto;
    position: absolute;
    opacity: .8;
    width: 50px;
    height: 35px;
    content: "";
    top: 50%;
    left: 50%;
    margin-top: -17.5px;
    margin-left: -25px
}

.video-container {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    position: relative;
    overflow: hidden
}

.video-container iframe, .video-container video, .video-container embed {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0
}

legend {
    border-bottom: 0 !important;
    margin-top: 20px !important;
    margin-bottom: 0 !important
}

#write .uk-button {
    margin: 20px 0
}

.fc-time {
    display: none !important
}