@font-face {
  font-family: 'GOST-Type-A'; /* Гарнитура шрифта */
  src: url('../fonts/GOST-Type-A.ttf'); /* Путь к файлу со шрифтом из каталога CSS (!)*/
}

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

input::-webkit-input-placeholder {
  font-family: 'GOST-Type-A';
  font-weight: bold;
  color: #666;
}

input:-moz-placeholder {
  font-family: 'GOST-Type-A';
  font-weight: bold;
  color: #666;
}

input:-ms-input-placeholder {
  font-family: 'GOST-Type-A';
  font-weight: bold;
  color: #666;
}

body {
  /* font-family: Helvetica,sans-serif; */
  font-family: 'GOST-Type-A';
  font-weight: bold;
  font-size: 22px;
}

body {background: url(../images/bg.png) repeat;}

.arduino-mega-wrap {
/* Фоновое изображение Arduino Mega */
  background: url(../images/mega_top_spec.png) 35px 65px no-repeat;
/*Размер фонового изображения */  
  width: 1400px;
  height: 1000px;
  padding: 0px 0px 0px 0px;   
  margin:0 auto;

}

.login-wrap {
/*Размер накладываемого изображения */
  width: 1200px;
  height: 1100px;
  position: relative;
  /*Смещение картинки относительно фонового изображения */
  /* Y1X1 Y2X2 */
  padding: 70px 0 0 600px; 
  overflow: hidden;
}

.login-form-wrap {
  width: 528px;
  /* height: 700px; */
  height: 800px;
  left: 0px;
  /* Смещение внутреннего фона формы ввода относительно края */
  padding: 20px 0 0 0px;
  position: relative;

  background: rgba(54, 54, 54, 0.7);
  border: 1px solid #767676;
  border-radius: 15px;
  box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.5), 0 0 4px 0px rgba(255, 255, 255, 0.5) inset, 0 0 4px 0px rgba(255, 255, 255, 0.5), 0 0 65px 25px rgba(255, 255, 255, 0.14);
}

.card-holder-wrap {
  margin: 25px auto 40px auto;
  width: 145px;
  position: relative;
}

.login-form {
  background: #fff;
  /*Размер картинки формы ввода 446х580*/
  width: 446px;
  /* height: 580px; */
  height: 680px;
  margin: 0 auto;
  border-radius: 15px;
  box-shadow: 0 0 25px 5px rgba(255, 255, 255, 0.55);
  /*Смещение полей ввода внутри формы*/
  padding: 20px 20px 0 20px;
  text-align: center;
  background: url(../images/login-form.png) no-repeat;
}

.ivango {
  margin: 0 auto 0px auto;
  /*Размер надписи над формами ввода*/
  width: 253px;
  height: 120px;
  display: block;
}

.input-wrap {
  border: 1px solid #dbdbdb;
  font-family: 'GOST-Type-A';
  font-weight: bold;
  /*Размер полей для ввода нужно сопоставлять с размером шрифта*/
  height: 160px;
  border-radius: 15px;
  box-shadow: 0 0 8px 1px rgba(0, 0, 0, 0.13) inset;
  background: #fff;
}

.user-id {
  font-family: 'GOST-Type-A';
  background: url(../images/user.png) no-repeat right;
  width: 385px;
  display: block;
}
.user-id input {
  display: block;
  width: 350px;
  /*Добавлен размер шрифта для подписи в поле ввода*/
  font-family: 'GOST-Type-A';
  font-weight: bold;
  font-size: 25px;
  border-radius: 15px 15px 0 0;
  margin: 7px 5px 0 7px;
  padding: 18px 25px 8px 15px;
  color: #666;
  outline: none;
  border: none;
}

.form-hr {
  border: none;
  border-top: 1px solid #dbdbdb;
}

.password {
  font-family: 'GOST-Type-A';
  font-weight: bold;
  background: url(../images/password.png) no-repeat right;
  width: 385px;
  display: block;
}
.password input {
  display: block;
  width: 350px;
 /*Добавлен размер шрифта для подписи в поле ввода*/ 
  font-family: 'GOST-Type-A';
  font-weight: bold;
  font-size: 25px;
  border-radius: 15px 15px 0 0;
  margin: 7px 5px 0 7px;
  padding: 12px 25px 9px 15px;
  color: #666;
  outline: none;
  border: none;
}

.remember {
  border: 1px solid #dbdbdb;
  background: #fff;
  height: 60px;
  border-radius: 15px;
  box-shadow: 0 0 8px 1px rgba(0, 0, 0, 0.13) inset;
  margin: 20px 0 30px 0;
  padding: 15px 0 9px 20px;
  color: #666;
  text-align: left;
}
.remember span {
  vertical-align: top;
}

.switch,
.switch-label,
.switch-slider {
  width: 108px;
  height: 31px;
}

.switch {
  position: relative;
  display: inline-block;
  margin-left: 110px;
}

.switch-check {
  position: absolute;
  visibility: hidden;
}

.switch-label,
.switch-slider {
  position: absolute;
  top: 0;
}

.switch-label {
  left: 0;
  cursor: pointer;
}

.switch-slider {
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.21), 0 18px 0 rgba(0, 0, 0, 0.03) inset, 0 1px 1px rgba(0, 0, 0, 0.03) inset;
  -webkit-transition: width 0.2s linear;
  -moz-transition: width 0.2s linear;
  -o-transition: width 0.2s linear;
  transition: width 0.2s linear;
}

.switch-slider-on {
  left: 0;
  background: url(../images/yes.png) no-repeat left;
}

.switch-slider-off {
  right: 0;
  background: url(../images/no.png) no-repeat right;
}

.switch-slider-off:after {
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  border-radius: 3px;
  height: 31px;
  content: '';
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 1px 0 0 rgba(0, 0, 0, 0.4);
  background: #c8c6c6;
  background: -moz-linear-gradient(top, #c8c6c6 0%, #efebeb 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #c8c6c6), color-stop(100%, #efebeb));
  background: -webkit-linear-gradient(top, #c8c6c6 0%, #efebeb 100%);
  background: -o-linear-gradient(top, #c8c6c6 0%, #efebeb 100%);
  background: -ms-linear-gradient(top, #c8c6c6 0%, #efebeb 100%);
  background: linear-gradient(to bottom, #c8c6c6 0%, #efebeb 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#c8c6c6', endColorstr='#efebeb',GradientType=0 );
}

.switch-label:active .switch-slider-off:after {
  background: #D5D5D5;
  background: -webkit-linear-gradient(#c8c8c8, #e4e4e4);
  background: -moz-linear-gradient(#c8c8c8, #e4e4e4);
  background: -o-linear-gradient(#c8c8c8, #e4e4e4);
  background: linear-gradient(#c8c8c8, #e4e4e4);
}

.switch-check:checked + .switch-label .switch-slider-on {
  width: 108px;
}

.switch-check:checked + .switch-label .switch-slider-off {
  width: 45px;
}

.button {
  width: 406px;
  height: 62px;
  background: #6b8bad;
  border-radius: 15px;
  border: none;
  color: #fff;
  cursor:pointer;
  text-shadow: 0 1px 2px black;
  font-family: 'GOST-Type-A';
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 40px;
  background: -moz-linear-gradient(top, #6b8bad 0%, #39577f 48%, #254b72 52%, #102d4c 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #6b8bad), color-stop(48%, #39577f), color-stop(52%, #254b72), color-stop(100%, #102d4c));
  background: -webkit-linear-gradient(top, #6b8bad 0%, #39577f 48%, #254b72 52%, #102d4c 100%);
  background: -o-linear-gradient(top, #6b8bad 0%, #39577f 48%, #254b72 52%, #102d4c 100%);
  background: -ms-linear-gradient(top, #6b8bad 0%, #39577f 48%, #254b72 52%, #102d4c 100%);
  background: linear-gradient(to bottom, #6b8bad 0%, #39577f 48%, #254b72 52%, #102d4c 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#6b8bad', endColorstr='#102d4c',GradientType=0 );
}
.button:hover {
  background: #7290b0;
  background: -moz-linear-gradient(top, #7290b0 0%, #3d5e89 48%, #29537d 52%, #133559 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #7290b0), color-stop(48%, #3d5e89), color-stop(52%, #29537d), color-stop(100%, #133559));
  background: -webkit-linear-gradient(top, #7290b0 0%, #3d5e89 48%, #29537d 52%, #133559 100%);
  background: -o-linear-gradient(top, #7290b0 0%, #3d5e89 48%, #29537d 52%, #133559 100%);
  background: -ms-linear-gradient(top, #7290b0 0%, #3d5e89 48%, #29537d 52%, #133559 100%);
  background: linear-gradient(to bottom, #7290b0 0%, #3d5e89 48%, #29537d 52%, #133559 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#7290b0', endColorstr='#133559',GradientType=0 );
}
.button:active {
  background: #6385a9;
  background: -moz-linear-gradient(top, #6385a9 0%, #375479 48%, #24496e 52%, #0f2b49 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #6385a9), color-stop(48%, #375479), color-stop(52%, #24496e), color-stop(100%, #0f2b49));
  background: -webkit-linear-gradient(top, #6385a9 0%, #375479 48%, #24496e 52%, #0f2b49 100%);
  background: -o-linear-gradient(top, #6385a9 0%, #375479 48%, #24496e 52%, #0f2b49 100%);
  background: -ms-linear-gradient(top, #6385a9 0%, #375479 48%, #24496e 52%, #0f2b49 100%);
  background: linear-gradient(to bottom, #6385a9 0%, #375479 48%, #24496e 52%, #0f2b49 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#6385a9', endColorstr='#0f2b49',GradientType=0 );
  padding: 1px 0 0 0;
}

.forgot {
  color: #1e4168;
  font-family: 'GOST-Type-A';
  font-size: 19px;
  text-decoration: none;
  padding-bottom: 0px;
  border-bottom: 1px solid #1e4168;
}
