/* Контейнер */

.main-page-block.medium-width .container {
 	max-width: 1395px;   
}

/* HTML5 видео */
.xdget-training .xdget-html {
	overflow: hidden;    
}

.xdget-training .videoWrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.xdget-training .videoWrapper.custom-ratio {
    padding-bottom: 64.11%;
}

.xdget-training .videoWrapper iframe,
.xdget-training .videoWrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: !important;
    vertical-align: top;
    object-fit: contain;
}

.xdget-training .videoWrapper iframe:focus,
.xdget-training .videoWrapper video:focus {
    outline: none !important;
}

/*.xdget-training .xdget-trainingList::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='901' height='85' viewBox='0 0 901 85' fill='none'%3E%3Cg clip-path='url(%23clip0_18_73)'%3E%3Crect width='901' height='85' fill='url(%23paint0_linear_18_73)'/%3E%3Ccircle cx='831' cy='260' r='306' fill='white' fill-opacity='0.15'/%3E%3C/g%3E%3Cdefs%3E%3ClinearGradient id='paint0_linear_18_73' x1='0' y1='0' x2='177.245' y2='405.714' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%232488FB'/%3E%3Cstop offset='0.391472' stop-color='%2300A7FF'/%3E%3Cstop offset='0.697917' stop-color='%2310ADFF'/%3E%3Cstop offset='1' stop-color='%232488FB'/%3E%3C/linearGradient%3E%3CclipPath id='clip0_18_73'%3E%3Crect width='901' height='85' rx='10' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: auto 85px;
    background-position: center center;
    border-radius: 10px;
    display: block;
    color: white;
    content: 'Модули обучения';
    font-weight: 700;
    font-size: 28px;
    line-height: 120%;
    margin-bottom: 15px;
    padding: 25px 35px;
    text-transform: uppercase;
    text-align: center;
}*/

/* Список тренингов */

.stream-table {
 	margin-left: 0 !important;
    margin-bottom: 0 !important;
    display: block;
}

.stream-table tbody {
	display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
    margin-bottom: 0px;
}

.stream-table tbody > tr {
    display: inline-flex;
    padding-left: 15px;
    padding-right: 15px;
    width: 50%;
    margin-top: 15px;
    margin-bottom: 15px;
}

.stream-table tr th,
.stream-table tr td {
 	display: block;   
}

.stream-table tr.no-lessons a > div {
 	display: none;   
}

.stream-table tr > td {
	background: #fafcf2;
    border: 1px solid #65a183;
    border-radius: 10px;
    color: #b1fada;
    cursor: default !important;
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
 	padding: 35px 35px 88px !important;
    position: relative;
    width: 100%;
    height: auto !important;
    min-height: 100%;
}

.stream-table tr > td > a {
	text-decoration: none;   
}

.stream-table .stream-title {
    color: #126e2c;
    display: block;
    font-weight: 700;
    font-size: 20px !important;
    line-height: 120%;
    margin-bottom: 5px;
}

.stream-table .stream-title + div b {
    background: #689f21;
    border-top: 1px solid #f2fcf8;
    border-radius: 0px 0px 10px 10px;
    color: #3F3F3F;
    font-weight: 700;
    font-size: 14px;
    line-height: 120%;
    padding: 5px 35px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
 	position: absolute;
    width: 100%;
    height: 58px;
    bottom: 0;
    left: 0;
    right: 0;
    transition: background-color .3s, color .3s;
}

.stream-table .stream-title + div b::after {
    background-color: #95b71a;
    border-radius: 100%;
    display: inline-flex;
    color: white;
    font-family: 'FontAwesome';
    font-size: 25px;
    font-weight: 400;
    content: '\f105';
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    line-height: 1;
}

.stream-table tr > td:hover .stream-title + div b {
    background-color: #18712f;
    color: white;
}

.stream-table tr > td:hover .stream-title + div b::after {
	background-color: white;
    color: #f8fced;
}

/* Список уроков */
.lesson-list {
    background-color: transparent !important;
	padding: 0 !important;
}

.lesson-list li {
 	margin: 30px 0 !important;   
}

.lesson-list li .item-a {
    background-color: transparent !important;
	border-radius: 10px !important;
    display: flex;
    overflow: hidden;
    position: relative;
}

.lesson-list li .state-icon-block {
    border: 1px solid #E3E3E3;
    border-radius: 10px 0 0 10px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
 	width: 86px !important;
    flex-shrink: 0;
    margin-right: 0 !important;
    padding-top: 0 !important;
    height: auto !important;
    min-height: 100% !important;
}

.lesson-list li .state-icon-block .user-state-new-icon {
 	font-size: 28px;
}

.lesson-list li .state-icon-block .user-state-new-icon.fa.fa-angle-right {
 	line-height: .6;   
}

.lesson-list li .info {
    background-color: #F9F9F9 !important;
    border: 1px solid #E3E3E3;
    border-radius: 10px;
 	margin-left: 0 !important;
    overflow: hidden;
    width: 100%;
    padding-right: 50px;
}

.lesson-list li .state-icon-block + .info {
 	border-left: none !important;
    border-radius: 0 10px 10px 0;
}

.lesson-list li .item-main-td {
 	padding-left: 20px;   
}

.lesson-list li td.item-image {
    background-color: white !important;
    background-size: 100% auto !important;
}

.user-state-need_accomplish .state-icon-block,
.user-state-need_accomplished .state-icon-block,
.user-state-has_mission .state-icon-block,
.user-state-answered .state-icon-block {
    border: none !important;
}

.user-state-need_accomplish .state-icon-block {
    background: #F00B34;
}

.user-state-need_accomplish .user-state-label {
 	color: #F00B34;
}

.user-state-need_accomplished .state-icon-block {
    background: #27ae60;
}

.user-state-need_accomplished .user-state-label {
    color: #27ae60;
}

.user-state-has_mission .state-icon-block {
   background: #14702f;
}

.user-state-has_mission .user-state-label {
    color: #14702f;
}

.user-state-answered .state-icon-block {
    background: #14702f;
}

.user-state-answered .user-state-label {
    color: #14702f;
}

.lesson-list .user-state-has_mission .info,
.lesson-list .user-state-answered .info {
	background-color: #F5FBFF !important;
    border-color: #BBE4FF !important;
}

.lesson-list li .user-state-label {
    font-weight: 700;
    font-size: 14px;
    line-height: 140%;
    margin-bottom: 5px;
}

.lesson-list li .title {
    color: #3F3F3F !important;
    font-weight: 700 !important;
    font-size: 20px !important;
    line-height: 120% !important;
    margin: 0 0 5px !important;
}

.lesson-list li table td {
 	height: 168px;   
}

/* Боковые панели */
.panel.custom-panel {
	overflow: hidden;  
}

.panel.custom-panel .panel-heading {
    background: linear-gradient(102.19deg, #9bbc14 0%, #aec613 39.52%, #aec613 70.45%, #9bbc14 100.95%);
    color: white;
    font-weight: 500;
    font-size: 14px;
    line-height: 130%;
    text-align: center;
    padding: 15px 20px;
}

.panel.custom-panel .panel-heading .panel-title {
    font-weight: 700;
    font-size: 20px;
    line-height: 140%;
}

.panel.custom-panel .panel-heading p {
 	margin-bottom: 0;   
}

.panel.custom-panel .panel-heading p ~ p {
	margin-top: 10px;   
}

.panel.custom-panel .panel-body {
 	padding: 20px 30px;   
}

/* Кастомная панель */
.panel.custom-panel {
	border: none;
    border-radius: 10px;
}

.panel.custom-panel .panel-heading,
.panel.custom-panel .panel-footer {
 	border: none;   
}

.panel.custom-panel .panel-body {
    background-color: #F9F9F9;
	border-left: 1px solid #E3E3E3;
    border-right: 1px solid #E3E3E3;
}

.panel.custom-panel .panel-body a {
    color: #9bbc14;
}

.panel.custom-panel .panel-body a:hover {
 	text-decoration: underline;   
}

.panel.custom-panel > .panel-body:last-child {
    border-bottom: 1px solid #E3E3E3;
    border-radius: 0 0 10px 10px;
}

.panel .panel-body .sub-title {
    color: #575757;
    font-weight: 700;
    font-size: 20px;
    line-height: 140%;
	margin-top: 70px;
    text-align: center;
}

/* Достижения */

.xdget-trainingAchievements {
    background: #F9F9F9;
    border: 1px solid #E3E3E3;
    border-radius: 10px;
    padding: 25px 30px 30px;
}

.xdget-trainingAchievements table {
 	margin-bottom: 0;   
}

.xdget-trainingAchievements table thead th {
    border-bottom: 1px solid #9ebd13;
    color: #3F3F3F;
	font-weight: 700;
    font-size: 20px;
    line-height: 140%;
    padding: 0 0 7px;
}

.xdget-trainingAchievements table tbody td {
    color: #3F3F3F;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
	padding: 20px 0 0;
    vertical-align: middle;
}

.xdget-trainingAchievements table tbody td a {
	color: inherit;
    font-weight: inherit !important;
}

.xdget-trainingAchievements table tbody td .badge {
    background-color: #1d752f;
    border-radius: 40px;
    color: white;
	padding: 5px 18px;
    line-height: 120%;
    margin-top: 0 !important;
}

/* Календарь */

.panel.custom-panel .panel-body .calendar-list {
 	/*margin-top: -20px;*/   
}

.calendar-list {
    margin-top: 20px;
 	margin-bottom: 0;   
}

.calendar-list + .calendar-list {
	margin-top: 0;
}

.calendar-list > li + li {
 	margin-top: 60px;   
}

.calendar-list, .calendar-list ul {
	list-style: none;
    padding: 0;
}

.calendar-list .calendar-header {
    border-bottom: 1px solid #adc418;
    color: #9bbc14;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 8px;
}

.calendar-list .calendar-header::after {
	content: '\f073';
    font-family: 'FontAwesome';
    font-size: 24px;
}

.calendar-list li .date {
    font-weight: 700;
    font-size: 20px;
    line-height: 140%;   
}

.calendar-list li .events ul {
    margin: 20px 0 0;
}

.calendar-list li .events ul li {
	display: flex;
}

.calendar-list li .events ul li {
	margin-bottom: 20px;   
}

.calendar-list li .events ul li:last-child {
 	margin-bottom: 0;   
}

.calendar-list li .events .date  {
    color: #3F3F3F;
    flex-shrink: 0;
    font-weight: 700;
    font-size: 14px;
    line-height: 140%;
    width: 60px;
}

.calendar-list li .events .text {
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;   
}

.calendar-list.prev {
	color: #ACACAC;   
}

.calendar-list.prev .calendar-header,
.calendar-list.prev .date,
.calendar-list.prev li .events .date {
	color: #ACACAC;
}

.calendar-list.prev .calendar-header {
    border-bottom-color: #E2E2E2;
}

/* Доска почета */

.leaders-list {
 	list-style: none;
    padding: 0;
    margin-bottom: 0;
}

.leaders-list > li .wrap {
 	background: #FFFFFF;
    border: 1px solid #E6E6E6;
    border-radius: 10px;
    padding: 15px 40px 30px;
}

.leaders-list > li:first-child .wrap {
    text-align: center;    
}

.leaders-list > li + li {
    margin-top: 30px;
}

.leaders-list > li .date {
    margin-bottom: 15px;
}

.leaders-list > li .image {
    margin-bottom: 20px;
}

.leaders-list > li .image img {
    border-radius: 10px;
}

.author {
 	display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    margin-bottom: 12px;
}

.leaders-list > li .author-name {
    color: #1f762d;   
    font-weight: 700;
    font-size: 20px;
    line-height: 120%;
    margin: 0;
}

.leaders-list > li .author-name,
.leaders-list > li .content {
 	text-align: left;   
}

.leaders-list > li .vk-link {
	background-color: #1e722f;
    border-radius: 100%;
    color: white !important;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 20px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    line-height: 1;
    margin-left: 10px;
    text-decoration: none;
}

.leaders-list > li .vk-link::before {
 	margin-left: -2px;   
}

.leaders-list > li .content {
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
}

.leaders-list > li .content b,
.leaders-list > li .content strong {
 	font-weight: 600;   
}

.leaders-list > li .content ul {
 	list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.leaders-list > li .content ul li + li {
    margin-top: 12px;
}

/* MEDIA */

@media (max-width: 1199px) {
    .xdget-col {
    	width: 100% !important;    
    }
    
	.lesson-list li .info {
        padding-right: 0 !important;
    }
}

@media (max-width: 767px) {
	.stream-table tbody > tr {
    	width: 100%;
    }
}

@media (max-width: 575px) {
    .xdget-training .xdget-trainingList::before {
        padding: 20px 15px;
        background-size: cover;
        font-size: 18px;
        line-height: 120%;
    }
    
    .stream-table .stream-title {
     	font-size: 18px !important;   
    }
    
    .lesson-list li .state-icon-block {
     	width: 40px !important;   
    }
    
    .lesson-list li .state-icon-block .user-state-new-icon {
     	font-size: 20px;   
    }
    
    .lesson-list li .info .vmiddle {
     	margin-left: 0 !important;   
    }
    
    .lesson-list li .title {
     	font-size: 16px !important;   
    }
    
    .panel.custom-panel .panel-body {
     	padding: 20px;   
    }
    
    .leaders-list > li .wrap {
     	padding: 15px 20px 20px;   
    }
}
