/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;	
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

@font-face {
	font-family: 'OfficinaBook';
	src: url('../fonts/OfficinaBook.eot');
	src: url('../fonts/OfficinaBook.eot?#iefix') format('embedded-opentype'),
		 url('../fonts/OfficinaBook.woff') format('woff'),
		 url('../fonts/OfficinaBook.ttf') format('truetype'),
		 url('../fonts/OfficinaBook.svg#OfficinaBook') format('svg');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'OfficinaBold';
	src: url('../fonts/OfficinaBold.eot');
	src: url('../fonts/OfficinaBold.eot?#iefix') format('embedded-opentype'),
		 url('../fonts/OfficinaBold.woff') format('woff'),
		 url('../fonts/OfficinaBold.ttf') format('truetype'),
		 url('../fonts/OfficinaBold.svg#OfficinaBold') format('svg');
	font-weight: normal;
	font-style: normal;
}

/* Small screens (default) */
html {
	font: 100%/1.5 "OfficinaBold", sans-serif;
	font-weight: 400;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust:none;
	text-size-adjust: none;
}
body {
}

.container {
	margin: 0 auto;
	max-width: 63.75rem; /* 1020 */
	width: 100%;
	background-color: #f1f2f3;
	padding-top: 2rem;
	padding-left: 2rem;
	padding-right: 2rem;
}
.container:after {
	visibility: hidden;
	display: block;
	content: "";
	clear: both;
	height: 0;
}
* html .container             { zoom: 1; } /* IE6 */
*:first-child+html .container { zoom: 1; } /* IE7 */

.centered {
	text-align: center;
	margin: 0 auto;
}

.column:after {
	visibility: hidden;
	display: block;
	content: "";
	clear: both;
	height: 0;
}
* html .column             { zoom: 1; } /* IE6 */
*:first-child+html .column { zoom: 1; } /* IE7 */


.form-default, .title {
	width: 100%;
	float: left;
	margin-bottom: 1.875rem;
}

.title h2 {
	font-size: 1.875rem;
	line-height: 1.2;
	color: #660099;
}

.wrap-inp, .radio>label {
	position: relative;
}

.label, label {
	display: inline-block;
	font-family: "OfficinaBold";
	padding-bottom: 3px;
	font-size: 0.875rem;
	line-height: 1.2;
	color: #666;
	cursor: default;
}
.radio label {
	font-size: 0.75rem;
	line-height: 1.5;
}

.input, input, .textarea, textarea {
	border-radius: 2px;
	background-color: #fff;
	color: #666;
	border: 1px solid #e3e3e3;
	padding: 0.625rem 0.75rem;
	display: block;
	width: 100%;
	font-family: "OfficinaBook";
	margin-bottom: 1rem;
}
.label.error, label.error {
	position: absolute;
	top: 3.875rem;
	left: 0;
	font-family: "OfficinaBook";
	font-size: 0.6875rem;
	line-height: 1em;
	color: #e44444;
}
.radio label>label.error {
	position: absolute;
	top: -0.875rem;
	left: -1.5rem;
	width: 22rem;
	padding-left: 0;
	cursor: default;
}
.radio-block .radio label>label.error {
	bottom: initial;
}

.input.error, input.error, .textarea.error, textarea.error {
	border-color: #e44444;
	box-shadow: none;
}
.text-inp label.error {
	right: 0;
	left: initial;
	top: 0.75em;
}

.radio-group {
	padding: 0.5rem 1rem;
	background-color: #ddd;
	border-radius: 3px;
	margin-bottom: 1rem;
	width: 100%;
	float: left;
}
.radio-group .radio {
	display: inline-block;
	margin-left: 0.625rem;
	margin-right: 0.625rem;
	margin-top: 0.625rem;
	margin-bottom: 0.625rem;
}
.radio-group.radio-block .radio {
	display: block;
	margin-bottom: 0.625rem;
}
.radio-group.radio-block .radio:first-child {
	margin-top: 0.625rem;
}

.radio label {
	min-height: 1.25rem;
	display: block;
	padding-left: 1.5rem;
	position: relative;
	text-transform: none;
	cursor: pointer;
}
.radio label>span {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 1.125rem;
	height: 1.125rem;
	background: #fff;
	border: 1px solid #e3e3e3;
	border-radius: 8rem;
}
.radio input[type="radio"]:checked+span {
	color: #609;
	border-color: #609;
	-webkit-transition: all .25s ease-out;
	transition: all .25s ease-out;
}
.radio input[type="radio"]:checked+span:after {
	filter: progid:DXImageTransform.Microsoft.Alpha(enabled=false);
	opacity: 1;
	background: #609;
	border-color: #609;
	color: #609;
}
.radio span:after {
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
	opacity: 0;
	border-radius: 50px;
	-webkit-transition: all .25s ease-out;
	transition: all .25s ease-out;
	content: '';
	position: absolute;
	width: 50%;
	height: 50%;
	background: #e3e3e3;
	top: 25%;
	left: 25%;
}
.radio label:hover span:after {
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
	opacity: .7;
	color: #e3e3e3;
}
.radio input[type="radio"] {
	margin-bottom: 0;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	opacity: 0;
	visibility: hidden;
}

.btn {
	background: #660099;
	color: #ffffff;
	border: 1px solid #660099;
	display: inline-block;
	vertical-align: middle;
	cursor: pointer;
	white-space: nowrap;
	outline: none;
	padding: 0.625rem 1.25rem;
	border-radius: 2px;
	font-size: 1rem;
	line-height: 1rem;
	font-family: "OfficinaBold";
}

.wrap-dialog {
	display: none;
}

.white-popup {
	position: relative;
	background: #fff;
	padding: 1.25rem;
	width: auto;
	max-width: 32.5rem; /* 520/16 */
	min-height: 7.5rem;
	margin: 1.25rem auto;
	border-radius: 3px;
}

.content {
	padding-top: 1.75rem;
}

.content h2 {
	font-size: 2rem;
	line-height: 2.4rem;
	color: #660099;
}
.content h3 {
	font-size: 1.25rem;
	line-height: 1.2;
	color: #660099;
}
.modal-icon {
	border-radius: 100%;
	height: 3.75rem;
	width: 3.75rem;
	position: absolute;
	left: 50%;
	margin-left: -1.875rem;
	top: -1.5rem;
	background: #fff;
}
.icon-fly:before {
	content: '';
	background: #660099 url('../icon-fly.png') no-repeat 15% 60%
	border-radius: 100%;
	color: #ffffff;
	height: 3.125rem;
	width: 3.125rem;
	display: block;
	margin: 0.3125rem;
	text-align: center;
	padding: 0.3125rem;
	font-size: 3.125rem;
	line-height: 1;
}

/* Medium screens (768px) */
@media (min-width: 48rem) {
	.container {
		padding-top: 2rem;
		padding-left: 5rem;
		padding-right: 5rem;
	}
	.column {
		float: left;
		padding-left: 1rem;
		padding-right: 1rem;
	}
	.column.full { width: 100%; }
	.column.two-thirds { width: 66.7%; }
	.column.half { width: 50%; }
	.column.third { width: 33.3%; }
	.column.fourth { width: 25%; }
	.column.flow-opposite { float: right; }
	.input-group .column:first-child,
	.radio-group .column:first-child { padding-left: 0; }
	.input-group .column:last-child,
	.radio-group .column:last-child { padding-right: 0; }

	.content h2 {
		font-size: 1.65rem;
	}
	.content h3 {
		font-size: 1.25rem;
		line-height: 1.2;
	}
	.label, label {
		font-size: 1rem;
	}
	.radio label {
		font-size: 0.875rem;
		line-height: 1.2;
	}
}

/* Large screens (992px) */
@media (min-width: 62rem) {
	.container {
		padding-top: 2rem;
		padding-left: 8rem;
		padding-right: 8rem;
	}
}
