/*CENTRAL-WRAP*/

.central-wrap {
	/*margin: -172px auto 21px;*/
	max-width: 1120px;
	margin: 21px auto;
	padding-left: 10px;
	padding-right: 10px;
	-webkit-box-sizing: content-box;
	box-sizing: content-box;
}

.central-wrap__top {
	width: 100%;
	margin-bottom: 8px;
}

.central-wrap__article-news {
	/*float: left;*/
	max-width: 802px;
	clear: both;
	margin: 10px 0 5px;
}

.central-wrap__right {
	width: 271px;
	position: fixed;
	right: 0;
	top: 0; bottom: 0;
	-webkit-transform: translate(100%, 0);
	-moz-transform: translate(100%, 0);
	-o-transform: translate(100%, 0);
	transform: translate(100%, 0);
	-webkit-transition: .3s;
	-moz-transition: .3s;
	-o-transition: .3s;
	transition: .3s;
	z-index: 111;
	background-color: white;
}

.central-wrap__right-inside {
	position: absolute;
	left: 10px; right: 10px;
	top: 10px; bottom: 10px;
	overflow-x: hidden;
	overflow-y: auto;
}

.central-wrap__right-segment {
	width: 100%;
	margin-bottom: 5px;
}

.btn-toggle-sidebar {
    background-color: white;
    border-radius: 8px 0 0 8px;
    -webkit-box-shadow: -5px 4px 3px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: -5px 4px 3px rgba(0, 0, 0, 0.2);
    -o-box-shadow: -5px 4px 3px rgba(0, 0, 0, 0.2);
    box-shadow: -5px 4px 3px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    height: 40px;
    line-height: 40px;
    position: absolute;
    right: 100%;
    text-align: center;
    top: 50%;
    width: 40px;
}

.btn-toggle-sidebar:after {
    border-bottom: 2px solid #000;
    border-left: 2px solid #000;
    content: "";
    height: 10px;
    left: 50%;
    margin-left: -4px;
    margin-top: -5px;
    position: absolute;
    top: 50%;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
    width: 10px;
}

.open-sidebar .central-wrap__right {
	-webkit-transform: translate(0, 0);
	-moz-transform: translate(0, 0);
	-o-transform: translate(0, 0);
	transform: translate(0, 0);
}

.open-sidebar .btn-toggle-sidebar:after {
    margin-left: -7px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    transform: rotate(-135deg);
}

.open-sidebar {
    overflow: hidden;
    position: relative;
}

.open-sidebar:before {
    background-color: rgba(0, 0, 0, 0.7);
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: all 0.4s ease 0s;
    z-index: 111;
}


@media screen and (min-width: 1024px) {

	.btn-toggle-sidebar {
		display: none;
	}

	.central-wrap {
		margin-top: -162px;
	}

	.central-wrap__right {
		float: right;
		position: inherit;
		left: auto; right: auto;
		top: auto; bottom: auto;
		width: 311px;
		padding: 0;
		background-color: transparent;
		-webkit-transform: translate(0, 0);
		-moz-transform: translate(0, 0);
		-o-transform: translate(0, 0);
		transform: translate(0, 0);
	}

	.central-wrap__right-inside {
		position: inherit;
		left: auto; right: auto;
		top: auto; bottom: auto;
	}

	.central-wrap__left {
		width: calc(100% - 318px);
		float: left;
	}

}