﻿body
{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10pt;
    1background: linear-gradient(180deg, #F9FEFE 0.79%, #EFEFEF 57.08%);
    min-height: 100vh;
}

a
{
    color: #3299E4;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    transition: color .1s ease-out;
}

a.ajaxlink
{
    text-decoration: underline dotted;
    cursor: pointer;
}

a.ajaxlink:hover
{
    cursor: pointer;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)
{
    a.ajaxlink
    {
        border-bottom: 1px dotted #3299E4;
        text-decoration: none;
        cursor: pointer;
    }

    a.ajaxlink:hover
    {
        border-bottom: 1px dotted #23527C;
        text-decoration: none;
        cursor: pointer;
    }
}

a.btn,
a.aspNetDisabled
{
    text-decoration: none;
}

a.aspNetDisabled.btn
{
    display: none;
}

a.collapsed:not(.active) .caret,
a.collapsed:not(.active) .glyphicon-chevron-down,
button.collapsed:not(.active) .glyphicon-triangle-bottom
{
    transition: transform .15s ease-in-out;
    transform: rotate(0);
}

a.collapsed.active .caret,
a.collapsed.active .glyphicon-chevron-down,
button.collapsed.active .glyphicon-triangle-bottom
{
    transition: transform .15s ease-in-out;
    transform: rotate(180deg);
}

table.borderless td,
table.borderless th
{
    border: none !important;
}

.required
{
    color: #B66;
    background-color: #FFEEFF !important;
    border: 1px solid red !important;
    box-shadow: 0 0 4px #FF3C00;
}

h1
{
    font-size: 24px;
    color: #1B7FBE;
    font-weight: normal;
}

h2
{
    font-size: 16pt;
    font-weight: normal;
}

h3
{
    font-size: 14pt;
    font-weight: normal;
}

input[type="checkbox"], 
input[type="radio"]
{
    margin-top: 2px;
}

abbr
{
    text-decoration-skip-ink: none;
}

.font-weight-bold
{
    font-weight: bold;
}

.badge.bg-danger
{
    background-color: maroon;
}

.badge.bg-warning
{
    background-color: darkgoldenrod;
}

.dateinput
{
    width: 85px !important;
    min-width: 85px !important;
}

.dateinput::placeholder
{
    text-align: center;
}

.datepicker table tr td.today
{
    background-image: none !important;
}

.datepicker table tr td.active
{
    background-image: none !important;
    background-color: #337ab7 !important;
}

.level2
{
    left: 0 !important;
    top: auto !important;
}

.has-popup .dropdown-menu::after
{
    content: '';
    display: inline-block;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #FFFFFF;
    position: absolute;
    top: -6px;
    left: 10px;
}

.has-popup .dropdown-menu::before
{
    content: '';
    display: inline-block;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #CCCCCC;
    border-bottom-color: #CCCCCC;
    border-bottom-color: rgba(0, 0, 0, 0.2);
    position: absolute;
    top: -7px;
    left: 9px;
}

.modal-footer
{
    background-color: #EEEEEE;
}

@supports (backdrop-filter: blur(15px))
{
    /* CSS rules for browsers that support backdrop-filter */
    .dropdown-menu,
    .chosen-drop
    {
        background-color: rgba(255, 255, 255, 0.82) !important;
    }
}

.chosen-drop,
.dropdown-menu,
.modal.in
{
    -webkit-backdrop-filter: saturate(180%) blur(15px);
    backdrop-filter: saturate(180%) blur(15px);
}

.container-fluid div[id$="_MenuLeft"]
{
    float: none !important;
    display: flex;
    justify-content: center;
}

.LeftMenu
{
    min-width: 200px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.LeftMenu a
{
    font-size: 14pt;
    padding-left: 8px;
    height: 30px;
    line-height: 30px;
    outline: none;
    border-left: 3px solid transparent !important;
    text-decoration: none;
    white-space: nowrap;
    display: block;
}

.LeftMenu a:hover
{
    background-image: none;
    background-color: #E8EFF4;
    border-radius: 3px !important;
    color: #3299E4;
    border-left: 3px solid #79BEF2 !important;
    text-decoration: none;
}

.LeftMenu .level1.selected,
.LeftMenu .level1.selected:hover
{
    background-color: #2C77C2;
    background-image: linear-gradient(to bottom,#40A5D7 0,#2C77C2 100%);
    background-repeat: no-repeat;
    background-position: initial;
    padding-top: 0px;
    padding-bottom: 4px;
    padding-left: 10px;
    border-radius: 3px !important;
    border-left: 0px solid transparent !important;
    color: white;
}

.LeftMenu > li > .separator
{
    width: 100%;
    height: 1px;
}

.LeftMenu:not(.adm) > li:last-child > .separator
{
    display: none;
}

.LeftMenu li > a[href*="study"]:before
{
    content: 'Новое';
    float: right;
    background-color: crimson !important;
    color: white;
    padding-left: 4px;
    padding-right: 4px;
    font-size: 10px;
    font-weight: bold;
    line-height: 15px;
    border-radius: 0.25em;
    display: inline;
}

th.sortasc a,
th.sortdesc a
{
    display: block;
    padding-right: 18px;
    background: url(../Images/asc.gif) no-repeat;
    background-position: right center;
}

th.sortdesc a
{
    background-image: url('../Images/desc.gif');
}

.table-vcenter th
{
    text-align: center;
    vertical-align: middle !important;
}

.table-vcenter td
{
    vertical-align: middle !important;
}

.table-pager table
{
    margin: 20px 0;
}

.table-pager table td > a,
.table-pager table td > span
{
    padding: 6px 10px;
    text-decoration: none;
    border-radius: 4px;
}

.table-pager table td > span
{
    background-color: #337AB7;
    border-radius: 4px;
    color: white;
}

.table-pager table td:first-child > a,
.table-pager table td:first-child > span
{
    margin-left: 0;
}

.table-pager table td > a:hover,
.table-pager table td > a:focus
{
    background-color: #EEEEEE;
}

.table-pager:hover
{
    background-color: transparent !important;
}

.pager-holder > span
{
    display: flex;
    align-items: center;
    justify-content: center;
}

.pager-holder a.btn,
.pager-holder > span > span
{
    order: 3;
}

.pager-holder a:has(.glyphicon-triangle-left)
{
    order: 2;
}

.pager-holder a:has(.glyphicon-backward)
{
    order: 1;
}

.pager-holder a:has(.glyphicon-forward)
{
    order: 5;
}

.pager-holder a:has(.glyphicon-triangle-right)
{
    order: 4;
}

.navigation
{
    outline: none;
    text-decoration: none;
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 10px;
}

.navigation img
{
    width: 18px;
    height: 18px;
    border: 1px solid transparent;
    margin-top: -5px;
    border-radius: 9px;
}

.wrap
{
    white-space: normal !important;
}

.login-textbox
{
    width: 110px;
    height: 24px;
}

.login-textbox::-webkit-input-placeholder
{
    text-align: center;
}

.login-textbox:-ms-input-placeholder
{
    text-align: center;
    color: gray;
}

.login-textbox::placeholder
{
    text-align: center;
    color: gray;
}

.login-box
{
    border-collapse: separate;
    margin: 40px auto 50px auto;
    padding: 20px 25px 20px 25px;
    max-width: 230px;
}

.login-box td
{
    padding: 3px;
}

.login-box label
{
    font-weight: normal;
    margin-bottom: 0;
}

#loginfield td
{
    padding: 4px;
}

.login-name
{
    font-size: 14pt;
    font-weight: bold;
    white-space: normal;
    word-wrap: break-word;
    word-wrap: anywhere;
}

.login
{
    margin-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    width: 220px;
}

.login > div
{
    text-align: center;
    margin: 0 auto;
    display: inline-block;
}

.user-profile
{
    width: 220px;
    margin-bottom: 10px;
}

.onlinelist
{
    width: 220px;
    padding-left: 10px;
}

.onlinelist dt
{
    max-width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    padding-top: 5px;
}

.onlinelist dt a
{
    color: black;
    text-decoration: none;
}

.onlinelist dt a:not(.aspNetDisabled):hover
{
    color: initial;
    text-decoration: underline;
}

.onlinelist dt .glyphicon-education
{
    margin-right: 5px;
}

.onlinelist dd
{
    padding-left: 10px;
}

.onlinelist > a
{
    display: block;
    text-align: center;
    margin-top: 5px;
}

.onlineuser
{
    color: #05D420;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.feedback
{
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.feedback li
{
    padding-top: 10px;
}

.feedform
{
    max-width: 560px;
}

.feedform select option:first-child
{
    display: none;
}

.feedform input[type="submit"] + span
{
    padding-top: 8px;
}

.feedform span > a[href$="terms"] img
{
    height: 20px;
    margin-top: -5px;
    margin-right: 0;
}

.feedform span > a[href$="terms"] img:first-child,
.feedform span > a[href$="terms"] img:first-child + img
{
    margin-right: 6px;
}

.feed-center
{
    text-align: center;
}

.feed-center .feedform
{
    text-align: left;
    margin: 0 auto;
}

.logo
{
    padding: 0 15px;
    outline: none;
}

.logo img
{
    height: auto;
    margin-top: 6px;
    filter: drop-shadow(1px 1px silver);
}

.header
{
    padding-top: 19px;
    text-align: center;
    min-width: 765px;
    line-height: 1.15em;
}

.header div
{
    display: inline-block;
    float: none !important;
}

.navbar-nav > li > a
{
    padding-top: 0;
    padding-bottom: 0;
    line-height: 50px;
}

.navbar-nav .static.active > a
{
    text-decoration: none;
}

.navbar-nav .icon
{
    width: 30px;
    margin-right: 5px;
    box-shadow: 0 1px 2px rgba(0,0,0,.075);
    padding: 1px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 2px;
    height: auto;
}

.navbar-static-top
{
    z-index: 95;
}

.nav .glyphicon
{
    margin-right: 5px;
}

.btn-default .line-one
{
    transform: rotate(-45deg) translate(-4px, 4px);
}

.btn-default .line-two
{
    opacity: 0;
}

.btn-default .line-three
{
    transform: rotate(45deg) translate(-4px, -5px);
}

.line-one,
.line-two,
.line-three
{
    backface-visibility: hidden;
    transition: all 0.3s;
}

.nav-pills a.selected
{
    text-decoration: none;
}

.contentPanel
{
    padding-top: 20px;
}

.contentPanel h1
{
    margin-top: 0;
}

.contentPanel p[class*="text-center"] img,
.contentPanel p[style*="text-align:center"] img,
.contentPanel p[style*="text-align: center"] img
{
    margin: 0 auto;
}

ul.list-small-indent
{
    margin-left: 1.5em;
    padding: 0;
}

ul.list-widespread li
{
    padding-top: 8px;
}

.leftPanel
{
    max-width: 220px;
}

.themesEnum
{
    line-height: normal;
    list-style-type: none; 
    margin: auto auto auto 0;
    padding: 10px 5px 10px 30px;
    border-radius: 5px;
}

.themesEnum li
{
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 4px;
    padding-bottom: 4px;
}

.themesEnum li::before
{
    content: "\e258"; /* > (triangle) */
    font-family: 'Glyphicons Halflings';
    font-size: smaller;
    position: absolute;
    left: -15px;
}

.themesEnum li label
{
    display: inline-block;
    width: 90%;
}

.themesEnum a.aspNetDisabled,
.themesEnum a.aspNetDisabled:hover
{
    color: black;
    text-decoration: none;
    cursor: default;
    font-weight: bold;
}

.themesEnum.alert-info li::before
{
    color: #2994CE;
}

.themesEnum li:has(a.aspNetDisabled)::before
{
    color: black;
}

.testsEnum .themesEnum
{
    padding: 5px 0 0 0;
}

.testsEnum
{
    list-style-type: none;
    margin: auto auto auto 0;
    padding: 10px 0 10px 10px;
    color: #337ab7;
    border-radius: 5px;
    display: none;
}

.testsEnum > li
{
    padding-top: 2px;
    padding-bottom: 2px;
}

.testsEnum li label
{
    display: inline-block;
    width: 90%;
}

a.chapter
{
    display: inline;
}

.currchapter
{
    color: black;
    text-decoration: none;
    font-weight: bold;
}

a.currchapter:hover
{
    color: black;
    text-decoration: none;
}

.editable
{
    border: 1px dotted #FF9933;
    min-height: 5px;
}

.newsheader
{
    width: 100%;
    border-bottom: 1px solid #79BEF2;
    display: inline-block;
}

.newsDate
{
    background-color: #79BEF2;
    padding: 2px 5px 0 5px;
    color: white;
}

.topic > select > option:last-child,
.topic > select > option:first-child
{
    font-weight: bold;
}

.form-inline.nowrap .form-control
{
    width: auto;
    display: inline-block;
}

.comment .content
{
    padding: 8px 10px 8px 12px;
}

.voting
{
    padding: 5px 5px 10px 5px;
    width: 220px;
}

.voting td
{
    padding: 5px 10px 5px 10px;
    vertical-align: middle;
}

table.vote-question td
{
    padding: 8px 0 0 0;
}

table.vote-question td label
{
    display: inline;
    padding-left: 5px;
    font-weight: normal;
}

table.vote-question input:checked + label
{
    font-weight: bold;
    text-shadow: 1px 1px 2px white;
}

.box-shadow
{
    box-shadow: 1px 2px 2px rgba(0,0,0,.1);
}

.multiline
{
    white-space: pre-wrap;
}

.table .form-control[data-type*="datetime"]
{
    min-width: 140px;
}

.table .form-control[data-type*="varchar"]
{
    min-width: 100px;
}

hr
{
    height: 1px;
    border-style: none;
    border-top: 1px dotted silver;
}

.text-separator
{
    display: flex;
    align-items: center;
    text-align: center;
    font-weight: bold;
    margin-bottom: 15px;
}

.text-separator::before,
.text-separator::after
{
    content: '';
    flex: 1;
    border-bottom: 1px solid silver;
}

.text-separator:not(:empty)::before
{
    margin-right: .25em;
}

.text-separator:not(:empty)::after
{
    margin-left: .25em;
}

.galery
{
    cursor: pointer;
}

.starrating
{
    color: gold;
}

.glyphicon-star-empty.starrating
{
      color: #BDC3C7;
}

.halfstar
 {
    position: relative;
 }

.halfstar:before
 {
      position: relative;
      z-index: 9;
      width: 47%;
      display: block;
      overflow: hidden;
 }

.halfstar:after
{
      content: '\e007';
      position: absolute;
      z-index: 8;
      color: #BDC3C7;
      top: 0;
      left: 0;
}

img[src$="progress.svg"]
{
    width: 32px;
    height: 32px;
}

.busy
{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(196,196,196, 0.6);
    z-index: 2000;
}

.busy img
{
    position: relative;
    left: calc(50vw - 32px);
    top: calc(50vh - 32px);
    width: 64px;
    height: 64px;
}

.go-top
{
    position: fixed;
    bottom: 1em;
    right: 0;
    display: none;
    opacity: 0.7;
    margin-right: 70px;
    z-index: 1100;
}

.site-footer + div + p img
{
    height: 25px !important;
    padding-left: 5px;
    padding-right: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
    filter: grayscale(1);
    opacity: 0.5;
    transition: .4s;
}

.site-footer + div + p img:hover
{
    filter: unset;
    opacity: 1;
}

.pdd-qa
{
    max-width: 600px;
    margin: 0 auto;
}

.pdd-qa .pdd-qa-header
{
    font-size: 20pt;
}

.chosen-container.bootbox > a
{
    height: 30px !important;
    line-height: 30px !important;
    border-radius: 3px !important;
    border-color: #ccc !important;
}

.chosen-container.bootbox:not(.bootbox.chosen-container-active) > a
{
    background-image: none !important;
    background-color: white !important;
    box-shadow: none !important;
}

.chosen-container.bootbox > a > div
{
    top: 3px !important;
}

.bootbox.chosen-container-active .chosen-single
{
    border-color: #66afe9 !important;
    outline: 0 !important;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6) !important;
}

.sidebar-offcanvas
{
    z-index: 90;
}

.control-btn a
{
    padding-left: 4px;
    padding-right: 4px;
}

.mapttip
{
    min-height: 60px;
    min-width: 120px;
    overflow: hidden;
}

/*
 * Off Canvas
 * --------------------------------------------------
 */
@media screen and (max-width: 767px)
{
    .row-offcanvas
    {
        position: relative;
        transition: all .25s ease-out;
    }

    .row-offcanvas-right
    {
        right: 0;
    }

    .row-offcanvas-left
    {
        left: 0;
    }

    .row-offcanvas-right .sidebar-offcanvas
    {
        right: -100%;
    }

    .row-offcanvas-left .sidebar-offcanvas
    {
        left: -95%;
        padding-left: 30px;
    }

    .row-offcanvas-right.active
    {
        right: 100%;
    }

    .row-offcanvas-left.active
    {
        left: 100%;
    }

    .row-offcanvas.active .sidebar-offcanvas
    {
        min-height: 100%;
    }

    .row-offcanvas-left .contentPanel,
    .row-offcanvas-right .contentPanel
    {
        opacity: 0.4;
        pointer-events: none;
    }

    .sidebar-offcanvas
    {
        position: absolute;
        top: 0;
        width: 95%;
        box-shadow: 0 2px 3px rgba(0,0,0,.3);
        padding-bottom: 10px;
        background-color: #F6F6F6;
    }
}

@media (min-width:768px) and (max-width: 992px)
{
    .container
    {
        width: 992px;
    }
}

@media (min-width:992px) and (max-width:1199px)
{
    .container
    {
        width: 992px;
    }
}

@media screen and (max-width: 768px)
{
    body
    {
        padding-top: 60px;
    }

    .leftPanel
    {
        max-width: 100%;
    }

    .text-xs-center
    {
        text-align: center;
    }

    .text-xs-small
    {
        font-size: 85%;
    }

    .navbar-default
    {
        position: fixed;
        top: 0;
        width: 100%;
        width: 100vw;
        min-width: 345px;
        border-radius: 0;
        border-width: 0 0 1px;
        z-index: 95;
    }

    .navbar-default.semitransparent
    {
        -webkit-backdrop-filter: saturate(180%) blur(15px);
        backdrop-filter: saturate(180%) blur(20px);
        background-color: rgba(255, 255, 255, 0.82);
        background-image: none;
    }

    .navbar-collapse > div
    {
        float: none !important;
    }

    .navbar-nav
    {
        width: 100% !important;
    }

    .navbar-collapse
    {
        padding-right: 0;
    }

    .dateinput
    {
        width: 100% !important;
        min-width: unset;
    }

    .form-group .dateinput::placeholder
    {
        text-align: left;
    }

    .nav-tabs
    {
        min-width: 100% !important;
        display: inline-grid;
        border-bottom-width: 0;
    }

    .nav-tabs a
    {
        border-style: none !important;
        transition: none;
        text-shadow: 0 -1px 0 rgba(0,0,0,.2);
    }

    .nav-tabs > li > a
    {
        border-radius: 4px !important;
    }

    .nav-tabs .active > a
    {
        background-image: linear-gradient(to bottom,#337ab7 0,#265a88 100%);
        background-repeat: repeat-x;
        color: white !important;
        text-decoration: none;
        border: 1px solid #245580;
        margin: 2px auto 2px auto;
    }

    .nav-tabs li:not(.active) > a
    {
        background-image: linear-gradient(to bottom,#fff 0,#e0e0e0 100%);
        background-repeat: repeat-x;
        text-shadow: 0 1px 0 #fff;
        border-color: #ccc;
        color: #333;
        background-color: #fff;
        text-decoration: none;
        border: 1px solid #dbdbdb !important;
        margin: 2px auto 2px auto;
    }

    .LeftMenu > li > .separator
    {
        filter: contrast(90%);
    }

    .pager-holder a
    {
        padding-left: 8px;
        padding-right: 8px;
    }

    .feedform span > a[href$="terms"] img
    {
        height: 15px !important;
    }
}