 @font-face {
    font-family: "Myriad Pro - Bold Cond"; 
    src: url(../fonts/Myriad-Pro-Bold-Cond.ttf);
   }
 @font-face {
    font-family: "Myriad"; 
    src: url(../fonts/MyriadProRegular.ttf);
   }
body,p {
	margin: 0;
	padding: 0;
}

body {
	height: 948px;
	position: relative;
}
.cleafix {
	display: table;
	content: '';
	clear: both;
}

.wrapper {
	text-align: center;
	position: relative;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 470px;
	height: 474px;
	box-shadow: 0 5px 5px rgba(0, 0, 0, 0.29), inset 0 0 0 rgba(29, 29, 29, 0.12);
	background-color: #f1f1f1;
    background-image: linear-gradient(to top, rgba(255, 255, 255, 0.02) 0%, rgba(0, 0, 0, 0.02) 100%);
}
.wrap {
	position: relative;
	width: 412px;
	margin: 0 auto;
}
header {
	height: 65px;
	line-height: 0;
}
.reg {
	position: relative;
}
.welcome,
.log {
	text-transform: uppercase;
}

.welcome {
	padding: 32px 0 0 0;
	color: #7a7a7a;
	font-family: "Myriad Pro - Bold Cond";
	font-size: 33px;
	font-weight: 400;
}
.title {
	padding: 38px 0 0 0;
	text-align: left;
	color: #383838;
	font-family: "Myriad";
	font-size: 13px;
	line-height: 0;
}
 .twitter,
 .facebook {
 	position: relative;

 }
.wrap .twitter {
	margin-top: 10px;
	float: left;
	display: inline-block;
	line-height: 32px;
	width: 198px;
	height: 32px;
	box-shadow: inset 0 1px 0 #9dacc3, inset 0 0 0 rgba(121, 143, 181, 0.5);
	border: 1px solid #2c4465;
	background-color:#5c96fb;
  
    cursor: pointer;
}
.wrap .facebook {
	margin-top: 10px;
	display: inline-block;
	float: right;
	line-height: 32px;
	width: 196px;
	height: 32px;
	box-shadow: inset 0 1px 0 #9dacc3, inset 0 0 0 rgba(121, 143, 181, 0.5);
	border: 1px solid #2c4465;
	background-color: #ffffff;
    background-image: linear-gradient(to top, #4e759d 0%, #4a6eb4 100%);
    cursor: pointer;
}
.twit,
.face {
	position: absolute;
	top: 7px;
	left: 7px;
}
.twitter p{
	padding-left: 12px;
	text-shadow: 0 -1px 0 #2f4b70;
	color: #ffffff;
	font-family: "Open Sans";
	font-size: 15px;
	font-weight: 400;
/* Text style for "L, ogin wi" */
	font-family: "Open Sans";
	letter-spacing: -0.18px;
/* Text style for "Facebook" */
	font-family: "Open Sans";
	font-weight: 700;
	letter-spacing: -0.18px;
	}
.facebook p  {
	padding-left: 20px;
	text-shadow: 0 -1px 0 #2f4b70;
	color: #ffffff;
	font-family: "Open Sans";
	font-size: 15px;
	font-weight: 400;
	/* Text style for "L, ogin wi" */
	font-family: "Open Sans";
	letter-spacing: -0.18px;
	/* Text style for "Facebook" */
	font-family: "Open Sans";
	font-weight: 700;
	letter-spacing: -0.18px;
}
.registered {
	padding-top: 95px;
	text-align: left;
	font-family: "Myriad Pro - Semibold";
	font-size: 13px;
}
.inpText,
.pass {
	position: relative;
	margin: 10px 0 19px 0;
	padding-left: 18px;
	max-width: 392px;
	width: 100%;
	height: 53px;
	border-radius: 10px;
	background-color: #ffffff;
	color: #cccccc;
	font-family: "Myriad Pro";
	font-size: 17px;
	outline: none;
}
.iuser,
.ipass {
	position: absolute;
	right: 10px;
}
.iuser {
	width: 26px;
	height: 22px;
	top: 30px;
	
	background: #fff url('../img/user.svg') no-repeat center;
}
.pass {

	margin-top: 17px;
}
.inp-log,
.inp-pass {
	position: relative;
	
}
.ipass {
	position: absolute;
	top: 40px;
	width: 24px;
	height: 12px;
	background: #fff url('../img/pass.svg') no-repeat center;
}
.checkbox {
	margin-top: 15px;
	width: 22px;
	height: 22px;
	border-radius: 10px;
	float: left;
}
.keep {
	margin: 18px 0 0 37px;
	text-align: left;
	color: #6b6b6b;
	font-family: "Myriad Pro - Semibold";
	font-size: 13px;font-weight: 400;
}
.btn {
	cursor: pointer;
	outline: none;
	border-radius: 5px;
	position: absolute;
	right: 0;
	bottom: -10px;
	width: 90px;
	height: 36px;
	box-shadow: inset 0 1px 0 #5e5e5e, inset 0 0 0 rgba(91, 91, 91, 0.5);
	border: 1px solid #676767;
	background-color: #ffffff;
}
.forgotten {
	float: left;
	margin: 20px 0 0 -25px;
	color: #262626;
	font-family: "Myriad Pro - Semibold";
	font-size: 13px;
	text-decoration: none;
}
span {
	margin: 20px 0 0 0px;
	float: right;
	color: #6b6b6b;
	font-family: "Myriad Pro - Semibold";
	font-size: 13px;
	color: black;
}
span a {
	color: #262626;
	text-decoration: none;
}
span a:hover {
	color: red;
}
@media screen and (max-width: 413px) {
.wrapper {
	max-width: 413px;
	width: 100%;
}
.wrap {
	max-width: 412px;
	width: 100%;
}
.wrap .facebook {
	width: 100%;
}
.wrap .twitter {
	width: 100%;
}
input {
	padding-left: 0;
}
.inpText,
.pass {
	max-width: 413px;
	width: 100%;
	padding-left: 0;
}
}
}
@media screen and (max-width: 360px) {
	.wrapper {
		max-width: 360px;
		width: 100%;
	}
	.wrap {
		max-width: 360px;
		width: 100%;
	}
	.inpText, 
	.pass {
	max-width: 360px;
		width: 100%;
	}
	.wrap .facebook {
		width: 100%;
	}
	.wrap .facebook {
		width: 100%;
	}
	.wrap .twitter {
		width: 100%;
	}
	input {
	padding-left: 0;
	}
}