.flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.flex-container a:link {
    text-decoration: none;
}

.flex-container a:visited {
    text-decoration: none;
}

.flex-container a:hover {
    text-decoration: none;
}

.flex-container a:active {
    text-decoration: none;
}

.a:flex-container {
    decoration: none;
}


/* sama card */

.style-card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    border-radius: 5px 5px 5px 5px;
    margin: 10px 10px 10px 10px;
    width: 132px;
    height: 164px;
    position: relative;
    padding-bottom: 50px;
    font-size: -0.5em;
    overflow: hidden;
}


/* shadow ot hover mousa $) */

.style-card:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.style-card:hover .style-container {
    opacity: 1.0;
    color: black;
}


/* подпись стиля in vnizu kartochki */

.style-container:hover {
    opacity: 1.0;
    color: black;
}

.style-container {
    padding: 2px 16px;
    font-stretch: extra-condensed;
    position: absolute;
    bottom: 0px;
    text-align: center;
    width: 100%;
    height: auto;
    background-color: lightgray;
    padding: 5px 0 0 0;
    border-radius: 0 0 5px 5px;
    opacity: 0.8;
    color: #005d65;
}


/* picture on card */

.style-picture-img {
    border-radius: 5px 5px 5px 5px;
    width: 100%;
    height: auto;
}

a.buttonS {
    font-weight: 600;
    color: white;
    text-decoration: none;
    text-align: center;
    padding: .4em 1em calc(.3em + 3px);
    margin: auto 0;
    border-radius: 3px;
    background: #005d65;
    box-shadow: 0 -3px #005d65 inset;
    transition: 0.2s;
    display: block;
    width: 100%;
}

a.buttonS:hover {
    background: #00a1af;
}

a.buttonS:active {
    background: #005d65;
    box-shadow: 0 3px #005d65 inset;
}

a.buttonG {
    font-weight: 600;
    color: white;
    text-decoration: none;
    text-align: center;
    padding: .4em 1em calc(.3em + 3px);
    margin: auto 0;
    border-radius: 3px;
    background: #ffbe26;
    box-shadow: 0 -3px #f0bd46 inset;
    transition: 0.2s;
    display: block;
    width: 100%;
}

a.buttonG:hover {
    background: #fdc237;
}

a.buttonG:active {
    background: #ffcb4e;
    box-shadow: 0 3px #ffcb4e inset;
}

a.buttonM {
    font-weight: 600;
    color: white;
    text-decoration: none;
    text-align: center;
    padding: .4em 1em calc(.3em + 3px);
    margin: auto 0;
    border-radius: 3px;
    background: #ff0e51;
    box-shadow: 0 -3px #ff0e10 inset;
    transition: 0.2s;
    display: block;
    width: 100%;
}

a.buttonM:hover {
    background: #ff0e00;
}

a.buttonM:active {
    background: #005d65;
    box-shadow: 0 3px #005d65 inset;
}

a.buttonA {
    font-weight: 600;
    color: white;
    text-decoration: none;
    text-align: center;
    padding: .4em 1em calc(.3em + 3px);
    margin: auto 0;
    border-radius: 3px;
    background: #b0b800;
    box-shadow: 0 -3px #b0b200 inset;
    transition: 0.2s;
    display: block;
    width: 100%;
}

a.buttonA:hover {
    background: #b0b000;
}

a.buttonA:active {
    background: #b0b800;
    box-shadow: 0 3px #005d65 inset;
}

.tab {
    overflow: hidden;
    /*    border: 1px solid #ccc; */
}

.tab button {
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 4px 6px;
    transition: 0.3s;
    font-size: 17px;
}

.tab-au .active {
    font-weight: bold;
    border-bottom: 2px #d60640 solid;
}

.tab .active {
    font-weight: bold;
    border-bottom: 2px #d60640 solid;
}

.tab-au ul {
    display: flex;
    list-style: none;
}

.tab ul {
    display: flex;
    list-style: none;
}

.tab-au li:hover {
    background-color: lightpink;
    color: black;
}

.tab li:hover {
    background-color: lightpink;
    color: black;
}

.tablinks,
.tablinks-au {
    padding-bottom: 3px;
    padding-top: 5px;
    padding-left: 3px;
    padding-right: 3px;
    text-decoration: none;
    decoration: none;
    cursor: default;
}

.tablinks-ml,
.tablinks-au-ml {
    padding-bottom: 3px;
    padding-top: 5px;
    padding-left: 3px;
    padding-right: 3px;
    text-decoration: none;
    decoration: none;
    cursor: pointer;
    /* font-weight: bold; */
}

.tablinks-ml {
    color: #d60640;
}

.tablinks-au-ml {
    color: #d60640;
}


/* Style the tab content */

.tabcontent-ml,
.tabcontent-au-ml {
    display: none;
    padding: 6px 12px;
    border-top: none;
}

.tabcontent-ml,
.tabcontent-au-ml {
    border: 1px solid #ccc;
}

.tabcontent-au-ml a {
    text-decoration: none;
    color: #d60640;
}

.tabcontent-au-ml a:hover {
    text-decoration: underline;
    color: #d60640;
}

.muslist {
    cursor: pointer;
    color: crimson;
}

.muslist:hover {
    text-decoration: underline;
}
