@media (min-width: 980px) { 
	.tel #number {
		border-right: none;
	}
	.type span {
		margin:0;
	}
	.content .main-page {
		margin-left:10px;
	}
	.content .newz .article {
		margin: 0 15px 20px 0;
	}
	.content .newz-inner .article-block {
		margin: 0 20px 0 0;
	}		
	.content input[type=submit], .content .all-newz input {
		font-size:1.1em;
	}
	footer .span3 {
		margin: 0 15px 0 0;
	}
	footer ul li {
		line-height: 1;
		list-style: none outside none;
		margin: 10px 0;
	}
	.map-footer{
		margin-top:-20px;
	}	
	


}
@media (max-width: 1200px)  {
	.whywe-block{
		margin: 0 auto !important;
		width:100%;
	}
	.whywe-block .span2 {
		width:22%;
	}
	.aside {
		margin:50px auto;
		float: right;
	}
	.tab-content {
		  font-size: 14px;
   		 width: 80%;
	}
}


@media (min-width: 768px) and (max-width: 979px) {
	.tel #number {
		border-right: none;
	}	
	header {
		font-size:0.8em;
	}	
	.select-center a {
		font-size:0.8em;
	}
	header .span1 {
		display: none;
	}
	header .logo {
		width:227px;
	} 
	.type input {
		padding: 5px 5%;
	} 
	.type span {
		margin:0;
	}
	.nav li {
		width: 19.8%;	
	}	
	.nav a {
		font-size:14px;
	}
	.slider .item .span12 div {
		font-size:1.3em;
	}
	.slider .item .span12 p {
		font-size:0.8em;	
		line-height: 1.1;
	}
	.content .main-page {
		margin-left:5px;
	}
	.content h2 {
		font-size:20px;
	} 
	.content h3 {
		font-size: 16px;
	}	
	.content input[type=submit], .content .all-newz input {
		width: 40%;
		left: 30%;
		font-size:1em;
	}
	.content .newz .article {
		margin: 0 15px 0 0;
		font-size:0.8em;
		line-height:1.2;
	}	
	.content .newz-inner .article-block {
		margin: 0 20px 0 0;
	}		
	.content h2  {
		margin: 2em 0 1em;
	} 
	.content h2.headline  {
		margin: 0 0 1em;
	} 
	footer .span3 {
		margin: 0 15px 0 0;
		font-size:0.8em;
	}
	footer p {
		margin: 0 0 5px;
	}
	footer ul li {
		line-height: 1;
		list-style: none outside none;
		margin: 10px 0;
	}
	
	.content h1 {
		width:100%;
		margin-left:0;
		font-size:2em;
		line-height: 1;
	}
	.detail-text {
		width:100%;
		margin: 20px auto;
		font-size: 0.8em;
		margin-bottom:-50px;
	} 
	.sert img {
		height:auto;
	}
	.company-inner {	
		font-size:0.8em;
	}
	.company-inner {	
		font-size:0.8em;
		line-height:1.1;
		width:100%;	
		margin:0;		
	}	
	.company-inner h4 {
		margin: 30px 0 30px;
		text-align: center;
	}	
	
	.person .span8 {
		font-size: 0.8em;
		line-height:1.2;
	}
	.whywe-block {
		margin-left: 0% !important;
		width: 35%;
	}	
	

	.whywe-block .span2 {
		width:100%;
	}

	.aside input {
		width:70% !important;
	}
	
	.blue-row {
		font-size:0.8em;
	}
	.contact-text {
		width:100%;	
	} 
	
	.contact-text .span4 {
		width:50%;
	}
	
	.contact-text .span8 {
		width:100%;
	}
	
	.form:not(.modal) {
		float: left;
		width:92%;
		margin: 0 0 50px 0;
	}
	.form:not(.modal) input[type=text], .form::not(.modal) textarea {
		width:97%;
	}
	.form:not(.modal) input[type=submit], .form:not(.modal) textarea {
		padding: 10px 0;
	}	
	.form:not(.modal) h2 {
		font-size: 1.5em;
		margin:30px 0;
	}
	.map-footer {
		margin-top:-20px;	
	}
	.detail-text:not(.uslovia-text) h4 {
		display: none;
	}
	.form-manager {
		margin:100px 0 50px;
	}	
	.form-manager h2 {
		margin:30px 0 !important;
	}
	.uslovia {
		width:85%;
		font-size:0.8em;
	}
	.uslovia-ul {
		width:100%;
	}
	.partner-img {
		margin-left: 15px;
	}

	.preim {
		margin-left: 5px;
	}	
	
	.accord {
		width: 100%;
	}
	.accord div {
		margin:15px 0;
	}
	.form-vacancy {
		margin: 10px 0 0;
		min-height:270px;
	}
	p.clearfix {
		height:5px;
	}
	.uslovia-text {
		margin:15px 0;
	}
	
	.tab-content {
		  font-size: 14px;
   		 width: 80%;
	}
}

@media (max-width: 767px) {
	.uslovia-ul {
		font-size:0.8em;
	}
	#lightbox-container-image-box {
		max-width: 100% !important;
		height: auto !important;
	}
	.container {
		overflow: hidden;
	}
	header {
		font-size: 12px;
	}
	.select-center {
		width:110px !important;
	}
	.select-center a {
		font-size:12px;
	}
	.logo {
		background-position:  center center;
		background-size: auto;
		height:100px;
	}
	
	.tel {
		padding: 0;
	}
	.tel #number {
		border-right: none;
	}
	.tel p {
		float: right;
		padding: 0 0 0 20px;
		background: url(../images/map.png) left top no-repeat;	
	}
	.type {
		padding-top: 10px;
		text-align: center;
	}
	.type p {
		float: left;
		margin: 0;
		width: 50%;
		text-align:left;
	}
	
	.type input {
		float: right;
		margin: 0 0 20px;
		padding: 3px 5%;
		width: 20%;
		display:none;
	}
	.nav li {
		width: 100%;	
	}	
	
	.nav li a{
		font-size:12px;	
	}	
	
	
	.slider .item .span12 div {
		font-size:1.3em;		
	}

	.slider .item .span12 p {
		font-size:0.7em;	
		line-height:1;
		height:35px;
	}
	.content h2 {
		font-size: 1.5em;
		margin:  1em 0;
		text-align: center;
	}	
	.content h3  {
		padding: 0;
		width: 100%;
		margin: 5% auto;
	}
	.content .main-page	{
		margin-left:0;
	}
	.content .hidd {
		display:none;
	}
	.content .all-newz {
		background: none;
	} 
	.content .five {
		margin-left: 0 !important;
	}	
	.content .over {
		margin: 0;		
	}	
	.content input[type=submit], .content .all-newz input {
		width:50%;
		left: 25%;
		padding: 15px 5%;
	}
	.content .newz .article	 {
		font-size: 0.8em;	
		line-height:1.1;
	}
	footer {
	    background: none;
		min-height: 100px;
		margin-top:30px;
		font-size: 0.8em;	
		line-height:1.1;
	}
	footer p {
	    float: left;
		margin: 5px 0 20px;
		width: 50%;
	}
	footer #footer-number {
		line-height:1.5;	
		width:45%;
		margin:0;
	}
	footer #footer-address {
		line-height:1.5;	
		width:40%;
	}
	footer .span3:nth-child(2), footer .span3:nth-child(3),  footer .span3:nth-child(4){
		display: none;
	}

	footer .span3 {
	    padding-left: 10%;
	}
	.content h1 {
		width:100%;
		margin-left:0;
		font-size:1.5em;
		line-height: 1;
	}
	.detail-text {
		width:100%;
		margin: 20px auto;
		font-size: 0.8em;
		margin-bottom:-30px;		 
	} 	
	.navibar {
		font-size:0.8em;
	}
	.company-inner {	
		font-size:0.8em;
		line-height:1.1;
		width:100%;	
		margin:0;		
	}	
	.company-inner h4 {
		margin: 30px 0 30px;
		text-align: center;
	}

	.person img {
		width: auto;
		margin: 0 auto;
	}	
	.person .span8 {
		font-size: 0.8em;
		line-height:1.2;
	}	
	
	.whywe-block {
		margin-left: 0 !important;
		width: 100%;
	}		

	.whywe-block .span2 {
		width:100%;
	}

	.aside {
		float: none;
		padding-top:1px;
	}
	
	.aside input {
		width:70% !important;
	}	
    .content .aside  a {
		font-size:0.8em;	
	}
	
	.blue-row {
		font-size:0.8em;
	}	

	.service-inner {
		width:100%;
		margin:30px 0;
		font-size:0.8em;
	}
	.whywe-block {
		font-size:0.8em;	
	}
	.content h2 {
		font-size:1.2em;
	}
	.contact-text {
		width:100%;
	
	} 
	.form:not(.modal) {
		float: left;
		width:92%;
		margin:0 0 50px 0;
		min-height: 520px;
	}
	.form:not(.modal) input[type=text], .form:not(.modal) textarea {
		width:80%;
		margin-left:7%;
	}
	.form:not(.modal) input[type=submit] {
		padding: 10px 0;
		width:50%;
		margin-left:0;
		margin-top:10px;
		margin-bottom: 10px;
		
	}	
	.form:not(.modal) h2 {
		font-size: 1.5em;
		margin:30px 0;
	}
	
	footer {
		margin-top: 0 !important;
	}
	
	.contact-text {
		font-size:0.8em;
	}
	.map {
		height:300px;
	}	
	.aside input[type=submit] {
		margin: 20px auto 5px;
		padding: 10px 5px;
	}	
	.detail-text:not(.uslovia-text) h4 {
		display: none;
	}
	.form-manager {
		margin:60px 0 30px;
	}	
	.form-manager h2 {
		margin:30px 0 !important;
	}
	.uslovia {
		width:100%;
		font-size:0.8em;
	}	
	.uslovia-img {
		display: none;
	}
	.form:not(.modal) p{
		padding-left:40px;
	}	
	
	.uslovia-ul {
		width:100%;
	}
	.partner-img {
		float: left;
		margin-left: 0;
		width: 25% !important;
	}	
	.forma-dogovora {
		float:left;
	}
	.forma-dogovora {
		float:left;
		margin-left:0%;
		width:250px;
		background-size: 90% 90%;
		background-position: center;		
	}
	.content .aside a.file-link	{
		width:130px;
	}
	.partner-img {
		margin-left: 10px;
	}	
	.accord {
		width: 100%;
	}
	.accord div {
		margin:15px 0;
		font-size:0.8em;
	}
	.accord h4 {
		font-size:20px;
	}
	.form-vacancy {
		margin: 10px 0 0;
		min-height:270px !important;
	}
	p.clearfix {
		height:5px;
	}
	.uslovia-text {
		margin:15px 0;
	}
	
	.catalog-item .span3{
		width:25%;
		float: left; 
		margin:0;
	}
	.catalog-item .span6{
		width:48%;
		float: left; 
		margin:0;
	}		
	.aside-big p:nth-child(2)  {
		display: none;
	}
	.aside-big {
		background: none;
		margin-top:20px;
		width:180px;
	}
	.aside-big input {
		padding: 5px 0 !important;
	}
}


@media (max-width: 580px) {

	.form.modal {
	    left: 50%;
	    margin-left: -150px;
	    width:300px;
	}
	.form:not(.modal) input[type=submit] {
		width:80% !important;
	}
	.select-center {
		margin-left:15px;
	}
	.tel #number {
		display: block;
		width: auto;
		margin: 0 auto;
		text-align: center;
		background: none;		
	}
	.tel #callback {
		display: none;	
	}
	
	.tel p  {
		float: none;
		text-align: center;
		background: none;
	}
	.type {
		padding: 0;
		margin-bottom: 30px;
	}
	.type input{
		display: none;
	}
	
	.type p  {
		width:100%;
		text-align: center;
	}
	.slider {
		display: none;
	}
	
	.content input[type=submit], .content .all-newz input {
		top:0;	
		left: 10%;
		width:80%;
		margin-left:0;
	}
	.content .over {
		height: 50px;
	}

	.content .newz .article {
		margin-bottom: 20px;
	}
	
	.content input[type=submit], .content .all-newz input {
		font-size:0.8em;
		padding: 5px 0px;
	}
	.aside input[type=submit] {
		margin: 20px auto 10px;
	}
	.content h2 {
		line-height: 1;
		font-size:20px;
		margin:15px 0 25px 0;
	}
	.content .all-newz {
		height: 75px;
	}

	.content .main-page {
		height: 270px;
		padding: 10px 0 0;
	}	
	.content .newz {
		margin-top: -30px;
	}
	
	footer {
		padding: 0;
	}
	footer .span3 p:nth-child(1), footer .span3 p:nth-child(2) {
		display: none;
	}
	footer #footer-number {
		width:40%;
	}
	footer p {
		margin: 0;
	}

	footer #footer-address, footer #footer-number {
		margin: 20px 0 0;
	}
	
	.sert img {
		height:auto;
	}	
	.video {
		width:100%;
		height:300px;	
	}
	.form:not(.form-vacancy) {
		min-height: 450px;
	}
	.accord h4{
		line-height: 1.5;
		font-size:14px;	
	}

	.form:not(.modal) p{
		padding-left:22px;
	}
	.form-manager h2 {
		margin: 25px 0 !important;
		font-size:20px;
	}
	.forma-dogovora {
		float:left;
		margin-left:5%;
		width:250px;
		background-size: 90% 90%;
		background-position: center;		
	}
	.catalog-item {


	}
	.catalog-item .span3 {
		width: 100%;
		text-align: center;
	}
	.catalog-item .span6{
		width:100%;
		margin:20px 5% 0;
		float: none;
	}	
	.aside-big {
		width: 100%;
		margin-top: 0;
		height:120px;
	}
	.aside-big input[type="submit"] {
		font-size:1.2em;
		margin-top:10px !important;
	}
	.catalog-item > .span3 > img {
		margin-top: 30px;
	}
	.catalog-item {
		margin: 0;
	}
	#horizontal-multilevel-menu li:nth-child(1) ul,#horizontal-multilevel-menu li:nth-child(2) ul  {
		display: none !important;
	}
	#horizontal-multilevel-menu li li {
		width:100%;
	} 

	.contact-text table {
		font-size:12px !important;	
		line-height:1.2;
	}
	.form:not(.modal) h2 {
		font-size:1.2em;
	}
	.form:not(.form-vacancy) {
		margin-bottom: 10px !important;
	}
	.content h1 {
		margin-top:20px;
	}

	#asd_share_buttons  {
		margin-bottom: 25px;
	}
	.catalog-item .span6 {
	    font-size: 13px;
	    line-height: 1.2;
	}
	.tab-pane {
	    min-height: 50px;
	}

	.catalog-item h4 {
	    font-size: 14px;
	    margin: 0 0 20px;
	}
	footer #footer-number, footer #footer-address {
		width:100%;
	}
	.opisanie {
		overflow:hidden;
	}

	.catalog-item > .span3 img {
	    margin-top: 30px;
	}	
	.aside {
		background: none;
		margin:0 auto;
	}
	.catalog-section-list ul li {
		width:100%;
	}

	.catalog-item .aside-big {
		border-bottom: 2px dotted #529AD3;
	}
}