/* roboto-regular - latin_cyrillic */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v20-latin_cyrillic-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('../fonts/roboto-v20-latin_cyrillic-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/roboto-v20-latin_cyrillic-regular.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/roboto-v20-latin_cyrillic-regular.woff') format('woff'), /* Modern Browsers */
    url('../fonts/roboto-v20-latin_cyrillic-regular.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/roboto-v20-latin_cyrillic-regular.svg#Roboto') format('svg'); /* Legacy iOS */
}
/* roboto-italic - latin_cyrillic */
@font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/roboto-v20-latin_cyrillic-italic.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('../fonts/roboto-v20-latin_cyrillic-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/roboto-v20-latin_cyrillic-italic.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/roboto-v20-latin_cyrillic-italic.woff') format('woff'), /* Modern Browsers */
    url('../fonts/roboto-v20-latin_cyrillic-italic.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/roboto-v20-latin_cyrillic-italic.svg#Roboto') format('svg'); /* Legacy iOS */
}
/* roboto-700 - latin_cyrillic */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v20-latin_cyrillic-700.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('../fonts/roboto-v20-latin_cyrillic-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/roboto-v20-latin_cyrillic-700.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/roboto-v20-latin_cyrillic-700.woff') format('woff'), /* Modern Browsers */
    url('../fonts/roboto-v20-latin_cyrillic-700.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/roboto-v20-latin_cyrillic-700.svg#Roboto') format('svg'); /* Legacy iOS */
}
html, body {
    margin: 0;
    background-color: #fafafa;
    color: rgba(0, 0, 0, 0.87);
    font-family: 'Roboto', serif;
}

.navbar-default {
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    background-color: rgb(126, 154, 179);
    color: #fff;
    box-shadow:
            0px 2px 4px -1px rgba(0,0,0,0.2),
            0px 4px 5px 0px rgba(0,0,0,0.14),
            0px 1px 10px 0px rgba(0,0,0,0.12);
    z-index: 99;
}

.navbar-supervisor {
    background-color: #c62828;
}

.navbar-dark .navbar-nav .nav-link {
    color: #fff;
}

.navbar-default .header-menu {
    display: flex;
    justify-content: space-between;
}

.navbar-default .navbar-block {
    padding: 7px 5px;
}

.navbar-block a {
    color: #fff;
}

.navbar-block a:hover {
    color: #fff;
    text-decoration: none;
}

.navbar-link {
    padding: 3px;
    font-size: 1.5em;
}

.time-expired {
    position: relative;
    top: -3px;
    border-radius: 4px;
}

@keyframes time_danger_animation {
    0% {
        color: #dc3545;
    }
    100% {
        color: #fff;
    }
}

.time-danger {
    animation: time_danger_animation 1s ease infinite;
}

.aside-menu a {
    display: block;
    width: 100%;
    color: #333;
    padding: 5px 0;
}

.aside-menu a:hover {
    background-color: #eee;
    text-decoration: none;
    color: #333;
}

.aside-menu .title {
    margin-left: 10px;
}

.menu-icon {
    width: 1.5em;
    height: 1.5em;
    fill: rgba(0, 0, 0, 0.54)
}

.aside-menu {
    width: 240px;
}

.content {
    width: 100%;
    padding-left: 15px;
}

main {
    padding-top: 110px;
}

.login-layout main {
    background-color: #fafafa;
}

.default-layout main {
    display: flex;
    z-index: 1;
    position: relative;
    min-height: 100vh;
    flex-direction: column;
    background-color: #fafafa;
}

.default-layout main {
    padding-top: 110px
}

.rules-layout main,
.supervisor-layout main
{
    padding-top: 80px
}

.rules-layout .panel {
    height: calc(100vh - 270px);
}

.btn-default {
    background: #e0e0e0;
    font-weight: normal;
}

.btn-default:hover {
    background-color: #ccc;
}

.btn-bordered {
    border-color: #dc3545;
    color: #dc3545;
}

.btn-bordered:hover {
    background-color: #ffeeee;
    color: #dc3545;
}

.btn-bordered:disabled:hover {
    background-color: inherit;
    color: #dc3545;
}

.tabs-segments .nav-tabs {
    border-bottom: none;
}

.tabs-segments .nav-item a {
    background-color: #e0e0e0;
    color: #333;
    padding: 0 20px;
    border-radius: 4px;
}

.tabs-segments .nav-item {
    margin-right: 5px;
    margin-bottom: 5px;
}

.tabs-segments .nav-item:first-child {
    margin-left: 0;
}

.tabs-segments .nav-item.answered > a,
.tabs-segments .nav-item.answered:hover > a
{
    background-color: #28a745;
    border-color: #28a745;
    color: #fff;
}

.tabs-segments .nav-item a.active,
.tabs-segments .nav-item.answered a.active,
.tabs-segments .nav-item a.active:hover
{
    background-color: blue;
    border-color: blue;
    color: #fff;
}

.tabs-segments .nav-item a:hover {
    background-color: #ccc;
    border-color: #ccc;
    color: #333;
}

.tabs-segments .sortable-position {
    border: 2px solid #c62828;
    padding: 5px 10px;
    border-radius: 50px;
}

.tabs-segments .sortable-position.correct-position {
    border: 2px solid #28a745;
    padding: 5px 10px;
    border-radius: 50px;
}

.tabs-segments .positions div,
.tabs-segments .answers div
{
    height: 50px;
}

.panel {
    padding: 25px;
    background-color: #fff;
    box-shadow: 0px 2px 1px -1px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14), 0px 1px 3px 0px rgba(0,0,0,0.12);
    border-radius: 4px;
}

.panel-grid {
    background-color: #fff;
    box-shadow: 0px 2px 1px -1px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14), 0px 1px 3px 0px rgba(0,0,0,0.12);
    border-radius: 4px;
}

.panel-grid .table-hover thead > th {
    border-top: none;
    border-bottom: none;
}

.panel-grid .table-hover td {
    font-size: 15px;
}

.panel-grid .table-hover th,
.panel-grid .table-hover td
{
    padding: 1rem;
    vertical-align: middle;
}

.panel-grid .table-hover th:first-child,
.panel-grid .table-hover td:first-child
{
    padding-left: 25px;
}

.panel-grid .table-hover th:last-child,
.panel-grid .table-hover td:last-child
{
    padding-right: 25px;
}

.panel-grid .table-hover .selected {
    background-color: #eee;
}

.panel-grid .table-hover tr.notifications > td {
    border-top: none;
}

.panel-grid .table-hover .notifications:hover,
.panel-grid .table-hover .notifications:hover .table tr
{
    background-color: inherit;
}

.notifications .item {
    border-left: 2px solid #ddd;
    padding-left: 10px;
    padding-top: 5px;
}

.notifications .item:first-child {
    padding-top: 0;
}

.notifications .item time {
    background-color: #eee;
    padding: 5px;
    font-size: 14px;
}

.notifications .item:before {
    content: '⦁';
    position: relative;
    top: 5px;
    left: -16px;
    font-size: 25px;
    color: #dc3545;
}

.panel-hide {
    height: 4.7em;
    overflow: hidden;
}

.pagination {
    margin-bottom: 0;
}

.pagination li {
    padding-left: 5px;
}

.pagination li:first-child {
    padding-left: 0;
}

.pagination .pagination-item {
    color: #6c757d;
}

.pagination .pagination-item-link {
    color: #6c757d;
    padding: 2px 8px;
}

.pagination .pagination-item-link:hover,
.pagination .pagination-item.active > a
{
    color: #c62828;
}

.text {
    font-size: 12pt;
    color: #555;
}

.upload-file-container {
    padding: 25px;
    text-align: center;
    background-color: #f6f6f6;
    border-radius: 4px;
}

.upload-file-container:hover {
    cursor: pointer;
}

.questions {
    padding: 25px;
}

.questions .question-item {

}

.icon {
    position: relative;
    top: -2px
}

.icon-svg {
    width: 1em;
    height: 1em;
    fill: #fff;
}

.icon-logout {
    width: 1.2em;
    height: 1.2em;
    fill: #fff;
}

.icon-red {
    width: 1.5em;
    height: 1.5em;
    fill: #c62828;
}

.pause {
    color: rgb(126, 154, 179);
    background-color: #fff;
    padding: 4px 5px 2px;
    border-radius: 50%;
}

.pause > svg {
    position: relative;
    top: -2px;
}

.pause:hover {
    cursor: pointer;
}

.block-finish {
    display: flex;
    align-items: center;
}

.finish-icon {
    fill: currentColor;
    width: 25px;
    height: 25px;
}

.cursor-pointer:hover {
    cursor: pointer;
}

.icon-remove {
    position: relative;
    top: -1px;
    background-color: #f44336;
    color: #fff;
    font-weight: bold;
    padding: 1px 7px 4px 7px;
    border-radius: 50%;
    text-align: center;
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.7);
}

.scrolled-content {
    position: relative;
    overflow: scroll;
    height: 100%;
    min-height: 300px;
}

.scrolled-content .content {
    position: absolute;
    inset: 0;
    margin-right: 0px;
    margin-bottom: 0px;
}

.login-page {
    width: 400px;
    margin: 0 auto;
}

.btn-danger {
    background-color: #c62828;
}

.btn-danger:disabled {
    opacity: 0.3;
}

.error {
    color: #c62828;
    font-size: 13px;
}

.alert-block {
    position: fixed;
    width: 330px;
    left: 50%;
    bottom: 25px;
    transform: translateX(-50%);
}

.alert-block .alert-danger {
    background-color: #f44336;
    color: #fff;
}

.ck-editor__editable {
    min-height: 150px;
}

.finish-group {
    padding: 7px 10px;
    background-color: #e4e4e4;
    border-radius: 4px;
}

.finish-group .hint {
    color: #777;
    font-size: 12px;
}

#modal-finish .modal-dialog > div {
    width: 600px;
}

.file-loader {
    position: relative;
    left: -10px;
    width: 45px;
    height: 45px;
}

.footer-loader {
    position: absolute;
    top: -10px;
    width: 45px;
    height: 45px;
}

.opacity-0 {
    opacity: 0;
}

.opacity-1 {
    opacity: 1;
}

.field {
    min-height: 63px;
    background-color: #eee;
    padding: 7px 12px;
    border-radius: 4px;
}

.field label {
    margin-bottom: 0;
    font-size: 12px;
    color: #777;
}

.field select {
    position: relative;
    left: -4px;
    width: 100%;
    margin-top: 3px;
    outline: none;
    background-color: #eee;
    border: none;
}

.field textarea,
.field input
{
    width: 100%;
    border: none;
    background-color: #eee;
    outline: none;
    padding-left: 0;
}

.field input[type=date] {
    max-height: 32px;
    padding: 0;
}

.status-label {
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 13px;
}

.segment .text del,
.segment .segment-answers del{
    display: none;
}

.segment .text ins,
.segment .segment-answers ins{
    text-decoration: none;
    font-size: inherit;
    color: inherit;
}

.segment .custom-control-label p {
    margin-bottom: 0;
}

.preview-layout .container-fluid {
    padding-top: 0;
}

.text-correct,
.text-correct > *
{
    border-bottom: 3px solid #28a745;
}

@media (min-width: 992px) {
    .modal-lg, .modal-xl {
        max-width: 900px;
    }
}