* {
	box-sizing: border-box;
	outline: none;
}

body {
	background: #216896;
	font-family: arial;
	font-size: 18px;
	font-weight: bold;
	padding: 35px 15px;
}

h1, h2,h3 {
	text-align: center;
}

h1 {
	color: #216896;
	font-size: 32px;
	margin-bottom: 0.5em;
	margin-top: 0;
}

h2 {
	color: #a8a8a8;
	font-size: 20px;
	font-weight: 400;
	margin-top: 0;
}
h3 {
	color: #216896;
	font-size: 20px;
	font-weight: 400;
	margin-top: 0;
}
.container {
	background: #ffffff;
	border-radius: 30px;
	position: relative;
	width: 100%;
	top: 0;
	left: 50%;
	overflow: hidden;
	-webkit-transform: translateX(-50%);
	        transform: translateX(-50%);
}

.content {
	margin: auto;
	direction: rtl;
	max-width: 540px;
	padding-bottom: 3em;
	padding-top: 3em;
	width: 100%;
}

.img {
	position: relative;
}

img {
	display: block;
	max-width: 100%;
}

.row {
	margin-top: 30px;
	direction: rtl;
}

.clearfix:after {
	clear: both;
	content: "";
	display: block;
}

.line {
	background: #216896;
	border-radius: 16px;
	bottom: -8px;
	height: 16px;
	position: absolute;
	left: 50%;
	-webkit-transform: translateX(-50%);
	        transform: translateX(-50%);
	width: 75%;
}

.btn, input, select {
	border-radius: 50px;
	line-height: 50px;
	height: 50px;
	text-align: center;
	padding-left: 15px;
	padding-right: 15px;
}

.btn {
	cursor: pointer;
}

a.btn, a.btn:hover {
	text-decoration: none;
}
a.btn {
	display: block;
}

.btn-blue {
	background: #216896;
	color: #d6d6d6;
}

.btn-gray {
	background: #d6d6d6;
	color: #216896;
}

.advanced-filter {
	margin-top: 60px;
	position: relative;
}
.advanced-filter:before {
	content: '+';
	color: #216896;
	font-size: 30px;
	position: absolute;
	top: 50%;
	-webkit-transform: translateY(-50%);
	        transform: translateY(-50%);
	left: 30px;
}

.advanced-filter.opened:before {
	content: "-";
	font-size: 35px;
	margin-top: -4px;
	margin-left: 2px;
}

.advanced-container {
	height: 0;
	direction: rtl;
	overflow: hidden;
	-webkit-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  font-weight: bold;
  opacity: 1;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
::-moz-placeholder { /* Firefox 19+ */
  font-weight: bold;
  opacity: 1;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
:-ms-input-placeholder { /* IE 10+ */
  font-weight: bold;
  opacity: 1;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
:-moz-placeholder { /* Firefox 18- */
  font-weight: bold;
  opacity: 1;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

input[type="number"] {
    -moz-appearance: textfield;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input, textarea, select {
	background: #d5d5d5;
	border: 0;
	color: #216896;
	text-align: left;
	width: 100%;
}
input, select {
	font-weight: bold;
	padding-left: 30px;
	padding-right: 30px;
}
input[readonly] {
	cursor: default;
}
select {
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}
.btn-submit {
	border: 0;
	font-weight: bold;
	width: 100%;
}
.select-cont {
	position: relative;
}
.select-cont:before {
	content: ">";
	-webkit-transform: rotate(90deg);
	transform: rotate(90deg);
    position: absolute;
    right: 20px;
    top: 0;
    color: #d6d6d6;
    font: 17px "Consolas", monospace;
    pointer-events: none;
}
select::-ms-expand {
    display: none; /* hide the default arrow in ie10 and ie11 */
}
select option, textarea {
	font-weight: bold;
}
textarea {
	border-radius: 43px;
	padding: 30px;
	resize: none;
}

.col, .pull-left {
	float: left;
}
.col:first-child {
	padding-right: 10px;
}
.col:last-child {
	padding-left: 10px;
}
.col-2 {
	width: 50%;
}
.text-center {
	text-align: center;
}

.footer {
	margin: 60px 0 0;
	text-align: center;
}
.footer img {
	display: inline-block;
}

.info-display {
	color: #216896;
	text-align: center;
	display: inline-block;
}
.info-display .title, .info-display .variable {
	float: left;
}
.info-display .title {
	margin-right: 5px;
	min-width: 75px;
	text-align: right;
}
.info-display .variable {
	text-align: left;
}

.modal-window {
  position: fixed;
  background-color: rgba(55, 88, 136, .95);
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.modal-window:target {
  opacity: 1;
  pointer-events: auto;
}

.modal-window > div {
  border-radius: 30px;
  max-width: 540px;
  width: 100%;
  position: absolute;
  padding: 2rem;
  background: #fff;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
}

.modal-window header {
  font-weight: bold;
}

.modal-close {
  color: #aaa;
  line-height: 50px;
  font-size: 80%;
  position: absolute;
  right: 20px;
  text-align: center;
  top: 0;
  width: 70px;
  text-decoration: none;
}

.modal-close:hover {
  color: #000;
}

.modal-window h1 {
  font-size: 150%;
  margin: 0 0 15px;
}


@media only screen and (max-width: 1366px) {
	body {
		padding: 5%;
	}
	.img img {
		width: 100%;
	}
	.modal-window > div {
		top: 0;
	}
}

@media only screen and (max-device-width: 1024px) and (orientation:landscape) {
	.modal-window > div {
		transform: translate(-50%, 25%);
	}
}

@media only screen and (max-width: 767px) {
	.content {
		padding-left: 15px;
		padding-right: 15px;
	}
	.swipe-button {
		margin-top: 30px;
	}
}

@media only screen and (max-width: 640px) {
	body {
		font-size: 16px;
	}
	h1 {
		font-size: 26px;
	}
}

@media only screen and (max-width: 540px) {
	body {
		font-size: 14px;
		font-weight: normal;
	}
	.content {
		padding-bottom: 1.1em;
	}
	.row, .col + .col, input[type="submit"] {
	    margin-top: 15px;
	}
	::-webkit-input-placeholder { /* Chrome/Opera/Safari */
	  font-weight: normal;
	}
	::-moz-placeholder { /* Firefox 19+ */
	  font-weight: normal;
	}
	:-ms-input-placeholder { /* IE 10+ */
	  font-weight: normal;
	}
	:-moz-placeholder { /* Firefox 18- */
	  font-weight: normal;
	}
	.col:first-child {
		padding-right: 0;
	}
	.col:last-child {
		padding-left: 0;
	}
	.col-2 {
		width: 100%;
	}
	.footer {
		margin: 30px 0 0;
	}
	.footer img {
		max-width: 60%;
	}
}

@media only screen and (min-device-width: 767px) and (max-device-width: 1366px) and (orientation:landscape) {
	.content {
		max-width: 640px;
	}
	h1 {
		font-size: 40px;
	}
	h2 {
		font-size: 24px;
	}
    h3 {
		font-size: 24px;
	}
}

@media only screen and (min-width: 1025px) and (max-width: 1366px) {
	.container {
	    max-width: 767px;
	}
	.modal-window > div {
		transform: translate(-50%, 50%);
	}
}

@media only screen and (min-width: 1367px) {
	.container {
		max-width: 600px;
	}
}

@media only screen and (max-width: 480px) {
	.modal-window > div {
	  transform: translate(-50%, 0);
	}
}
