html,body {
	height: 100%;
	width: 100%;
	padding: 0px;
	margin: 0px;
	font-size: 14px;
	font-family: "Open Sans", verdana;
}

.wrapper{
	/*background: white url(../images/searching-bg.jpg) top center no-repeat;*/
	background-size: cover;
	min-height: 100%;
	margin-bottom: -93px;
}

.logo {
	background: transparent url(../images/searching-logo.png) center center no-repeat; 
	height: 118px;
	width:100%;
	background-size: contain;
	margin: 0 auto 56px;
}

.row {
	margin: 0px auto;
	padding: 0 0px;
	clear: both;
	max-width: 1170px;
}

.section {
	float: left;
	margin-left: 2.125%;
}

.search {
	background: white none;
	height: 62px;
	line-height: 62px;
	font-size: 25px;
	color:#333333;
	padding: 0 25px;
	box-sizing: border-box;
	border:1px solid #b7b7b7;
	display:inline-block;
	width: 100%;
}

.submit {
	background-color: #2e3192;
	border:none;
	color: white;
	font-size: 25px;
	line-height: 64px;
	width: 100%;
	display: block;
	height: 64px;
	font-size: 25px;
	padding:0 35px;
	cursor: pointer;
	text-transform: uppercase;
}

ul { list-style: none; padding: 0px; margin: 0;}

.iblock { display: inline-block; position: absolute; right:0px; top: 0; }
.main{
	position: relative;
    float: none;
    margin: 0 auto;
    text-align: center;
    width: 66.66%;
    padding: 100px 0;
}
.main form {
    position: relative;
    width: 100%;
    padding-right: 200px;
    box-sizing: border-box;
}

.clear, .footer { height: 93px; }
.footer {
	background-color: #222222;
	color: white;
}
.footer p {
	color: white;
	line-height: 93px;
	margin: 0;
}
.footer_nav {
	list-style: none;
	text-align: right;
    float: right;
}
.footer_nav li {
	display: inline-block;
	padding:0 0 0 25px;
}

.footer_nav li a {
	display: block;
	width: 100%;
	height: 100%;
	line-height: 93px;
	color: white;
	text-decoration: none;
}
.footer_nav li:first-child {
	padding-left:0px;
}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
.footer {
	    height: 170px;
	    padding:20px;
	}
}	
@media only screen and (min-device-width : 481px) and (max-device-width : 999px) {
.footer {
	    height: 100px;
	    padding:20px;
	}
}	
/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 999px) {
/* Styles */

	.main{
		top:20px;		
	}
	.logo{
		background-size: contain;
		width: 100%;
	}
	.footer p{
	   line-height: 20px;
	   text-align: center; 
	}
	.footer_nav li a{
		height:20px;
	}
	.footer_nav {
    	text-align: center; 
    	float:none;
	}
	.section {
 	   float: none; 
	}
}

/* Smartphones (landscape) ----------- */
@media only screen and (min-width : 321px) {
/* Styles */
}

/* Smartphones (portrait) ----------- */
@media only screen and (max-width : 320px) {
/* Styles */
}

/* iPads (portrait and landscape) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
/* Styles */
}

/* iPads (landscape) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
/* Styles */
}

/* iPads (portrait) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
/* Styles */
}
/**********
iPad 3
**********/
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 2) {
/* Styles */
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio : 2) {
/* Styles */
}
/* Desktops and laptops ----------- */
@media only screen  and (min-width : 1224px) {
/* Styles */
}

/* Large screens ----------- */
@media only screen  and (min-width : 1824px) {
/* Styles */
}

/* iPhone 4 ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 2) {
/* Styles */
}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio : 2) {
/* Styles */
}

/* iPhone 5 ----------- */
@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2){
/* Styles */
}

@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2){
/* Styles */
}

/* iPhone 6 ----------- */
@media only screen and (min-device-width: 375px) and (max-device-height: 667px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2){
/* Styles */
}

@media only screen and (min-device-width: 375px) and (max-device-height: 667px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2){
/* Styles */
}

/* iPhone 6+ ----------- */
@media only screen and (min-device-width: 414px) and (max-device-height: 736px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2){
/* Styles */
}

@media only screen and (min-device-width: 414px) and (max-device-height: 736px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2){
/* Styles */
}

/* Samsung Galaxy S3 ----------- */
@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2){
/* Styles */
}

@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2){
/* Styles */
 	.main form { padding: 0; position:relative; }
	.iblock { position: relative; width: 100%; margin-top: 20px; }
}

/* Samsung Galaxy S4 ----------- */
@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 3){
/* Styles */
	 .main form { padding: 0; }
	 .iblock { position: relative; width: 100%; margin-top: 20px; }
}

@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 3){
/* Styles */
}

/* Samsung Galaxy S5 ----------- */
@media only screen and (min-device-width: 360px) and (max-device-height: 640px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 3){
/* Styles */
}

@media only screen and (min-device-width: 360px) and (max-device-height: 640px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 3){
/* Styles */
}

@media only screen and (max-width: 640px){
/* Styles */
 	.main form { padding: 0; position:relative; }
	.iblock { position: relative; width: 100%; margin-top: 20px; }
}