html {
    font-size: 14px;
}
body {
    margin: 0;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.loader {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    -webkit-backface-visibility: hidden;
    z-index: 9999;
}

.loader-circle{
    position: absolute;
    backface-visibility: hidden;
    top: 300px;
    left: 50%;
    margin-top: -40px;
    margin-left: -40px;
    width: 80px;
    height: 80px;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0px 6px 20px rgb(17 29 40 / 6%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' style='margin:auto;background:%23fff;display:block;' width='200px' height='200px' viewBox='0 0 100 100' preserveAspectRatio='xMidYMid'%3E%3Ccircle cx='50' cy='50' r='30' stroke='%23e6ecf2' stroke-width='3' fill='none'%3E%3C/circle%3E%3Ccircle cx='50' cy='50' r='30' stroke='%23007df1' stroke-width='3' stroke-linecap='round' fill='none'%3E%3CanimateTransform attributeName='transform' type='rotate' repeatCount='indefinite' dur='1.4925373134328357s' values='0 50 50;180 50 50;720 50 50' keyTimes='0;0.5;1'%3E%3C/animateTransform%3E%3Canimate attributeName='stroke-dasharray' repeatCount='indefinite' dur='1.4925373134328357s' values='3.7699111843077517 184.72564803107983;94.2477796076938 94.24777960769377;3.7699111843077517 184.72564803107983' keyTimes='0;0.5;1'%3E%3C/animate%3E%3C/circle%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

.tab-buttons {
    background-color: #2d80c0;
    border: 6px solid #2d80c0;
    border-bottom: none;
    padding: 0;
}

.tab button {
    background-color: inherit;
    display: inline-block;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 10px 16px;
    transition: 0.3s;
    border-radius: 6px 6px 0 0;
    margin-right: 12px;
    color: #fff;
}

.tab button:hover {
    background-color: #fff;
    color: #000000;
}

.tab button.active {
    background-color: #fff;
    color: #000000;
}

.tabcontent {
    display: none;
    border-top: none;
    position: relative;
    /*height: 727px;*/
}

.tabcontent > div {
    padding: 24px;
    font-family: sans-serif;
    position: absolute;
    font-size: 14px;
    font-weight: 300;
    color: #222222;
    padding-left: 36px;
}

.tabcontent > div::before{
    display: inline-block;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAOdJREFUOBHdUzsOgkAQ3THEhpbG00CtnmGvgZUkNnoO76A1nzNwBS3gCmZ9QySZ/SDYuglh9s17b2Z/1Lbtuu/7k1JKG2M2+M8OInqCdE2S5BixGMJ8ViUIn0I5tCoCrjkH112apnfBmwyrqtrC5AaCprIsDTOzLKNJRSAx6rgDa4wJCxQTt5Bn4BKENhh6Bn/QAY5yJReL4x1OSWIy9vagruuXJCC2DJ3ccJEszO3ASgYmX90DfA9aYY0PRpum2eN60pKPuaxhLeFenyE6MPDrgMElwpMsuq7jndYAFj1nFByecxzHxRvH8nHTKgAzaAAAAABJRU5ErkJggg==');
    background-size: contain;
    height: 16px;
    width: 16px;
    content: '';
    position: absolute;
    left: 12px;
}

.tabcontent > iframe {
    width: 100%;
    height: 700px;
}

.full .current .external_container iframe {
    width: calc(100% - 260px);
    height: 100%;
    position: inherit !important;
    top: 0;
    left: 0;
    z-index: 100;
}

.full .test-content__right {
    position: inherit !important;
    width: 260px;
    z-index: 100;
    height: calc(100% - 60px);
    top: 60px;
}


/* Вариант с 2 табами */
.editors > #tabs_read:not([style*="display: none"]) {
    position: fixed;
    width: 100%;
    height: 744px;
    z-index: 1;
    top: 0;
    border: 1px solid #2d80c0;
    box-sizing: border-box;
}

.editors > #tabs_read:not([style*="display: none"])+#tabs_write:not([style*="display: none"]) {
    position: fixed;
    width: 100%;
    height: 824px;
    z-index: 1;
    top: 780px !important;
    border: 1px solid #2d80c0;
    box-sizing: border-box;
}

/* Вариант с 1 табами на чтение */
.editors > #tabs_read[style*="display: none"] {
    width: 100%;
    height: 744px;
    z-index: 1;
    border: 1px solid #2d80c0;
    box-sizing: border-box;
}

/* Вариант с 1 табами на запись */
.editors > #tabs_write[style*="height: auto;"] {
    width: 100%;
    height: 824px;
    z-index: 1;
    border: 1px solid #2d80c0;
    box-sizing: border-box;
}