/*------------------------------------*\
    #BASE
\*------------------------------------*/

/* box model */
* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
*:before,
*:after {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

/* document params */
html,
body {
	height: 100%;
    background: #fff;
    position: relative;
	font: 400 16px/21px Arial, Tahoma, sans-serif;
	color: #000;
    z-index: 1;
}

/* links */
a {
	background-color: transparent;
	color: inherit;
	text-decoration: none;
	outline: none;
}
a:hover,
a:focus {
	text-decoration: none;
	outline: none;
}
p {
	margin-bottom: 0.8em;
}




/*------------------------------------*\
	#Specials
\*-------------------------------------/


--- #transitions

	-webkit-transition: all 0.1s ease-in-out;
	transition: all 0.1s ease-in-out;


*/


/*------------------------------------*\
    #LAYOUT
\*------------------------------------*/

/* page */
.page {
	position: relative;
	min-height: 100%;
	width: 100%;
}

/* containers */
.page-header__content,
.form__content,
.main-content,
.page-footer__content {
	position: relative;
	width: 1000px;
	margin: 0 auto;
	padding: 0 30px;
}
.main-content_extented {
	width: 1200px;
}

/* --- Header --- */
.page-header {
	position: relative;
	height: 440px;
	background: url(../images/header-bg.jpg) no-repeat center top;
}
@media all and (min-width: 2000px) {
	.page-header {
		background-size: cover;
	}
}
.page-header__content {
	overflow: hidden;
}
.logo {
	float: left;
	margin: 28px 28px 0 33px;
}
.page-header__form-title {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;	
	min-width: 1000px;
	background: rgba(255, 255, 255, 0.9);
	font: 700 36px/66px 'Roboto Slab', serif;
	color: #0066cc;
	text-align: center;
}


/* --- Form --- */

.form {
	height: 170px;
	padding: 15px 0 35px;
	background: url(../images/form-shadow_top.png) repeat-x center top,
				url(../images/form-shadow_bottom.png) repeat-x center bottom #eeeeee;
	overflow: hidden;
	-webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
.form__message {
	display: none;
	padding: 20px;
	font: 400 21px Arial, sans-serif;
	color: #fff;
	text-align: center;
}
.form__message_success {
	display: block;
	background: #009300;
}
.form__message_error {
	display: block;
	background: #A60000;
}
/* switch */
.form__switch {
	margin: 24px 0;
	font: 700 24px 'Roboto Slab', serif;
	text-align: center;
	color: #333333;
}
.form__switch__btn {
	display: inline-block;
	height: 48px;
	margin: 0 10px;
	padding: 0 16px;
	border-bottom: 1px dotted #333333;
	cursor: pointer;
	line-height: 48px;

}
.form__switch__btn:hover,
.form__switch__btn:focus {
	border: none;
}
.form__switch__btn_active {
	position: relative;
	background: #ffee00;
	color: #000000;
	border: none;
}
.form__switch__btn_active:before,
.form__switch__btn_active:after {
	content: '';
	display: block;
	position: absolute;
	width: 0;
	height: 0;
	top: 0;
}
.form__switch__btn_active:before {
	left: -16px;
	border-bottom: 48px solid #ffee00;
	border-left: 16px solid transparent;
}
.form__switch__btn_active:after {
	right: -16px;
	border-top: 48px solid #ffee00;
	border-right: 16px solid transparent;
}

/* fields */
.form__input {
	display: block;
	float: left;
	width: 300px;
	margin: 0 20px 16px 0;
	padding: 12px 15px;
	background: #eee;
	border: 1px solid #ccc;
	font: 400 18px Arial, Tahoma, sans-serif;
	color: #999;
	-webkit-border-radius: 5px; 
	-moz-border-radius: 5px; 
	border-radius: 5px;
	z-index: 90;
}
.form__input:focus {
	background: #fff;
}
.form__input:last-child {
	margin-right: 0;
}
.form__input_select:not(:first-child) {
	margin-right: 0;
}
.form__radio {
	display: none;
}
.form__checkbox {
	display: block;
	float: left;
	margin: 0 0 16px 0;
	width: 50%;
	font: 400 18px Arial, Tahoma, sans-serif;
	color: #999;
}
.form__checkbox_full {
	width: 100%;
}
.form__submit {
	display: inline-block;
	margin: 20px 20px 0 0;
	width: 300px;
	font: 400 20px/68px Arial, Tahoma, sans-serif;
	color: #000;
	border: none;
	background: #ffee00;
	-webkit-box-shadow: 0px 0px 4px 0px #d5d5d5;
	-moz-box-shadow:    0px 0px 4px 0px #d5d5d5;
	box-shadow:         0px 0px 4px 0px #d5d5d5;
	-webkit-border-radius: 3px; 
	-moz-border-radius: 3px; 
	border-radius: 3px;
	
	-webkit-transition: all 0.08s ease-in-out;
	-o-transition: all 0.08s ease-in-out;
	transition: all 0.08s ease-in-out;
}
.form__submit:not(:disabled):hover,
.form__submit:not(:disabled):focus {
	-webkit-box-shadow: 0px 0px 5px 0px #ababab;
	-moz-box-shadow:    0px 0px 5px 0px #ababab;
	box-shadow:         0px 0px 5px 0px #ababab;
	cursor: pointer;
}
.form__submit:disabled,
.form__input:disabled,
.form__checkbox_disabled {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	filter: alpha(opacity=50);
	-moz-opacity: 0.5;
	-khtml-opacity: 0.5;
	opacity: 0.5;
}
/* turn up */
.form__turn {
	font: 400 18px Arial, Tahoma, sans-serif;
	color: #999;
}
.form a {
	text-decoration: underline;
}
.form a:hover,
.form a:focus {
	text-decoration: none;
}
/* --- Content --- */
.main-content {
	padding-bottom: 50px;
	overflow: hidden;
}

.main-content h1 {
	margin: 25px 0;
	font: 700 36px 'Roboto Slab', serif;
	text-align: center;
	color: #0066cc;
}
.main-content h2 {
	margin: 20px 0 40px;
	font: 400 28px 'Roboto Slab', serif;
	text-align: left;
	color: #000;
	position: relative;
}
.main-content h2:after {
	content:'';
	width: 50px;
	height: 2px;
	background: #0066cc;
	position: absolute;
	left: 0;
	bottom: -15px;
}

.heading-img {
	float: left;
	margin-right: 25px;
}

.teams {
    display: block;
}
.mosaicflow__column {
    float: left;
}

/* persons */
.persons {
	font-size: 0;
	margin-top: 50px;
	text-align: center;
}
.person {
	position: relative;
	display: inline-block;
	width: 300px;
	margin: 0;
	border: 1px solid #dddddd;
	overflow: hidden;
}
.person:not(:last-of-type) {
	margin-right: 2%;
}
.person__img {
	width: 100%;
	height: auto;
}
.person__caption {
	display: block;
	padding: 10px 15px 22px;
	font: 400 18px/26px 'Roboto Slab', serif;
	color: #222;
	text-align: center;
}
.person__caption small {
	display: inline-block;
	margin-top: 3px;
	font: 400 15px/18px Arial, Tahoma, sans-serif;
	color: #777;
}
/* team */
.team {
	display: block;
	position: relative;
	float: left;
	width: 450px;
	margin: 0 0 35px 0;
	padding-bottom: 22px;
	overflow: hidden;
}
.team:nth-of-type(even) {
	float: right;
}
.team h3 {
	margin: 0 20px 10px;
	text-align: center;
	font: 700 19px/26px 'Roboto Slab', serif;
	color: #222;
}

.team__img {
	width: 100%;
	height: auto;
}
.team__description {
	position: relative;
	margin: 0 20px;
	padding: 20px 20px 10px;
	background: #fff;
	overflow: hidden;
	z-index: 20;
	-webkit-box-shadow: 3px 5px 18px 0px rgba(0,0,0,0.22);
	-moz-box-shadow: 3px 5px 18px 0px rgba(0,0,0,0.22);
	box-shadow: 3px 5px 18px 0px rgba(0,0,0,0.22);
}
.team__description table {
	font: 400 14px/18px Arial, Tahoma, sans-serif;
}
.team__description table td {
	padding-bottom: 10px;
}
.team__description table td:first-child {
	min-width: 115px;
	padding: 0 20px 10px 0;
	color: #777;
}
.team__description a {
	color: #0066cc;
	text-decoration: underline;
}
.team__description a:hover,
.team__description a:focus {
	text-decoration: none;
}

/* --- Footer --- */

.page-footer__content {
	border-top: 1px solid #ddd;
	padding: 25px 30px;
	font-size: 0.8em;
	overflow: hidden;
}
.footer-contact__title {
	display: block;
	font-size: 16px;
	margin-bottom: 1em;
}
.footer-contact__name {
	float: left;
	width: 300px;
	margin-right: 20px;
	margin-bottom: 0;
}
/* contact list */
.footer-contact__list,
.footer-contact__link {
	float: left;
	width: 300px;
	margin-right: 20px;
}
.footer-contact__list:nth-child(4n),
.footer-contact__link:nth-of-type(3n) {
	margin-right: 0;
}
.footer-contact__list__title {
	display: inline-block;
	color: #666666;
}
.footer-contact__list__value {
	display: inline-block;
	margin-bottom: 0.8em;
}
.footer-contact__list__value a,
.footer-contact__link {
	color: #0066cc;
	text-decoration: underline;
}
.footer-contact__list__value a:hover,
.footer-contact__list__value a:focus,
.footer-contact__link:hover,
.footer-contact__link:focus, {
	text-decoration: none;
}

/* --- Team table --- */
.team-table {
	font-size: 12px;
	line-height: 18px;
	margin-bottom: 50px;
}
.team-table th {
	padding: 10px;
	font-weight: 700;
	
}
.team-table th:first-child {
	text-align: left;
}
.team-table tr {
	border-bottom: 1px solid #ddd;
}
.team-table tr:nth-child(even) {
	background: #eee;
}
.team-table td {
	padding: 10px;
	vertical-align: middle;
}
.team-table td:not(:first-child) {
	text-align: center;
}

.team-table .yes,
.team-table .no {
	display: inline-block;
	width: 16px;
	height: 16px;
	background: url(../images/i-yes.png) no-repeat 0 0;
}
.team-table .no {
	background-image: url(../images/i-no.png);
}

/* login form */
.login {
	padding-top: 50px;
	text-align: center;
}