body #container { max-width: none; }
body #container > #main_block {
	display: flex;
	flex-direction: column;
	margin-left: auto;
	margin-right: auto;
}
#secel_list {
	margin-top: 20px;
	order: 1;
}

#layout{
	z-index: 50000 !important;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: none;
	opacity: 0.8;
	background-color: rgba(199,211,221,0.95);
}

#modal{
	display: none;
	position: fixed;
	z-index: 50001 !important;
	top: 40%;
	margin-top: -250px;
	width: 96%;
	padding: 0 2%;
	left: 0px;
	right: 0px;
}

.modal-content{
	max-width: 1180px;
	margin: 0 auto;
}

#content{
	position: relative;
}

.modal-close{
	color: #999;
	cursor: pointer;
	float: right;
	font-size: 35px;
	line-height: 27px;
	padding: 5px 0;
	text-align: center;
	width: 20px;
	text-decoration: none!important;
	outline: 0;
}

.video-block{
	width: 1280px;
	height: 720px;
	left: 0px;
	top: 0px;
	position: absolute;
	display: none;
}

.description{
    width: 100%;
    text-align: center;
    font-size: 25px;
    color: #fff;
}

.banner-link{
	cursor: pointer;
	position: absolute;
	top: -500px; 
	width: 100%; 
	height: 500px;
}

.banner-link-inter{
        width:14%; 
        margin: 0 43%; 
        position: absolute; 
        bottom: 132px;
}

.banner_image {
    height: 501px;
}

h1{
    width: 34%;
    margin: 0 33% !important;
    position: absolute;
    top: -440px;
    text-align: left;
    font-size: 33px !important;
    color: #fff !important;
}


.pw-open-button{
    position: absolute;
    top: -274px;
    width: 400px;
    left: 55%;
    text-align: right;
    margin: 0 10px;
}

.pw-demo-button{
    text-align: center;
    margin: 0 10px;
}

button.percoweb-about {
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  width: 390px;
  height: 85px;
  text-decoration: none;
  user-select: none;
  background: rgba(33,66,136, 0.7);
  outline: none;
  box-shadow: 0 1px 8px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  border: none;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -khtml-border-radius: 3px;
  padding: 4px 90px 4px 35px;
  text-align: left;
  background-image: url(/css/../images/icons/pw-about-icon.png);
  background-repeat: no-repeat;
  background-position: 91% 50%;
  font-family: "FuturaPTWeb", sans-serif;
} 

button.demo {
  color: #737680;
  font-size: 17px;
  font-weight: 600;
  width: 390px;
  height: 85px;
  text-decoration: none;
  user-select: none;
  background: #E6E7E8;
  outline: none;
  box-shadow: 0 1px 8px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  border: 1px solid #d0d0d0;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -khtml-border-radius: 3px;
  padding: 4px 90px 4px 20px;
  text-align: left;
  background-image: url(/css/../images/icons/pw-demo-icon.svg);
  background-repeat: no-repeat;
  background-position: 91% 50%;
  background-size: 17%;
  font-family: "FuturaPTWeb", sans-serif;
  margin-top: 0px;
} 

button.demo span{
  color: #396096;
  font-size: 15px;
}

button.demo span.min{
  color: #737680;
  font-size: 15px;
  font-weight: 400;
}

button.demo:hover,
button.percoweb-about:hover { cursor: pointer } 
h2 {
	margin-bottom: 12px;
	margin-top: 30px;
}

button span.demo-icon{
  background-image: url(../images/icons/pw-demo-icon.png);
  display: inline-block;
  width: 14px;
  height: 14px;
  line-height: 14px;
}

button span.about-icon{
  background-image: url(../images/icons/pw-about-icon.png);
  display: inline-block;
  width: 14px;
  height: 14px;
  line-height: 14px;
}

.download_item_img a{
	font-weight: bold;
}

h3 {
	margin: 0 0 10px 0;
}

.plus > label:after {
    content: '';
    display: block;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    margin-left: 10px;
    background-image: url(../images/icons/down-arr.svg);
    background-size: 12px 11px;
    background-repeat: no-repeat;
    width: 12px;
    height: 8px;

}

.plus > input:checked + label:after{
	-webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	-o-transform: rotate(180deg);
	transform: rotate(180deg);
}

.icon { float: left }
.list_files { padding: 10px; }

.plus{ display: flex; flex-wrap: wrap; }

.plus > input { display: none; }

.plus > label { cursor: pointer; flex: 9 10 10px; margin: auto; }

.plus > input:checked + label + div { max-height: 500px; margin: 10px;}

.plus > div {
	color: #666;
	max-height: 0;
	overflow: hidden;
	transition: max-height 1s;
	margin: 10px;
}

h3{
	font-size: 28px;
}

.teaching{
	background-image: url('/images/products/perco-web/training.jpg');
	padding: 40px;
	margin: 40px 0; 
}

.teaching div{
	width: 45%;
}

#elements_list { justify-content: space-around; }
.elements_list { justify-content: space-between; }
.elements_list .download_item_img { margin: 10px 10px 20px 0; }
.two_blocks {
	display: flex;
	margin-bottom: 30px;
}

.two_blocks .into_img, .two_blocks .text, .two_blocks .left_text{
	margin: auto;
}

.two_blocks div p{
	padding: 8px 0;
}
.two_blocks .plus img { width: 40px; margin: 0px 10px 0px 0; height: 40px;}
.two_blocks > div > .left,
.two_blocks > div > .right { width: 50%; float: left; margin-top: 10px }

.two_blocks .left_text{
	width: 45%;
	margin-left: 0;
}

.two_blocks .text{
	margin-left: 10%;
	width: 45%;
}

.two_blocks .into_img img{
	width: 100%;
}
.two_blocks .left_text{
	margin-right: 10%;
}

.bio .left_text{
	min-height: 400px;
	padding-top:100px;
}

.bio .into_img{
	position: absolute; right: -140px;
}

table { width: 100%; }
table td { width: 50%; }
#elements_list {
	display: flex;
	flex-wrap: wrap;
	margin: 30px auto;
}
.element_item {
	display: flex;
	flex-basis: 185px;
	justify-content: center;
	margin: 10px;
}
.element_item a {
	color: black;
	text-align: center;
}
.element_item img {
	width: 53px;
	height: 60px;
}
#horizontal_scroll {
	margin: auto;
	margin: 35px auto;
	width: 100%;
}
#container #horizontal_scroll ul {
	padding-left: 0;
	display: flex;
}
#container #horizontal_scroll ul li {
	list-style: none;
	margin: auto;
	text-align: center;
	padding-left: 0;
}
#horizontal_scroll .lSAction > a {
	background-repeat: no-repeat;
	background-position: 10px 0px;
	height: 45px;
	width: 30px;
}
#horizontal_scroll .lSAction > .lSPrev, #horizontal_scroll .lSAction > .lSNext { background-image: url("/images/icons/arrow.svg"); }
#horizontal_scroll .lSAction > .lSPrev, #horizontal_scroll .lSAction > .lSNext { background-position: 10px 0; }
#horizontal_scroll .lSAction > .lSPrev { transform: rotate(180deg); }

#secel_list{
	display: none;
}


@media screen and (max-width: 1470px) {
	.bio .into_img{
		position: relative;
		right: auto;
	}
	.bio .left_text{
		min-height: auto;
		padding-top: 0px;
	}
}
@media screen and (max-width: 1200px) {
	body #container { max-width: 1200px; }
	body #container > #main_block {
		margin-left: 0;
		margin-right: 0;
	}
}
@media screen and (max-width: 1120px) {
	.two_blocks > div > .left, 
	.two_blocks > div > .right { float: none; width: 100%; }
	.pw-open-button{ top: -208px; }
}
@media screen and (max-width: 950px) {
	.pw-open-button{ right: 30px; left: auto; }
}
@media screen and (max-width: 900px) {
	.banner_image { background-size: cover; }
	.elements_list { justify-content: space-around; }
	.element_item {
		flex-basis: 130px;
		margin: 5px;
	}
	.two_blocks img {
		margin: 0;
		width: 340px;
	}
	#horizontal_scroll li img { width: 600px; }
	.pw-open-button{ top: -208px; }
	#modal{ margin-top:0px; top: 0px; }
	#modal iframe { height: 300px !important}
}
@media screen and (max-width: 880px) {
	h1{ width: 54%; margin: 0 23% !important; }
}
@media screen and (max-width: 720px) {
	.banner_image { height: 145px; }
	.two_blocks {
		flex-direction: column;
		margin-bottom: 20px;
	}
	.two_blocks .left_text, .two_blocks .text{ margin: 0px; width: 100% }
	.into_img { order: 1; }
	#elements_list { margin: 20px auto; }
	.element_item {
		flex-basis: 80px;
		font-size: 11px;
		margin: 0 5px 20px 0;
	}
	#presentation { display: none; }
	button.demo { width: 300px; background-position: 91% 50%; }
	h1 { font-size: 22px !important; width: 46%; right: 15px; top: -130px; }
	#pw_key, #pw_key + label, #presentation { display: none }
	.into_img { text-align: center; }
	.two_blocks .into_img img { width: 340px }
	.teaching div { width: 100%; }
	.teaching { min-height: auto; padding-bottom: 20px; }
	.tabs > input:checked + label + div { max-height: 3828px !important; }
	.two_blocks { display: block }
	.banner-link{ height: 145px; top: -145px;}
        .banner-link-inter { bottom: 10px; width: 6%; margin: 0 47%; }
	.description { font-size: 16px; height: 15px; margin: 0px; }
	.banner-link-inter img { min-width: 30px; }
}
@media screen and (max-width: 620px) {
	.pw-open-button, .pw-demo-button { width: 90%; margin: 0 5%; clear: both; }
	button.percoweb-about, button.demo{ font-size: 16px; height: 50px; padding: 4px 35px 4px 8px; background-position: 96% 50%; background-size: 13%;}
	span.min { display: none; }	
}

@media screen and (max-width: 520px) {
	.teaching { padding-bottom: 20px; }
	.width_all .banner_image { background-image: url(/images/banners/perco-web-min.jpg) !important; }
}

@media screen and (max-width: 400px) {
	h1 { width: 200px; }
}