/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
  color: #222;
}

html {
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
  background-color: transparent;
  border: 0;
  overflow: hidden;
  /* IE 6/7 fallback */
  *text-indent: -9999px;
}

.ir:before {
  content: "";
  display: block;
  width: 0;
  height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
  display: none !important;
  visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
  *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

.industrial-safety__form-title {
  font-family: "Roboto";
  font-size: 18px;
  font-weight: bold;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  /* color: #130b07; */
  margin-bottom: 8px;
  position: relative;
}
.industrial-safety__form-wrapper {
  box-sizing: border-box;
  /*width: 509px;*/
  /*height: 347px;*/
  border: solid 1px #e9f0f3;
  background-color: #ffffff;
  position: relative;
  padding: 25px 32px;
  margin-bottom: 20px;
  color: #51595c;
}
.industrial-safety__form-wrapper:before {
  position: absolute;
  width: 100%;
  height: 100%;
  content: "";
  display: block;
  top: 0;
  left: 0;
  background: url(/templates/safety63/img/illustration-01.png) no-repeat 43% 65%;
  opacity: 0.45;
  z-index: 0;
}

#industrial-safety__form input {
  display: block;
  border: 1px solid #999;
  border-radius: 0;
  padding: 5px 20px;
  margin-bottom: 10px;
  box-sizing: border-box;
  /*height: 30px;*/
  /*width: 215px;*/
  outline: none;
}
#industrial-safety__form input:focus {
  border-width: 2px;
}
#industrial-safety__form input:not(.error):focus {
  border-color: #3a638e;
}

.industrial-safety__form-wrapper p {
  font-family: "Roboto";
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  letter-spacing: normal;
  position: relative;
  /* color: #130b07; */
}

.industrial-safety__form-wrapper .control-group > label {
  font-family: "Roboto";
  font-weight: bold;
  font-style: normal;
  font-stretch: normal;
  letter-spacing: 0.7px;
  color: #4a4a4a;
  margin-bottom: 9px;
}

.industrial-safety__form-wrapper .control-group {
  float: left;
}
.industrial-safety__form-wrapper .control-group input {
  width: 100%;
}
.industrial-safety__form-wrapper .control-group:first-of-type {
  /*margin-right: 13px;*/
}
.industrial-safety__form-wrapper .control-group.wide {
  margin-top: 5px;
  margin-bottom: 5px;
}

.industrial-safety__form-wrapper .control-group.wide > input {
  /*width: 379px!important;*/
  width: 100% !important;
}

#industrial-safety__form input.btn {
  border-radius: 0 !important;
  margin-left: 15px;
}
input.btn {
  position: relative;
  border: 1px solid transparent !important;
  color: #fff;
  font-size: 20px;
  color: #fff;
  text-decoration: none;
  padding-top: 8px;
  padding-bottom: 10px;
}
#industrial-safety__form {
  position: relative;
  margin-top: 15px;
  font-size: 12px;
}
#is_soglasie {
  display: none !important;
}
.soglasie {
  position: absolute;
  width: 204px;
  font-family: Roboto;
  font-size: 12px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  letter-spacing: normal;
  color: #4a4a4a;
  /*bottom: -30px;*/
  float: right;
  right: 0;
  margin-bottom: 20px;
  text-shadow: 0px 1px 0px #ffffff, 1px 1px 1px #ffffff, -1px -1px 1px #ffffff,
    1px -1px 1px #ffffff, -1px 1px 1px #ffffff;
}
.soglasie label {
  color: #51595c;
  font-size: 13px;
  display: block;
  position: relative;
  cursor: pointer;
}
#industrial-safety__form input.error {
  border-color: #e70000;
  color: #e60000;
}

#industrial-safety__form input.required.error::-webkit-input-placeholder {
  color: #e60000;
}

#industrial-safety__form input.required.error::-moz-placeholder {
  color: #e60000;
}

#industrial-safety__form input.required.error:-ms-input-placeholder {
  color: #e60000;
}

#industrial-safety__form input.required.error::-ms-input-placeholder {
  color: #e60000;
}

#industrial-safety__form input.required.error::placeholder {
  color: #e60000;
}

#industrial-safety__form label.error {
  font-size: 12px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  letter-spacing: normal;
  color: #e60000 !important;
  margin-top: -7px;
  margin-bottom: -9px !important;
  display: block;
  position: relative;
}
.soglasie > a {
  color: #39638e;
}
.soglasie [type="checkbox"] + label:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: -35px;
  background: #fff;
  border: 1px solid #999;
  width: 16px;
  height: 16px;
}
.soglasie [type="checkbox"]:checked + label:before {
  background: -webkit-repeating-linear-gradient(
    top,
    #386290 0%,
    #386290 50%,
    #204f83 51%,
    #204f83 100%
  );
  background: repeating-linear-gradient(
    to bottom,
    #386290 0%,
    #386290 50%,
    #204f83 51%,
    #204f83 100%
  );
  box-shadow: 0 0 0px 1px #fff inset;
}

#is_soglasie_h {
  height: 0 !important;
  padding: 0 !important;
  border: none !important;
  margin-bottom: 0 !important;
}

#uc-tlt-application-form .textarea-form {
  width: 100%;
}

#uc-tlt-application-form .procedure-button {
  padding-left: 10px;
  padding-right: 10px;
}

.send-successfull_overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 110;
}

.send-successfull_text {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 36px;
  color: #0056b3;
  font-weight: bold;
  text-align: center;
  width: 100%;
  max-width: 500px;
  transform: translate(-50%, -50%);
}
