@media (max-width: 767px) {
    body.lock {
        overflow: hidden;
    }

    .main {
        padding: 65px 0 5px 0;
    }
	.main_container {
		padding: 0 10px;
	}

    .sub-menu {
        overflow: auto;
    }

    .tablet_menu {
        border-bottom: 1px solid rgb(230, 230, 230);
        z-index: 2;
        background-color: rgba(255, 255, 255, 1);
    }

    .header {
        position: fixed;
    }

    .header_container>.header_menu {
        display: none;
        width: 100%;
    }

    .item_header.tablet_menu>.logo_img>img {
        height: 35px;
        margin: 5px 0 5px 15px;
        display: block;
    }

    .header_container {
        padding: 0;
    }

    .item_header.tablet_menu>.phone_number {
        display: none;
    }

    .tablet_buttons {
        display: flex;
    }

    .tablet_button {
        height: 55px;
        width: 55px;
        border-left: 1px solid rgb(230, 230, 230);
        cursor: pointer;
    }

    .tablet_button>a {
        height: 100%;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;

    }

    .tablet_button>a>img {
        width: 70%;
        filter: invert(50%);
    }

    .burger_container {
        border-left: none;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 10px;
        cursor: none;
    }

    .burger {
        position: relative;
        cursor: pointer;
        background-color: rgb(56, 54, 136);
        border-radius: 3px;
        -webkit-box-shadow: 0px 0px 4px rgb(68, 68, 68);
        -moz-box-shadow: 0px 0px 4px rgb(68, 68, 68);
        box-shadow: 0px 0px 4px rgb(68, 68, 68);
        width: 42px;
        height: 42px;

    }

    .burger:before {
        content: '';
        box-shadow: 0 8px #ffffff;
        position: absolute;
        width: 70%;
        height: 2px;
        background: #ffffff;
        top: 28%;
        left: 15%;
        transition: all .1s linear;
    }

    .burger:after {
        content: '';
        box-shadow: 0 16px #ffffff;
        position: absolute;
        width: 70%;
        height: 2px;
        background: #ffffff;
        top: 28%;
        left: 15%;
        transition: all .1s linear;
    }

    .burger.active:before {
        content: '';
        position: absolute;
        width: 70%;
        height: 2px;
        background: #ffffff;
        top: 48%;
        left: 15%;
        transform: rotate(45deg);
        box-shadow: none;
    }

    .burger.active:after {
        content: '';
        position: absolute;
        width: 70%;
        height: 2px;
        background: #ffffff;
        top: 48%;
        left: 15%;
        transform: rotate(-45deg);
        box-shadow: none;
    }

    .header_container>.header_menu {
        padding: 65px 0 10% 0;
        background-color: rgba(255, 255, 255, 0.97);
        position: fixed;
        z-index: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        align-content: flex-start;
        justify-content: flex-start;
        height: 100%;
        box-sizing: border-box;
        top: -200%;
        left: 0;
        overflow: auto;
        transition: .3s;
    }

    .header_menu.active {
        top: 0;
    }

    .header_menu>.menu-item.active>a>img {
        filter: invert(100%);
        animation-name: animation_icon;
        animation-duration: 0.5s, 0.5s, 0.5s;
        animation-fill-mode: forwards;
    }

    .header_menu>.menu-item {
        padding: 0px;
        margin: 0px 0px 0px 0px;
        width: 100%;
        border-radius: 0px;
    }

    .header_menu>.menu-item>a {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 0px 10px 0 10px;
        font-size: 15px;
    }
	.header_menu .sub-menu>.sub-menu_container>.menu-item a {
    	padding: 10px 20px 10px 20px;
	}
    .header_menu>.menu-item.active>a {
        background-color: #ef7f1a;
        -webkit-box-shadow: 0px 0px 5px rgb(0, 0, 0);
        -moz-box-shadow: 0px 0px 5px rgb(0, 0, 0);
        box-shadow: 0px 0px 5px rgb(0, 0, 0);
        border-radius: 0px;
    }

    .header_menu>.menu-item>a>img {
        width: 40px;
        margin: 10px 40px 10px 10px;
        display: block;
    }

    .header_menu>.menu-item:first-child {
        margin-left: 0;
    }

    .header_menu>.menu-item:last-child {
        margin-right: 0;
    }

    .header_menu .sub-menu {
        position: relative;
        padding: 10px 0;
        margin: 0px;
        flex-wrap: wrap;
        min-height: 68px;
        -webkit-box-shadow: 0px 5px 5px rgb(230, 230, 230) inset, 0px -5px 5px rgb(230, 230, 230) inset;
        -moz-box-shadow: 0px 5px 5px rgb(230, 230, 230) inset, 0px -5px 5px rgb(230, 230, 230) inset;
        box-shadow: 0px 7px 5px rgb(230, 230, 230) inset, 0px -7px 5px rgb(230, 230, 230) inset;
    }

    .header_menu>li.menu-item.active>a {
        margin: 0 0 3px 0;
    }

    .sub-menu>li>a {
        font-size: 15px;
    }

    .header_menu>.menu-item.active>.sub-menu {
        display: flex;
    }

    .header_menu .sub-menu>.sub-menu_container>.menu-item {
        width: 50%;
    }

	
/* 	Контент */
	.callback_general{
		padding: 0 20px;
	}
	.callback_general>h2{
		margin-bottom: 0;
	}
	.callback_general>form {
    	display: flex;
		flex-direction: column;
    	justify-content: flex-start;
    	align-items: stretch;
		padding: 15px 0;
	}
	.callback_general>form>label {
    	width: auto;
		margin: 20px 0 0 0;
	}
	
	.callback_general>form>.button {
		width: auto;
		margin: 40px 0 0 0;
	}
	
	.sidebar {
		min-width: 200px;
	}
	.sidebar>.sidebar_content {
		padding: 55px 0 10px 0;
	}
	.sidebar>.sidebar_content>h1>*{
		font-size:22px;
	}
	.content {
		padding-top: 55px;
	}
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	


    /* Футер для телефона */
    .footer_container {
        display: none;
    }

    .footer_phones {
        display: flex;
        background-color: rgb(56, 54, 136);
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        align-content: stretch;
        height: 35px;

    }

    .footer_ph_content_socials {
        display: flex;
        flex-direction: row;
    }

    .footer_ph_content_socials>.item_socials_menu {
        margin: 0;
    }

    .footer_ph_content_socials>.item_socials_menu a {
        display: block;
        padding: 10px;
    }
	
	
	.popup .popup_box {
		padding: 10px 5px;
	}
	.popup .popup_container {
    	width: 100%;
	}
}



@media (max-width: 600px) {
	main h2 {
    	font-size: 20px;
	}
	main h3 {
    	font-size: 17px;
		font-weight:bold;
	}
	body.single-news main .thimbnail {
    	max-width: 100%;
    	position: relative;
    	float: left;
    	margin: 0 0 20px 0;
	}
	main.main p>img {
    	max-width: 100%;
    	margin: 10px auto;
    	display: block;
	}
	.chanelContainer {
    	padding: 10px;
	}

    .header_menu>.menu-item.active>.sub-menu {
        align-content: flex-start;
    }

    .header_menu .sub-menu>.sub-menu_container>li {
        max-width: 100%;
        margin: 0;
    }

    .header_menu .sub-menu>.sub-menu_container>li>a {
        padding: 0 0 0 50px;
    }


    .logo_container {
        padding: 20px 0 20px 0;
    }

    .footer_container {
        justify-content: center;
    }
	
	
	
	
	
	
/* 	Контент */
	.posts_container {
		position: relative;
    	min-height: 300px;
		flex-direction: column;
    	flex-wrap: wrap;
    	align-content: center;
    	justify-content: flex-end;
	}
	.posts_container>img.thumbnail {
		position:absolute;
		inset: 0;
		width: 100%;
		height: 100%;
	}
	.posts_container>.text_container{
		z-index: 1;
		width: 100%;
		padding: 5px 20px;
		background: #ff8c27;
		background: #ff8c27d4;
	}
	.posts_container>.text_container>a>h3{
		color: #fff;
	}
	.posts_container>.text_container>time{
		color: #1c1c1c;
	}
	.posts_container>.text_container>p{
		z-index: 1;
		display: none;
	}
	.posts_container>.read_more{
		z-index: 1;
    	background: #ff8c27;
    	padding: 5px 20px;
		border-top: 1px solid #ffffff;
	}
	.main_container {
		flex-direction: column;
		min-height: 100%
	}
	.content {
		display:none;
	}
	.sidebar {
		width:100%;
		max-width:none;
	}
	.sidebar>.sidebar_content {
		background: none;
	}
	.sidebar_item{
		background: #ef7f1a;
	}
	.sidebar_item:hover {
    background: #fff;
}
	
}