@font-face {
  font-family: 'FontAwesome';
  src: url('fonts/fontawesome-webfont.eot?v=4.2.0');
  src: url('fonts/fontawesome-webfont.eot?#iefix&v=4.2.0') format('embedded-opentype'),
    url('fonts/fontawesome-webfont.woff?v=4.2.0') format('woff'),
    url('fonts/fontawesome-webfont.ttf?v=4.2.0') format('truetype'),
    url('fonts/fontawesome-webfont.svg?v=4.2.0#fontawesomeregular') format('svg');
  font-weight: normal;
  font-style: normal;
}

.ptc-form_default,
.ptc-form-form_default {
  width: 100%;
  min-width: 320px;
  max-width: 400px;
}
.ptc-form_default .ptc-form-placeholder {
  display: none;
}
.ptc-form-placeholder-btn {
  vertical-align: middle;
  padding: 0;
  color: #1160d7;
  background: none;
  border: none;
  border-bottom: dotted 1px;
  font-size: 18px;
  cursor: pointer;
  outline: none;
}
.ptc-form_default.ptc-form_placeholder .ptc-form-placeholder {
  display: block;
}
.ptc-form_default .ptc-form-container {
  opacity: 1;
  transition: opacity .3s;
  height: auto;
}
.ptc-form_default.ptc-form_placeholder .ptc-form-container {
  opacity: 0;
  max-height: 0;
  transition: all 0s;
  height: 0;
}
.ptc-form-form_default {
  position: relative;
}
.ptc-form-form_default.ptc-form_preload::before {
  content: "";
  position: absolute;
  z-index: 15;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  background: rgba(255, 255, 255, .9) url(images/preloader.gif) no-repeat center center;
}
.ptc-form-form_default .ptc-form-row {
  margin: 0 0 10px;
}
.ptc-form-form_default .ptc-form-label {
  display: block;
  margin: 0 0 5px;
  font-size: 16px;
}
.ptc-form-form_default .ptc-form-label-required-star {
  display: inline-block;
  vertical-align: top;
  margin: 0 4px 0 0;
  color: #f00;
  font-size: 14px;
}
.ptc-form-form_default .ptc-form-input {
  display: inline-block;
  vertical-align: middle;
  width: 100%;
  padding: 10px;
  border: 1px solid #acacac;
  color: #444;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  outline: none;
}
.ptc-form-form_default .ptc-form-input_text {
  max-width: 270px;
}
.ptc-form-form_default .ptc-form-input_textarea {
  height: 74px;
  resize: none;
}
.ptc-form-form_default .ptc-form-input_error {
  border: 1px solid #f00;
}
.ptc-form-form_default .ptc-form-input_error + .wysiwyg-editor {
  border: 1px solid #f00;
}
.ptc-form-form_default .ptc-form-submit {
  margin: 10px 0 0;
  padding: 10px 28px;
  color: #fff;
  background: #1361d7;
  border: none;
  text-transform: uppercase;
  cursor: pointer;
  outline: none;
  transition: background-color .3s;
}
.ptc-form-form_default .ptc-form-submit:disabled {
  background: #A6B3C5;
}
.ptc-form-form_default .ptc-form-skip {
  margin: 0 0 0 20px;
  padding: 0;
  color: #1160d7;
  background: none;
  border: none;
  border-bottom: dotted 1px;
  cursor: pointer;
  outline: none;
}
.ptc-form-form_default .ptc-form-form_edit-field {
  display: none;
}
.ptc-form-form_default .ptc-form-input_error-block {
  color: red;
  padding-top: 10px;
  display: none;
}

/* verifiers */
.ptc-form-form_default .ptc-form-i-robot-label {
  display: inline-block;
  cursor: pointer;
}
.ptc-form-form_default .ptc-form-i-robot-checkbox {
  cursor: pointer;
  outline: none;
}
.ptc-form-form_default .ptc-form-bitrix-captcha-img {
  float: left;
  vertical-align: middle;
  width: 180px;
  height: 40px;
}
.ptc-form-form_default .ptc-form-bitrix-captcha-input {
  width: 80px;
}
.ptc-form-form_default .prc-form-bitrix-captcha-dynamic-wrapper {
  position: relative;
  display: inline-block;
  vertical-align: top;
  margin: 0 10px 0 0;
}
.ptc-form-form_default .ptc-form-bitrix-captcha-img-reload {
  position: absolute;
  z-index: 10;
  top: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  background: url(images/reload.png) no-repeat center center;
  background-color: transparent;
  background-size: contain;
  border: none;
  outline: none;
  cursor: pointer;
}

/* editor */
.wysiwyg-container {
  overflow: visible;
  color: black;
  background: none white;
  border: 1px solid #acacac;
}
.wysiwyg-textarea {
  display: block;
  width: 100%;
  height: 1.5em;
  padding: 0;
  resize: none;
}
.wysiwyg-wrapper {
  position: relative;
}
.wysiwyg-editor {
  position: relative;
  min-height: 1.5em;
  min-height: 120px;
  max-height: 150px;
  line-height: 1.5;
  padding: 10px;
  overflow: auto;
  outline: none;
  color: #141824;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  border: 1px solid transparent;
  -ms-word-wrap: break-word;
  word-wrap: break-word;
}
.wysiwyg-editor img {
  vertical-align: top;
}
.wysiwyg-toolbar {
  overflow: hidden;
  white-space: nowrap;
  padding: 0;
}
.wysiwyg-toolbar-top {
  border-bottom: 1px solid #acacac;
}
.wysiwyg-toolbar-bottom {
  border-top: 1px solid #acacac;
}
.wysiwyg-toolbar a {
  vertical-align: top;
}
.wysiwyg-placeholder {
  position: absolute;
  top: 4px;  /* same as padding in .wysiwyg-editor */
  left: 6px;
  opacity: 0.54;  /* https://developer.mozilla.org/de/docs/Web/CSS/%3A%3A-moz-placeholder */
}
.wysiwyg-popup {
  position: absolute;
  z-index: 9999;
  color: black;
  background: white;
  background: rgba(255,255,255,0.9);
  left: -50%;
  white-space: nowrap;
  border: 1px solid #acacac;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
  -moz-user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.wysiwyg-popup.wysiwyg-popuphover {
  margin-top: 9px;
}
.wysiwyg-popup.wysiwyg-popuphover:after {
  position: absolute;
  left: 50%;
  bottom: 100%;
  border: solid transparent;
  content: '';
  width: 0;
  height: 0;
  margin-left: -8px;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 8px solid #acacac;
}
.wysiwyg-toolbar-icon {
  display: -moz-inline-stack;
  display: inline-block;
  *display: inline;
  margin: 0;
  padding: 0;
  color: #999999;
  text-decoration: none;
  *zoom: 1;
  vertical-align: top;
  cursor: pointer;
  -moz-user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding: 8px 12px;
  font: 16px FontAwesome;
  -moz-transition: color 0.2s, background 0.2s;
  -webkit-transition: color 0.2s, background 0.2s;
  -ms-transition: color 0.2s, background 0.2s;
  -o-transition: color 0.2s, background 0.2s;
  transition: color 0.2s, background 0.2s;
}
.wysiwyg-toolbar-icon:hover {
  color: HighlightText;
  background-color: Highlight;
  text-decoration: none;
  -moz-transition: color 0.2s, background 0.2s;
  -webkit-transition: color 0.2s, background 0.2s;
  -ms-transition: color 0.2s, background 0.2s;
  -o-transition: color 0.2s, background 0.2s;
  transition: color 0.2s, background 0.2s;
}
.wysiwyg-toolbar-form {
  padding: 10px;
  white-space: nowrap;
}
.wysiwyg-toolbar-form .wysiwyg-toolbar-icon {
  margin-left: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
}
.wysiwyg-toolbar-color {
  width: 12px;
  height: 12px;
  cursor: pointer;
}
.wysiwyg-input {
  display: -moz-inline-stack;
  display: inline-block;
  *display: inline;
  color: #141824;
  background: none white;
  border: 1px solid #acacac;
  width: 20em;
  height: 20px;
  padding: 5px 6px;  /* 8 - extraheight(2) - border(1) = 5 */
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
  outline: none;
}
.wysiwyg-input.wysiwyg-inputtextarea {
  width: 100%;
  height: 5em;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  resize: none;
}
.wysiwyg-input:hover,
.wysiwyg-input:active,
.wysiwyg-input:focus {
  border-color: #acacac;
}
.wysiwyg-browse {
  position: relative;
  left: 0;
  top: 0;
  height: 3em;
  line-height: 3em;
  color: #666666;
  border: 2px dashed #acacac;
  background-color: #f5f5f5;
  padding: 10px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 10px;
  cursor: pointer;
}
.wysiwyg-browse:hover,
.wysiwyg-browse:active,
.wysiwyg-browse:focus {
  color: #141824;
  border-color: #acacac;
}
.wysiwyg-embedcode {
  margin-bottom: 10px;
}
.prmedia-tc-form-wysiwyg-smilies {
  max-width: 300px;
  white-space: normal;
}
.prmedia-tc-form-wysiwyg-smilies img {
  margin: 5px;
  cursor: pointer;
}
