/*
Theme Name: Slowave - Multipurpose Responsive HTML5 Template 
Theme URI: http://themes.iki-bir.com/slowave
Author: elemis
Author URI: http://iki-bir.com
Version: 1.0.5

*/
/*-----------------------------------------------------------------------------------*/
/*  RESET
/*-----------------------------------------------------------------------------------*/
*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
:focus {
    outline: 0 !important
}
.fit-vids-style {
    display: none
}
figure {
    margin: 0;
    padding: 0;
}
figure img { /*Edit*/
    width: 100%;
    height: auto;
}
iframe {
    border: none
}
::selection {
    background: #fefac7; /* Safari */
    color: #555555;
}
::-moz-selection {
    background: #fefac7; /* Firefox */
    color: #555555;
}
/*-----------------------------------------------------------------------------------*/
/*  GENERAL
/*-----------------------------------------------------------------------------------*/
body {
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    font-family: 'thaisans_neueregular', sans-serif;
    overflow-x: hidden;
    background-color: #FFF;
    color: #838383;
    font-size: 16px;
    font-weight: 500;
}
.container {
    padding-right: 0;
    padding-left: 0;
}
body,
li,
address {
    line-height: 20px
}
input,
button,
select,
textarea {
    font-family: 'thaisans_neueregular', sans-serif;
    font-size: 14px;
    font-weight: 500;
}
a {
    color: #3f8dbf;
    -webkit-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    -moz-transition: all 200ms ease-in;
}
a:hover,
a:focus {
    color: #2e2e2e;
    text-decoration: none;
}
.colored {
    color: #3f8dbf
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'thaisans_neueregular',sans-serif;
    margin-top: 0;
    color: #616161;
    margin-bottom: 10px;
    font-weight: normal;
}
h1 {
    font-size: 26px;
    line-height: 30px;
}
h2 {
    font-size: 22px;
    line-height: 28px;
}
h3 {
    font-size: 18px;
    line-height: 22px;
}
h4 {
    font-size: 16px;
    margin-bottom: 8px;
}
h5 {
    font-size: 14px
}
h6 {
    font-size: 12px
}
.page-title {
    min-height: 91px
}
.page-title h1 {
    font-size: 22px;
    font-weight: normal;
    margin: 4px 0 0 0;
}
h3.post-title {
    font-size: 16px
}
h1.post-title {
    font-size: 22px;
    line-height: 28px;
}
.center {
    text-align: center;
}
.post-title a {
    color: #616161
}
.post-title a:hover {
    color: #3f8dbf
}
.classic-blog .post-title {
    margin: 0 0 3px 0
}
.upper {
    text-transform: uppercase
}
.section-title {
    /*margin-bottom: 40px*/ /*Edit*/
}
.section-title h2 {
    font-weight: normal;
    text-transform: lowercase;
    font-size: 25px;
    color: #b6b6b6;
}
.section-title .icon {
    display: inline-block;
    font-size: 18px;
    line-height: 21px;
    width: 130px;
    margin: 0 auto;
    position: relative;
    color: #cacaca;
}
.section-title .icon:before {
    display: inline-block;
    content: "";
    border-bottom: 1px solid #dadada;
    position: absolute;
    left: 0;
    top: 10px;
    width: 50px;
}
.section-title .icon:after {
    display: inline-block;
    content: "";
    border-bottom: 1px solid #dadada;
    position: absolute;
    right: 0;
    top: 10px;
    width: 50px;
}
.light-wrapper {
    background: #FFF;
    border-bottom: 1px solid #e3e3e3;
}
.dark-wrapper {
    /*background: #f9f9f9; !*Edit add comment cdtc*!*/
    border-bottom: 1px solid #e3e3e3;
}
.black-wrapper {
    background: #2c2c2c;
    color: #cacaca;
}
.black-wrapper .lead {
    color: #cacaca
}
.black-wrapper a {
    color: #cacaca
}
.black-wrapper a:hover {
    color: #3f8dbf
}
.black-wrapper h1,
.black-wrapper h2,
.black-wrapper h3,
.black-wrapper h4,
.black-wrapper h5,
.black-wrapper h6 {
    color: #f0f0f0
}
.black-wrapper .section-title h2,
.black-wrapper .section-title .icon {
    color: #9b9b9b
}
.black-wrapper .section-title .icon:before,
.black-wrapper .section-title .icon:after {
    border-color: #636363
}
.widget-title {
    font-size: 14px;
    margin: 0 0 20px 0;
}
.footer-menu {
    padding: 0;
    margin: 0;
    list-style: none;
}
.footer-menu li {
    display: inline;
    padding-left: 10px;
}
.footer-menu li:before {
    display: inline-block;
    content: "|";
    padding-right: 12px;
}
.footer-menu li:first-child:before {
    display: none
}
.sub-footer {
    background: #292929;
    padding: 35px 0;
}
.sub-footer p {
    padding: 0;
    margin: 0;
}
footer .post-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
footer .post-list li {
    margin-top: 19px;
    padding-top: 20px;
    border-top: 1px solid #434343;
}
footer .post-list li:first-child {
    border-top: none;
    margin: 0;
    padding: 0;
}
footer .post-list li h6 {
    font-size: 14px;
    line-height: 25px;
    font-weight: normal;
    letter-spacing: normal;
    text-transform: none;
    margin: 0;
}
footer .post-list li em {
    color: #838383;
    font-size: 12px;
    font-style: normal;
}
.tagcloud {
    line-height: 25px
}
.color-wrapper {
    background: #3f8dbf
}
.color-wrapper,
.color-wrapper p {
    color: #FFF
}
.color-wrapper h1,
.color-wrapper h2,
.color-wrapper h3,
.color-wrapper h4,
.color-wrapper h5,
.color-wrapper h6 {
    color: #FFF
}
.inner {
    padding-top: 30px; /*Edit*/ /*padding-top: 70px;*/
    padding-bottom: 20px;
}
.page-title .inner {
    padding-top: 26px;
    padding-bottom: 26px;
}
.lead {
    font-size: 16px;
    line-height: 28px;
    font-weight: 500;
}
.thin {
    width: 80%;
    margin: 0 auto;
}
ul {
    padding: 0 0 0 18px
}
ol {
    padding: 0 0 0 20px
}
ul.circled {
    padding: 0;
    list-style: none;
}
ul.circled li:before {
    content: '\e800';
    margin-right: 10px;
    font-weight: normal;
    vertical-align: top;
    padding-top: 1px;
    display: inline-block;
    font-family: 'fontello-circle';
    color: #3f8dbf;
    font-size: 8px;
}
blockquote {
    border-left: 2px solid #dadada;
    padding: 0 20px;
}
blockquote p {
    font-size: 20px;
    line-height: 32px;
}
blockquote small {
    color: #3f8dbf
}
hr {
    border: 0;
    border-bottom: 1px solid #dadada;
    margin: 60px 0;
}
.map iframe {
    display: block;
    max-width: 100%;
}
.dropcap {
    font-weight: normal;
    display: block;
    float: left;
    font-size: 49px;
    padding: 0;
    margin: 0;
    margin: 12px 8px 0 0;
    text-transform: uppercase;
}
/*-----------------------------------------------------------------------------------*/
/*  HEADER
/*-----------------------------------------------------------------------------------*/
.navbar-header {
    float: none !important;
    padding: 0;
    /*background: #FFF;*/
    background: url("../images/background/bg_header.png"); /*Add*/
    background-size: 100% 100%; /*Add*/
    background-repeat: no-repeat; /*Add*/
    background-color: #fff !important;
}
.navbar .container {
    padding: 0
}
.navbar {
    margin: 0;
    border-radius: 0;
    border: none;
    position: relative;
    z-index: 8000;
    min-height: inherit;
}
.navbar-brand { /*Edit*/
    /*padding: 0;
    padding-top: 30px;*/
}
.navbar.black .navbar-header {
    background: #2c2c2c;
}
.navbar-collapse {
    width: auto;
    padding: 0;
    border: none;
    background: transparent;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
.navbar-nav {
    margin: 0
}
.navbar-nav > li {
    margin-left: 15px
}
.navbar-nav > li > a {
    font-size: 13px;
    font-weight: normal;
    text-transform: uppercase;
    color: #444;
    padding: 20px 14px;
}
.nav > li > a:focus {
    background: none;
    color: #3f8dbf;
}
.nav > li > a:hover {
    background: none;
    color: #3f8dbf;
}
.nav > li.current > a {
    background: none;
    color: #3f8dbf;
}
.navbar .dropdown-menu {
    padding: 0;
    margin: 0;
    min-width: 190px;
    background-color: #ccc;
    border: none!important;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border-top: 2px solid #3f8dbf !important;
}
.navbar.black .dropdown-menu {
    background: #292929;
}
.navbar .dropdown-menu .dropdown-menu {
    border: none !important
}
.navbar .dropdown-menu:not(.yamm-dropdown-menu) li {
    background: transparent;
    border: none;
    /*border-top: 1px solid rgba(0, 0, 0, 0.17);*/
}
.navbar .dropdown-menu:not(.yamm-dropdown-menu) li:first-child {
    border: none
}
.navbar .dropdown-menu:not(.yamm-dropdown-menu) li a,
.navbar .dropdown-menu:not(.yamm-dropdown-menu) li a:visited {
    padding: 13px;
    line-height: 1;
    color: #444;
    font-size: 16px;
    text-transform: uppercase;
    text-align: center;
    font-weight: normal;
}
.navbar .dropdown-menu:not(.yamm-dropdown-menu) li a:hover,
.navbar .dropdown-menu:not(.yamm-dropdown-menu) li a.active {
    padding: 13px;
    filter: none;
    line-height: 1;
    /*background-color: #2e353d;*/
    color: #373737;
}
.navbar.black .dropdown-menu:not(.yamm-dropdown-menu) li a:hover,
.navbar.black .dropdown-menu:not(.yamm-dropdown-menu) li a.active {
    background: #292929;
}
.navbar .nav .open > a,
.navbar .nav .open > a:hover,
.navbar .nav .open > a:hover,
.navbar .nav .open > a:focus {
    background: none;
    color: #3f8dbf;
}
.navbar .nav > li > .dropdown-menu:not(.yamm-dropdown-menu):after {
    display: none
}
.navbar .nav > li > .dropdown-menu:not(.yamm-dropdown-menu):before {
    display: none
}
.navbar .dropdown-menu:not(.yamm-dropdown-menu) > li > a:hover,
.navbar .dropdown-menu:not(.yamm-dropdown-menu) > li > a:focus,
.navbar .dropdown-submenu:hover > a,
.navbar .dropdown-submenu:focus > a,
.navbar .dropdown-menu:not(.yamm-dropdown-menu) > .active > a,
.navbar .dropdown-menu:not(.yamm-dropdown-menu) > .active > a:hover,
.navbar .dropdown-menu:not(.yamm-dropdown-menu) > .active > a:focus {
    background: none;
    color: #3f8dbf;
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}
.btn.responsive-menu {
    padding: 8px 13px;
    margin: 0;
    display: none;
    font-size: 15px;
}
/*-----------------------------------------------------------------------------------*/
/*  MEGA MENU
/*-----------------------------------------------------------------------------------*/
.yamm .nav,
.yamm .dropup,
.yamm .dropdown,
.yamm .collapse {
    position: static
}
.yamm .navbar-inner,
.yamm .container {
    position: relative
}
.yamm .dropdown-menu {
    left: auto
}
.yamm .dropdown-menu > li {
    display: block
}
.yamm .nav.pull-right .dropdown-menu {
    right: 0
}
.yamm .yamm-content {
    padding: 30px;
    *zoom: 1;
    color: #cacaca;
}
.yamm .yamm-content:before,
.yamm .yamm-content:after {
    display: table;
    content: "";
    line-height: 0;
}
.yamm .yamm-content:after {
    clear: both
}
.yamm.navbar .nav > li > .dropdown-menu:after,
.yamm.navbar .nav > li > .dropdown-menu:before {
    display: none
}
.yamm .yamm-content img {
    width: 100%
}
.yamm .yamm-content a {
    color: #cacaca
}
.yamm .yamm-content h1,
.yamm .yamm-content h2,
.yamm .yamm-content h3,
.yamm .yamm-content h4,
.yamm .yamm-content h5,
.yamm .yamm-content h6 {
    color: #FFF
}
.yamm .yamm-content h4 {
    margin-bottom: 15px
}
.yamm .yamm-content ul.circled li:before {
    color: #cacaca
}
.yamm .yamm-content a:hover {
    color: #3f8dbf
}
.yamm .dropdown.yamm-fullwidth .dropdown-menu {
    width: 100%;
    left: 0;
    right: 0;
}
/*-----------------------------------------------------------------------------------*/
/*  FIXED MENU
/*-----------------------------------------------------------------------------------*/
.offset {
    display: block;
}
.navbar.basic.default {
    width: 100%;
    position: absolute;
}
.navbar.basic.fixed {
    position: fixed;
    left: 0;
    padding: 0;
    margin: 0;
    width: 100%;
}
.navbar.basic.fixed .navbar-brand {
    padding-top: 14px
}
.navbar.basic.fixed .navbar-brand img {
    height: 80px /*Edit height: 30px*/
}
.navbar.basic.fixed .navbar-nav > li > a {
    padding: 19px 10px
}
.navbar.basic .navbar-collapse {
    max-height: inherit
}
/*-----------------------------------------------------------------------------------*/
/*  DIVIDERS
/*-----------------------------------------------------------------------------------*/
.divide0 {
    width: 100%;
    height: 0px;
}
.divide2 {
    width: 100%;
    height: 2px;
}
.divide3 {
    width: 100%;
    height: 3px;
}
.divide5 {
    width: 100%;
    height: 5px;
}
.divide10 {
    width: 100%;
    height: 10px;
}
.divide15 {
    width: 100%;
    height: 15px;
}
.divide20 {
    width: 100%;
    height: 20px;
}
.divide25 {
    width: 100%;
    height: 25px;
}
.divide30 {
    width: 100%;
    height: 30px;
}
.divide35 {
    width: 100%;
    height: 35px;
}
.divide40 {
    width: 100%;
    height: 40px;
}
.divide45 {
    width: 100%;
    height: 40px;
}
.divide50 {
    width: 100%;
    height: 50px;
}
.divide55 {
    width: 100%;
    height: 55px;
}
.divide60 {
    width: 100%;
    height: 60px;
}
.divide65 {
    width: 100%;
    height: 65px;
}
.divide70 {
    width: 100%;
    height: 70px;
}
.divide75 {
    width: 100%;
    height: 75px;
}
.divide80 {
    width: 100%;
    height: 80px;
}
.divide85 {
    width: 100%;
    height: 85px;
}
.rm0 {
    margin-right: 0px
}
.rm1 {
    margin-right: 1px
}
.rm2 {
    margin-right: 2px
}
.rm5 {
    margin-right: 5px
}
.rm10 {
    margin-right: 10px
}
.rm15 {
    margin-right: 15px
}
.rm20 {
    margin-right: 20px
}
.rm25 {
    margin-right: 25px
}
.rm30 {
    margin-right: 30px
}
.rm40 {
    margin-right: 40px
}
.rm50 {
    margin-right: 50px
}
.lm0 {
    margin-left: 0px
}
.lm1 {
    margin-left: 1px
}
.lm5 {
    margin-left: 5px
}
.lm7 {
    margin-left: 7px
}
.lm10 {
    margin-left: 10px
}
.lm15 {
    margin-left: 15px
}
.lm20 {
    margin-left: 20px
}
.lm25 {
    margin-left: 25px
}
.lm30 {
    margin-left: 25px
}
.lm40 {
    margin-left: 40px
}
.rp5 {
    padding-right: 5px
}
.rp10 {
    padding-right: 10px
}
.rp15 {
    padding-right: 15px
}
.rp20 {
    padding-right: 20px
}
.rp30 {
    padding-right: 30px
}
.rp50 {
    padding-right: 50px
}
.lp0 {
    padding-left: 0px
}
.lp10 {
    padding-left: 10px
}
.lp20 {
    padding-left: 20px
}
.lp30 {
    padding-left: 30px
}
.tp0 {
    padding-top: 0 !important
}
.tp3 {
    padding-top: 3px
}
.tp5 {
    padding-top: 5px
}
.tp10 {
    padding-top: 10px
}
.tp20 {
    padding-top: 20px
}
.tp30 {
    padding-top: 30px
}
.tm4 {
    margin-top: 4px
}
.tm5 {
    margin-top: 5px
}
.tm7 {
    margin-top: 7px
}
.tm10 {
    margin-top: 10px
}
.tm15 {
    margin-top: 15px
}
.tm20 {
    margin-top: 20px
}
.mbm1 {
    margin-bottom: -1px
}
.bp0 {
    padding-bottom: 0 !important
}
.bp10 {
    padding-bottom: 10px !important
}
.bm0 {
    margin-bottom: 0 !important
}
.bm5 {
    margin-bottom: 5px !important
}
.bm10 {
    margin-bottom: 10px !important
}
.bm15 {
    margin-bottom: 15px !important
}
.bm20 {
    margin-bottom: 20px !important
}
.bm30 {
    margin-bottom: 30px !important
}
.bp50 {
    padding-bottom: 50px
}
/*-----------------------------------------------------------------------------------*/
/*  BUTTON
/*-----------------------------------------------------------------------------------*/
.btn,
.parallax .btn-submit,
.btn-submit {
    color: #fff !important;
    background: #3f8dbf !important;
    margin-bottom: 10px;
    margin-right: 5px;
    padding: 11px 20px 10px 20px;
    font-weight: normal;
    font-size: 13px;
    text-shadow: none;
    border: none;
    text-transform: uppercase;
    -webkit-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    -moz-transition: all 200ms ease-in;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    display: inline-block;
    letter-spacing: 1px;
}
.btn-large {
    padding: 13px 23px 13px 23px
}
.btn.btn-green {
    background: #1abb9c
}
.btn.btn-blue {
    background: #3f8dbf
}
.btn.btn-red {
    background: #e8554e
}
.btn.btn-orange {
    background: #ee7757
}
.btn.btn-purple {
    background: #9b59b6
}
.btn.btn-pink {
    background: #d487be
}
.btn.btn-gray {
    background: #95a5a6
}
.btn:hover,
.btn:focus,
.btn:active,
.btn.active,
.parallax .btn-submit:hover {
    background: #387eaa;
    color: #fff !important;
    -webkit-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    -moz-transition: all 200ms ease-in;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
.btn-green:hover,
.btn-green:focus,
.btn-green:active,
.btn-green.active {
    background: #17a78b !important
}
.btn-blue:hover,
.btn-blue:focus,
.btn-blue:active,
.btn-blue.active {
    background: #387eaa !important
}
.btn-red:hover,
.btn-red:focus,
.btn-red:active,
.btn-red.active {
    background: #cf4c45 !important
}
.btn-orange:hover,
.btn-orange:focus,
.btn-orange:active,
.btn-orange.active {
    background: #d96c4f !important
}
.btn-purple:hover,
.btn-purple:focus,
.btn-purple:active,
.btn-purple.active {
    background: #8a4fa2 !important
}
.btn-pink:hover,
.btn-pink:focus,
.btn-pink:active,
.btn-pink.active {
    background: #bd78a9 !important
}
.btn-gray:hover,
.btn-gray:focus,
.btn-gray:active,
.btn-gray.active {
    background: #859394 !important
}
.color-wrapper .btn {
    background: #FFF !important;
    color: #616161 !important;
}
.color-wrapper .btn:hover {
    background: #e9e9e9 !important
}
.share .btn {
    background: none;
    padding: 8px 17px;
}
.share .btn:hover {
    color: #FFF !important
}
.btn.share-facebook {
    color: #3d5b9b !important;
    border: 2px solid #3d5b9b !important;
}
.btn.share-facebook:hover {
    background: #334c8e !important;
    border: 2px solid #334c8e !important;
}
.btn.share-twitter {
    color: #5aa8cd !important;
    border: 2px solid #5aa8cd !important;
}
.btn.share-twitter:hover {
    background: #499ac8 !important;
    border: 2px solid #499ac8 !important;
}
.btn.share-googleplus {
    color: #3b3b3b !important;
    border: 2px solid #3b3b3b !important;
}
.btn.share-googleplus:hover {
    background: #2e2e2e!important;
    border: 2px solid #2e2e2e !important;
}
.btn.share-pinterest {
    color: #c53942 !important;
    border: 2px solid #c53942 !important;
}
.btn.share-pinterest:hover {
    background: #bc2d32 !important;
    border: 2px solid #bc2d32 !important;
}
.btn-border-dark {
    background: none !important;
    border: 2px solid #616161;
    color: #616161 !important;
}
.btn-border-dark:hover {
    background: none !important;
    border: 2px solid #387eaa;
    color: #387eaa !important;
}
.btn-border-light {
    background: none !important;
    border: 2px solid #9b9b9b;
    color: #9b9b9b !important;
}
.btn-border-light:hover {
    background: none !important;
    border: 2px solid #387eaa;
    color: #387eaa !important;
}
.connect .btn {
    border: none !important
}
.connect .btn:hover {
    border: none !important
}
.connect .btn i {
    padding-right: 3px;
    font-size: 13px;
}
.connect .btn.share-facebook {
    color: #FFF !important;
    background: #3d5b9b !important;
}
.connect .btn.share-facebook:hover {
    background: #334c8e !important
}
.connect .btn.share-twitter {
    color: #FFF !important;
    background: #5aa8cd !important;
}
.connect .btn.share-twitter:hover {
    background: #499ac8 !important
}
/*-----------------------------------------------------------------------------------*/
/*  SOCIAL ICONS
/*-----------------------------------------------------------------------------------*/
.social {
    padding: 0;
    margin: 0;
    font-size: 0;
    height: 28px;
}
.image-caption .social {
    height: 33px
}
.social li {
    display: inline-block;
    font-family: 'fontello-social';
    margin-right: 5px;
}
.text-center .social li {
    margin: 0 2px
}
.member .social {
    margin: 10px 0
}
.social li a {
    display: table
}
.social li a i {
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    color: #aaa;
    background: none;
    border: 1px solid #aaa;
    width: 28px;
    height: 28px; /*Edit*/ /* height: 28px !important; */
    line-height: 1;
    font-size: 12px;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    -webkit-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    -moz-transition: all 200ms ease-in;
}
.social .icon-s-pinterest {
    border-color: #d8545d;
    color: #d8545d;
}
.social .icon-s-rss {
    border-color: #faaa5e;
    color: #faaa5e;
}
.social .icon-s-facebook {
    border-color: #677fb5;
    color: #677fb5;
}
.social .icon-s-twitter {
    border-color: #70c2e9;
    color: #70c2e9;
}
.social .icon-s-flickr {
    border-color: #ff3ba4;
    color: #ff3ba4;
}
.social .icon-s-dribbble {
    border-color: #e299c2;
    color: #e299c2;
}
.social .icon-s-behance {
    border-color: #42a9fb;
    color: #42a9fb;
}
.social .icon-s-linkedin {
    border-color: #3daccf;
    color: #3daccf;
}
.social .icon-s-vimeo {
    border-color: #42b5d4;
    color: #42b5d4;
}
.social .icon-s-youtube {
    border-color: #d5615c;
    color: #d5615c;
}
.social .icon-s-skype {
    border-color: #5ecbf3;
    color: #5ecbf3;
}
.social .icon-s-tumblr {
    border-color: #829fb9;
    color: #829fb9;
}
.social .icon-s-delicious {
    border-color: #6194dc;
    color: #6194dc;
}
.social .icon-s-500px {
    border-color: #3bbbe6;
    color: #3bbbe6;
}
.social .icon-s-grooveshark {
    border-color: #f88e3b;
    color: #f88e3b;
}
.social .icon-s-forrst {
    border-color: #5f9864;
    color: #5f9864;
}
.social .icon-s-digg {
    border-color: #507faa;
    color: #507faa;
}
.social .icon-s-blogger {
    border-color: #fd893f;
    color: #fd893f;
}
.social .icon-s-klout {
    border-color: #e16747;
    color: #e16747;
}
.social .icon-s-dropbox {
    border-color: #6ba3c5;
    color: #6ba3c5;
}
.social .icon-s-github {
    border-color: #6c93bb;
    color: #6c93bb;
}
.social .icon-s-songkick {
    border-color: #ff3b60;
    color: #ff3b60;
}
.social .icon-s-posterous {
    border-color: #efd57c;
    color: #efd57c;
}
.social .icon-s-appnet {
    border-color: #3daad5;
    color: #3daad5;
}
.social .icon-s-gplus {
    border-color: #bc7067;
    color: #bc7067;
}
.social .icon-s-stumbleupon {
    border-color: #f07356;
    color: #f07356;
}
.social .icon-s-lastfm {
    border-color: #cd443d;
    color: #cd443d;
}
.social .icon-s-spotify {
    border-color: #9acf48;
    color: #9acf48;
}
.social .icon-s-instagram {
    border-color: #b99682;
    color: #b99682;
}
.social .icon-s-evernote {
    border-color: #9fdc82;
    color: #9fdc82;
}
.social .icon-s-paypal {
    border-color: #5b85a8;
    color: #5b85a8;
}
.social .icon-s-picasa {
    border-color: #b088c1;
    color: #b088c1;
}
.social .icon-s-soundcloud {
    border-color: #ff8b45;
    color: #ff8b45;
}
.social a:hover .icon-s-pinterest {
    background-color: #d8545d
}
.social a:hover .icon-s-rss {
    background-color: #faaa5e
}
.social a:hover .icon-s-facebook {
    background-color: #677fb5
}
.social a:hover .icon-s-twitter {
    background-color: #70c2e9
}
.social a:hover .icon-s-flickr {
    background-color: #ff3ba4
}
.social a:hover .icon-s-dribbble {
    background-color: #e299c2
}
.social a:hover .icon-s-behance {
    background-color: #42a9fb
}
.social a:hover .icon-s-linkedin {
    background-color: #3daccf
}
.social a:hover .icon-s-vimeo {
    background-color: #42b5d4
}
.social a:hover .icon-s-youtube {
    background-color: #d5615c
}
.social a:hover .icon-s-skype {
    background-color: #5ecbf3
}
.social a:hover .icon-s-tumblr {
    background-color: #829fb9
}
.social a:hover .icon-s-delicious {
    background-color: #6194dc
}
.social a:hover .icon-s-500px {
    background-color: #3bbbe6
}
.social a:hover .icon-s-grooveshark {
    background-color: #f88e3b
}
.social a:hover .icon-s-forrst {
    background-color: #5f9864
}
.social a:hover .icon-s-digg {
    background-color: #507faa
}
.social a:hover .icon-s-blogger {
    background-color: #fd893f
}
.social a:hover .icon-s-klout {
    background-color: #e16747
}
.social a:hover .icon-s-dropbox {
    background-color: #6ba3c5
}
.social a:hover .icon-s-github {
    background-color: #6c93bb
}
.social a:hover .icon-s-songkick {
    background-color: #ff3b60
}
.social a:hover .icon-s-posterous {
    background-color: #efd57c
}
.social a:hover .icon-s-appnet {
    background-color: #3daad5
}
.social a:hover .icon-s-gplus {
    background-color: #bc7067
}
.social a:hover .icon-s-stumbleupon {
    background-color: #f07356
}
.social a:hover .icon-s-lastfm {
    background-color: #cd443d
}
.social a:hover .icon-s-spotify {
    background-color: #9acf48
}
.social a:hover .icon-s-instagram {
    background-color: #b99682
}
.social a:hover .icon-s-evernote {
    background-color: #9fdc82
}
.social a:hover .icon-s-paypal {
    background-color: #5b85a8
}
.social a:hover .icon-s-picasa {
    background-color: #b088c1
}
.social a:hover .icon-s-soundcloud {
    background-color: #ff8b45
}
.social a:hover a:hover i {
    background-color: #FFF
}
.social a:hover i {
    color: #FFF
}
.black-wrapper .social li a:hover i {
    color: #FFF
}
/*-----------------------------------------------------------------------------------*/
/*  REVOLUTION SLIDER
/*-----------------------------------------------------------------------------------*/
.fullwidthbanner-container {
    width: 100% !important;
    position: relative;
    padding: 0;
    max-height: 300px !important;
    overflow: hidden !important;
}
.revolution {
    background: #FFF;
}
.revolution ul {
    visibility: hidden;
    margin: 0;
    list-style: none;
}
.tp-caption.medium { /*Add*/
    font-size: 21px;
    color: #000;
    white-space: normal !important;
}
.tp-caption.caption-clock { /*Add*/
    font-size: 50px;
    color: #000;
    border-right: 1px solid;
    padding-right: 20px !important;

}
.tp-caption.bold {
    font-size: 30px; /*Edit*/ /*35px*/
    line-height: 1;
    font-weight: normal;
    color: #0e519f; /*Edit*/ /*#F3F3F3*/
}
.tp-caption.lite {
    font-size: 28px;
    line-height: 1;
    color: #FFF;
    font-weight: normal;
}
.tp-caption.lite.small {
    font-size: 22px;
    line-height: 35px;
    color: #cfcfcf;
}
.tp-caption.dark {
    color: #515151
}
.tp-caption.opacity-bg {
    background: rgba(0,0,0,0.3);
    color: #FFF !important;
    padding: 10px 15px;
    font-size: 30px;
    line-height: 1;
    font-weight: normal;
    color: #F3F3F3;
}
.tp-caption a.btn {
    color: #fff
}
.tp-leftarrow.default,
.tp-rightarrow.default {
    z-index: 100;
    cursor: pointer;
    position: relative;
    top: 50% !important;
    -webkit-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    -moz-transition: all 200ms ease-in;
    background: rgba(0,0,0,0.2);
    color: #f7f7f7;
    line-height: 1;
    font-size: 20px;
    padding: 11px 18px;
    width: auto;
    height: auto;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}
.tparrows:before {
    font-family: 'fontello';
    font-style: normal;
    font-weight: normal;
    speak: none;
    display: inline-block;
    text-decoration: inherit;
    text-align: center;
}
.tp-leftarrow.default:before {
    content: '\e75d'
}
.tp-rightarrow.default:before {
    content: '\e75e'
}
.tparrows:hover {
    background: rgba(0,0,0,0.4)
}
.tp-bullets.simplebullets.round .bullet {
    width: 12px;
    height: 12px;
    margin-left: 4px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -webkit-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    -moz-transition: all 200ms ease-in;
    background: rgba(0,0,0,0.2);
}
.tp-bullets.simplebullets.round .bullet.selected,
.tp-bullets.simplebullets.round .bullet:hover {
    background: rgba(0,0,0,0.4)
}
.tp-bullets.hidebullets {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    -moz-opacity: 0;
    -khtml-opacity: 0;
    opacity: 0;
}
.tp-loader {
    background: url(../images/loading.gif) no-repeat;
    background-color: #fff;
    margin: -15px -15px;
    top: 50%;
    left: 50%;
    z-index: 1000;
    position: absolute;
    width: 30px;
    height: 30px;
    background-size: 30px 30px;
}
@media only screen and (-Webkit-min-device-pixel-ratio: 1.5), only screen and (-moz-min-device-pixel-ratio: 1.5), only screen and (-o-min-device-pixel-ratio: 3/2), only screen and (min-device-pixel-ratio: 1.5) {
    .tp-loader {
        background-image: url(../images/loading@2x.gif)
    }
}
.tp-bannertimer {
    width: 100%;
    height: 10px;
    background: url(../images/timer.png);
    position: absolute;
    z-index: 200;
}
/*-----------------------------------------------------------------------------------*/
/*  SERVICES TABS
/*-----------------------------------------------------------------------------------*/
.tab-block {
    display: none
}
.services .etabs {
    padding: 0;
    overflow: inherit;
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
}
.services,
.services .etabs {
    text-align: center
}
.services .tab {
    display: inline-block;
    position: relative;
}
.services .tab .pin {
    content: "";
    width: 9px;
    height: 9px;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    background: #dadada;
    display: inline-block;
    z-index: 200;
    position: relative;
    -webkit-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    -moz-transition: all 200ms ease-in;
}
.services .tab .root:before {
    content: "";
    display: inline-block;
    border-bottom: 1px solid #dadada;
    width: 50%;
    height: 0px;
    position: absolute;
    top: 12px;
    left: 0;
}
.services .tab .root:after {
    content: "";
    display: inline-block;
    border-bottom: 1px solid #dadada;
    width: 50%;
    height: 0px;
    position: absolute;
    top: 12px;
    right: 0;
}
/* Firefox Fix */
@-moz-document url-prefix() {
    .services .tab .root:before,
    .services .tab .root:after {
        margin-top: 1px
    }
}
.services .tab:first-child .root:before {
    display: none
}
.services .tab:last-child .root:after {
    display: none
}
.services .tab a {
    display: block
}
.services .tab .icon {
    display: table;
    margin: 10px auto 0;
    position: relative;
}
.services .tab .icon i.icn {
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    width: auto;
    height: 60px;
    color: #bababa;
    line-height: 1;
    font-size: 50px;
    text-transform: uppercase;
    -webkit-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    -moz-transition: all 200ms ease-in;
}
.services .tab:hover .icon i.icn,
.services .tab.active .icon i.icn {
    color: #3f8dbf
}
.services .tab:hover .pin,
.services .tab.active .pin {
    background-color: #3f8dbf
}
.services .tab h4 {
    text-transform: uppercase;
    font-size: 14px;
    color: #bababa;
    font-weight: normal;
    -webkit-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    -moz-transition: all 200ms ease-in;
}
.services .tab:hover h4,
.services .tab.active h4 {
    color: #3f8dbf
}
.services .tab h4 {
    margin: 0
}
.services.tabs .panel-container {
    width: 70%;
    margin: 0 auto 30px;
}
.services.tab-container .panel-container p {
    margin: 0;
    padding-bottom: 10px;
}
/*-----------------------------------------------------------------------------------*/
/*  TABS ON TOP
/*-----------------------------------------------------------------------------------*/
.tabs-top .etabs {
    margin: 0;
    padding: 0;
    overflow: inherit;
}
.tabs-top.center .etabs {
    text-align: center
}
.tabs-top .tab {
    margin: 0;
    padding: 0;
    display: inline-block;
    zoom: 1;
    *display: inline;
    margin-right: 3px;
}
.tabs-top .tab a {
    padding: 9px 20px;
    display: block;
    color: #9a9a9a;
    font-size: 13px;
    font-weight: normal;
    border: 1px solid #b5b5b5;
    text-transform: uppercase;
}
.tabs-top .tab a:hover,
.tabs-top .tab.active a {
    color: #3f8dbf;
    border-color: #3f8dbf;
}
.tabs-top.tab-container .panel-container {
    position: relative;
    z-index: 1;
    display: block;
}
.tabs-top.tab-container .panel-container p {
    margin: 0;
    padding-bottom: 10px;
}
.tabs-top.tab-container .panel-container .tab-block {
    padding-top: 10px;
    padding-bottom: 0;
}
.tabs-top.tabs-sort { /*Add*/
    margin-top: -20px;
}
.tabs-top.tabs-sort .text-sort,
.tabs-top.tabs-sort .etabs { /*Add*/
    font-family: 'thaisans_neueregular',sans-serif;
    font-size: 20px;
    margin-right: 10px;
}
.tabs-top.tabs-sort .text-sort {
    color: #000000;
}
.tabs-top.tabs-sort .text-sort span.show-cat { /*Add*/
    background: #4f4f4f;
    color: #ffffff;
    border: none;
    font-size: 18px;
    padding: 0 13px;
    height: 34px;
    width: 236px;
}
.tabs-top.tabs-sort .tab a { /*Add*/
    padding: 0 12px 0 20px;
    display: block;
    color: #aeaeae;
    font-size: 20px;
    font-weight: normal;
    border: 0;
    text-transform: none;
}
.tabs-top.tabs-sort .tab a:hover,
.tabs-top.tabs-sort .tab.active a { /*Add*/
    color: #204a66;
    border-color: #204a66;
}

.tabs-top.tabs-sort.all { /*Add*/
    margin: 78px 0;
}

.tabs-top.tabs-sort .etabs.right {
    float: right;
}
/*-----------------------------------------------------------------------------------*/
/*  TESTIMONIALS
/*-----------------------------------------------------------------------------------*/
#testimonials {
    text-align: center;
    width: 80%;
    margin: 0 auto;
}
#testimonials .author {
    font-style: normal;
    font-size: 14px;
    color: #3f8dbf;
    display: block;
}
#testimonials div {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 32px;
    font-weight: 300;
    position: relative;
}
#testimonials .tab {
    border: none;
    margin: 0;
    display: inline;
}
#testimonials .etabs {
    padding: 0;
    margin: 0;
    height: 12px;
}
#testimonials .tab a {
    padding: 0;
    text-indent: -99999px;
    width: 10px;
    height: 10px;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    background: none;
    border: 1px solid #aaa;
    display: inline-block;
}
#testimonials .tab a.active,
#testimonials .tab a:hover {
    border: 1px solid #FFF;
    background: none;
    position: relative;
    z-index: 3;
}
#testimonials .panel-container {
    border: none
}
#testimonials.tab-container .panel-container div {
    padding-top: 15px
}
/*-----------------------------------------------------------------------------------*/
/*  COLUMN TESTIMONIALS
/*-----------------------------------------------------------------------------------*/
.arrow-box {
    position: relative;
    background: #fff;
    border: 1px solid #dadada;
    padding: 20px 20px 10px 20px;
    text-align: center;
}
.arrow-box:after,
.arrow-box:before {
    top: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.arrow-box:after {
    border-color: rgba(255, 255, 255, 0);
    border-top-color: #fff;
    border-width: 8px;
    margin-left: -8px;
}
.arrow-box:before {
    border-color: rgba(218, 218, 218, 0);
    border-top-color: #dadada;
    border-width: 9px;
    margin-left: -9px;
}
.col-testimonials .author {
    margin-top: 10px;
    color: #3f8dbf;
    font-weight: normal;
    display: inline-block;
}
.col-testimonials .author em {
    font-weight: 500;
    font-size: 12px;
    color: #7a7a7a;
    display: block;
    font-style: normal;
    margin-top: -5px;
}
.col-testimonials .arrow-box .quote {
    text-align: left
}
.col-testimonials .arrow-box .quote:before {
    font-family: 'fontello';
    content: '\275e';
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    font-size: 25px;
    margin-right: 10px;
    float: left;
    display: block;
    color: #dadada;
}
/*-----------------------------------------------------------------------------------*/
/*  ACCORDION / TOGGLE
/*-----------------------------------------------------------------------------------*/
.panel-group .panel {
    margin-bottom: 10px;
    background: none;
    border: none;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.panel-heading {
    padding: 0;
    background: none !important;
    border: 0 !important;
}
.panel-heading .panel-title {
    color: #9a9a9a;
    font-size: 13px;
    font-weight: normal;
    border: 1px solid #b5b5b5;
    text-transform: uppercase;
}
.panel-title > a {
    display: block;
    color: #9a9a9a;
    padding: 13px 15px;
}
.panel-title > a:hover {
    color: #3f8dbf
}
.panel-default > .panel-heading + .panel-collapse .panel-body {
    border: 0
}
.panel-default > .panel-heading + .panel-collapse {
    border: 1px solid #b5b5b5;
    border-top: none;
}
/*-----------------------------------------------------------------------------------*/
/*  SERVICES ICONS
/*-----------------------------------------------------------------------------------*/
.col-services .row {
    text-align: left
}
.col-services .icon {
    display: table
}
.col-services .row  .icon {
    float: left;
    margin-right: 20px;
}
.col-services .row .text {
    overflow: hidden
}
.col-services .icon i.icn {
    color: #3f8dbf;
    line-height: 1;
    font-size: 50px;
    text-transform: uppercase;
    -webkit-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    -moz-transition: all 200ms ease-in;
}
.col-services-2 .col:hover .icon-border i {
    background-color: #3f8dbf;
    color: #FFF;
}
/*-----------------------------------------------------------------------------------*/
/*  OWL CAROUSEL
/*-----------------------------------------------------------------------------------*/
.carousel-th .item {
    /*margin: 0 10px 50px 10px;*/
    margin: 0 10px 28px 10px; /*Edit*/
}
.owl-clients .item img {
    max-width: 100%;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
    -moz-opacity: 0.8;
    -khtml-opacity: 0.8;
    opacity: 0.8;
    -webkit-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    -moz-transition: all 200ms ease-in;
}
.owl-clients .item:hover img {
    max-width: 100%;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    -moz-opacity: 1;
    -khtml-opacity: 1;
    opacity: 1;
}
.owl-carousel {
    position: relative
}
.owl-carousel .owl-controls {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    pointer-events: none;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    -moz-opacity: 0;
    -khtml-opacity: 0;
    opacity: 0;
    -webkit-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    -moz-transition: all 200ms ease-in;
}
.owl-carousel:hover .owl-controls {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    -moz-opacity: 1;
    -khtml-opacity: 1;
    opacity: 1;
}
.owl-carousel .owl-controls .owl-prev {
    position: absolute;
    top: 103px;
    left: 23px;
    pointer-events: auto;
}
.owl-carousel .owl-controls .owl-next {
    position: absolute;
    top: 103px;
    right: 23px;
    pointer-events: auto;
}
.owl-carousel .owl-controls .owl-prev,
.owl-carousel .owl-controls .owl-next {
    z-index: 1;
    cursor: pointer;
    -webkit-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    -moz-transition: all 200ms ease-in;
    background: rgba(0,0,0,0.3);
    color: #f7f7f7;
    line-height: 1;
    font-size: 18px;
    padding: 12px;
    width: auto;
    height: auto;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}
.owl-carousel .owl-controls .owl-prev:hover,
.owl-carousel .owl-controls .owl-next:hover {
    background: rgba(0,0,0,0.5)
}
.owl-portfolio-slider {
    padding-bottom: 15px;
    display: none;
}
.owl-clients,
.owlcarousel {
    display: none
}
.owl-slider-wrapper {
    position: relative;
    margin-bottom: 20px;
}
.owl-slider-wrapper .item img {
    display: block;
    width: 100%;
    height: auto;
}
.owl-slider-wrapper .owl-custom-nav {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    pointer-events: none;
}
.owl-slider-wrapper .owl-custom-nav .slider-prev {
    position: absolute;
    top: 50%;
    left: 20px;
    margin-top: -23px;
    pointer-events: auto;
}
.owl-slider-wrapper .owl-custom-nav .slider-next {
    position: absolute;
    top: 50%;
    right: 20px;
    margin-top: -23px;
    pointer-events: auto;
}
.owl-slider-wrapper .owl-custom-nav .slider-prev,
.owl-slider-wrapper .owl-custom-nav .slider-next {
    z-index: 1;
    cursor: pointer;
    -webkit-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    -moz-transition: all 200ms ease-in;
    background: rgba(0,0,0,0.3);
    color: #f7f7f7;
    line-height: 1;
    font-size: 18px;
    padding: 12px 17px;
    width: auto;
    height: auto;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}
.owl-slider-wrapper .owl-custom-nav .slider-prev:before,
.owl-slider-wrapper .owl-custom-nav .slider-next:before {
    font-family: 'fontello';
    font-style: normal;
    font-weight: normal;
    speak: none;
    display: inline-block;
    text-decoration: inherit;
    text-align: center;
}
.owl-slider-wrapper .owl-custom-nav .slider-prev:before {
    content: '\e75d'
}
.owl-slider-wrapper .owl-custom-nav .slider-next:before {
    content: '\e75e'
}
.owl-slider-wrapper .owl-custom-nav .slider-prev:hover,
.owl-slider-wrapper .owl-custom-nav .slider-next:hover {
    background: rgba(0,0,0,0.5)
}
.owl-slider-wrapper .owl-controls {
    margin-top: 30px;
    text-align: center;
    position: relative;
}
.owl-slider-wrapper .owl-controls .owl-page {
    display: inline-block;
    zoom: 1;
    *display: inline;
}
.owl-slider-wrapper .owl-controls {
    margin: -40px 0 0 0
}
.owl-slider-wrapper .owl-controls .owl-pagination .owl-page span {
    display: block;
    margin: 0 2px;
    width: 12px;
    height: 12px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -webkit-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    -moz-transition: all 200ms ease-in;
    background: rgba(0,0,0,0.3);
    border: none;
}
.owl-slider-wrapper .owl-controls .owl-pagination .owl-page.active span,
.owl-slider-wrapper .owl-controls .owl-pagination .owl-page:hover span {
    background: rgba(0,0,0,0.5);
    border: none;
}
.owl-slider-wrapper .owl-custom-nav,
.owl-slider-wrapper .owl-controls {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    -moz-opacity: 0;
    -khtml-opacity: 0;
    opacity: 0;
    -webkit-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    -moz-transition: all 200ms ease-in;
}
.owl-slider-wrapper:hover .owl-custom-nav,
.owl-slider-wrapper:hover .owl-controls {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    -moz-opacity: 1;
    -khtml-opacity: 1;
    opacity: 1;
}
#owl-gallery .item {
    margin: 0 10px
}
#owl-gallery .item img {
    display: block;
    width: 100%;
    height: auto;
}
#owl-gallery .owl-controls {
    margin: 10px 0 0 0
}
#owl-gallery .owl-pagination {
    height: 12px
}
/* preloading images */
.owl-item.loading {
    min-height: inherit;
    background: none;
}
/*-----------------------------------------------------------------------------------*/
/*  CAPTION & OVERLAY
/*-----------------------------------------------------------------------------------*/
.image-caption {
    width: 100%;
    /*Edit*/
    /*padding: 15px 20px;
    background: #FFF;
    border: 1px solid #e3e3e3;
    border-top: none;*/
    position: relative;
}
.owl-blog .image-caption,
.grid-blog .post .image-caption {
    padding-bottom: 10px
}
.owlcarousel .image-caption h3,
.item .image-caption h3,
.grid-blog .image-caption h3 {
    margin: 0;
    padding: 0;
    font-size: 16px;
}
.image-caption h3 a {
    color: #616161
}
.image-caption h3 a:hover {
    color: #3f8dbf
}
.image-caption:before {
    content: "";
    display: block;
    position: absolute;
    top: -8px;
    margin-left: 20px;
    width: 8px;
    height: 8px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
    z-index: 100;
}
.black-wrapper .image-caption {
    background: #3a3a3a;
    border: none;
    padding: 15px 20px;
}
.black-wrapper .image-caption:before {
    border-bottom: 8px solid #3a3a3a
}
.black-wrapper .image-caption h3 a {
    color: #cacaca
}
.black-wrapper .image-caption h3 a:hover {
    color: #3f8dbf
}
.icon-overlay {
    display: block;
    overflow: hidden;
    position: relative;
}
.icon-overlay img {
    display: block;
    max-width: 100%;
    -webkit-backface-visibility: hidden;
    -o-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
.icon-overlay a:hover img {
    -o-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}
.icon-overlay a .icn-more {
    opacity: 0;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
    -MS-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    height: 100%;
    position: absolute;
    text-decoration: none;
    width: 100%;
    z-index: 100;
    background: #222;
    background-color: rgba(63,141,191, 0.92);
    overflow: hidden;
    -webkit-transition: all 0.25s;
    -moz-transition: all 0.25s;
    -o-transition: all 0.25s;
    transition: all 0.25s;
}
.icon-overlay a:hover .icn-more {
    opacity: 1;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
    -MS-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
.icon-overlay a .icn-more:before {
    font-family: 'fontello';
    font-style: normal;
    font-weight: normal;
    speak: none;
    display: inline-block;
    text-decoration: inherit;
    position: absolute;
    text-align: center;
    content: '\f50d';
    line-height: 1;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    color: #FFF;
    top: 50%;
    left: 50%;
    z-index: 2;
    border: 1px solid #FFF;
    -webkit-transform: translateY(-20px);
    -moz-transform: translateY(-20px);
    -ms-transform: translateY(-20px);
    -o-transform: translateY(-20px);
    transform: translateY(-20px);
    -webkit-transition: -webkit-transform 0.25s ease-in-out;
    -moz-transition: -moz-transform 0.25s ease-in-out;
    -o-transition: -o-transform 0.25s ease-in-out;
    transition: transform 0.25s ease-in-out;
}
.icon-overlay.medium .icn-more:before {
    font-size: 16px;
    padding-top: 8px;
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
}
.icon-overlay.small .icn-more:before {
    font-size: 15px;
    top: 50%;
    margin: -6px 0 0 -6px;
}
.icon-overlay a:hover .icn-more:before {
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    -o-transform: translateY(0px);
    transform: translateY(0px);
}
.icon-overlay a:hover .icn-more:before {
    top: 50%!important
}
.sidebox .post-list .icon-overlay a .icn-more:before {
    border: none
}
.icon-overlay.icn-link a .icn-more:before {
    content: '\f517'
}
/*-----------------------------------------------------------------------------------*/
/*  FANCYBOX
/*-----------------------------------------------------------------------------------*/
#fancybox-thumbs ul li img {
    max-width: none
}
.info.hidden {
    display: none
}
.fancybox-wrap {
    background: #FFF !important
}
.fancybox-title,
.fancybox-error {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 24px !important;
}
.fancybox-title h2,
.fancybox-title h3 {
    color: #616161;
    margin-bottom: 10px;
    line-height: 22px;
    font-size: 18px;
}
.fancybox-skin {
    color: #616161 !important
}
.fancybox-title-inside-wrap {
    padding: 20px !important
}
.fancybox-nav span {
    width: 36px !important;
    height: 36px !important;
    margin-top: -18px !important;
}
.fancybox-close {
    top: 10px !important;
    right: 10px !important;
    width: 36px !important;
    height: 36px !important;
}
.fancybox-close:before,
.fancybox-prev span:before,
.fancybox-next span:before {
    font-family: 'fontello';
    font-style: normal;
    font-weight: normal;
    speak: none;
    display: inline-block;
    text-decoration: inherit;
    margin-right: 0 !important;
    margin-top: 6px !important;
    text-align: center;
    width: 36px !important;
    font-size: 20px !important;
}
/* Firefox Fix */
@-moz-document url-prefix() {
    .fancybox-close:before,
    .fancybox-prev span:before,
    .fancybox-next span:before {
        margin-top: 5px !important
    }
}
.fancybox-close,
.fancybox-prev span,
.fancybox-next span {
    background: rgba(0,0,0,0.5) !important;
    color: #f7f7f7 !important;
    text-align: center !important;
    -webkit-transition: all 200ms ease-in !important;
    -o-transition: all 200ms ease-in !important;
    -moz-transition: all 200ms ease-in !important;
    -webkit-border-radius: 3px !important;
    border-radius: 3px !important;
    opacity: 0;
}
.fancybox-close:hover,
.fancybox-prev span:hover,
.fancybox-next span:hover {
    background: rgba(0,0,0,0.7) !important
}
.fancybox-wrap:hover .fancybox-close,
.fancybox-wrap:hover .fancybox-prev span,
.fancybox-wrap:hover .fancybox-next span {
    opacity: 1
}
.fancybox-prev span:before {
    content: '\e75d'
}
.fancybox-next span:before {
    content: '\e75e'
}
.fancybox-close:before {
    content: '\2715'
}
#fancybox-loading {
    margin-top: -12px !important;
    margin-left: -12px !important;
    background: #000 !important;
    padding: 8px;
    opacity: 1 !important;
    -webkit-border-radius: 3px !important;
    border-radius: 3px !important;
}
#fancybox-loading div {
    width: 24px !important;
    height: 24px !important;
    background-image: url(../images/fancy-loading.gif) !important;
}
.fancybox-overlay {
    background: rgba(27,27,27,0.94) !important
}
.fancybox-opened .fancybox-skin {
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.33);
    -moz-box-shadow: 0 0 5px rgba(0,0,0,0.33);
    box-shadow: 0 0 5px rgba(0,0,0,0.33);
}
/*-----------------------------------------------------------------------------------*/
/*  BLOG
/*-----------------------------------------------------------------------------------*/
.latest-blog-wrapper {
    overflow: hidden
}
.latest-blog {
    margin-right: -30px;
    margin-bottom: -50px;
}
.latest-blog .post {
    float: left;
    width: 470px;
    margin-bottom: 50px;
    margin-right: 30px;
}
.latest-blog .post:after {
    content: '';
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.latest-blog .post figure {
    width: 150px;
    float: left;
    margin-right: 25px;
}
.latest-blog .post .post-content {
    overflow: hidden
}
.latest-blog .post-title {
    margin: 0
}
.meta,
.more {
    font-size: 12px;
    color: #9f9f9f;
    display: block;
    margin-bottom: 7px;
}
.more {
    margin: 0;
    color: #3f8dbf;
}
.classic-blog .meta {
    margin-bottom: 12px
}
.items .meta,
.owl-portfolio .meta {
    margin-bottom: 0
}
.meta a {
    color: #9f9f9f
}
.meta a:hover {
    color: #3f8dbf
}
.meta span:before {
    display: inline-block;
    content: "|";
    padding: 0 10px 0 7px;
}
.meta span:first-child:before {
    display: none;
    padding: 0;
}
a.more:after {
    content: "→";
    padding-left: 5px;
}
.meta.tags a:before {
    content: "#";
    display: inline-block;
}
.grid-blog .post {
    margin-bottom: 30px
}
.grid-blog .post .date {
    display: inline
}
.grid-blog:before,
.grid-blog:after {
    display: table;
    content: "";
    line-height: 0;
}
.grid-blog:after {
    clear: both
}
.grid-blog .post {
    float: left;
    min-height: 1px;
    position: relative;
}
.grid-blog.col3 {
    margin-left: -20px;
    margin-bottom: -20px;
}
.grid-blog.col3 .post {
    width: 310px;
    margin-left: 20px;
    margin-bottom: 20px;
}
.grid-blog.col2 {
    margin-left: -30px;
    margin-bottom: -30px;
}
.grid-blog.col2 .post {
    width: 470px;
    margin-left: 30px;
    margin-bottom: 30px;
}
.row .grid-blog.col2 {
    margin-left: -20px;
    margin-bottom: -20px;
}
.row .grid-blog.col2 .post {
    width: 308px;
    margin-left: 20px;
    margin-bottom: 20px;
}
.single figure {
    margin-bottom: 10px
}
.classic-blog figure.main,
.classic-blog iframe,
.classic-blog .owl-slider-wrapper.main {
    margin-bottom: -1px;
    display: block;
}
.classic-blog .post-content.image-caption,
.about-author.image-caption {
    border: 1px solid #e3e3e3;
    padding: 25px;
}
.classic-blog .post-content.image-caption:before,
.about-author.image-caption:before {
    display: none
}
.classic-blog .post {
    margin-bottom: 50px
}
.classic-blog.single .post {
    margin: 0
}
.format-chat ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.format-chat ul li strong {
    text-transform: uppercase;
    color: #616161;
}
.format-link .post-title a:after {
    display: inline-block;
    content: "→";
    padding-left: 10px;
}
/*-----------------------------------------------------------------------------------*/
/*  PAGINATION
/*-----------------------------------------------------------------------------------*/
.pagination {
    display: block;
    text-align: center; /*Add*/
    /*font-family: 'rsuregular', sans-serif;*/ /*Add*/
    font-size: 18px; /*Add*/
}
.pagination ul {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 40px;
}
.pagination ul > li {
    display: inline-block;
    margin-right: 2px;
}
.pagination ul > li > a,
.pagination ul > li > span {
    float: none;
    border: none;
    color: #000000;
    font-size: 13px;
    font-weight: normal;
    text-transform: uppercase;
    padding: 0px 15px;
    /*border: 2px solid #f9f9f9;*/ /*Edit*/ /*border: 2px solid #9b9b9b;*/
    /*-webkit-border-radius: 5px;*/
    border-radius: 5px;
    cursor: pointer;
}
.pagination ul > li > a:hover,
.pagination ul > li > a:focus{
    border: 0px!important;
}
.pagination ul > .active > a,
.pagination ul > .active > span {
    color: #FFF!important;
    border: 0px solid #0e519f!important;
    border-radius: 50%;
    background-color: #0f0f0f;
    padding: 0 10px;
}
.pagination ul > .active > a {
    pointer-events: none;
}
/*-----------------------------------------------------------------------------------*/
/*  NAVIGATION
/*-----------------------------------------------------------------------------------*/
.navigation a {
    color: #9b9b9b;
    font-weight: normal;
    text-transform: uppercase;
    padding: 5px 10px 4px;
    border: 2px solid #9b9b9b;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    display: inline-block;
}
.navigation a:hover {
    color: #3f8dbf;
    border: 2px solid #3f8dbf;
}
/*-----------------------------------------------------------------------------------*/
/*  AUTHOR
/*-----------------------------------------------------------------------------------*/
.about-author {

}
.about-author .author-image {
    width: 120px;
    float: left;
    margin-right: 20px;
    display: block;
}
.about-author .author-details {
    overflow: hidden
}
.about-author .author-details .social {
    margin: 0;
    padding: 0;
    overflow: hidden;
}
/*-----------------------------------------------------------------------------------*/
/*  COMMENTS
/*-----------------------------------------------------------------------------------*/
#comments {
    /*font-family: 'THSarabunNewBold', sans-serif;*/ /*Add*/
    margin: 0 0 80px 0;
    position: relative;
}
#comments ol.commentlist {
    list-style: none;
    margin: -20px 0 0 0;
    padding: 0;
}
#comments ol.commentlist li {
    padding: 30px 0 0 0;
    background: none;
}
#comments ol.commentlist li:first-child {
    border: none;
    margin: 0;
}
#comments .user {
    float: left;
    width: 90px; /*Edit*/ /*width: 70px;*/
    height: 90px; /*Edit*/ /*height: 70px;*/
    margin-right: 30px; /*Edit*/ /*margin-right: 20px;*/
    position: relative;
    padding-left: 15px; /*Add*/
}
#comments .message {
    overflow: hidden
}
#comments .image-caption {
    /*border: 1px solid #e3e3e3*/ /*Edit*/
}
#comments .image-caption:before {
    display: none
}
#comments .image-caption p { /*Add*/
    display: block;
    float: left;
    font-size: 17px;
}
#comments .no-login p { /*Add*/
    display: block;
    float: left;
    font-size: 20px;
    width: 100%;
    padding: 10px;
    background-color: #fff4d1;
    border: 1px dashed #c5c5c5;
    border-radius: 5px;
}
#comments ul.children {
    margin: 0;
    overflow: inherit;
    padding: 0 0 0 55px;
    list-style: none;
}
#comments ol.commentlist ul.children li {
    padding-right: 0;
    border: none;
}
#comments .info h2 {
    /*font-family: 'THSarabunNewBold', sans-serif;*/ /*Add*/
    font-size: 22px; /*Edit*/ /*font-size: 16px;*/
    margin: 0;
    display: inline;
    margin-right: 5px;
    text-transform: uppercase;
}
#comments .info {
    /*margin-bottom: 12px*/ /*Edit*/
}
#comments .info h2 a {
    color: #616161
}
#comments .info h2 a:hover {
    color: #3f8dbf
}
#comments .info .date { /*Add*/
    display: inline;
    font-size: 18px;
    font-style: italic;
    text-align: right;
}
#comments .info .meta {
    display: block;
    margin: -3px 0 -4px 0;
}
#comments .info .meta .date {
    display: inline;
    font-size: 14px;
}
#comments a.reply-link {
    display: inline;
    color: #9f9f9f;
}
#comments a.reply-link:hover {
    color: #3f8dbf
}
#comments a.reply-link:before {
    display: inline-block;
    content: "|";
    padding: 0 10px 0 7px;
    color: #9f9f9f;
}
.comment-form-wrapper p {
    padding-bottom: 20px
}
.blog.no-sidebar #comments .meta {
    text-align: left
}
/* Addition */
.details-comments-box { /*Add*/
    /*font-family: 'THSarabunNewBold',sans-serif;*/
    margin-bottom: 50px;
}
.details-comments-box h1 { /*Add*/
    /*font-family: 'THSarabunNewBold',sans-serif;*/
    font-size: 1.7em;
    padding: 0 0 5px 15px;
    margin: 20px 0 20px 0;
    color: #666666;
    border-left: 6px solid #88979e;
    border-bottom: 1px solid #bebebe;
    width: 100%;
}
.details-comments-box h1.toggle {
    cursor: pointer;
}
.details-comments-box h1 i {
    float: right;
}
.details-comments-box .marc-box {
    /*font-family: "THSarabunNewRegular", sans-serif;*/
    font-size: 16px;
    background-color: #E4E7EC;
    padding: 4px 25px;
    color: #000000;
}
.details-comments-box .marc-box .row {
    border-bottom: 1px #cccccc dashed;
    padding: 10px;
}
.details-comments-box .marc-box .row .marc-title {
    font-weight: bold;
    color: #272520;
}
.details-comments-box span.name {
    color: #0e519f;
}
.details-comments-box .user-comment { /*Add*/
    float: left;
    width: 150px;
    height: 150px;
    margin-right: 30px;
    position: relative;
    display: inline;
}
.details-comments-box .message-field { /*Add*/
    display: inline;
}
.details-comments-box .submit {
    width: 100%;
    float: right;
    padding-right: 46px;
}
.details-comments-box .submit p,
.details-comments-box .submit input,
.details-comments-box .submit span {
    float: right;
}
.details-comments-box .submit p {
    display: inline;
    font-size: 20px;
    padding-top: 5px;
}
.details-comments-box .submit .rating {
    direction: rtl;
    font-size: 24px;
    margin-left: 10px;
    unicode-bidi: bidi-override;
    padding-top: 5px;
    padding-right: 8px;
}
.details-comments-box .submit .rating span.star, .rating span.star {
    display: inline-block;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
}
.details-comments-box .submit .rating span.star:hover, .rating span.star:hover {
    cursor: pointer;
}
.details-comments-box .submit .rating span.star:before, .rating span.star:before {
    color: #bec3c7;
    content: "";
    padding-right: 5px;
}
.details-comments-box .submit .rating span.star:hover:before, .rating span.star:hover:before, .rating span.star:hover ~ span.star:before, .rating span.star:hover ~ span.star:before {
    color: #8797a6;
    content: "";
}
.details-comments-box .submit .rating span.star.focus:before{
    color: #8797a6;
    content: "";
}

/*-----------------------------------------------------------------------------------*/
/*  STEPS
/*-----------------------------------------------------------------------------------*/
.steps {
    margin: 0 auto;
    width: 700px;
    overflow: hidden;
    list-style: none;
    padding: 0;
    position: relative;
}
.timeline-border {
    position: absolute;
    top: 0;
    left: 50%;
    border-left: 1px solid #dadada;
    height: 100%;
}
.step {
    width: 700px;
    float: right;
    text-align: left;
    margin: 0 0 10px;
    padding: 10px 0 0 405px;
    position: relative;
}
.step.even {
    float: left;
    text-align: right;
    padding: 10px 405px 0 0;
}
.step h5 {
    color: #3f8dbf
}
.step .icon-border {
    position: relative;
    margin-left: 10px;
}
.step.even .icon-border {
    margin-right: 10px
}
.step .icon-border:before {
    content: "";
    display: block;
    width: 65px;
    border-bottom: 1px solid #dadada;
    position: absolute;
    top: 35px;
    left: -65px;
}
.step.even .icon-border:before {
    left: auto;
    right: -65px;
}
.icon-border {
    display: inline-block
}
.icon-border i {
    font-family: "piconsthin";
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    text-align: center;
    color: #3f8dbf;
    font-size: 40px;
    padding: 0;
    margin: 0 0 10px 0;
    display: table;
    width: 70px;
    height: 70px;
    border: 2px solid #3f8dbf;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    -webkit-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    -moz-transition: all 200ms ease-in;
}
.step:hover .icon-border i {
    background-color: #3f8dbf;
    color: #FFF;
}
.icon-border i:before {
    display: table-cell;
    vertical-align: middle;
}
/*-----------------------------------------------------------------------------------*/
/*  PROGRESS BAR
/*-----------------------------------------------------------------------------------*/
.progress-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.progress-list p {
    margin-bottom: 5px
}
.progress-list li {
    margin-bottom: 20px
}
.progress-list li em {
    padding-left: 8px;
    color: #3f8dbf;
    font-style: normal;
}
.progress-list li em:before {
    content: "-";
    padding-right: 10px;
    display: inline-block;
}
.progress.plain {
    height: 15px;
    margin-bottom: 0;
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    background: #eaeaea;
    -webkit-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
.progress.plain .bar {
    float: left;
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    width: 0;
    height: 100%;
    font-size: 12px;
    color: #ffffff;
    text-align: center;
    text-shadow: none;
    background: #3f8dbf;
    -webkit-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
/*-----------------------------------------------------------------------------------*/
/*  SIDEBAR
/*-----------------------------------------------------------------------------------*/
.sidebar {
    padding-left: 25px !important
}
.sidebar.left-sidebar {
    padding: 15px !important;
    padding-top: 0 !important;
}
.side-hide-mobile .sidebox { /*Add*/
    border-bottom: 1px solid #000000 !important;
}
.side-hide-mobile .sidebox:first-child { /*Add*/
    padding-bottom: 0;
    border: 0 !important;
}
.sidebox {
    margin-top: 40px; /*Edit*/ /*margin-top: 50px;*/
    display: block;
    padding-bottom: 20px; /*Add*/
    border-bottom: 0px solid #000000; /*Add*/
}
.sidebox h3 {
    font-size: 24px;
    margin-bottom: 15px; /*Edit*/ /*margin-bottom: 15px;*/
    color: #272520; /*Add*/
    /*font-family: 'THSarabunNewRegular', sans-serif;*/ /*Add*/
}
/*.sidebox:first-child {
    margin: 0;
    padding-bottom: 0; !*Add*!
    border: 0; !*Add*!
}*/
.sidebox:last-child { /*Add*/
    border: 0;
}
.sidebox .post-list {
    padding: 0;
    margin: 0;
}
.sidebox .post-list:after {
    content: '';
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.sidebox .post-list li {
    clear: both;
    margin-bottom: 15px;
    display: block;
    overflow: hidden;
}
.sidebox .post-list h6 {
    font-size: 14px;
    line-height: 25px;
    margin: 0;
    font-weight: normal;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 500;
}
.sidebox a {
    color: #000000
}
.sidebox a:hover {
    color: #3f8dbf
}
.sidebox .post-list .icon-overlay {
    float: left;
    width: 70px;
    height: 70px;
}
.sidebox .post-list .meta {
    margin-left: 85px;
    overflow: hidden;
    margin-bottom: 0;
}
.sidebox .post-list .meta em {
    font-size: 12px;
    color: #9f9f9f;
    font-style: normal;
    font-weight: 500;
}
.sidebox .post-list .meta em:before {
    display: none
}
.sidebox.widget form {
    margin: 0
}
.sidebox.widget .searchform input {
    margin: 0
}
.widget .list {
    list-style: none;
    margin: 0;
}
.border-list {
    list-style: none;
    margin: 0;
    padding: 0;
    color: #9a9a9a;
    background: #FFF;
    border: 1px solid #e3e3e3;
}
.border-list li {
    border-top: 1px solid #e3e3e3;
    position: relative;
}
.border-list li a {
    display: block;
    padding: 8px 15px;
    color: #7a7a7a;
}
.border-list li a:hover {
    color: #3f8dbf
}
.border-list li:after {
    font-family: 'fontello';
    font-style: normal;
    font-weight: normal;
    speak: none;
    display: block;
    text-decoration: inherit;
    content: "\e762";
    display: block;
    position: absolute;
    right: 12px;
    top: 8px;
    font-size: 17px;
    -webkit-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    -moz-transition: all 200ms ease-in;
}
.border-list li:hover:after {
    color: #3f8dbf
}
.border-list li:first-child {
    border-top: none
}
/*-----------------------------------------------------------------------------------*/
/*  FORMS
/*-----------------------------------------------------------------------------------*/
.forms {
    position: relative;
    padding: 0;
    width: 100%;
}
.form-container .response {
    display: none
}
.forms ol {
    margin: 0;
    padding: 0;
}
.forms ol li {
    line-height: auto;
    list-style: none;
}
.forms li.hidden-row {
    display: none
}
input,
textarea,
.uneditable-input {
    width: 100%
}
select,
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input {
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    height: 40px;
    padding: 0 10px;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 25px;
    color: #949494;
    border: 0px solid #dadada;
    border-bottom: 1px solid #cccccc;
    resize: none;
    vertical-align: middle;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    background: #FFF;
    -webkit-border-radius: 0;
    border-radius: 0;
    -webkit-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    -moz-transition: all 200ms ease-in;
}
textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
.uneditable-input:focus {
    border: 0px solid #b3b3b3;
    border-bottom: 1px solid #cccccc;
    background: #FFF;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
textarea {
    height: 100%;
    padding: 5px 10px;
    margin-bottom: 15px;
    min-height: 150px;
    resize: vertical;
}
.btn-submit {
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    width: auto;
}
.forms li.error input,
.forms li.error textarea {
    border: 1px solid #b54d4d
}
.forms span.error {
    display: none
}
.forms .button-row span.error {
    padding: 0;
    display: none;
}
.forms .button-row p.forgot {
    padding: 6px 0 0 10px;
    overflow: hidden;
    display: inline-block;
}
.forms label {
    display: block;
    float: left;
    width: 95px;
    padding-top: 7px;
    font-size: 13px;
    clear: both;
}
.comment-form div label {
    position: absolute;
    top: 0;
    left: 0;
}
.form-container:after {
    content: '';
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.custom-btn {
    cursor: pointer;
    color: #ffffff;
    background-image: -webkit-linear-gradient(-25deg, #0e519f 70%, #ccc 70%);
    padding: 8px 25px 8px 10px;
    font-weight: lighter;
    font-size: 16px;
    border: 0;
}
.custom-btn-icn{
    padding-right: 20px;
    font-size: 14px
}
::-webkit-input-placeholder {
    color: #cacaca !important
}
:-moz-placeholder {
    color: #cacaca !important
}
::-moz-placeholder {
    color: #cacaca !important
}
:-ms-input-placeholder {
    color: #cacaca !important
}
input:focus::-webkit-input-placeholder {
    color: transparent !important
}
input:focus:-moz-placeholder {
    color: transparent !important
}
input:focus::-moz-placeholder {
    color: transparent !important
}
input:focus:-ms-input-placeholder {
    color: transparent !important
}
.newsletter {
    position: relative;
    margin: 0 auto;
}
.newsletter input[type="email"] {
    background: #282828;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid #434343;
    height: 40px;
    color: #cacaca !important;
}
.newsletter input[type="email"]:focus {
    background: #282828;
    border: 1px solid #5a5a5a;
}
.newsletter .btn-submit {
    position: absolute;
    right: 0;
    top: 0;
    color: #FFF !important;
    margin: 0;
    height: 40px;
    padding: 0 15px;
    font-size: 16px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    -webkit-border-radius: 0 3px 3px 0;
    border-radius: 0 3px 3px 0;
}
/*-----------------------------------------------------------------------------------*/
/*  PARALAX
/*-----------------------------------------------------------------------------------*/
.parallax {
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    overflow: hidden;
    color: #d9d9d9;
}
.parallax a {
    color: #d9d9d9
}
.parallax a:hover {
    color: #3f8dbf
}
.parallax h1,
.parallax h2,
.parallax h3,
.parallax h4,
.parallax h5,
.parallax h6 {
    color: #f0f0f0
}
.parallax .section-title h2 {
    color: #b0b0b0
}
.parallax .section-title .icon:before,
.parallax .section-title .icon:after {
    border-color: #797979
}
.parallax input,
.parallax textarea {
    background: #333;
    background: rgba(255,255,255,0.15);
    color: #d9d9d9;
    border: none;
}
.parallax input:focus,
.parallax textarea:focus {
    background: #222;
    background: rgba(255,255,255,0.22);
    border: none;
}
.parallax.mobile {
    background-attachment: scroll !important
}
.parallax.contact {
    background-image: url(../images/art/parallax1.jpg)
}
.parallax.testimonials {
    background-image: url(../images/art/parallax2.jpg)
}
.contact-info {
    margin: 0;
    padding: 0;
    list-style: none;
}
.contact-info i {
    margin-right: 7px
}
.black-wrapper .contact-info i {
    color: #f0f0f0
}
/*-----------------------------------------------------------------------------------*/
/*  GO TO TOP
/*-----------------------------------------------------------------------------------*/
#scrollUp {
    bottom: 20px;
    right: 20px;
    text-decoration: none;
    background: rgba(0,0,0,0.3);
    color: #f7f7f7;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -webkit-transition: background 200ms linear;
    -moz-transition: background 200ms linear;
    transition: background 200ms linear;
    -webkit-backface-visibility: hidden;
    line-height: 1;
    font-size: 20px;
    padding: 9px 10px 10px 10px;
}
#scrollUp:hover {
    background: rgba(0,0,0,0.5)
}
/*-----------------------------------------------------------------------------------*/
/*  PRICING TABLE
/*-----------------------------------------------------------------------------------*/
.pricing {
    overflow: hidden;
    text-align: center;
    padding-bottom: 10px;
    display: block;
}
.pricing ul {
    padding: 0
}
.pricing .btn {
    margin: 0
}
.pricing .plan {
    border: 1px solid #dadada
}
.pricing .plan h3 {
    font-size: 18px;
    line-height: 45px;
    margin: 0;
    padding: 5px 0;
    background: #fff;
    color: #5c5c5c;
}
.pricing .plan h4 {
    padding: 20px 0;
    margin: 0;
    background: #f5f5f5;
}
.pricing .plan h4 span {
    color: #3f8dbf
}
.pricing .plan h4 .amount {
    display: block;
    text-align: center;
}
.pricing .plan h4 .amount {
    font-size: 45px;
    padding-bottom: 10px;
}
.pricing .plan h4 .amount span {
    vertical-align: super;
    font-size: 20px;
    font-weight: 300;
}
.pricing .plan li:nth-child(2n) {
    background: #f5f5f5
}
.pricing .plan ul {
    margin: 0;
    list-style: none;
}
.pricing .plan ul li {
    background: #fff;
    padding: 15px 0;
}
.pricing .plan h3 {
    text-transform: uppercase
}
.pricing .select {
    background: #f5f5f5;
    padding: 18px 0;
}
/*-----------------------------------------------------------------------------------*/
/*  PORTFOLIO
/*-----------------------------------------------------------------------------------*/
.items {
    list-style: none
}
.items {
    margin: 0;
    *zoom: 1;
    padding: 0;
}
.items:before,
.items:after {
    display: table;
    content: "";
    line-height: 0;
}
.items:after {
    clear: both
}
.items li {
    float: left;
    min-height: 1px;
    position: relative;
}
.items.col4 {
    margin-left: -17px;
    margin-bottom: -17px;
}
.items.col4 li {
    width: 312px;
    margin-left: 17px;
    margin-bottom: 17px;
}
.items.col3 {
    margin-left: -17px;
    margin-bottom: -17px;
}
.items.col3 li {
    width: 312px;
    margin-left: 17px;
    margin-bottom: 17px;
}
.items li img {
    display: block;
    width: 100%;
}
.filter {
    padding: 0;
    margin-bottom: 20px;
}
.filter {
    list-style: none;
    margin: 0 0 30px 0;
}
.filter li {
    display: inline;
    font-weight: normal;
    font-size: 13px;
    text-transform: uppercase;
    line-height: 1;
    margin-right: 10px;
}
.filter li a {
    color: #9b9b9b;
    padding: 10px 12px;
    border: 2px solid transparent;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    letter-spacing: 1px;
}
.filter li a.active,
.filter li a:hover {
    border: 2px solid #9b9b9b
}
.black-wrapper .filter a:hover {
    color: #9b9b9b;
}
.isotope,
.isotope .item {
    -webkit-transition-duration: 0.8s;
    -moz-transition-duration: 0.8s;
    -ms-transition-duration: 0.8s;
    -o-transition-duration: 0.8s;
    transition-duration: 0.8s;
}
.isotope {
    -webkit-transition-property: height, width;
    -moz-transition-property: height, width;
    -ms-transition-property: height, width;
    -o-transition-property: height, width;
    transition-property: height, width;
}
.isotope .item {
    -webkit-transition-property: -webkit-transform, opacity;
    -moz-transition-property: -moz-transform, opacity;
    -ms-transition-property: -ms-transform, opacity;
    -o-transition-property: top, left, opacity;
    transition-property: transform, opacity;
}
.item-details {
    list-style: none;
    padding: 0;
    margin: 0;
}
.item-details li {
    margin-top: 9px;
    padding-top: 10px;
    border-top: 1px solid #dadada;
}
.item-details li:first-child {
    padding: 0;
    margin: 0;
    border: none;
}
.item-details li span {
    font-weight: normal;
    color: #616161;
    margin-right: 5px;
}
/*-----------------------------------------------------------------------------------*/
/*  TOOLTIP
/*-----------------------------------------------------------------------------------*/
.tooltip-inner {
    color: #fff;
    background-color: #3f8dbf;
    padding: 5px 12px;
}
.tooltip.top .tooltip-arrow,
.tooltip.top-left .tooltip-arrow,
.tooltip.top-right .tooltip-arrow {
    border-top-color: #3f8dbf
}
.tooltip.right .tooltip-arrow {
    border-right-color: #3f8dbf
}
.tooltip.left .tooltip-arrow {
    border-left-color: #3f8dbf
}
.tooltip.bottom .tooltip-arrow,
.tooltip.bottom-left .tooltip-arrow,
.tooltip.bottom-right .tooltip-arrow {
    border-bottom-color: #3f8dbf
}
/*-----------------------------------------------------------------------------------*/
/*  FEATURES
/*-----------------------------------------------------------------------------------*/
.font-icons {
    list-style: none;
    margin: 0;
    padding: 0;
}
.font-icons li {
    display: inline-block;
    font-size: 25px;
    margin-bottom: 10px;
    padding: 0 10px;
}
.alert .close {
    line-height: 28px
}
.retina-icons-code i {
    font-size: 18px
}
.retina-icons-code tr td:first-child,
.retina-icons-code tr th:first-child {
    text-align: center
}
.retina-icons-code code {
    color: #888;
    background: none;
    white-space: normal;
}
.table-bordered {
    border: 1px solid #dedede;
    border-left: none;
    background: #fff;
}
.table-bordered th,
.table-bordered td {
    border-left: 1px solid #dedede
}
.retina-icons-code td {
    vertical-align: middle !important
}
.table th,
.table td {
    border-top: 1px solid #dedede
}
.picons-list .font-icons li {
    font-size: 50px;
    margin-bottom: 40px;
    padding: 0 20px;
}
.picons-list .retina-icons-code i {
    font-size: 40px;
    line-height: 1;
    margin-top: 5px;
    display: block;
}
/*---------------*/
/*     Footer    */
/*---------------*/
.wrapper {
    background: transparent url(../images/footer.png) repeat;
    color: #FFF;
    padding: 5px;
    height: 226px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    /*background-color: #0e519f;*/
    /*border-top: 10px solid #4e9e83;*/
}
.wrapper hr {
    border: 0;
    border-bottom: 1px solid #b4d151;
    margin: 20px 0;
}
.wrapper .footer-cdtc {
    text-align: left;
    font-size: 19px;
    /*font-family: 'THSarabunNewRegular', sans-serif;*/
}
.wrapper .footer-cdtc .footer-logo {
    font-family: "thaisans_neuebold", sans-serif;
    font-size: 40px;
    font-weight: normal;
    margin-bottom: 35px;
}
.wrapper .footer-cdtc .footer-header {
    color: #fdf100;
    font-size: 25px;
}
.wrapper .footer-cdtc a {
    color: #ffffff;
}
.wrapper .footer-cdtc a:hover {
    color: #07caf5;
}
.wrapper .footer-cdtc .contact{
    padding-left: 0;
    font-size: 20px;
    margin-top: 15px
}
.wrapper .footer-cdtc .footer-social {
    color: #ffffff;
    background-color: #61a0d1;
    font-size: 32px;
    border-radius: 10px;
    padding: 17px;
    width: 135px;
}
.wrapper .footer-cdtc .footer-social i {
    color: #ffffff;
    margin-right: 10px;
}
.wrapper .footer-cdtc .download a img{
    margin: 12px 15px 0 0;
}
.wrapper .footer-left{
    color: #fff;
    font-size: 16px;
}
.wrapper .footer-left a{
    color: #fff;
    font-weight: bold;
}
.wrapper .footer-left a:hover{
    color: #ffffff;
    font-weight: bold;
}
.wrapper .footer-right{
    /*padding-left: 120px;*/
    font-size: 18px;
    line-height: 1.5em;
}
.wrapper .footer-right p{
    margin: 10px 0 0 0;
}
.wrapper .footer-right .large{
    font-size: 28px;
    padding: 0;
    line-height: 1.2em;
}
.footer-copy{
    color: #fff !important;
    background-color: #0e519f;
    padding: 4px;
}
.footer-copy a{
    color: #fff;
}
.footer-copy i{
    display: none;
}
.footer-copy .pull-left{
    margin-right: 80px;
}

/*-----------------------------------------------------------------------------------*/
/*  BOX LAYOUT
/*-----------------------------------------------------------------------------------*/
@media (min-width: 1270px) {
    .box-layout {
        background: transparent url(../images/background/bg1.jpg) repeat fixed;
        padding: 0;
    }
    .box-layout .body-wrapper {
        position: relative;
        width: 1270px;
        margin: 0 auto;
        -webkit-box-shadow: 0 0 3px 0 rgba(0,0,0,0.17);
        -moz-box-shadow: 0 0 3px 0 rgba(0,0,0,0.17);
        box-shadow: 0 0 3px 0 rgba(0,0,0,0.17);
    }
    .box-layout .body-wrapper .navbar-header {
        width: 1270px;
    }
    .box-layout .navbar.basic.fixed {
        left: inherit;
        top: 0;
    }
}
/*-----------------------------------------------------------------------------------*/
/*  RESPONSIVE
/*-----------------------------------------------------------------------------------*/
@media (min-width: 1200px) {
    .container {
        padding-right: 0;
        padding-left: 0;
    }
    .navbar .container {
        padding-right: 0;
        padding-left: 0;
    }
    .latest-blog .post {
        width: 570px
    }
    .items.col4 {
        margin-left: -18px;
        margin-bottom: -18px;
    }
    .items.col4 li {
        width: 279px;
        margin-left: 18px;
        margin-bottom: 18px;
    }
    .items.col3 {
        margin-left: -21px;
        margin-bottom: -21px;
    }
    .items.col3 li {
        width: 376px;
        margin-left: 21px;
        margin-bottom: 21px;
    }
    .grid-blog.col3 {
        margin-left: -24px;
        margin-bottom: -24px;
    }
    .grid-blog.col3 .post {
        width: 374px;
        margin-left: 24px;
        margin-bottom: 24px;
    }
    .row .grid-blog.col2 {
        margin-left: -30px;
        margin-bottom: -30px;
    }
    .row .grid-blog.col2 .post {
        width: 370px;
        margin-left: 30px;
        margin-bottom: 30px;
    }
    .sidebar {
        padding-left: 70px !important /*Edit padding-left: 35px !important*/
    }
    /*.carousel-th .item { !*Add*!
        margin: 0 22px 50px 22px;
    }*/
    /*.header-japan { !*Add*!
        position: absolute;
        top: 0;
        left: 0px;
        width: 558px;
    }*/

    /*-------------*/
    /*  Page Home  */
    /*-------------*/
    /*.home .news-hilight-area .cover-img-news-hilight {
        width: 320px;
        height: auto;
    }
    .home .news-hilight-area .cover-img-news-hilight img {
        width: 100%;
        max-height: 200px;
    }*/
    .home .cover-img {
        width: 200px;
        height: 320px;
    }
    .home figure img {
        width: 100%;
        max-height: 340px;
    }

    /*-------------*/
    /*   Sidebar   */
    /*-------------*/
    .sidebar .cover-img {
        width: 200px;
    }
    .sidebar figure img {
        width: 100%;
        max-height: 320px;
    }

    /*----------------*/
    /*  slider-japan  */
    /*----------------*/
    .slider-japan .caption-opacity {
        background: rgba(255,255,255,0.6);
        width: 60%;
        height: 280px;
    }

    /*------------*/
    /*  sub-menu  */
    /*------------*/
    .sub-menu ul li {
        font-size: 35px; /*media*/
    }
    .sub-menu li.inactive {
        padding: 10px 0 10px 30px; /*media*/
    }
    .sub-menu li.active {
        padding: 10px; /*media*/
    }
    .sub-menu-full ul li {
        font-size: 40px; /*media*/
    }
    .sub-menu-full li.inactive {
        padding: 10px 30px; /*media*/
    }
.sub-menu li.active::after {
    /* content: ''; */
    /* display: block; */
    /* position: absolute; */
    /* width: 110%; */
    /* height: 100%; */
    /* top: 0; */
    /* left: 0px; */
    /* border: solid 2px #0e519f; */
    /* box-sizing: initial;
    border-right: 0;
    transform-origin: bottom left;
    -ms-transform: skew(-30deg, 0deg);
    -webkit-transform: skew(-30deg, 0deg);
    transform: skew(-30deg, 0deg);;*/
    /* padding: 10px; */
}
    /*----------------*/
    /*   sort-japan   */
    /*----------------*/
    .tabs-top.tabs-sort .text-sort { /*Add*/
        float: left;
    }
    .tabs-top.tabs-sort .etabs { /*Add*/
        margin: 0 0 20px 0;
    }
    .tabs-top.tabs-sort .etabs li:first-of-type { /*Add*/
        border: 0;
    }
    .tabs-top.tabs-sort .etabs li { /*Add*/
        border-left: 2px solid #979797;
    }

    /*---------------*/
    /*  Page Detail  */
    /*---------------*/
    /*.details-area .sub-details2 {
        padding-top: 100px;
    }*/

    /*----------------------*/
    /*  Page Show All Grid  */
    /*----------------------*/
    .show_all .cover-img,
    .myshelf-grid .cover-img {
        width: 200px;
        height: 300px;
    }
    .show_all figure img,
    .myshelf-grid figure img {
        width: 100%;
        max-height: 400px;
    }

    /*----------------------*/
    /*  Page Show All List  */
    /*----------------------*/
    .list-item {
        margin: 0 50px; /*media*/
    }
    .list-item .list-img {
        padding: 0 40px; /*media*/
    }

    /*-------------*/
    /*  Mask iPad  */
    /*-------------*/
    .mask-ipad.vertical{
        margin-top: 42%;
        margin-left: 31%;
    }
    .mask-ipad.horizontal{
        margin-top: 11%;
        margin-left: 31%;
    }
    .mask-ipad-list.vertical{
        top: 27% ;
        left: 37%;
    }
    .mask-ipad-list.horizontal{
        top: 9% ;
        left: 37%;
    }
}
@media only screen and (min-device-width:768px) and (max-device-width:1024px) and (orientation:landscape) {
    .navbar.basic.fixed .navbar-brand img {
        width: auto
    }
    .header-japan { /*Add*/
        position: absolute;
        top: 0;
        left: -110px;
        width: 384px;
    }
    .select-cat,
    .select-cat select { /*Add*/
        width: 223px !important;
    }

    /*-----------------*/
    /*  Item All List  */
    /*-----------------*/
    .list-item {
        margin: 0 30px; /*media*/
    }
}
@media (min-width: 993px) and (max-width: 1199px) {/*Add*/
    .header-japan {
        position: absolute;
        top: 0;
        left: -105px;
        width: 384px;
    }
    .slider-japan .caption-opacity {
        background: rgba(255,255,255,0.6);
        width: 60%;
        height: 250px;
    }

    /*-------------*/
    /*  Page Home  */
    /*-------------*/
    .home .cover-img {
        width: 180px;
        height: 270px;
    }
    .home figure img {
        width: 100%;
        max-height: 270px;
    }

    /*-------------*/
    /*   Sidebar   */
    /*-------------*/
    .sidebar .cover-img {
        width: 180px;
    }
    .sidebar figure img {
        width: 100%;
        max-height: 270px;
    }

    /*----------------------*/
    /*  Page Show All Grid  */
    /*----------------------*/
    .show_all .cover-img,
    .myshelf-grid .cover-img {
        width: 210px;
        height: 320px;
    }
    .show_all figure img,
    .myshelf-grid figure img {
        width: 100%;
        max-height: 320px;
    }

    /*----------------------*/
    /*  Page Show All List  */
    /*----------------------*/
    .list-item .list-img {
        padding: 0 30px; /*media*/
    }

    /*-------------*/
    /*  Mask iPad  */
    /*-------------*/
    .mask-ipad.vertical{
        margin-top: 38%;
        margin-left: 29%;
    }
    .mask-ipad.horizontal{
        margin-top: 7%;
        margin-left: 29%;
    }
    .mask-ipad-list.vertical{
        top: 31% ;
        left: 37%;
    }
    .mask-ipad-list.horizontal{
        top: 9%;
        left: 37%;
    }
}
@media (min-width: 993px) {
    .navbar .dropdown-submenu > a:after {
        display: none
    }
    .navbar .dropdown-submenu > .dropdown-menu:not(.yamm-dropdown-menu) {
        margin-top: 0
    }
    .dropdown-submenu {
        position: relative
    }
    .dropdown-submenu>.dropdown-menu:not(.yamm-dropdown-menu) {
        top: 0;
        left: 100%;
        margin-top: -6px;
        margin-left: -1px;
        border-left: 1px solid rgba(0, 0, 0, 0.2) !important;
    }
    .dropdown-submenu:hover>.dropdown-menu:not(.yamm-dropdown-menu) {
        display: block
    }
    .dropdown-submenu>a:after {
        display: block;
        content: " ";
        float: right;
        width: 0;
        height: 0;
        margin-top: 5px;
        margin-right: -10px;
    }
    .dropdown-submenu:hover>a:after {

    }
    .dropdown-submenu.pull-left {
        float: none
    }
    .dropdown-submenu.pull-left>.dropdown-menu:not(.yamm-dropdown-menu) {
        left: -100%;
        margin-left: 10px;
    }
    .open > .dropdown-menu,
    .open >  .dropdown-menu > .dropdown-submenu > .dropdown-menu {
        animation-name: slidenavAnimation;
        animation-duration: .3s;
        animation-iteration-count: 1;
        animation-timing-function: ease;
        animation-fill-mode: forwards;
        -webkit-animation-name: slidenavAnimation;
        -webkit-animation-duration: .3s;
        -webkit-animation-iteration-count: 1;
        -webkit-animation-timing-function: ease;
        -webkit-animation-fill-mode: forwards;
        -moz-animation-name: slidenavAnimation;
        -moz-animation-duration: .3s;
        -moz-animation-iteration-count: 1;
        -moz-animation-timing-function: ease;
        -moz-animation-fill-mode: forwards;
    }
    @keyframes slidenavAnimation {
        from {
            opacity: 0
        }
        to {
            opacity: 1
        }
    }
    @-webkit-keyframes slidenavAnimation {
        from {
            opacity: 0
        }
        to {
            opacity: 1
        }
    }
    /*----------------*/
    /*   sort-japan   */
    /*----------------*/
    .tabs-top.tabs-sort .text-sort { /*Add*/
        float: left;
    }
    .tabs-top.tabs-sort .etabs { /*Add*/
        margin: 0 0 20px 0;
    }
    .tabs-top.tabs-sort .etabs li:first-of-type { /*Add*/
        border: 0;
    }
    .tabs-top.tabs-sort .etabs li { /*Add*/
        border-left: 2px solid #979797;
    }
    /*------------*/
    /*  sub-menu  */
    /*------------*/
    .sub-menu ul li {
        font-size: 25px; /*media*/
    }
    .sub-menu li.inactive {
        padding: 10px 0 10px 0px; /*media*/
    }
    .sub-menu li.active {
        padding: 10px; /*media*/
    }
    .sub-menu-full ul li {
        font-size: 40px; /*media*/
    }
    .sub-menu-full li.inactive {
        padding: 10px 30px; /*media*/
    }
}
@media (max-width: 992px) {
    .navbar.black .dropdown-menu,
    .navbar.black .dropdown-menu:not(.yamm-dropdown-menu) li a:hover,
    .navbar.black .dropdown-menu:not(.yamm-dropdown-menu) li a.active {
        background: none;
    }
    .btn.responsive-menu {
        display: block
    }
    .yamm .nav,
    .yamm .dropup,
    .yamm .dropdown,
    .yamm .collapse {
        position: relative
    }
    .yamm .dropdown-menu {
        position: relative;
        left: inherit;
        top: inherit;
        float: none;
        width: auto;
        display: block !important;
        background: none;
    }
    .navbar-nav > li > a{
        color: #fff !important;
    }
    .navbar-nav > li > a,
    .navbar-nav > li:first-child > a,
    .navbar .dropdown-menu:not(.yamm-dropdown-menu) li {
        border: none
    }
    .navbar-nav > li > a,
    .navbar .dropdown-menu:not(.yamm-dropdown-menu) li a {
        border-bottom: 1px solid rgba(0, 0, 0, 0.2) !important
    }
    .navbar .nav .open > a,
    .navbar .nav .open > a:hover,
    .navbar .nav .open > a:focus {
        background: none;
        border: none;
    }
    .navbar-nav > li > a,
    .navbar .dropdown-menu:not(.yamm-dropdown-menu) li a,
    .navbar .dropdown-menu:not(.yamm-dropdown-menu) li a:hover,
    .navbar .dropdown-menu:not(.yamm-dropdown-menu) li a.active {
        padding: 12px 0 !important
    }
    .navbar-nav > li > a {
        color: #3f8dbf
    }
    .navbar .dropdown-menu:not(.yamm-dropdown-menu) li a {
        color: #cacaca
    }
    .navbar .dropdown-menu:not(.yamm-dropdown-menu) {
        padding-left: 20px
    }
    .navbar .dropdown-menu:not(.yamm-dropdown-menu) a {
        text-transform: none !important;
        font-size: 13px !important;
    }
    .yamm .yamm-content {
        padding: 12px 0;
        font-size: 13px;
    }
    .navbar.basic .btn.responsive-menu {
        margin: 50px 0
    }
    .navbar-header {
        float: left;
        width: 100%;
    }
    .navbar-header:after {
        content: '';
        display: block;
        height: 0;
        clear: both;
        visibility: hidden;
    }
    .navbar.basic.default,
    .navbar.basic.fixed {
        position: relative
    }
    .offset {
        display: none
    }
    .navbar.basic .container {
        width: 100%;
        padding: 0;
    }
    .navbar.basic .navbar-collapse {
        width: 100%;
        float: none !important;
        margin: 0;
    }
    .navbar.basic .navbar-nav {
        width: 720px;
        margin: 0 auto;
        padding: 0;
    }
    .navbar.basic .basic-wrapper {
        width: 720px;
        margin: 0 auto;
        display: block;
    }
    .navbar.basic.default .navbar-brand img,
    .navbar.basic.fixed .navbar-brand img {
        /*height: auto;*/
        max-width: 85% !important; /*Add*/
    }
    .navbar.basic .navbar-brand {
        padding: 15px 0 !important; /*Edit padding-top: 20px !important;*/
    }
    .onepage .navbar.basic.default {
        position: absolute;
    }
    .onepage .navbar.basic.fixed {
        position: fixed;
    }
    .onepage .offset {
        display: block;
    }
    /*    .header-japan { !*Add*!
            position: absolute;
            top: 0;
            left: -43px;
            width: 384px;
        }*/
    .slider-japan .caption-opacity {
        background: rgba(255,255,255,0.6);
        width: 60%;
        height: 190px;
    }

    /*---------------*/
    /*  Header       */
    /*---------------*/
    .header-area {
        width: 90% !important;
    }
    /*------------*/
    /*  sub-menu  */
    /*------------*/
    .sub-menu ul li {
        font-size: 40px; /*media*/
    }
    .sub-menu li.inactive {
        padding: 10px 30px; /*media*/
    }
    .sub-menu li.active {
        padding: 10px 30px; /*media*/
    }
    .sub-menu-full ul li {
        font-size: 40px; /*media*/
    }
    .sub-menu-full li.inactive {
        padding: 10px 30px; /*media*/
    }

    /*----------------*/
    /*   sort-japan   */
    /*----------------*/
    .tabs-top.tabs-sort .text-sort { /*Add*/
        float: left;
    }
    .tabs-top.tabs-sort .etabs { /*Add*/
        margin: 0 0 20px 0;
    }
    .tabs-top.tabs-sort .etabs li:first-of-type { /*Add*/
        border: 0;
    }
    .tabs-top.tabs-sort .etabs li { /*Add*/
        border-left: 2px solid #979797;
    }

    /*-------------*/
    /*  Mask iPad  */
    /*-------------*/
    .mask-ipad.vertical{
        margin-top: 27%;
        margin-left: 22%;
    }
    .mask-ipad.horizontal{
        margin-top: 1%;
        margin-left: 22%;
    }
    .mask-ipad-list.vertical{
        margin-top: 30%;
        margin-left: 24%;
    }
    .mask-ipad-list.horizontal{
        margin-top: 1%;
        margin-left: 24%;
    }
}
@media (max-width: 969px) {
    .yamm .dropdown.yamm-fullwidth .dropdown-menu {
        width: 100%
    }
}
@media (min-width: 768px) and (max-width: 979px) {
    .navbar .container,
    .container {
        padding-right: 15px;
        padding-left: 15px;
    }
    .navbar-nav > li > a {
        padding: 15px 18px
    }
    .navbar.basic .navbar-nav > li {
        margin-left: 10px
    }
    .navbar.basic .navbar-nav > li > a {
        padding: 30px 5px
    }
    .latest-blog {
        margin: 0 0 -50px 0
    }
    .latest-blog .post {
        float: none;
        width: 100%;
        margin-bottom: 50px;
        margin-right: 0;
    }
    .tabs-top .etabs {
        margin-bottom: -8px
    }
    .tabs-top .tab {
        margin-bottom: 8px
    }
    .items.col4 {
        margin-left: -16px;
        margin-bottom: -16px;
    }
    .items.col4 li {
        width: 352px;
        margin-left: 16px;
        margin-bottom: 16px;
    }
    .items.col3 {
        margin-left: -16px;
        margin-bottom: -16px;
    }
    .items.col3 li {
        width: 352px;
        margin-left: 16px;
        margin-bottom: 16px;
    }
    .grid-blog.col3 {
        margin-left: -16px;
        margin-bottom: -16px;
    }
    .grid-blog.col3 .post {
        width: 352px;
        margin-left: 16px;
        margin-bottom: 16px;
    }
    .row .grid-blog.col2 {
        margin-left: 0;
        margin-bottom: -30px;
    }
    .row .grid-blog.col2 .post {
        width: 100%;
        float: none;
        margin-left: 0;
        margin-bottom: 30px;
    }
    .classic-blog .post {
        margin-bottom: 30px
    }
    .header-japan { /*Add*/
        position: absolute;
        top: 0;
        left: -43px;
        width: 384px;
    }
    .slider-japan .caption-opacity { /*Add*/
        background: rgba(255,255,255,0.6);
        width: 60%;
        height: 190px;
    }
    .select-cat,
    .select-cat select { /*Add*/
        width: 160px !important;
    }

    /*-------------*/
    /*  Page Home  */
    /*-------------*/
    .home .cover-img {
        width: 124px;
        height: 190px;
    }
    .home figure img {
        width: 100%;
        max-height: 190px;
    }

    /*-------------*/
    /*   Sidebar   */
    /*-------------*/
    .sidebar .cover-img {
        width: 124px;
    }
    .sidebar figure img {
        width: 100%;
        max-height: 190px;
    }

    /*----------------------*/
    /*  Page Show All Grid  */
    /*----------------------*/
    .show_all .cover-img,
    .myshelf-grid .cover-img {
        width: 150px;
        height: 230px;
    }
    .show_all figure img,
    .myshelf-grid figure img {
        width: 100%;
        max-height: 230px;
    }

    /*----------------------*/
    /*  Page Show All List  */
    /*----------------------*/
    .list-item .list-img { /*Add*/
        padding: 0 30px 0 0; /*media*/
    }
}
@media (max-width: 768px) {
    .header-area {
        width: 98% !important;
    }
    .logoNameTH {
        font-size: 24px !important;
    }
    .logoeLibrary {
        font-size: 22px !important;
    }    
    .logoNameEN {
        font-size: 16px !important;
        letter-spacing: 4px;
        margin-bottom: 2px;
    }
    .sub-menu li.inactive {
       
        padding: 6px 0px;
    }
    .sub-menu li.active {
        font-family: 'thaisans_neueregular',sans-serif;
        /* border: #0e519f solid 4px; */
        border-left: 0;
        color: #0e519f;
        top: -15px;
        width: auto;
    }
    .sub-menu .img-responsive {
        display: block;
        /*max-width: 180px;*/
        height: auto;
    }
    .navbar .container,
    .container {
        padding-right: 20px;
        padding-left: 20px;
    }
    [class*="col-"] {
        margin-bottom: 30px
    }
    #scrollUp {
        display: none !important
    }
    footer .inner {
        padding-bottom: 40px
    }
    .sub-footer p.pull-left,
    .sub-footer ul.pull-right {
        float: none !important;
        text-align: center;
    }
    .sub-footer p {
        margin-bottom: 20px
    }
    .footer-menu li {
        padding: 0 5px
    }
    img {
        max-width: 100%;
        height: auto;
    }
    .tp-bullets {
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)" !important;
        -moz-opacity: 0 !important;
        -khtml-opacity: 0 !important;
        opacity: 0 !important;
    }
    .tp-caption .btn-large {
        padding: 6px 14px 7px 14px !important;
        font-size: 11px;
    }
    .thin {
        width: 100%
    }
    #testimonials {
        width: 100%
    }
    #testimonials .tab {
        display: inline-block !important
    }
    .sidebar {
        margin-top: 70px;
        padding-left: 15px !important;
    }
    .navbar.basic .navbar-nav {
        width: 100%;
        margin: 0 auto;
        padding-left: 20px;
        padding-right: 20px;
    }
    .navbar.basic .basic-wrapper {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        margin: 0 auto;
        display: block;
    }
    .navbar.basic .navbar-nav > li {
        margin-left: 0
    }
    .yamm .yamm-content.row {
        margin-bottom: -30px
    }
    .about-author .author-image {
        display: none
    }
    .tab {
        display: block !important;
        margin: 0 !important;
    }
    .tabs-top .tab {
        margin-bottom: 8px !important
    }
    .tabs-top .etabs {
        margin-bottom: -8px
    }
    .services .etabs,
    .services.tabs .panel-container {
        width: 100%
    }
    .services,
    .services .etabs {
        text-align: center
    }
    .services .tab a {
        display: inline
    }
    .services  .tab {
        margin: 0;
        padding: 0;
        display: block;
        zoom: 1;
        border: none;
        position: relative;
    }
    .services  .tab a {
        padding: 9px 20px;
        display: block;
        color: #9a9a9a;
        font-size: 13px;
        font-weight: normal;
        border: 1px solid #b5b5b5;
        text-transform: uppercase;
        margin: 0 0 8px 0;
    }
    .services .tab a:hover,
    .services .tab.active a {
        border-color: #3f8dbf
    }
    .services .tab h4 {
        color: #9a9a9a;
        -webkit-transition: all 200ms ease-in;
        -o-transition: all 200ms ease-in;
        -moz-transition: all 200ms ease-in;
    }
    .services .tab.active a {
        background-color: #fff
    }
    .services .tab:hover h4,
    .services .tab.active h4 {
        color: #3f8dbf
    }
    .services .tab h4 {
        margin: 0;
        display: inline;
        font-size: 14px;
    }
    .services .tab .icon {
        display: none
    }
    .services.tab-container .panel-container p {
        margin: 0;
        padding-bottom: 10px;
    }
    .services .tab .pin,
    .services .tab .root:before,
    .services .tab .root:after {
        display: none
    }
    .steps {
        width: 100%
    }
    .timeline-border {
        display: none
    }
    .step {
        width: 100%;
        float: none;
        text-align: center;
        margin: 0 0 30px;
        padding: 0;
        position: relative;
    }
    .step.even {
        float: none;
        text-align: center;
        padding: 0;
    }
    .step .icon-border:before,
    .step .icon-border:after {
        display: none
    }
    .col-services,
    .col-services-2 {
        margin: 0 !important
    }
    .latest-blog {
        margin: 0 0 -50px 0
    }
    .latest-blog .post {
        float: none;
        width: 100%;
        margin-bottom: 50px;
        margin-right: 0;
    }
    .items,
    .grid-blog.col3,
    .row .grid-blog.col2 {
        margin-left: 0 !important;
        margin-bottom: -30px !important;
    }
    .items li,
    .grid-blog.col3 .post,
    .row .grid-blog.col2 .post {
        width: 100% !important;
        float: none !important;
        margin-left: 0 !important;
        margin-bottom: 30px !important;
    }
    .filter {
        margin: 0;
        text-align: center;
    }
    .filter li {
        margin-bottom: 30px;
        display: inline-block;
    }
    .classic-blog .post {
        margin-bottom: 30px
    }
    .page-title h1,
    .page-title .navigation {
        float: none !important
    }
    .page-title .navigation {
        margin-top: 10px
    }
    .navigation a {
        padding: 4px 9px 3px
    }
    [class*="col-"].lp30 {
        padding-left: 15px
    }
    #comments .user {
        /*display: none*/ /*Edit*/
        float: none; /*Add*/
    }
    #comments ul.children {
        padding: 0 0 0 20px
    }
    #comments .arrow-box {
        margin-left: 0
    }
    .panel-title {
        line-height: 18px
    }
    .navbar.basic .navbar-nav {
        width: 100%;
        margin: 0 auto;
        padding-left: 20px;
        padding-right: 20px;
        margin-bottom: 20px;
    }
    .navbar.basic .basic-wrapper {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        margin: 0 auto;
        display: block;
    }
    .navbar.basic .navbar-nav > li {
        margin-left: 0
    }
    .yamm .yamm-content.row {
        margin-bottom: -30px
    }
    .about-author .author-image {
        display: none
    }
    .onepage .navbar.basic .navbar-collapse .navbar-nav {
        max-height: 230px !important;
        overflow-y: scroll;
    }

    /*-------------*/
    /*  Page Home  */
    /*-------------*/
    .home .cover-img {
        width: 140px;
        height: 210px;
    }
    .home figure img {
        width: 100%;
        max-height: 210px;
    }
    .see-all { /*Add*/
        font-size: 12px;
        margin: auto -7px auto auto;
    }
    .header-japan { /*Add*/
        position: absolute;
        top: 0;
        left: -48px;
        width: 236px;
    }

    /*-------------*/
    /*   Sidebar   */
    /*-------------*/
    .sidebar .cover-img {
        width: 140px;
    }
    .sidebar figure img {
        width: 100%;
        max-height: 210px;
    }
    .sidebox .item {
        width: 44% !important;
    }

    /*----------------*/
    /*  slider-japan  */
    /*----------------*/
    .slider-japan .caption-opacity {
        background: rgba(255,255,255,0.6);
        width: 60%;
        height: 80px;
    }

    /*------------*/
    /*  sub-menu  */
    /*------------*/
    .sub-menu ul li {
        font-size: 25px; /*media*/
    }
    .sub-menu ul {
    list-style: none;
    font-size: 0;
    padding: 0 16px;
    }
    .sub-menu li.active::after {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: -1px;
    left: -9px;
    /* border-bottom: solid 2px #0e519f; */
    box-sizing: initial;
    border-right: 0;
    transform-origin: bottom left;
    -ms-transform: skew(-30deg, 0deg);
    -webkit-transform: skew(-30deg, 0deg);
    transform: skew(-30deg, 0deg);
}
    .sub-menu li.inactive {
        padding: 6px 0px; /*media*/
    }
    .sub-menu li.active {
        padding: 12px 25px 11px 25px !important; /*media*/
        top: -20px !important;
    }
    .sub-menu-full ul li {
        font-size: 20px; /*media*/
    }
    .sub-menu-full li.inactive {
        padding: 6px 25px; /*media*/
    }

    /*----------------*/
    /*   sort-japan   */
    /*----------------*/
    .tabs-top.tabs-sort .text-sort {
        float: none;
        font-size: 18px;
    }
    .tabs-top.tabs-sort .etabs {
        margin: 10px 0 10px 0;
    }
    .tabs-top.tabs-sort .etabs li,
    .tabs-top.tabs-sort .etabs li:first-of-type { /*Add*/
        padding: 4px;
        border: 2px solid #979797;
    }
    .tabs-top.tabs-sort .tab a {
        font-size: 15px;
    }

    .tabs-top.tabs-sort.all {
        margin: 0 !important;
    }

    /*---------------*/
    /*  Page Detail  */
    /*---------------*/
    .details-area .sub-details1 {
        line-height: 22px !important;
    }
    .details-area .sub-details1 span {
        margin-right: 10px !important;
    }
    .details-area .sub-details2 {
        line-height: 25px !important;
    }
    .details-area .sub-details2 .first {
        border: 0 !important;
    }
    .details-area .sub-details2 .col-sm-1 {
        display: none;
    }
    .details-area .sub-details3 {
        line-height: 40px !important;
    }
    /*แก้ปัญหาเเฉพาะหน้า*/
    .details-area .sub-details4 table th,
    .details-area .sub-details4 table td {
        font-size: 9px;
    }

    /*----------------------*/
    /*  Page Show All Grid  */
    /*----------------------*/
    .show_all .cover-img
    .myshelf-grid .cover-img {
        width: 140px;
        height: 210px;
    }
    .show_all figure img,
    .myshelf-grid figure img {
        width: 100%;
        max-height: 210px;
    }

    /*----------------------*/
    /*  Page Show All List  */
    /*----------------------*/
    .list-item .list-img {
        padding: 0 75px;
        border: 0 !important;
    }
    .list-item .list-detail,
    .list-item .list-detail .title span,
    .list-item .list-detail .author span,
    .list-item .list-detail .publisher span,
    .list-item .list-detail .published-date span,
    .list-item .list-detail .status span,
    .list-item .list-detail .status .borrow,
    .list-item .list-detail .status .borrow span,
    .list-item .list-detail .status .return {
        padding-left: 20px !important;
        font-size: 20px !important;
    }

    /*-----------*/
    /*   Search  */
    /*-----------*/
    .adv-search .form-group div[class*="col-"] {
        margin-bottom: 0;
    }

    /*-----------*/
    /*   Footer  */
    /*-----------*/
    .wrapper {
        /*min-height: 1025px;*/
        background-image: none;
        background-color: #0e519f;
    }
    .wrapper .footer-right {
        padding-left: 15px;
    }
}
@media (max-width: 414px) { /*Add*/
    .revolution {
        display: none;
    }
    .sub-menu .img-responsive {
        display: block;
        max-width: 189px;
        height: auto;
        width: 99%;
    }
    .sub-menu ul li {
    font-size: 20px;
    }
    .sub-menu.detail .img-responsive {
        display: block;
        max-width: 148px;
        height: auto;
    }
    .divide30{
        display: none;
    }
    .navbar .dropdown-menu:not(.yamm-dropdown-menu) a {
    text-transform: none !important;
    font-size: 18px !important;
    }
    .header-bar {
    font-size: 22px;
   
    }
    .sub-menu.detail li.active::after {
   
        top: -1px;
        left: -9px;

    }
    .sub-menu li.inactive {
        padding: 18px 0px;
    }
    .navbar .dropdown-menu:not(.yamm-dropdown-menu) li a, .navbar .dropdown-menu:not(.yamm-dropdown-menu) li a:visited {
    padding: 13px;
    line-height: 1;
    color: #999;
    font-size: 16px;
    text-transform: uppercase;
    text-align: left;
    font-weight: normal;
    }
    .sub-menu li.active {
        padding: 6px 0!important;
        top: -26px !important
    }
    .header-area .menu-header .dropdown-menu {
        top: 35%;
        background-color: 0;
        padding: 9px 0;
    }
    .header-area .menu-header li a:visited {
        /* color: #ffffff !important; */
        color: #444!important;
    }
    /*---------------*/
    /*  Header       */
    /*---------------*/
    .header-area .search-area {
        width: 98% !important;
    }
    /*-------------*/
    /*  Page Home  */
    /*-------------*/
    .home .cover-img {
        width: 115px;
        height: 177px;
    }
    .home figure img {
        width: 100%;
        max-height: 177px;
    }

    /*----------------------*/
    /*  Page Show All Grid  */
    /*----------------------*/
    .show_all .cover-img,
    .myshelf-grid .cover-img {
        width: 115px;
        height: 177px;
    }
    .show_all figure img,
    .myshelf-grid figure img {
        width: 100%;
        max-height: 177px;
    }

    .navbar.basic .navbar-brand img { /*Add Logo Japan*/
        max-width: 85% !important;
    }
    .wrapper{
        height: auto;
    }
    /*-------------*/
    /*  Mask iPad  */
    /*-------------*/
    .mask-ipad-list.vertical{
        margin-top: 20% ;
        margin-left: 17%;
    }
    .mask-ipad-list.horizontal{
        margin-top: 2%;
        margin-left: 17%;
    }
}

/*-----------------------------------------------------------------------------------*/
/*  Addition
/*-----------------------------------------------------------------------------------*/
.left {
    text-align: left;
}
.right {
    text-align: right;
}

/*---------------*/
/*  Header       */
/*---------------*/
.logo-area {
    display: block;
    width: 50%;
    float: left;
}
.header-area {
    display: block;
    width: 50%;
    float: left;
}
.header-area .menu-header {
    width: 100%;
}
.header-area .menu-header .dropdown-menu {
    top: 35%;
    /* background-color: #ccc; */
    padding: 10px 0;
}
.header-area .menu-header > ul {
    float: right;
}
.header-area .menu-header li a {
    /*font-family: 'akrobat-extrabold',sans-serif;*/
    font-size: 20px;
    cursor: pointer;
    font-weight: normal;
    text-transform: uppercase;
    color: #444 !important;
    /*padding: 29px 14px;
    padding-left: 20px !important; !*Add*!*/
}
.header-area .menu-header li a:hover {
    color: #4e9e83 !important;
}
.header-area .menu-header li a:visited { /*Bug*/
    /*color: #ffffff !important;*/
      /*color: #4e9e83 !important;*/
}
.header-area .menu-header .active::before {
    /*content: '';
    display: block;
    position: absolute;
    left: -5px;
    top: 50%;
    margin-top: -12px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #0e519f;*/
}
.header-area .search-area {
    display: block;
    width: 320px;
    position: relative;
}
.header-area .search-area .searchform input.txt-search {
    /*font-family: 'THSarabunNewBold', sans-serif;*/
    padding: 0 15px;
    font-size: 18px;
    color: #000;
    /*width: 300px;*/
    border: none;
    border-radius: 2px;
    background: #cbcbcb;
}
.header-area .search-area .searchform .submit-search {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    padding: 7px 9px;
    color: #6b7b84;
    border: none;
    border-radius: 0 2px 2px 0;
    font-size: 24px;
    /*background: #e0e0e0;*/
    color: #fff;
    z-index:99;
}
.header-area .search-area .searchform .submit-search-area {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    border: none;
    font-size: 24px;
    background: transparent;
    z-index: 2;
    background: #cbcbcb none repeat scroll 0 0;
}
.sub-menu ul {
    list-style: none;
    font-size: 0;
    padding: 0;
}
.sub-menu ul li {
    display: inline-block;
    position: relative;
    /*font-size: 40px; !*media*!*/
}
.sub-menu li.inactive {
    font-family: 'thaisans_neueregular',sans-serif;
    text-transform: uppercase;
    font-weight: normal;
    /*background: #0e519f;*/
    /*background: -webkit-linear-gradient(left, #07caf5 1%, #028bcf 10%, #0e519f); /* For Safari 5.1 to 6.0 */
    /*background: -o-linear-gradient(right, #07caf5 1%, #028bcf 10%, #0e519f); /* For Opera 11.1 to 12.0 */
    /*background: -moz-linear-gradient(right, #07caf5 1%, #028bcf 10%, #0e519f); /* For Firefox 3.6 to 15 */
    /*background: linear-gradient(to right, #07caf5 1%, #028bcf 10%, #0e519f); /* Standard syntax */
    color: #272520;
    border: solid 0px;
    /*border-image: linear-gradient(to right, #07caf5 1%, #028bcf 10%, #0e519f);*/
    border-left: 0px;
    border-right: 0px;
    /*margin-right: 45px;*/
}
.sub-menu li.inactive::after {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: -4px;
    left: 0;
    z-index: -1;

    /*background: #0e519f;*/
    /*border: solid 4px #0e519f;*/
    
    box-sizing: initial;

    transform-origin: bottom left;
    -ms-transform: skew(-30deg, 0deg);
    -webkit-transform: skew(-30deg, 0deg);
    transform: skew(-30deg, 0deg);
}
.sub-menu li.inactive a {
    color: #272520;
}
.sub-menu li.inactive a:hover {
    color: #272520;
}
.sub-menu li.active {
    font-family: 'thaisans_neueregular',sans-serif;
    border: #0e519f solid 2px;
    /* border-left: 0; */
    color: #0e519f;
    top: -25px;
    padding: 11px 20px 12px 20px;
    margin-left: 0px;
}
.sub-menu.detail p.titleActive {
    color: #0e519f;
}
.sub-menu.detail li.active {
    padding: 9px 20px;
}
.sub-menu li.active{
   text-transform:lowercase;
}
.sub-menu li.active:first-letter , .sub-menu.detail  li.active p:first-letter{
    text-transform:uppercase;
}
.sub-menu.detail li.active ,.sub-menu.detail li.active:first-letter{
    color: #999;
    font-weight: bold;
}
p.titleActive  {
    margin: 0;
    display: inline-block;
}
.sub-menu-full {
    width: 100%;
    background: #ffffff;
}
.sub-menu-full ul {
    list-style: none;
    font-size: 0;
    padding: 0;
    margin: 0;
    text-align: center;
}
.sub-menu-full ul li {
    display: inline-block;
    /*font-size: 40px;*/ /*media*/
}
.sub-menu-full li.inactive {
    /*font-family: 'THSarabunNewBold',sans-serif;*/
    background: #8f81a1;
    color: #FFF;
    border: #8f81a1 solid 4px;
    /*padding: 10px 30px;*/ /*media*/
}

/*---------------*/
/*    Content    */
/*---------------*/
.section-title {
    height: 40px;
}
.header-bar {
    color: #0e519f;
    font-family: 'thaisans_neueregular',sans-serif;
    font-size: 30px;
    /*border-top: 1px solid #eeeeee;*/
    padding: 22px 0 0 0px;
    height: 65px;
}
.header-bar{
     border-bottom: 1px solid #999;
}
.header-bar.books{
    /*background: url("../images/background/icon-head-books.png") no-repeat top left;*/
    /*border-bottom: 1px solid #999;*/
}
.header-bar.ebooks{
     /*border-bottom: 1px solid #999;*/
    /*background: url("../images/background/icon-head-ebooks.png") no-repeat top left;*/
}
.header-bar.magazines{
     /*border-bottom: 1px solid #999;*/
    /*background: url("../images/background/icon-head-magazines.png") no-repeat top left;*/
}
.header-bar.emagazines{
     /*border-bottom: 1px solid #999;*/
    /*background: url("../images/background/icon-head-emagazines.png") no-repeat top left;*/
}
.header-bar.multimedia{
     /*border-bottom: 1px solid #999;*/
    /*background: url("../images/background/icon-head-multimedia.png") no-repeat top left;*/
}
.header-bar.cd-dvd{
     /*border-bottom: 1px solid #999;*/
    /*background: url("../images/background/icon-head-multimedia.png") no-repeat top left;*/
}
.header-bar.information{
     /*border-bottom: 1px solid #999;*/
    /*background: url("../images/background/icon-head-information.png") no-repeat top left;*/
}
.header-bar.knowledge{
     /*border-bottom: 1px solid #999;*/
    /*background: url("../images/background/icon-head-knowledge.png") no-repeat top left;*/
}
.header-bar.other-news {
    border: none;
    width: 100%;
    font-size: 26px;
}
.cat-view-cover {
    margin: 0 22px 32px 22px;
}
figure img.img-cover,
figure img.img-cover-list,
figure img.img-detail {
    -webkit-box-shadow: 5px 4px 15px 1px rgba(50, 50, 50, .5);
    -moz-box-shadow: 5px 4px 15px 1px rgba(50, 50, 50, .5);
    box-shadow: 5px 4px 15px 1px rgba(50, 50, 50, .5);
}
label.required:before {
    content: "* ";
    color: red;
    font-family: "Lucida Grande",Verdana,Arial,Helvetica,sans-serif;
}
.forms-init {
    padding: 0;
}
.forms-init ol {
    margin: 0;
    padding: 0;
}
.forms-init ol li {
    list-style: none;
}
.forms-init li.hidden-row {
    display: none
}
.forms-init .button-row p.forgot {
    padding: 6px 0 0 10px;
    display: inline-block;
}
.forms-init input[type="checkbox"],
.forms-init input[type="radio"] {
    width: auto;
}

.msg-status-success{
    color: #0e519f!important;
    font-weight: bold;
}
.msg-status-error{
    color: red!important;
    font-weight: bold;
}

/*-------------*/
/*  Page Home  */
/*-------------*/
/*News*/
.news-hilight-area {
    margin: 40px 0;
}
.news-hilight-area .text h3 {
    color: #0e519f;
}
.news-area {
    margin-bottom: 55px;
}
.news-area .news-box {
    height: 200px;
}
.news-area .news-box img{
    width: 100%;
    max-height: 200px;
    margin-bottom: 15px;
}
.see-all-box {
    position: relative;
    top: -50px;
    width: 100%;
    /*font-family: 'THSarabunNewRegular', sans-serif;*/
}
.see-all-box.news {
    top: -24px;
}
.see-all-btn {
    background-color: #0e519f;
    border-radius: 5px;
    color: #fff;
    font-size: 14px;
    padding: 5px 10px;
    text-transform: none;
}
.see-all-btn:hover,
.see-all-btn:focus,
.see-all-btn:active,
.see-all-btn.active {
    /*background: #00A7FF !important*/
}
.btn.see-all-news-btn {
    color: #000000 !important;
    background: none;
    text-transform: none;
    font-size: 20px;
    padding: 0;
}
.see-all-news-btn:hover,
.see-all-news-btn:focus,
.see-all-news-btn:active,
.see-all-news-btn.active {
    color: #00A7FF !important;
    background: none !important;
}

.shelf-box {
    /*background: url(../images/background/bg-shelf-item-large.png) bottom no-repeat;*/
    margin-bottom: 40px;
}
.shelf-box a {
    color: #000;
    -webkit-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    -moz-transition: all 200ms ease-in;
}
.shelf-box a:hover,
.shelf-box a:focus {
    color: #0e519f;
}
.title-cover-name {
    /*font-family: 'db_heaventregular',sans-serif;*/
    color: #6c6c6c;
    margin: 0 auto;
    font-size: 16px;
    height: 30px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.title-cover-name i {
    color: #0e519f;
}
.home .cover-img {
    display: table-cell;
    vertical-align: bottom;
}
.cover-img.multimedia {
    height: auto;
}

/*---------------*/
/*  Page Detail  */
/*---------------*/
.title-name-area {
    margin: 0 0 25px 0;
}
.title-name-area .title-cover-name-detail {
    /*font-family: 'rsuregular',sans-serif;*/
    margin: 0 auto;
    font-size: 24px;
    height: 40px;
    line-height: 31px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: bold;
    color: #0e519f;
}
.title-name-area .title-cover-name-detail i {
    color: #0e519f;
}
.title-name-area .title-cover-name-detail .rating-show {
    direction: rtl;
    unicode-bidi: bidi-override;
}
.title-name-area .title-cover-name-detail .rating-show i {
    color: #0e519f;
}
.title-name-area .subtitle-cover-name-detail {
    /*font-family: 'rsuregular',sans-serif;*/
    margin: 0 auto;
    font-size: 16px;
    height: 40px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #787878;
    padding: 0;
}
.title-name-area .subtitle-cover-name-detail a {
    color: #787878;
}
.title-name-area .subtitle-cover-name-detail a:hover {
    color: #0e519f;
}
.img-detail {
    /*max-height: 440px;
    width: auto;*/
    height: auto;
    max-width: 350px;
}
.details-area {
    font-family: 'thaisans_neueregular',sans-serif;
    color: #6c6c6c;
    font-size: 16px;
    line-height: 30px;
}
/*.details-area p:last-of-type {
    padding-bottom: 10px;
    border-bottom: #000000 solid 1px;
}*/
.details-area div {
    padding-left: 0;
}
.details-area .paragraph-details {
    width: 100%;
    padding: 15px 0;
    /*border-bottom: #b1b1b1 solid 1px;*/
}
.details-area .available-box {
    border: #0e519f solid 1px;
    padding: 25px;
}
.details-area .sub-details {
    font-weight: normal;
    font-size: 16px;
}
.details-area .sub-details1 {
    line-height: 33px;
    float: left;
}
.details-area .sub-details1 span {
    color: #0e519f;
    font-weight: bold;
    margin-right: 0px;
}
.details-area .sub-details1 .rating i {
    color: #0e519f;
}
.details-area .sub-details2 {
    line-height: 44px;
    color: #8d8c8c;
    float: left;
}
.details-area .sub-details2 .first {
    border-right: #000000 solid 1px;
}
.details-area .sub-details2 span {
    color: #272520;
    margin-right: 40px;
    font-weight: bold;
}
.details-area .sub-details2 .btn-details {
    background: #272520;
    font-size: 20px;
    padding: 5px 12px;
    color: #fff !important;
    border: none;
    /*border-radius: 5px;*/
}
.details-area .sub-details2 .btn-details:hover,
.details-area .sub-details2 .btn-details:focus,
.details-area .sub-details2 .btn-details:active,
.details-area .sub-details2 .btn-details.active {
    background: #6c6c6c !important;
    color: #0e519f !important;
}
.details-area .sub-details2 .btn-details i {
    font-size: 17px;
}
.details-area .sub-details3 {
    line-height: 66px;
    float: left;
}
.details-area .sub-details3 > span {
    color: #cecccc;
    float: left;
    margin-right: 14px;
    font-style: italic;
}
.details-area .sub-details3 div {
    float: left;
    padding-top: 17px;
}
/*.details-area .sub-details3 i {
    margin: 0 10px;
    color: #a7a7a7;
    font-size: 32px;
}*/
.details-area .sub-details4 {
    float: left;
    margin-top: 20px;
}
.details-area .sub-details4 table {
    border: #0e519f solid 2px;
    width: 100%;
}
.details-area .sub-details4 table th {
    padding: 14px;
    text-align: center;
    background-color: #0e519f;
    color: #ffffff;
}
.details-area .sub-details4 table td {
    padding: 14px;
    text-align: center;
    font-weight: normal;
    border:0;
}
.details-area .sub-details4 table td.left {
    text-align: left;
}
.image-vdo-area {
    text-align: center;
}
.description-vdo {
    margin: 25px 10px 0 10px;
    font-size: 17px;
}

/*Detail Comment*/
.review-list, .review-form, .review-button {
    float: left;
}
.review-list.inactive {
    background: url('../images/background/bg-2.gif');
    opacity: 0.5;
}
.review-list .rname {
    font-size: 19px;
    font-weight: bold;
    color: #000000;
}
.review-list .rating-small {
    direction: rtl;
    unicode-bidi: bidi-override;
    font-size: 18px;
    margin-right: 10px;
    color: #0e519f;
}
.review-list a.link {
    cursor: pointer;
    font-size: 14px;
    color: #FFF;
    background-color: #dddddd;
    border-radius: 5px;
    padding: 0 5px;
    font-weight: 200;
}
.review-list a.link:hover {
    background-color: #9c9c9c;
}
.review-list .rdate {
    font-size: 15px;
    font-style: italic;
}
.review-list .rdesc {
    font-size: 17px;
}
.a-right {
    text-align: right;
}

/*----------------*/
/*  Category All  */
/*----------------*/
.full-wrapper {
    background: #ebebeb;
    border: 0;
}
.cat-box {
    text-align: center;
}
.cover-cat img {
    margin: 10px 5px;
}

.select-cat{
    /*font-family: 'THSarabunNewBold', sans-serif;*/
    /*background: url(../images/dropdown-arrow.png) no-repeat 100% 0;*/
    /*background-color: #4f4f4f;
    height: 34px;
    overflow: hidden;
    width: 247px;*/
    float: left;
    margin-right: 20px;
}
.select-cat select {
    background-color: #4f4f4f;
    border: 0px;
    color: #FFF;
    display: inline-block;
    font: inherit;
    line-height: 4px;
    /*padding: 24px;*/
    margin: 0;
    max-width: 100%;
    /*-webkit-box-sizing: border-box;*/
    /*-moz-box-sizing: border-box;*/
    /* box-sizing: border-box; */
    /* -webkit-appearance: none; */
    /*-moz-appearance: none;*/
    /* background: url(../images/background/icon-select-category.png) top right no-repeat #4f4f4f; */
}




.select-cat select:focus {
    outline: none;
}
.select-cat select option {
    background: #272520;
    color: white;
    border: 0px;
}

.select-cat select.select-sort-by{
  /*background: url(../images/background/icon-select-category.png) top right no-repeat #4f4f4f;*/
}
.select-cat select.select-sort-by option {
    background: #787878;
    color: white;
    border: 0px;
}

.semi-square {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
.show_all .cover-img,
.myshelf-grid .cover-img {
    display: table-cell;
    vertical-align: bottom;
}
.show_all .shelf-box {
    /*border-bottom: 2px solid #afafaf;*/
    /*background: url(../images/background/bg-shelf-item-large.png) bottom no-repeat;*/
}
.myshelf-grid .shelf-box {
    /*background: url(../images/background/bg-shelf-item-large.png) bottom no-repeat;*/
    margin-bottom: 40px;
}

.tabs-top .style_show {
    text-align: right;
    padding-right: 30px;
}
.tabs-top .style_show span {
    font-family: 'thaisans_neueregular',sans-serif;
    font-size: 20px;
}
.tabs-top .style_show a {
    font-size: 25px;
    color: #cccccc;
}
.tabs-top .style_show a:hover,
.tabs-top .style_show a:active {
    color: #0e519f;
}
.tabs-top .style_show a.active {
    color: #0e519f;
    pointer-events: none;
    cursor: default;
}
.tabs-top .style_show i {
    margin: 0 2px;
}

/*-----------------*/
/*  Item All Grid  */
/*-----------------*/
.owl-allitem {
    /*height: 414px !important;*/
}
.all .item {
    /*margin: 0 20px 50px 20px;*/
}

/*-----------------*/
/*  Item All List  */
/*-----------------*/
.list-item {
    padding: 38px 0;
    /*margin: 0 150px;*/ /*media*/
    border-bottom: 2px solid #dbe1e4;
    /*font-family: 'rsuregular', sans-serif;*/
    font-size: 16px;
    font-weight: normal;
    line-height: 40px;
    color: #6c6c6c;
}
.list-item .list-img {
    /*padding: 0 40px;*/ /*media*/
    /*border-right: 1px solid #0e519f;*/
}
.list-item .list-detail {
    padding-left: 50px;
}
.list-item .list-detail .title span,
.list-item .list-detail .author span,
.list-item .list-detail .publisher span,
.list-item .list-detail .published-date span,
.list-item .list-detail .status span {
    font-size: 16px;
    color: #272520;
    font-weight: bold;
}
.list-item .list-detail .title a,
.list-item .list-detail .author a {
    color: #6c6c6c;
}
.list-item .list-detail .title a:hover,
.list-item .list-detail .author a:hover {
    /*text-shadow: 2px 2px 5px;*/
    color: #0e519f;
}
.list-item .list-detail .desc {
    font-size: 19px;
    line-height: 30px;
}
.list-item .list-detail .status {
    /*font-size: 30px;
    font-weight: normal;*/
}
.list-item .list-detail .status span {
    color: #0e519f;
}
.list-item .list-detail .status div {
    display: inline;
    font-size: 24px;
    font-weight: normal;
}
.list-item .list-detail .status .borrow {
    color: #1b7e09;
}
.list-item .list-detail .status .borrow span{
    color: #1b7e09;
    font-size: 24px;
    font-weight: 200;
}
.list-item .list-detail .status .overdue {
    color: #ff0206;
}
.list-item .list-detail .status .overdue span{
    color: #ff0206;
    font-size: 24px;
    font-weight: 200;
}
.list-item .list-detail .status .return {
    color: #f09d27;
}

.mybookshelf {
    /*margin-top: 50px;*/
}

/*-----------*/
/*   Search  */
/*-----------*/
.search-title {
    /*font-family: "rsuregular",sans-serif;*/
    color: #535353;
    margin-bottom: 30px;
    font-size: 24px;
}
.adv-search {
    /*font-family: "THSarabunNewRegular",sans-serif;*/
    font-size: 18px;
    line-height: 35px;
}
.adv-search h3 {
    color: #0e519f;
}
.adv-search input[type="checkbox"],
.adv-search input[type="radio"] {
    width: auto;
}
.adv-search select,
.adv-search textarea,
.adv-search input[type="text"] {
    margin-bottom: 0;
}
.adv-search a.btn-search {
    margin-top: 10px;
}

/*----------*/
/*   Login  */
/*----------*/
.form-container.login {
    padding: 0 30px 30px 0;
    background-color: #ffffff;
}

/*-------------------*/
/*  Page My Profile  */
/*-------------------*/
.page-profile .menu-profile {
    list-style: none;
}
.page-profile .menu-profile > li {
    float: left;
    padding: 0 20px;
    margin: 10px 0 40px 0;
    border-right: solid 1px #a9a9a9;
}
.page-profile .menu-profile > li:first-child {
    padding-left: 0;
    margin-left: -15px;
}
.page-profile .menu-profile > li:last-child {
    border-right: none;
}
.page-profile .menu-profile > li > a {
    font-family: 'thaisans_neueregular', sans-serif;
    font-size: 18px;
    color: #a9a9a9;
    text-transform: uppercase;
}
.page-profile .menu-profile > li > a:hover,
.page-profile .menu-profile > li > a.active {
    color: #000000;
}
/*.page-profile .avatar-area {
    text-align: center;
    padding-top: 40px;
}*/
.page-profile figure img.avatar {
    border-radius: 50%;
    width: 50%;
    margin: 40px 0 20px 0;
}
.page-profile input[type="file"] {
    display: none;
}
.page-profile .custom-btn-profile {
    cursor: pointer;
    color: #ffffff;
    background-image: -webkit-linear-gradient(-25deg, #00a0dc 70%, #ccc 70%);
    padding: 8px 15px 8px 28px;
    font-weight: lighter;
    font-size: 17px;
        padding: 7px;
}
.page-profile .custom-form-inline > div {
    margin-bottom: 20px;
}
.page-profile .custom-form-inline .text-title {
    padding-right: 10px;
    font-weight: bold;
    font-size: 16px;
    color: #272520;
    vertical-align: inherit;
}
.page-profile .custom-form-inline input[type="text"] {
    border: 0;
    border-bottom: solid 1px #a9a9a9;
    background-color: #fff;
    color: #949494
    font-size: 16px;
    padding:0px;
    height:20px;
}
/*.page-profile .custom-form-inline label.radio-inline:hover {
    color: #ff0000;
}
.page-profile .custom-form-inline label.radio-inline input[type="radio"] {
    width: auto;
    visibility: hidden;
}
.page-profile .custom-form-inline label.radio-inline input[type="radio"]:checked ~ .check {
    border: 5px solid #0DFF92;
}
.page-profile .custom-form-inline label.radio-inline input[type="radio"]:checked ~ .check::before{
    background: #0DFF92;
}
.page-profile .custom-form-inline label.radio-inline input[type="radio"]:checked ~ label{
    color: #0DFF92;
}

.page-profile .custom-form-inline label.radio-inline span {
    display: block;
    position: relative;
    font-weight: 300;
    font-size: 1.35em;
    padding: 25px 25px 25px 80px;
    margin: 10px auto;
    height: 30px;
    z-index: 9;
    cursor: pointer;
    -webkit-transition: all 0.25s linear;
}
.page-profile .custom-form-inline label.radio-inline div.check{
    display: block;
    position: absolute;
    border: 5px solid #AAAAAA;
    border-radius: 100%;
    height: 25px;
    width: 25px;
    top: 30px;
    left: 20px;
    z-index: 5;
    transition: border .25s linear;
    -webkit-transition: border .25s linear;
}
.page-profile .custom-form-inline label.radio-inline div.check::before {
    display: block;
    position: absolute;
    content: '';
    border-radius: 100%;
    height: 15px;
    width: 15px;
    top: 5px;
    left: 5px;
    margin: auto;
    transition: background 0.25s linear;
    -webkit-transition: background 0.25s linear;
}
.page-profile .custom-form-inline label.radio-inline:hover div.check{
    border: 5px solid #FFFFFF;
}*/
.page-profile .custom-form-inline label {
    display: inline-block;
    cursor: pointer;
    position: relative;
    padding-left: 25px;
    margin-right: 15px;
    font-size: 13px;
}
.page-profile .custom-form-inline input[type=radio] {
    display: none;
}
.page-profile .custom-form-inline label:before {
    content: "";
    display: inline-block;

    width: 16px;
    height: 16px;

    margin-right: 10px;
    position: absolute;
    left: 0;
    bottom: 1px;
    background-color: #aaa;
    box-shadow: inset 0px 2px 3px 0px rgba(0, 0, 0, .3), 0px 1px 0px 0px rgba(255, 255, 255, .8);
}
.page-profile .custom-form-inline .radio label:before {
    border-radius: 8px;
}
.page-profile .custom-form-inline input[type=radio]:checked + label:before {
    content: "\2022";
    color: #f3f3f3;
    font-size: 30px;
    text-align: center;
    line-height: 18px;
}

/*---------------*/
/*    Side Bar   */
/*---------------*/
.sidebox.product {
}
.sidebox .item {
    width: 65%;
    float: none;
    margin: 25px auto;
}


/*--------------*/
/*   mask-ipad  */
/*--------------*/
.mask-ipad,
.mask-ipad-list,
.mask-ipad-right {
    height: 88px;
    width: 56px;
    background:url('../images/background/mask-ipad.png') center no-repeat;
    position: absolute;
}
.mask-ipad-detail{
    height: 176px;
    width: 112px;
    background:url('../images/background/mask-ipad2.png') center no-repeat;
    position: absolute;
}
.mask-ipad-detail.vertical{
    top: 26%;
    left: 32%;
}
.mask-ipad-detail.horizontal{
    top: 13%;
    left: 32%;
}
.mask-ipad-right.vertical{
    margin-top: 24% ;
    margin-left: 20%;
}
.mask-ipad-right.horizontal{
    margin-top: 6% ;
    margin-left: 20%;
}

/*-------------*/
/*  Page News  */
/*-------------*/
.box-generic {
    border: 1px solid #e6e6e6;
    border-radius: 5px;
    background-color: #FFFFFF;
    margin-bottom: 30px;
}
.box-news .news-content  {
    padding: 30px;
    border-bottom: 1px solid #e6e6e6;
    clear: both;
}
.box-news .news-content::after,
.box-news .news-action::before  {
    clear: both;
}
.box-news .news-content .media {
    padding-bottom: 15px;
}
.box-news .news-content .media-cover {
    margin-top: 10px;
}
.box-news .news-content .media-cover img {
    max-width: 700px;
}
.box-news .news-content .new-text img {
    text-align: center;
}
.media .media-body {
    font-family: 'Questrial', 'thaisans_neueregular',sans-serif;
}
.media .media-body .media-heading {
    margin: 0;
}
.media .media-body .media-heading .line-2 {
    color: #666;
    font-size: 14px;
    display: block;
}
.media .media-body .media-heading .line-3 {
    font-size: 13px;
    color: #aeaeae;
    display: block;
}
.box-news .news-actions {

}
.box-news .news-actions ul {
    list-style: none;
    margin: 0;
}
.box-news .news-actions ul li {
    padding: 10px;
    text-align: center;
    border-right: 1px solid #e6e6e6;
    background: #0e519f;
    line-height: 30px;
}
.box-news .news-actions ul li.last {
    border-right: 0;
}
.box-news .news-actions ul li a {
    padding-left: 34px;
    background-size: contain;
    color: #fff;
    display: inline-block;
}

.bd-icon {
    display: inline;
    position: absolute;
    width: 27px;
    height: 27px;
}
.bd-icon.bd-icon-wow {
    background:url('../images/background/icon-wow.png') no-repeat;
}
.bd-icon.bd-icon-wow-active {
    background:url('../images/background/icon-wow-active.png') no-repeat;
}
.bd-icon.bd-icon-cheer {
    background:url('../images/background/icon-cheer.png') no-repeat;
}
.bd-icon.bd-icon-cheer-active {
    background:url('../images/background/icon-cheer-active.png') no-repeat;
}
.bd-icon.bd-icon-thanks {
    background:url('../images/background/icon-thanks.png') no-repeat;
}
.bd-icon.bd-icon-thanks-active {
    background:url('../images/background/icon-thanks-active.png') no-repeat;
}
.bd-icon.bd-icon-comment {
    background:url('../images/background/icon-comment.png') no-repeat;
}
.bd-icon.bd-icon-comment-active {
    background:url('../images/background/icon-comment-active.png') no-repeat;
}
.bd-icon-widget.bd-icon-widget-cal:before {
    font-family: FontAwesome;
    content: "\f073";
    color: #019ddc;
    font-size: 18px;
    padding-left: 10px;
    position: absolute;
    top: 0;
    left: 0;
}
.bd-icon-widget.bd-icon-widget-cal > span {
    font-family: 'Questrial', 'thaisans_neueregular',sans-serif;
    padding-left: 20px;
}

.media .under-img {
    padding: 10px 0;
}
.media .under-img .text {
    padding-left: 35px;
    padding-top: 3px;
    /*text-align: center;*/
}
.box-news .news-actions ul li a.action-icon-wow {
    background:url('../images/background/icon-wow.png') no-repeat;
}
.box-news .news-actions ul li.has-clicked a.action-icon-wow {
    background:url('../images/background/icon-wow-active.png') no-repeat;
    color: #4c565d;
    font-weight: bold;
}
.box-news .news-actions ul li a.action-icon-cheer {
    background:url('../images/background/icon-cheer.png') no-repeat;
}
.box-news .news-actions ul li.has-clicked a.action-icon-cheer {
    background:url('../images/background/icon-cheer-active.png') no-repeat;
    color: #4c565d;
    font-weight: bold;
}
.box-news .news-actions ul li a.action-icon-thanks {
    background:url('../images/background/icon-thanks.png') no-repeat;
}
.box-news .news-actions ul li.has-clicked a.action-icon-thanks {
    background:url('../images/background/icon-thanks-active.png') no-repeat;
    color: #4c565d;
    font-weight: bold;
}
.box-news .news-actions ul li a.action-icon-comment {
    background:url('../images/background/icon-comment.png') no-repeat;
}
.box-news .news-actions ul li.action-btn ul {
    margin-left: 15px;
    text-align: left;
}
.box-news .news-actions ul li.action-btn ul li {
    background: transparent;
    border:none;
    list-style: disc;
    padding: 0;
    text-align: left;
    line-height: 20px;
}
/*.box-news .news-actions ul li.action-comment .tooltip-inner {
  min-width: 150px;
}*/


.box-news .news-user-activity {
    padding: 10px;
    border-top: 1px solid #e6e6e6;
    border-left: 3px solid #019ddc;
    background-color: #FFFFFF;
}
.box-news .news-comments,
.box-news .news-my-comment {
    border-top: 1px solid #e6e6e6;
    background-color: #FFFFFF;
}
.box-news .news-comments .panel-view-more-comments {
    padding: 10px;
}
.box-news .news-comments .box-comment {
    padding: 10px;
    margin: 0;
}
.box-news .news-comments .box-comment.is-hidden {
    background-color: #F0F0F0 !important;
    opacity: 0.7 !important;
}
.box-news .news-my-comment,
.box-news .msg-news-login {
    padding: 10px;
    border-top: 1px solid #e6e6e6;
    background-color: #F0F0F0;
}
.box-news .news-comments .media .media-body,
.box-news .news-my-comment .media .media-body {
    font-family: Arial,'tahoma',sans-serif !important;
}
.box-news .news-comments .media .media-body .media-heading {
    margin: 0;
}
.box-news .news-comments .media .media-body .media-heading .line-comment {
    width: 100%;
    color: #666;
    font-size: 14px;
    display: inline-block;
    word-wrap: break-word;
    -ms-word-break: break-all;

    /* Be VERY careful with this, breaks normal words wh_erever */
    word-break: break-all;

    /* Non standard for webkit */
    word-break: break-word;

    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}
.box-news .news-comments .media .media-body .media-heading .line-datetime {
    font-size: 13px;
    color: #aeaeae;
    display: block;
}

/*My shelf*/
.shelf-delete-btn {
    position: absolute;
    margin-left: -36px;
    cursor: pointer;
}

/*.container:hover .mask-shelf {
    opacity: 1;
}*/

.mask-shelf {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.but-hover {
    opacity: 0.8;
    background-color: #0e519f;
    color: white;
    font-size: 35px;
    padding: 7px;
    border-radius: 20px;
    display: table-cell;
    cursor: pointer;
}
.but-space {
    display: table-cell;
    width: 10px;
}

.but-hover a,
.but-hover a:hover {
    color: white;
    text-decoration: none;
}

.img-height {
    position: relative;
}

.input-label{
    color: #272520;
    font-size: 16px;
    font-weight: bold;
    height: 40px;
    padding: 15px 0;
    vertical-align: middle;
}
.logoName{
    margin-left: 15px;
    margin-top: 5px

}
.logoName div {
    color: #fff;
    line-height: 1.2em;

}
.logoNameTH{
    font-size: 30px;
}
.logoNameEN {
    font-size: 20px;
    letter-spacing: 4px;
    margin-bottom: 2px;
}
.logoeLibrary {
    border: 1px solid #fff;
    font-size: 30px;
    letter-spacing: 13px;
    line-height: 3em;
        background: -webkit-linear-gradient(-25deg, #0e519f 47%, rgba(255, 255, 255, 0.15) 0%);
}
footer .siteName{
    font-size: 20px;
    line-height: 1.5em;
    font-weight: bold;
}
.news-actions ul{
    padding: 0;
}
.title-publisher-name{
    color:#999;
}
