/* IE5.5 hacks */
* html #lang_sel,
* html #lang_sel_list {
  width: 12em;
}
* html #lang_sel a,
* html #lang_sel_list a {
  width: 149px;
}
* html #lang_sel a:visited,
* html #lang_sel_list a:visited {
  width: 149px;
}
* html #lang_sel ul ul,
* html #lang_sel_list ul {
  top: 18px;
}
* html #lang_sel ul ul a,
* html #lang_sel_list ul a {
  width: 150px;
}
* html #lang_sel ul ul a:visited,
* html #lang_sel_list ul a:visited {
  width: 150px;
}

/* remove all the bullets, borders and padding from the default list styling */
#lang_sel {
  height: 32px;
  position: relative;
  font-family: verdana, arial, sans-serif;
  display: inline-block;
  /* style the table so that it takes no part in the layout - required for IE to work */
  /* style the top level hover */
}
#lang_sel ul {
  padding: 0 !important;
  margin: 0 !important;
  list-style-type: none !important;
  /* hide the sub levels and give them a positon absolute so that they take up no room */
}
#lang_sel ul li:hover ul, #lang_sel ul a:hover ul {
  visibility: visible;
}
#lang_sel ul ul {
  width: 149px;
  visibility: hidden;
  position: absolute;
  height: 0;
  top: 25px;
  left: 0;
  border-top: 1px solid #cdcdcd;
}
#lang_sel ul ul a {
  background: #ffffff;
  color: #444444;
  height: auto;
  line-height: 1em;
  padding: 5px 10px;
  border-width: 0 1px 1px 1px;
}
#lang_sel ul ul a:visited {
  background: #ffffff;
  color: #444444;
  height: auto;
  line-height: 1em;
  padding: 5px 10px;
  border-width: 0 1px 1px 1px;
}
#lang_sel li {
  float: left;
  width: 149px;
  position: relative;
  padding: 0 !important;
  margin: 0 !important;
  list-style-type: none !important;
}
#lang_sel li:before {
  content: '' !important;
}
#lang_sel a {
  display: block;
  font-size: 11px;
  text-decoration: none !important;
  color: #444444;
  border: 1px solid #cdcdcd;
  background: #fff;
  padding-left: 10px;
  line-height: 24px;
}
#lang_sel a:visited {
  display: block;
  font-size: 11px;
  text-decoration: none !important;
  color: #444444;
  border: 1px solid #cdcdcd;
  background: #fff;
  padding-left: 10px;
  line-height: 24px;
}
#lang_sel a.lang_sel_sel {
  background: url(../img/nav-arrow-down.png) #fff right no-repeat;
  color: #444;
}
#lang_sel a.lang_sel_sel:hover {
  text-decoration: none;
  color: #000;
}
#lang_sel table {
  position: absolute;
  top: 0;
  left: 0;
  border-collapse: collapse;
}
#lang_sel a:hover, #lang_sel ul ul a:hover, #lang_sel :hover > a, #lang_sel ul ul :hover > a {
  color: #000;
  background: #eee;
}
#lang_sel img.iclflag {
  width: 18px;
  height: 12px;
  position: relative;
  top: 1px;
}
#lang_sel.icl_rtl {
  text-align: right;
  direction: rtl;
}
#lang_sel.icl_rtl .lang_sel_sel {
  padding-right: 14px;
}

/* make the second level visible when hover on first level list OR link */
#lang_sel_footer {
  margin: 0;
  padding: 7px;
  text-align: center;
  font: 11px Verdana, sans-serif;
  min-height: 15px;
  clear: both;
  background-color: #fff;
  border: 1px solid #cdcdcd;
}
#lang_sel_footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#lang_sel_footer ul li {
  display: inline;
  margin: 0 1px 0 0;
  padding: 0;
  white-space: nowrap;
  line-height: 25px;
}
#lang_sel_footer ul li img {
  position: relative;
  top: 1px;
  width: 18px;
  height: 12px;
}
#lang_sel_footer ul li a {
  text-decoration: none;
  padding: 5px 10px;
}
#lang_sel_footer ul li a:visited {
  text-decoration: none;
  padding: 5px 10px;
}

#wpml_credit_footer {
  width: 100%;
  margin: 10px 0;
  padding: 0;
  text-align: center;
  font-size: 11px;
}

/* MOD Sato [S] 2016.04.26 */
.language_selector {
  width: 140px;
  text-align: center;
}
.language_selector_mark {
  font-family: 'Amiri';
  position: absolute;
  top: 10px;
  right: 140px;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 2.0px;
}
.sp_menu li.sp_language_selector_mark {
  font-family: 'Amiri';
  font-size: 15px;
  font-weight: bold;
  width: 105px;
  letter-spacing: 2.0px;
  margin-top: 20px;
  text-align: center;
}
/* MOD Sato [E] 2016.04.26 */

/* remove all the bullets, borders and padding from the default list styling */
.language_selector #lang_sel_list {
  /* MOD Sato [S] 2016.04.26 */
  /*height: 32px;*/
  display: inline-block;
  /* MOD Sato [E] 2016.04.26 */
  position: relative;
  z-index: 99;
  /*margin-top: 20px;*/
  margin-bottom: 22px;
  /* MOD Sato [S] 2016.04.26 */
  /*font-family: verdana, arial, sans-serif;*/
  /* MOD Sato [E] 2016.04.26 */
  /* style the table so that it takes no ppart in the layout - required for IE to work */
}
/* MOD Sato [S] 2016.04.26 */
#icl_lang_sel_preview #lang_sel_list {
  display:none;
}
#lang_sel_list {
  font-family: 'Amiri';
  position: absolute;
  top: 12px;
}
.sp_menu #lang_sel_list {
  font-family: 'Amiri';
  top: 8px;
}
.sp_menu .language_selector #lang_sel_list {
  margin-bottom: 18px;
}
.header_wrap .language_selector_mark {
  left: 0;
}
.header_wrap #lang_sel_list {
  left: 110px;
}
.frame_border #lang_sel_list {
  right: 34px;
}
.frame_border #lang_sel_list ul a {
  font-size: 13px;
}
/* MOD Sato [E] 2016.04.26 */
#lang_sel_list ul {
  padding: 0 !important;
  margin: 0 !important;
  list-style-type: none !important;
}
#lang_sel_list ul li:hover ul, #lang_sel_list ul a:hover ul {
  visibility: visible;
}
#lang_sel_list ul.lang_sel_list_vertical {
  width: 149px;
}
#lang_sel_list ul a {
  background: #ffffff;
  /* DEL Sato [S] 2016.04.26 */
  /*color: #444444;*/
  /* DEL Sato [E] 2016.04.26 */
  height: auto;
  line-height: 1em;
}
#lang_sel_list li {
  float: left;
  position: relative;
  padding: 0 !important;
  margin: 0 !important;
  list-style-type: none !important;
}
/* MOD Sato [S] 2016.04.26 */
#lang_sel_list li:first-child {
  border-right: 1px solid #dddddd;
}
#lang_sel_list li:first-child + li {
  border-right: 1px solid #dddddd;
}
/* MOD Sato [E] 2016.04.26 */

#lang_sel_list li:before {
  content: '' !important;
}
.sp_menu_wrap #lang_sel_list a {
  font-size: 15px;
  padding: 0.1rem 1rem 0.1rem 1.2rem;
}
#lang_sel_list a {
  display: block;
  /* MOD Sato [S] 2016.04.26 */
  /*font-size: 11px;*/
  font-size: 11px;
  letter-spacing: 2.0px;
  /* MOD Sato [E] 2016.04.26 */
  text-decoration: none !important;
  /* MOD Sato [S] 2016.04.26 */
  /*color: #444444;*/
  color: #cccccc;
  /* MOD Sato [E] 2016.04.26 */
  background: #fff;
  line-height: 18px;
  /* MOD Sato [S] 2016.04.26 */
  /*padding-left: 5px;*/
  padding: 0.1rem 0.4rem 0.1rem 0.6rem;
  /* MOD Sato [E] 2016.04.26 */
}
.sp_menu_wrap #lang_sel_list a:visited {
  font-size: 15px;
  padding: 0.1rem 1rem 0.1rem 1.2rem;
}
#lang_sel_list a:visited {
  display: block;
  /* MOD Sato [S] 2016.04.26 */
  /*font-size: 11px;*/
  font-size: 13px;
  letter-spacing: 2.0px;
  /* MOD Sato [E] 2016.04.26 */
  text-decoration: none !important;
  /* MOD Sato [S] 2016.04.26 */
  /*color: #444444;*/
  color: #cccccc;
  /* MOD Sato [E] 2016.04.26 */
  background: #fff;
  line-height: 18px;
  /* MOD Sato [S] 2016.04.26 */
  /*padding-left: 5px;*/
  padding: 0.1rem 0.4rem 0.1rem 0.6rem;
  /* MOD Sato [E] 2016.04.26 */
}

#lang_sel_list a.lang_sel_sel {
  background-image: none;
  color: #000;
  font-weight: bold;
}
#lang_sel_list a.lang_sel_sel:hover {
  text-decoration: none;
  color: #000;
  font-weight: bold;
}
#lang_sel_list.lang_sel_list_vertical {
  width: 149px;
  /* hide the sub levels and give them a positon absolute so that they take up no room */
}
#lang_sel_list.lang_sel_list_vertical ul {
  /*visibility:hidden;position:absolute;*/
  height: 0;
  top: 19px;
  left: 0;
  border-top: 1px solid #cdcdcd;
}
#lang_sel_list.lang_sel_list_vertical ul a {
  padding: 3px 10px;
}
#lang_sel_list.lang_sel_list_vertical li {
  width: 149px;
}
#lang_sel_list.lang_sel_list_vertical a {
  border: 1px solid #cdcdcd;
  border-top-width: 0;
  padding-left: 10px;
}
#lang_sel_list.lang_sel_list_vertical a:visited {
  border: 1px solid #cdcdcd;
  border-top-width: 0;
  padding-left: 10px;
}
#lang_sel_list table {
  position: absolute;
  top: 0;
  left: 0;
  border-collapse: collapse;
}
#lang_sel_list img.iclflag {
  width: 18px;
  height: 12px;
  position: relative;
  top: 1px;
}

/* style the second level links */
#lang_sel_list_list ul a:visited {
  background: #ffffff;
  color: #444444;
  height: auto;
  line-height: 1em;
  padding: 3px 10px;
}

/* reset menu img definitions */
.menu-item-language img.iclflag {
  height: 12px !important;
  width: 18px !important;
  margin-bottom: 0 !important;
  margin-right: 4px;
}
