/* Шрифты */
@font-face {
    font-family: 'TextLight';
    src: url('../font/SFUIText-Light.eot');
    src: url('../font/SFUIText-Light.eot?#iefix') format('embedded-opentype'),
    url('../font/SFUIText-Light.woff2') format('woff2'),
    url('../font/SFUIText-Light.woff') format('woff'),
    url('../font/SFUIText-Light.ttf') format('truetype'),
    url('../font/SFUIText-Light.svg#SFUIText-Light') format('svg');
    font-weight: 300;
    font-style: normal;
}

/* Clearfix */
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}


#id_reg_mob {
    display: none;

}

/* Basic Styles */
nav {
	height: 56px;
	width: 100%;
	background: #ffffff;
	font-size: 18px;
	font-family: 'TextLight', sans-serif;
	font-weight: 300;
	position: relative;
	border-bottom: 0px solid darkred;
}
nav ul {
	padding: 0;
	margin: 0 auto;
	width: 100%;
    /* width: 700px; */
	height: 56px;
    /* text-align: center; */
    /* background-color: darkmagenta; */
}
nav li {
	display: inline;
	float: left;
    line-height: 0px;
}
nav a {
	color: #2c2c2d;
	display: inline-block;
    padding-left: 15px;
    padding-right: 15px;
	text-align: center;
	text-decoration: none;
	line-height: 56px;
}
nav li a {
	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: silver; */
    color: #353536;
}
nav a#pull {
	display: none;
}

/*Styles for screen 600px and lower*/
@media screen and (max-width: 882px) {
	nav {
        background: #bebebf;
  		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 #576979;
		border-right: 0px solid #576979;
		*/
	}
  	nav a {
        color:rgba(242, 242, 242, 0.8);
	  	text-align: left;
	  	width: 100%;
	  	text-indent: 0px; /* отступ ссылок в мобильном меню, было 12px */
  	}

    nav a:hover, nav a:active {
        /* background-color: silver; */
        /* font-family: TextMedium; */
        color:rgba(242, 242, 242, 1);
    }

    #ksl {
        display: none;
    }



    #id_reg_main {
        display: none;
    }

}


/*Styles for screen 515px and lower*/
@media only screen and (max-width : 881px) {
	nav {
		border-bottom: 0;
	}

	nav ul {
		display: none;
		height: auto;
	}
	nav a#pull {
		display: block;
        background-color: #bebebf;
		width: 100%;
		position: relative;
	}
	nav a#pull:after {
		content:"";
		background: url('../menu/lines.svg') no-repeat;
		width: 50px;
		height: 50px;
		display: inline-block;
		position: absolute;
		right: 3px;
		top: 3px;
	}

    #id_reg_mob {
        display: block;
    }

    #id_reg_main {
        display: none;
    }

}

/*Smartphone*/
@media only screen and (max-width : 880px) {
	nav li {
		display: block;
		float: none;
		width: 100%;
	}
	nav li a {
		border-bottom: 1px solid #bebebf;
	}

}