﻿@charset "UTF-8";

.book,
.book-info,
.image-container,
.title-wrappers,
body,
html {
    position: relative
}

.book,
.book-title {
    display: flex;
    transition: .3s
}

h1,
h2,
h3 {
    text-align: left
}

td,
th {
    padding: 3px
}

td,
tr {
    border-bottom: 1px solid #ddd;
    border-top: none
}

td,
th,
tr {
    border-left: none;
    border-right: none
}

.page-wrapper,
aside,
body {
    overflow-x: hidden
}

.book,
details p {
    overflow: hidden
}

.book-title,
.page-main a:hover {
    text-decoration: none
}

.image-container {
    z-index: 999;
    width: calc((100vw - 80vh * 192 / 108)/ 2);
    height: calc((100vw - 80vh * 192 / 108)/ 2);
}

.image-container img {
    z-index: 999;
    position: absolute;
    width: calc((100vw - 80vh * 192 / 108)/ 2 - 50px);
    height: calc((100vw - 80vh * 192 / 108)/ 2 - 50px);
    top: 25px;
    left: 20px;
    opacity: 0;
    transition: opacity .5s;
    min-width: 175px;
    min-height: 175px;
}

body,
html {
    color: #353535;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.7;
    text-align: justify
}

h1,
h2,
h3 {
    font-family: kumbh-bold
}


h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 1rem;
}

.book-title,
h1,
h2,
h3 {
    font-weight: 700
}

h1,
h2,
h3 {
    font-style: normal;
    line-height: 1.33
}

.image-container img.active,
.sidebar-box .uk-nav li.uk-active a::before {
    opacity: 1
}

aside,
nav {
    background-color: #dff5ff
}

@font-face {
    font-family: kumbh-bold;
    font-style: normal;
    font-weight: 400;
    src: url(https://static.igem.wiki/teams/4619/wiki/web-assets/web-assets/kumbh-bold.ttf)
}

@font-face {
    font-family: kumbh-regular;
    font-style: normal;
    font-weight: 400;
    src: url(https://static.igem.wiki/teams/4619/wiki/web-assets/web-assets/kumbh-regular.ttf)
}

.sponser {
    height: 50px;
    width: auto;
    margin: 5px 3vw
}

.book img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.2) blur(1.5px)
}

.bookshelf {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f5f5;
    font-family: Arial, sans-serif;
    user-select: none
}

.bookshelf-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center
}

.book-title,
.fig,
.tbl {
    padding: 10px;
    text-align: center
}

.book {
    width: 150px;
    height: 200px;
    background-color: #e1e8f0;
    margin: 10px;
    align-items: center;
    justify-content: center
}


.book-number {
    color: #6cf;
    text-shadow: #81888e 2px 2px 3px;
    font-size: 30px;
    line-height: 30px;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
    font-family: kumbh-regular
}

.book-title,
.date {
    font-family: smileysans
}

.book-title {
    color: #333;
    align-items: center;
    justify-content: center;
    height: 100%;
    white-space: normal;
    font-size: 14px
}

.book:hover {
    background-color: #d3e5f3
}

.book-title:hover {
    color: #000;
    transform: rotate(5deg);
    text-shadow: #6cf 1px 1px 0;
    transition: .3s
}

.md-math-container,
.md-rawblock-container {
    text-align: center
}

h1 {
    font-size: 36px
}

h2 {
    font-size: 28px
}

h3 {
    font-size: 24px
}

.simg {
    max-width: calc((100vw - 20vw - 20px) * .6) !important
}

.xsimg {
    max-width: calc((100vw - 20vw - 20px) * .4) !important
}

.page-main img {
    max-width: calc((100vw - 20vw - 20px) * .8);
    height: auto;
    margin: 5px auto;
    display: block
}

.page-main {
    width: 99vw
}

.fig,
.tbl {
    color: #767676;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.43
}

table {
    border-collapse: collapse;
    border: none;
    margin: 10px auto
}

th {
    border-bottom: 2px solid #FB5122;
    border-top: 2px solid #FB5122;
    font-weight: bolder;
    text-align: center
}

td {
    text-align: center
}

tr {
    background-color: transparent
}

tr:nth-child(2n) {
    background-color: #fcf6f2
}

tr:nth-child(odd) {
    background-color: #fff
}

*,
:after,
:before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

.nice-select.open,
:active,
:focus,
a.nice-select.open,
a:active,
a:focus {
    outline: 0
}

aside,
footer,
header,
nav,
section {
    display: block
}

aside {
    position: fixed;
    top: 100px;
    left: 0;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif
}

.content p,
body {
    font-family: kumbh-regular
}

body {
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    margin: 0;
    padding: 0
}

.page-wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
    background: #f5f5f5
}

.page-wrapper .page-content {
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-grow: 1;
    align-items: stretch;
    padding-top: 75px
}

.page-wrapper .page-main {
    scrollbar-color: #91C8E4 #E2EBEC;
    scrollbar-width: thin !important;
    display: block;
    position: relative;
    padding: 30px;
    padding-left: calc(20vw + 20px);
    padding-top: calc(40px + 1rem + 10px)
}

.page-wrapper .page-main::-webkit-scrollbar {
    width: 6px
}

.page-wrapper .page-main::-webkit-scrollbar-track {
    background-color: #e2ebec
}

.page-wrapper .page-main::-webkit-scrollbar-thumb {
    background-color: #91c8e4
}

.page-wrapper .page-main::before {
    display: block;
    z-index: 2;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    content: '';
    opacity: 0;
    pointer-events: none
}




.anchors {
    position: absolute;
    top: calc(-40px - 1rem - 10px);
    left: 0;
    display: hidden
}

.note{
    position: relative
}

details p {
    max-height: 0
}

[open] p {
    max-height: 1000px
}

.page-main a {
    background-color: transparent;
    transition: background-color .25s
}

.note {
    margin-bottom: 50px;
    padding-left: 40px
}

.note::before {
    content: "";
    position: absolute;
    top: 0;
    left: -20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #92d7fa
}

.date {
    font-size: 30px;
    line-height: 30px;
    margin-bottom: 15px
}


.left {
    margin-right: auto;
}

.right {
    margin-left: auto;
}

.content_lead{
    background-color: #fff0e5;
    border-radius: 10px;
    padding: 2vw;
}

