/* ==========================================================
   NovikovLab
   ========================================================== */

* {
    box-sizing: border-box;
}

body {
    background: #008080;
    color: #000;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 14px;
}

html,
body {

    margin: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;

}

.top-bar {
    width: 800px;
    height: 50px;

    margin: 0 auto;

    background: #c0c0c0;

    border-top: none;
    border-left: 2px solid #ffffff;

    border-right: 2px solid #404040;
    border-bottom: 2px solid #404040;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;          /* расстояние между картинкой и текстом */
    text-decoration: none;
    color: #000;
    font-size: 18px;
    font-weight: bold;
}

.logo img {
    height: 40px;
    width: auto;
}

img{
    cursor: zoom-in;
    transition: .3s;
}

#lightbox{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.85);
    z-index:99999;
    justify-content:center;
    align-items:center;
    cursor:zoom-out;
}

#lightbox img{
    width:auto !important;
    height:auto !important;
    max-width:95vw !important;
    max-height:95vh !important;
    display:block;
    box-shadow:0 0 30px #000;
}

.menu {

    display: flex;

    justify-content: center;

    flex: 1;

}

.menu a {

    width: 95px;

    text-align: center;

    text-decoration: none;

    color: #000;

}

.menu a:hover {
    text-decoration: none;
}

.menu-user {

    display: inline-block;

    max-width: 100px;

    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;

    vertical-align: middle;

}

.desktop-title{

    position: fixed;

    top: 52%;
    left: 50%;

    transform: translate(-50%, -50%);

    text-align: center;

    pointer-events: none;
    user-select: none;

    z-index: 0;

    opacity: .12;

}

.desktop-title h1{

    margin: 0;

    font-size: 72px;

    font-weight: 700;

    font-family: "Segoe UI", Arial, sans-serif;

    color: #ffffff;

    text-shadow:
        2px 2px 0 rgba(0,0,0,.25);

    white-space: nowrap;

}

.desktop-title p{

    margin-top: 12px;

    font-size: 18px;

    color: #ffffff;

    font-style: italic;

}

.exercise-table {

    border-collapse: collapse;
    margin: 35px auto;

}

.exercise-table td {

    padding: 12px 22px;
    font-size: 18px;
    text-align: center;
}

table {table-layout: fixed;}
.detail {transition-duration: 1s;}
.detail:hover {background: #ffadb1; transition-duration: 1s;}
.anchor {border-style: ridge; margin: auto}

/* ==========================================
   Explorer
========================================== */

.explorer {
    width: 100%;
}

.explorer-header{

    display:flex;

    align-items:center;

    padding:4px 8px;

    border-bottom:1px dashed #808080;

    font-weight:bold;

    user-select:none;

}

.explorer-header-name{
    width:45%;
}

.explorer-header-created{
    width:18%;
}

.explorer-header-size{
    width:15%;
}

.explorer-header-modified{
    width:22%;
}

.explorer-col {
    flex-shrink: 0;
}

.explorer-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.explorer-created {
    width: 18%;
}

.explorer-size {
    width: 15%;
}

.explorer-modified {
    width: 22%;
}

.explorer-body {
    min-height: 300px;
}

.explorer-row{

    display:flex;

    align-items:center;

    min-height:24px;

    padding:2px 8px;

    cursor:pointer;

}

.explorer-row:hover{

    background:#5353fc;

    color:white;

}

.explorer-row.selected {
    background: rgba(10, 36, 106, 0.15);
    color: #ffffff;
}

.explorer-cell-name{

    width:45%;

    display:flex;

    align-items:center;

}

.explorer-cell-created{
    width:18%;
}

.explorer-cell-size{
    width:15%;
}

.explorer-cell-modified{
    width:22%;
}

.explorer-icon{

    width:16px;

    height:16px;

    margin-right:8px;

    image-rendering:pixelated;

}

.explorer-cell-name a {
    display: block;
    width: 100%;
    color: inherit;
    text-decoration: none;
}

.explorer-cell-name a:visited {
    color: inherit;
}

.explorer-cell-name a:hover {
    color: inherit;
    text-decoration: none;
}

.explorer-empty {
    padding: 30px;
    text-align: center;
    color: #666;
    font-style: italic;
}

.leftborderyellow {

    border-left: 6px solid #FFEB3B;
    background-color: #FFFFCC;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 8px 0;

}

.ex1 {

    margin: 0;

    font-size: 18px;

    color: #1B1BB3;

    text-shadow: 1px 2px 3px gray;

}

a.roadmap{
    color:#000000;
    text-decoration:none;
}

a.roadmap:hover{
    color:#0000FF;
    text-decoration:none;
}

.mobile-only{
    display:none;
}