html[dir="rtl"] #form_main {
  text-align: right;
}

html[dir="ltr"] #form_main {
  text-align: left;
}

.regexp .h_e {
  font-size: 15px;
  margin-right: 10px;
  margin-top: 5px;
  opacity: 0.75;
  position: absolute;
}

#menu_toolbar {
  display: inline-block;
  position: absolute;
  left: 45px
}

html[dir="ltr"] #menu_toolbar {
  left: 0px;
}

.blocks {
  display: none;
  padding: 4px;
  box-shadow: 0 0 7px #999999;
  z-index: 200;
  opacity: 1;
  max-width: 400px;
  position: absolute;
  background-color: #FFF;
  border: 1px solid #ADA8A8;
  border-radius: 5px;
  max-height: 550px;
  overflow: auto;
}

#print-2 .blocks {
  max-height: 550px;
}

#fast-menu {
  background-color: #FFF;
  border: 1px solid #CACACA;
  border-radius: 5px;
  box-shadow: 0 0 2px #999;
  display: inline-block;
  padding: 3px 0px 12px;
  position: absolute;
  width: 44px !important;
  z-index: 200;
}

/*html[dir=ltr] #fast-menu{margin-right: -44px}*/

/*#fast-menu, .blocks{ float: left;}*/
html[dir=ltr] #fast-menu, html[dir=ltr] .blocks {
  float: right
}

#fast-menu .h_e {
  margin-right: -4px;
  margin-top: -6px;
  position: absolute;
  opacity: 0.75;
}

#fast-menu .h_e:hover {
  opacity: 1;
}

#fast-menu ul {
  height: auto;
  margin-bottom: 10px;
}

#fast-menu ul li {
  border: 1px solid #CACACA;
  border-radius: 5px 5px 5px 5px;
  display: block;
  height: 36px;
  list-style-type: none;
  margin: auto;
  margin-bottom: 2px;
  text-align: center;
  width: 36px;
}

#fast-menu ul li a {
  display: block;
  height: 35px;
  margin: auto;
  text-align: center;
  width: 35px;
}

#fast-menu li a:before {
  font-size: 20px;
  color: #fff;
  margin-right: -5px;
  margin-top: 2px;
}

#fast-menu #form-setting:before {
  margin-right: -3px;
}

#fastmenu-handler {
  border-radius: 0 0 4px 4px;
  background-color: #515151;
  bottom: 0;
  color: #FFFFFF;
  cursor: pointer;
  display: block;
  font-size: 16px;
  height: 17px;
  position: absolute;
  text-align: center;
  width: 42px;
}

#block-form-setting input[type=text], input[type=datetime-prv], input[type=date-prv], input[type=url], input[type=number], input[type=email], select, textarea {
  width: 150px
}

#block-element-setting input[type=text], input[type=datetime-prv], input[type=date-prv], input[type=url], input[type=number], input[type=email], select, textarea {
  width: 150px
}

.tree ul li, .tree ul li:hover {
  padding: 0px
}

a.accordion-toggle {
  cursor: move
}

#box-header {
  width: 100%;
  height: 30px;
  background-color: rgb(49, 130, 204);
  color: #fff;
  text-align: center;
  line-height: 25px;
  font-size: 16px;
  font-family: nasimb;
  border-radius: 5px;
  margin-bottom: 5px;
  box-shadow: 0px 0px 5px #999;
  border: 1px solid rgb(152, 211, 250);
}

#block-form-setting .h_e {
  margin-top: -30px;
  margin-right: -122px;
}

#block-form-setting td span {
  display: block;
  min-height: 25px
}

#msg_b {
  border: 1px solid rgb(202, 202, 202);
  border-radius: 5px 5px 5px 5px;
  margin: 25px auto;
  width: 98%;
  position: relative;
  text-align: right;
  overflow: hidden;
  box-shadow: 0px 0px 4px rgb(202, 202, 202);
  padding: 10px;
}

#msg_b > div * {
  line-height: normal;
}

#msg_b_inner {
  border: 1px solid rgb(202, 202, 202);
  border-radius: 5px 5px 5px 5px;
  text-align: center;
  padding: 5px;
  background: none repeat scroll 0 0 #E9F8FC;
  min-height: 38px;
}

#table_edit td, #tab3 td {
  text-align: left;
  padding-left: 8px;
}

#table_edit td + td, #tab3 td + td {
  text-align: right;
}

.icon-help-position {
  margin-right: -33px;
  margin-top: -22px;
}

div#dialog-attach {
  display: none;
  padding: 2px;
  overflow: hidden;
}

select[name='linescount'] {
  height: 30px;
}

div#dialog-attach iframe {
  width: 100%;
  height: 100%;
}

.ico {
  background-image: url('../view/img/custom/tvu/sprite.png') !important;
  background-repeat: no-repeat;
  width: 25px;
  height: 24px;
  display: inline-block;
}

.ico1 {
  background-position: center center;
  background-repeat: no-repeat;
  display: inline-block;
  height: 49px;
  margin: 1px;
  padding: 0;
  width: 72px;
  cursor: pointer;
}

.re {
  list-style-type: none;
}

#form_view {
  background: #ffffff;
  height: auto;
  border-radius: 4px;
  float: right;
  width: 100%;
  padding: 10px 10px 10px 0;
  min-height: 300px;
}

.div_element:hover {
  border: 1px solid #bbb !important;
  background: #f6f6f6;
  cursor: move;
  border-radius: 7px;
}

.div_element.selected_div {
  border: 1px solid #bbbbff !important;
  background: #CCEEFF !important;
  border-radius: 7px;
}

.div_element:hover .editor_remove, .selected_div .editor_remove, .div_element:hover .editor_copy, .selected_div .editor_copy {
  visibility: visible;
  opacity: 1;
}

.div_element:hover .editor-btn, .selected_div .editor {
  visibility: visible;
}

.div_element:hover .img_title_edit, .selected_div .img_title_edit {
  visibility: visible;
}

.img_title_edit {
  visibility: hidden;
  float: left;
}

.editor-btn {
  position: relative;
  left: 10px;
  visibility: hidden;
  float: left;
}

.editor_remove, .editor_copy {
  position: relative;
  left: 0;
  visibility: hidden;
  float: left;
  opacity: 0;
  margin: 0 4px;
}

#showimg textarea, #showimg input, #showimg select {
  max-width: 100% !important;
}

#block2 input[type=text] {
  width: 150px;
}

#block3 input, #block3 select {
  width: 150px !important;
}

#block3 input[type=checkbox] {
  width: 10px !important;
}

#noedit_dialog {
  background: #CCCCCC;
  border-radius: 5px;
  min-height: 70px;
  padding: 20px;
}

#form_main input[type=text], #form_main input[type=date], #form_main input[type=number] {
  height: 28px;
}

#span_req {
  display: inline;
  color: #FF0000;
}

.cp {
  text-align: right;
  font-size: 0.95em;
}

#tabpage {
  height: auto;
  width: 350px;
  position: absolute;
  z-index: 200;
  opacity: .5;
}

#tabpage:hover {
  cursor: move;
  opacity: .95;
}

.cp2 {
  text-align: center;
  width: 200px;
  height: 60px;
  padding-top: 20px;
  margin: 5px;
}

#accordion ul > li {
  display: inline-block;
}

.accordion-toggle {
  cursor: pointer;
  display: block;
  padding: 8px 15px;
  background: #5C9CCC;
  border-radius: 5px;
  color: #fff;
}

.accordion-toggle:hover {
  background: url("../images/ui-bg_glass_85_dfeffc_1x400.png") repeat-x scroll 50% 50% #035F98;
  color: #fff;
}

html[dir=ltr] .cp {
  float: left;
}

section#accordion {
  cursor: default;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

/*-----ckeditor------*/
.cke_skin_kama *, .cke_skin_kama a:hover, .cke_skin_kama a:link, .cke_skin_kama a:visited, .cke_skin_kama a:active {
  font: 11px Tahoma !important;
}

.cke_skin_kama [class^="icon-"]:before, .cke_skin_kama [class*=" icon-"]:before {
  font-family: FontAwesome !important;
}

div#category_tree ul li {
  font: 9pt tahoma;
  padding: 0 20px 0 0;
}

.tree {
  width: 100%;
}

#msg_b ul {
  list-style-type: disc;
  padding: 2px 15px;
}

#field_is_conditional {
  display: block;
  margin: 15px 10px 10px 10px;
  border: 1px solid rgb(204, 204, 204);
  padding: 10px;
  box-shadow: 0px 0px 4px 1px rgb(204, 204, 204);
}

#rules {
  margin: 15px 10px 35px 10px;
  border: none;
  padding: 10px;
  box-shadow: 0px 0px 4px 1px rgb(131, 131, 131);
  background-color: rgb(231, 231, 231);
  display: block;
  position: relative;
  text-align: right;
}

#rules::after {
  border-left: 35px solid transparent;
  border-right: 35px solid transparent;
  border-top: 25px solid rgb(231, 231, 231);
  content: "";
  position: absolute;
  right: 39%;
  top: 100%;
  width: 0;
}

#block-new-element {
  margin-right: -345px
}

#block-form-setting {
  margin-right: -375px
}

#block-form-cat {
  margin-right: -335px
}

#block-element-setting {
  margin-right: -400px;
  min-width: 400px
}

#showimg-body {
  height: 90%
}

html[dir="ltr"] #block-new-element, html[dir="ltr"] #block-form-cat, html[dir="ltr"] #block-form-setting, html[dir="ltr"] #block-element-setting {
  margin-left: 45px;
  margin-right: initial;
}

