#fourD-main
{
  background: #FFFFFF;
  margin: 0 auto;
  font-size: 13px;
  font-family: 'Comfortaa', 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  font-weight: normal;
  font-style: normal;
  position: relative;
  width: 100%;
  width: 750px;
  min-height: 100%;
  left: 0;
  top: 0;
  cursor: default;
  overflow: hidden;
}

table, ul.fourD-hmenu
{
  font-size: 13px;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  font-weight: normal;
  font-style: normal;
}

h1, h2, h3, h4, h5, h6, p, a, ul, ol, li
{
  margin: 0;
  padding: 0;
}

.fourD-button
{
  border-collapse: separate;
  -webkit-background-origin: border !important;
  -moz-background-origin: border !important;
  background-origin: border-box !important;
  background: #FFFF29;
  background: linear-gradient(top, #FFFF4C 0, #FFFF05 100%) no-repeat;
  background: -webkit-linear-gradient(top, #FFFF4C 0, #FFFF05 100%) no-repeat;
  background: -moz-linear-gradient(top, #FFFF4C 0, #FFFF05 100%) no-repeat;
  background: -o-linear-gradient(top, #FFFF4C 0, #FFFF05 100%) no-repeat;
  background: -ms-linear-gradient(top, #FFFF4C 0, #FFFF05 100%) no-repeat;
  background: linear-gradient(top, #FFFF4C 0, #FFFF05 100%) no-repeat;
  -svg-background: linear-gradient(top, #FFFF4C 0, #FFFF05 100%) no-repeat;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.15);
  box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.15);
  border: 1px solid #A6A6A6;
  padding: 0 20px;
  margin: 0 auto;
  height: 29px;
}

.fourD-postcontent, .fourD-postheadericons, .fourD-postfootericons, .fourD-blockcontent, ul.fourD-vmenu a
{
  text-align: left;
}

.fourD-postcontent, .fourD-postcontent li, .fourD-postcontent table, .fourD-postcontent a, .fourD-postcontent a:link, .fourD-postcontent a:visited, .fourD-postcontent a.visited, .fourD-postcontent a:hover, .fourD-postcontent a.hovered
{
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.fourD-postcontent p
{
  margin: 12px 0;
}

.fourD-postcontent h1, .fourD-postcontent h1 a, .fourD-postcontent h1 a:link, .fourD-postcontent h1 a:visited, .fourD-postcontent h1 a:hover, .fourD-postcontent h2, .fourD-postcontent h2 a, .fourD-postcontent h2 a:link, .fourD-postcontent h2 a:visited, .fourD-postcontent h2 a:hover, .fourD-postcontent h3, .fourD-postcontent h3 a, .fourD-postcontent h3 a:link, .fourD-postcontent h3 a:visited, .fourD-postcontent h3 a:hover, .fourD-postcontent h4, .fourD-postcontent h4 a, .fourD-postcontent h4 a:link, .fourD-postcontent h4 a:visited, .fourD-postcontent h4 a:hover, .fourD-postcontent h5, .fourD-postcontent h5 a, .fourD-postcontent h5 a:link, .fourD-postcontent h5 a:visited, .fourD-postcontent h5 a:hover, .fourD-postcontent h6, .fourD-postcontent h6 a, .fourD-postcontent h6 a:link, .fourD-postcontent h6 a:visited, .fourD-postcontent h6 a:hover, .fourD-blockheader .t, .fourD-blockheader .t a, .fourD-blockheader .t a:link, .fourD-blockheader .t a:visited, .fourD-blockheader .t a:hover, .fourD-vmenublockheader .t, .fourD-vmenublockheader .t a, .fourD-vmenublockheader .t a:link, .fourD-vmenublockheader .t a:visited, .fourD-vmenublockheader .t a:hover, .fourD-headline, .fourD-headline a, .fourD-headline a:link, .fourD-headline a:visited, .fourD-headline a:hover, .fourD-slogan, .fourD-slogan a, .fourD-slogan a:link, .fourD-slogan a:visited, .fourD-slogan a:hover, .fourD-postheader, .fourD-postheader a, .fourD-postheader a:link, .fourD-postheader a:visited, .fourD-postheader a:hover
{
  font-size: 26px;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  font-weight: normal;
  font-style: normal;
  line-height: 120%;
}

.fourD-postcontent a, .fourD-postcontent a:link
{
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  text-decoration: none;
  color: #111136;
  text-decoration: underline;
}

.fourD-postcontent a:visited, .fourD-postcontent a.visited
{
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  text-decoration: none;
  color: #808080;
}

.fourD-postcontent  a:hover, .fourD-postcontent a.hover
{
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  text-decoration: underline;
  color: #111136;
}

.fourD-postcontent h1
{
  color: #111136;
  margin: 10px 0 0;
  font-size: 26px;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.fourD-blockcontent h1
{
  margin: 10px 0 0;
  font-size: 26px;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.fourD-postcontent h1 a, .fourD-postcontent h1 a:link, .fourD-postcontent h1 a:hover, .fourD-postcontent h1 a:visited, .fourD-blockcontent h1 a, .fourD-blockcontent h1 a:link, .fourD-blockcontent h1 a:hover, .fourD-blockcontent h1 a:visited
{
  font-size: 26px;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.fourD-postcontent h2
{
  color: #111136;
  margin: 10px 0 0;
  font-size: 22px;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.fourD-blockcontent h2
{
  margin: 10px 0 0;
  font-size: 22px;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.fourD-postcontent h2 a, .fourD-postcontent h2 a:link, .fourD-postcontent h2 a:hover, .fourD-postcontent h2 a:visited, .fourD-blockcontent h2 a, .fourD-blockcontent h2 a:link, .fourD-blockcontent h2 a:hover, .fourD-blockcontent h2 a:visited
{
  font-size: 22px;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.fourD-postcontent h3
{
  color: #808080;
  margin: 10px 0 0;
  font-size: 20px;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.fourD-blockcontent h3
{
  margin: 10px 0 0;
  font-size: 20px;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.fourD-postcontent h3 a, .fourD-postcontent h3 a:link, .fourD-postcontent h3 a:hover, .fourD-postcontent h3 a:visited, .fourD-blockcontent h3 a, .fourD-blockcontent h3 a:link, .fourD-blockcontent h3 a:hover, .fourD-blockcontent h3 a:visited
{
  font-size: 20px;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.fourD-postcontent h4
{
  color: #512E01;
  margin: 10px 0 0;
  font-size: 16px;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.fourD-blockcontent h4
{
  margin: 10px 0 0;
  font-size: 16px;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.fourD-postcontent h4 a, .fourD-postcontent h4 a:link, .fourD-postcontent h4 a:hover, .fourD-postcontent h4 a:visited, .fourD-blockcontent h4 a, .fourD-blockcontent h4 a:link, .fourD-blockcontent h4 a:hover, .fourD-blockcontent h4 a:visited
{
  font-size: 16px;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.fourD-postcontent h5
{
  color: #512E01;
  margin: 10px 0 0;
  font-size: 14px;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.fourD-blockcontent h5
{
  margin: 10px 0 0;
  font-size: 14px;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.fourD-postcontent h5 a, .fourD-postcontent h5 a:link, .fourD-postcontent h5 a:hover, .fourD-postcontent h5 a:visited, .fourD-blockcontent h5 a, .fourD-blockcontent h5 a:link, .fourD-blockcontent h5 a:hover, .fourD-blockcontent h5 a:visited
{
  font-size: 14px;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.fourD-postcontent h6
{
  color: #C06E02;
  margin: 10px 0 0;
  font-size: 13px;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.fourD-blockcontent h6
{
  margin: 10px 0 0;
  font-size: 13px;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.fourD-postcontent h6 a, .fourD-postcontent h6 a:link, .fourD-postcontent h6 a:hover, .fourD-postcontent h6 a:visited, .fourD-blockcontent h6 a, .fourD-blockcontent h6 a:link, .fourD-blockcontent h6 a:hover, .fourD-blockcontent h6 a:visited
{
  font-size: 13px;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

header, footer, article, nav, #fourD-hmenu-bg, .fourD-sheet, .fourD-hmenu a, .fourD-vmenu a, .fourD-slidenavigator > a, .fourD-checkbox:before, .fourD-radiobutton:before
{
  -webkit-background-origin: border !important;
  -moz-background-origin: border !important;
  background-origin: border-box !important;
}

header, footer, article, nav, #fourD-hmenu-bg, .fourD-sheet, .fourD-slidenavigator > a, .fourD-checkbox:before, .fourD-radiobutton:before
{
  display: block;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

ul
{
  list-style-type: none;
}

ol
{
  list-style-position: inside;
}

html, body
{
  height: 100%;
  -ms-overflow-y : scroll;
}

body
{
    padding: 0;
    margin: 0;
    min-width: 900px;
    color: #292929;
    background: -moz-linear-gradient(left,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.15) 54%, rgba(0,0,0,0.15) 55%, rgba(0,0,0,0) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(0,0,0,0)), color-stop(54%,rgba(0,0,0,0.15)), color-stop(55%,rgba(0,0,0,0.15)), color-stop(100%,rgba(0,0,0,0))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.15) 54%,rgba(0,0,0,0.15) 55%,rgba(0,0,0,0) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.15) 54%,rgba(0,0,0,0.15) 55%,rgba(0,0,0,0) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.15) 54%,rgba(0,0,0,0.15) 55%,rgba(0,0,0,0) 100%); /* IE10+ */
    background: linear-gradient(to right,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.15) 54%,rgba(0,0,0,0.15) 55%,rgba(0,0,0,0) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#00000000',GradientType=1 ); /* IE6-9 */

}

.clearfix:before, .clearfix:after
{
  content: "";
  display: table;
}

.clearfix:after
{
  clear: both;
}

.cleared
{
  font: 0/0 serif;
  clear: both;
}

form
{
  padding: 0 !important;
  margin: 0 !important;
}

table.position
{
  position: relative;
  width: 100%;
  table-layout: fixed;
}

li h1, .fourD-postcontent li h1, .fourD-blockcontent li h1
{
  margin: 1px;
}

li h2, .fourD-postcontent li h2, .fourD-blockcontent li h2
{
  margin: 1px;
}

li h3, .fourD-postcontent li h3, .fourD-blockcontent li h3
{
  margin: 1px;
}

li h4, .fourD-postcontent li h4, .fourD-blockcontent li h4
{
  margin: 1px;
}

li h5, .fourD-postcontent li h5, .fourD-blockcontent li h5
{
  margin: 1px;
}

li h6, .fourD-postcontent li h6, .fourD-blockcontent li h6
{
  margin: 1px;
}

li p, .fourD-postcontent li p, .fourD-blockcontent li p
{
  margin: 1px;
}

.fourD-shapes
{
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  z-index: 0;
}

.fourD-slider-inner
{
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.fourD-slidenavigator > a
{
  display: inline-block;
  vertical-align: middle;
  outline-style: none;
  font-size: 1px;
}

.fourD-slidenavigator > a:last-child
{
  margin-right: 0 !important;
}

.fourD-headline
{
  display: inline-block;
  position: absolute;
  min-width: 50px;
  top: 22px;
  left: 2.47%;
  line-height: 100%;
  margin-left: -6px !important;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);
  z-index: 99;
}

.fourD-headline, .fourD-headline a, .fourD-headline a:link, .fourD-headline a:visited, .fourD-headline a:hover
{
  font-size: 48px;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
  letter-spacing: normal;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
  color: #A25C02 !important;
  white-space: nowrap;
}

.fourD-slogan
{
  display: inline-block;
  position: absolute;
  min-width: 50px;
  top: 72px;
  left: 2.47%;
  line-height: 100%;
  margin-left: -4px !important;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);
  z-index: 99;
  white-space: nowrap;
}

.fourD-slogan, .fourD-slogan a, .fourD-slogan a:link, .fourD-slogan a:visited, .fourD-slogan a:hover
{
  font-size: 13px;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
  color: #140C00 !important;
}

.fourD-footer .layout-item-0
{
  padding-top: 20px;
  padding-right: 20px;
  padding-bottom: 0px;
  padding-left: 20px;
}

.fourD-footer .layout-item-1
{
  padding: 0px;
}

.ie7 .post .layout-cell
{
  border: none !important;
  padding: 0 !important;
}

.ie6 .post .layout-cell
{
  border: none !important;
  padding: 0 !important;
}

.fourD-header
{
  margin: 0 auto;
  position: relative;
  height: 100px;
  z-index: 1000;
}

.responsive .fourD-header
{
  background-image: url('../images/header.png')/*tpa=http://genmac.co.th/templates/genmac/images/header.png*/;
  background-position: center center;
}

.fourD-header-inner
{
  position: relative;
  width: 900px;
  z-index: auto !important;
  margin: 0 auto;
}

.fourD-header>div.fourD-nostyle, .fourD-header>div.fourD-block, .fourD-header>div.fourD-post
{
  position: absolute;
  z-index: 101;
}

.fourD-nav
{
  background: #a573d4;
  background: rgba(165, 115, 212, 0.4);
  z-index: 100;
  width: 100%;
}

ul.fourD-hmenu a, ul.fourD-hmenu a:link, ul.fourD-hmenu a:visited, ul.fourD-hmenu a:hover
{
  outline: none;
  position: relative;
  z-index: 11;
}

ul.fourD-hmenu, ul.fourD-hmenu ul
{
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  list-style-type: none;
}

ul.fourD-hmenu li
{
  position: relative;
  z-index: 5;
  display: block;
  float: left;
  background: none;
  margin: 0;
  padding: 0;
  border: 0;
}

ul.fourD-hmenu li:hover
{
  z-index: 10000;
  white-space: normal;
}

ul.fourD-hmenu:after, ul.fourD-hmenu ul:after
{
  content: ".";
  height: 0;
  display: block;
  visibility: hidden;
  overflow: hidden;
  clear: both;
}

ul.fourD-hmenu, ul.fourD-hmenu ul
{
  min-height: 0;
}

ul.fourD-hmenu
{
  display: inline-block;
  vertical-align: bottom;
  padding-left: 0;
  padding-right: 0;
}

.fourD-nav-inner:before
{
  content: ' ';
}

.fourD-nav-inner
{
  text-align: center;
  margin: 0 auto;
}

.desktop-nav .fourD-nav-inner
{
  width: 900px;
  padding-left: 0;
  padding-right: 0;
}

.desktop-nav.fourD-nav
{
  padding-left: 0;
  padding-right: 0;
}

.fourD-hmenu-extra1
{
  position: relative;
  display: block;
  float: left;
  width: auto;
  height: auto;
  background-position: center;
}

.fourD-hmenu-extra2
{
  position: relative;
  display: block;
  float: right;
  width: auto;
  height: auto;
  background-position: center;
}

.fourD-hmenu
{
}

.fourD-menuitemcontainer
{
  margin: 0 auto;
}

ul.fourD-hmenu>li
{
  margin-left: 3px;
}

ul.fourD-hmenu>li:first-child
{
  margin-left: 1px;
}

ul.fourD-hmenu>li:last-child, ul.fourD-hmenu>li.last-child
{
  margin-right: 1px;
}

ul.fourD-hmenu>li>a
{
 
  padding: 0 30px;
  margin: 0 auto;
  position: relative;
  display: block;
  height: 42px;
  cursor: pointer;
  text-decoration: none;
  color: #292929;
  line-height: 42px;
  text-align: center;
}

.fourD-hmenu a, .fourD-hmenu a:link, .fourD-hmenu a:visited, .fourD-hmenu a.active, .fourD-hmenu a:hover
{
  font-size: 14px;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
  text-align: left;
}

ul.fourD-hmenu>li>a.active
{
  
  margin: 0 auto;
  color: #333333;
  padding-bottom: 1px;
  margin-bottom: -1px;
  text-decoration: none;
}

ul.fourD-hmenu>li>a:visited, ul.fourD-hmenu>li>a:hover, ul.fourD-hmenu>li:hover>a
{
  text-decoration: none;
}

ul.fourD-hmenu>li>a:hover, .desktop ul.fourD-hmenu>li:hover>a
{
  padding: 0 30px;
  margin: 0 auto;
}

ul.fourD-hmenu>li>a:hover, .desktop-nav ul.fourD-hmenu>li:hover>a
{
  color: #000000;
  text-decoration: none;
}

ul.fourD-hmenu>li>a.active:hover
{
  padding-bottom: 0;
  margin-bottom: 0;
}

ul.fourD-hmenu li li a
{
  background: #C7C7C7;
  border: 1px solid #B5B5B5;
  padding: 0 22px;
  margin: 0 auto;
}

ul.fourD-hmenu li li
{
  float: none;
  width: auto;
  margin-top: 0;
  margin-bottom: 0;
}

.desktop-nav ul.fourD-hmenu li li ul>li:first-child
{
  margin-top: 0;
}

ul.fourD-hmenu li li ul>li:last-child
{
  margin-bottom: 0;
}

.fourD-hmenu ul a
{
  display: block;
  white-space: nowrap;
  height: 25px;
  min-width: 7em;
  border: 1px solid transparent;
  text-align: left;
  line-height: 25px;
  color: #292929;
  font-size: 13px;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  text-decoration: none;
  margin: 0;
}

.fourD-hmenu li li a
{
  border-top-width: 0 !important;
}

.fourD-hmenu li li:hover a
{
  border-top-width: 1px !important;
}

.fourD-hmenu ul>li:first-child>a
{
  border-top-width: 1px !important;
}

.fourD-hmenu ul a:link, .fourD-hmenu ul a:visited, .fourD-hmenu ul a.active, .fourD-hmenu ul a:hover
{
  text-align: left;
  line-height: 25px;
  color: #292929;
  font-size: 13px;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  text-decoration: none;
  margin: 0;
}

ul.fourD-hmenu ul li a:hover, .desktop ul.fourD-hmenu ul li:hover>a
{
  background: #B5B5B5;
  border: 1px solid #B5B5B5;
  margin: 0 auto;
}

.fourD-hmenu ul a:hover
{
  text-decoration: none;
}

.fourD-hmenu ul li a:hover
{
  color: #000000;
}

.fourD-hmenu ul li a.fourD-hmenu-before-hovered
{
  border-bottom-width: 0 !important;
}

.desktop-nav .fourD-hmenu ul li:hover>a
{
  color: #000000;
}

ul.fourD-hmenu ul:before
{
  background: #E0E0E0;
  margin: 0 auto;
  display: block;
  position: absolute;
  content: ' ';
  z-index: 1;
}

.desktop-nav ul.fourD-hmenu li:hover>ul
{
  visibility: visible;
  top: 100%;
}

.desktop-nav ul.fourD-hmenu li li:hover>ul
{
  top: 0;
  left: 100%;
}

ul.fourD-hmenu ul
{
  visibility: hidden;
  position: absolute;
  z-index: 10;
  left: 0;
  top: 0;
  background-image: url('../images/spacer.gif')/*tpa=http://genmac.co.th/templates/genmac/images/spacer.gif*/;
}

.desktop-nav ul.fourD-hmenu>li>ul
{
  padding: 10px 30px 30px 30px;
  margin: -10px 0 0 -30px;
}

.desktop-nav ul.fourD-hmenu ul ul
{
  padding: 30px 30px 30px 10px;
  margin: -30px 0 0 -10px;
}

.desktop-nav ul.fourD-hmenu ul.fourD-hmenu-left-to-right
{
  right: auto;
  left: 0;
  margin: -10px 0 0 -30px;
}

.desktop-nav ul.fourD-hmenu ul.fourD-hmenu-right-to-left
{
  left: auto;
  right: 0;
  margin: -10px -30px 0 0;
}

.desktop-nav ul.fourD-hmenu li li:hover>ul.fourD-hmenu-left-to-right
{
  right: auto;
  left: 100%;
}

.desktop-nav ul.fourD-hmenu li li:hover>ul.fourD-hmenu-right-to-left
{
  left: auto;
  right: 100%;
}

.desktop-nav ul.fourD-hmenu ul ul.fourD-hmenu-left-to-right
{
  right: auto;
  left: 0;
  padding: 30px 30px 30px 10px;
  margin: -30px 0 0 -10px;
}

.desktop-nav ul.fourD-hmenu ul ul.fourD-hmenu-right-to-left
{
  left: auto;
  right: 0;
  padding: 30px 10px 30px 30px;
  margin: -30px -10px 0 0;
}

.desktop-nav ul.fourD-hmenu li ul>li:first-child
{
  margin-top: 0;
}

.desktop-nav ul.fourD-hmenu li ul>li:last-child
{
  margin-bottom: 0;
}

.desktop-nav ul.fourD-hmenu ul ul:before
{
  border-radius: 0;
  top: 30px;
  bottom: 30px;
  right: 30px;
  left: 10px;
}

.desktop-nav ul.fourD-hmenu>li>ul:before
{
  top: 10px;
  right: 30px;
  bottom: 30px;
  left: 30px;
}

.desktop-nav ul.fourD-hmenu>li>ul.fourD-hmenu-left-to-right:before
{
  right: 30px;
  left: 30px;
}

.desktop-nav ul.fourD-hmenu>li>ul.fourD-hmenu-right-to-left:before
{
  right: 30px;
  left: 30px;
}

.desktop-nav ul.fourD-hmenu ul ul.fourD-hmenu-left-to-right:before
{
  right: 30px;
  left: 10px;
}

.desktop-nav ul.fourD-hmenu ul ul.fourD-hmenu-right-to-left:before
{
  right: 10px;
  left: 30px;
}

.fourD-sheet
{
  background: #FFFFFF;
  background: transparent;
  margin: 0 auto;
  position: relative;
  cursor: auto;
  width: 750px;
  z-index: auto !important;
}

.fourD-layout-wrapper
{
  position: relative;
  margin: 0 auto 0 auto;
  z-index: auto !important;
}

.fourD-content-layout
{
  display: table;
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.fourD-content-layout-row
{
  display: table-row;
}

.fourD-layout-cell
{
  display: table-cell;
  vertical-align: top;
}

.fourD-block
{
  margin: 10px;
}

div.fourD-block img
{
  border: none;
  margin: 0;
}

.fourD-blockheader
{
  padding: 6px 5px;
  margin: 0 auto;
}

.fourD-blockheader .t, .fourD-blockheader .t a, .fourD-blockheader .t a:link, .fourD-blockheader .t a:visited, .fourD-blockheader .t a:hover
{
  color: #000000;
  font-size: 20px;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  font-weight: normal;
  font-style: normal;
  margin: 0 10px;
}

.fourD-blockcontent
{
  padding: 5px;
  margin: 0 auto;
  color: #404040;
  font-size: 12px;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.fourD-blockcontent table, .fourD-blockcontent li, .fourD-blockcontent a, .fourD-blockcontent a:link, .fourD-blockcontent a:visited, .fourD-blockcontent a:hover
{
  color: #404040;
  font-size: 12px;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.fourD-blockcontent p
{
  margin: 0 5px;
}

.fourD-blockcontent a, .fourD-blockcontent a:link
{
  color: #111136;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.fourD-blockcontent a:visited, .fourD-blockcontent a.visited
{
  color: #B8B8B8;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  text-decoration: underline;
}

.fourD-blockcontent a:hover, .fourD-blockcontent a.hover
{
  color: #111136;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  text-decoration: underline;
}

.fourD-block ul>li:before
{
  content: url('../images/blockbullets.png')/*tpa=http://genmac.co.th/templates/genmac/images/blockbullets.png*/;
  margin-right: 6px;
  bottom: 2px;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  font-size: 0;
  line-height: 0;
  margin-left: -12px;
}

.opera .fourD-block ul>li:before
{
  bottom: 0;
}

.fourD-block li
{
  font-size: 13px;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  line-height: 125%;
  color: #545454;
  margin: 5px 0 0 10px;
}

.fourD-block ul>li, .fourD-block ol
{
  padding: 0;
}

.fourD-block ul>li
{
  padding-left: 12px;
}

.fourD-breadcrumbs
{
  margin: 0 auto;
}

a.fourD-button, a.fourD-button:link, a:link.fourD-button:link, body a.fourD-button:link, a.fourD-button:visited, body a.fourD-button:visited, input.fourD-button, button.fourD-button
{
  text-decoration: none;
  font-size: 13px;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  font-weight: normal;
  font-style: normal;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  white-space: nowrap;
  text-align: center;
  color: #000000;
  margin: 0 !important;
  overflow: visible;
  cursor: pointer;
  text-indent: 0;
  line-height: 29px;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}

.fourD-button img
{
  margin: 0;
  vertical-align: middle;
}

.firefox2 .fourD-button
{
  display: block;
  float: left;
}

input, select, textarea
{
  vertical-align: middle;
  font-size: 13px;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  font-weight: normal;
  font-style: normal;
}

.fourD-block select
{
  width: 96%;
}

input.fourD-button
{
  float: none !important;
}

.fourD-button.active, .fourD-button.active:hover
{
  background: #828282;
  background: linear-gradient(top, #949494 0, #808080 57%, #707070 100%) no-repeat;
  background: -webkit-linear-gradient(top, #949494 0, #808080 57%, #707070 100%) no-repeat;
  background: -moz-linear-gradient(top, #949494 0, #808080 57%, #707070 100%) no-repeat;
  background: -o-linear-gradient(top, #949494 0, #808080 57%, #707070 100%) no-repeat;
  background: -ms-linear-gradient(top, #949494 0, #808080 57%, #707070 100%) no-repeat;
  background: linear-gradient(top, #949494 0, #808080 57%, #707070 100%) no-repeat;
  -svg-background: linear-gradient(top, #949494 0, #808080 57%, #707070 100%) no-repeat;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.15);
  box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.15);
  border: 1px solid #828282;
  padding: 0 20px;
  margin: 0 auto;
}

.fourD-button.active, .fourD-button.active:hover
{
  color: #1C1C1C !important;
}

.fourD-button.hover, .fourD-button:hover
{
  background: #B5B5B5;
  background: linear-gradient(top, #C9C9C9 0, #A1A1A1 100%) no-repeat;
  background: -webkit-linear-gradient(top, #C9C9C9 0, #A1A1A1 100%) no-repeat;
  background: -moz-linear-gradient(top, #C9C9C9 0, #A1A1A1 100%) no-repeat;
  background: -o-linear-gradient(top, #C9C9C9 0, #A1A1A1 100%) no-repeat;
  background: -ms-linear-gradient(top, #C9C9C9 0, #A1A1A1 100%) no-repeat;
  background: linear-gradient(top, #C9C9C9 0, #A1A1A1 100%) no-repeat;
  -svg-background: linear-gradient(top, #C9C9C9 0, #A1A1A1 100%) no-repeat;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.15);
  box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.15);
  border: 1px solid #828282;
  padding: 0 20px;
  margin: 0 auto;
}

.fourD-button.hover, .fourD-button:hover
{
  color: #000000 !important;
}

input[type="text"], input[type="password"], input[type="email"], input[type="url"], textarea
{
  background: #FFFFFF;
  margin: 0 auto;
}

input[type="text"], input[type="password"], input[type="email"], input[type="url"], textarea
{
  width: 100%;
  padding: 8px 0;
  color: #404040 !important;
  font-size: 13px;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  font-weight: normal;
  font-style: normal;
}

input.fourD-error, textarea.fourD-error
{
  background: #FFFFFF;
  border: 1px solid #E2341D;
  margin: 0 auto;
}

input.fourD-error, textarea.fourD-error
{
  color: #404040 !important;
  font-size: 13px;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  font-weight: normal;
  font-style: normal;
}

form.fourD-search input[type="text"]
{
  background: #FFFFFF;
  border-radius: 0;
  margin: 0 auto;
  width: 100%;
  padding: 0 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  color: #404040 !important;
  font-size: 13px;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  font-weight: normal;
  font-style: normal;
}

form.fourD-search
{
  background-image: none;
  border: 0;
  display: block;
  position: relative;
  top: 0;
  padding: 0;
  margin: 5px;
  left: 0;
  line-height: 0;
}

form.fourD-search input
{
  top: 0;
  right: 0;
}

form.fourD-search>input
{
  bottom: 0;
  left: 0;
  vertical-align: middle;
}

form.fourD-search input[type="submit"]
{
  background: #FFFF29;
  margin: 0 auto;
  color: #000000 !important;
  font-size: 13px;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  font-weight: normal;
  font-style: normal;
  position: absolute;
  display: block;
  left: auto;
  border: 0;
  top: 0;
  bottom: 0;
  right: 0;
}

label.fourD-checkbox:before
{
  background: #FFFFFF;
  -webkit-border-radius: 1px;
  -moz-border-radius: 1px;
  border-radius: 1px;
  margin: 0 auto;
  width: 16px;
  height: 16px;
}

label.fourD-checkbox
{
  cursor: pointer;
  font-size: 13px;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  font-weight: normal;
  font-style: normal;
  line-height: 16px;
  display: inline-block;
}

.fourD-checkbox>input[type="checkbox"]
{
  margin: 0 5px 0 0;
}

label.fourD-checkbox.active:before
{
  background: #FDB453;
  -webkit-border-radius: 1px;
  -moz-border-radius: 1px;
  border-radius: 1px;
  margin: 0 auto;
  width: 16px;
  height: 16px;
  display: inline-block;
}

label.fourD-checkbox.hovered:before
{
  background: #FECE90;
  -webkit-border-radius: 1px;
  -moz-border-radius: 1px;
  border-radius: 1px;
  margin: 0 auto;
  width: 16px;
  height: 16px;
  display: inline-block;
}

label.fourD-radiobutton:before
{
  background: #FFFFFF;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  margin: 0 auto;
  width: 12px;
  height: 12px;
}

label.fourD-radiobutton
{
  cursor: pointer;
  font-size: 13px;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  font-weight: normal;
  font-style: normal;
  line-height: 12px;
  display: inline-block;
}

.fourD-radiobutton>input[type="radio"]
{
  vertical-align: baseline;
  margin: 0 5px 0 0;
}

label.fourD-radiobutton.active:before
{
  background: #FDB453;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  margin: 0 auto;
  width: 12px;
  height: 12px;
  display: inline-block;
}

label.fourD-radiobutton.hovered:before
{
  background: #FECE90;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  margin: 0 auto;
  width: 12px;
  height: 12px;
  display: inline-block;
}

a img
{
  border: 0;
}

.fourD-article
{
    text-align: justify;
}

.fourD-article img, img.fourD-article, .fourD-block img, .fourD-footer img
{
  margin: 0 0 0 0;
}

.fourD-metadata-icons img
{
  border: none;
  vertical-align: middle;
  margin: 2px;
}

.fourD-article table, table.fourD-article
{
  border-collapse: collapse;
  margin: 1px;
  text-align: left;
}

.fourD-article table tr td
{
    vertical-align: top;
    font-size: 12px;
}

.fourD-post .fourD-content-layout-br
{
  height: 0;
}

.fourD-article th
{
  text-align: center;
  vertical-align: middle;
  padding: 7px;
}

pre
{
  overflow: auto;
  padding: 0.1em;
}

.preview-cms-logo
{
  border: 0;
  margin: 1em 1em 0 0;
  float: left;
}

.image-caption-wrapper
{
  padding: 0 0 0 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.image-caption-wrapper img
{
  margin: 0 !important;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.image-caption-wrapper div.fourD-collage
{
  margin: 0 !important;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.image-caption-wrapper p
{
  font-size: 80%;
  text-align: right;
  margin: 0;
}

.fourD-postheader
{
  color: #7F8000;
  margin: 5px 0;
  font-size: 26px;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  font-weight: normal;
  font-style: normal;
}

.fourD-postheader a, .fourD-postheader a:link, .fourD-postheader a:visited, .fourD-postheader a.visited, .fourD-postheader a:hover, .fourD-postheader a.hovered
{
  font-size: 26px;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  font-weight: normal;
  font-style: normal;
}

.fourD-postheader a, .fourD-postheader a:link
{
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  text-decoration: none;
  text-align: left;
  color: #E5E500;
}

.fourD-postheader a:visited, .fourD-postheader a.visited
{
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  text-decoration: none;
  text-align: left;
  color: #9E9E9E;
}

.fourD-postheader a:hover, .fourD-postheader a.hovered
{
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  text-decoration: none;
  text-align: left;
  color: #111136;
}

.fourD-postheadericons, .fourD-postheadericons a, .fourD-postheadericons a:link, .fourD-postheadericons a:visited, .fourD-postheadericons a:hover
{
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  color: #878787;
}

.fourD-postheadericons
{
  display: inline-block;
  padding: 1px;
}

.fourD-postheadericons a, .fourD-postheadericons a:link
{
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  color: #B2B200;
}

.fourD-postheadericons a:visited, .fourD-postheadericons a.visited
{
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  font-weight: normal;
  font-style: italic;
  text-decoration: underline;
  color: #B2B200;
}

.fourD-postheadericons a:hover, .fourD-postheadericons a.hover
{
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  font-weight: normal;
  font-style: italic;
  text-decoration: none;
  color: #E88502;
}

.fourD-postpdficon:before
{
  content: url('../images/system/pdf_button.png')/*tpa=http://genmac.co.th/templates/genmac/images/system/pdf_button.png*/;
  margin-right: 6px;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  font-size: 0;
  line-height: 0;
  bottom: auto;
}

.opera .fourD-postpdficon:before
{
  bottom: 0;
}

.fourD-postprinticon:before
{
  content: url('../images/system/printButton.png')/*tpa=http://genmac.co.th/templates/genmac/images/system/printButton.png*/;
  margin-right: 6px;
  bottom: 2px;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  font-size: 0;
  line-height: 0;
}

.opera .fourD-postprinticon:before
{
  bottom: 0;
}

.fourD-postemailicon:before
{
  content: url('../images/system/emailButton.png')/*tpa=http://genmac.co.th/templates/genmac/images/system/emailButton.png*/;
  margin-right: 6px;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  font-size: 0;
  line-height: 0;
  bottom: auto;
}

.opera .fourD-postemailicon:before
{
  bottom: 0;
}

.fourD-postcontent ul>li:before, .fourD-post ul>li:before, .fourD-textblock ul>li:before
{
  content: url('../images/bullet.png')/*tpa=http://genmac.co.th/templates/genmac/images/bullet.png*/;
  margin-right: 15px;
  bottom: 2px;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  font-size: 0;
  line-height: 0;
}

.opera .fourD-postcontent ul>li:before, .opera   .fourD-post ul>li:before, .opera   .fourD-textblock ul>li:before
{
  bottom: 0;
}

.fourD-postcontent ul>li:before, .fourD-post ul>li:before, .fourD-textblock ul>li:before
{
  bottom: auto;
}

.fourD-postcontent li, .fourD-post li, .fourD-textblock li
{
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  color: #404040;
  margin: 5px 0 5px 11px;
}

.fourD-postcontent ul>li, .fourD-post ul>li, .fourD-textblock ul>li, .fourD-postcontent ol, .fourD-post ol, .fourD-textblock ol
{
  padding: 0;
}

.fourD-postcontent ul>li, .fourD-post ul>li, .fourD-textblock ul>li
{
  padding-left: 31px;
}

.fourD-postcontent ul>li:before, .fourD-post ul>li:before, .fourD-textblock ul>li:before
{
  margin-left: -31px;
}

.fourD-postcontent ol, .fourD-post ol, .fourD-textblock ol, .fourD-postcontent ul, .fourD-post ul, .fourD-textblock ul
{
  margin: 1em 0 1em 11px;
}

.fourD-postcontent li ol, .fourD-post li ol, .fourD-textblock li ol, .fourD-postcontent li ul, .fourD-post li ul, .fourD-textblock li ul
{
  margin: 0.5em 0 0.5em 11px;
}

.fourD-postcontent li, .fourD-post li, .fourD-textblock li
{
  margin: 5px 0 5px 0;
}

.fourD-postcontent ol>li, .fourD-post ol>li, .fourD-textblock ol>li
{
  overflow: visible;
}

.fourD-postcontent ul>li, .fourD-post ul>li, .fourD-textblock ul>li
{
  overflow-x: visible;
  overflow-y: hidden;
}

blockquote
{
  background: #FECE90 url('../images/postquote.png')/*tpa=http://genmac.co.th/templates/genmac/images/postquote.png*/ no-repeat scroll;
  padding: 10px 10px 10px 47px;
  margin: 10px 10px 10px 50px;
  color: #292929;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  overflow: auto;
  clear: both;
}

blockquote a, .fourD-postcontent blockquote a, .fourD-blockcontent blockquote a, .fourD-footer blockquote a, blockquote a:link, .fourD-postcontent blockquote a:link, .fourD-blockcontent blockquote a:link, .fourD-footer blockquote a:link, blockquote a:visited, .fourD-postcontent blockquote a:visited, .fourD-blockcontent blockquote a:visited, .fourD-footer blockquote a:visited, blockquote a:hover, .fourD-postcontent blockquote a:hover, .fourD-blockcontent blockquote a:hover, .fourD-footer blockquote a:hover
{
  color: #292929;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

blockquote p, .fourD-postcontent blockquote p, .fourD-blockcontent blockquote p, .fourD-footer blockquote p
{
  margin: 0;
  margin: 5px;
}

.fourD-postfootericons, .fourD-postfootericons a, .fourD-postfootericons a:link, .fourD-postfootericons a:visited, .fourD-postfootericons a:hover
{
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  color: #878787;
}

.fourD-postfootericons
{
  display: inline-block;
  padding: 1px;
}

.fourD-postfootericons a, .fourD-postfootericons a:link
{
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  color: #B2B200;
}

.fourD-postfootericons a:visited, .fourD-postfootericons a.visited
{
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  text-decoration: underline;
  color: #B2B200;
}

.fourD-postfootericons a:hover, .fourD-postfootericons a.hover
{
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  text-decoration: none;
  color: #E88502;
}

.fourD-footer
{
  background: #FFFF61;
  background: rgba(255, 255, 97, 0.5);
  margin: 0 auto;
  position: relative;
  color: #3D3D00;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  text-align: left;
  padding: 0;
}

.fourD-footer a, .fourD-footer a:link, .fourD-footer a:visited, .fourD-footer a:hover, .fourD-footer td, .fourD-footer th, .fourD-footer caption
{
  color: #3D3D00;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.fourD-footer p
{
  padding: 0;
  text-align: left;
}

.fourD-footer a, .fourD-footer a:link
{
  color: #8F8F00;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
}

.fourD-footer a:visited
{
  color: #474747;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  text-decoration: underline;
}

.fourD-footer a:hover
{
  color: #333333;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  text-decoration: none;
}

.fourD-footer img
{
  border: none;
  margin: 5px;
}

.fourD-footer-inner
{
  margin: 0 auto;
  width: 900px;
  padding-right: 0;
  padding-left: 0;
}

.fourD-footer li
{
  font-size: 13px;
  font-family: 'Century Gothic', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  line-height: 125%;
  color: #404040;
}

.fourD-page-footer, .fourD-page-footer a, .fourD-page-footer a:link, .fourD-page-footer a:visited, .fourD-page-footer a:hover
{
  font-family: Arial;
  font-size: 10px;
  letter-spacing: normal;
  word-spacing: normal;
  font-style: normal;
  font-weight: normal;
  text-decoration: underline;
  color: #757500;
}

.fourD-page-footer
{
  position: relative;
  z-index: auto !important;
  padding: 1em;
  text-align: center !important;
  text-decoration: none;
  color: #3B3B3B;
}

img.fourD-lightbox
{
  cursor: pointer;
}

#fourD-lightbox-bg *
{
  padding: 0;
  margin: 0;
}

div#fourD-lightbox-bg
{
  top: 0;
  left: 0;
  width: 100%;
  position: absolute;
  height: 100%;
  background-color: #000;
  opacity: 0.8;
  filter: alpha(opacity=80);
  z-index: 9999;
}

img.fourD-lightbox-image
{
  -webkit-transition: opacity 350ms ease-in-out;
  -moz-transition: opacity 350ms ease-in-out;
  -o-transition: opacity 350ms ease-in-out;
  -ms-transition: opacity 350ms ease-in-out;
  transition: opacity 350ms ease-in-out;
  cursor: pointer;
  z-index: 10000;
  position: fixed;
  border: 6px solid #fff;
  border-radius: 3px;
  opacity: 0;
  filter: alpha(opacity=0);
}

img.fourD-lightbox-image.active
{
  opacity: 1;
  filter: alpha(opacity=100);
}

.lightbox-error
{
  position: fixed;
  background: #fff;
  z-index: 100;
  opacity: 0.95;
  padding: 20px;
  border: 1px solid #b4b4b4;
  border-radius: 10px;
  box-shadow: 0 2px 5px #333;
  width: 300px;
  height: 80px;
}

.loading
{
  position: fixed;
  background: #fff url('../images/preloader-01.gif')/*tpa=http://genmac.co.th/templates/genmac/images/preloader-01.gif*/ center center no-repeat;
  width: 32px;
  height: 32px;
  z-index: 10100;
  opacity: 0.5;
  padding: 10px;
  border: 1px solid #b4b4b4;
  border-radius: 10px;
  box-shadow: 0 2px 5px #333;
}

.arrow
{
  height: 100px;
  width: 82px;
  z-index: 10003;
  position: fixed;
  cursor: pointer;
  opacity: 0.5;
  filter: alpha(opacity=50);
}

.arrow.left
{
  left: 9px;
}

.arrow.right
{
  right: 9px;
}

.arrow:hover
{
  opacity: 1;
  filter: alpha(opacity=100);
}

.arrow.disabled
{
  display: none;
}

.arrow-t, .arrow-b
{
  height: 6px;
  width: 30px;
  left: 26px;
  background-color: #fff;
  position: relative;
  border-radius: 3px;
}

.arrow-t
{
  top: 38px;
}

.arrow-b
{
  top: 50px;
}

.close
{
  width: 22px;
  height: 22px;
  position: fixed;
  top: 30px;
  right: 39px;
  cursor: pointer;
  opacity: 0.5;
  filter: alpha(opacity=50);
}

.close:hover
{
  opacity: 1;
  filter: alpha(opacity=100);
}

.close .cw, .close .ccw
{
  position: absolute;
  top: 8px;
  left: -4px;
  width: 30px;
  height: 6px;
  background-color: #fff;
  border-radius: 3px;
}

.cw
{
  transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
}

.ccw
{
  transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
}

.close-alt, .arrow-right-alt, .arrow-left-alt
{
  display: none;
  color: #fff;
  font-size: 2.5em;
}

.ie8 .close-alt, .ie8 .arrow-right-alt, .ie8 .arrow-left-alt
{
  display: block;
}

.ie8 .cw, .ie8 .ccw
{
  display: none;
}

.fourD-content-layout .fourD-content
{
  margin: 0 auto;
}

.newsdate
{
  padding: 5px;
  width: 40px;
  height: 40px;
  float: left;
  text-align: center;
  margin-right: 10px;
  margin-left: -10px;
}

h1, h5, .fourD-postheader, .shad
{
}

.fourD-blockheader .t, .fourD-vmenublockheader .t
{
  white-space: nowrap;
}

fieldset dl
{
  display: block;
  margin: 0;
  padding: 0;
  background: none;
}

fieldset dt
{
  display: block;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  width: 12em;
  height: 2em;
  margin: 0;
  padding: 0;
  float: left;
  clear: both;
  background: none;
  line-height: 2em;
  overflow: hidden;
}

fieldset dd
{
  display: block;
  min-height: 2em;
  margin: 0 0 0 12em;
  padding: 0;
  background: none;
  line-height: 2em;
}

fieldset label
{
  display: inline-block;
  width: 12em;
}

fieldset textarea
{
  vertical-align: text-top;
}

.img-fulltext-left, .img-intro-left
{
  float: left;
  display: block;
  border: none;
  padding: 0;
  margin: 0 0.3em 0.3em 0;
  margin-top: 0;
}

.img-fulltext-right, .img-intro-right
{
  float: right;
  display: block;
  border: none;
  padding: 0;
  margin: 0 0 0.3em 0.3em;
  margin-top: 0;
}

ul.pagenav
{
  clear: both;
  list-style: none;
  display: block;
  margin: 0;
  padding: 0;
}

ul.pagenav li, ul.pagenav li:before
{
  display: block;
  background: none;
  margin: 0;
  padding: 0;
  width: 50%;
  text-align: center;
  content: normal;
}

ul.pagenav li.pagenav-prev
{
  float: left;
}

ul.pagenav li.pagenav-next
{
  margin: 0 0 0 50%;
}

div.item-page dl.tabs
{
  display: block;
  margin: 0;
  padding: 0;
}

div.item-page dl.tabs:before
{
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  display: block;
  float: left;
  width: 1em;
  height: 2em;
  overflow: hidden;
}

div.item-page dl.tabs dt
{
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  display: block;
  float: left;
  height: 2em;
  overflow: hidden;
  border-left: 1px solid black;
  border-top: 1px solid black;
}

div.item-page dl.tabs dt h3
{
  margin: 0;
  padding: 0 1em;
  line-height: 2em;
  font-size: 100%;
  overflow: hidden;
}

div.item-page dl.tabs dt h3 a
{
  text-decoration: none;
}

div.item-page dl.tabs:after
{
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  display: block;
  border-left: 1px solid black;
  content: " ";
  overflow: hidden;
  height: 2em;
}

div.item-page div.current
{
  clear: both;
  border: 1px solid black;
}

div.item-page div.current dd.tabs
{
  margin: 0;
  padding: 0;
}

div.item-page .panel
{
  border: 1px solid black;
  margin-top: -1px;
}

div.item-page .panel h3
{
  margin: 0;
  padding: 0;
}

div.item-page .panel h3 a
{
  display: block;
  padding: 6px;
  text-decoration: none;
}

div.item-page .panel h3.pane-toggler-down a
{
  border-bottom: 1px solid black;
}

div.item-page .panel .pane-slider
{
  margin: 0;
  padding: 0;
}

div.item-page div.pagination ul
{
  clear: both;
  list-style: none;
  display: block;
  margin: 0;
  padding: 0;
}

div.item-page div.pagination li
{
  display: block;
  width: 50%;
  margin: 0;
  padding: 0;
  text-align: center;
  float: left;
  white-space: nowrap;
}

div.item-page div.pagination:after
{
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}

#searchForm .phrases-box
{
  display: block;
  float: left;
}

#searchForm .ordering-box
{
  text-align: right;
}

#searchForm .phrases-box label, #searchForm .ordering-box label, #searchForm .only label
{
  display: inline-block;
  width: auto;
  height: 2em;
  margin: 0;
  padding: 0 0.3em;
}

#mod-finder-searchform label
{
  display: block;
}

#mod-finder-searchform input.inputbox
{
  width: 100%;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  max-width: 300px;
}

#login-form #form-login-username label, #login-form #form-login-password label
{
  display: block;
}

#login-form #form-login-username input, #login-form #form-login-password input
{
  width: 100%;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  max-width: 300px;
}

.breadcrumbs img
{
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
}

dl.stats-module
{
  padding: 0.3em 0 0.3em 0.3em;
  margin: 0;
}

dl.stats-module dt
{
  float: left;
  display: block;
  line-height: 1.5em;
  min-height: 1.5em;
  width: 10em;
  padding: 0.3em 0.3em 0 0;
  margin: 0;
  font-weight: bold;
}

dl.stats-module dd
{
  display: block;
  line-height: 1.5em;
  min-height: 1.5em;
  margin-left: 0 0 0 10em;
}

div.mod-languages ul
{
  margin: 0;
  padding: 0;
  list-style: none;
}

div.mod-languages li
{
  background: none;
  margin: 0 0.3em;
  padding: 0;
}

div.mod-languages ul.lang-inline li
{
  display: inline;
}

div.mod-languages ul.lang-block li
{
  display: block;
}

div.mod-languages img
{
  border: none;
  margin: 0;
  padding: 0;
}

div.clr
{
  clear: both;
}

#system-message ul li
{
  background-image: none;
}

ul.actions, ul.actions li, ul.actions li img
{
  display: inline;
  margin: 0;
  padding: 0;
  border: none;
}

ul.actions li
{
  background: none;
  list-style: none;
}

.items-row
{
  display: table;
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.items-row .item
{
  display: table-cell;
  vertical-align: top;
}

.items-row .row-separator
{
  display: none;
}

div.pagination p.counter
{
  display: inline-block;
  margin: 0 0.3em 0 0;
  padding: 0;
  background: none;
}

div.pagination ul, div.pagination ul li, div.pagination ul > li:before
{
  display: inline-block;
  list-style: none;
  margin: 0;
  padding: 0 0.3em;
  background: none;
  content: normal;
}

div.tip-wrap
{
  background: #fff;
  border: 1px solid #aaa;
}

div.tip-wrap div.tip
{
  padding: 0.3em;
}

div.tip-wrap div.tip-title
{
  font-weight: bold;
}

table.category
{
  width: 100%;
}

table.category thead th img
{
  padding: 0 0 0 0.3em;
  margin: 0;
  border: none;
}

span.hasTip a img
{
  padding: 0;
  margin: 0;
  border: none;
}

div.categories-list ul li span.item-title, div.cat-children ul li span.item-title
{
  display: block;
  margin: 0 0 0.3em 0;
}

div.categories-list ul li div.category-desc, div.cat-children ul li div.category-desc
{
  margin: 0 0 0.3em 0;
}

div.categories-list dl, div.cat-children dl
{
  display: block;
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
  background: none;
}

div.categories-list dl dt, div.cat-children dl dt, div.categories-list dl dd, div.cat-children dl dd
{
  display: inline-block;
  padding: 0;
  margin: 0;
  background: none;
}

div.img_caption p.img_caption
{
  padding: 0.3em 0;
  margin: 0;
}

/*  */
.fourD-header .www-header
{
    text-align: center;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.75);
}

.fourD-header .www-header a, .fourD-header .www-header a:visited
{
    text-decoration: none;
    color: #000;
    font-size: 30px;
    line-height: 100px;
}

.header-non-main
{
    height: 150px;
}

.major-slide-wrapper
{
    position: relative;
    z-index: 0;
    height: 500px;
}
.major-slide-wrapper .slide-mask
{
    background: -moz-radial-gradient(center, ellipse cover,  rgba(125,185,232,0) 1%, rgba(52,71,112,0) 68%, rgba(17,17,54,0.56) 100%); /* FF3.6+ */
background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(1%,rgba(125,185,232,0)), color-stop(68%,rgba(52,71,112,0)), color-stop(100%,rgba(17,17,54,0.56))); /* Chrome,Safari4+ */
background: -webkit-radial-gradient(center, ellipse cover,  rgba(125,185,232,0) 1%,rgba(52,71,112,0) 68%,rgba(17,17,54,0.56) 100%); /* Chrome10+,Safari5.1+ */
background: -o-radial-gradient(center, ellipse cover,  rgba(125,185,232,0) 1%,rgba(52,71,112,0) 68%,rgba(17,17,54,0.56) 100%); /* Opera 12+ */
background: -ms-radial-gradient(center, ellipse cover,  rgba(125,185,232,0) 1%,rgba(52,71,112,0) 68%,rgba(17,17,54,0.56) 100%); /* IE10+ */
background: radial-gradient(ellipse at center,  rgba(125,185,232,0) 1%,rgba(52,71,112,0) 68%,rgba(17,17,54,0.56) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#007db9e8', endColorstr='#8f111136',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */

    
    width: 100%;
    height: 500px;
    position: absolute;
    top: 0;
    z-index: 2;
}

.right-info-box
{
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px;
    background: url(../images/info-box.png)/*tpa=http://genmac.co.th/templates/genmac/images/info-box.png*/ repeat;
    font-size: 16px;
    z-index: 999;
    color: #FFF;
}

.right-info-box .logo
{
    display: block;
    margin: 0 auto 10px;
}

.right-info-box ul li
{
    margin: 10px 0;
}

.right-info-box .office-number:before, .right-info-box .fax-number:before, .right-info-box .mobile-number:before
{
    background: url(../images/phone-icon.png)/*tpa=http://genmac.co.th/templates/genmac/images/phone-icon.png*/ no-repeat;    
    content: ' ';
    display: block;
    float: left;
    margin-right: 5px;    
    width: 25px;
    height: 25px;  
}

.right-info-box .office-number:before
{
    background-position: 0px 0px;  
}

.right-info-box .fax-number:before
{
    background-position: 0px -28px;
}

.right-info-box .mobile-number:before
{
    height: 26px;
    background-position: 0px -61px;
}

.main-nav
{
    width: 100%;
    background: url(../images/menu-bg.png)/*tpa=http://genmac.co.th/templates/genmac/images/menu-bg.png*/ repeat;
    position: absolute;
    bottom: 0;
    z-index: 999;
}

.main-nav ul
{
    font-size: 22px;
    display: table;
    margin: 0 auto;    
    color: #FFF;
}

.main-nav ul li
{
    float: left;
}

.main-nav ul li:before
{
    content: '|';
    margin: 0 10px;
}

.main-nav ul li:first-child:before
{
    content: '';
    margin: 0;
}

.main-nav ul li a
{
    font-size: 22px;
    text-decoration: none;
    color: #FFF;
    display: inline;
}

.main-nav ul li a:hover
{
    margin-top: 0;
    text-decoration: underline;
}

.map-box
{
    position: absolute;
    right: 10px;
    bottom: 45px;
    z-index: 999;
    display: block;
}

.map-box .map
{
    float: left;
    position: relative;
    display: block;
    margin: 0 10px;
    transition: background 300ms;
}

.map-box .map:hover
{
    background: url(../images/map-box-bg.png)/*tpa=http://genmac.co.th/templates/genmac/images/map-box-bg.png*/ repeat;
}

.map-box .map .text
{
    background: url(../images/info-box.png)/*tpa=http://genmac.co.th/templates/genmac/images/info-box.png*/ repeat;
}

.map-box .map .text, .map-box .map .text a, .map-box .map .text a:visited
{
    font-size: 23px;
    text-decoration: none;
    color: #111136;
    color: #FFF;    
}

.map-box .map .thumb
{
    display: block;
    content: ' ';
    width: 138px;
    height: 48px;
    box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.5) inset;    
    transition: all 300ms;
    background: #FFF;
}

.map-box .map:hover .thumb
{
    box-shadow: none;
}

.map-box .office .thumb
{
    background: url(../images/map_office.jpg)/*tpa=http://genmac.co.th/templates/genmac/images/map_office.jpg*/ no-repeat;
}

.map-box ._map .thumb
{
    background: url(../images/map_map.jpg)/*tpa=http://genmac.co.th/templates/genmac/images/map_map.jpg*/ no-repeat;
}

.map-box .google-map .thumb
{
    background: url(../images/map_google-map.jpg)/*tpa=http://genmac.co.th/templates/genmac/images/map_google-map.jpg*/ no-repeat;
}

.map-box .map .text
{
    text-align: center;
}

.lang-switch
{
    position: absolute;
    bottom: 5px;
    right: 0;
}

.non-main-lang-switch
{
    background: -moz-linear-gradient(left,  rgba(255,255,255,0.75) 0%, rgba(255,255,255,0.75) 1%, rgba(255,255,255,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,0.75)), color-stop(1%,rgba(255,255,255,0.75)), color-stop(100%,rgba(255,255,255,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left,  rgba(255,255,255,0.75) 0%,rgba(255,255,255,0.75) 1%,rgba(255,255,255,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left,  rgba(255,255,255,0.75) 0%,rgba(255,255,255,0.75) 1%,rgba(255,255,255,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left,  rgba(255,255,255,0.75) 0%,rgba(255,255,255,0.75) 1%,rgba(255,255,255,1) 100%); /* IE10+ */
    background: linear-gradient(to right,  rgba(255,255,255,0.75) 0%,rgba(255,255,255,0.75) 1%,rgba(255,255,255,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bfffffff', endColorstr='#ffffff',GradientType=1 ); /* IE6-9 */

}

.lang-switch li
{
    text-transform: uppercase;
}

.second-nav
{
    width: 100%;
    background: url(../images/second-nav-bg.png)/*tpa=http://genmac.co.th/templates/genmac/images/second-nav-bg.png*/ repeat;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.7);
    height: 40px;
    line-height: 37px;
}

.second-nav ul
{
    font-size: 22px;
    display: table;
    margin: 0 auto;    
    color: #FFF;
}

.second-nav ul li
{
    float: left;
}

.second-nav ul li:before
{
    content: '|';
    margin: 0 10px;
}

.second-nav ul li:first-child:before
{
    content: '';
    margin: 0;
}

.second-nav ul li a
{
    font-size: 22px;
    text-decoration: none;
    color: #FFF;
    display: inline;
}

.second-nav ul li a:hover
{
    margin-top: 0;
    text-decoration: underline;
}

.second-title
{
    float: left;
    padding-top: 5px;
    height: 145px;
    width: 50%;
    background: -moz-linear-gradient(left,  rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(255,255,255,0))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left,  rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left,  rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left,  rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); /* IE10+ */
    background: linear-gradient(to right,  rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=1 ); /* IE6-9 */

}

.second-title .custom
{
    text-align: center;
}

.second-title .logo
{
    
}

.second-title a
{
    text-decoration: none;
}

.second-title .wrapper
{
    float: left;
}

.second-title .title
{
    font-size: 20px;
    color: #000;
}

.random-img
{
    position: absolute;
    z-index: -1;
    height: 150px;
}

.item-page .fourD-post
{
    padding: 10px 25px;
    font-size: 15px;
}

.contact-us-wrapper > div
{
    float: left;
    height: 370px;
}

.contact-us-wrapper .google-maps-wrapper
{
    width: 25%;
}

.contact-us-wrapper .text-wrapper
{
    border-left: 1px solid #9E9E9E;
    margin-left: 20px;
    padding-left: 20px;
    width: 69%;
}

.contact-us-wrapper .text-wrapper .office-number:before, .contact-us-wrapper .text-wrapper .fax-number:before, .contact-us-wrapper .text-wrapper .mobile-number:before
{
    background: url(../images/phone-icon.png)/*tpa=http://genmac.co.th/templates/genmac/images/phone-icon.png*/ no-repeat;    
    content: ' ';
    display: block;
    float: left;
    margin-right: 5px;    
    width: 25px;
    height: 25px;  
}

.contact-us-wrapper .text-wrapper .map-location:before
{
    background: url(../images/map_icon_25x25.png)/*tpa=http://genmac.co.th/templates/genmac/images/map_icon_25x25.png*/ no-repeat;    
    content: ' ';
    display: block;
    float: left;
    margin-right: 5px;    
    width: 25px;
    height: 25px;
}

.contact-us-wrapper .text-wrapper .fax-number:before
{
    background-position: 0px -28px;
}

.contact-us-wrapper .text-wrapper .mobile-number:before
{
    height: 26px;
    background-position: 0px -61px;
}

.product-wrappper > div
{
    position: relative;
}

.product-wrappper .product-highlight
{
    width: 35%;
    height: 350px;
}

.product-wrappper .content
{
    border-left: 1px solid #9E9E9E;
    margin-left: 10px;
    padding-left: 13px;
    width: 60%;
}

.product-wrappper .content h3
{
    font-weight: 600;
    color: #7F8000;
}

.product-wrappper .content tr:first-child h3
{
    margin-top: 5px;
}

.product-wrappper .product-highlight, .product-wrappper .content
{
    float: left;
}

.product-wrappper .product-selector
{
    display: inline-block;
    margin-top: 10px;
    width: 100%;
}

.product-wrappper .product-selector > div
{
    width: 20%;
    height: 140px;
    display: block;
    float: left;    
}

.product-wrappper .product-selector > div
{
    cursor: pointer;
}

.product-wrappper .product-selector > div > div
{
    color: #DC9931;
    height: 140px;
    overflow: hidden;
    position: absolute;
    text-indent: -99999px;
    width: 20%;
}

.product-wrappper .product-selector > div > .bw
{
    z-index: 100;
    transition: all 350ms;
}

.product-wrappper .product-selector > div:hover .bw
{
    height: 0;
    transition: all 500ms;
}

.product-wrappper .product-selector #product-1 .bw
{
    background: url(../images/product/thumb/tcm-t3_bw_01.jpg)/*tpa=http://genmac.co.th/templates/genmac/images/product/thumb/tcm-t3_bw_01.jpg*/ no-repeat;
}

.product-wrappper .product-selector #product-1 .color
{
    background: url(../images/product/thumb/tcm-t3_co_01.jpg)/*tpa=http://genmac.co.th/templates/genmac/images/product/thumb/tcm-t3_co_01.jpg*/ no-repeat;
}

.product-wrappper .product-selector #product-2 .bw
{
    background: url(../images/product/thumb/tcm-t9_bw_01.jpg)/*tpa=http://genmac.co.th/templates/genmac/images/product/thumb/tcm-t9_bw_01.jpg*/ no-repeat;
}

.product-wrappper .product-selector #product-2 .color
{
    background: url(../images/product/thumb/tcm-t9_co_01.jpg)/*tpa=http://genmac.co.th/templates/genmac/images/product/thumb/tcm-t9_co_01.jpg*/ no-repeat;
}

.product-wrappper .product-selector #product-3 .bw
{
    background: url(../images/product/thumb/tcm-z8_bw_01.jpg)/*tpa=http://genmac.co.th/templates/genmac/images/product/thumb/tcm-z8_bw_01.jpg*/ no-repeat;
}

.product-wrappper .product-selector #product-3 .color
{
    background: url(../images/product/thumb/tcm-z8_co_01.jpg)/*tpa=http://genmac.co.th/templates/genmac/images/product/thumb/tcm-z8_co_01.jpg*/ no-repeat;
}

.product-wrappper .product-selector #product-4 .bw
{
    background: url(../images/product/thumb/toyota-7_bw_01.jpg)/*tpa=http://genmac.co.th/templates/genmac/images/product/thumb/toyota-7_bw_01.jpg*/ no-repeat;
}

.product-wrappper .product-selector #product-4 .color
{
    background: url(../images/product/thumb/toyota-7_co_01.jpg)/*tpa=http://genmac.co.th/templates/genmac/images/product/thumb/toyota-7_co_01.jpg*/ no-repeat;
}

.product-wrappper .product-selector #product-5 .bw
{
    background: url(../images/product/thumb/komatsu-17_bw.jpg)/*tpa=http://genmac.co.th/templates/genmac/images/product/thumb/komatsu-17_bw.jpg*/ no-repeat;
}

.product-wrappper .product-selector #product-5 .color
{
    background: url(../images/product/thumb/komatsu-17_co.jpg)/*tpa=http://genmac.co.th/templates/genmac/images/product/thumb/komatsu-17_co.jpg*/ no-repeat;
}

.product-wrappper .product-highlight > div
{
    float: left;
    width: 0;
    height: 350px;
    overflow: hidden;
    transition: width 350ms, opacity 1s;
    opacity: 0;
}

.product-wrappper .product-highlight .product-1
{
    background: url(../images/product/highlight/tcm-t3_01.jpg)/*tpa=http://genmac.co.th/templates/genmac/images/product/highlight/tcm-t3_01.jpg*/ no-repeat;
    width: 100%;
    opacity: 100;
}

.product-wrappper .product-highlight .product-2
{
    background: url(../images/product/highlight/tcm-t9_01.jpg)/*tpa=http://genmac.co.th/templates/genmac/images/product/highlight/tcm-t9_01.jpg*/ no-repeat;
}

.product-wrappper .product-highlight .product-3
{
    background: url(../images/product/highlight/tcm-z8_01.jpg)/*tpa=http://genmac.co.th/templates/genmac/images/product/highlight/tcm-z8_01.jpg*/ no-repeat;
}

.product-wrappper .product-highlight .product-4
{
    background: url(../images/product/highlight/toyota-7_01.jpg)/*tpa=http://genmac.co.th/templates/genmac/images/product/highlight/toyota-7_01.jpg*/ no-repeat;
}

.product-wrappper .product-highlight .product-5
{
    background: url(../images/product/highlight/komatsu-17_01.jpg)/*tpa=http://genmac.co.th/templates/genmac/images/product/highlight/komatsu-17_01.jpg*/ no-repeat;
}

.footer-wrapper
{
    background: #87879A;
    color: #FFF;
    border-left: none;
    border-right: none;
    padding: 3px 0;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.7);
    margin-top: 30px;
}

.footer-wrapper p
{
    text-align: center;
}

.footer-wrapper p a, .footer-wrapper p a:visited
{
    text-decoration: none;
    color: #FFF;
}

.footer-wrapper p a:hover
{
    color: #FFFF2C;
}