/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in
 *    IE on Windows Phone and in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers (opinionated).
 */

body {
  margin: 0;
}

/**
 * Add the correct display in IE 9-.
 */

article,
aside,
footer,
header,
nav,
section {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 * 1. Add the correct display in IE.
 */

figcaption,
figure,
main { /* 1 */
  display: block;
}

/**
 * Add the correct margin in IE 8.
 */

figure {
  margin: 1em 40px;
}

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * 1. Remove the gray background on active links in IE 10.
 * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
 */

a {
  background-color: transparent; /* 1 */
  -webkit-text-decoration-skip: objects; /* 2 */
}

/**
 * 1. Remove the bottom border in Chrome 57- and Firefox 39-.
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
 */

b,
strong {
  font-weight: inherit;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font style in Android 4.3-.
 */

dfn {
  font-style: italic;
}

/**
 * Add the correct background and color in IE 9-.
 */

mark {
  background-color: #ff0;
  color: #000;
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 */

audio,
video {
  display: inline-block;
}

/**
 * Add the correct display in iOS 4-7.
 */

audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Remove the border on images inside links in IE 10-.
 */

img {
  border-style: none;
}

/**
 * Hide the overflow in IE.
 */

svg:not(:root) {
  overflow: hidden;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers (opinionated).
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: sans-serif; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
 *    controls in Android 4.
 * 2. Correct the inability to style clickable types in iOS and Safari.
 */

button,
html [type="button"], /* 1 */
[type="reset"],
[type="submit"] {
  -webkit-appearance: button; /* 2 */
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * 1. Add the correct display in IE 9-.
 * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
 * Remove the default vertical scrollbar in IE.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10-.
 * 2. Remove the padding in IE 10-.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in IE 9-.
 * 1. Add the correct display in Edge, IE, and Firefox.
 */

details, /* 1 */
menu {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Scripting
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 */

canvas {
  display: inline-block;
}

/**
 * Add the correct display in IE.
 */

template {
  display: none;
}

/* Hidden
   ========================================================================== */

/**
 * Add the correct display in IE 10-.
 */

[hidden] {
  display: none;
}
/* --------------------------------
            Base                
-------------------------------- */

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body {

	font: 100%/1.5em Arial,Helvetica, sans-serif;
  font-family: 'Segoe UI Variable', 'Segoe UI', Roboto, Tahoma, Geneva, Verdana, sans-serif;
  color: #fff;
  background-color: #1a2030;
}

img, video, audio, canvas, iframe {
    max-width: 100%;
}

.clearfix::before, .clearfix::after{ content: " "; display: block; clear: both;}



a {
    color: #3180e1;
}





/* стандартные текстовые теги */

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child { margin-top:0 }

p,
ol,
ul,
blockquote,
table { margin: 0 0 1em }


p:last-child { margin-bottom: 0 }



/* js плагины */

/* Спойлер */
.spoiler {
	margin: 10px 0;

}
.spoiler .spoiler-header {
    padding: 5px 10px;
    font-size: .95em;
    font-weight: bold;
    border-radius: 2px;
    color: #fff;
    background: rgba(60, 47, 82, 0.71);
    cursor: pointer;
    -webkit-transition: background-color .5s;
    transition: background-color .5s;
    
}

.spoiler .spoiler-header:after {
    content:"▼";
    margin-left: 10px;
    font-size: .8em;
}
.spoiler .active:after {
    content:"▲";
}

.spoiler .spoiler-content {
	padding: 20px;
	background: #eee;
}

.spoiler .spoiler-content p:first-child {margin-top: 0;}


@media (max-width: 600px) {
  .spoiler .spoiler-header {text-align: center;}
}


/* Tabbox */

/* TabControl Start */ 
.tabbox-section { 
    width: 100%;
    margin: 0 0 30px;
} 
ul.tabs { 
    height: 29px;
    list-style: none;
    padding: 0;
} 
.tabs li { 
    border-radius: 3px 3px 0 0;
    float: left;
    display: inline;
    margin-right: 1%;
    padding: 10px;
    color: #dcf5ff;
    font-weight: bold;
    cursor: pointer;
    background: #746b84;
    border: 1px solid #E4E4E4;
    position: relative;
} 
.tabs li:hover, 
.vertical .tabs li:hover { 
    background: #8a8298; 
} 
.tabs li.current { 
    color: #444;
    background: #efefef;
    border: 1px solid #D4D4D4;
    border-bottom-color: #efefef;
} 
.tabbox { 
    display: none;
    border: 1px solid #D4D4D4;
    background: #EFEFEF;
    padding: 0 12px;
} 
.tabbox.visible { 
           display: block; 
} 

/* .section.vertical { 
           width: 440px; 
           border-left: 160px solid #FFF; 
} 
.vertical .tabs { 
           width: 160px; 
           float: left; 
           display: inline; 
           margin: 0 0 0 -160px; 
} 
.vertical .tabs li { 
           padding: 0 13px; 
           margin: 0 0 1px; 
           border: 1px solid #E4E4E4; 
           border-right: 1px solid #F9F9F9; 
           width: 132px; 
           height: 25px; 
} 
.vertical .tabs li:hover { 
           width: 131px; 
} 
.vertical .tabs li.current { 
           width: 133px; 
           color: #444; 
           background: #EFEFEF; 
           border: 1px solid #D4D4D4; 
           border-right: 1px solid #EFEFEF; 
           margin-right: -1px; 
} 
.vertical .box { 
           border-width: 1px; 
} */







.wrapper-form {
	padding: 10%;
	display: flex;
	flex-direction: column;
	/*align-items: center;*/
  	/*justify-content: center;*/
}

.wrapper-form input, .wrapper-form button {
	display: block;
	width: 100%;
}

/* --------------------------------
            forms                 
-------------------------------- */

/* --------------------------------
forms style by Sten
v0.2 17.12.21
-------------------------------- */

:root {

    --back-ms: #f9f9f9;

    --border-radius: 4px;
    --border-color: #81818187;


    --primary-color: rgb(49 128 225);
    --sus-color: #aaa;
    --err-color: #aad;
    --inputs-base-height: 36px;
}

/* Стилизация тегов с атрибутом disabled  */
:disabled {
    opacity: .4;
    pointer-events: none;
    filter: grayscale(1);
}

/* color for placeholder */
/*::placeholder { color: rgba(0, 0, 0, 0.3); }*/

/* фикс иконок в кнопках */
button>i[class*="icon-"]:before {
    position: relative;
    top: 0.2rem;
    font-size: 1.1rem;
}

/* --------------------- Кнопки --------------------- */

button,
input,
select,
option,
textarea {
    font: inherit;
}

/* Стандартные кнопки */
button,
[type="button"],
[type="reset"],
[type="submit"] {

    border-radius: var(--border-radius);
    height: var(--inputs-base-height);
    min-width: 120px;
    padding: 5px 10px;
    border: none;
    color: #fff;
    background-color: var(--primary-color);
    cursor: pointer;
    transition: background-color .5s;   

    -webkit-tap-highlight-color: transparent;
}

/* Стили при наведении мышкой */
@media(hover:hover) {
    button:hover,
    [type="button"]:hover,
    [type="reset"]:hover,
    [type="submit"]:hover {
        background-color: rgb(67, 152, 255);
    }
}

/* Стили при фокусе */
button:focus,
[type="button"]:focus,
[type="reset"]:focus,
[type="submit"]:focus {

}

/* Стили при нажатии */
button:active,
[type="button"]:active,
[type="reset"]:active,
[type="submit"]:active {
    transform: scale(.98);
    opacity: .8;
}

/* Кастомные кнопки */
.btn-outline {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}
.btn-sus{

}
.btn-error {
    background-color: #e16161;
}

@media(hover:hover) {
    .btn-error:hover {
        background-color: #ed7c7c;
    }
}

.btn-icon {
    min-width: 36px;
    font-size: 1em;
}
.btn-icon + .tr {
    color: #000;
    background: none;
}

/* ------------------------------------------------- */



/* --------------------- Выбор цвета -----------------*/
input[type="color"] {
    border-radius: var(--border-radius);
    border: 1px solid #81818187;
    width: 36px;
    height: var(--inputs-base-height);
    background-color: transparent;
    outline: none;
}
input[type="color"]:focus {
    border: 1px solid var(--primary-color);
}
/* -------------------------------------------------*/


/* --------------------------- Текстовые поля ------------------- */

/* Базовые стили */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="file"],
textarea, select {
    
    border-radius: var(--border-radius);
    
    min-width: 200px;
    height: var(--inputs-base-height);
    
    color: inherit;
    /* font-weight: bold;
    font-size: .8em; */
    
    border: 1px solid var(--border-color);
    
    padding: 5px 10px;
    
    
    -webkit-transition: border-color .3s;
            transition: border-color .3s;
    
    background-color: transparent;
    outline: none;
}

/* Стили при фокусе */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
select:focus,
textarea:focus {
    border: 1px solid var(--primary-color);
}




input[type="file"] {
    padding: 0;
}
::-webkit-file-upload-button {
   /* min-width: 50%; */
    height: 38px;
}
select {
/*    -webkit-appearance: none;*/
}
option {
/*    -webkit-appearance: none;*/
    height: 40px;
    padding: 5px 10px;
    margin: 10px;
    font-weight: bold;
}
select::before {
    content: '12345';
    width: 100px;
    height: 100px;
}



textarea {
    width: 100%;
    max-width: 100%;
    height: auto;
}


/* --------------------------- Стилизация ползунков ------------------ */

input[type="range"] {width: 100%}
input[type="range"].range {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    padding: 0;
    background-color: rgb(183 183 183 / 60%);
    border-radius: 5px;
    background-image: linear-gradient(var(--primary-color), var(--primary-color));
    background-size: 0% 100%;
    background-repeat: no-repeat;
    border: none;
    margin-top: 20px;
    margin-bottom: 20px;
    }

/* Стилизация фокуса */
input[type="range"].range:focus {border: none;}

/* Стилизация слайдера для движков webkit */   
input[type="range"].range::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 26px;
    width: 26px;
    border-radius: 25px;
    border: 4px solid var(--primary-color);
    background: #fff;

}
/* Стилизация слайдера для Firefox */
input[type="range"].range::-moz-range-thumb {
    box-sizing: border-box;
    -webkit-appearance: none;
    height: 26px;
    width: 26px;
    border-radius: 25px;
    border: 4px solid var(--primary-color);
    background: #fff;

}
/*  */
input[type=range].range::-webkit-slider-runnable-track {}

/*  */

/* ------------------------- Стилизация стандартных чекбоксов --------------------- */

input[type="checkbox"] {
    -webkit-appearance: none;
    position: relative;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    color: #fff;
    width: 26px;
    height: 26px;
    vertical-align: bottom;

    transition: .5s background;

}

/* Стилизация состояния checked */
input[type="checkbox"]:checked {
   background-color: var(--primary-color);
   /*border-color: transparent;*/
}

/* Добавление иконки через псевдоэлемент */
input[type="checkbox"]:before {
    font-family: "FluentSystemIcons-Regular";
    /* font-weight: 900; */
    content: "\f294";
    position: absolute;
    text-align: center;
    left: 4px;
    opacity: 0;
    transition: .3s;
}

input[type="checkbox"]:checked:before {
    opacity: 1;
}


/* ------------------------------------------------ */

/* ----------------- Стилизация чекбоксов с классом switch ---------------- */

input[type="checkbox"].switch {
    -webkit-appearance: none;
    position: relative;
    height: 28px;
    width: 54px;
    border-radius: 25px;
    vertical-align: bottom;
    /*border: 3px solid #81818187;*/
/*    background-color: rgb(183 183 183 / 60%);*/
    outline: none;
    transition: .5s;
}

input[type="checkbox"].switch:checked {
    background: var(--primary-color);
    border-color: transparent;
}

input[type="checkbox"].switch:before {
    content: '';
    background: var(--primary-color);
    position: absolute;
    top: 3px;
    left: 4px;
    width: 20px;
    height: 20px;
    border-radius: 25px;
    transition: .3s;
    padding: 0;
    opacity: 1;
}

input[type="checkbox"].switch:checked:before {
    left: 29px;
    background: #ffffff;
}

input[type="checkbox"].switch:after {
    position: absolute;
    right: 5px;
    bottom: 4px;
    font-size: .9em;
    font-weight: bold;
    color: #aaa;
    transition: .3s;
    z-index: 9;
}

input[type="checkbox"].switch:checked:after {
    left: 5px;
    bottom: 4px;
    color: #6b617a;
}

/* ----------------------------------------------------- */


/* ---------------------- Стилизация radio ------------------------*/

[type="radio"] {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background-color: transparent;
    background-clip: content-box;
    border: 5px solid transparent;
    border-radius: 25px;
    vertical-align: bottom;
    outline: 1px solid var(--border-color);
    transition: .3s;
}
[type="radio"]:checked {
    background-color: var(--primary-color);
}

/* -------------------------------------------------------------- */

