[contenteditable],
[contenteditable]:focus {
  outline: 0px solid transparent;
}
button {
  outline: none;
}
.f-non-selectable {
  user-select: none;
  -o-user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}
.f-non-selectable * {
  user-select: none;
  -o-user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}
.templatic-editor {
  user-select: none;
  -o-user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}
.templatic-editor *:not(input):not(textarea) {
  user-select: none;
  -o-user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}
.templatic-element {
  min-height: 20px;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  word-wrap: break-word;
}
.templatic-element hr {
  height: 1px;
  background: #CCC;
  border: 0;
  clear: both;
}
.templatic-element * {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}
.templatic-element.f-tni span.f-img-wrap {
  display: block;
  text-align: center;
}
.templatic-element.f-tni span.f-img-wrap:after {
  clear: both;
  display: block;
  content: "";
}
.templatic-element.f-tni span.f-img-editor {
  display: inline-block;
}
.templatic-element.f-tni img {
  display: block;
  margin-left: auto !important;
  margin-right: auto !important;
}
.templatic-element.f-tni img:after {
  clear: both;
  display: block;
  content: "";
}
.templatic-element.f-rtl {
  direction: rtl;
  text-align: right;
}
.templatic-element.f-rtl.f-placeholder:before {
  left: auto;
  right: 10px;
}
.templatic-element span {
  line-height: 120%;
}
.templatic-element img::selection {
  color: #FFF;
  background-color: transparent !important;
}
.templatic-element img::-moz-selection {
  color: #FFF;
  background-color: transparent !important;
}
body.frontend_editor .templatic-element.f-placeholder{
  display: block;
  overflow: hidden;
}

.frontend_textarea.f-placeholder:before{
  color: #cccccc;
  font-style: italic;
  content: attr(data-placeholder);
  margin: auto;
  left: 10px;
  right: 10px;
}
.templatic-element.f-placeholder:before {
  color: #cccccc;
  font-style: italic;
  content: attr(data-placeholder);
  position: absolute;
  margin: auto;
  left: 10px;
  right: 10px;
}
.templatic-element img {
  max-width: 100% !important;
  min-width: 32px !important;
  min-height: 32px !important;
  border: solid 3px transparent;
  cursor: pointer;
  z-index: 1;
  position: relative;
}
.templatic-element pre {
  white-space: pre-wrap;
  /* CSS3 */
  white-space: -moz-pre-wrap;
  /* Mozilla, post millennium */
  white-space: -pre-wrap;
  /* Opera 4-6 */
  white-space: -o-pre-wrap;
  /* Opera 7 */
  word-wrap: break-word;
  /* Internet Explorer 5.5+ */
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border: solid 1px #cccccc;
  background: #FCFCFC;
  padding: 10px;
  overflow: auto;
}
.templatic-element span.f-img-wrap {
  line-height: 0;
  display: block;
  text-align: center;
}
.templatic-element span.f-img-editor {
  display: inline-block;
  position: relative;
  max-width: 100% !important;
  text-align: center;
  border: solid 1px #1A2D35;
  padding: 2px;
  line-height: 0;
}
.templatic-element span.f-img-editor img {
  border: 0;
}
.templatic-element span.f-img-handle {
  position: absolute;
  height: 15px;
  width: 15px;
  border: solid 1px #353535;
  background: #FFF;
  z-index: 2;
  margin: auto;
}
.templatic-element span.f-img-handle.f-h-ne {
  top: -1px;
  left: auto;
  right: -1px;
  bottom: auto;
  cursor: ne-resize;
}
.templatic-element span.f-img-handle.f-h-se {
  top: auto;
  left: auto;
  right: -1px;
  bottom: -1px;
  cursor: se-resize;
}
.templatic-element span.f-img-handle.f-h-sw {
  top: auto;
  left: -1px;
  right: auto;
  bottom: -1px;
  cursor: sw-resize;
}
.templatic-element span.f-img-handle.f-h-nw {
  top: -1px;
  left: -1px;
  right: auto;
  bottom: auto;
  cursor: nw-resize;
}
.templatic-element.f-basic {  
  padding: 30px 0;
}
.templatic-element a {
  cursor: pointer;
}
.f-html .templatic-element {
  background: #353535;
  color: #FFF;
  overflow-y: auto;
  padding: 0;
}
.f-html .templatic-element:after {
  clear: both;
  display: block;
  content: "";
}
.f-html .templatic-element textarea {
  direction: ltr !important;
  text-align: left;
  width: 100%;
  word-wrap: break-word;
  padding: 0 0 0 10px;
  background: transparent;
  border: 0 transparent;
  color: #FFF;
  resize: none !important;
  line-height: 140%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  resize: none;
  min-height: 100px;
}
.templatic-box {
  position: relative;
}
.templatic-box .html-switch {
  position: absolute;
  left: 0;
  top: -30px;
  z-index: 1000;
  display: none;
  font-size: 14px;
  line-height: 160%;
  height: 30px;
  border: solid 1px #aaaaaa;
}
.templatic-box.f-html .html-switch {
  display: inline-block;
}
.templatic-modal {
  position: fixed;
  z-index: 1001;
  overflow-x: auto;
  overflow-y: scroll;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  text-align: center;
}
.templatic-modal .f-modal-wrapper {
  margin: 50px auto;
  display: inline-block;
  background: #FFF;
  min-width: 300px;
  text-align: center;
  border: solid 1px #000;
  border-top: solid 5px #000;
}
.templatic-modal .f-modal-wrapper .f-preloader {
  margin: 50px 0;
}
.templatic-modal .f-modal-wrapper h4 {
  margin: 0;
  margin: 10px 10px;
  text-align: left;
}
.templatic-modal .f-modal-wrapper h4:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
.templatic-modal .f-modal-wrapper h4 i {
  float: right;
  cursor: pointer;
}
.templatic-editor {
  text-align: left;
  background:#f1f1f1;
  border: solid 1px #CCC!important;
  border-radius: 4px;
  padding: 0;
  position: absolute;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-size: 15px;
  /*z-index: 1000;*/
  font-family: Arial, Helvetica, sans-serif;
  padding: 5px 10px;
  -webkit-box-shadow: 0 0 2px 0 #ccc; 
  box-shadow: 0 0 2px 0 #ccc;
}
.templatic-editor * {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}
.templatic-editor input[type="text"],
.templatic-editor textarea {
  border-radius: 0;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
}
.templatic-editor.f-basic {
  padding: 0px;
  /*z-index: 999;*/
  position: relative;
}
body.frontend_editor .templatic-editor.f-basic.show_editor{
	 display: block!important;
}
body.frontend_editor .templatic-editor.f-basic{
  display: none!important;
}
.templatic-editor.f-basic:after {
  content: "";
  display: block;
  clear: both;
}
.templatic-editor.f-basic .fr-bttn {
  margin: 0;
  float: left;
}
.templatic-editor.f-basic.f-scroll {
  position: absolute;
  left: 0;
  right: 0;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: inherit;
}
.templatic-editor.right-side:before {
  right: 15px;
  left: auto;
}
.templatic-editor .bttn-wrapper {
  white-space: nowrap;
}
.templatic-editor .fr-bttn {
  background: transparent;
  display: inline-block;
  width: 40px;
  text-align: center;
  margin: 0px;
}
.templatic-editor .fr-bttn img {
  max-width: 40px;
  max-height: 35px;
  display: block;
}
.templatic-editor .fr-bttn:disabled {
  color: #aaaaaa !important;
}
.templatic-editor .fr-bttn[data-disabled="true"] button,
.templatic-editor .fr-bttn[data-disabled="true"] i.for-text {
  color: #aaaaaa !important;
}
.templatic-editor .fr-bttn[data-disabled="true"]:after {
  border-top-color: #aaaaaa !important;
}
.templatic-editor .fr-bttn i {
  line-height: 170%;
  -moz-outline: 0;
  outline: 0;
}
.templatic-editor button::-moz-focus-inner {
  border: 0;
}

.templatic-editor button:not(.fr-color-bttn).fr-trigger,
.templatic-editor button:not(.fr-color-bttn).fr-bttn {
  padding: 0;
  background: transparent;
  color: #353535;
  -moz-outline: 0;
  outline: 0;
  border: 0;
  line-height: 35px;
  border-radius: 0;
  border-left:1px solid transparent;
  border-right:1px solid transparent;
}
.templatic-editor button:not(.fr-color-bttn).fr-trigger:hover,
.templatic-editor button:not(.fr-color-bttn).fr-bttn:hover {
  color: #FFF;
}
.templatic-editor button:not(.fr-color-bttn).fr-trigger:first-child,
.templatic-editor button:not(.fr-color-bttn).fr-bttn:first-child {
  border-left: 1px solid transparent;
  padding-right: 5px;
  padding-left: 5px;
}
.templatic-editor button:not(.fr-color-bttn).fr-trigger.active,
.templatic-editor button:not(.fr-color-bttn).fr-bttn.active {
  color: #2c82c9;
}

.templatic-editor i.for-text {
  font-style: normal;
  font-weight: bold;
  padding-left: 4px;
}
.templatic-editor .link-wrapper *:not(input):not(textarea){
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.templatic-editor .link-wrapper h4 {
  margin: 7px 5px;
}
.templatic-editor .link-wrapper h4:after{
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
.templatic-editor .link-wrapper h4 i{
  float: right;
  cursor: pointer;
  color: #cccccc;
}
.templatic-editor .link-wrapper h4 i:hover{
  color: #777;
}

/*.templatic-editor .link-wrapper p {
  margin: 10px 5px;
}*/
.templatic-editor .link-wrapper p:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
.templatic-editor .link-wrapper p label {
  float: left;
  margin: 5px 5px 0;
  line-height: 120%;
}
.templatic-editor .link-wrapper input[type="text"] {
  width: 220px;
  border: solid 1px #cccccc;
  margin: 0 5px;
  height: 30px;
  padding:0 6px;
  vertical-align: top;
  display: inline-block;
}
.templatic-editor .link-wrapper input[type="text"] + p {
  display: inline-block;
  margin-top: 0px;
}
.templatic-editor .link-wrapper button {
  float: right;
}

button.f-ok {
  background: gray;
  border: 0;
  color: #FFF;
  padding: 5px 12px;
  margin: 0;
  line-height: 19px;
  font-weight: bold;
  cursor: pointer;
  -webkit-transition: background linear 0.2s, box-shadow linear 0.2s;
  -moz-transition: background linear 0.2s, box-shadow linear 0.2s;
  -o-transition: background linear 0.2s, box-shadow linear 0.2s;
  transition: background linear 0.2s, box-shadow linear 0.2s;
}
button.f-ok:hover {
  background: #353535 !important;
  color: #FFF;
}
button.f-ok.f-unlink {
  background: gray;
  margin: 0 5px;
  display:none!important;
}
.templatic-overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #000;
  z-index: 1000;
  -webkit-opacity: 0.5;
  -moz-opacity: 0.5;
  opacity: 0.5;
}

.frontend_editor .ui-datepicker{
	background-color: #fff !important;
	border: 1px solid #ccc !important;
}