
/*-------- DEFAULT --------*/

 html { height: 100%; }

 html * 
	{
	box-sizing: border-box;
	max-height: 20000px;
	-webkit-tap-highlight-color: transparent;
	-webkit-text-size-adjust: none;
	}

 body
	{
	position: relative;
	min-height: 100%;
	padding: 0;
	margin: 0;
	background-color: #FAF6EF;
	overflow-x: auto;
	overflow-y: scroll;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	color: #6b6f7b;
	*color: #6b6f7b;
	}

 body.locked
	{
	overflow: hidden;
	padding-right: var(--scrollbar-width);
	}
 body.locked header
	{
	margin-right: var(--scrollbar-width);
	}

 body.preload *
	{
	-webkit-transition: none !important;
	-moz-transition: none !important;
	-o-transition: none !important;
	transition: none !important;
	}

 #root
	{
	margin: 0px auto;
	width: 100%;
	min-width: 320px;
	padding-bottom: 145px;
	}

 .outer
	{
	padding: 0 40px;
	box-sizing: border-box;
	*border: 1px solid red;
	}

 .wrapper
	{
	position: relative;
	box-sizing: border-box;
	margin: 0 auto;
	width: 100%;
	max-width: 1060px;
	height: 100%;
	*border: 1px solid green;
	}

 a
	{
	font: inherit;
	color: inherit;
	text-decoration: none;
	}

 .a
	{
	color: #282828;
	cursor: pointer;
	}

 .hl:hover
	{
	text-decoration: underline;
	}

 button
	{
	font: inherit;
	padding: 0;
	border: none;
	background: none;
	outline: none;
	user-select: none;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	}

 img
	{
	width: auto;
	height: auto;
	border: none;
	opacity: 1;
	transition: opacity 1s ease 0.05s;
	}
 img.lazy
	{
	opacity: 0;
	}

 .hidden
	{
	display: none;
	}

 .s2
	{
	display: -moz-box;
	display: -webkit-box;

	-webkit-line-clamp: 2;
	-moz-line-clamp: 2;
	*line-clamp: 2;

	-webkit-box-orient: vertical;
	-moz-box-orient: vertical;
	*box-orient: vertical;

	text-overflow: ellipsis;
	overflow: hidden;
	}


/*-------- MAIN --------*/

 #main
	{
	display: block;
	padding: 50px 0 100px 0;
	min-height: 400px;
	}

 #main h1
	{
	margin: 0 0 28px 0;
	font-family: Georgia;
	font-size: 50px;
	font-weight: 500;
	text-align: center;
	color: #1a2b49;
	line-height: 1.2;
	}

 #main h2
	{
	margin: 0 0 20px 0;
	font-family: Georgia;
	font-size: 32px;
	font-weight: 500;
	color: #1a2b49;
	line-height: 1.2;
	}

 .field
	{
	width: 100%;
	padding: 11px 20px;
	font: inherit;
	color: #444;
	background: #fff;
	border: 1px solid #d8d4c9;
	border-radius: 8px;
	-webkit-border-radius: 8px;
	outline: none;
	box-shadow: none;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	}
 .field:focus
	{
	border-color: #1a2b49;
	outline: 1px solid #1a2b49;
	}
 .field.not-valid
	{
	border-color: #ee4040;
	}

 input:-webkit-autofill
	{
	box-shadow: 0 0 0 30px white inset !important;
	}

 .field[disabled]
	{
	opacity: 1;
	background-color: #f2f2f2;
	}

 textarea.field
	{
	min-height: 54px;
	font: inherit;
	resize: vertical;
	}


/*-------- BUTTONS --------*/

 .btn
	{
	display: inline-block;
	padding: 14px 20px;
	min-width: 100px;
	border: none;
	font-size: 16px;
	*background: #B58A3A;
	*border: 1px solid #B58A3A;

	background: #1a2b49;
	border: 1px solid #1a2b49;

	border-radius: 0px;
	color: #ffffff;
	text-align: center;
	*text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
	outline: none;
	user-select: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	}
 .btn:hover
	{
	background-color: #976719;
	border-color: #976719;
	}
 .btn:active
	{
	transform: translate(1px,1px);
	}

 .btn.outline
	{
	padding: 13px 24px;
	min-width: 120px;
	background: none;
	border: 1px solid #0c2536;
	border-radius: 30px;
	*font-size: 16px;
	color: #0c2536;
	}
 .btn.outline:hover
	{
	color: #c2a061;
	border-color: #c2a061;
	}

 .btn.big
	{
	width: 100%;
	border-radius: 30px;
	*padding: 17px 20px;
	}

 .btn.secondary
	{
	color: #092028;
	background-color: #e2e3e4;
	border: none;
	}
 .btn.secondary:hover
	{
	color: #092044;
	background-color: #F4EAD6;
	}

 .close-btn
	{
	position: absolute;
	top: 15px;
	right: 15px;
	display: inline-block;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	cursor: pointer;
	z-index: 100;
	transition: background-color 0.2s ease;
	}
 .close-btn:hover
	{
	background-color: #F2F2F2;
	}

 .close-btn:before,
 .close-btn:after
	{
	content: '';
	position: absolute;
	top: 14px;
	left: 3px;
	width: 24px;
	height: 2px;
	background-color: #081C2B;
	transition: all 0.2s ease;
	}
 .close-btn:before
	{
	transform: rotate(-45deg);
	}
 .close-btn:after
	{
	transform: rotate(45deg);
	}

 .close-btn:hover:after,
 .close-btn:hover:before
	{
	left: 5px;
	width: 20px;
	transform: rotate(0deg);
	background-color: #E1BD79 !important;
	}


/*-------- CHECKBOX --------*/

 input.ch
	{  
	display: none; 
	}

 input.ch + label
	{
	position: relative;
	display: inline-block;
	vertical-align: top;
	padding-left: 25px;
	user-select: none;
	cursor: pointer;
	}

 input.ch + label:before
	{
	content: '';
  	display: inline-block;
	position: absolute;
	margin-top: -7px;
	top: 50%;
	left: 0px;
	width: 14px;
	height: 14px;
	background: #fff;
	border: 1px solid #d8d4c9;
	border-radius: 3px;
	transition: border-color 0.2s ease;
	cursor: pointer;
	}

 input.ch:hover + label:before
	{ 
	border-color: #1a2b49;
	}

 input.ch:checked + label:before
	{ 
	background-color: #1a2b49;
	border-color: #1a2b49;
	}

 input.ch:checked + label:after
	{
	content: '';
	position: absolute;
	margin-top: -6px;
	top: 50%;
	left: 5px;
	display: block;
	height: 9px;
	width: 5px;
	border: 1px solid #fff;
	border-width: 0 1px 1px 0;
	transform: rotate(45deg);
	}

 input.ch.not-valid + label:before
	{
	border-color: #ee4040;
	}


/*-------- MAIN MOBILE --------*/

@media (max-width: 980px) 
 {
 .outer
	{
	padding: 0 20px;
	}

 #main
	{
	padding: 40px 0;
	}

 #main h1
	{
	margin-bottom: 30px;
	font-size: 40px;
	}

 #main h2
	{
	font-size: 28px;
	}

 .btn
	{
	*font-size: 13px;
	}
 }

@media (max-width: 768px) 
 {
 }

@media (max-width: 480px) 
 {
 .outer
	{
	padding: 0 14px;
	}

 #main
	{
	padding: 20px 0 30px 0;
	min-height: 180px;
	}

 #main h1
	{
	margin-bottom: 14px;
	font-size: 32px;
	}

 #main h2
	{
	margin-bottom: 14px;
	font-size: 24px;
	}

 .btn
	{
	padding: 15px 18px;
	min-width: 90px;
	font-size: 15px;
	}

 .btn.big
	{
	padding: 12px;
	}

 .a span:after
	{
	display: none;
	}

 .field
	{
	padding: 12px 16px;
	font-size: 15px;
	}
 }
