.header
{
    position: sticky;
    top: 0;
}
.lefter
{
    position: sticky;
    left: 0;
	z-index: 999;
}
div .card
{
    width: calc(100% - 18px * 2);
    height: 100px;
	display: inline-table;
    transition: 1s;
    text-decoration: none;
    color: #fff;
    background: #900000;
    transform-origin: center;
	margin: 18px;
    border: unset;
    border-radius: 25px;
}
div .card:hover
{
	transition: 1s;
    transform: scale(0.9);
}
.card .card-text
{
	display: table-cell;
    vertical-align: middle;
    font-size: 2em;
    text-align: center;
    font-weight: bold;
}

[data-mode="marks"][data-text]:not([data-text=""]) {
	position: relative;
}

[data-mode="marks"][data-text]:not([data-text=""]) .ribbon-wrapper {
	overflow: hidden;
    position: absolute;
    width: 100px;
    height: 100px;
    margin: -.5rem;
}

[data-mode="marks"][data-text]:not([data-text=""]) .ribbon {
	z-index: 1;
    width: 100px;
    height: 4vmin;
    position: absolute;
    text-align: center;
    color: #f0f0f0;
    background: red;
    transform: translate(-50%, -50%) scale(0.5) rotate(-45deg)
}

.ttooltip span::-webkit-scrollbar {
      width: 0;
      height: 0;
}
.ttooltip span { /* Внешний вид нашего тултипа */
    -ms-overflow-style: none;
    scrollbar-width: none;
    max-height: 165px;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 0 15px 15px 15px;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
    color: #fff;
    margin-left: 15px;
    margin-top: 35px;
    opacity: 0;
    padding: 10px 10px 10px 40px;
    position: absolute;
    text-decoration: none;
    visibility: hidden;
    width: 350px;
    z-index: 10;
}
.ttooltip span:empty {
    display: none;
}
.ttooltip:hover span { /* По hover отображаем тултип */
    opacity: 1;
    visibility: visible;
}
.custom-file-label::after {
    content: "Добавить";
}
.checkboxes-column div {
    min-width: 180px;
}
a.tab {
    display: table;
}
.marker {
    position: absolute;
    left: -0.95rem;
    top: 0.2rem;
}
.marker.correct {
    color: green;
}
.marker.incorrect {
    color: red;
}
.hoverable:hover {
    background-color: rgba(0, 0, 0, .075);
}
@media(min-device-width: 882px){

}
@media(max-device-width: 882px){
    .subject-card {
        min-width: 100%;
    }
}
