/*
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
/*-----------------------------------------------------------------------------------*/
@font-face {
    font-family: 'century';
    src: url('/styles/fonts/century/CenturyGothic.woff2') format('woff2'),
        url('/styles/fonts/century/CenturyGothic.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'kanit';
    src: url('/styles/fonts/Kanit/Kanit-ExtraBold.woff2') format('woff2'),
        url('/styles/fonts/Kanit/Kanit-ExtraBold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'kanit';
    src: url('/styles/fonts/Kanit/Kanit-Light.woff2') format('woff2'),
        url('/styles/fonts/Kanit/Kanit-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'kanit';
    src: url('/styles/fonts/Kanit/Kanit-Italic.woff2') format('woff2'),
        url('/styles/fonts/Kanit/Kanit-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'kanit';
        src: url('/styles/fonts/Kanit/Kanit-ExtraLight.woff2') format('woff2'),
        url('/styles/fonts/Kanit/Kanit-ExtraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'kanit';
        src: url('/styles/fonts/Kanit/Kanit-ThinItalic.woff2') format('woff2'),
        url('/styles/fonts/Kanit/Kanit-ThinItalic.woff') format('woff');
    font-weight: 100;
    font-style: italic;
}

@font-face {
    font-family: 'kanit';
    src: url('/styles/fonts/Kanit/Kanit-Regular.woff2') format('woff2'),
        url('/styles/fonts/Kanit/Kanit-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'kanit';
    src: url('/styles/fonts/Kanit/Kanit-BoldItalic.woff2') format('woff2'),
        url('/styles/fonts/Kanit/Kanit-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'kanit';
    src: url('/styles/fonts/Kanit/Kanit-Black.woff2') format('woff2'),
        url('/styles/fonts/Kanit/Kanit-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'kanit';
    src: url('/styles/fonts/Kanit/Kanit-SemiBoldItalic.woff2') format('woff2'),
        url('/styles/fonts/Kanit/Kanit-SemiBoldItalic.woff') format('woff');
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: 'kanit';
    src: url('/styles/fonts/Kanit/Kanit-ExtraLightItalic.woff2') format('woff2'),
        url('/styles/fonts/Kanit/Kanit-ExtraLightItalic.woff') format('woff');
    font-weight: 200;
    font-style: italic;
}

@font-face {
    font-family: 'kanit';
    src: url('/styles/fonts/Kanit/Kanit-BlackItalic.woff2') format('woff2'),
        url('/styles/fonts/Kanit/Kanit-BlackItalic.woff') format('woff');
    font-weight: 900;
    font-style: italic;
}

@font-face {
    font-family: 'kanit';
    src: url('/styles/fonts/Kanit/Kanit-Bold.woff2') format('woff2'),
        url('/styles/fonts/Kanit/Kanit-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'kanit';
    src: url('/styles/fonts/Kanit/Kanit-SemiBold.woff2') format('woff2'),
        url('/styles/fonts/Kanit/Kanit-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'kanit';
    src: url('/styles/fonts/Kanit/Kanit-Medium.woff2') format('woff2'),
        url('/styles/fonts/Kanit/Kanit-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'kanit';
    src: url('/styles/fonts/Kanit/Kanit-ExtraBoldItalic.woff2') format('woff2'),
        url('/styles/fonts/Kanit/Kanit-ExtraBoldItalic.woff') format('woff');
    font-weight: 800;
    font-style: italic;
}

@font-face {
    font-family: 'kanit';
    src: url('/styles/fonts/Kanit/Kanit-LightItalic.woff2') format('woff2'),
        url('/styles/fonts/Kanit/Kanit-LightItalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'kanit';
    src: url('/styles/fonts/Kanit/Kanit-Thin.woff2') format('woff2'),
        url('/styles/fonts/Kanit/Kanit-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'kanit';
    src: url('/styles/fonts/Kanit/Kanit-MediumItalic.woff2') format('woff2'),
        url('/styles/fonts/Kanit/Kanit-MediumItalic.woff') format('woff');
    font-weight: 500;
    font-style: italic;
}
@font-face {
    font-family: 'prajad';
    src: url('/styles/fonts/prajad/CSPraJad-boldItalic.woff2') format('woff2'),
        url('/styles/fonts/prajad/CSPraJad-boldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'prajad';
    src: url('/styles/fonts/prajad/CSPraJad-Italic.woff2') format('woff2'),
        url('/styles/fonts/prajad/CSPraJad-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'prajad';
    src: url('/styles/fonts/prajad/CSPraJad-bold.woff2') format('woff2'),
        url('/styles/fonts/prajad/CSPraJad-bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'prajad';
    src: url('/styles/fonts/prajad/CSPraJad.woff2') format('woff2'),
        url('/styles/fonts/prajad/CSPraJad.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
*,
*: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
}
p {
    font-size: 1em !important;
}
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
}
select::-ms-expand {
    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: 'prajad';
    overflow-x: hidden;
    background-color: #FFF;
    color: #212121;
    font-size: 20px;
    font-weight: normal;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: "prajad";
    font-weight: 500;
    line-height: 1.1;
    color: inherit;
}
.container {
    padding-right: 0;
    padding-left: 0;
}
body,
li,
address {
    line-height: 20px
}
input,
button,
select,
textarea {
    font-size: 0.9em;
    font-weight: 500;
}
a {
    color: #105bab;
    -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 {
    margin-top: 0;
    color: #616161;
    margin-bottom: 10px;
    font-weight: normal;
}
h1 {
    font-size: 1.625em;
    /*line-height: 1.875em;*/
}
h2 {
    font-size: 1.375em;
    /*line-height: 1.75em;*/
}
h3 {
    font-size: 1.125em;
    /*line-height: 1.375em;*/
}
h4 {
    font-size: 1em;
    margin-bottom: 0.5em;
}
h5 {
    font-size: 0.875em;
}
h6 {
    font-size: 0.75em;
}


.page-title {
    min-height: 91px
}
.page-title h1 {
    font-size: 22px;
    font-weight: normal;
    margin: 4px 0 0 0;
}
h3.post-title {
    font-size: 1em
}
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: 0.9em;
    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: 0.9em;
    line-height: 25px;
    font-weight: normal;
    letter-spacing: normal;
    text-transform: none;
    margin: 0;
}
footer .post-list li em {
    color: #6c6c6c;
    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: 0px; /*Edit*/ /*padding-top: 70px;*/
    padding-bottom: 0px;
}
.page-title .inner {
    padding-top: 26px;
    padding-bottom: 26px;
}
.lead {
    font-size: 1em;
    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;*/
}
.category_quiz {
    font-size: 26px;
    font-weight: bold;
    color: #2a6496;
}
/*-----------------------------------------------------------------------------------*/
/*  HEADER
/*-----------------------------------------------------------------------------------*/
.navbar-header {
    float: none !important;
    padding: 0;
    /*border-top: 5px solid #231f20;*/
    /*background: #FFF;*/
    /*background: url("../images/background/bg_header.png"); /*Add*/*/
    background-size: 100% 100%; /*Add*/
    background-repeat: no-repeat; /*Add*/
    background-image: url('/styles/belibs/images/background/bg_header.png');
}


}
.navbar .container {
    padding: 0
}
.navbar {
    margin: 0;
    border-radius: 0;
    border: none;
    position: relative;
    z-index: 8000;
    min-height: inherit;
    background-color: #fff;
    color: #FFFFFF;
}


.navbar-brand {
    float: left;
    padding: 1px 0px;
    font-size: 18px;
    line-height: 20px;
    bottom: 5px;
    position: relative;
}
img.logo-header {
    position: absolute;
    width: 200px;
    height: 48px;
}
.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
}
.header-area {
    display: inherit;
    width: 100%;
    float: right;
    height: 4em;
    padding-bottom: 1.2em;
    padding-top: 1em;
}
.navbar-nav > li {
    /* margin-left: 15px */
}
.navbar-nav > li > a{
    font-size: 1em;
    font-weight: bold;
    /*text-transform: uppercase;*/
    color: #63acda;
    padding: 20px 0.9em;
}
.nav > li > a:focus, .navbar .nav .open > a, .navbar .nav .open > a:focus {
    background: none;
    color: #63acda!important;
}
.nav > li > a:hover {
    background: none;
    color: #231f20;
}
.nav > li.current > a {
    background: none;
    color: #231f20;
}
.header-img {
    width: 8em;
    /* text-align: center; */
    margin-left: auto;
    margin-right: auto;
    margin-top:0.3em;
}
.navbar .dropdown-menu {
    padding: 0;
    margin: 0;
    min-width: 130px;
    background-color: #2e353d;
    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: #FFF;
    font-size: 1.5em;
    /*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: 0.9em
}
.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 {
    /*color: #fff !important;
    background: #3f8dbf;*/
    margin-bottom: 10px;
    margin-right: 5px;
    padding: 11px 20px 10px 20px;
    font-weight: normal;
    font-size: 1em;
    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;
}
.parallax .btn-submit,
.btn-submit {
	color: #fff !important;
 	background: #3f8dbf;
}
.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-submit:hover,
.btn-submit:focus,
.btn-submit:active,
.btn-submit.active,
.parallax .btn-submit:hover,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.parallax .btn-primary: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: auto !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: #105bab; /*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: 0.9em;
    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-size: 20px;
    margin-right: 10px;
}
.tabs-top.tabs-sort .text-sort {
    color: #000000;
}
.tabs-top.tabs-sort .text-sort span.divide { /*Add*/
    color: #ABABAB;
}
.tabs-top.tabs-sort .text-sort span.show-cat.active { /*Add*/
    color: #105bab;
}
.tabs-top.tabs-sort .text-sort span.show-cat { /*Add*/
    color: #4f4f4f;
    border: none;
    font-size: 18px;
    padding: 0 13px;
    height: 34px;
    width: 236px;
    /* text-transform: uppercase; */
    cursor: pointer;
}
.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: 1em;
    margin-left: 0px;
    padding: 0px;
    z-index: 1;
    /* margin-bottom: 3em; */
}

.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: 0.9em;
    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*/
    margin:0px;
}
.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: 1em;
}
.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: 1em;
    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: 0.9em !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 #105bab!important;
    border-radius: 50%;
    background-color: #0f5bab;
    padding: 4px 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 {
    display: block;
    float: left;
    font-size: 1em;
}
#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: 1em;*/
    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: 0.9em;
}
#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: 1em;
    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: #231f20;
}
.details-comments-box span.name {
    color: #105bab;
}
.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: '\f005';
    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: '\f005';
}
.details-comments-box .submit .rating span.star.focus:before{
    color: #8797a6;
    content: '\f005';
}

/*-----------------------------------------------------------------------------------*/
/*  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*/
}
select.select-naja.search {
    width: 100%;
    height: auto;
    padding: 3px 15px;
}
.sidebox h3 {
    font-size: 1.5em;
    font-weight: bolder;
    margin-bottom: 15px; /*Edit*/ /*margin-bottom: 15px;*/
    color: #231f20; /*Add*/
    /*font-family: 'THSarabunNewRegular', sans-serif;*/ /*Add*/
}
select{
    font-size: 1em !important;
    /*padding: 0px 10px !important;*/
}
input.btn.btn-block.btn-primary.btn-search.ss {
    background: #105bab;
    padding: 8px;
}
/*.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: 0.9em;
    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: 0.9em;
    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: -moz-linear-gradient(-25deg, #231f20 45px, #0a0a0a 45px);
    /* background-image: -webkit-linear-gradient(-25deg, #231f20 45px, #0a0a0a 45px); */
    background-image: -o-linear-gradient(-25deg, #231f20 45px, #0a0a0a 45px);
    background: #105bab;
    padding: 10px 30px;
    font-weight: lighter;
    font-size: 1em;
    border-radius: 37px;
    border: 0;
}
.custom-btn-icn{
    padding-right: 20px;
    font-size: 0.9em
}
/*::-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: 1em;
    -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: 30px;
    padding: 13px 15px;
    border-radius: 30px;
}
#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: #105bab;*/
    /*background-image: -moz-linear-gradient(-25deg, #105bab 60%, #231f20 60%);*/
   /* background: -webkit-gradient(-75deg, #231f20 40%, #105bab 40%);
    background: -webkit-linear-gradient(-75deg, #231f20 40%, #105bab 40%);
    background: -moz-linear-gradient(-75deg, #231f20 40%, #105bab 40%);
    background: -o-linear-gradient(-75deg, #231f20 40%, #105bab 40%);
    background: -ms-linear-gradient(-75deg, #231f20 40%, #105bab 40%);
    background: linear-gradient(-75deg, #231f20 40%, #105bab 40%);
*/
    background-image: url(../images/background/bg_footer.png);
    background-repeat: round;
    color: #FFF;
}
/*.wrapper hr {
    border: 0;
    border-bottom: 1px solid #b4d151;
    margin: 20px 0;
}*/
.wrapper .footer-cdtc {
    text-align: left;
    font-size: 19px;
}
.wrapper .footer-cdtc .footer-logo {
    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: 17px;
}
.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: #231f20;
    font-size: 1em;
}
.wrapper .footer-left a{
    color: #231f20;
    font-weight: bold;
}
.wrapper .footer-left a:hover{
    color: #ffffff;
    font-weight: bold;
}
.wrapper .footer-right{
    padding-left: 120px;
    font-size: 18px;
}
.wrapper .footer-right p{
    margin: 10px 0 0 0;
}
.wrapper .footer-right .large{
    font-size: 28px;
    padding: 0;
}
.footer-copy{
    color: #8ca1ad;
    background-color: #151515;
}
.footer-copy p{
    opacity: 0.2;
    padding: 0 15px;
}
.footer-memu-left{

    
    float: left;
    padding: 0px 15px; 
}
.footer-memu-left a {

    color: #ffffff;
    font-size:1em;
    font-weight: bold;
}
.footer-memu-left a:hover{
    color: #4f4f4f;

}

/*-----------------------------------------------------------------------------------*/
/*  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
/*-----------------------------------------------------------------------------------*/
/*หน้าจอ PC */
@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*/
    }

    .login 
    {
        color: #035ba9 !important;
    }
    .login.mobile 
    {
       display: none;
    }

    .infouser 
    {
        color: #035ba9 !important;
    }
    .infouser.mobile {
        display: none;
    }

    .container-full.news 
    {
    background-image: url(../images/background/bg_news.png);
    background-repeat: round;
    padding-top: 0em;
    height: 17em;
    margin-bottom: 5em;
    margin-top: 1em;
    }
    .container-full.home-row-label.bg-row.event 
    {
        height: 120px;
    }
    .container-full.news.event 
    {
        background-image: url(../images/background/bg_events.png);
    }

    /*.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: 170px;
    height: 250px;
    }
    .home figure img {
        width: 100%;
        max-height: 250px;
    }

    .cover-img.np 
    {
        height: 250px !important;
    }

    .hometop
    {
        width: 100%; 
        display: inline-block;
        margin :2px !important;
        margin-top: 20px !important;
    }

    /*-------------*/
    /*   Sidebar   */
    /*-------------*/
    .sidebar .cover-img {
        width: 200px;
    }
    .sidebar figure img {
        width: 100%;
        max-height: 230px;
    }

    /*----------------*/
    /*  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*/
    }

    /*----------------*/
    /*   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: 100%;
        height: 255px;
    }
    .show_all figure img,
    .myshelf-grid figure img {
        width: 100%;
        max-height: 255px;
    }

    /*----------------------*/
    /*  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*/
    }
}


/*ipad pro*/
@media (min-width: 993px) and (max-width: 1199px) {/*Add*/

     .container {
        padding-right: 0px;
        padding-left: 0px;
    }
    img.breadcrumb-naja {
    width: 26px;
}

    .asd {
        position: relative;
        width: 0.5em;
        margin-left: 0.3em;
        margin-right: 0.3em;
        height: max-content;
        bottom: 3px;
    }

    .asd2 {
        position: relative;
        width: 0.5em;
        margin-left: 0.3em;
        margin-right: 0.3em;
        height: max-content;
        bottom: 3px;
    }

      div.sub-main a{
            color:#b5b6b6;
            font-weight: bolder;
            font-size: 0.8em;
      }
      div.sub-main{
            background: transparent;
            padding-left: 0px;
            }

        .breadcrumb.sub > div + div:before {
            content: "/\00a0";
            padding: 0 5px;
            color: #cccccc;
            display: none;
            }
        .breadcrumb.sub > div + div:before {
            padding: 0;
            }
        div.sub-active{
            background: transparent;
            color: #105bab;
            padding-top: 2px;
            font-size: 0.9em;
            }
        .sub-active.che {
            -webkit-clip-path: polygon(0 0, 50% 0, 0 100%, 0 100%);
            clip-path: polygon(0 0, 50% 0, 0 100%, 0 100%); 
            right: 1px;
             position: relative;
            }

    .header-japan {
        position: absolute;
        top: 0;
        left: -105px;
        width: 384px;
    }
     .bt_update
    {
        text-align: left;
    }
    .bt_update2
    {
        margin-left: 12em;
        margin-top: -30px;
    }
    .reserv_hide
    {
      display: none;
    }

     .login 
    {
        color: #035ba9 !important;
    }
    .login.mobile 
    {
       display: none;
    }

    .infouser 
    {
        color: #035ba9 !important;
    }
    .infouser.mobile {
        display: none;
    }

    .policy1
    {
        line-height: 24px;
    }
    .slider-japan .caption-opacity {
        background: rgba(255,255,255,0.6);
        width: 60%;
        height: 250px;
    }

    /*-------------*/
    /*  Page Home  */
    /*-------------*/


    .label-home-bar-son .maintype{
    width: 25%;
    height: auto;
    font-size: 28px;
    -webkit-transform: skew(-20deg);
    -moz-transform: skew(20deg);
    -o-transform: skew(20deg);
    background: #00aef0;
    padding: 15px;
    color: #fff;
    border-right: 12px solid #105aab;
    background: rgb(19,153,240);
    background: -moz-linear-gradient(61deg, rgba(20, 189, 253) 0%, rgba(1,168,239,1) 100%);
    background: -webkit-linear-gradient(61deg, rgba(20, 189, 253) 0%, rgba(1,168,239,1) 100%);
    background: linear-gradient(61deg, rgba(20, 189, 253) 0%, rgba(1,168,239,1) 100%);
    left: 290px;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#1399f0",endColorstr="#01a8ef",GradientType=1);
    position: absolute;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }



    .home .cover-img {
        width: 180px;
        height: 250px;
    }
    .home figure img {
        width: 100%;
        max-height: 250px;
    }

    .hometop
    {
        width: 100%; 
        display: inline-block;
        margin :2px !important;
        margin-top: 10px !important;
    }

    .cover-img.np 
    {
        height: 250px !important;
    }

    .cover-img.multimedia 
    {
      height: 180px;
      object-fit: cover;
    }
    img.img-cover.multimedia 
    {
        height: auto !important;
        max-height: 140px !important;
    }
    img.img-cover.reward 
    {
        height: auto !important;
        max-height: 200px !important;
    }
    .cover-img.multimedia img {
        max-height: 130px !important;
    }
    .container-full.news 
    {
        background-image: url(../images/background/bg_news.png);
        background-repeat: round;
        padding-top: 1em;
        padding-bottom: 1em;
        height: auto;
        margin-bottom: 0em;
        /* margin-top: 1em; */
    }
    .container-full.home-row-label.bg-row.event 
    {
        height: 120px;
    }
    .container-full.news.event 
    {
        background-image: url(../images/background/bg_events.png);
    }

    .title-cover-name {
    color: #000;
    margin: 0;
    font-weight: normal;
    font-size: 0.85em;
    height: auto;
    line-height: 1.5;
    white-space: wrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-top: 1em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 4em;
    }
    .title-cover-name i {
        color: #105bab;
    }

    .detail_top
    {
        margin-top:-1em;
    }
    /*-------------*/
    /*   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: 100%;
        height: 260px;
    }
    .show_all figure img,
    .myshelf-grid figure img {
        width: 100%;
        max-height: 260px;
    }
  
    .show_all .cover-img3 {
      width: 100%;
      height: 250px;
      display: table-cell;
      vertical-align: bottom;
    }

    .cover-img3.multimedia2 {
      width: 100%;
      max-height:250px;
    }

    .cover-img.shelf 
    {
    padding-left: 25px;
    padding-right: 25px;
    height: 300px;
    }
    img.img-cover-list.shelf 
    {
        max-height: 300px !important;
    }
    img.img-cover-list.vdo 
    {
        max-height: 130px !important;
    }


    .title-name-area .title-cover-name-detail {
    /*font-family: 'rsuregular',sans-serif;*/
    margin: 0 auto;
    font-size: 1.5em;
    height: auto;
    line-height: 1.5;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: normal;
    font-family: 'kanit';
    color: #105bab;
    }
    .title-name-area .title-cover-name-detail i {
        color: #105bab;
    }
    .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: #105bab;
    }


    .title-name-area .subtitle-cover-name-detail {
        font-family: 'kanit',sans-serif;
        font-size: 1em;
        height: 2em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        color: #9E9E9E;
        padding: 0;
        padding-left: 0em;
        padding-top: 0.5em;
    }
    .title-name-area .subtitle-cover-name-detail a {
        color: #000;
        font-family: 'kanit';
        font-weight: 300;;
    }
    .title-name-area .subtitle-cover-name-detail a:hover {
        color: #105bab;
    }



    /*----------------------*/
    /*  Page Show All List  */
    /*----------------------*/

    .list-item {
        margin: 20px; /*media*/
    }
    .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%;
    }

    .header-area .menu-header .dropdown-menu {
    top: 83%;
    background-color: #63abda;
    width: auto;
    text-align: left;
    padding: 5px 10px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    border: 1px solid #fff;
    box-shadow: 1px 1px 10px #ccc;
    font-size: 15px;
    margin-left:-12%;
    }

}
@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: 35px; /*media*/
    }
    .sub-menu li.inactive {
        padding: 10px 0 10px 0px; /*media*/
    }
   /* .sub-menu li.active {
        padding: 10px; 
    }*/
    .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 {
    }
    .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,
    .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 {

    }
    .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 25px !important
    }
  
    .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: 21px 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: 95% !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 (max-width: 767px) {
    .navbar .container,
    .container {
        padding-right: 20px;
        padding-left: 20px;
    }
    .drop_iphone
    {
      text-align: center;
      line-height: 1.7em;
    }
    [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 0.9em 7px 0.9em !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: 0.9em;
    }
    .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;
    }
    .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  */
    /*-------------*/
    .see-all { /*Add*/
        font-size: 12px;
        margin: auto -7px auto auto;
    }
    .header-japan { /*Add*/
        position: absolute;
        top: 0;
        left: -48px;
        width: 236px;
    }
    
    .home .cover-img {
        width: 100%;
        height: 190px;
    }
    .home figure img {
        width: 100%;
        max-height: 190px;
    }

    /*-------------*/
    /*   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: 20px; /*media*/
    }
    .sub-menu li.inactive {
        padding: 6px 25px; /*media*/
    }
    .sub-menu li.active {
        padding: 6px 25px; /*media*/
    }
    .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: #105bab;
    }
    .wrapper .footer-right {
        padding-left: 15px;
    }
}


/*iphone 5/SE*/
@media (max-width: 320px) { /*Add*/

    /*---------------*/
    /*  Header       */
    /*---------------*/
    .header-area .search-area {
        width: 285px !important;
    }
    /*-------------*/
    /*  Page Home  */
    /*-------------*/
    .home .cover-img {
        width: 115px;
        height: 165px;
    }
    .home figure img {
        width: 100%;
        max-height: 165px;
    }

    .hometop
    {
        width: 100%; 
        display: inline-block;
        margin :2px !important;
        margin-top: 10px !important;
    }

    .cover-img.np 
    {
        height: 165px !important;
    }

    /*----------------------*/
    /*  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;
    }

    /*-------------*/
    /*  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: 40%;
    float: left;
}

.header-area .menu-header {
    /* width: 100%; */
}
.header-area .menu-header .dropdown-menu {
    top: 43%;
    background-color: #231f20;
    padding: 10px 0;
}
.header-area .menu-header > ul {
    float: right;
}
.header-area .menu-header li a {
    font-size: 18px;
    font-family: 'prajad';
    /* text-transform: uppercase; */
    padding-top: 17px;
    /*text-transform: uppercase;*/
    /*padding: 29px 0.9em;
    padding-left: 20px !important; !*Add*!*/
}
.header-area .menu-header li.dropdown > a:hover, .header-area .menu-header li.dropdown > a:focus {
    color: #231f20 !important;
}
.header-area .menu-header .dropdown-menu li a:hover,.header-area .menu-header .dropdown-menu li a.active {
    color: #105bab !important;
}
.header-area .menu-header li a:visited { /*Bug*/
    /*color: #ffffff !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 #105bab;*/
}
.header-area .search-area {
    display: block;
    width: 320px;
    position: relative;
    margin-top: 5px;
}
.header-area .search-area .searchform input.txt-search {
    font-size: 18px;
    color: #63acda;
    /* width: 300px; */
    border: none;
    border-radius: 5px;
    background: #FFFFFF;
    -webkit-appearance: none;
    border: 3px solid #63acda;
    /*border-radius: 35px;*/
    line-height: normal;
    padding: 3px 5px;
    padding-left: 1em;
}
input.txt-search::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #63acda;
  font-size: 1.1em;
  padding-top: 5px;
}
.header-area .search-area .searchform .submit-search {
    color: #fff;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    padding-left: 0px;
    border-radius: 0 2px 2px 0;
    font-size: 20px;
    border: 1px solid #63acda;
    background: #63acda;
    z-index: 1;
    padding: 8px 10px;
    border-radius: 5px;
}
.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;
}
.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: 'akrobat-extrabold',sans-serif; */
    font-weight: normal;
    color: #231f20;
    font-weight: bold;
    border-left: solid 6px #241f23;
    background: rgba(255,166,7,1);
    background: -moz-linear-gradient(left, rgba(255,166,7,1) 0%, rgba(244,131,4,1) 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(255,166,7,1)), color-stop(100%, rgba(244,131,4,1)));
    background: -webkit-linear-gradient(left, rgba(255,166,7,1) 0%, rgba(244,131,4,1) 100%);
    background: -o-linear-gradient(left, rgba(255,166,7,1) 0%, rgba(244,131,4,1) 100%);
    background: -ms-linear-gradient(left, rgba(255,166,7,1) 0%, rgba(244,131,4,1) 100%);
    background: linear-gradient(to right, rgba(255,166,7,1) 0%, rgba(244,131,4,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffa607', endColorstr='#f48304', GradientType=1 );
    padding-top: 0.3em;
    padding-bottom: 0.3em;
}
.sub-menu li a {
    font-size: 1em !important;
    padding-left: 0px;
    padding-right: 1em;
    padding-left: 1em;
    padding-top: 0.3em;
    padding-bottom: 0.3em;
}
.sub-menu li.active {
    /*border: #105bab solid 4px;*/
    border-left: 0;
    color: #105bab;
}
li.dropdown {
    position: relative;
}
.sub-menu li.active::after {
    content: '';
    display: block;
    position: absolute;
    width:100%;
    height:100%;
    top:-4px;
    left: -30px;
    /*border: solid 4px #105bab;*/
    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::after {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: -4px;
    left: 0;
    z-index: -1;

    /*background: #105bab;*/
    /*border: solid 4px #105bab;*/
    
    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: #231f20;
}
.sub-menu li.inactive a:hover {
    color: #231f20;
}
.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: #241f20;
    /* font-family: 'century'; */
    font-size: 2em;
    font-weight: normal;
    /* border-top: 1px solid #eeeeee; */
    /* padding: 22px 0 0 60px; */
    height: 45px;
}
.header-bar.books{
    background: url("../images/background/icon-head-books.png") no-repeat top left;
}
.header-bar.ebooks{
    background: url("../images/background/icon-head-ebooks.png") no-repeat top left;
}
.header-bar.magazines{
    background: url("../images/background/icon-head-magazines.png") no-repeat top left;
}
.header-bar.emagazines{
    background: url("../images/background/icon-head-emagazines.png") no-repeat top left;
}
.header-bar.multimedia{
    background: url("../images/background/icon-head-multimedia.png") no-repeat top left;
}
.header-bar.cd-dvd{
    background: url("../images/background/icon-head-multimedia.png") no-repeat top left;
}
.header-bar.information{
    background: url("../images/background/icon-head-information.png") no-repeat top left;
}
.header-bar.knowledge{
    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);
}
figure img.img-cover-reward {
    /* border: 2px solid lightgray; */
    object-fit: cover;
    object-position: center;
    max-width: 100%;
    height: 255px;
    /* width: 340px; */
}
.description-reward {
    height: 220px;
    padding: 25px;
    background-image: linear-gradient(to right, #1b1464, #0060b7);
    color: white;
    text-align: left;
    font-size: 1em;
    /* font-weight: bold; */
    line-height: 1.3em;
}

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: #105bab!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: #105bab;
}
.news-area {
    margin-bottom: 55px;
}
.news-area .news-box {
    height: 200px;
}
.news-area .news-box img{
    width: 100%;
    max-height: 200px;
}
.reward-point {
    background: url("../images/icon/tag_point.svg") no-repeat top left;
    position: absolute;
    right: 25px;
    top: 20px;
    font-weight: bold;
    line-height: .3em;
    color: white;
    height: 52px;
    width: 100px;
    text-align: center;
    padding-top: 16px;
    padding-left: 10px;
}
.reward-profile {
    font-weight: bold;
    margin: 30px;
    text-align: center;
}
.reward-profile > a {
    font-size: 30px;
}
.reward-profile > img.avatar {
    width:130px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}
.btn-reward {
    color: white !important;
    background: transparent !important;
    text-transform: none;
    border: 2px solid white;
    font-weight: bold;
    padding: 10px 30px;
    font-size: .8em;
    text-align: center;
    cursor: pointer;
    display: table-cell;
    position: absolute;
    bottom: 30px;
    width: fit-content;
}
.btn-reward:hover {
    /* border: 2px solid #626262; */
    background: #626262 !important;
}
.see-all-box {
    /* font-family: 'century'; */
    position: relative;
    top: -24px;
    width: 100%;
    /*font-family: 'THSarabunNewRegular', sans-serif;*/
    z-index: 9999;
    height: 20px;
}
.see-all-box.news {
    top: 12px;
}
.see-all-btn {
    color: #212121 !important;
    /* background: #105bab; */
    text-transform: none;
    font-size: 20px;
    padding: 0px 0px;
    /* border-radius: 5px; */
    border-bottom: 1px solid #212121; 
    font-weight: bold;
}
.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: 1em;
}
.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: #105bab;
}
.title-cover-name {
    color: #000;
    margin: 0;
    font-weight: normal;
    font-size: 0.85em;
    height: auto;
    line-height: 1.5;
    white-space: wrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-top: 1em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 4em;
}
.title-cover-name i {
    color: #105bab;
}
.home .cover-img {
    display: table-cell;
    vertical-align: bottom;
}
.cover-img.multimedia {
    height: auto;
}

/*---------------*/
/*  Page Detail  */
/*---------------*/
.title-name-area {
    margin: 30px 0 25px 0;
}
.title-name-area .title-cover-name-detail {
    /*font-family: 'rsuregular',sans-serif;*/
    margin: 0 auto;
    font-size: 1.4em;
    height: auto;
    line-height: 1.5;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: normal;
    font-family: 'kanit';
    color: #105bab;
}
.title-name-area .title-cover-name-detail i {
    color: #105bab;
}
.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: #105bab;
}
.title-name-area .subtitle-cover-name-detail {
    font-family: 'kanit',sans-serif;
    font-size: 1em;
    height: 2em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #9E9E9E;
    padding: 0;
    padding-left: 1.5em;
    padding-top: 0.5em;
}
.title-name-area .subtitle-cover-name-detail a {
    color: #000;
    font-family: 'kanit';
    font-weight: 300;;
}
.title-name-area .subtitle-cover-name-detail a:hover {
    color: #105bab;
}
.img-detail {
    /*max-height: 440px;
    width: auto;*/
    height: auto;
    max-width: 350px;
}
.details-area {
    font-family: 'prajad';
    color: #212121;
    font-size: 1em;
    display: grid;
    line-height: 1.3;
}
/*.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: #757575 solid 1.5px;
    padding: 25px;
}
.details-area .sub-details {
    font-weight: normal;
    font-size: 1em;
}
.details-area .sub-details1 {
    line-height: normal;
    float: left;
    margin-bottom: 10px;
}
.details-area .sub-details1 span {
    color: #231f20;
    font-weight: bold;
    margin-right: 0px;
}
.details-area .sub-details1 .rating i {
    color: #105bab;
}
.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: #231f20;
    margin-right: 40px;
    font-weight: bold;
}
.details-area .sub-details2 .btn-details {
    background: #231f20;
    font-size: 1em;
    padding: 5px 1em;
    color: #fff !important;
    border-radius: 35px;
    /*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: #105bab !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: #716d6d;
    float: left;
    margin-right: 0.9em;
    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: #105bab solid 2px;
    width: 100%;
}
.details-area .sub-details4 table th {
    padding: 30px 5px;
    text-align: center;
    background-color: #105bab;
    color: #ffffff;
}
.details-area .sub-details4 table td {
    padding: 20px 5px;
    text-align: center;
    font-weight: normal;
    border:0;
    font-size: 0.8em;
}
.details-area .sub-details4 table td.left {
    text-align: left;
}
.details-area .sub-details4 .overdue{
    color: #ff0206;
}
.details-area .sub-details4 .borrow{
    color: #1b7e09;
}
.image-vdo-area {
    text-align: center;
}
.description-vdo {
    margin: 25px 10px 0 10px;
    font-size: 1em;
    line-height: 1;
}

/*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: 0.8em;
    font-weight: bold;
    color: #000000;
}
.review-list .rating-small {
    direction: rtl;
    unicode-bidi: bidi-override;
    font-size: 18px;
    margin-right: 10px;
    color: #105bab;
}
.review-list a.link {
    cursor: pointer;
    font-size: 0.9em;
    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: 0.8em;
    font-style: italic;
}
.review-list .rdesc {
    font-size: 0.9em;
}
.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 {

  /* styling */
     background-color: #231f20;
    border: 0px;
    color: #FFF;
    display: inline-block;
    font: inherit;
    line-height: 1em;
    /* padding: 0.5em 3.5em 0.5em 1em; */
    margin: 0;
    padding-left: 1em;
    padding-right: 3em;
    cursor: pointer;
    padding-bottom: 0.3em;
    padding-top: 0.3em;
    height: auto;

  /* reset */

  margin: 0;      
  -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 #231f20;

}
.col-sm-5.select-news {
    display: flex;
}
.select-cat select:focus {
    outline: none;
}
.select-cat select option {
    background: #0f5bab;
    color: white;
    border: 0px;
}

.select-cat select.select-sort-by{
  /*background: url(../images/background/icon-select-sort.png) top right no-repeat #105bab;*/
}
.select-cat select.select-sort-by option {
    background: #105bab;
    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 !important;
    padding-right: 0px !important;
    width: max-content;
    display: inline-block;
    float: right;
}
.tabs-top .style_show span {
    font-weight: bolder;
}
.tabs-top .style_show a {
    font-size: 25px;
    color: #cccccc;
}
.tabs-top .style_show a:hover,
.tabs-top .style_show a:active {
    color: #105bab;
}
.tabs-top .style_show a.active {
    color: #105bab;
    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: 1em;
    font-weight: normal;
    line-height: 40px;
    color: #6c6c6c;
}
.list-item .list-img {
    /*padding: 0 40px;*/ /*media*/
    /*border-right: 1px solid #105bab;*/
}
.list-item .list-detail {
    padding-left: 50px;
    font-size: 1em;
}
.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: 1em;
    color: #231f20;
    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: #105bab;
}
.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: #231f20;
}
.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: 1em;
    line-height: 35px;
}
.adv-search h3 {
    color: #105bab;
}
.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: transparent;
}

/*-------------------*/
/*  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: 'akrobat-extrabold', sans-serif; */
    /* font-size: 0.9em; */
    font-weight: bold;
    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: 0 0 20px 0;
}
.page-profile input[type="file"] {
    display: none;
}
.page-profile .custom-btn-profile {
    cursor: pointer;
    color: #ffffff;
    background-image: -moz-linear-gradient(-25deg, #231f20 70%, #0a0a0a 70%);
    background-image: -webkit-linear-gradient(-25deg, #231f20 70%, #0a0a0a 70%);
    background-image: -o-linear-gradient(-25deg, #231f20 70%, #0a0a0a 70%);
    background:#0a0a0a;

    padding: 8px 28px 8px 28px;
    font-weight: lighter;
    font-size: 17px;
}
.page-profile .custom-form-inline > div {
    margin-bottom: 20px;
}
.page-profile .custom-form-inline .text-title {
    padding-right: 10px;
    font-weight: bold;
    font-size: 1em;
    color: #231f20;
    vertical-align: inherit;
}
.page-profile .custom-form-inline input[type="text"] {
    border: 0;
    border-bottom: solid 1px #a9a9a9;
    background-color: transparent;
    color: #949494
    font-size: 1em;
    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: 1em;
    height: 1em;

    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: #fff;
    font-size: 1em;
    text-align: center;
    line-height: 1em;
}
/*---------------*/
/*    Side Bar   */
/*---------------*/
.sidebox.product {
}
.sidebox .item {
    width: 65%;
    float: none;
    margin: 25px auto;
}
label.gen {
    font-size: 0.7em !important;
}

/*--------------*/
/*   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 #9E9E9E;*/
  box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
    border-radius: 5px;
    background-color: transparent;
    margin-bottom: 30px;
}
.box-generic.box-news.feed {
    background: #fff;
}
.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;
}
.modal-title {
	font-weight: bold;
}
.modal-body {
	line-height: 25px;
	font-size: 0.8em;
}
.modal-footer {
	padding: 10px;
}
.modal-footer .btn {
	margin-bottom: 0px;
}

.modal-success-dialog {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    width: auto;
    padding: 10px;
    z-index: 1050;
    width: 550px;
    padding-top: 80px;
}
.modal-success-header {
    margin: 30px;
    text-align: center;
    font-size: 1.2em;
}

.modal-success-header>img {
    max-height: 100px;
    margin-top: -80px;
    margin-bottom: 20px;
}
.modal-success-title {
    font-weight: bold;
    color: #105bab;
}
.modal-success-body {
    margin: 20px;
    text-align: center;
    line-height: initial;
}
.modal-success-footer {
    margin: 30px;
    text-align: center;
}
.media .media-body {
}
.media .media-body .media-heading {
    margin: 0;
}
.media .media-body .media-heading .line-2 {
    color: #666;
    font-size: 0.9em;
    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: #f9f9f9;
    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: #999999;
    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 {
    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;
    padding-bottom: 5px;
}
.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;*/
    padding: 10px;
    border-top: 0;
    background-color: #fff;
}
.box-news .news-comments .media .media-body,
.box-news .news-my-comment .media .media-body {
}
.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: 0.9em;
    display: inline-grid;
    word-wrap: break-word;
    -ms-word-break: break-all;
    /* border-bottom: 1px solid #ddd; */
    word-break: break-all;
    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;
}
.shelf-delete-btn a.button {
	padding: 0;
	position: absolute;
	top: -20px;
	left: 10px;
}

/*.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: #105bab;
    color: white;
    font-size: 35px;
    padding: 7px;
    border-radius: 20px;
    display: table-cell;
    cursor: pointer;
}
.but-space {
    display: table-cell;
    width: 10px;
    padding: 5px;
}

.but-hover a,
.but-hover a:hover {
    color: white;
    text-decoration: none;
}

.img-height {
    position: relative;
}

.input-label{
    color: #231f20;
    font-size: 1em;
    font-weight: bold;
    height: 40px;
    padding: 15px 0;
    vertical-align: middle;
}
.navbar .dropdown-menu {
    border-top: 2px solid #63acda !important;
}
.header-area .menu-header .dropdown-menu {
    font-family: 'prajad';
    font-size: 12px;
    top: 75%;
    background-color: #231f20;
    padding: 10px 0;
    width: auto;
    text-align: left;
    padding: 5px 10px;
}
.container-full{
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding-top: 2em;
    padding-bottom: 2em
}
.owl-wrapper {
    width: 100% !important;
}
.owl-item {
    width: 25% !important;
}
.icomoon-addshelf:before {
    content: "\e900";
    color: #fff !important;
}
.news-all-des {
   /*height: 6em; */
    height: 6em; 
    font-size: 0.85em;
    line-height: 1.2;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.5em;
    height: 4.5em;
}
span.news.color-gray.newsall-date {
    font-size: 0.8em;
}
.item.col-md-4.col-xs-12.col-sm-4.d-flex.align-items-stretch {
    padding-left: 30px;
    padding-right: 30px;
    top: -72px;
}
img.img-news-all-demo {
    /* width: 100% !important; */
    /* height: auto !important; */
    max-height: 155px !important;
    /* min-height: 155px !important; */
}
img.img-avatar{
    border-radius: 50%;
    width: 2em;
}
.card-mr{
    box-shadow: 5px 4px 15px 1px rgba(50, 50, 50, .5);
}
.border-bottom-primary {
    border-bottom: 3px solid #105bab;
}
.news-home{
    word-break: break-all;
}
.title-news {
    /*height: 2.5em;*/
    overflow: hidden;
    font-weight: bold;
    color: #616161 !important;
}
.title-news  a{
    color: #616161 !important;
}

.comment-news-all {
        padding-top: 0.5em;
    padding-bottom: 0.5em;
    border-bottom: 1px solid #ddd;
    margin-bottom: 0.5em;
}
.news-name {
    padding-left: 0px;
    margin-top: auto;
    margin-bottom: auto;
    padding-top: 0.5em;
    color: #212121;
    font-size: 1em;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: 'kanit';
}
.color-primary{
    color: #105bab;
}
.mt-auto.btn-primary.bag-primary.text-white.text-center {
        background: #105bab;
    border: #105bab;
    /* margin-left: 1em; */
    /* margin-right: 1em; */
    /* height: 1.2em; */
    color: #fff;
    margin-top: 0em;
    font-size: 0.8em;
    padding-bottom: 12px;
    padding-top: 12px;
    margin-left: 3em;
    margin-right: 3em;
    padding-left: 10px;
    padding-right: 10px;
}
.mt-auto.btn-primary.bag-primary.text-white.text-center a{
    color: #fff;
}
.button {
  /*background: #76B3FA;*/
  border-radius: 100px;
  padding: 20px 60px;
  /*color: #fff;*/
  text-decoration: none;
  font-size: 1.45em;
  margin: 0 15px;
}
.news-date {
    color: #105bab;
    margin-bottom: 0.5em;
    font-size: 0.75em;
    line-height: 1;
}

.ebook.bg.container.text-center.news {
    z-index: 5;
    position: sticky;
    height: 420px;
}
.mt-2{
    margin-top: 2em;
}
.mt-1{
    margin-top: 1em;
}
        .divider {
    width:auto;
    text-align:center;
}

.divider hr {
    margin-left:auto;
    margin-right:auto;
    width:27%;

}

.left {
    float:left;
}
hr.left {
    margin: 10px;
    border: 1px solid #105bab;
}
hr.right {
    margin: 10px;
    border: 1px solid #105bab;
}
.right {
    float:right;
}
.container.inner.footer {
    padding-top: 2em;
    padding-bottom: 2em;
}
.footer-copyright {
    padding-top: 20px !important;
}
img.download-app {
    height: 50px;
}
.asd {
    position: relative;
    width: 0.5em;
    margin-left: 0.3em;
    margin-right: 0.3em;
    height: max-content;
    bottom: 3px;
}
.breadcrumb {
    padding: 8px 15px;
    margin-bottom: 0px;
    list-style: none;
    background-color: #fff;
    border-radius: 4px;
    height: max-content;
}
.breadcrumb.sub {
    padding-left: 0px !important;
}
.breadcrumb.sub.custom {
    padding-bottom: 5px;
}
.breadcrumb.sub{
                font-size: 1.6em;
    color: #000;
    padding-left: 0;
    display: flex;
    text-transform: none;
    /* font-family: 'century'; */
    font-style: italic;
    padding-top: 29px;
    padding-bottom: 20px;
    background-image: url('/styles/belibs/images/background/bg_categories_header.png');
    background-repeat: round;

            }
            div.sub-main a{
            color:#b5b6b6;
            font-weight: bolder;
            }
            div.sub-main {
            background: transparent;
            /*padding: 0.4em 0.5em;*/
            padding-left: 0px;
            /*text-transform: uppercase;*/
            /*border-left: solid 6px #241f23;*/
            /*background: rgba(255,166,7,1);*/
            /*background: -moz-linear-gradient(left, rgba(255,166,7,1) 0%, rgba(244,131,4,1) 100%);
            background: -webkit-gradient(left top, right top, color-stop(0%, rgba(255,166,7,1)), color-stop(100%, rgba(244,131,4,1)));
            background: -webkit-linear-gradient(left, rgba(255,166,7,1) 0%, rgba(244,131,4,1) 100%);
            background: -o-linear-gradient(left, rgba(255,166,7,1) 0%, rgba(244,131,4,1) 100%);
            background: -ms-linear-gradient(left, rgba(255,166,7,1) 0%, rgba(244,131,4,1) 100%);
            background: linear-gradient(to right, rgba(255,166,7,1) 0%, rgba(244,131,4,1) 100%);
            filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffa607', endColorstr='#f48304', GradientType=1 );*/
            }
            .breadcrumb.sub > div + div:before {
            content: "/\00a0";
            padding: 0 5px;
            color: #cccccc;
            display: none;
            }
            .breadcrumb.sub > div + div:before {
            padding: 0;
            }
            div.sub-active{
            background: transparent;
            color: #105bab;
            /*padding: 0.4em 0.5em;*/
            /*padding-left: 0.5em;*/
            font-weight: bolder;
            /*text-transform: uppercase;*/
            }
            .sub-active.che {
            -webkit-clip-path: polygon(0 0, 50% 0, 0 100%, 0 100%);
            clip-path: polygon(0 0, 50% 0, 0 100%, 0 100%); 
            right: 1px;
             position: relative;
            }
.line-2 {
    font-size: 0.6em;
    padding-top: 3px;
}
.col-md-3.custom-right-box {
    padding-left: 2em;
}
div#main_content {
    padding-right: 2em;
}
.event-header {
    /*white-space: nowrap;*/
    overflow: hidden;
    text-overflow: ellipsis;
}
h4.line-1.mbn.textSub.pln.prn {
    font-weight: bolder;
    text-overflow: ellipsis;
    word-break: break-all;
    margin-bottom: 0px;
        display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.1em;
}

h3.txt-green {
    font-size: 1.2em;
    font-weight: bolder;
    /* margin-bottom: 1em; */
    color: #0f5bab;
}
.news-right {
    padding-left: 5px;
    padding-right: 5px;
    /* height: 0; */
    margin-bottom: 1em;
    margin-top: 10px;
}
h3.color-primary.mt-3.mb-2.news-read-more {
    font-size: 1em;
    line-height: 1em;
}
h3.color-primary.title-news {
    margin-bottom: 0px;
    text-align: start;
    line-height: 1;
}
img.news-icon {
    width: 1.8em;
}
.badge {
    display: inline-block;
    min-width: 10px;
    padding: 3px 7px;
    font-size: 1em;
    font-weight: bold;
    color: #938383;
    line-height: 1;
    vertical-align: baseline;
    white-space: nowrap;
    text-align: center;
    background-color: transparent;
    border-radius: 10px;
}
.box-news .news-actions {
   padding-bottom: 0.5em;
    padding-top: 0.5em;
    /* padding-left: 1em; */
    /* padding-right: 1em; */
    margin-left: 1em;
    margin-right: 1em;
    border-top: 1px solid #ddd;
}
.col-xs-3.action-btn {
    width: auto;
}
.col-xs-3.action-btn.has-clicked span.badge {
    color: #105bab;
}
a.action-icon-comment {
    cursor: default;
}
.col-xs-3.text-right.seemorenews {
    width: max-content;
    /* display: inherit; */
    float: right;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}
.line-2 i {
    font-size: 1em;
}
.box-generic.box-news.detail {
    box-shadow: none;
    padding: 0px;
}
.text-right.col-xs-3.seemorenews.detail {
    display: none;
}
.news-actions.detail {
    margin-left: 0;
    margin-right: 0;
}
.news-content.detail {
    padding: 0;
    padding-bottom: 1em;
}
textarea.form-control.txt-your-comment.detail {
    font-size: 1em;
    height: 1em !important;
    min-height: 2em;
    width: 100%;
    -webkit-appearance: none;
    border: 0px none transparent;
    border-radius: 35px;
    line-height: 1.7;
    padding: 3px 5px;
    padding-left: 1em;
    background: #eee;
}
.tooltip {
    display: none !important;
}
.media.box-comment a img {
    width: 1.5em;
}
.media.box-comment{
    border-bottom: 1px solid #ddd;
}
h3.txt-blue.mbl {
    font-size: 1.7em;
    color: #231f20;
    line-height: 1;
    font-weight: bolder;
}
.media.naja.des-news img {
    width: 3.5em;
}
.line-3.des-news {
    font-size: 0.75em !important;
    margin-top: 0.5em;
}
span.au-detail.des-news {
    font-size: 1.1em;
}
.owl-item {
    max-width: 300px !important;
}
img.avatar {
    width: 2.5em;
}
.media .media-body .media-heading .line-3 {
    font-size: 0.8em;
    color: #aeaeae;
    display: block;
}
.media.naja {
    border-bottom: 1px solid #757575;
    padding-bottom: 0.5em !important;
    margin-bottom: 0.5em;
}
.container-full.home-row-label {
    padding-bottom: 10px !important;
}
span.au-detail {
    font-size: 1.2em;
    font-weight: bolder;
    color: #241f20;
}
.media.naja {
    border-bottom: 1px solid #BDBDBD;
    padding-bottom: 0.5em !important;
    margin-bottom: 0.5em;
    margin-top: 0px;
}
br {
    content: "";
    margin: 2em;
    display: block;
    font-size: 24%;
}
h3.txt-blue {
    font-size: 1.5em;
    color: #231f20;
}
a.dropdown-toggle.js-activated {
    padding-top: 0.6em;
}
.row.show_all {
    /*margin-bottom: 2em;*/
}
.col-sm-6.de a {
    color: #6c6c6c;
}
.col-sm-6.de a :hover{
    color: #105bab;
}
.slick-prev:before, .slick-next:before {
    font-family: 'slick' !important;
    font-size: 25px !important;
    line-height: 1 !important;
    opacity: .15 !important;
    color: #211f1e !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}
.slick-dots li.slick-active button:before {
    opacity: .75;
    color: #105bab !important;
}
.row.show_all {
    border-bottom: 1px solid #ddd;
    padding-bottom: 2em;
    padding-top: 2em;
}
.styled-select {
   background: url(/styles/belibs/images/background/15xvbd5.png) no-repeat 96% 0;
   height: 29px;
   overflow: hidden;
   width: 240px;
}

.styled-select select {
   background: transparent;
   border: none;
   font-size: 14px;
   height: 29px;
   padding: 5px; /* If you add too much padding here, the options won't show in IE */
   width: 268px;
}

.styled-select.slate {
   background: url(http://i62.tinypic.com/2e3ybe1.jpg) no-repeat right center;
   height: 34px;
   width: 240px;
}

.styled-select.slate select {
   border: 1px solid #ccc;
   font-size: 16px;
   height: 34px;
   width: 268px;
}

/* -------------------- Rounded Corners */
.rounded {
   -webkit-border-radius: 20px;
   -moz-border-radius: 20px;
   border-radius: 20px;
}

.semi-square {
   -webkit-border-radius: 5px;
   -moz-border-radius: 5px;
   border-radius: 5px;
}


select.select-naja, select.select-naja {
    -webkit-appearance: none;
    /*webkit browsers */
    -moz-appearance: none;
    /*Firefox */
    appearance: none;
    /* modern browsers */
    border-radius: 0;
    /* -webkit-appearance: button; */
    -webkit-border-radius: 2px;
    -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
    -webkit-padding-end: 20px;
    -webkit-padding-start: 2px;
    -webkit-user-select: none;
    background-image: url(../images/background/15xvbd5.png), -webkit-linear-gradient(#FAFAFA, #F4F4F4 40%, #E5E5E5);
    background-position: 97% center;
    background-repeat: no-repeat;
    border: 1px solid #AAA;
    color: #555;
    font-size: inherit;
    margin: 0px;
    overflow: hidden;
    padding: 5px 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: auto;
}

select.select-naja {
    color: #eee;
    background-image: url(../images/background/icon-select.png);
    background-color: #0f5bab;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    padding-left: 15px;
    padding-right: 45px;
    width: 240px;
}
.card-mr.border-bottom-primary.news-home {
    padding: 0.7em;
    background: #FFF;
}
h3.color-primary.title-news {
    height: auto;
    font-family: 'kanit';
    font-size: 0.9em;
    font-style: normal;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.5em;
}
div#marc {
    display: none;
}
/*.btn, .parallax .btn-submit, .btn-submit {
    color: #fff !important;
    background: #3f8dbf;
    margin-bottom: 10px;
    margin-right: 5px;
    padding: 11px 20px 10px 20px;
    font-weight: normal;
    font-size: 1em;
}*/
.avarta-head img {
    width: 1.5em;
    border: 0px;
}
li.dropdown {
    margin-left: 0px;
}
li.avarta-head {
    padding-top: 0.5em;
}
a.dropdown-toggle {
    padding-left: 10px !important;
}
.tabs-top.tabs-sort .text-sort span.show-cat {
    color: #4f4f4f;
    border: none;
    font-size: 1em;
    padding: 0 13px;
}
ul.border-naja {
    list-style:none;
    width:100%;
    font-size:0;
    padding-left: 0px !important;
    margin-bottom: 0px;
}
li.b {
    display:inline-block;
    height:2px;
}
li.b-1 {
    background:#105bab;
    width:20%;
}
li.b-2 {
    background:#E0E0E0;
    width: 80%;
}
.news-text.mtl.clearfix.des {
    line-height: 1;
}
.owl-item {
    max-width: 300px !important;
}
img.avatar {
    width: 2.5em;
}
.media .media-body .media-heading .line-3 {
    font-size: 1em;
    color: #aeaeae;
    display: block;
}
h4.media-heading.pull-left{
    padding-top: 10px;
}
.media.naja {
    border-bottom: 1px solid #757575;
    padding-bottom: 0.5em !important;
    margin-bottom: 0.5em;
}
span.au-detail {
    font-size: 1.2em;
    font-weight: bolder;
    color: #0f5bab;
}
.media.naja {
    border-bottom: 1px solid #BDBDBD;
    padding-bottom: 0.5em !important;
    margin-bottom: 0.5em;
    margin-top: 0px;
}
.ptl.news-de {
    margin-top: 1em;
}
.news-text.mtl.des img {
    width: 100% !important;
    height: auto !important;
}
.news-text.mtl.des img {
     width: 100% !important;
    height: auto !important;
}
.news-text.mtl.clearfix.des{
    width: 100% !important;
    height: auto !important;  
    line-height: 1.3;
    font-size: 0.9em;
}
button.btn.btn-success {
    margin-bottom: 0px;
}
img.icon-menu {
    width: 16px;
    height: 16px;
    margin-right: 15px;
}
.social-media{
    float: right;
    position: relative;
    top: 10px;
    font-size: 1em;
    }
ul.nav.navbar-nav {
    float: right;
}
.modal {
    display: none;
    overflow: auto;
    overflow-y: scroll;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;
}
.col-xs-1-10,
.col-sm-1-10 {
  position: relative;
  min-height: 1px;
}

.col-xs-1-10 {
  width: 10%;
  float: left;
}

@media (min-width: 768px) {
  .col-sm-1-10 {
    width: 10%;
    float: left;
  }
}

@media (min-width: 992px) {
  .col-md-1-10 {
    width: 10%;
    float: left;
  }
}

@media (min-width: 1200px) {
  .col-lg-1-10 {
    width: 10%;
    float: left;
  }
}
img.menu-icon{
    width: 26px !important;
}
.py-2{
    padding-top: 2em;
    padding-bottom: 2em;
}
.py-1{
    padding-top: 1em;
    padding-bottom: 1em;
}
.row-menu-icon{
  /*  padding-top: 0.5em;
    padding-bottom:0.5em;*/
}
.icon-title {
    font-size: 12px;
    margin-top: 7px;
    color: #fff;
}
.img-icon {
    height: 24px;
    vertical-align: middle;
    line-height: 2px;
}
img.menu-icon.h {
    height: 28px;
}
img.menu-icon.w {
    width: 29px !important;
}
.col-md-1.text-center.menu-icon {
    padding-bottom: 0.5em;
    padding-top: 0.5em;
    font-family: 'century';
}
.text-center.menu-icon:hover {
    background: #13112961 !important;
}
.container.inner.home {
    padding-top: 0px;
}
.container-full.home-row-label {
    background-image: url(/styles/belibs/images/background/categories_plate_medium.svg);
    background-repeat: no-repeat;
    background-size: 305px 120px;
}
.label-home-bar{
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
.label-home-bar-son{
    font-weight: bold;
    width: 25%;
    height: auto;
    font-size: 28px;
    -webkit-transform: skew(-20deg);
    -moz-transform: skew(20deg);
    -o-transform: skew(20deg);
    background: #00aef0;
    padding: 15px;
    color: #fff;
    border-right: 10px solid #105aab;
    background: rgb(19,153,240);
    background: -moz-linear-gradient(61deg, rgba(20, 189, 253) 0%, rgba(1,168,239,1) 100%);
    background: -webkit-linear-gradient(61deg, rgba(20, 189, 253) 0%, rgba(1,168,239,1) 100%);
    background: linear-gradient(61deg, rgba(20, 189, 253) 0%, rgba(1,168,239,1) 100%);
    left: 290px;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#1399f0",endColorstr="#01a8ef",GradientType=1);
    position: absolute;
}
img.logo-app {
    width: 110px;
}
a.see-all-btn.news {
    font-size: 20px;
    z-index: 111;
    position: inherit;
}
.icon-title-book{
    width: 26px;
}
img.breadcrumb-naja {
    width: 26px;
}
.container-fluid.bg-book-detail{
    background-image: url('/styles/belibs/images/background/bg_body_content.png');
    padding-top: 1.5em;
    background-repeat: round;
    background-repeat-y: no-repeat !important;
 }
.container-fluid.bg-book-detail-naja{
    background-image: url('/styles/belibs/images/background/bg_body_content.png');
    padding-top: 1.5em;
    background-repeat: round;
    background-repeat:round!important;
    background-repeat-y: no-repeat !important;

}
.news-text {
    line-height: 1.2;
}
a.seemorenews {
    color: #000;
    border-bottom: 1px solid #000;
    font-size: 1em;
    }
.container-full.home-row-label {
    padding-top: 0px;
}
.input-label.custom {
    font-size: 1em;
}
p.forgot {
    font-size: 1em;
}
img.breadcrumb-naja.news {
    width: 19px;
    margin-right: 5px;
    padding-bottom: 3px;
}
form#frm_search {
    font-size: 0.8em;
}
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    color: #555555;
    background-color: transparent;
    border: 1px solid #0f5bab;
    border-bottom-color: #0f5bab;
    cursor: default;
}
.nav-tabs {
    border-bottom: 1px solid #0f5bab;
}
.nav-tabs > li > a:hover {
    border-color: #03A9F4 #03A9F4 #03A9F4;
}
#onhover {
  display: none;
}
#surround:hover span[id="initial"] {
  display: none;
}
#surround:hover span[id="onhover"] {
  display: block;
}
.icon-title.normal {
    color: #63acda;
}
.container-full.home-row-label.bg {
    background-color: #e4f7fe;
}
i.fa.fa-calendar.event {
    font-size: 3em;
    color: #105aab;
    margin-top: 14px;
    margin-bottom: 8px;
}
img.img-cover.multimedia {
    height: 130px;
    object-fit: cover;
}
.slick-slide img {
    display: inline;
}
.row-menu-icon.menu {
    padding: 5px 5px;
    /*padding-top: 10px;*/
}
.text-center.menu-icon {
    padding-top: 5px;
}
a.btn.btn-lg.btn-info.btn-details.knowleage {
    border-radius: 4px;
    padding: 10px 30px;
    background: #035ba9;
}
a.btn.btn-lg.btn-info.btn-details.knowleage:hover {
    border-radius: 4px;
    padding: 10px 30px;
    background: #035ba9;
    color: #fff;
}
@media screen 
  and (min-device-width: 1200px) 
  and (max-device-width: 1400px) 
  and (-webkit-min-device-pixel-ratio: 1) { 
    .label-home-bar-son {
    width: 25%;
    height: auto;
    font-size: 28px;
    -webkit-transform: skew(-20deg);
    -moz-transform: skew(20deg);
    -o-transform: skew(20deg);
    background: #00aef0;
    padding: 15px;
    color: #fff;
    border-right: 10px solid #105aab;
    background: rgb(19,153,240);
    background: -moz-linear-gradient(61deg, rgba(20, 189, 253) 0%, rgba(1,168,239,1) 100%);
    background: -webkit-linear-gradient(61deg, rgba(20, 189, 253) 0%, rgba(1,168,239,1) 100%);
    background: linear-gradient(61deg, rgba(20, 189, 253) 0%, rgba(1,168,239,1) 100%);
    left: 78px;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#1399f0",endColorstr="#01a8ef",GradientType=1);
    position: absolute;
}
}
.item.d-flex.align-items-stretch {
    padding: 30px 30px 0 30px;
}
.row.mt-1.newssilder {
    top: -100px;
}
.row.mt-1.eventsilder {
    top: -75px;
}
.col-md-5.ft-3 {
    padding: 3em 0em;
}
.title-cover-name-type {
    background: #2270b7;
    color: #fff;
    padding: 4px 0px;
    margin-top: 10px;
    font-size: 18px;
}
.title-cover-name.search {
    padding-top: 0.5em;
}
footer.wrapper.container-full {
    padding-top: 5px;
    padding-bottom: 1px;
}
.icon-title {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
a.login.mobile {
    display: none;
}
a.infouser.mobile {
    color: #035ba9 !important;
}
a.login {
    color: #035ba9 !important;
}
a.infouser.mobile {
    display: none;
}
.navbar-nav > li > a.login {
    padding-left: 10px !important;
}
.navbar-nav > li > a.infouser {
    padding-left: 10px !important;
}
.sub-details4 {
    overflow-y: scroll;
    /* text-overflow: clip; */
    /* overflow-wrap: normal; */
    overflow: overlay;
}.cover-img.np {
    /* padding-top: 40px; */
}
.cover-img.cd {
    height: 190px;
    object-fit: cover;
}
.cover-img.multimedia {
    height: 180px;
    object-fit: cover;
}
/*.cover-img.np {
    height: 250px !important;
}*/
img.img-cover.cd {
    height: 175px;
    object-fit: cover;
}
.cover-img.shelf {
    padding-left: 25px;
    padding-right: 25px;
    height: 380px;
}
img.img-cover-list.shelf {
    max-height: 300px !important;
}
img.img-cover-list.vdo {
    max-height: 130px !important;
}
.title-cover-name.search {
    height: 3.5em;
}
.language {
    float:right;
    margin-top: 11px;
}
.language.point {
    line-height: 20px;
    padding-top: 3px;
    margin-left: 10px;
}
.point-remain {
    font-size:1.1em;
}
.point-unit {
    font-size:0.7em;
    color:#626262;
    margin-bottom: 0px;
}
.badge-notify{
   background:red !important;
   position:relative !important;
   top: -20px !important;
   left: -35px !important;
  }
  .icon-headernav {
    color: #ff6200;
    font-size: 16px;
}

.button-header {
    cursor: pointer;
}


.notification-dot {
    height: 8px;
    width: 8px;
    background-color: #f70202;
    border-radius: 50%;
    border: 1px solid #f70202;
    display: inline-block;
    position: relative;
    top: -7px;
    left: -84px;
}
.noti-icon{
    width: 3rem;
}
li.list-noti {
    overflow: hidden;
    overflow-wrap: break-word;
    text-overflow: ellipsis;
    font-size: 0.9em;
}
ul.dropdown-menu.custonm-noti {
    top: 76% !important;
}
.custom-menu-noti {
    padding: 13px;
    font-size: 1.5em;
    cursor: pointer;
}
.mr-05{
    margin-right: 0.5em;
}