
@media (min-width: 1100px){
	/* меню */
	.adpt_nav {
		display: block;
	}
	.act_btn {
		display: none;
	}
}

@media (max-width: 1100px){
	/* Шапка */

	.header_wrapper {
		justify-content: center;
	}

    /* Топ меню */
	.top_menu {
    	position: fixed;
    	top: 0;
    	bottom: 0;
    	right: 0;
    	left: 0;
    	height: auto;
    	background-color: rgba(0, 0, 0, 0.73);
    	z-index: 999;
    }
    .top_menu_wrp li, .top_menu_wrp li a, .top_menu_wrp ul, .top_menu_wrp {
		float: none;
		width: 100%;
		box-sizing: border-box;
		display: block;
		text-align: center;
	}
	.top_menu_wrp li a {
		margin: 20px 0;
	}
	.top_menu_wrp {
		position: relative;
		top: 150px;
	}

	.adpt_nav {
		display: none;
	}

	.active_menu {
		display: block;
	}
	.act_btn  {
		display: inline-block;
		position: fixed;
		top: 7px;
		right: 7px;
		z-index: 9999;
	}
	/* Шапка */

	.content_wrapper {
    justify-content: space-around;
	}


	
	/*sidebar*/


	.sidebar_wrapper {
		width: 100%;
		transition: 1s all;
		transition: opacity .6s, max-height 1s;
		border-bottom: 1px solid #cecece;
		pointer-events: none;
		z-index: -1;
	}

	.chron_menu {
    justify-content: flex-start;
	}

	.sidebar_menu_wrapper ul {
    display: flex;
    flex-wrap: wrap;
	}

}

@media (max-width: 900px){
	.main__title-wrp {
		order: 2;
		width: 100%;
		line-height: 20px;
		padding: 0;
		z-index: 6;
	}
	.main__title-wrp:after,
	.main__title-wrp:before {
		display: none;
	}
	.main__title {
		width: 100%;
	}
	/*Добавить новость*/
	.input_wrapper_name {
		width: 25%;
	}
}

@media (max-width: 700px){
	/* верхняя навигация */
	.top-nav {
		flex-direction: column;
		width: calc( 90% - 4px);
  	margin: 0 auto 5px auto;
	}
	.nav__menu_btn {
		display: flex;
	}
	.nav__menu {
		max-height: 0;
    opacity: 0;
    align-self: flex-end;
    transition: opacity .6s, max-height 1s;
		pointer-events: none;
		z-index: -1;
	}

	.nav__menu.active_nav {
		/*display: flex;*/
		max-height: 100px !important;
    opacity: 1 !important;
		pointer-events: auto;
    z-index: 1;
	}

		/*Добавить новость*/
		.serv-info__container {
			flex-direction: column;
			justify-content: center;
			align-items: center;
		}
	.input_wrapper_name {
		width: 100%;
		text-align: center;
	}
	.datepick_wrp {
		text-align: center;
		width: 100%;
		max-width: 400px;
	}

		#xf_date {
			display: inline-block !important;
			margin-bottom: 10px;
		}

}

@media (max-width: 727px){
	/* Сайд бар */

	.sidebar_wrapper {
		width: 100%;
	}
}

@media (max-width: 520px){
	/* Низ сайта */
	.footer_info {
		justify-content: center;
	}
	.footer_copy {
		order: -1;
	}
	.footer__contacts {
		flex-direction: column;
		align-items: flex-start;
	}
	.adv__link {
		margin-bottom: 5px;
	}
	/* Контакты */
	.feedback_contacts_flex{
		flex-wrap: wrap;
	}
	.feedback_contacts_flex > div {
		width: 100%;
	}
	/*банеры*/
	.l2b_top_bnr {
		display: none;
	}
	.wrapper_all {
    padding-top: 20px !important;
  }
}

@media (max-width: 440px){
	/*servers*/
	.server_name {
    width: calc(100% - 40px);
	}
	.server_wrapper {
    justify-content: flex-start !important;
	}


	.btns-wrapper {
		width: 100%;
		justify-content: center;
	}

	.btn__fav-wrp {
		display: none;
	}
	.btn__add_server-wrp {
		order: 2;
		line-height: 20px;
		margin: 0;
		padding: 0;
	}

	.xdsoft_timepicker {
		display: none !important;
	}

}



@media (max-width: 438px){
	/* Основной контент */
	.content_wrapper {
		flex-basis: auto;
	}
	/* Контейнер анонса */
	.anons_container {
		/*flex-basis: auto;*/
	}
	/* Сервер */
	.server_wrapper {
		justify-content: space-around;
		flex-wrap: wrap;
		margin-bottom: 20px;
	}


	select, textarea, input[type="text"], input[type="password"], input[type="file"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"] {
		width: 100% !important;
	}

	.footer_bnr_wrp {
		padding: 0 !important;
	}
	.bnr_88_wrp a {
		margin: 10px;
		display: inline-block;
	}

}





























@media (max-width: 1000px) AND (max-height: 400px){
  .topMenu__menu {
    top: 30px;
  }
}

