@import url(https://fonts.googleapis.com/css?family=Roboto);

@media ( min-width : 401px) {
	body {
		background: url("../img/background.jpg") no-repeat center center fixed;
		-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
		background-size: cover;
	}

	[class*="entypo-"]:before {
		font-family: 'entypo', sans-serif;
	}
	*, *:before, *:after {
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
	}
	h2 {
		font-size: 20px;
		color: rgba(255, 255, 255, .8);
		margin-left: 12px;
		color: rgba(255, 255, 255, .8);
	}
	body {
		font-family: 'Roboto', sans-serif;
	}
	form {
		position: relative;
		width: 380px;
		height: auto;
	}
	input {
		padding: 16px;
		border-radius: 7px;
		border: 0px;
		background: rgba(255, 255, 255, .2);
		display: block;
		margin: 15px;
		width: 300px;
		color: white;
		font-size: 18px;
		height: 54px;
	}
	input:focus {
		outline-color: rgba(0, 0, 0, 0);
		background: rgba(255, 255, 255, .95);
		color: #e74c3c;
	}
	button {
		float: right;
		height: 121px;
		width: 50px;
		border: 0px;
		background: #e74c3c;
		border-radius: 7px;
		padding: 10px;
		color: white;
		font-size: 22px;
		margin-top: 15px;
	}
	.inputUserIcon {
		position: absolute;
		top: 55px;
		right: 90px;
		color: white;
	}
	.inputPassIcon {
		position: absolute;
		top: 125px;
		right: 90px;
		color: white;
	}
	input::-webkit-input-placeholder {
		color: white;
	}
	input:focus::-webkit-input-placeholder {
		color: #e74c3c;
	}
	#wrapper {
		background-color: rgba(0, 0, 0, 0.8);
		border-radius: 10px;
		width: 392px;
		height: 200px;
	}
	#footer {
		color: white;
		font-size : 12px;
		font-family : tahoma, sans-serif;
		text-align : center;
		letter-spacing : 3px;
      	height: 50px;

	}
}

@media ( max-width : 400px) {
	body {
		background: none;
	}
	#wrapper {
		background: white;
		width: 300px;
		height: 140px;
	}
	form {
		display: none;
	}
	#footer {
		display : none;
	}
}

#wrapper {
	margin: auto;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}

#logo {
	width: 300px;
	height: 140px;
	background: url(../img/logo_itours.png) no-repeat;
	margin: 15px auto;
}

a:link, a:visited, a:hover, a:active {
	color: white;
	text-decoration : none;
}

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

div.social_networks img{
	display : inline-block;
	margin : 5px;
	width : 40px;
}
