*{
    margin: 0;
    padding: 0;
    
    
}

/*

img {
-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
-ms-filter: grayscale(100%);
-o-filter: grayscale(100%);
filter: grayscale(100%);
filter: gray; 
}
html {
-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
-ms-filter: grayscale(100%);
-o-filter: grayscale(100%);
filter: grayscale(100%);
filter: gray;   
}
body {
filter: gray;  
}
*/


#popup_this {
  text-align: center;
  width: 70%;
  height: 70%;
  position: absolute;
  padding: 1px;
}

.img-box {
 display: inline-block;
  position: relative;
  width: 70%;          
  max-width: 800px;    
  max-height: 80vh; 
}

.img-box img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  object-fit: contain;
}

.b-close {
  position: absolute;
  top: 8px;
  right: 8px;
  color: #aaaaaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}






a img { border: 0; } 

html{
    overflow-y: scroll;
}


html * {max-height:1000000px;}

body{
    background-color: #fff;   
}

#logoborder{
    width: 825px;  
    margin-top: 10px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 10px;
}

#logo{
    padding-left: 40px;
    float: left;
    margin-top: 0;
    margin-bottom: 10px;
}

#logo img{
    width: 400px;
}

#lang ul{
    margin-right: 20px;
    
}

#lang ul li{
    font-family: verdana, arial, helvetica;
    margin-top: 10px;
    float: right;
    list-style: none;
}

.en {
    font-family: verdana, arial, helvetica;
    font-size: 12px;
    background-color: #d11919;
    border-top-right-radius: 5px;
    border: 1px solid;
}

.en a{
    text-decoration: none;
    color: #fff;
    display: block;
    padding: 3px;
}

.th {
    font-family: verdana, arial, helvetica;
    font-size: 12px;
    background-color: #d11919;
    border-top-left-radius: 5px;
    border-top:1px solid;
    border-left:1px solid;
    border-bottom:1px solid;
}

.th a{
    text-decoration: none;
    color: #fff;
    padding: 3px;
    display: block;
    
}

#lang ul li:hover{
    background-color: #ff5111;
}

/*nav*/

#nav_wrapper{
    clear: both;
/*    width: 830px;*/
    display: table;
    margin: 0 auto;
    margin-bottom: 10px;
}

#nav {
  display: inline;
  margin: 0;
  list-style: none;
  -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}

#nav li {
  display: inline-block;
  background: #236EB3;
/*    background: #666;*/
  margin-right: -6px;
  position: relative;
  font-family: tahoma,arial,helvetica,sans-serif;
    font-size: 15px;
  padding: 10px 0px;
  cursor: pointer;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -ms-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
}

#nav li:hover {
  background: #333;
  color: #fff;
}

#nav li ul {
    z-index: 1;
  padding: 0;
  position: absolute;
  top: 37px;
  left: 0;
  width: 155px;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  display: none;
  opacity: 0;
  visibility: hidden;
  -webkit-transiton: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  -ms-transition: opacity 0.2s;
  -o-transition: opacity 0.2s;
  -transition: opacity 0.2s;
}

#nav li ul li { 
  background: #555; 
  display: block; 
  color: #fff;
  text-shadow: 0 -1px 0 #000;
}
#nav li ul li:hover { background: #333; }
#nav li:hover ul {
  display: block;
  opacity: 1;
  visibility: visible;
}

#nav li.separator{
    font-size: 15px;
    color: #fff;
}

#nav li.separator:hover{
        background-color: #236EB3;
}

#nav li a{
    text-decoration: none;
    color: #fff;
    padding: 10px 15px;
}

.fc {
    border-top-left-radius: 15px;
}

.lc {
    border-top-right-radius: 15px;
}

.currentpage a{
    background-color: #222;
}

/*
#nav_wrapper{
    clear: both;
}

.navc {
	display: table; 
	margin: 0 auto;
}

ul#nav {
	min-width: 800px;
	list-style: none;
    background: #236EB3;
    border-top-left-radius: 17px;
    border-top-right-radius: 17px;
    margin-bottom: 10px;
    border: 1px solid #333;
    overflow: auto;
	}

ul#nav li {
    float: left;
    font-family: tahoma,arial,helvetica,sans-serif;
    font-size: 15px;
}

ul#nav li a{
    text-decoration: none;
    color: #fff;
    display: inline-block;
    padding: 10px 18px;
}

#nav li:hover {
    background-color: #333;
}

#nav li:active{
    background-color: #333;
}

#nav li.separator{
    font-size:0;
    border-left:1px solid #fff;
    height: 18px;
    margin-top: 10px;
}

#nav li:first-child{
    border-top-left-radius: 15px;
}

#nav li:last-child{
    border-top-right-radius: 15px;
}

.currentpage a{
    background-color: #222;
}

.firstchild a{
    background-color: #222;
    border-top-right-radius: 15px;
}

.lastchild a{
    background-color: #222;
    border-top-right-radius: 15px;
}
*/


/*contentframe*/

#contentframe{
    width: 825px;
    margin: 0 auto;
    border: 1px solid;
    border-color: #ccc;
    padding-top: 10px;
    margin-bottom: 30px;
    overflow: auto;
}


/*Webpo*/

/*
#webpoframe{
    
    width: 625px;
    height: 100px;
    margin: 0 auto;
    overflow: auto;
}

.webpo{
    width: 300px;
    margin: 0 auto;
    float: left;
}

.webpo img{
    width: 300px;
    margin-top: 50px;
    padding: inherit;
}

.webpo1{
    width: 300px;
    margin: 0 auto;
    float: right;
}

.webpo1 img{
    width: 300px;
    margin-top: 50px;
    padding: inherit;
}
*/

/*iso*/

#contentheadiso{
    width:825px;
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid;
    border-bottom: none;
    border-color: #333;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;  
    background: #88159d;
}

#contentheadiso .isofont{
    color: #fff;
    margin-top: 5px;
    margin-left: 20px;
    padding-bottom: 5px;
    font-family: tahoma,arial,helvetica,sans-serif;
    text-shadow: 0px 1px 3px #333;  
}

.certwrap{
    width: 800px;
    margin-left: 3px;
    margin-top: 20px;
}

.iso li{
    list-style: none;
    margin-bottom: 20px;
}

.iso > ul li{
    float: left;
    padding-left: 20px
}

.iso img{
    width: 180px;
    margin: 0 auto;
}

.certdetail{
    clear: both;
    padding-left: 30px;
    padding-right: 30px;
    text-align: left;
    font-family: tahoma, arial, helvetica;
    font-size: 16px;
}

.cert1{
    width: 150px;
}

.certcolor{
    background-color: #f6f6f6;
}

.certdetail li{
    list-style: none;
    margin-left: 20px;
    margin-bottom: 10px;
}


/*activity*/

#contentheadact{
    overflow: auto;
    width:825px;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid;
    border-bottom: none;
    border-color: #333;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;  
    background: #eb2323;
}

#contentheadact .actfont{
    color: #fff;
    margin-top: 5px;
    margin-left: 20px;
    padding-bottom: 5px;
    font-family: tahoma,arial,helvetica,sans-serif;
    text-shadow: 0px 1px 3px #333;  
}

#contentheadactindex{
    width:825px;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid;
    border-bottom: none;
    border-color: #333;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;  
    background: #eb2323;
}

#contentheadactindex .indexactfont{
    color: #fff;
    margin-top: 5px;
    margin-left: 20px;
    padding-bottom: 5px;
    font-family: tahoma,arial,helvetica,sans-serif;
    text-shadow: 0px 1px 3px #333;  
}

#acttable{
    width: 700px;
    margin-right: auto;
    margin-left: auto;
    border-bottom: 1px solid #ccc;
}

.actlasttable{
    margin-bottom: 40px;
}

#acttable td p{
    text-align: left;
}

#acttable td img{
    width: 220px;
    height: 110px;
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 40px;
    float: left;
    border-radius: 15px;
    box-shadow: 1px 1px 8px #333;
}

#acttable.cellink{
    border-collapse: collapse;
}

.celllink td a{
    display:block;
    height: 150px;
    text-decoration: none;
    color: #333;
    border-radius: 15px;
}

.celllink td a:hover, .cellink td a:active, .cellink td a:focus {
    background-color: #eee;
}

.readmore{
    width: 23%;
    margin: 10px auto;
    text-align: center;
    font-family: tahoma,arial,helvetica,sans-serif;
}

.readmore a{
    text-decoration: none;
}

.readmore a:hover{
    text-decoration: underline;
}

/*management policy*/

#contentheadmp{
    clear: both;
    width:825px;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid;
    border-bottom: none;
    border-color: #333;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;  
    background: #1530a3;
}

#contentheadmp .mpfont{
    color: #fff;
    margin-top: 5px;
    margin-left: 20px;
    padding-bottom: 5px;
    font-family: tahoma,arial,helvetica,sans-serif;
    text-shadow: 0px 1px 3px #333;  
}

.presidentpic{
    width: 250px;
    margin-top: 20px;
    margin-right: 10px;
    margin-left: 30px;
}

.left{
    float: left;
}

.right{
    padding-left: 10px;
    font: right;
    overflow: auto;
    margin-left: 10px;
    margin-bottom: 50px;
    
}

.right a{
    text-decoration: none;
}

.right a:hover{
    text-decoration: underline;
}

.right h3{
    margin-top: 20px;
    font-family: tahoma,arial,helvetica,sans-serif;
    color: #333;
    padding-left: 10px;
    font-size: 16px;
}

.right p{
    text-align: left;
    padding-left: 15px;
    padding-right: 15px;
    font-family: tahoma,arial,helvetica,sans-serif;
}

.posthead{
    background-color: #eee;
    border: 1px solid #ccc;
    border-top-right-radius: 7px;
    border-bottom-left-radius: 7px;
    margin-right: 20px;
    margin-left: 10px;
    padding-bottom: 2px;
}

.mplink a{
    text-decoration: none;
}

.mpname{
    font-family: tahoma,arial,helvetica,sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #113074;
    margin-top: 0;
    margin-left: 30px;
    margin-right: 10px;
    background: #eee;
    border: 1px solid #ccc;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
    padding: 10px;
    text-align: center;
}

.mplink a:hover{
    text-decoration: underline;
}

/*products*/

#contentheadpd{
    overflow: auto;
    width:825px;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid;
    border-bottom: none;
    border-color: #333;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;  
    background: #4b4b4b;
}

#contentheadpd .pdfont{
    color: #fff;
    margin-top: 5px;
    margin-left: 20px;
    padding-bottom: 5px;
    font-family: tahoma,arial,helvetica,sans-serif;
    text-shadow: 0px 1px 3px #333;  
}

.autoparts{
    font-family: tahoma,arial,helvetica,sans-serif;
    font-size: 20px;
    width: 350px;
    margin-top: 20px;
    margin-left: 50px;
    margin-right: auto;
    margin-bottom: 5px;
    padding: 5px;
    text-align: center;
    background: #444;
    color: #fff;
    text-shadow: 2px 2px 2px #444;
    box-shadow: 1px 2px 2px #444;
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
}

.autopartsother{
    font-family: tahoma,arial,helvetica,sans-serif;
    font-size: 20px;
    width: 350px;
    margin-top: 20px;
    margin-left: 50px;
    margin-right: auto;
    margin-bottom: 10px;
    padding: 5px;
    text-align: center;
    background: #444;
    color: #fff;
    text-shadow: 2px 2px 2px #444;
    box-shadow: 1px 2px 2px #444;
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
}

.autoparts2{
    font-family: tahoma,arial,helvetica,sans-serif;
    font-size: 20px;
    width: 150px;
    margin-top: 20px;
    margin-left: 50px;
    margin-right: auto;
    margin-bottom: 10px;
    padding: 5px;
    text-align: center;
    background: #444;
    color: #fff;
    text-shadow: 2px 2px 2px #444;
    box-shadow: 1px 2px 2px #444;
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
}

.autoparts3{
    font-family: tahoma,arial,helvetica,sans-serif;
    font-size: 20px;
    width: 260px;
    margin-top: 40px;
    margin-left: 50px;
    margin-right: auto;
    margin-bottom: 10px;
    padding: 5px;
    text-align: center;
    background: #444;
    color: #fff;
    text-shadow: 2px 2px 2px #444;
    box-shadow: 1px 2px 2px #444;
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
}

/*Activity*/

#acttablepd {
    width: 80%;
    margin: 0 auto;
}

#acttablepd h3,p{
    text-align: center;
    font-family: tahoma,arial,helvetica,sans-serif;

}

#acttablepd td img{
    width: 600px;
    margin-top: 5px;
    border-radius: 15px;
/*    box-shadow: 1px 1px 8px #333;*/
    overflow: auto;
}

.autot{
    clear: both;
    margin-top: 30px;
}

#acttablepd.cellink{
    border-collapse: collapse;
}

.celllinkpd td a{
    display:block;
    height: 780px;
    text-decoration: none;
    color: #333;
    border-radius: 15px;
}

.celllinkpd td a:hover, .cellinkpd td a:active, .cellinkpd td a:focus {
    background-color: #eee;
}

/*corporate outline*/

#contentheadco{
    overflow: auto;
    width:825px;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid;
    border-bottom: none;
    border-color: #333;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;  
    background: #1c910d;
}

#contentheadco .cofont{
    color: #fff;
    margin-top: 5px;
    margin-left: 20px;
    padding-bottom: 5px;
    font-family: tahoma,arial,helvetica,sans-serif;
    text-shadow: 0px 1px 3px #333;  
}

.factorypic{
    width: 390px;
    margin-top: 20px;
    margin-right: 10px;
    margin-left: 30px;
}

.right ul{
    list-style-image: url(list.png);
}

.right ul li{  
    font-family: tahoma,arial,helvetica,sans-serif;
    padding-top: 10px;
    margin-left: 30px;     
}

.factoryname{
    font-family: tahoma,arial,helvetica,sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: #113074;
    margin-top: 0;
    margin-left: 30px;
    margin-right: 10px;
    background: #eee;
    border: 1px solid #ccc;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
    padding: 10px;
}

.factoryname a{
    text-decoration: none;
    color: #113074;
}

/*global network*/

#contentheadgn{
    overflow: auto;
    width:825px;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid;
    border-bottom: none;
    border-color: #333;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;  
    background: #ff8c00;
}

#contentheadgn .gnfont{
    color: #fff;
    margin-top: 5px;
    margin-left: 20px;
    padding-bottom: 5px;
    font-family: tahoma,arial,helvetica,sans-serif;
    text-shadow: 0px 1px 3px #333;  
}

/*contact*/

#contentheadct{
    overflow: auto;
    width:825px;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid;
    border-bottom: none;
    border-color: #333;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;  
    background: #0cb1bf;
}

#contentheadct .ctfont{
    color: #fff;
    margin-top: 5px;
    margin-left: 20px;
    padding-bottom: 5px;
    font-family: tahoma,arial,helvetica,sans-serif;
    text-shadow: 0px 1px 3px #333;  
}

.rightmap{
    padding-left: 10px;
    font-family: tahoma,arial,helvetica,sans-serif;
    font: right;
    overflow: auto;
    margin-left: 10px;
}

.rightmap h3{
    margin-top: 20px;
    font-family: tahoma,arial,helvetica,sans-serif;
    color: #333;
    padding-left: 10px;
    font-size: 16px;
}

.rightmap p{
    text-align: left;
    padding-left: 15px;
}

.rightmap a{
    text-decoration: none;
}

.rightmap a:hover{
    text-decoration: underline;
}

.map{
    clear: both;
    text-align: center;
    margin-bottom: 40px;
}

.mapa{
    clear: both;
    margin-top: 20px;
    text-align: center;
    margin-bottom: 40px;
}

/*careers*/

#contentheadcr{
    clear: both;
    width:825px;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid;
    border-bottom: none;
    border-color: #333;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;  
    background: #e32ec7;
}

#contentheadcr .crfont{
    color: #fff;
    margin-top: 5px;
    margin-left: 20px;
    padding-bottom: 5px;
    font-family: tahoma,arial,helvetica,sans-serif;
    text-shadow: 0px 1px 3px #333;  
}

.thg{
    font-family: tahoma,arial,helvetica,sans-serif;
background: #ffffff; /* Old browsers */
background: -moz-linear-gradient(top,  #ffffff 0%, #f1f1f1 51%, #e1e1e1 53%, #c9c9c9 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(51%,#f1f1f1), color-stop(53%,#e1e1e1), color-stop(100%,#c9c9c9)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #ffffff 0%,#f1f1f1 51%,#e1e1e1 53%,#c9c9c9 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #ffffff 0%,#f1f1f1 51%,#e1e1e1 53%,#c9c9c9 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #ffffff 0%,#f1f1f1 51%,#e1e1e1 53%,#c9c9c9 100%); /* IE10+ */
background: linear-gradient(to bottom,  #ffffff 0%,#f1f1f1 51%,#e1e1e1 53%,#c9c9c9 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#c9c9c9',GradientType=0 ); /* IE6-9 */

}

.pcareer{
    font-family: tahoma,arial,helvetica,sans-serif;
}

.tcareer{
    width: 95%;
    height: 50px;
    margin: 20px auto;
    text-align: left;
    border: 1px solid;
    border-color: #ccc;
    border-collapse: collapse;
    font-family: tahoma,arial,helvetica,sans-serif;
    font-size: 14px;
}

pcareer > tr ,th, td{
    padding: 5px;
    text-align: left;
}
.topic {
    margin-left: 20px;
    font-family: tahoma,arial,helvetica,sans-serif;
}

.topic a{
    text-decoration: none;
}

.topic a:hover{
    text-decoration: underline;
}

.trcolor1{
    background-color: #f6f6f6;
}

.quali{
    list-style: none;
}

.clearfix:after{
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
}

#footer{
    font-family: verdana, arial, helvetica;
    width: 100%;
    margin:0 auto;
    padding: 10px 0;
    text-align: center;
    font-size: 14px;
    color: #fff;
    background-color: #236EB3;
}
