@charset "utf-8";
@import "default.css";
@import "products.css";
@import "event.css";

/*
 * Global styles
 */
body {
	background: #fbf3f0;
}
h1 {
	background: #393331;
	color: #fff;
	padding: 15px;
	font-size: 14px;
}
#logout {
	position: absolute;
	right: 0;
	top: 5px;
	width: 130px;
	height: 25px;
	border: 1px solid #111;
}
#logout a {
	display: block;
	padding: 5px;
	background: #fff;
	text-align: center;
	color: #333;
	text-decoration: none;
}
#logout a:hover {
	background: #ccc;
}


#globalNav {
	overflow: hidden;
	position: absolute;
	left: 0;
	top: 0;
	width: 120px;
}
#globalNav li {

}
#globalNav li a {
	display: block;
	padding: 15px 10px;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #000;
	text-align: center;
	background: #393331;
	color: #fff;
	text-decoration: none;
	font-size: 12px;
}
#globalNav li a:hover {
	background: #666;
}

#contentsWrapper {
	position: relative;
}
#container {
	margin: 20px 20px 20px 140px;
	border: 1px solid  #ccc;
	padding: 20px;
	background: #fff;
	border-radius: 4px;
}
#container-narrow {
    width: 400px;
    margin: 20px auto;
	border: 1px solid  #ccc;
	padding: 20px;
	background: #fff;
	border-radius: 4px;
}
#containerPopup {
	margin: 20px;
	border: 1px solid  #ccc;
	padding: 20px;
	background: #fff;
	border-radius: 4px;
}

#flashMessage {
	margin-bottom: 20px;
	border: 2px solid #ed9825;
	padding: 10px;
	background: #fdf2e2;
	text-align: center;
	font-weight: bold;
	font-size: 14px;
}


/* text header */
h2 {
	font-size: 19px;
	border-bottom: 3px solid #d25d0f;
	margin: 0 0 20px 0;
	color: #d25d0f;
}
h3 {
	font-size: 15px;
	margin-bottom: 10px;
}


/* box style */
.box {
	margin-bottom: 30px;
}

.empty {
	margin:30px 0;
}

.handle {
	cursor: move;
}
.tc {
	text-align: center;
}

.box table {
	border-collapse: separate;
	border: 1px solid #c0c0c0;
	margin: 20px 0;
	width: 100%;
}
.box table table {
	margin: 0 0 0 30px;
	width: 90%;

}
.box table th {
	border-bottom: 1px dotted #888;
	border-right: 2px solid #ccc;
	border-top: 1px dotted #fff;
	padding: 10px;
	width: 140px;
	background: #f0f0f0;
}
.box table td {
	border-bottom: 1px dotted #888;
	border-top: 1px dotted #fff;
	padding: 10px;
}

.box .list-tbl th {
	border-right: 1px dotted #888;
	text-align: center;
	width: auto;
}
.box .list-tbl td {
	border-right: 1px dotted #888;
}
.box .list-tbl .parent {
    color: #888;
    font-style: italic;
}
.box .list-tbl .indent {
    margin-left: 1em;
    text-indent: -1em;
}

.disabled {
	background: #dcdcdc;
}

.btn-add {
    margin-bottom: 20px;
}
.page-counter {
    margin: 20px 0;
}

.buttons {
	margin: 20px 0;
	text-align: center;
}
.buttons .main-btn {
	font-weight: bold;
}
.buttons a {
	display: inline-block;
	*display: inline;
	*zoom: 1;
}

.require {
	color: #c00;
}
.box-l {
	width: 600px;
}
textarea.box-l {
    height: 300px;
}
.box-m {
	width: 200px;
}
textarea.box-m {
	width: 500px;
	height: 100px;
}
.box-zip {
	width: 100px;
}

.note {
    font-size: 10px;
}

.error-message {
    color: #c00;
    background: url(../_cmsimg/Alert.png) no-repeat left top;
    padding: 4px 0 4px 20px;
}
.form-error {
    background: #fff6f6;
}

.form {
	background: #f9f9f9;
	padding: 5px;
	border-bottom: 1px solid #f0f0f0;
}
.form div {
    margin-bottom: 5px;
}

optgroup  {
    font-weight: bold;
}
optgroup option {
    padding-left: 2em;
    font-weight: normal;
}

/* Page nav */
.page-nav {
    zoom: 1;
}
.page-nav:after {
    content: "";
    display: block;
    clear: both;
}
.page-nav li {
    float: left;
}
.page-nav li a {
    padding: 4px 5px;
    border: 1px solid #ccc;
    margin-right: 3px;
    display: block;
    color: #55c;
    text-decoration: none;
}
.page-nav li a:hover {
    background: #88c;
    color: #fff;
}
.page-nav li.current {
    padding: 4px 5px;
    border: 1px solid #ccc;
    margin-right: 3px;
    display: block;
    font-weight: bold;
    background: #777;
    color: #fff;
}
.page-nav li.disabled {
    padding: 4px 5px;
    border: 1px solid #eee;
    margin-right: 3px;
    display: block;
    background: #fff;
    color: #aaa;
}


.ui-sortable-helper td {
	background: #fff9e3;
}

#selectedProducts span {
    display: inline-block;
    padding: 3px 5px;
    background: #f3f3f3;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    margin-right: 5px;
}
#selectedProducts span a {
    margin-left: 3px;
}

#relatedProducts .child {
    padding-left: 1em;
    text-indent: -1em;
    margin-left: 1em;
}
#relatedProducts .child span {
    color: #888;
}
#relatedProducts .gchild {
    padding-left: 2em;
    text-indent: -1em;
    margin-left: 2em;
}
#relatedProducts .gchild span {
    color: #888;
}

#modalWindow {
    display: none;
    position: absolute;
    width: 280px;
    left: 0;
    top: 0;
    background: #000;
    padding: 10px;
    color: #fff;
    border-radius: 6px;
    -webkit-border-radius: 6px;
}
#modalWindow p {
    text-align: center;
}
#modalWindow .loading {
    margin-top: 10px;
    text-align: center;
}



/*******************************
 * login
 ********************************/
#login p {
    margin-bottom: 20px;
}
#login div {
    margin-bottom: 5px;
}
#login label {
    width: 100px;
    display: inline-block;
}
#login .submit {
    margin-top: 30px;
    text-align: center;
}



/*******************************
 * home
 ********************************/
#home {
    zoom: 1;
    margin-top: 20px;
}
#home:after {
    content: "";
    display: block;
    clear: both;
}
#home .box {
    width: 200px;
    float: left;
    padding: 10px;
    border: 1px solid #ddd;
    background: #f8f8f8;
}
#home .box + .box {
    margin-left: 20px;
}
#home .box strong {
    font-size: 18px;
}
#home .box h3 {
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 5px;
}

/*******************************
 * WYSIWIG editor
 ********************************/
.formatblock h3 {
    color: #000;
    font-size: 13px;
}
.formatblock h4 {
    color: #000;
    font-size: 13px;
}

.wysiwygBody h3 {
  background: url(/images/common/block_arrow_long.png) no-repeat left 3px;
  font-size: 14px;
  font-weight: bold;
  height: 30px;
  padding-left: 23px;
  margin-bottom: 10px;
}
.wysiwygBody h4 {
margin-bottom: 25px;
padding: 0 0 10px 0;
border-left: 0;
border-bottom: 2px solid #e8e4e0;
font-size: 1.4em;
}
.wysiwygBody h5 {
padding-left: 0;
background: none;
color: #e27500;
font-size: 1.2em;
}

.wysiwygBody p {
    margin-bottom: 2em;
}
.wysiwygBody .noMargin {
    margin-bottom: 0px !important;
}
.wysiwygBody .indent {
	padding-left: 15px;
}

.wysiwygBody ul, ol {
	margin: 0 0 1em 0;
	padding-left: 0;
}
.wysiwygBody ul li {
	margin-left: 20px;
	list-style-type: disc;
}
.wysiwygBody ol li {
	list-style-type: decimal;
	margin-left: 20px;
}

.wysiwygBody td,
.wysiwygBody th {
	vertical-align: top;
}


.wysiwygBody .content-head {
  margin-bottom: 2em;
}
.wysiwygBody .content-head:after {
  content: "";
  display: block;
  clear: both;
}
.wysiwygBody .content-head img {
  max-width: 46%;
  height: auto;
  float: left;
}
.wysiwygBody .content-head .es_catch-copy {
  width: 50%;
  float: right;
  margin-bottom: 1em;
  padding: 0.3em 0 0.3em 1em;
  border-left: 5px solid #ff8200;
  font-size: 1.5em;
  font-weight: bold;
  box-sizing: border-box;
}
.wysiwygBody .content-head .es_overview_text {
  width: 50%;
  float: right;
}
.wysiwygBody .es_menu_link {
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flexbox;
  display: -moz-flexbox;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: -moz-flex;
  -js-display: flex;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 50px;
}
.wysiwygBody .es_menu_link a {
  margin-right: 4em;
  padding-right: 1.5em;
  background: url(/assets/img/common/icon_arrow02_down.png) no-repeat right center/0.8em auto;
}
.wysiwygBody .es_primary-item {
  display: inline-block;
  margin-bottom: 1em;
  padding: 0.3em 1em;
  background: #ff8200;
  color: #fff;
  font-size: 1.3em;
}
.wysiwygBody .es_secondary-item {
  display: inline-block;
  margin-bottom: 1em;
  padding: 0 0.5em;
  font-weight: bold;
  border-bottom: 2px solid #ddd;
}
.wysiwygBody .es_item_box {
  margin: 0 0 1em 0;
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flexbox;
  display: -moz-flexbox;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: -moz-flex;
  -js-display: flex;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: flex-start;
  -ms-flex-pack: flex-start;
  justify-content: flex-start;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}
.wysiwygBody .es_item_box li {
  width: 16.2%;
  margin: 0 5px 0.3em 0;
  padding: 0.3em;
  border: 2px solid #ff8200;
  list-style: none;
  text-align: center;
  box-sizing: border-box;
}
.wysiwygBody  .es_item_box2 {
  margin: 0 0 1em 0;
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flexbox;
  display: -moz-flexbox;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: -moz-flex;
  -js-display: flex;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: flex-start;
  -ms-flex-pack: flex-start;
  justify-content: flex-start;
  -webkit-align-items: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
}
.wysiwygBody  .es_item_box2 li {
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flexbox;
  display: -moz-flexbox;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: -moz-flex;
  -js-display: flex;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  width: 16.2%;
  margin: 0 5px 10px 0;
  padding: 0.3em;
  border: 2px solid #ff8200;
  list-style: none;
  text-align: center;
  box-sizing: border-box;
  overflow-wrap: anywhere;
}
.wysiwygBody .indent {
  margin-left: 2.5em;
}

.wysiwygBody hide_script {
    display: none;
}
.wysiwygBody .subhead {
    display: inline-block;
    border-left: 4px solid #ff8200;
    padding-left: 0.8em;
    font-weight: bold;
}

/*******************************
 * product categories
 ********************************/
#productCategories h3 {
    margin-bottom: 30px;
}
#productCategories h3 span.head {
    font-weight: normal;
    background: #d25d0f;
    padding: 3px;
    margin-right: 10px;
    font-size: 12px;
    color: #fff;
}

/*******************************
 * cases
 ********************************/
td.note {
	position: relative;
	cursor: pointer;
}
td.note:hover .popup {
	left: 100%;
	opacity: 1;
	transition: 0.3s;
}
td.note .popup {
	position: absolute;
	top: 50%;
	left: 110%;
	width: 100%;
	margin-top: -50%;
	padding: 10px;
	background: #fff;
	border: 2px solid #777;
	border-radius: 4px;
	opacity: 0;
	transition: 0.3s;
}
td.note .popup:after {
	content: "";
	position: absolute;
	top: 45%;
	left: -16px;
	width: 0;
	height: 0;
	border: 8px solid transparent;
	border-right: 8px solid #777;
}

