/*Прелоудер*/

main {
    overflow: visible;
}

@media (min-width: 1400px) {
    /*.container {*/
    /*    max-width: 1400px;*/
    /*}*/
}

.preloader {
    position: relative;
    pointer-events: none;
    opacity: .7;
}

.preloader::after {
    content: '';

    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin-top: -16px;
    margin-left: -16px;
    border: 7px solid #d0d0d0;
    border-top-color: #f0bc74;
    border-radius: 50%;
    animation: preloader-spin .7s linear infinite;
    z-index: 10;
}

.preloader::before {
    content: '';

    position: absolute;
    inset: 0;

    background: rgba(255, 255, 255, .6);

    z-index: 5;
}

@keyframes preloader-spin {
    to {
        transform: rotate(360deg);
    }
}

/*Карточка тренировки*/
.detail-main-block {
    border: 3px solid #1f293736;
    padding: 0;
    margin-left: 12px;
    margin-right: 37px;
}

/* Увеличение шрифта для header-menu-1 */
.header-menu-1 .nav-link {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Уменьшение шрифта для header-menu-2 */
.header-menu-2 .nav-link {
    font-size: 0.9rem;
}

.detail-characteristics {
    padding-left: 24px;
}

ul.detail-muscle-list {
    margin-top: 10px;
}

ul.detail-muscle-list li {
    line-height: 1;
    margin-bottom: 9px;
}

h2 {
    font-size: 1.5rem;
}

a {
    color: #005ddf;
}

.steps {
    counter-reset: step;
}

.num {
    position: relative;
    counter-increment: step;
    padding-left: 3rem; /* место под номер */
}

.detail-article-text p.num:before {
    font-weight: 500;
    font-size: 2rem;
    color: #005ddf;
    content: counters(step, ".") " ";
    width: 2rem;
    border-radius: 0.3rem;
    padding-top: 2px;
    margin-left: -2.9rem;
    position: absolute;
    margin-top: 0;
    top: 0;
    bottom: 0;
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.detail-article-text .content-img {
    max-width: 35%;
    float: right;
    margin-left: 2rem;
}

/*Список упражений*/
.list-exercises-wrapper form ul li {
    padding-left: 15px;
    padding-right: 15px;
}

.list-exercises-wrapper form ul li:first-child {
    padding-top: 10px;
}

.list-exercises-wrapper form .btn {
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    min-height: 44px;
}

.list-exercises-wrapper form .btn.filter-clear {
    padding: 0.5rem 1rem;
}

.list-exercises-wrapper form .btn.active, .list-exercises-wrapper form .btn.show {
    border-width: 2px;
    border-color: #696767;
    box-shadow: none;
}

.list-exercises-wrapper form .btn.show {
    border-color: #b9b9b9;
}

.js-muscle-schema {
    /*background-image: url(https://training.fit/wp-content/uploads/2019/08/muskelgruppen-vorne-hinten.jpg);*/
    background-image: url(/static/main/assets/img/muskelgruppen-vorne-hinten.webp);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    max-width: 100%;
    height: auto;
    width: 100%;
    float: left;
    margin: 1.5rem 0 1.5rem 0;
}

.js-muscle-schema svg .js-highlight-item path {
    transition: opacity 0.2s;
    opacity: 0.1;
}

.js-muscle-schema svg .js-highlight-item.active path {
    transition: opacity 0.2s;
    opacity: 1;
}

.js-muscle-schema-buttons {
    margin-bottom: 15px;
}

.js-muscle-schema-buttons div {
    margin-bottom: 2px;
    padding: 0 2px 0 2px;
}

.js-muscle-schema-buttons div:nth-child(odd) {
    padding-left: 12px;
}

.js-muscle-schema-buttons div:nth-child(even) {
    padding-right: 12px;
}

.js-muscle-schema-buttons .btn.active {
    color: #ffffff;
    background-color: #1F2937;
    border-color: #1F2937;
}

/*Таблица со списком упражений*/

.fixed-table {
    table-layout: fixed;
    width: 100%;
}

/* DESKTOP */
.col-id {
    width: 5%;
}

.col-name {
    width: 40%;
}

.col-muscle,
.col-difficulty,
.col-training,
.col-type {
    width: 13.75%;
}

.exercise-name {
    word-break: break-word;
}

.table-responsive-md td:nth-child(1), .table-responsive-md th:nth-child(1) {
    padding-left: 1rem;
    padding-right: 0;
}

@media (max-width: 767px) {
    .col-id {
        width: 10%;
    }

    .col-name {
        width: 90%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .col-muscle, .col-difficulty, .col-training, .col-type {
        width: 0;
    }
}

@media (min-width: 992px) {
    .table-responsive-md, .section-exercises {
        min-height: 909px;
    }
}


@media (max-width: 767px) {
    .fixed-table td,
    .fixed-table th {
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 14px;
    }
}

/*@media (max-width: 991px) {*/
/*    .table-responsive-md th:nth-child(6), .table-responsive-md td:nth-child(6),*/
/*    .table-responsive-md th:nth-child(5), .table-responsive-md td:nth-child(5){*/
/*        display: none;*/
/*    }*/
/*}*/

/*Раздел упражнений*/

.section-exercises .article {
    border: 3px solid #1f293736;
    margin-bottom: 5px;
    padding: 5px;
}

.section-exercises .article h2 {
    margin-top: 12px;
    padding-left: 5px;
    font-size: 1.3rem;
    font-weight: 600;
}

.section-exercises .prop-item {
    padding-left: 5px;
}

.section-exercises .prop-item .prop-title {
    padding-right: 5px;
}

.section-exercises .article h2 .link-arrow {
    color: #000000;
}

.section-exercises .article h2 .link-arrow:hover {
    color: #ff00f5;
}

.section-exercises table td {
    vertical-align: top;
    padding-left: 5px;
}

@media (max-width: 1199px) {
    .section-exercises .article h2, .section-exercises .prop-item {
        /*text-align: center;*/
    }
}

/* Правое меню */
.right-nav-wrapper .card {
    margin-bottom: 1rem;
}

.info-muscle-nav ul li {
    width: 48% !important;
    display: inline-block !important;
}

.right-nav {
    padding: 1rem 1rem 0 1rem;
    top: 20px;
}

.right-nav .widget-title {
    margin-bottom: 0.7rem;
    font-weight: 700;
    font-size: 1.1rem;
    border-bottom: 0.1rem solid #ccc;
    padding-bottom: 0.6rem;
}

.right-nav ul {
    padding-left: 0
}

.right-nav ul li {
    border-bottom: .1rem solid #3e3e3e24;
    list-style-type: none;
    font-size: 0.9rem;
    padding: 0.14rem 0;
}

.right-nav ul li:nth-last-child(1) {
    border: none;
}

.navbar-expand-lg .header-menu-2 .navbar-nav .nav-link {
    padding-right: 0.3rem;
    padding-left: 0.3rem;
}

.header-menu-2 .text-white {
    font-size: 0.9rem;
}

.content-section {
    padding-top: 9rem;
}

.navbar-expand-lg .navbar-nav .nav-item:first-child .nav-link {
    padding-left: 0;
}

.tm-hero:before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    /* background: url(/media/main/equipment-hero.jpg); */
    background: url(/media/main/hero-home.jpg);
    background-size: cover;
    background-position: center center;
    z-index: -1;
    /*filter: saturate(85%) contrast(105%);*/
    filter: saturate(60%) contrast(95%);
    background-position: left;
}

section.tm-hero {
    margin: 0 -6rem;
    position: relative;
    z-index: 1;
    padding: 6rem 5.5rem 6rem;
    max-width: initial;
    width: calc(100% + 12rem);
    text-align: center;
    /*min-height: 38rem;*/
}

.tm-hero h1 {
    color: #fff;
    border-bottom: 0;
    font-size: 2rem;
    margin: 0;
    /*padding: 4.5rem 5.5rem 1rem;*/
    font-weight: 900;
    line-height: 1.2em;
    letter-spacing: 0;
    text-shadow: 0 0 2rem rgba(0, 0, 0, 0.2);
}

.tm-hero p {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 20px 0 10px;
}

/*-------------------------*/

.articles-list .article-item {
    min-height: 18rem;
    max-height: 38rem;
    position: relative;
    overflow: hidden;
}

.articles-list .article-item .wrapper {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}


.articles-list .article-item .articles-list--name {
    background: #0000004f;
    color: #ffffff;
    line-height: 1.2;
    padding: 0.5em;
    min-height: 6em;
    font-size: 1rem;
}

.articles-list.article-list-guides .article-item .articles-list--name {
    min-height: 10em;
}

.articles-list .article-item .articles-list--title {
    font-size: 1rem;
    font-weight: 600;
    padding: 13px;
    color: white;
    background: #0000004f;
}

.articles-list .article-item:hover .articles-list--name {
    /*min-height: 18rem;*/
    /*font-size: 1.5em;*/
    background: #3405324f;
    color: #ff00f5;
}

.articles-list .article-item .articles-list--name ul{
    list-style-type: none;
}

.articles-list .article-item .articles-list--name ul li a {
    color: #ffffff;
}

.articles-list .article-item .articles-list--name ul li a:hover {
     color: #ff00f5;
}

.articles-list h2 {
    margin-top: 0.5rem;
}

.articles-list h2{
    font-size: 1.2rem;
}

.articles-list p.description {
    font-size: 1rem;
    line-height: 1.4;
}

.table .thead-exercises th{
    background-color: #f0bc74;
}

.detail-exercise table td {
    border-width: 0.0625rem;
    border-color: #f0bc74;
}

.detail-exercise table th {
    border-width: 1px;
    border-color: #f0bc74;
}

.detail-exercise table tbody {
    border-top: 0.125rem solid #f0bc74 !important;
}

.detail-exercise table .dot{
    display: inline-block;
    position: relative;
    top: 2.25px;
}

.detail-exercise h2, .detail-exercise  h3{
    margin-top: 1rem;
}

@media (max-width: 992px) {

}
