body {
    margin: 0;
    padding: 0;
    font-size: 16px;
}

html {
    height: 100%;
}

/* The <body> tag */
.main-container {
	position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #eeeeee !important;
    background-size: cover;
	color: #646464;
}

/* loginForm / passForm / registerForm / resetForm */
.input-form {
	width: 50vw;
	max-width: 500px;
	min-width: 225px;
    border-radius: 4px;
    background-color: #fafafa;
    padding: 20px;
    display: flex;
    flex-direction: column;
	box-shadow: 0px 2px 3px rgba(0,0,0,0.1);
}

/* ���� �� ��������� ������ */
#forgotPassword {
	font-size: 0.8em;
    align-self: flex-end;
}

/* ��������� �� ���� ��� ���������� / ����������� */
#links-div {
	display: flex;	
	flex-direction: row;
	justify-content: space-between;
}

/* ������ �������� ��� ������� */
.input-form > * {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

/* ����� �� ��������� �� ������� */
.mdc-button.mdc-button--raised.mdc-button--accent {
	background-color: #4a89dc !important;
	font-size: 0.9em;
}

.input-form .mdc-textfield:after {
    background-color: #a4a4a4 !important;
}

.input-form .mdc-textfield--focused {
    color: #646464 !important;
}

.input-form .mdc-textfield__input:required+.mdc-textfield__label:after {
    margin-left: 0px;
    content: "" !important;
}

.input-form .mdc-textfield__input {
    color: #646464 !important;
}

.information {
	color: #646464;
	font-size: 0.66em;
	position: fixed;
	bottom: 4px;
	right: 10px;
}

.text-primary {
    color: #646464 !important;
}

.link {
    display: block;
    text-align: center;
    text-decoration: none;
    outline: none;
}

.text-center {
    text-align: center;
}

.validation-msg {
    display: none;
    color: #ff595e !important;
}

.validation-msg-active {
    display: block;
}

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 400px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.font-tools {
	position: absolute;
	top: 4px;
	right: 10px;
	font-size: 0.9em;
}

.font-tools .super {
	transform: translateY(-0.4em) translateX(-0.4em);
}

.font-tools a {
	color: #646464;
	text-decoration: none;
}

.font-tools .margin-left {
	margin-left: 1em;
}


/***********************************************/
/* COLOR-BLIND	                               */
/***********************************************/
body.color-blind.main-container {
	background-color: #000000 !important;
	color: #ffffff;
}

body.color-blind .input-form {
	background-color: transparent;
	border: 1px solid #ffffff;	
}

body.color-blind .text-primary {
	color: #ffffff !important;
}

body.color-blind .mdc-button.mdc-button--raised.mdc-button--accent {
	background-color: #333333 !important;
	border: 1px solid #ffffff;
}

body.color-blind .link {
	color: #ffff00 !important;
}

body.color-blind .font-tools a {
	color: #ffffff;
	text-decoration: none;
}

body.color-blind .input-form .mdc-textfield__input {
    color: #ffffff !important;
}

body.color-blind .tooltip .tooltiptext {

    background-color: #ffff00;
    color: #000000;
}

body.color-blind .tooltip .tooltiptext::after {
    border-color: #ffff00 transparent transparent transparent;
}