/* ==================== Header ======================*/
header {
  position: absolute;
  top: 0;
  width: 100%;
  background-color: rgba(0,0,0,0.6);
  border-bottom: 2px solid #565656;
  border-bottom: 2px solid rgba(200, 200, 200, 0.4);
  z-index: 2;
}
header .logo {
	border: none;
}
header #guest_menu {
	background-color: transparent;
}
#header_section{
	height:334px;
	background-color: #262930;
	background-position: top center;
	background-repeat: no-repeat;
	background-size: cover;
	padding-top:60px;
	position: relative;
}
#header_section>figure {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	padding: 0;
	margin: 0;
}
#header_section>figure>img {
	object-fit: cover;
	height: 100%;
}
#program_name{
	margin: 0 auto;
    max-width: 980px;
	padding:0 20px;
	font-size:24px;
	position: relative;
	z-index: 1;
}
#intro{
	font-size: 1.3em;
}
h1{
    color: white;
    font-size: 2.5em;
    font-weight: normal;
    margin: 0.3em auto 0;
    max-width: 980px;
}
h2{
	color:#fff;
}
.start_button {
    background-color: #FFC600;
    border-radius: 8px;
    font-size: 24px;
    padding: 10px 38px;
	position:relative;
	display: inline-block;
	margin-top:1.2em;
	color: black;
	text-decoration: none;
}

#start:after {
	content:" ";
    border-radius: 12px;
    bottom: -4px;
    left: -4px;
    position: absolute;
    right: -4px;
    top: -4px;
    border: 4px solid rgba(0, 0, 0, 0.3);
}
#footer_controls{
	text-align:center;
	margin: 40px;
}
#program_name>h2{
	font-size:1em;
	color:white;
	margin: 0.7em 0;
}
#supported_languages_footer{
	background: #242424;
	color: #fff;
}
/* ============== Article ================*/
.white{
	background-color:#fff;
}
article>.section{
	padding:20px 0;
}
article em{
    font-size: 1.2em;
}
.section>p{
	margin: 0 auto;
	max-width:980px;
	line-height:2;
	padding:0 20px;
}
.section>ul {
  max-width: 960px;
  margin: 0 auto;
  padding: 1em 0 1em 4em;
  line-height: 1.5em;
}
.section>cite {
  max-width: 960px;
  margin: 0 auto;
  padding: 1em 2em;
  display: block;
  color: #777;
}
.part_header{
	font-size: 2.5em;
	margin-bottom: 0.5em;
	margin-top: 0.5em;
	line-height: 1.2;
}
#trainers_picture>.trainers {
	position:absolute;
	margin-left:-960px;
	width: 1920px;
	left:50%;
}
#trainers_picture {
    margin: 20px auto;
	padding:0;
    overflow: hidden;
	position:relative;
	height:475px;
}
#exercise_time {
    background-color: white;
    left: 50%;
    margin-left: -135px;
    padding: 1em 0;
    position: absolute;
    text-align: center;
    top: 295px;
    width: 270px;
    border-radius: 8px;
	font-size: 18px;
}
#exercise_time:after {
	content:" ";
    border-radius: 12px;
    bottom: -4px;
    left: -4px;
    position: absolute;
    right: -4px;
    top: -4px;
    border: 4px solid rgba(255, 255, 255, 0.3);
}
#exercise_time > p {
    color: #262930;
    font-weight: bold;
    line-height: 1;
	margin: 0;
}
#exercise_time > p:first-child {
   margin-bottom: 15px;
}
#exercise_time > p:last-child {
    margin-top: -5px;
}
#chart_picture_container{
	max-width:980px;
	margin:0 auto;
	text-align: center;
}
#chart_picture {
    display: inline-block;
    float: left;
	margin: 55px 20px 20px 0;
	position:relative;
	padding: 10px;
}
/*Индикаторы*/
#charts{
	background-color: white;
    font-size: 10px;
    margin: 0;
    padding: 13px 21px;
    position: absolute;
    top: -45px;
    width: 236px;
	border-top-left-radius: 20px;
	border-bottom-right-radius: 20px;
	box-shadow: 0 0 17px #999999;
	color: #262930;
	text-align: left;
}
#charts:after {
	content:" ";
    bottom: 10px;
    left: 10px;
    position: absolute;
    right: 10px;
    top: 10px;
    border: 1px solid #CCCCCC;
    border-bottom-right-radius: 12px;
    border-top-left-radius: 12px;
}
#charts li {
    padding: 1px 0;
    position: relative;
	list-style: none;
}
.indicator{
	height:4px;
	border-radius: 2px;
	background-color: #22DD3A;
	width:0;
	transition: width 2s;
}
.indicator:before{
	background-color: #eee;
    border-radius: 2px 2px 2px 2px;
    content: "";
    height: 4px;
    position: absolute;
    width: 100%;
	z-index:-1;
	-webkit-transition: background-position 2s ease;
    transition: background-position 2s ease;
}
.ab_name{
    display: inline-block;
    line-height: 17px;
    width: 91px;
}
.ab_value{
    display: inline-block;
    font-size: 1.1em;
    font-weight: bold;
    line-height: 17px;
	vertical-align: top;
    text-align: right;
    width: 20px;
}
.indicator_box{
    left: 125px;
    position: absolute;
    right: 0;
    top: 8px;
    z-index: 0;
}
#chart1 .full{width:80%;}
#chart2 .full{width:50%;}
#chart3 .full{width:70%;}
#chart4 .full{width:95%;}

#result_section{
	min-height: 375px;
}
@media screen and (max-width: 780px) {
	#header_section {
		height:250px;
	}
	#program_name{
		font-size:16px;
	}
	#trainers_picture {
		height: 360px;
	}
	#trainers_picture>.trainers {
		position:absolute;
		margin-left:-600px;
		width: 1200px;
	}
	#exercise_time {
		width: 220px;
		margin-left: -110px;
		top: 224px;
		font-size: 14px;
	}
	#exercise_time img{
		height: 60px;
	}
}
@media screen and (max-width: 500px) {
	article{
		font-size: 0.8em;
	}
	#header_section {
		height:160px;
	}
	.part_header {
		font-size: 2em;
	}
	#program_name{
		font-size:12px;
	}
	.start_button {
		font-size: 1.3em;
		margin-top: 1.2em;
	}
	#program_name>p {
		font-size: 1.2em;
		margin: 0.3em 0;
	}
	h1 {
		font-size: 2em;
	}
	.section>p {
		line-height: 1.6;
	}
	#trainers_picture>img {
		margin-left: -480px;
		width: 960px;
	}
	#exercise_time {
		top: 177px;
	}
	#trainers_picture {
		height: 315px;
	}
	.start_button {
		padding: 10px 20px;
	}
    #main_page_link{
        display:none;
    }
}
@media screen and (max-width: 600px) {
	#chart_picture {
	    float: none;
	}
	#chart_picture img {
		width: 280px;
	}
}

/*header 320*/
@media screen and (max-width: 960px) {
.logo, #logo {
	float:left;
	padding: 0 10px;
	font-size: 30px;
}
}
@media screen and (max-width: 600px) {

	body {
		padding: 0;
	}

	#guest_menu a, #guest_menu a:hover {
		line-height: 20px;
		font-size: 13px;
	}
}

