/*
Theme Name: 
Description: 
Version: 1.0
Author: Milad Dehghan
Author URI: http://miladde.com
*/


@font-face {
  font-family: 'BHoma';
  src: url('../fonts/BHoma.eot?#') format('eot'),  /* IE6–8 */
       url('../fonts/BHoma.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
       url('../fonts/BHoma.ttf') format('truetype');  /* Saf3—5, Chrome4+, FF3.5, Opera 10+ */
}
.BHoma {
	font-family: BHoma, Arial, Helvetica, sans-serif;
}
/* 
rest codes from: http://meyerweb.com/eric/tools/css/reset/ 
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
    font-family:BHoma,Tahoma;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


/*======== Default Codes ========*/
html {
  height: 100%;
}

body {
  direction:rtl;
  font-family: BHoma,Tahoma;
  font-size: 12px;
  color: #333;
  /*background-color:rgba( 0, 0, 0, 0.15);*/
  background: url(../images/root/bg.jpg);
  background-size: cover;
  line-height: 20px;
}

a {
  color: #0088CC;
  text-decoration: none;
  -moz-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  -webkit-transition: all 0.3s linear;
  transition: all 0.3s linear;
}

a:hover {
  color: #005580;
}

a:focus {
  outline: none;
}

input[type="text"]:focus {
  outline: none;
}


.clearfix {
  clear: both;
}
blockquote {
	font-style: italic;
	color: #333;
	font-size: 11px;
	padding:15px;
}
h1,
h2,
h3,
h4,
h5 {
  font-family: BYekan;
  font-weight: normal;
}

h1 {
  font-size:36px;
}

h2 {
  font-size:24px;
}

h3 {
  font-size:18px;
}

h4 {
  font-size:16px;
}


/*======== Get Fonts ========*/
@font-face {
  font-family: 'BYekan';
  font-weight: normal;
  src: url('fonts/BYekan.eot?#') format('eot'),  /* IE6?8 */
     url('fonts/BYekan.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
     url('fonts/BYekan.ttf') format('truetype');  /* Saf3?5, Chrome4+, FF3.5, Opera 10+ */
}



#container {
  width: 1000px;
  margin:0 auto;
}

.box {
  width: 340px;
  height: 351px;
  background: #fff;

  top: 50%;
  left: 50%;
  position: absolute;
  margin: -175px 0 0 -170px;
  box-shadow: 0 0 7px 0 rgba( 0, 0, 0, 0.8);
}

.box .home {
  display: block;
  float:left;
  background: url(../images/root/home-login.png) no-repeat;
  width: 25px;
  height: 25px;
  opacity: 0.6;	
}

.box .home:hover {
  opacity: 1;
}

.box .first {
  padding: 15px 20px 0 20px;	
}

.box .second {
  padding: 0 20px 15px 20px;	
}

.box .inputs {
  background: #eee;
  padding: 5px 0;
  margin-bottom: 10px;
  border-right: 3px solid #00b3f5;
}


.box h1 {
  font-size: 21px;
  text-align:center;
  margin-top: 12px;
  margin-bottom: 30px;
  color: #22C2FF;
}

.right {
  float: right;
  height: 40px;
}

.right input {
  float: right;	
}

.right a {
  display: block;
}

.box input[type=text],
.box input[type=password] {
  width: 250px;
  font-size: 13px;
  font-family: BYekan,BHoma,Tahoma;
  display: block;
  direction: ltr;
  padding: 12px 10px 10px 30px;
  box-shadow: 0 3px 8px 0 rgba( 0, 0, 0, 0.15) inset;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  margin: 11px auto;
  color: #555;
  -moz-transition: all 0.3s ease-in;
  -o-transition: all 0.3s ease-in;
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}

.box input[type=text] {
  background: #fff url(../images/root/user.png) 5px 12px no-repeat;
}

.box input[type=password] {
  background: #fff url(../images/root/key.png) 5px 12px no-repeat;

}

.box input[type=text]:focus,
.box input[type=password]:focus {
  border: 1px solid #00aeff;
}

.box input[type=submit] {
  background: url(../images/root/log.png) top no-repeat;
  width: 94px;
  height: 39px;
  display:block;
  box-shadow: 0 0 5px 0 rgba( 0, 0, 0, 0.15);
  border:0;
  font-size: 22px;
  font-family: BYekan;
  color: #fff;
  text-shadow: -1px -1px 0 rgba( 0, 0, 0, 0.4);
  text-indent: 30px;
  cursor: pointer;
  float: left;
  margin-left: 8px;
}

.box input[type=submit]:hover {
  background: url(../images/root/log.png) bottom no-repeat;
}

.s-login {
}

.s-login a {
  background-image: url(../images/root/soci.png);
  background-repeat:no-repeat;
  display:block;
  width: 130px;
  height: 38px;
  margin: 30px 8px 0 8px;
  float: right;
  color: #fff;
  font-size: 13px;
  font-family: BYekan;
  line-height: 35px;
  text-indent: 45px;
  -moz-transition: all 0s ease-in;
  -o-transition: all 0s ease-in;
  -webkit-transition: all 0s ease-in;
  transition: all 0s ease-in;
  box-shadow: 0 0 5px 0 rgba( 0, 0, 0, 0.15);
}

.s-login .facebook {
  background-position: top right;
}

.s-login .google {
  background-position: top left;
}

.s-login .facebook:hover {
  background-position: bottom right;
}

.s-login .google:hover {
  background-position: bottom left;
}

::-webkit-input-placeholder {
    color:    #eee;
}
:-moz-placeholder {
    color:    #eee;
}
:-ms-input-placeholder {
        color:    #eee;
}