/* Clearfix */
/*New font*/
@font-face {
	font-family: 'DisplayBold';
	src: url('../psmm/css/transfonter/SFUIDisplay-Bold.eot');
	src: url('../psmm/css/transfonter/SFUIDisplay-Bold.eot?#iefix') format('embedded-opentype'),
		url('../psmm/css/transfonter/SFUIDisplay-Bold.woff2') format('woff2'),
		url('../psmm/css/transfonter/SFUIDisplay-Bold.woff') format('woff'),
		url('../psmm/css/transfonter/SFUIDisplay-Bold.ttf') format('truetype'),
		url('../psmm/css/transfonter/SFUIDisplay-Bold.svg#SFUIDisplay-Bold') format('svg');
	font-weight: bold;
	font-style: normal;
}

@font-face {
	font-family: 'TextMedium';
	src: url('../psmm/css/transfonter/SFUIText-Medium.eot');
	src: url('../psmm/css/transfonter/SFUIText-Medium.eot?#iefix') format('embedded-opentype'),
		url('../psmm/css/transfonter/SFUIText-Medium.woff2') format('woff2'),
		url('../psmm/css/transfonter/SFUIText-Medium.woff') format('woff'),
		url('../psmm/css/transfonter/SFUIText-Medium.ttf') format('truetype'),
		url('../psmm/css/transfonter/SFUIText-Medium.svg#SFUIText-Medium') format('svg');
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: 'DisplayUltralight';
	src: url('../psmm/css/transfonter/SFUIDisplay-Ultralight.eot');
	src: url('../psmm/css/transfonter/SFUIDisplay-Ultralight.eot?#iefix') format('embedded-opentype'),
		url('../psmm/css/transfonter/SFUIDisplay-Ultralight.woff2') format('woff2'),
		url('../psmm/css/transfonter/SFUIDisplay-Ultralight.woff') format('woff'),
		url('../psmm/css/transfonter/SFUIDisplay-Ultralight.ttf') format('truetype'),
		url('../psmm/css/transfonter/SFUIDisplay-Ultralight.svg#SFUIDisplay-Ultralight') format('svg');
	font-weight: 100;
	font-style: normal;
}

@font-face {
	font-family: 'TextLight';
	src: url('../psmm/css/transfonter/SFUIText-Light.eot');
	src: url('../psmm/css/transfonter/SFUIText-Light.eot?#iefix') format('embedded-opentype'),
		url('../psmm/css/transfonter/SFUIText-Light.woff2') format('woff2'),
		url('../psmm/css/transfonter/SFUIText-Light.woff') format('woff'),
		url('../psmm/css/transfonter/SFUIText-Light.ttf') format('truetype'),
		url('../psmm/css/transfonter/SFUIText-Light.svg#SFUIText-Light') format('svg');
	font-weight: 300;
	font-style: normal;
}

@font-face {
	font-family: 'TextBold';
	src: url('../psmm/css/transfonter/SFUIText-Bold.eot');
	src: url('../psmm/css/transfonter/SFUIText-Bold.eot?#iefix') format('embedded-opentype'),
		url('../psmm/css/transfonter/SFUIText-Bold.woff2') format('woff2'),
		url('../psmm/css/transfonter/SFUIText-Bold.woff') format('woff'),
		url('../psmm/css/transfonter/SFUIText-Bold.ttf') format('truetype'),
		url('../psmm/css/transfonter/SFUIText-Bold.svg#SFUIText-Bold') format('svg');
	font-weight: bold;
	font-style: normal;
}

@font-face {
	font-family: 'DisplayLight';
	src: url('../psmm/css/transfonter/SFUIDisplay-Light.eot');
	src: url('../psmm/css/transfonter/SFUIDisplay-Light.eot?#iefix') format('embedded-opentype'),
		url('../psmm/css/transfonter/SFUIDisplay-Light.woff2') format('woff2'),
		url('../psmm/css/transfonter/SFUIDisplay-Light.woff') format('woff'),
		url('../psmm/css/transfonter/SFUIDisplay-Light.ttf') format('truetype'),
		url('../psmm/css/transfonter/SFUIDisplay-Light.svg#SFUIDisplay-Light') format('svg');
	font-weight: 300;
	font-style: normal;
}

/* ------- */
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}

/* Basic Styles */

nav {
	height: 160px;
	width: 100%;
	background: #484848;
	font-size: 16px;
	font-family: "DisplayLight";
	color: #FFFFFF;
	line-height: 18px;
	position: relative;
	border-bottom: 0px solid #283744;
}
nav ul {
	padding: 0;
	margin: 0 auto;
	width: 800px;
	height: 40px; /*было сорок*/
}
nav li {
	display: inline;
	float: left;
}
nav a {
	color: #fff;
	display: inline-block;
	width: 100px;
	text-align: center;
	text-decoration: none;
	line-height: 40px;
	text-shadow: 0px 0px 0px #283744;
}
nav li a {
	border-right: 0px solid #576979;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
}
nav li:last-child a {
	border-right: 0;
}
/* nav a:hover, */
nav a:active {
	background-color: #da0000;
}
nav a#pull {
	display: none;
}




/*Styles for screen 600px and lower было 1100px */

@media screen and (max-width: 4100px) {
	nav {
  		height: auto;
  	}
  	nav ul {
  		width: 100%;
  		display: block;
  		height: auto;
  	}
  	nav li {
  		width: 50%;
  		float: left;
  		position: relative;
  	}
  	nav li a {
		border-bottom: 0px solid #c6c6c6;
		border-right: 0px solid #c6c6c6;
	}
  	nav a {
	  	text-align: left;
	  	width: 100%;
	  	text-indent: 25px;
  	}
}

/*Styles for screen 515px and lower было 1024px */
@media only screen and (max-width : 4024px) {
	nav {
		border-bottom: 0;
	}
	nav ul {
		display: none;
		height: auto; /* было auto */
	}
	nav a#pull {
		display: block;
		background-color: #282828;
		width: 100%;
		height:50px;
		position: relative;
	}
	nav a#pull:after {
		content:"";
		/*
		background: url('nav-icon.png') no-repeat;
		*/
		background: url('../icons/lines.svg') no-repeat;
		width: 40px;
		height: 40px;
		display: inline-block;
		position: absolute;
		right: 5px;
		top: 5px;
	}

}

/*Smartphone было 320px - здесь вы делаем менб по строкам а не по столбикам*/
@media only screen and (max-width : 1020px) {
	nav li {
		display: block;
		float: none;
		width: 100%;
	}
	nav li a {
		border-bottom: 1px solid #4a4a4a;
	}
}