@font-face {
    font-family: roboto;
    src: url(Roboto-Regular.ttf);
}

@font-face {
    font-family: oswald;
    src: url(Oswald-Regular.ttf);
}

@font-face {
    font-family: lato;
    src: url(Lato-Regular.ttf);
}

html, body, select 
{ 
    font-family: oswald,lato,roboto, Arial, sans-serif;
}

html, body
{
    font-size: 14px;
  
}

hr, hr.sub
{
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #333333;
    margin: 1em 0;
    padding: 0;
}

body, div, span, p {
    text-align: justify;
}

a
{
    color: #000000; /*#19648F; */
}

h1
{
    font-size: 2.1em;
}

h2
{
    font-size: 1.7em;
}

h3
{
    font-size: 1.5em;
}

h4
{
    font-size: 1.3em;
}

ol
{
    margin-left: 40px;
}

ol li p
{
    margin-bottom: 0px;
}

ol li
{
    margin-bottom: 15px;
}

ul li ul
{
    margin-left: 20px;
}

footer
{
    margin-top: 20px;
}

.logo
{
    padding: 5px 0 5px 0;
}

div.site-header-wrapper
{
    width: 100%;
    background-color: #FFFFFF;
}

header.site-header
{
    max-width: 1140px;
    position: relative;
    margin: 0 auto;
}

header.site-header section
{
    display: inline-block;
}

section.navigation
{
    position: absolute;
    right: 0;
    margin-top: 32px;
}

nav ul
{
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li
{
    display: inline-block;
    line-height: 105px;
    vertical-align: bottom;
    font-size: 1.6em;
}

nav ul li a
{
    padding: 10px 15px 12px 15px;
    text-decoration: none;
}

nav ul li a:hover,
nav ul li a.selected
{
    background-color:#C00000;     /* #0F3C56; */
    color: #FCFCFC;
    text-decoration: none;
}

nav ul li a:hover
{
    border-top: 1px dashed #FCFCFC;
    border-left: 1px dashed #FCFCFC;
    border-right: 1px dashed #FCFCFC;
    padding-left: 14px;
    padding-right: 14px;
}

nav ul li a.selected:hover
{
    border-top: none;
    border-left: none;
    border-right: none;
    padding-left: 15px;
    padding-right: 15px;
}

section.content
{
    margin-top: 1px;    
}

.masthead
{
    border-bottom: 5px solid #ffffff;/*5px solid #0F3C56;*/
    /*width: 100%;*/ 
}

.masthead,
.news,
.pdpa,
.coc,
.seminars {
    border-top: 5px solid #FFFFFF; /* border-top: 5px solid #19648F; */
}

.masthead img
{
    width: 100%;
    height: 300px;
}

div.site-content
{
    margin-top: 10px;
}

section.news,
section.events
{
    margin-bottom: 20px;
}

div.services ul,
div.membership ul
{
    margin-left: 20px;
    list-style-type: square;
}

div.services ul li ul,
div.membership ul li ul
{
    list-style-type: lower-latin;
}

section.more
{
    text-align: right;
}

.contact-us section
{
    margin-bottom: 10px;
}

section.branch h4,
.company-information h4
{
    font-weight: bold;
}

section.branch section.address
{
    margin-left: 10px;
}

footer
{
    background:#C00000; /* #0F3C56; */
    padding: 1px;
    border-top: 5px solid #C00000; /*#19648F; */
    /*color: #FCFCFC;*/
    font-size: 1.2em;
}

.underline
{
    text-decoration: underline;
}

/* bxslider */

.bx-wrapper .bx-viewport 
{
    -moz-box-shadow: 0 !important;
    -webkit-box-shadow: 0 !important;
    box-shadow: none !important;
    border: 0 !important;
    left: 0 !important;
    background: #fff !important;
}

.bx-wrapper .bx-pager, .bx-wrapper .bx-controls-auto
{
    bottom: 0px !important;
}

.bx-wrapper
{
    margin-bottom: 0px !important;
}

.bx-wrapper .bx-pager.bx-default-pager a
{
    background: #FFF !important;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover, .bx-wrapper .bx-pager.bx-default-pager a.active
{
    background: #AAA !important;
}

.rotate-270 {
    filter:  progid:DXImageTransform.Microsoft.BasicImage(rotation=0.083);  /* IE6,IE7 */
         -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0.083)"; /* IE8 */
     -moz-transform: rotate(-90.0deg);  /* FF3.5+ */
      -ms-transform: rotate(-90.0deg);  /* IE9+ */
       -o-transform: rotate(-90.0deg);  /* Opera 10.5 */
  -webkit-transform: rotate(-90.0deg);  /* Safari 3.1+, Chrome */
          transform: rotate(-90.0deg);  /* Standard */
    position: absolute;
    margin-top: 35px;
    margin-left: -20px;
}

.individual {
    margin-top: 16px;
}

.button-apply {
    font-size: 2em;
    /* padding: 30px 50px 30px 50px; */
}

footer p {
    color: #FFF;
}

.news,
.pdpa,
.coc,
.seminars {
    margin-top: 0px !important;
}

.news h3 {
    font-weight: 700;
    text-transform: uppercase;
}

.news h4 {
    margin-top: 0px;
    font-size: 1.1em;
    font-style: italic;
}

.news-content {
    padding-top: 20px;
}

.pdpa ol > li {
    margin-left: 10px;
    padding-left: 15px;
}

.pdpa ol > li > ul > li {
    list-style-type: lower-alpha;
    margin-left: 25px;
    padding-left: 15px;
}

.coc ol {
    list-style-type: none;
}

.coc ol.section,
.coc ol.section1 {
    counter-reset: section;
}

.coc ol.section li,
.coc ol.section1 li {
    position: relative;
}

.coc ol.section > li:before,
.coc ol.section1 > li:before {
    counter-increment: section;
    content: counter(section) ".";
    padding-right: 20px;
    margin-left: -32px;
    position: absolute;
}

.coc ol.section1 > li:before {
    margin-left: -36px;
}

.coc ol.section.point-bold > li:before,
.coc ol.section1.point-bold > li:before,
.coc ol.subsection.point-bold > li:before {
    font-weight: bold;
}

.coc ol.subsection {
    counter-reset: subsection;
}

.coc ol.subsection > li:before {
    counter-increment: subsection;
    content: counter(section) "." counter(subsection);
    padding-right: 20px;
    margin-left: -35px;
}

ol.lower-alpha {
    list-style-type: lower-alpha;
}

.coc ol li div {
    display: inline-block;
    font-weight: bold;
    font-size: 1.2em;
}

.padding-top-10 {
    padding-top: 10px !important;
}

.padding-top-20 {
    padding-top: 20px !important;
}

.padding-bottom-10 {
    padding-bottom: 10px !important;
}

.padding-bottom-20 {
    padding-bottom: 20px !important;
}

.seminar-item {
    border-bottom: 2px solid #19648F;
}

.seminar-item:last-child {
    border-bottom: 0 solid transparent;
}

.seminar-item h3 {
    font-weight: bold;
}

.seminars .dotted {
    border-bottom: 1px dotted #333;
}

.margin-left-m-15 {
    margin-left: -15px;
}

.margin-right-m-15 {
    margin-right: -15px;
}

.validation-error-message {
    padding-left: 10px;
    padding-bottom: 0px;
    margin-bottom: 0px;
    color: #FF0000;
}

/* media screen */
@media (max-width : 768px) {
    html, body
    {
        font-size: 12px;
    }
    
    h2
    {
        font-size: 1.7em;
    }
    
    h3
    {
        font-size: 1.5em;
    }
    
    h4
    {
        font-size: 1.3em;
    }
    
    .navbar-default .navbar-nav>li>a
    {
        font-size: 1.1em;
    }
    
    .navbar-default .navbar-nav>li>a:hover
    {
        background-color: #DDDDDD;
    }
    
    div.site-content
    {
        margin-top: 0px;
    }
    
    .masthead
    {
        border-top: 1px solid #0F3C56;
        border-bottom: 2px solid #0F3C56;
    }
    
    .masthead img
    {
        height: 120px;
    }
    
    /*.container
    {
        margin: 0;
        padding: 0;
    }*/
    
    ol {
        margin-left: 20px;
    }
    
    .coc ol {
        margin-left: 35px;
    }
    
    .rotate-270,
    .individual {
        margin-left: -24px;
    }
    
    .button-apply {
        font-size: 2em;
        padding: 20px 40px 20px 40px;
    }
}

@media (min-width : 768px)
and (max-width: 1199px) {
    .container {
        width: 100%;
    }
}

@media only screen
and (min-width: 400px)
and (max-width: 768px) {
    .masthead img
    {
        height: 180px;
    }
}

@media (min-width : 768px)
and (max-width: 1279px) {
    .masthead img
    {
        height: 240px;
    }
    
    .rotate-270,
    .individual {
        margin-left: -28px;
    }
}

/* firefox hack */
@-moz-document url-prefix() { 
    nav ul li {
        line-height: 102px;
    }
  
    section.content
    {
        margin-top: 0px;
    }
}

/* bootstrap custom */
.container, header.site-header {
    max-width: 1024px;
}

.navbar-default
{
    background-color: #FFFFFF;
    border-color: transparent;
}

.navbar
{
    margin-bottom: 0px;
}

.sub_title
{
	font-weight: bold;
	font-size: 14px;
}

.container-banner
{
	padding-left: 0px;
	padding-right: 0px;
}

/* color box */
#inline_content {
    background-color:#FFF !important;
    padding: 10px 0 10px 0;
}

.bg_grey
{
	background-color: #DDD;
}

.success_box
{
	background-color: #DDFFDD;
	font-weight: bold;
	font-size: 14px;
	padding: 10px;
	margin: 5px 0;
}

.member_title
{
	font-weight: bold;
	font-size: 14px;
	border-top: 1px solid #0f3c56;
	border-bottom: 2px solid #0f3c56;
	padding-top:5px;
}