/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
  color: #222;
}

body {
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
  font-size: 12px;
  position: fixed;
  width: 100%;
  color: #000;
  background: #ffc;
  border-bottom: 2px outset #fff;
  margin: 0;
  padding: 4px 0;
  font-family: "_sans";
  text-align: center;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
  background-color: transparent;
  border: 0;
  overflow: hidden;
  /* IE 6/7 fallback */
  *text-indent: -9999px;
}

.ir:before {
  content: "";
  display: block;
  width: 0;
  height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
  display: none !important;
  visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
  *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
(-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
  * {
    background: transparent !important;
    color: #000 !important; /* Black prints faster: h5bp.com/s */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links for images, or javascript/internal links
   */

  .ir a:after,
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: "";
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group; /* h5bp.com/t */
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  @page {
    margin: 0.5cm;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}


/* JBS */
body{
  font-family: EyeLevel,Arial, _sans;
  line-height: 1.7em;
}

input,
select,
textarea {
  font-family: EyeLevel,Arial, _sans;
}



body.zh-hant{
  font-family: '微软雅黑','Microsoft Yahei',Arial, _sans;
  line-height: 1.7em;
}

body.zh-hant header #top-nav{
  text-align: right;
  font-size: 12px;
}

body.zh-hant header #main-nav a {
  font-size: 16px;
}


body.zh-hant input,
body.zh-hant button,
body.zh-hant select,
body.zh-hant textarea {
  font-family: '微软雅黑','Microsoft Yahei',Arial, _sans;
}

a{
  color:#dddddd;
  text-decoration: underline;
}

a:hover{
  color:#ffffff;
  text-decoration: underline;
}

h1
{
  font-size: 45px;
  font-weight: bold;
  line-height: 1.5em;
  display:inline-block;
  border-bottom:1px solid #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

h3 {
  margin: 2em 0 1em 0;
}

#fixedForm
{
  width: 920px;
  border: 0px;
  height: 290px;
  margin-top: 50px;
  margin-bottom: 50px;
  overflow: hidden;
}

#bannerlink
{
  position:fixed;
  bottom:100px;
  display:none;
  background:#ffffff;
  right:0px;
  padding:30px 80px 30px 80px;
  font-size: 25px;
  text-align: right;
  background:#fff url('../../img/shortcut_bg.png') no-repeat left 50%;
  background-position-x: 20px;
}

#bannerlink a
{
  text-decoration: none;
  color:#005eb0;
  display:block;
}

#bannerlink .link2
{
  color:#005eb0;
}
#bannerlink .link2
{
  color:#fba800;
}
#bannerlink .link2
{
  color:#5fb131;
}

#bannerlink button
{
  display:block;
  position:absolute;
  top:5px;
  right:5px;
  background: url(../../img/close.png) no-repeat;
  width:16px;
  height:16px;
  border:none;
}

#applyContainer
{
	position:absolute;
	height:0px;
	overflow:visible;
	left: 50%;
}

#applyNow
{
	/*margin:0 auto;*/
	/*width:920px;*/
}

#applyNow a
{
  position:absolute;
  top:120px;
  left:500px;
  display: none;
}

#contents_wrapper
{
  width:920px;
  margin:0 auto;
}

.tabs{
  margin:60px 0;
}

.tabs header
{
  border-top:none;
  background:none;
  height:auto;
  border-bottom:2px solid #ffffff;
}

.tabs header a,
.tabs header a.active,
.tabs header a:hover
{
  display: inline-block;
  padding: 10px 15px;

  font-size: 19px;
  font-weight: bold;
  margin-right: 3px;
  width: 168px;
}

.tabs header a:hover
{
  text-decoration:none;
}

.tab_content
{
  display:none;
}

.tab_content.active
{
  display:block;
}

.tab_content .left
{
  width:650px;
}

.tab_content aside
{
  float:right;
  width:270px;
  text-align: center;

}

.subtab
{
  display:none
}

.subtab.active
{
  display:block
}

.tab_content nav
{
  display:block;
  margin:30px 0;
}

.tab_content nav a:first-child
{
  margin-left:0px
}

.tab_content nav a
{
  display:inline-block;
  height:120px;
  width:220px;
  margin-left:8px;
  opacity:0.5;
  -webkit-transition: all 0.15s linear;
  -ms-transition: all 0.15s linear;
  -moz-transition: all 0.15s linear;
  -o-transition: all 0.15s linear;
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
}

.tab_content nav a:hover,
.tab_content nav a.active
{
  opacity:1;
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

.tab_content nav a:hover span,
.tab_content nav a.active span
{
  visibility:hidden;
}

.tab_content nav a
{
  text-align: center;
}

.tab_content nav span
{
  display:inline-block;
  padding:2px 7px;
  background: #fff;
  color:#005eb0;
  margin-top:40px;
}

.tab_content nav em
{
  display:inline-block;
  padding:3px 0px;
  width:100%;
  font-style: normal;
  color:white;
  margin-top:60px;
}



#usa1_content{
  background: url('../../img/usa1.jpg') no-repeat;
}

#usa2_content{
  background: url('../../img/usa2.jpg') no-repeat;
}

#usa3_content{
  background: url('../../img/usa3.jpg') no-repeat;
}

#usa4_content{
  background: url('../../img/usa4.jpg') no-repeat;
}
#indonesia1_content{
  background: url('../../img/indonesia1.jpg') no-repeat;
}
#indonesia2_content{
  background: url('../../img/indonesia2.jpg') no-repeat;
}
#malaysia1_content{
  background: url('../../img/mal1.jpg') no-repeat;
}
#malaysia2_content{
  background: url('../../img/mal2.jpg') no-repeat;
}

.contact{
  margin-bottom:30px;
}

.contact td{
  padding:0 30px 0 0px;
  vertical-align: top;
}

.contact td.address{
  width:350px;
}

.contact td.phone{
  width:250px;
  text-align: center;
}



.contact tbody td{
  padding:1em 30px 1em 30px;
  background: url("/wp-content/themes/daekyo/img/table_doubleline.png") right repeat-y;
}

.contact td:first-child{
  padding:1em 30px 1em 0px;
}

.contact td:last-child{
  background: none;
}

.contact thead td,
.contact thead td:first-child{
  font-size:1.2em;
  font-weight:bold;
  padding:0em 30px 1em 30px;
}

.contact thead td:first-child{
  padding:0em 30px 1em 0px;
}



.contact tfoot td.hr {
  background: url("/wp-content/themes/daekyo/img/hr_over.png") 0 10px no-repeat;
  height: 30px;
}

.contact td.addr,.contact td.contacts {
  width:460px
}

#wrappapp
{
  width:800px;
  position:relative;
  margin:0 auto;
  top:100px;
}
#wrappapp.global
{
  width:600px;
  position:relative;
  margin:0 auto;
  top:100px;
}

#wrappapp button
{
  display:block;
  position:absolute;
  top:20px;
  right:20px;
  width:42px;
  height:42px;
  background: url("/wp-content/themes/daekyo/img/close_form.png") 0 0px no-repeat;
  border:0;
  z-index: 100;
}
@media screen and (max-width: 600px) {
    #wrappapp button {
        position: fixed;
    }
}


#application_form{
  width:100%;
  height:100%;
  position:absolute;
  top:0;
  left:0;
  z-index:10000;
  display:none;
}

#applicationForm{
  width:800px;
  height:1026px
}
#applicationForm.global {
  width:600px;
  height:796px
}


#menu-footer-menu,
#menu-footer-menu-indonesian,
#menu-footer-menu-chinese-traditional
{
  padding: 0 0 0 6px;
}


.conversion iframe{border:0!important;}
/* 하단 아이프레임 LEAVE US 모바일최적화 : 나머지 속성은 form-inquiry-my.php 내에 위치 */
#fixedForm{
  width:920px!important;
  background:#fff;
}
@media all and (max-width: 992px) {
  #fixedForm{
    width:100%!important;
    height:830px!important;
  }
}