@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i&subset=cyrillic);

html {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    height: 100%;
}

body {
    background: #FFF;
    margin: 0;
    min-height: 100%;
    height: 100%;
    overflow-x: hidden;
}

*,
*:before,
*:after {
    box-sizing: inherit;
    -moz-box-sizing: inherit;
    -webkit-box-sizing: inherit;
}

*,
*:before,
*:after {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1)!important;
}

img {
    border: 0;
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
}


*:focus {
    outline: 0 none;
}

ul {
    margin: 0;
}

input::-moz-focus-inner {
    border: 0;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
}

button {
    border: 0;
}


.main,
.login-page {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	flex-direction: column;
}

.login-page .container--max-width {
	max-width: 640px;
}

.login-page .content,
.login-page .main-container {
	flex-grow: 1;
}

.login-page .content {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.login-form {
	width: 100%;
}

.login-page .logo {
	margin-bottom: 0;
	text-align: center;
}

.login-page .copyright {
	text-align: center;
}

.login-page .header__left > .container {
	display: none;
}

.login-page .intro-text  {
	margin-bottom: 24px;
}

.login-page #nav-trigger {
	display: none;
}

.main-container {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.header__right {
	width: 300px;
	padding-left: 24px;
	padding-right: 24px;
}

.header__left,
.main {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	width: 1%;
	position: relative;
	z-index: 2;
}

.main {
	padding-top: 12px;
	padding-bottom: 12px;
}

.main > * {
	width: 100%;
}

.header .container {
	padding-top: 0;
	padding-bottom: 0;
}

.header {
	background: #e42236;
	color: #FFF;
	padding-top: 36px;
	padding-bottom: 36px;
	letter-spacing: 3px;
}

.header__right {
	border-left: 0 none;
}

.header__left {
	font-weight: 300;
	font-size: 40px;
}

.header small {
	font-size: 12px;
	color: rgba(255, 255, 255, .75);
	display: block;
	margin-top: 6px;
}

.logo {
	margin-bottom: 36px;
	font-size: 14px;
	text-transform: uppercase;
}

.logo img {
	vertical-align: middle;
	height: 12px;
	margin-right: 6px;
	margin-top: -2px;
}

.logo a {
	line-height: 12px;
	color: #000 !important;
	font-weight: bold;
	opacity: .3;
}

.logo a:hover {
	opacity: .5;
}


.btn {
    border: none;
    border-radius: 0;
    color: #FFF;
    display: inline-block;
    padding: 12px 24px;
    text-align: center;
    font-weight: 400;
    position: relative;

    &:hover {
		color: #FFF;
    }
}

.btn--primary {
    background: #e42236;
}

.btn--primary:hover {
    color: #FFF;
	background: #bc1728;
}

.btn:disabled,
.btn[disabled] {
   	background-color: #868e96;
   	cursor: not-allowed;
}

.btn--block {
	display: block;
	width: 100%;
}

.btn--block + .btn--block {
	margin-top: 4px;
}

.btn--loading {
	color: transparent !important;
	pointer-events: none;
	position: relative;
}

.btn--loading:after {
	animation: rotating 500ms infinite linear;
	border: 3px solid #FFF;
	border-radius: 100%;
	border-right-color: transparent;
	border-top-color: transparent;
	content: "";
	display: block;
	height: 1em;
	position: relative;
	width: 1em;
	position: absolute;
	left: calc(50% - (1em / 2));
	top: calc(50% - (1em / 2));
	position: absolute !important;
}

@keyframes rotating {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}



input[type=password]
{
    font: inherit;
    border: 0 none;
    background: none;
    display: block;
    width: 100%;
    background: #FFF;
    line-height: initial;
    -webkit-appearance: none;
    border-radius: 0;
    border: 2px solid #DDD;
    padding: 12px;
    font-size: 16px;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;

}

input[type=password]:hover,
input[type=password]:focus
{
    border-color: #AAA;
}

button,
input[type=submit],
input[type=button] {
    cursor: pointer;
    font: inherit;
    background: none;
    -webkit-appearance: none;
}

label {
    display: block;
    position: relative;
}


.form__group {
    padding-bottom: 12px;
    position: relative;
}

.form__label {
    margin-bottom: 3px;
    color: rgba(0, 0, 0, 0.54);
}

.form__input {
    position: relative;
}

.form__input--select:after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY( -50% );
    color: rgba(0, 0, 0, 0.54);
    width: 0; 
    height: 0; 
    border-left: 5px solid transparent; 
    border-right: 5px solid transparent; 
    border-top: 5px solid;
    pointer-events: none;
}

.form__icon {
    border: 1px solid rgba(0, 0, 0, 0.20);
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-right: 6px;
    position: relative;
    background: #FFF;
    margin-top: -1px;
}

/**
 * Errors
 */

.form__group--has-error input[type="text"], 
.form__group--has-error input[type="email"], 
.form__group--has-error input[type="password"], 
.form__group--has-error select, 
.form__group--has-error textarea {
    border-color: #ff000f;
}

.form__error {
    margin-top: 3px;
    text-transform: uppercase;
    color: #ff000f;
    font-size: 12px;
}

.form__help {
    color: rgba(0, 0, 0, 0.54);
    margin-top: 3px;
    font-size: 12px;
}

.form__required {
    font-size: 14px;
    color: #ff000f;
}

.form__required:after {
    content: "*";
}

.form__group > .form__label {
	margin-bottom: 12px;
	display: block;
	font-weight: bold;
}

/**
 * Disabled
 */
input[type=text]:disabled,
input[type=email]:disabled,
input[type=password]:disabled,
select[disabled] {
    background: #eee;
    border-color: darken( #eee , 10%);
    cursor: not-allowed;
}

input[type=checkbox]:disabled,
input[type=radio]:disabled {
	color: #eee;
}


.no-user-select {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.clearfix:after,
.columns:after {
    content: "";
    display: block;
    clear: both;
}

.left {
    float: left;
}

.right {
    float: right;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.text-justify {
    text-align: justify;
}

.text-primary {
    color: rgba(0, 0, 0, 0.75);
}

.text-secondary {
    color: rgba(0, 0, 0, 0.54);
}

.text-uppercase {
    text-transform: uppercase;
}

.text-lowercase {
    text-transform: lowercase;
}

.pd-0 {
    padding: 0 !important;
}

.pd-t-0 {
    padding-top: 0 !important;
}

.pd-b-0 {
    padding-bottom: 0 !important;
}

.pd-l-0 {
    padding-left: 0 !important;
}

.pd-r-0 {
    padding-right: 0 !important;
}

.m-t-0 {
    margin-top: 0 !important;
}

.m-b-0 {
    margin-bottom: 0 !important;
}

.m-l-0 {
    margin-left: 0 !important;
}

.m-r-0 {
    margin-right: 0 !important;
}

.container {
    width: 100%;
    padding: 24px;
    margin-left: auto;
    margin-right: auto;
}

.container--max-width {
    max-width: 1100px;
}

.container--wrapper {
    display: flex;
}

.nowrap {
    white-space: nowrap;
}

.overflow-auto {
    overflow: auto;
}

html {
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: #000;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
	margin: 0;
	font-weight: 400;
	margin-bottom: 12px;
}

h1 {
	font-size: 36px;
}

h2 {
    font-size: 28px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 20px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 16px;
}

p {
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
	color: rgba(0, 0, 0, 0.75);
	margin: 0;
	line-height: 1.8;
	font-size: 18px;
}

blockquote {
	margin: 0;
	padding-left: 24px;
	border-left: 6px solid #e42236;
}

.content {
	color: rgba(0, 0, 0, 0.75);
}

* + h1,
* + h2,
* + h3,
* + h4,
* + h5,
* + h6 {
	margin-top: 48px;
}

* + .code-wrapper,
* + ul,
* + ol,
* + blockquote,
* + p,
* + table {
	margin-top: 24px;
}

a img {
    border: 0;
}

a {
    color: #bc1728;
    text-decoration: none;
    outline: 0 none;
}

a:hover {
    color: #e42236;
}

a:active {
    //
}

ul,
ol {
	margin-left: 1em;
	padding-left: 0;
	line-height: 1.528;
}

ol:not(.linenums) > li:nth-child(n+10) {
	margin-left: 10px;
}

ul li + li,
ol li + li {
	margin-top: 24px / 3;
}

.content a:not([class]) {
	position: relative;
	display: inline;
	border-bottom: 1px solid;
}

.content a:not([class]):after {
	/*content: "";
	position: absolute;
	width: 100%;
	left: 0;
	right: 0;
	display: block;
	bottom: 0;
	border-bottom: 1px solid;*/
}

.content a:not([class]):hover {
	border-bottom: 0 none;
}

hr {
	margin-top: 36px;
	margin-bottom: 36px;
	background: none;
	border: 0 none;
	height: 4px;
	background: rgba(0, 0, 0, 0.20);
}

.content h6,
.content h5,
.content h4,
.content h3,
.content h2,
.content h1 {
	position: relative;
	padding-top: 24px;
	margin-top: 24px;
}

.content hr + h6,
.content hr + h5,
.content hr + h4,
.content hr + h3,
.content hr + h2,
.content hr + h1 {
	margin-top: -24px;
}

.content h1:first-child {
    margin-top: -24px;
}

.copyright {
	align-self: flex-end;
	margin-top: auto;
}

.copyright p {
	border-top: 1px solid rgba(0, 0, 0, 0.20);
	padding-top: 24px * 1.5;
	margin-top: -24px * 0.5;
	font-size: 14px;
}