html, body {
	position: relative;
	width: 100%;
	height: 100%;
	background-color: #060606;
	color: #fff;
	padding: 0;
	margin: 0;
}

body {
	--color-green: #59C339;

	box-sizing: border-box;
	font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: start;
}

a {
	color: var(--color-green);
	text-decoration: none;
}

.color--green {
	color: var(--color-green);
}

a:hover {
	text-decoration: underline;
}

a:visited {
	color: rgb(0,80,160);
}

label {
	display: block;
}

button, select, input:not([type=checkbox]), textarea {
	font-family: inherit;
	box-sizing: border-box;
	border: none;
	outline: none !important;
	border-radius: 0;
	padding: 0 16px;
	font-size: 18px;
	width: 100%;
	flex-shrink: 0;
	margin: 0 0 15px;
}

input:disabled {
	color: #ccc;
}

input, select {
	height: 55px;
}


textarea {
	height: auto;
	min-height: 4.2em;
	padding-top: 18px;
	max-width: 100% !important;
	min-width: 100% !important;
}

input:focus, input:active, textarea:focus, textarea:active {
	outline: none;
	box-shadow: 0 0 2px #ffffff44,
	inset 0 0 0 2px var(--color-green);
}

input::placeholder {
	color: #999;
}

input[type=checkbox] {
	height: 1.6em;
	width: 1.6em;
	flex-shrink: 0;
}

button {
	color: #333;
	background-color: #f4f4f4;
	outline: none;
}

button:disabled {
	color: #999;
}

button:not(:disabled):active {
	background-color: #ddd;
}

button:focus {
	border-color: #666;
}

input[type=submit], button[type=submit], .button, a.button {
	max-width: 100%;
	border: 0;
	border-radius: 0;
	height: 3em;
	margin: auto;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0 2em;
	text-transform: uppercase;
	font-weight: 500;
	font-size: 1.1em;
	background-color: var(--color-green);
	color: #fff;
	text-decoration: none;
	transition: .3s;
}

input[type=submit]:hover, button[type=submit]:hover, .button:hover {
	opacity: .8;
	transform: translate(2px, 2px);
}

header, footer {
	height: 115px;
	width: calc(100% - 40px);
	max-width: 1140px;
	padding: 0 20px;
	display: flex;
	flex-direction: row;
	margin: 0 auto;
	justify-content: space-between;
	align-items: center;
	flex-shrink: 0;
}

.header-col .logo {
	width: 250px;
}

.header-col .menu {
	width: 50px;
	margin-left: 30px;
}

.header-col.col-r {
	display: flex;
	flex-direction: row;
	align-items: center;
}

.header-col .phone {
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: 26px;
}

.bx-unauthorized {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 115px 20px 50px;
}

.bx-unauthorized > header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
}

.green-go-success {
	margin: auto;
}

.bx-auth, form[name="bform"], .green-go-success {
	width: 350px;
	max-width: 100%;
	/*margin: auto;*/
	color: #fff;
}

.bx-auth input[type=checkbox] ~ label {
	font-size: .82em;
	margin-left: .8em;
	margin-bottom: 1.2em;
	/*line-height: 1.6em;*/
}

.bx-auth ~ .bx-auth,
.bx-auth ~ .bx-auth-serv-icons {
	/*display: none;*/
}

.bx-auth-table input[type=checkbox] {
	float: left;
	margin-bottom: 1em;
}

.text-center {
	 text-align: center;
}

.bx-auth-table tbody {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.bx-auth-table tr {
	display: flex;
	flex-direction: column;
}

.bx-auth-table td {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: start;
}

table.bx-auth-table {
	margin: 1em auto;
	width: 100%;
}

input.bx-auth-input.form-control {
	width: 100%;
	border: 0;
	height: 40px;
	border-radius: 0;
}

.bx-auth-label {
	text-align: left;
	margin-bottom: 0.2em;
	font-size: 0.9em;
	font-weight: 500;
}

.bx-auth-title {
	text-align: center;
	font-weight: 500;
	font-size: 1.3em;
}

.bx-auth-note {
	text-align: center;
	font-size: 0.9em;
	margin: 1.4em;
}

.bx-auth p a {
	/*display: none;*/
	font-size: .9em;
}

.bx-authform-formgroup-container +
.bx-authform-formgroup-container {
	margin-top: 8px;
}

.bx-authform-formgroup-container input {
	margin-bottom: 0;
}

.bx-authform-formgroup-container .bx-filter-param-label {
	display: flex;
	align-items: center;
}

.bx-authform .bxe-light {
	margin: 36px 0;
	border: none;
	height: 1px;
	background: var(--color-green);
}

.bx-authform .alert {
	padding: 12px;
	margin-bottom: 32px;
	font-size: 15px;
}

.bx-authform .alert-danger {
	background: #c33939;
}

form-row #signature {
	background-color: transparent;
}

@media screen and (max-width: 639px) {
	.app {
		max-width: calc(100% - 40px);
		padding: 0 20px;
	}

	.header-col.col-l {
		width: 50%;
	}

	.header-col.col-r .phone {
		display: none;
	}

	.header-col .logo {
		max-width: 100%;
	}
}
