body {
	background-color: #9c8071;
	font-family: 'Rubik Light',Arial,sans-serif;
	vertical-align:top;
	/* background-image: url('../img/fon_arr.jpg');
    background-repeat: repeat;
    background-position: auto;
    background-attachment: scroll; */
}

body.dop_fon {
	background-image: url('../img/fon_romb.png');
    background-repeat: no-repeat;
    background-position: right top;
    background-attachment: fixed;
}

h1 {
    color: #decbc4;
    margin:0;
}

i {
	color: #aaa;
}

[type=submit] {
	cursor: pointer;
}

body.dop_fon h1 {
	position: relative;
    top: 1.5em;
    left: 2.5em;
}



form {
	display: block;
    width: 20em;
    height: 14em;
    background-color: #FEFEFE;
    padding: 2em;
    line-height: 3em;
    position: relative;
    top: 5em;
    left: 5em;
}

form span {
	display: inline-block;
    width: 5em;
}

form input {
	padding:0.5em;
	border-radius: 0.3em;
	border: 1px solid #9c8071;
}

i.error {
	position: relative;
    //top: -1em;
    display: block;
    text-align: center;
    color: #96826d;
}

hr {
	border: none;
	border-top: 1px dashed #9c8071;
}

#header {
	height: 5em;
}
body.dop_fon #header {
	position: relative;
	width: 50%;
    left: 4.5em;
    top: 1em;
    height: 7em;
}

#logo {
	height: 100%;
}

#menu {
	position: absolute;
    right: 2em;
    top: 2.5em;
}
#menu a.logout {
	text-decoration:none;
	color: #decbc4;
}

#contacts {
	position: absolute;
    right: 14em;
    top: 2em;
    line-height: 1.5em;
    font-size: 0.9em;
    color: #decbc4;
} 
#contacts a {
	color: #decbc4;
	text-decoration: none;
}


#content {
	white-space: nowrap;
	overflow:hidden;
	padding: 1em;
}

.center {
	text-align:center;
}

.pipeline_step {
	display: inline-table;
	width: 20%;
    white-space: normal;
}
.pipeline_step_header {
	padding: 0.75em;
	background-color: #ffffff;
    color: #8a6552;
	border-left: 1px solid #9c8071;
	margin: 2em 0 1em 0;
}
.lead {
	font-size: 0.9em;
	padding: 1em;
	margin: 0.2em 0.1em;
	line-height: 1.8em;
	border: 1px solid #CCC;
	background-color: #FAFAFA;
}

.lead span {
	display: inline-block;
	width: 5em;
	color: #777;
	font-weight: 500;
}

.lead_name {
	font-weight: 700;
}
/* .lead_adres {
	//font-size: 0.9em;
	color: #999;
	
} */
.lead_adres {
	font-size: 0.9em;
	color: #777;
	line-height: 1.2em;
}
.tag {
	display: inline-block;
    padding: 0.4em;
    border: 1px solid #Baa;
    color: #Baa;
    border-radius: 0.3em;
    font-size: 0.8em;
    line-height: 0.8em;
    margin: 0 0.3em 0.3em 0;
}

.icon {
	float: left;
    height: 1.1em;
    margin: 0.3em 0.4em 0 0;
	
}

@media screen and (max-width: 1200px) {
	
	body.dop_fon {
		background-image: url('../img/fon_romb_mini.png');
		
	}
	
	.pipeline_step_header {
		border-left: 0;
		border-bottom: 1px solid #9c8071;
	}
	.pipeline_step {
	  display: block;
	  width: auto;
	}
	.lead {
	  margin: 0.5em 0;
	}
	#header {
	height: 3.5em;
	}
	
	body.dop_fon #header {
	left:0;
    top: 0;
    height: 4em;
	}
	
	#menu {
	position: absolute;
    right: 1em;
    top: 1em;
	}
	#contacts {
		
		right: 7em;
		top: 1.2em;
		line-height: 1.5em;
		font-size: 0.8em;
		
	} 
	
	#content {
		padding: 0;
	}
	
	h1 {
		margin: 0.5em 0 0 0.3em;
	}
	body.dop_fon h1 {
		position: relative;
		top: 1.5em;
		left: 0.5em;
		color: #FFF;
	}
	form {
		width: 100%;
		height: 15em;
		top: 6em;
		left: 0;
	}
}