

/*************************************************************************


                         U   I       K   I   T


*************************************************************************/


/*************************************************************************

                               H R E F

*************************************************************************/


.href{
	position: relative;
	color: inherit;
	display: inline-block;
	font: inherit;
	font-size: inherit;
	height: 1em;
	cursor: pointer;
	line-height: 1em;
}

.href.blue{
	color: #3a7cde;
}

.href.ml{
	display: inline;
	border-bottom: 1px solid rgba(50,50,50,.4);
	line-height: 1em;
	-webkit-transition: border-bottom 300ms ease;
	-moz-transition: border-bottom 300ms ease;
	-ms-transition: border-bottom 300ms ease;
	transition: border-bottom 300ms ease;
	will-change: border-bottom;
}

.href.ml:hover{
	border-bottom: 1px solid rgba(50,50,50,0);
}

.href.ml.blue{
	border-bottom: 1px solid rgba(58, 124, 222, .4);
}

.href.ml.blue:hover{
	border-bottom: 1px solid rgba(58, 124, 222, 0);
}

	.href:after{
		content:'';
		display: block;
		position: absolute;
		background: currentColor;
		height: 1px;
		top: calc(1em + 2px);
		width: 100%;
		opacity: .4;
		-webkit-transition: opacity 300ms ease;
		-moz-transition: opacity 300ms ease;
		-ms-transition: opacity 300ms ease;
		transition: opacity 300ms ease;
		will-change: height,opacity;
	}

	.href.ml:after{
		display: none;
	}

	.href-wrapper:hover .href:after,
	.href:hover:after{
		opacity: 0;
	}



/*************************************************************************

                              B U T T O N

*************************************************************************/


.button{
	display: inline-block;
	min-width: 140px;
	box-sizing: border-box;
	padding: 0 40px;
	background: #4990e2;
	border-radius: 3px;
	height: 35px;
	color: #fff;
	font-family: PTSansBold;
	text-align: center;
	-webkit-transition:
		background 300ms ease,
		color 200ms ease
	;
	-moz-transition:
		background 300ms ease,
		color 200ms ease
	;
	-ms-transition:
		background 300ms ease,
		color 200ms ease
	;
	transition:
		background 300ms ease,
		color 200ms ease
	;
	will-change: background, color;
}

.button:hover,
.button:active{
	background: #2677d3;
}

@media (max-width: 360px){

.button{
	padding: 0 30px;
}

}


.button.disabled{
	background: #d0d0d0;
	color: #fff;
}

.button.disabled,
.button.disabled *{
	cursor: default;
}

.button.h40{
	height: 40px;
	font-size: 16px;
}

.button.h45{
	height: 45px;
	font-size: 18px;
}

.button.h50{
	height: 50px;
	font-size: 20px;
}

.button.shrink{
	min-width: initial;
	padding: 0 30px;
}

.button.darker{
	background: #1b64b9;
}

.button.darker:hover,
.button.darker:active{
	background: #175399;
}

.button.dark{
	background: #214d7f;
}

.button.dark:hover,
.button.dark:active{
	background: #17395e;
}

.button.orange{
	background: #f6a623;
}

.button.orange:hover,
.button.orange:active{
	background: #ff9c03;
}

.button.transparent{
	background: transparent;
	color: #323232;
}

.button.transparent:hover,
.button.transparent:active{
	color: #1b64b9;
}

.button,
.button *{
	cursor: pointer;
}

.button:before,
.button>*{
	display: block;
	position: relative;
	width: auto;
	height: 1em;
	line-height: 1em;
	top: calc(50% - .5em - 1px);
}



/*************************************************************************

                               I N P U T

*************************************************************************/


.input{
	height: 50px;
	box-sizing: border-box;
	border-radius: 4px;
	border: 1px solid rgba(151,151,151,.3);
	position: relative;
	-webkit-transition:
		border-color 200ms ease,
		color 200ms ease
	;
	-moz-transition:
		border-color 200ms ease,
		color 200ms ease
	;
	-ms-transition:
		border-color 200ms ease,
		color 200ms ease
	;
	transition:
		border-color 200ms ease,
		color 200ms ease
	;
	will-change: border-color,color;
}

.input.focus{
	border-color: rgba(151,151,151,.7);
}

.input,
.input *{
	cursor: text;
}

.input.failed{
	border-color: red;
	color: red;
}

.input.correct:after{
	content: '';
	display: block;
	position: absolute;
	width: 17px;
	height: 12px;
	z-index: 2;
	background: url(/assets/img/correct-field.svg);
	right: 10px;
	top: 16px;
}

	.input>*{
		position: relative;
		height: 100%;
		z-index: 1;
		font-size: 16px;
		line-height: 50px;
		box-sizing: border-box;
		padding-left: 15px;
	}

	.input>div{
		position: absolute;
		width: 100%;
		left: 0;
		top: 0;
		z-index: 0;
		opacity: .75;
		-webkit-transition: opacity 200ms ease;
		-moz-transition: opacity 200ms ease;
		-ms-transition: opacity 200ms ease;
		transition: opacity 200ms ease;
	}


	.is-ios	.input>*{
			position: relative;
			height: 1.2em;
			/*line-height: 50px;*/
			line-height: 1.2em;
			top: calc(50% - .6em);
			overflow: visible;
			z-index: 1;
			font-size: 16px;
			box-sizing: border-box;
			padding-left: 15px;
		}

	.is-ios	.input>div{
			position: absolute;
			width: 100%;
			left: 0;
			height: 1.2em;
			line-height: 1.2em;
			top: calc(50% - .6em);
			overflow: visible;
			z-index: 0;
			opacity: .75;
			-webkit-transition: opacity 200ms ease;
			-moz-transition: opacity 200ms ease;
			-ms-transition: opacity 200ms ease;
			transition: opacity 200ms ease;
		}

	.input.filled>div{
		opacity: 0;
	}

	.input input{
		display: block;
		width: 100%;
	}


.input.h45{
	height: 45px;
}

	.input.h45>*{
		line-height: 45px!important;
	}

.is-ios .input.h45>* {
	height: 45px;
	top: calc(50% - 22px);
}



/*************************************************************************

                           T Y P O G R A P H Y

*************************************************************************/


.the-word{
	white-space: nowrap;
}



/*************************************************************************

                          R A D I O B U T T O N

*************************************************************************/


.radiobutton{
	display: inline-block;
	position: relative;
	vertical-align: top;
	padding-left: 36px;
	min-height: 22px;
}

.radiobutton,
.radiobutton *{
	cursor: pointer;
}

.radiobutton:before{
	content: '';
	display: block;
	position: absolute;
	width: 22px;
	height: 22px;
	border-radius: 22px;
	left: 0;
	top: 0;
	box-sizing: border-box;
	border: 1px solid #bfbfbf;
}

.radiobutton:after{
	content: '';
	display: block;
	position: absolute;
	width: 12px;
	height: 12px;
	border-radius: 12px;
	left: 5px;
	top: 5px;
	box-sizing: border-box;
	background: #4a90e2;
	opacity: 0;
}

.radiobutton.active:after{
	opacity: 1;
}

.radiobutton>*{
	position: relative;
	font-size: 18px;
	color: #262626;
	/*height: 1em;*/
	top: -2px;
	line-height: 25px;
}

.radiobutton.active>*{
	font-family: PTSansBold;
}



/*************************************************************************

                             C H E C K B O X

*************************************************************************/


.checkbox{
	display: inline-block;
	vertical-align: top;
	position: relative;
	padding-left: 24px;
}

.checkbox,
.checkbox *{
	cursor: pointer;
}

.checkbox:before{
	content: '';
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	border: 1px solid #bfbfbf;
	border-radius: 3px;
	box-sizing: border-box;
	width: 20px;
	height: 20px;
}

.checkbox.active:before{
	border: 1px solid #4085de;
}

.checkbox:after{
	content: '';
	display: block;
	position: absolute;
	width: 11px;
	height: 8px;
	left: 5px;
	top: 6px;
	background: url(/assets/img/checkbox.svg) no-repeat center center/contain;
	opacity: 0;
}

.checkbox.active:after{
	opacity: 1;
}

.checkbox>*{
	position: relative;
	color: #333333;
	font-size: 16px;
	line-height: 1em;
	top: 1px;
	margin-left: 11px;
}



/*************************************************************************

                             C O M B O B O X

*************************************************************************/


.combobox{
	height: 45px;
	overflow: visible;
}

.combobox>*{
	height: 45px;
	box-sizing: border-box;
	border-radius: 4px;
	border: 1px solid rgba(151,151,151,.3);
	position: relative;
	-webkit-transition:
		border-color 200ms ease,
		color 200ms ease
	;
	-moz-transition:
		border-color 200ms ease,
		color 200ms ease
	;
	-ms-transition:
		border-color 200ms ease,
		color 200ms ease
	;
	transition:
		border-color 200ms ease,
		color 200ms ease
	;
	will-change: border-color,color;
	overflow: hidden;
	background: #fff;
}


.combobox.correct>*:after{
	content: '';
	display: block;
	position: absolute;
	width: 17px;
	height: 12px;
	z-index: 2;
	background: url(/assets/img/correct-field.svg);
	right: 10px;
	top: 16px;
}


.combobox.expanded>*{
	height: 226px;
	box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

.combobox,
.combobox *{
	cursor: pointer;
}

	.combobox .value{
		position: relative;
		height: 45px;
		z-index: 1;
		font-size: 16px;
		line-height: 45px;
		box-sizing: border-box;
		padding-left: 15px;
	}

	.combobox .value.empty{
		color: rgba(38,38,38,.75);
	}

		.combobox .value:before{
			content: '';
			display: block;
			position: absolute;
			top: 20px;
			right: 12px;
			width: 21px;
			height: 7px;
			background: url(/assets/img/dropdown.png) no-repeat center center/contain;
			opacity: 1;
		}

		.combobox.correct .value:before{
			display: none;
		}

		.combobox.expanded .value:before{
			opacity: 0;
		}

	.combobox .variants{
		left: 0;
		width: 100%;
		background: #fff;
		border-top: 1px solid #e0e0e0;
		opacity: 0;
	}

	.combobox .variants>*:hover{
		background: #f5f5f5;
	}

	.combobox.expanded .variants{
		opacity: 1;
		font-size: 16px;
		max-height: 176px;
		overflow: auto;
	}

	.combobox.expanded .variants::-webkit-scrollbar{
		width: 8px;
	}

	.combobox.expanded .variants::-webkit-scrollbar-track{
		background: transparent;
	}

	.combobox.expanded .variants::-webkit-scrollbar-thumb{
		background-clip: padding-box;
		background: #e0e0e0;
		border-radius: 2px;
	}

		.combobox.expanded .variants>*{
			min-height: 35px;
			box-sizing: border-box;
			padding-left: 15px;
			white-space: initial;
			line-height: 1.2em;
			padding-top: 9px;
		}

		.combobox.expanded .variants>*:last-child{
			padding-bottom: 5px;
		}



/*************************************************************************

                        I N P U T   S U G G E S T

*************************************************************************/


.input-suggest{
	height: 45px;
	overflow: visible;
}

.input-suggest>*{
	height: 45px;
	box-sizing: border-box;
	border-radius: 4px;
	border: 1px solid rgba(151,151,151,.3);
	position: relative;
	-webkit-transition:
		border-color 200ms ease,
		color 200ms ease
	;
	-moz-transition:
		border-color 200ms ease,
		color 200ms ease
	;
	-ms-transition:
		border-color 200ms ease,
		color 200ms ease
	;
	transition:
		border-color 200ms ease,
		color 200ms ease
	;
	will-change: border-color,color;
	overflow: hidden;
	background: #fff;
}

.input-suggest.correct>*:after{
	content: '';
	display: block;
	position: absolute;
	width: 17px;
	height: 12px;
	z-index: 2;
	background: url(/assets/img/correct-field.svg);
	right: 10px;
	top: 16px;
}

.input-suggest.focus>*{
	/*border-color: rgba(151,151,151,.7);*/
}

.input-suggest.focus>*,
.input-suggest.expanded>*{
	height: 226px;
	box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

.input-suggest,
.input-suggest *{
	cursor: pointer;
}

	.input-suggest .placeholder{
		height: 100%;
		font-size: 16px;
		line-height: 45px;
		box-sizing: border-box;
		padding-left: 15px;
		position: absolute;
		width: 100%;
		left: 0;
		top: 0;
		z-index: 0;
		opacity: .75;
		-webkit-transition: opacity 200ms ease;
		-moz-transition: opacity 200ms ease;
		-ms-transition: opacity 200ms ease;
		transition: opacity 200ms ease;
	}

	.input-suggest.filled .placeholder{
		opacity: 0;
	}

	.input-suggest input{
		position: relative;
		height: 45px;
		z-index: 1;
		font-size: 16px;
		line-height: 45px;
		box-sizing: border-box;
		padding-left: 15px;
		display: block;
		width: 100%;
		cursor: text;
	}

	.input-suggest .value.empty{
		color: rgba(38,38,38,.75);
	}

		.input-suggest .value:before{
			content: '';
			display: block;
			position: absolute;
			top: 20px;
			right: 12px;
			width: 21px;
			height: 7px;
			background: url(/assets/img/dropdown.png) no-repeat center center/contain;
			opacity: 1;
		}

		.input-suggest.expanded .value:before,
		.input-suggest.focus .value:before{
			opacity: 0;
		}

	.input-suggest .variants{
		left: 0;
		width: 100%;
		background: #fff;
		border-top: 1px solid #e0e0e0;
		opacity: 0;
		position: relative;
		z-index: 1;
	}

	.input-suggest .variants>*:hover{
		background: #f5f5f5;
	}

	.input-suggest .variants>*.hidden{
		display: none;
	}

	.input-suggest .variants{
		opacity: 1;
		font-size: 16px;
		max-height: 176px;
		overflow: auto;
	}

	.input-suggest .variants::-webkit-scrollbar{
		width: 2px;
	}

	.input-suggest .variants::-webkit-scrollbar-track{
		background: transparent;
	}

	.input-suggest .variants::-webkit-scrollbar-thumb{
		background-clip: padding-box;
		background: #e0e0e0;
		border-radius: 2px;
	}

		.input-suggest .variants>*{
			height: 35px;
			line-height: 35px;
			box-sizing: border-box;
			padding-left: 15px;
		}

		.input-suggest .variants>*:last-child{
			padding-bottom: 5px;
		}


