.cb-checkbox .cb-inner, .cb-checkbox i {
    border-radius: 1px;
}

.cb-checkbox, .cb-radio {
    padding: 0;
}

.form-group {
    position: relative;
}

.form-group .ace_editor {
    border-radius: 0;
    box-shadow: none;
    border: 1px solid #d2d6de;
}

.form-group .help-block {
    color: #dd4b39;
    position: absolute;
    bottom: -30px;
    right: 0;
}

.table img {
    max-width: 320px;
}

.form-group .meta-block {
    color: #a5a09f;
    position: absolute;
    bottom: -20px;
    right: 0;
}

.upload-kit img {
    width: 100%;
    max-width: 100%;
}

.upload-kit .upload-kit-item.image-item {
    max-width: 240px;
    height: auto;
    width: 100%;
}

.box-header .form-group {
    margin: 10px 0;
}

.table a {
    color: #2c6082;
}

.bg-gray {
    background-color: #f3f3f3 !important;
}

.box-solid .form-control,
.box-solid .btn-default,
.box-solid .select2-selection,
.bg-gray .form-control,
.bg-gray .btn-default,
.bg-gray .select2-selection {
    border: 1px solid #bbb;
}

.table thead a {
    position: relative;
}

.asc:after {
    font-family: FontAwesome;
    content: "\f077";
    font-size: 10px;
    padding-top: 2px;
    font-weight: 400;
    margin-left: 10px;
}

.desc:after {
    font-family: FontAwesome;
    content: "\f078";
    font-size: 10px;
    padding-top: 2px;
    font-weight: 400;
    margin-left: 10px;
}

.content-header > .breadcrumb {
    float: none;
    position: relative;
    top: 0;
    right: 0;
}

.content {
    padding-bottom: 80px;
}

.box.box-solid.box-default > .box-header {
    color: #444;
    background: #f3f3f3;
    background-color: #f3f3f3;
}

.translation-form input[type="file"] {
    display: none;
}

.switch {
    position: relative;
    width: 50px;
    height: 30px;
    /* sizes. */

}

.switch span {
    -webkit-box-shadow: #e4e4e4 0px 0px 0px 0px inset;
    -moz-box-shadow: #e4e4e4 0px 0px 0px 0px inset;
    box-shadow: #e4e4e4 0px 0px 0px 0px inset;
    -webkit-transition: border 300ms, box-shadow 300ms;
    -moz-transition: border 300ms, box-shadow 300ms;
    -o-transition: border 300ms, box-shadow 300ms;
    transition: border 300ms, box-shadow 300ms;
    width: 100%;
    height: 100%;
    display: inline-block;
    box-sizing: content-box;
    border: 1px solid #e4e4e4;
    background-color: #e4e4e4;
    background-clip: content-box;
    vertical-align: middle;
    cursor: pointer;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

label.switch {
    margin-bottom: 0;
    margin-top: 4px;
}

.switch input {
    display: none;
}

.switch span i {
    top: 0;
    display: inline-block;
    cursor: pointer;
    padding-right: 20px;
    -webkit-transition: all ease 0.2s;
    -moz-transition: all ease 0.2s;
    -o-transition: all ease 0.2s;
    transition: all ease 0.2s;
}

.switch span i::before {
    display: block;
    content: '';
    width: 30px;
    height: 30px;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    background: white;
}

.switch :disabled + span i::before {
    background-color: #efefef;
}

.switch :checked + span {
    border-color: #2ecc71;
    -webkit-box-shadow: #2ecc71 0px 0px 0px 21px inset;
    -moz-box-shadow: #2ecc71 0px 0px 0px 21px inset;
    box-shadow: #2ecc71 0px 0px 0px 21px inset;
    -webkit-transition: border 300ms, box-shadow 300ms, background-color 1.2s;
    -moz-transition: border 300ms, box-shadow 300ms, background-color 1.2s;
    -o-transition: border 300ms, box-shadow 300ms, background-color 1.2s;
    transition: border 300ms, box-shadow 300ms, background-color 1.2s;
    background-color: #2ecc71;
}

.switch :checked + span i {
    padding-right: 0;
    padding-left: 20px;
}

.switch.switch-sm {
    width: 33px;
    height: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}

.switch.switch-xs {
    width: 27px;
    height: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
}

.switch.switch-sm span i::before {
    width: 20px;
    height: 20px;
}

.switch.switch-xs span i::before {
    width: 15px;
    height: 15px;
}

.switch.switch-sm :checked + span i {
    padding-left: 13px;
}


.switch.switch-xs :checked + span i {
    padding-left: 12px;
}

.switch.switch-lg {
    width: 66px;
    height: 40px;
    -webkit-border-radius: 40px;
    -moz-border-radius: 40px;
    border-radius: 40px;
}

.switch.switch-lg span i::before {
    width: 40px;
    height: 40px;
}

.switch.switch-lg :checked + span i {
    padding-left: 26px;
}

.question img {
    margin: 10px 0;
}

.question p {
    font-size: 18px;
}

.switch.square span i::before,
.switch.square span {
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

.switch.switch-primary :checked + span {
    border-color: #0099cc;
    -webkit-box-shadow: #0099cc 0px 0px 0px 21px inset;
    -moz-box-shadow: #0099cc 0px 0px 0px 21px inset;
    box-shadow: #0099cc 0px 0px 0px 21px inset;
    background-color: #0099cc;
}

.switch.switch-warning :checked + span {
    border-color: #ffc65d;
    -webkit-box-shadow: #ffc65d 0px 0px 0px 21px inset;
    -moz-box-shadow: #ffc65d 0px 0px 0px 21px inset;
    box-shadow: #ffc65d 0px 0px 0px 21px inset;
    background-color: #ffc65d;
}

.switch.switch-danger :checked + span {
    border-color: #d96557;
    -webkit-box-shadow: #d96557 0px 0px 0px 21px inset;
    -moz-box-shadow: #d96557 0px 0px 0px 21px inset;
    box-shadow: #d96557 0px 0px 0px 21px inset;
    background-color: #d96557;
}

.switch.switch-info :checked + span {
    border-color: #4cc3d9;
    -webkit-box-shadow: #4cc3d9 0px 0px 0px 21px inset;
    -moz-box-shadow: #4cc3d9 0px 0px 0px 21px inset;
    box-shadow: #4cc3d9 0px 0px 0px 21px inset;
    background-color: #4cc3d9;
}

.switch.switch-dark :checked + span {
    border-color: #4c5064;
    -webkit-box-shadow: #4c5064 0px 0px 0px 21px inset;
    -moz-box-shadow: #4c5064 0px 0px 0px 21px inset;
    box-shadow: #4c5064 0px 0px 0px 21px inset;
    background-color: #4c5064;
}

.form-group .switch {
    position: absolute;
    right: 0;
    top: -2px;
}

table tbody label {
    margin: 0;
}

.selectize-input, .selectize-dropdown, .selectize-dropdown.form-control, .selectize-input > input {
    border-radius: 0;
}

.btn-transparent {
    background-color: transparent;
    box-shadow: none;
    border: none;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    font-size: 16px;
    padding: -0 4px;
    color: #888;
}

.table tr.selected-row td {
    background-color: #e1e6ee;
}

.sorted_table tr {
    cursor: pointer;
}

.monospace {
    font-family: monospace, sans-serif !important;
}


.fix-top {
    min-height: 80px;
    left: 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 100000;
    display: none;
    padding: 0 15px;
}

#render_area {
    background-color: #e3e3e3;
    font-size: 21px;
    padding: 23px 10px;
    text-align: center;
    width: 100%;
}

.qq {
    font-size: 18px;
    font-family: helvetica, tahoma, arial;
    padding: 20px 5px
}

.qv {
    background-color: #f5f5f5;
    border-right: 40px solid #ceb5a6;
    margin-bottom: 10px;
    padding: 10px 4px 10px 10px;
    cursor: pointer;
    font-family: helvetica, tahoma, arial;
    font-size: 18px;
}

.qv:hover, .cr:hover {
    background-color: #dbdfd6;
}

.cr {
    border-right: 40px solid #3a8f2f;
}

.editable-div {
    color: #101010;
    font-size: 18px;
    padding: 12px 12px;
}

.editable-div p {
    margin: 6px 0 0 0;
    color: #101010;
}

.editable-div p:first-child {
    margin: 0;
}

.medium-editor-placeholder:after {
    top: 12px;
    left: 10px;
}

.qv .editable-div:active {
    border: none;
}

.tt .er {
    background-color: rgba(255, 0, 0, 0.28);
    font-size: 12px;
}

.tt .er p {
    padding: 5px 10px;
    margin: 0;
}

.tv {
    padding: 4px 10px;
}

.tn {
    width: 30px;
    margin-right: 10px;
    font-weight: bold;
}

.tc {
    background-color: #d0d0ce;
}

.qd {
    font-size: 8px;
    background: #9ee0ff;
    border-radius: 50%;
    padding: 2px 5px;
}

.fs-20 {
    font-size: 20px;
}

#render_area p, #render_area span, #render_area {
    color: #101010;
}

.trumbowyg-box, .trumbowyg-editor {
    margin: 0 auto;
}

.panel-heading .form-group {
    margin-bottom: 0;
}

.trumbowyg-editor-visible + .help-block {
    display: none;
}

.trumbowyg-editor p {
    color: #000;
}

.qty {
    font-weight: bold;
    float: right;
}

.tv {
    padding: 8px 0;
}

.tq p {
    display: inline;
}

.tv p {
    display: inline;
}

.tv {
    padding: 4px 10px;
}

.tc {
    background-color: rgba(104, 255, 83, 0.48);
}

.icr {
    background-color: #ff484b;
}

.trumbowyg input[type=file] {
    opacity: 1;
}

.trumbowyg-box.trumbowyg-editor-visible {
    min-height: 500px;
}

.trumbowyg-editor {
    min-height: 500px;
}

.trumbowyg-box, .trumbowyg-editor {
    margin: 0 auto;
}

.tq {
    margin-bottom: 10px;
}

.tm {
    font-size: 12px;
    color: #909090;
    padding: 15px 0 10px;
    text-align: right;
}

tr .help-block {
    display: none;
}

tr .form-group {
    margin: 0;
}

.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    vertical-align: middle;
    line-height: 20px;
}

.switch.disabled {
    opacity: 0.5;
}

.trv.trvs span {
    background-color: #6c6c6c;
}

.trv.crct span {
    background-color: #2eaf2b;
    border: 2px solid #2eaf2b;
}

.trv.dsbl span {
    opacity: 0.2;
    background-color: #c3c3c3;
    border: 2px solid #c3c3c3;
}

.trv span {
    width: 20px;
    height: 20px;
    display: block;
    border: 2px solid #6c6c6c;
    border-radius: 50%;
}

.counter {
    position: absolute;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    text-align: center;
    background-color: #0099cc;
    top: -12px;
    right: -12px;
    line-height: 36px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
}

/* $nestable
 ------------------------------------------*/
.dd {
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dd-list {
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dd-active > .dd3-content {
    background-color: #c3ded2;
}

.dd3-content.dd-active {
    background-color: #F0F0F0;
}

.dd-list .dd-list {
    padding-left: 37px;
}

.dd-collapsed .dd-list {
    display: none;
}

.dd-item,
.dd-empty,
.dd-placeholder {
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
    min-height: 20px;
    line-height: 20px;
    cursor: pointer;
}

.dd-handle {
    display: block;
    margin: 5px 0;
    padding: 12px 10px 8px;
    text-decoration: none;
    border: 1px solid #e4e4e4;
    background: white;
}

.dd-item > button {
    display: block;
    position: relative;
    cursor: pointer;
    float: right;
    width: 35px;
    padding: 0;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    border: 0;
    background: transparent;
    line-height: 42px;
    text-align: center;
}

.dd-item > button::before {
    content: '';
    position: absolute;
    right: 50%;
    top: 50%;
    margin-top: -5px;
    background: #616161;
    width: 2px;
    height: 10px;
    margin-right: -1px;
}

.dd-item > button::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 50%;
    background: #616161;
    height: 2px;
    width: 10px;
    margin-right: -5px;
    margin-top: -1px;
}

.dd-item > button[data-action="collapse"]:before {
    display: none;
}

.dd-placeholder,
.dd-empty {
    margin: 5px 0;
    padding: 0;
    min-height: 30px;
    background: transparent;
    border: 1px dashed #ddd;
}

.dd-empty {
    border: 1px dashed #bbb;
    min-height: 100px;
    background-color: #e5e5e5;
    background-image: -webkit-linear-gradient(45deg, #ffffff 25%, transparent 25%, transparent 75%, #ffffff 75%, #ffffff), -webkit-linear-gradient(45deg, #ffffff 25%, transparent 25%, transparent 75%, #ffffff 75%, #ffffff);
    background-image: -moz-linear-gradient(45deg, #ffffff 25%, transparent 25%, transparent 75%, #ffffff 75%, #ffffff), -moz-linear-gradient(45deg, #ffffff 25%, transparent 25%, transparent 75%, #ffffff 75%, #ffffff);
    background-image: linear-gradient(45deg, #ffffff 25%, transparent 25%, transparent 75%, #ffffff 75%, #ffffff), linear-gradient(45deg, #ffffff 25%, transparent 25%, transparent 75%, #ffffff 75%, #ffffff);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
}

.dd-dragel {
    position: absolute;
    pointer-events: none;
}

.dd-dragel > .dd-item .dd-handle {
    margin-top: 0;
}

.dd-dragel .dd-handle {
    -webkit-box-shadow: 2px 4px 6px 0 rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 2px 4px 6px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 2px 4px 6px 0 rgba(0, 0, 0, 0.1);
}

/**
 * Nestable Draggable Handles
 */
.dd3-content {
    display: block;
    margin: 5px 0;

    text-decoration: none;
    border: 1px solid #e4e4e4;
    background: #ffffff;
    border-radius: 0px;
}

.dd3-content a {
    display: block;
    color: #3f3f3f;
    padding: 10px 10px 10px 50px;
}

.dd-dragel > .dd3-item > .dd3-content {
    margin: 0;
}

.dd3-item > button {
    margin-left: 40px;
}

.dd3-handle {
    position: absolute;
    margin: 0;
    left: 0;
    top: 0;
    cursor: pointer;
    width: 38px;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    border: 1px solid #e4e4e4;
    background: #ffffff;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.dd3-handle:before {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translate(0, 0);
    content: "\f0c9";
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    text-align: center;
    text-indent: 0;
    font-size: 14px;
}


/***=========================================*/
.box-noshadow {
    box-shadow: none;
}


.test-variants img {
    max-width: 100%;
    margin: 10px 0;
}

.test-variants .bg-correct {
    background-color: rgba(227, 227, 227, 0.8);
}

.test-variants pre {
    display: inline-block;
    margin: 0;
}

.test-variants .p:last-child {
    border-bottom: none;
}

.test-variants .p {
    border-bottom: 1px solid rgba(227, 227, 227, 0.69);
    padding: 10px 10px;
    margin: 0;
}

.mce-content-body img {
    width: auto !important;
    height: auto !important;
}

.katex-display {
    display: inline-block;
}

.katex-display {
    margin: 0.2em;
}

.grid-view .box-footer {
    padding: 0;
}

.table p.text-muted {
    margin: 0;
}

.btn-wide {
    min-width: 160px;
}

.box-footer .pagination,
.no-margin .pagination {
    margin: 0;
    padding: 0;
}

.summary {
    position: absolute;
    bottom: -35px;
    left: 0px;
    background: #fff;
    padding: 2px 10px;
    border-radius: 2px;
}

.ua {
    font-size: 20px;
    padding-left: 40px;
}

.test-block .answer:hover {
    background-color: #949d9d !important;
}

.test-block .correct {
    background-color: #949d9d !important;
}

.test-block .answer {
    cursor: pointer;
}

.table-hover > tbody > tr:hover {
    background-color: #cdd8de;
}

.table .bg-success {
    background-color: #d9f5cd !important;
}

.imtihonlar .main-header .logo,
.imtihonlar .main-header .logo:hover,
.imtihonlar .main-header .navbar .sidebar-toggle:hover,
.imtihonlar .btn-primary {
    background-color: #1d8d37;
}

.imtihonlar .main-header .navbar,
.imtihonlar .cb-checkbox.checked .cb-inner {
    background-color: #2EB24D;
}

.registon .main-header .logo,
.registon .main-header .logo:hover,
.registon .main-header .navbar .sidebar-toggle:hover,
.registon .btn-primary {
    background-color: #8b5bfd;
}

.registon .main-header .navbar,
.registon .cb-checkbox.checked .cb-inner {
    background-color: #9065f7;

}

.mandat .main-header .logo,
.mandat .main-header .logo:hover,
.mandat .main-header .navbar .sidebar-toggle:hover,
.mandat .btn-primary {
    background-color: #0ea472;
}

.mandat .main-header .navbar,
.mandat .cb-checkbox.checked .cb-inner {
    background-color: #10b981 !important;
}

.ustoz .main-header .logo,
.ustoz .main-header .logo:hover,
.ustoz .main-header .navbar .sidebar-toggle:hover,
.ustoz .btn-primary {
    background-color: #8024ff;
}

.ustoz .main-header .navbar,
.ustoz .cb-checkbox.checked .cb-inner {
    background-color: #8024ff !important;
}

.oliygoh .main-header .logo {
    background-color: #3172de;
}

.oliygoh .main-header .navbar {
    background-color: #3172de;
}

.akadem .main-header .logo {
    background-color: #473198;
}

.akadem .main-header .navbar {
    background-color: #473198;
}

.select2-container--default .select2-results > .select2-results__options {
    max-height: 400px;
}

.pulse-bg {
    animation: pulse 0.5s infinite;
}

.user-answer {
    margin-top: 10px;
    margin-bottom: 15px;
    border: 1px solid #c6c8cd;
    background-color: #f4f4f4;
    font-size: 18px;
    text-align: left;
    letter-spacing: 4px;
    width: 100%;
    font-family: monospace courier;
}

.test-variants table {
    width: 100%;
}

.test-variants table td,
.test-variants table th {
    border: 1px solid #e3e3e3;
    padding: 2px 4px;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
}

@media (min-width: 1420px) {
    .modal-xl {
        width: 1400px;
    }
}
