html, body {
    margin: 0;
    background-color: #fafafa;
    color: rgba(0, 0, 0, 0.87)
}

.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-default .header-menu {
    display: flex;
    justify-content: space-between;
}

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

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

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

main {
    padding-top: 110px;
}

.container-fluid {
    padding: 0 25px;
}

.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: 100px
}

.rules-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;
}

.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-left: 5px;
    margin-bottom: 0;
}

.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;
}

.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 .segment {
    overflow-x: auto;
}

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

.upload-file-container {
    padding: 25px;
    text-align: center;
    border: 2px dashed #aaa;
}

.upload-file-container.dragging {
    border: 2px dashed #555;
    background-color: #ddd;
}

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

.questions .question-item {

}

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

.pause {
    color: rgb(126, 154, 179);
    background-color: #fff;
    padding: 4px 5px;
    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 {
    color: #f44336;
    margin-left: 15px;
    font-size: 13px;
}

.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: 370px;
    left: 50%;
    bottom: 25px;
    transform: translateX(-50%);
    text-align: center;
}

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

.alert-block .alert-success {
    background-color: #3eb953;
    color: #fff;
    text-align: center;
}

.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;
}

.opacity-0 {
    opacity: 0;
    height: 0;
}

.opacity-1 {
    opacity: 1;
}

.answer-form {
    background-color: #f5f5f5;
    padding: 25px;
    border-radius: 4px;
}

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

@keyframes time_medium_animation {
    0% {
        color: #dbbe2c;
    }
    100% {
        color: #fff;
    }
}

@keyframes time_hard_animation {
    0% {
        color: #e88813;
    }
    100% {
        color: #fff;
    }
}

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

.time-medium {
    animation: time_medium_animation 2s infinite alternate ease-in-out;
}

.time-hard {
    animation: time_medium_animation 2s infinite alternate ease-in-out;
}

.time-danger {
    animation: time_medium_animation 2s infinite alternate ease-in-out;
}

.label-yellow {
    background-color: rgb(253, 253, 56);
}

.success-send-answer {
    position: fixed;
    width: 300px;
    bottom: 0;
    text-align: center;
    left: calc(50% - 150px);
    background-color: #28a745;
    color: #fff;
}

.segment del {
    display: none;
}

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