/*
    CSS CONTENT:
    1. Global
    2. Global-form
    3. Passengers elements
*/


/* 1. Global */
* {
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-tap-highlight-color : rgba(0, 0, 0, 0);
	min-width                   : 1px; //flexbox fix for Firefox
}

input[type='text'],
input[type='number'],
input[type='email'],
input[type='password'],
input[type='color'],
input[type='url'],
input[type='image'],
input[type='tel'],
input[type='submit'],
input[type='file'],
input[type='range'],
input[type='reset'],
input[type='button'],
input[type='search'],
button,
textarea {
	-webkit-appearance : none;
	outline            : 0 none;
}

html, body {
	font-family: 'Museo Sans Cyrl', Verdana, Arial, Helvetica, sans-serif;
	font-size: 16px;
	color: #333;
	background: url("//insky.biz/wp-content/themes/insky/images/bg.jpg") 0 50%/cover no-repeat #FFF;
}
a {
	outline: none;
}
h1, h2, h3, p, hr {
	margin: 20px 0 0 0;
}
h1 {
	font-size: 200%;
	text-align: center;
}
h2 {
	font-size: 175%;
}
h3 {
	font-size: 120%;
	text-align: center;
}
p {
	font-size: 100%;
}
.clear {
	font-size: 0 !important;
	line-height: 0 !important;
	height: 0 !important;
	clear: both !important;
}
.innerForm strong {
	margin-bottom: 16px;
	font-weight: 500;
	font-size: 20px;
	display: block;
}

/* 2. Global-form */
.innerForm {
	max-width: 700px;
	padding: 0 20px 20px;
	margin: auto;
	color: #FFF;
}
.innerForm p {
	width: 48%;
	float: left;
}
.innerForm p + p {
	margin-left: 4%;
}
/*.innerForm p.radios {width: 100%; float: left;}*/
.calendar {
	background: url('../images/ico/calendar.gif') #FFF center right no-repeat;
}

/* 3. Passengers elements */
.passengers {
	position: relative;
	margin-right: 4%;
	z-index: 0;
	width: 48%;
	float: left;
}
.passengers p {
	width: auto;
	float: none;
}
.zindex1 {
	z-index: 1;
}
.zindex2 {
	z-index: 2;
}
.passengerTypeInputs {
	width: 100%;
	padding: 0 10px 10px 10px;
	color: #FFF;
	background: #589CBF;
	position: absolute;
	top: 50px;
	left: 0;
	z-index: 1;
}
.zindex1 .passengerTypeInputs {
	z-index: 2;
}
.zindex2 .passengerTypeInputs {
	z-index: 3;
}
.passengerTypeInputs h3, .passengerTypeInputs p {
	margin: 20px 0 !important;
}
.passengerTypeInputs p {
	width: auto;
	float: none;
}
.passengerTypeInputs p select {
	display: block;
	width: 100%;
	margin-top: 5px;
}

#rooms select {
	display: block;
}

.type label {
	display: block;
	cursor: pointer;
}
.request label {
	display: block;
	cursor: pointer;
}

.wrap {
	height: 100vh;
}
.wrap  td {
	vertical-align: middle;
	height: 100vh;
	width: 100vw;
}
.wrap form {
	margin: 0 auto;
}

[type="text"] {
	display: block;
	width: 100%;
	height: 55px;
	border-width: 0 0 1px;
	border-style: solid;
	border-color: #589CBF;
	background: none !important;
	color: #FFF;
	padding: 0 10px;
	font: 300 25px 'Museo Sans', 'Arial', sans-serif;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	text-overflow: ellipsis;
	white-space: pre;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	outline: 0 none;
}

[type="button"],
[type="submit"] {
	border: 2px solid #e12e27;
	background: #e12e27;
	color: #fff;
	font: 500 22px/42px 'Museo Sans','Arial',sans-serif;
	height: 44px;
	padding: 0 50px;
	display: inline-block;
	vertical-align: top;
	cursor: pointer;
	text-transform: uppercase;
}

#ui-datepicker-div, .ui-datepicker-inline {
	font-family: 'Museo Sans Cyrl', Arial, sans-serif;
}

/*#ui-datepicker-div {*/
/*	border: 2px solid #589CBF !important;*/
/*}*/

/*.ui-datepicker-control {*/
/*	background: #e12e27 !important;*/
/*	padding: 5px 10px !important;*/
/*}*/
/*.ui-datepicker-links {*/
/*	font-size: 14px !important;*/
/*	background: #333 !important;*/
/*	font-weight: 500 !important;*/
/*	padding: 6px 0 !important;*/
/*}*/

/*.select2-container--default .select2-selection--single {*/
/*	-webkit-border-radius: 0;*/
/*	-moz-border-radius: 0;*/
/*	border-radius: 0;*/
/*	background: transparent;*/
/*	border: 0;*/
/*	border-bottom: 1px solid #589CBF;*/
/*	height: 55px;*/
/*}*/

/*.select2-container .select2-selection--single .select2-selection__rendered {*/
/*	font-weight: 300;*/
/*	line-height: 55px;*/
/*	font-size: 25px;*/
/*	color: #fff;*/
/*}*/

/*.select2-container--default .select2-selection--single .select2-selection__arrow {*/
/*	height: 54px*/
/*}*/

/*.select2-container--default .select2-selection--single .select2-selection__arrow b {*/
/*	border-color: #fff transparent transparent transparent;*/
/*	border-style: solid;*/
/*	border-width: 8px 6px 0 6px;*/
/*}*/
/*.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {*/
/*	border-color: transparent transparent #fff transparent;*/
/*	border-width: 0 6px 8px 6px;*/
/*}*/

.type {
	width: 100%;
	display: table;
	vertical-align: middle;
	margin: 40px 0 20px;
}

.the-way {
	display: table-cell !important;
	width: 50%;
	text-align: center;
	pointer-events: all;
}
.the-way input {
	display: none;
}
.the-way span {
	display: inline-block;
	position: relative;
	background: url(//insky.biz/wp-content/themes/insky/images/icon-theways.png) no-repeat;
	width: 79px;
	height: 29px;
}
.the-way.oneway  {
	margin-left: 32px;
}
.the-way.oneway span {
	width: 33px;
}
.the-way span:before {
	position: absolute;
	top: 4px;
	left: -30px;
	width: 16px;
	height: 16px;
	content: '';
	border: 2px solid #7cb9db;
	-webkit-border-radius: 50%;
	-khtml-border-radius: 50%;
	-moz-border-radius: 50%;
	-ms-border-radius: 50%;
	-o-border-radius: 50%;
	border-radius: 50%;
	display: inline-block;
	vertical-align: middle;
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-ms-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}
.the-way input:checked+span:before {
	border-color: #fff;
	background: #fff;
}

.ui-autocomplete {
	background: #fff !important;
	font: 300 14px/24px 'Museo Sans','Arial',sans-serif;
	margin-left: -63px;
	width: 272px !important;
	max-height: 200px;
	overflow: auto
}

.ui-autocomplete .ui-state-hover,.ui-autocomplete .ui-state-focus,.ui-autocomplete .ui-state-active {
	font-weight: 300;
	margin: 0;
	color: #e12e27
}

#ui-datepicker-div {
	-webkit-box-sizing: border-box;
	-khtml-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
	margin: 0;
	background-color: #fff;
	background-color: rgba(255,255,255,.9);
	color: #333;
	font: 300 14px/20px 'Museo Sans','Arial',sans-serif;
	padding: 0;
	border: 0;

	width: 316.8px !important;
}

#ui-datepicker-div * {
	-webkit-box-sizing: border-box;
	-khtml-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box
}

#ui-datepicker-div .ui-datepicker-one-month {
	float: none;
	width: auto;
}
#ui-datepicker-div .ui-datepicker-header,
#ui-datepicker-div .ui-datepicker-control{
	background: #e12e27;
	font-weight: 500;
	height: auto;
	padding: 5px;
	color: #fff;
}

#ui-datepicker-div .ui-datepicker-links .ui-icon {
	background-image: url(//insky.biz/wp-content/themes/insky/images/icon-arrows.png);
	cursor: pointer;

}

#ui-datepicker-div .ui-datepicker-links .ui-datepicker-prev a {
	background-position: 0 0;
	height: 24px;
	left: 15px;
	margin: 0;
	top: 7px;
	width: 24px
}

#ui-datepicker-div .ui-datepicker-links .ui-datepicker-next a {
	background-position: 100% 0;
	height: 24px;
	left: auto;
	margin: 0;
	right: 15px;
	top: 7px;
	width: 24px
}

#ui-datepicker-div .ui-datepicker-multi .ui-datepicker-group table {
	margin: auto
}

#ui-datepicker-div .ui-state-disabled {
	background: 0 0
}

#ui-datepicker-div table {
	border: 0;
	background: 0 0;
	margin: 0;
	border-collapse: collapse;
	table-layout: fixed;
}

#ui-datepicker-div .ui-datepicker-links {
	background: #fff;
	padding: 5px;
}
#ui-datepicker-div table td {
	cursor: pointer;
	background: 0 0;
	height: 31px;
	border: 0
}

#ui-datepicker-div table tbody td:hover,
#ui-datepicker-div table tbody td.ui-datepicker-current-day {
	background: #e12e27 !important
}
#ui-datepicker-div table tbody td:hover > a,
#ui-datepicker-div table tbody td.ui-datepicker-current-day > a{
	color: #fff !important
}
#ui-datepicker-div .ui-datepicker-control, .ui-datepicker-links {
	font-weight: 500;
	font-size: 15px;
}

#ui-datepicker-div .ui-datepicker-header select {
	color: currentColor;
	background: none;
}
#ui-datepicker-div .ui-datepicker-control a {
	color: #fff !important
}
#ui-datepicker-div .ui-datepicker-links a {
	color: #000 !important;
}
@media screen and (max-width: 767px) {
	.innerForm strong {
		margin-bottom: 10px;
		font-size: 16px;
	}
	[type="text"] {
		font-size: 18px;
		height: 40px;
	}
	.submit {
		margin-left: 0 !important;
		width: 100% !important;
	}
	.submit button {
		text-align: center;
		display: block;
		width: 100%;
	}
}