
/* --- main ------------------------------------ */

/* --- remove outline on the forms and links --- */
:active,
:hover,
:focus {
    outline: 0 !important;
    outline-offset: 0 !important;
}

html {
    /*min-width: 625px;*/
}

/* disable text selection */
body {
    background: #ffffff;
    background: rgba(255,255,255,0.7);
    outline: none;
    resize: none;
    margin: 1px;
    user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    -webkit-focus-ring-color: rgba(255, 255, 255, 0);
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    -webkit-text-size-adjust: none;
}

@media only screen and (max-device-width: 1024px) {
    body {
        margin: 1px;
    }
}

/* --- hidden scroll --------------------------- */

body {
    overflow: hidden;
    overflow-x: hidden;
    overflow-y: scroll;
    -ms-overflow-style: none; /* Internet Explorer 10+ */
    scrollbar-width: none; /* Firefox */
}

    body::-webkit-scrollbar {
        display: none; /* WebKit : Safari and Chrome */
        width: 0;
        height: 0;
    }

#main {
    margin: 5px auto;
    /*max-width: 1080px;*/
    height: 100%;
}

.page {
    position: relative;
    margin: 0 auto;
    padding: 9px;
    min-width: 320px;
    /*max-width: calc(1080px + 20px);*/
    height: 100%;
    overflow: hidden;
    overflow-x: hidden;
    overflow-y: hidden;
    box-shadow: 0 0 5px #ccc;
    box-sizing: content-box;
    /*background: url(../img/back.jpg), rgba(255,255,255,0.4);*/
}

.form-horizontal {
    margin: 0;
    width: 100%;
}

#menu-logo #logo {
    position: relative;
    text-align: center;
}

    #menu-logo #logo #file-logo {
        display: block;
        max-width: 100%;
        height: auto;
        border: 0;
        margin: 0 auto;
    }

#content img {
    border: 0;
    vertical-align: top;
}

#content a {
    text-decoration: none;
}

    #content a.disabled {
        pointer-events: none; /* делаем ссылку некликабельной */
        cursor: default; /* устанавливаем курсор в виде стрелки */
        color: grey;
        /*color: #333;*/
        display: inline-block;
        /*padding: 0;*/
        /*margin: 0;*/
    }

#content div.ac-list {
    margin-bottom: 20px;
    list-style-type: none;
}

/* --- table ----------------------------------- */

.tbl {
    margin: 0 auto;
    width: 100%;
    border: 1px;
    border-spacing: 1px;
    border-collapse: unset;
}

    .tbl th,
    .tbl td {
        border: 1pt solid #78C0D4;
        padding: 3pt;
        vertical-align: middle;
    }

        .tbl td ul,
        .tbl td ol {
            margin: 0;
            padding: 2px 5px 2px 25px;
        }

    .tbl th {
        /*font-size: 14px;*/
        background: #D2EAF1;
        text-align: center;
        font-weight: bold;
    }

    .tbl tr:nth-child(odd),
    .tbl tr:nth-child(even) {
        background: rgba(255,255,255,0.7);
    }

    .tbl tr:hover td {
        /*background: #B4FFF2;*/
    }

.table-box {
    overflow-x: auto;
}

@media screen and (max-device-width: 640px) and (max-aspect-ratio: 13/9) { /* portrait styles here */
    .tbl th {
        /*font-size: 26px;*/
    }

    .table-box {
        overflow-x: auto;
    }
}

/* --- menu-top -------------------------------- */

#menu-top {
}

#menu-top-line {
}

#menu-top-item {
    width: 100%;
    margin: 15px 12px 15px 15px;
}

#menu-top-item-1 {
    width: 25%;
    margin: 15px 17px 15px 16px;
}

#menu-top-item-2 {
    width: 50%;
    margin: 15px 0;
}

#menu-top-item-3 {
    width: 25%;
    margin: 15px 14px 15px 17px;
}

#menu-top-weather {
    width: 100%;
    margin: 0 3px 0 0;
}

#menu-top-clock {
    width: 100%;
    margin: 0 -3px 0 3px;
}

@media only screen and (max-device-width: 1024px) {
    #menu-top {
    }

    #menu-top-line {
    }

    #menu-top-item {
    }

    #menu-top-item-1 {
        display: none;
    }

    #menu-top-item-2 {
        width: 100%;
        margin: 15px 12px 15px 15px;
    }

    #menu-top-item-3 {
        display: none;
    }
}

/* --- buffer ---------------------------------- */

#buffer {
    display: none;
}

/* --- button: to top -------------------------- */

.button-to-top {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 9999;
    width: 170px;
    text-align: center;
    vertical-align: middle;
    padding: 6px 6px 6px 6px;
    font-size: 28px;
    background: #0075bb !important;
    color: #fff !important;
    cursor: pointer;
    border-radius: 0;
    display: none;
    border-top: 5px;
    border-left: 5px;
    border-right: 5px;
    border-bottom: 5px;
    border-style: solid;
    border-color: whitesmoke;
}

@media only screen and (max-device-width: 1024px) {
    .button-to-top {
        width: 70px;
        font-size: 35px;
        padding: 0 6px 8px 6px;
    }
}

.button-to-top:hover {
    text-decoration: none;
}

.button-to-top-show {
    display: block;
}

/* --- garland --------------------------------- */

#garland {
    display: block;
    position: absolute;
    z-index: 90;
    top: 65px;
    margin-left: 15px;
}

    #garland img {
        width: 220px;
        border: 0;
    }

/* --- snow ------------------------------------ */

#snowOverlay {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: fixed;
    display: block;
    overflow: hidden;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

#snowVideo {
    top: 0;
    left: 0;
    position: absolute;
    width: max-content;
    height: auto;
    min-width: 100%;
    min-height: 100%;
}

/* --------------------------------------------- */

/*body {
    margin: 0;
}

#main {
    margin: 0;
}

.page {
    padding: 0;
}

#menu-logo div {
    padding: 0;
}

#menu-logo #menu-top-line #menu-top-item {
    margin: 15px 15px 15px 15px;
}

.footer {
    margin-bottom: 0;
}*/
