/* ---------------------------------------------------------
                           編輯模式樣式 
------------------------------------------------------------*/
.editBorder {
  border: 2px dashed #666;
}

/* pageHeader.htm 主選單編輯圖示樣式 */
.topmenuModify {
  padding: 5px 10px;
  text-align: left;
}

.topmenuModify a.editBlock {
  color: #333 !important;
  padding: 5px;
  margin-right: 10px;
}

.topmenuModify a.editBlock:hover {
  opacity: 0.95;
}

.topmenuModify a.editBlock>i {
  font-size: 20px;
  color: #333 !important;
}

.topmenuModify>b {
  font-weight: normal;
  font-size: 20px;
  line-height: 1;
}

/* ========== New Version's Block Styles ========== */
#Container {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box;
}

#RightBlock,
#CenterBlock,
#LeftBlock {
  /*border: 2px dashed #999;*/
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box;
}

.bb_edit {
  position: relative;
  padding-bottom: 30px;
  /*margin: 10px;
	border: 1px dashed #DDD;*/
}

/* 頁面主題 */
.editSectionTitle {
  position: relative;
}

.editSectionTitle .sectionNameModify {
  position: absolute;
  top: 0;
  right: 0;
  background-color: rgba(216, 200, 6, 1);
  padding: 5px 10px;
  margin: 0px;
  text-align: left;
  font-size: 0;
}

.editSectionTitle .sectionNameModify>b {
  color: #FFF;
  font-weight: normal;
  font-size: 14px;
  line-height: 14px;
  padding-right: 10px;
  line-height: 1;
}

/* Container */
.editSide_b {
  height: auto;
  padding-bottom: 10px;
}

.editCenter_b {
  height: auto;
  padding-bottom: 10px;
}

a.editContainer {
  left: 0px;
  background: #666;
  color: #FFF;
  padding: 2px 6px;
  display: block;
  margin: 2px 2px 20px 2px;
  text-align: center;
}

a.editContainer:hover {
  background: #999;
}

a.editContainer>i {
  padding-right: 5px;
}

/* 區塊主題區 */
a.editBlock {
  color: #FFF;
  padding: 0px 6px 0px 6px;
}

a.editBlock:hover {
  opacity: 0.95;
}

a.editBlock>i {
  font-size: 16px;
  color: #FFF;
}

.editPanel {
  background-color: #00AA91;
  margin: 0px;
  padding: 0px;
  text-align: center;
  z-index: 1;
  float: left;
  font-size: 0px;
}

.editPanel .moveButton {
  width: 30px;
  height: 30px;
  line-height: 30px;
  font-size: 18px;
  color: #FFF;
  cursor: move;
}

.no-title {
  margin-bottom: 10px;
}

.editBlockTitle {
  float: left;
  margin: 0px;
  line-height: 1;
  font-size: 0px;
  z-index: 1;
}

.editBlockTitle::after {
  display: block;
  content: "";
  clear: both;
}

.editBlockTitle>.setting {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  text-align: center;
  height: 30px;
  line-height: 30px;
  padding: 0;
  margin: 0;
  background-color: #00AA91;
  border-left: 1px dashed rgba(255, 255, 255, 0.25);
  border-right: 1px dashed rgba(255, 255, 255, 0.25);
}

.editBlockTitle>.setting a.moreBtn {
  display: block;
  color: #ffffff;
  font-weight: normal;
  font-size: 14px;
  cursor: pointer;
  padding: 0 7px;
}

.editBlockTitle>.setting .dropdown-content {
  position: absolute;
  top: 100%;
  left: 50%;
  padding: 10px 0 0;
  margin-left: -67px;
  transition: all 0.25s ease;
  -webkit-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
  z-index: 1;
  display: none;
}

.editBlockTitle>.setting .dropdown-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 0;
  margin-left: -11px;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-bottom: 11px solid #dedede;
  pointer-events: none;
}

.editBlockTitle>.setting .dropdown-content::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 50%;
  width: 0;
  height: 0;
  margin-left: -10px;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #ffffff;
  pointer-events: none;
}

.editBlockTitle>.setting:hover .dropdown-content {
  display: block;
}

.editBlockTitle>.setting .drop-box {
  display: block;
  width: 124px;
  padding: 5px;
  background-color: #ffffff;
  line-height: 1 !important;
  border-radius: 3px;
  border: 1px solid #dedede;
  box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.15);
}


.editBlockTitle>.setting .drop-box a {
  display: inline-block;
  padding: 7px 5px !important;
  line-height: 1;
  margin-left: 5px;
  margin-right: 5px;
}

.editBlockTitle>.setting .drop-box a>i {
  color: #666 !important;
  font-size: 20px !important;
  font-weight: 400 !important;
}

.editBlockTitle>.setting .drop-box a:hover {
  opacity: 0.9;
}

.editBlockTitle>.delete-box {
  display: inline-block;
  vertical-align: middle;
  text-align: center;
}

.editBlockTitle>.delete-box a.deleteBlock {
  display: block;
  height: 30px;
  color: #ffffff;
  font-weight: normal;
  padding: 0 7px;
  background-color: rgba(216, 200, 6, 1);
}

.editBlockTitle>.delete-box a.deleteBlock:hover {
  opacity: 0.95;
}

.editBlockTitle>.delete-box a.deleteBlock>i {
  font-size: 18px;
  line-height: 30px;
}

/* 區塊內容區 */
.blockModify {
  display: inline-block;
  font-size: 0px;
  line-height: 1;
  margin-top: 10px;
}

.blockModify>.setting {
  position: relative;
  display: block;
  text-align: center;
  height: 30px;
  line-height: 30px;
  padding: 0;
  margin: 0;
  background-color: #169af7;
  border-right: 1px dashed rgba(255, 255, 255, 0.25);
}

.blockModify>.setting a.moreBtn {
  display: block;
  color: #ffffff;
  font-weight: normal;
  font-size: 14px;
  cursor: pointer;
  padding: 0 7px;
}

.blockModify>.setting .dropdown-content {
  position: absolute;
  bottom: 100%;
  left: 0;
  padding: 0 0 10px 0;
  transition: all 0.25s ease;
  -webkit-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
  z-index: 1;
  display: none;
}

.blockModify>.setting .dropdown-content::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15px;
  width: 0;
  height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 11px solid #dedede;
  pointer-events: none;
}

.blockModify>.setting .dropdown-content::after {
  content: '';
  position: absolute;
  bottom: 1px;
  left: 16px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #ffffff;
  pointer-events: none;
}

.blockModify>.setting:hover .dropdown-content {
  display: block;
}

.blockModify>.setting .drop-box {
  display: block;
  width: 124px;
  padding: 5px;
  background-color: #ffffff;
  line-height: 1 !important;
  border-radius: 3px;
  border: 1px solid #dedede;
  box-shadow: 1px -2px 5px rgba(0, 0, 0, 0.15);
}


.blockModify>.setting .drop-box a {
  display: inline-block;
  padding: 7px 5px !important;
  line-height: 1;
  margin-left: 5px;
  margin-right: 5px;
}

.blockModify>.setting .drop-box a>i {
  color: #666 !important;
  font-size: 20px !important;
  font-weight: 400 !important;
}

.editBlockTitle>.setting .drop-box a:hover {
  opacity: 0.9;
}

/* Footer */
#Footer.editBorder {
  position: relative;
}

.footerModify {
  position: absolute;
  top: 0px;
  right: 0px;
  background-color: rgba(216, 200, 6, 1);
  padding: 5px 10px;
}

.footerModify>b {
  color: #FFF;
  font-weight: normal;
  font-size: 14px;
  line-height: 14px;
  padding-right: 10px;
}

.right {
  text-align: right;
}

/* 當為編輯模式的類別 eBlock 樣式設定 */
.eBlock {
  padding: 0px;
  margin: 0px;
  color: #333;
  font-size: inherit;
}

.eBlock img {
  vertical-align: middle;
  display: inline-block
}

.eBlock p {
  font-size: inherit;
  color: #333;
}

/*.eBlock h3 {
	font-size: 1.25em;
	color: #333;
	margin: 0;
	padding: 20px 0px;
}
.eBlock ul, .eBlock li {
	color: #333;
	line-height: 1.75em;
	list-style-type: none;
}*/
.eBlock .e_blockTitle {
  padding: 0px 0px 10px 0px;
}

/* ========== system form style ========== */
.eBlock input,
.eBlock select,
.eBlock textarea {
  font: 14px Heiti TC, "微軟正黑體", "メイリオ", Microsoft JhengHei, Helvetica, Arial, sans-serif;
  padding: 3px;
}

.eBlock select {
  margin: 2px 0px;
}

.eBlock textarea {
  width: 99%;
  box-sizing: border-box;
  border: 1px solid #ccc;
  resize: none;
}

.eBlock [type=checkbox] {
  width: 20px;
  height: 20px;
  position: relative;
  top: 2px;
}

.eBlock input[type=button],
.eBlock input[type=submit],
.eBlock input[type=reset] {
  overflow: visible;
  text-transform: none;
  border: 1px #CCC solid;
  background-color: #DDD;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#FFF), to(#DDD));
  background-image: -webkit-linear-gradient(top, #FFF, #DDD);
  background-image: -moz-linear-gradient(top, #FFF, #DDD);
  background-image: -ms-linear-gradient(top, #FFF, #DDD);
  background-image: -o-linear-gradient(top, #FFF, #DDD);
  background-image: linear-gradient(to bottom, #FFF, #DDD);
  color: #333;
  border-radius: 3px;
  padding: 5px;
  margin: 5px 5px 5px 0px;
}

.eBlock input[type=button]:hover,
.eBlock input[type=submit]:hover,
.eBlock input[type=reset]:hover {
  background: #EEE;
}

.eBlock input[type=text] {
  display: inline-block;
  border: 1px solid #999;
  box-sizing: border-box;
  margin: 2px 0px;
}

/* system table style */
.eBlock table {
  border-spacing: 5px;
  width: 100%;
}

.eBlock th {
  background-color: #EEE;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#FFF), to(#EEE));
  background-image: -webkit-linear-gradient(top, #FFF, #EEE);
  background-image: -moz-linear-gradient(top, #FFF, #EEE);
  background-image: -ms-linear-gradient(top, #FFF, #EEE);
  background-image: -o-linear-gradient(top, #FFF, #EEE);
  background-image: linear-gradient(to bottom, #FFF, #EEE);
  border-top: none;
  /*text-shadow: 0 1px 0 rgba(255,255,255,0.5);*/
  padding: 5px 8px;
  font-size: 16px;
  outline: 1px solid #CCC;
}

.eBlock tr {
  padding: 5px 8px;
  font-size: 16px;
}

.eBlock td {
  background: #FFF;
  padding: 5px 8px;
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.25);
  font-size: 15px;
}

/* ========== General Edit Style========== */
.editButton {
  clear: both;
}

caption {
  text-align: left;
}

.warn {
  margin: 10px 0px;
  border: 1px solid #ffeeba;
  background: #fff3cd;
  padding: 8px 10px;
  border-radius: 3px;
  display: block;
}

#SectionTitle .blockOption {
  font-size: 1em;
  display: block;
}

/* ========== For Color Picker Styles ========== */
.ColoPick {
  position: relative;
  width: 80%;
}

.ColorPick ul {
  margin: 0;
}

.ColorPick li {
  display: inline;
  list-style-type: none;
  padding: 0.25em;
}

.picker {
  z-index: 100;
  position: relative;
}

.picker table {
  width: 100%;
  border: 1px solid #333;
  box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.25);
  border-spacing: 1px;
}

.picker td {
  width: 0.8em;
  height: 0.8em;
  font-size: 1px;
  border: none;
  padding: 0;
}

.picker tr {
  border: none;
  padding: 0;
  margin: 0
}

.pickBlock {
  width: 50%;
  height: 2em;
  line-height: 2.5em;
  text-align: center;
}

.ColorPick input::-webkit-input-placeholder {
  color: #CCC;
}

.ColorPick input:-moz-placeholder {
  color: #CCC;
}

.ColorPick input::-moz-placeholder {
  color: #CCC;
}

.ColorPick input:-ms-input-placeholder {
  color: #CCC;
}

/* ========== CSS Property ========== */
.css_width {
  height: 75px;
  background: url(../../images/system/css_width.gif) no-repeat #ccf;
}

.css_height {
  height: 75px;
  background: url(../../images/system/css_height.gif) no-repeat #ccf;
}

.css_background-image {
  height: 75px;
  background: url(../../images/system/css_background.gif) no-repeat #ccf;
}

.css_margin {
  height: 75px;
  background: url(../../images/system/css_margin.gif) no-repeat #ccf;
}

.css_padding {
  height: 75px;
  background: url(../../images/system/css_padding.gif) no-repeat #ccf;
}

/* ========== For Block Layout Move ========== */
.blockMoving {
  width: 170px;
  position: relative;
  margin: 0px;
  height: 300px;
  display: inline-block;
}

.notice {
  /*color: #CC0000*/
}