/*Тут можно подобрать иконки https://icon-icons.com/ru/pack/BlackGold/3369*/

/*==================================================
Переменные CSS. При необходимости меняйте после : и до ;
================================================== */
:root {

    /* =============
    Тренинги
    =============== */

    --traning-zoloto-color-main-fon-2: #F9FBFF; /*Цвет карточек тренинга*/
    --traning-zoloto-bg-no-public:#ffffffa1;/*Цвет карточек недоступного тренинга*/

    --traning-zoloto-color-header: #005ACB; /*Цвет названия тренинга*/
    --traning-zoloto-text-text2: #333; /*Описание тренинга*/

    --traning-zoloto-weight-img: 120px; /*Ширина картинки*/

    --traning-zoloto-fon-btn: linear-gradient(135deg, rgba(0,111,251,1) 3%, rgba(89,162,255,1) 94%);/*Цвет кнопки*/
    --traning-zoloto-color-text: #fff; /*Цвет текста на кнопке*/

    --traning-zoloto-fon-btn-hover: linear-gradient(135deg, rgba(0,111,251,1) 3%, rgba(89,162,255,1) 94%);/*Цвет кнопки при наведении*/
    --traning-zoloto-color-text-hover: #fff; /*Цвет текста на кнопке при наведении*/

    /* =============
    Недоступный тренинг 
    =============== */

    --traning-zoloto-color-header-no-public: #005ACB;/*Цвет названия тренинга при недоступности*/
    --traning-zoloto-color-text2-no-public: #333;/*Цвет описания тренинга при недоступности*/

    --traning-zoloto-fon-btn-no-public: linear-gradient(135deg, rgba(0,111,251,1) 3%, rgba(89,162,255,1) 94%);/*Цвет кнопки недоступного тренинга*/
    --traning-zoloto-color-text-no-public: #fff; /*Цвет текста на кнопке недоступного тренинга*/

}





/* =============
Тренинги
=============== */


/* === Убираем разделительную полосу === */
.content-menu {
    border-bottom: none!important;
}

.main-page-block.medium-width .container {
    width: auto;
    max-width: 1300px;
    overflow: hidden;
}


/* === Подложка под тренинги === */

.xdget-trainingList {
    background: var(--traning-zoloto-bg-fon)!important;
    padding: 20px!important;
    border-radius: var(--traning-zoloto-border-radius);
    margin-left:0!important;
    margin-bottom:20px;

}


.traning_line .stream-table {
    width: 100%;
    margin-bottom: 0px!important;
    margin-left: 0px!important;
}

.traning_line .stream-table tbody {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 20px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}


/* === Размер карточек === */

.traning_line .stream-table tbody tr {
    position: relative;
    border-radius: var(--traning-zoloto-border-radius);
    margin: 0px!important;
    background: transparent;
    width: 100%;
    min-height: 150px;
    height: auto;
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;

}


.traning_line .stream-table tr td {
    padding: 0px!important;
    position: relative;
    width: 100%;
    min-height: 150px;
    height: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

/* === Настраиваем кликабельность карточки === */

.traning_line .stream-table tr a {
    display: -webkit-box!important;
    display: -ms-flexbox!important;
    display: flex!important;
    width: 100%;
    height: auto;
    position: relative;
    background: var(--traning-zoloto-color-main-fon-2);
    font-family: var(--traning-zoloto-font-family-text);
    -webkit-box-shadow: var(--traning-zoloto-box-shadow);
    box-shadow: var(--traning-zoloto-box-shadow);
    border-radius: var(--traning-zoloto-border-radius);
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding:20px;
    gap: 20px;
    text-decoration: none;
}

/* Текстовый блок */

.traning_line .text-training {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-left: 140px;
    text-align: left;
}

.traning_line.no_img .text-training {
    margin-left: 10px;
}



/* Настраиваем заголовок */
.traning_line .stream-table tbody tr td .stream-title {
    font-size: 24px!important;
    font-weight: 500;
    line-height: 1.1!important;
    font-family:var(--traning-zoloto-font-family-header);
    color: var(--traning-zoloto-color-header);
}

/* Настраиваем описание */
.traning_line .stream-table .stream-title + div {
    font-weight: 300;
    font-size: 18px;
    line-height: 20px;
    font-family:var(--traning-zoloto-font-family-text);
    color: var(--traning-zoloto-text-text2);
}



/* === Размещение картинки === */
.traning_line .stream-table a img {
    position: absolute;
    width: 120px;
    max-width: 120px;
    height: auto;
    left: 20px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    border-radius: var(--traning-zoloto-border-radius);
}

/* === Размещение картинки === */
.traning_line.no_img .stream-table a img {
    display: none;
}


/* === Кнопка === */
.traning_line .stream-table tr a:after {
    content: "Смотреть";
    min-width: 170px;
    background: var(--traning-zoloto-fon-btn);
    border-radius: var(--traning-zoloto-border-radius);
    color: var(--traning-zoloto-color-text);
    font-family: var(--traning-zoloto-font-family-header);
    line-height: 29px;
    text-align: center;
    padding: 12px 16px;
    font-weight: 400;
    font-size: 20px;
    line-height: 21px;
    position: relative;
    margin-left: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-transition: all 0.8s ease;
    -o-transition: all 0.8s ease;
    transition: all 0.8s ease;
}



/* ========================================
Недоступный тренинг
======================================== */

.traning_line .stream-table tr.training-row.no-public a:after {
    content: "Недоступен \f023";
    font-family: var(--traning-zoloto-font-family-header),'FontAwesome';
    background: var(--traning-zoloto-fon-btn-no-public);
    color:var(--traning-zoloto-color-text-no-public);
}

.traning_line .stream-table tr.training-row.no-public a,
.traning_line .stream-table tr.training-row.no-public a:hover {
    cursor: default!important;
    -webkit-box-shadow: var(--traning-zoloto-box-shadow-no-public);
    box-shadow: var(--traning-zoloto-box-shadow-no-public);
    background: var(--traning-zoloto-bg-no-public);

}

.traning_line .stream-table tbody tr.training-row.no-public td .stream-title{
    color: var(--traning-zoloto-color-header-no-public);
}


.traning_line .stream-table tr.training-row.no-public .stream-title + div{
    color: var(--traning-zoloto-color-text2-no-public);
}

.traning_line .stream-table tr.training-row.no-public td {
    opacity: inherit !important;
}



.traning_line .stream-table tbody tr.training-row.no-public a {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}



/* ===  Анимация при наведении  === */

.traning_line .stream-table tr td:hover {
    background: none !important;
}


.traning_line .stream-table tbody tr:not(.no-public):hover {
    -webkit-transform:scale(1.01);
    -ms-transform:scale(1.01);
    transform:scale(1.01);
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.traning_line .stream-table tbody tr:not(.no-public):hover a:after {
    background: var(--traning-zoloto-fon-btn-hover);
    color: var(--traning-zoloto-color-text-hover);
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}



/* =============================
Мобильная адаптация тренингов
=============================== */

@media (max-width:1300px) {
    .col-gc-8 {
        width: 100%;
    }

    .col-gc-4 {
        width: 100%;
    }
}

@media(max-width: 991px){
    .gc-main-content.with-left-menu .container {
        margin: 0 auto !important;
        padding-right: 5px;
        padding-left: 5px;
    }

    .xdget-trainingList.traning_line {
        width: calc(100% - 10px);
        margin: 0px auto 20px !important;
    }
}

@media(min-width:910px){
    .col-md-12 .traning_line{
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex; 
        -webkit-box-pack: center; 
        -ms-flex-pack: center; 
        justify-content: center;
    }
}


@media (max-width: 700px) {

    .xdget-trainingList.traning_line{
        max-width: 400px !important;
        padding: 30px 15px !important;
    }

    .traning_line  .stream-table tbody {
        gap: 20px;
    }


    .traning_line  .stream-table tbody tr {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 calc(100% - 10px);
        flex: 0 0 calc(100% - 10px);
        max-width: 400px !important;
        min-width: 238px;
        width: 100%;
        min-height: 200px;
        height: auto;
        margin: 0px!important;

    }

    .traning_line .stream-table tr td {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        min-height: 200px;

    }
    .traning_line .stream-table tr a {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: justify;
            -ms-flex-pack: justify;
                justify-content: space-between;

    }

    .traning_line .text-training {
        margin: 0 auto !important;
        width: 100%;
        text-align: center;
        gap: 10px !important;
        min-height: 78px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
    }


    .traning_line .stream-table a img {
        display: block; 
        position: relative;
        max-width: 320px !important;
        width: auto !important;
        height: auto !important;
        left: 0px;
        top: 0%;
        -webkit-transform: translateX(0%);
        transform: translateX(0%);
        -ms-transform: translateY(0%);

    }

    .traning_line.no_img .stream-table a img {
        display: none;
    }


    .traning_line .stream-table tr a:after {
        max-width: 170px;
        width: 100%;
        margin: 0px auto;
        min-height: 50px;
        height: auto;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;

    }
}



@media (max-width: 425px) {
    .xdget-trainingList.traning_line,
    .traning_line .stream-table tbody tr{
        max-width: calc(100% - 10px)!important;
        width: auto;
    }
}

