:root {
    --main-color: hsla(0, 0%, 100%, 1);
    --main-color-hover: hsla(0, 0%, 100%, 0.4);
    --secondary-color: hsla(45, 84%, 83%, 1);
    --secondary-color-hover: hsla(45, 84%, 83%, 0.4);
    /*	--bg-main-color: #1A1919;*/
    --bg-main-color: #141414;
    --bg-secondary: #2D2C2C;
    --grey-color: #575656;

}
@font-face {
    font-family: 'FoglihtenNo06';
    src: local('../fonts/FoglihtenNo06'),
    url('../fonts/foglihtenno06.woff2') format('woff2'),
    url('../fonts/foglihtenno06.woff') format('woff'),
    url('../fonts/foglihtenno06.eot') format('eot'),
    url('../fonts/foglihtenno06.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Onest';
    src: url('../fonts/Onest-Regular.woff2') format('woff2');
    src: url('../fonts/Onest-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Onest';
    src: url('../fonts/Onest-Medium.woff2') format('woff2');
    src: url('../fonts/Onest-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Onest';
    src: url('../fonts/Onest-Bold.woff2') format('woff2');
    scr: url('../fonts/Onest-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}
/*:root {*/
/*	scroll-behavior: smooth;*/
/*}*/

* {
    margin: 0;
    padding: 0;
}

body {
    position: relative;
    background: var(--bg-main-color);
    color: #fff;
    font-family: 'Onest';
    cursor: url('../img/cursor.png'), auto;
    overflow-y: scroll;
    scroll-behavior: smooth;
    height: 100vh; /* Установить высоту 100vh */
    margin: 0; /* Убрать отступы */
}

html {
    --scrollbarBG: #CFD8DC;
    --thumbBG: #000;
    height: 100vh; /* Установить высоту 100vh */
    margin: 0; /* Убрать отступы */
}

::-webkit-scrollbar {
    width: 7px;
}

body::-webkit-scrollbar-thumb {
    height: 100px; /* Фиксированная высота ползунка */
}

body::-webkit-scrollbar-track {
    background: #1a1919b0;

}

/*::-webkit-scrollbar-button {*/
/*    width: 50px; //for horizontal scrollbar*/
/*height: 50px; //for vertical scrollbar*/
/*}*/

body::-webkit-scrollbar-thumb {
    background-color: var(--bg-main-color);
    /*background-color: #363535;*/
    border-radius: 6px;
    border: 1px solid rgba(76, 68, 68, 0.69);
}
@supports not selector(::-webkit-scrollbar) {
    * {
        scrollbar-width: thin;
        scrollbar-color: var(--thumbBG) var(--scrollbarBG);
    }
}
::-webkit-scrollbar {
    /*width: 50px;*/
    height: 50px;
    /*background:-webkit-linear-gradient(0, blue 50%, white 100%);*/
}


a, button {
    color: var(--main-color);
    text-decoration: none;
    cursor: url('../img/cursor.png'), auto;
}
.cursor {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #eee;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: width 1000ms, height 1000ms;
    transition: left 0.1s ease, top 0.1s ease, width 1s, height 1s;
    z-index: 999;
}
.cursor.large {
    width: 70px;
    height: 70px;
    border: 1px;
    background: hsla(45, 84%, 83%, 0.3);
    transition: 0.3s ease;
}
.color-grey {
    color: #727272;
}
ul {
    padding: 0;
}
ul li {
    list-style-type: none;
}
p{
    margin-bottom: 0;
}
.color-main {
    color: var(--main-color);
    transition: color 0.3s ease;
}
a.color-main:hover {
    color: var(--main-color-hover);
}
.secondary-color {
    color: var(--secondary-color);
    transition: color 0.3s ease;
}
a.secondary-color:hover {
    color: var(--secondary-color-hover);
}
.grey-color {
    color: var(--grey-color);
}
.grey-color{
    stroke: var(--grey-color);
}
.bg-second {
    background: var(--bg-secondary);
}
.col-30 {
    width: 30%;
}
.col-45 {
    width: 45%;
}
.fs-18{
    font-size: 18px;
}
.fs-14 {
    font-size: 14px;
}
.fs-12 {
    font-size: 12px;
}
.p25 {
    padding: 25px;
}
.ps-100 {
    padding-left: 100px;
}
.ps-10 {
    padding-left: 10px;
}
.line {
    height: 1px;
    width: 155px;
    background-color: var(--secondary-color);
    display: table;
    margin: 0 auto;
}
.line-small {
    height: 2px;
    width: 50px;
    background-color: var(--secondary-color);
}

/*==//==//==//==//==//==//==//==//==//==//==  change bootstrap  ==//==//==//==//==//==//==//==//==//==//==//==//==//==//*/

button:not(:disabled), [type=button]:not(:disabled), [type=reset]:not(:disabled), [type=submit]:not(:disabled) {
    cursor: url('../img/cursor.png'), auto;
}
.dropdown-toggle::after {
    display: none;
}
.navbar-brand {
    flex: 1;
}
.navbar-toggler {
    border-color: var(--secondary-color);
    padding: 4px 8px;
}
.navbar-toggler:focus{
    box-shadow: none;
}
.dropdown {
    z-index: 1;
}
.dropdown-menu {
    background: var(--grey-color);
    color: #fff;
    border-color: var(--bg-secondary);
    min-width: auto;
}
.dropdown-menu .dropdown-item{
    color: #fff;
}
.dropdown-item:hover {
    background-color: var(--bg-main-color);
}
.dropdown-item span {
    margin-left: 5px;
    text-transform: uppercase;
    font-size: 12px;
}
/*==//==//==//==//==//==//==//==//==//==//==  main code  ==//==//==//==//==//==//==//==//==//==//==//==//==//==//*/
.navbar-brand {
    font-weight: bold;
}
.navbar-brand p {

    font-size: 21px;
    display: grid;
    justify-items: center;
}

.navbar-brand span{
    font-size: 12px;
}

.navbar-nav {
    display: flex;
    width: 90%;
    justify-content: space-around;

}
footer {
    background-color: rgba(0, 0, 0, 0.5);
    padding-top: 100px;
}
footer a{
    color: var(--main-color);
}
.footer-body {
    padding-bottom: 50px;
}
.footer-logo {
    line-height: 1.1;
    font-size: 21px;
    justify-items: center;
    /*margin-bottom: 35px;*/
    margin-top: -25px;
}
.footer-logo span {
    font-size: 12px;
}
.footer-body {
    font-size: 14px;
}
.footer-body > div {
    width: 13%;
    flex: auto;
    padding: 0 20px;
}
.footer-body > div:first-child {
    width: 320px;
    padding-left: 0;
}
.footer-body > div:nth-child(3) {
    flex: 0;
}
.footer-body > div:last-child {
    padding-right: 0;
}
.footer-body ul li {
    margin-bottom: 10px;
}

.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    font-size: 12px;
}
.to-top {
    background: rgb(20 20 20);
    bottom: 4%;
    cursor: pointer;
    display: none;
    position: fixed;
    right: 14px;
    /*z-index: 999;*/
    font-size: 16px;
    height: 38px;
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid #ffffff6e;
    -webkit-transition: background-color .1s linear;
    -moz-transition: background-color .1s linear;
    -o-transition: background-color .1s linear;
    transition: background-color .1s linear;
}
/*==//==//==//==//==//==//==//==//==//==//==  main page  ==//==//==//==//==//==//==//==//==//==//==//==//==//==//*/

.main-page  {
    background-image: url(../img/main-bobur-bg3.jpg);
    background-position: top center;
    background-repeat: no-repeat;
    /*background-size: 100% 1080px;*/
    background-size: cover;
    overflow-x: hidden;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);


}
/*.main-block-one .container{
	background-image: url(../img/main-bobur.png);
	background-position: top center;
   background-repeat: no-repeat;
}*/
.main-block-one {
    min-height: 1080px;
    background-image: url(../img/main-bobur.png);
    background-position-x: 90%;
    background-position-y: top;
    background-repeat: no-repeat;
    margin-bottom: 80px;
}

.main-block-one .container{
    min-height: 1080px;
}
.main-block-one h1{
    font-family: 'FoglihtenNo06';
    text-transform: uppercase;
    color: var(--secondary-color);
    font-size: 56px;
}
.main-line {
    background: var(--secondary-color);
    height: 1px;
    width: 138px;
}
.main-block-one .d-flex{
    padding: 370px 0 350px;
}
.main-block-one .d-flex > div{
    max-width: 620px;
}
.main-block-one, .main-block-two {
    position: relative;
}
.main-block-two {
    margin-bottom: 80px;
}
.main-block-three {
    /*	margin-bottom: 80px;*/
    min-height: 800px;
    position: relative;
}

.text-video {
    z-index: 1111;
    color: white;
    top: 55%;
    position: absolute;
    left: calc(50% - 450px);
    width: 900px;
    text-align: center;
}
.main-block-three .title {
    font-size: 48px;
    color: var(--secondary-color);
}
.main-block-three p {
    font-size: 18px;
}
.bg-vertical {
    background-image: url(../img/bg-main.png);
}
.container-vertical {
    width: 100%;
    max-width: 1240px;
    flex-direction: column;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
}
.container-background {
    width: 100%;
    height: 100%;
    background-image: url(../img/bg-main.png);
    background-size: contain;
    background-repeat: repeat-y;
    background-position: top;
    z-index: -1;
}
.container-vertical img {
    max-width: 100%;
    vertical-align: middle;
    display: inline-block;
}
.timeline-textcontainer {
    min-height: 100vh;
    align-items: center;
    padding-top: 30vh;
    display: flex;
}
.text-title {
    font-size: 28px;
    font-weight: 500;
}
.timeline-gridwrapper {
    width: 100%;
    grid-column-gap: 100px;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    display: flex;
    /*background-image: url(../img/main-bg.png);*/
    /*background-position: left center;*/
    /*background-size: 70%;*/
    /*background-repeat: no-repeat;*/
}
.timeline-gridwrapper-bottom {
    width: 100%;
    grid-column-gap: 100px;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    display: flex;
    /*background-image: url(../img/main-bg-2.png);*/
    /*background-position: right center;*/
    /*background-size: 70%;*/
    /*background-repeat: no-repeat;*/
}
.timeline-contentcontainer {
    width: 50%;
    min-height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    display: flex;
}
.portraitimagewrapper {
    position: sticky;
    top: 50px;
}

.portraitimagewrapper-mobile {
    display: none;
    position: sticky;
    top: 50px;
}

.image {
    z-index: -1;
    position: absolute;
    top: auto;
    bottom: -36px;
    left: auto;
    right: -15px;
}
video {
    height: 1070px;
    height: 800px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    outline: 0px;
    border: none;
    background-color: white;

}

video:focus {
    outline: 0px;
    border: none;
}

.main-block-one:after, .main-block-three:after, .main-block-three:before{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, rgb(20 20 20), rgb(26 25 25 / 0%), rgb(26 25 25 / 0%));
}
.main-block-one:after {
    height: 350px;
    background: linear-gradient(to top, rgb(20 20 20), rgb(26 25 25 / 80%), rgb(26 25 25 / 0%));
}
.main-block-three:before {
    top: 0;
    background: linear-gradient(to bottom, rgb(20 20 20), rgb(26 25 25 / 0%), rgb(26 25 25 / 0%));
}

.imagedropshadow-right-yellow {
    box-shadow: 14px 14px rgba(240, 212, 167, .2);
}
.timeline-line-up {
    width: 1px;
    min-height: 220vh;
    background-image: linear-gradient(#fff, #cfa562 25%);
    padding-top: 50vh;
    padding-bottom: 50vh;
    position: relative;
}
.timeline-line-down {
    width: 1px;
    min-height: 225vh;
    /*  min-height: 100%;
      height: 100%; */
    background-image: linear-gradient(#cfa562 75%, #fff);
    padding-top: 50vh;
    padding-bottom: 50vh;
    position: relative;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background-image: url(../img/dot.svg);
    background-position: 50%;
    background-size: cover;
    margin-left: -10px;
    position: sticky;
    top: 40vh;
}

.timeline-photo {
    width: 50%;
    min-height: 200vh;
    padding-top: 10px;
    padding-bottom: 60px;
}



.timeline-textwrapper {
    color: #fff;
    font-family: Roboto, sans-serif;
    font-size: 19px;
    font-weight: 300;
    line-height: 30px;
    position: relative;
}

.timeline-dot-mobile {
    width: 16px;
    height: 16px;
    background-image: url(https://uploads-ssl.webflow.com/635fced…/63ac24c…_timeline-dot.svg);
    background-position: 50%;
    background-size: cover;
    display: none;
    position: relative;
}
.timeliine-decorativetextleft {
    z-index: -1;
    margin-bottom: 20px;
    position: absolute;
    top: -250px;
    bottom: auto;
    left: -63px;
    right: auto;
    animation: rotate360-left 50s linear infinite;
}
.timeliine-decorativetextright {
    z-index: -1;
    margin-bottom: 20px;
    position: absolute;
    top: -250px;
    bottom: auto;
    left: auto;
    right: -54px;
    animation: rotate360-right 50s linear infinite;
}
.timeliine-texttitle {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-family: 'FoglihtenNo06', sans-serif;
    text-transform: uppercase;
    font-size: 32px;
}

@keyframes rotate360-left {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
@keyframes rotate360-right {
    0% {
        transform: rotate(360deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

@media (max-width: 991px) {
    .timeline-photo {
        position: sticky;
        top: 0;
    }
    .timeline-gridwrapper {
        grid-column-gap: 40px;
    }
    .timeline-gridwrapper-bottom {
        grid-column-gap: 40px;
    }
    .timeline-textcontainer {
        min-height: 0;
        margin-bottom: 70px;
        padding-top: 0;
    }
    .portraitimagewrapper {
        top: 25vh;
    }
    .portraitimagewrapper-mobile {
        top: 25vh;
    }
    .timeliine-decorativetextleft {
        position: static;
        transform: translate(-14px);
    }
    .timeliine-decorativetextright {
        position: static;
        transform: translate(-14px);
    }

}
@media (max-width: 479px) {
    .timeline-line-up, .timeline-line-down {
        display: none;
    }
    .timeline-gridwrapper {
        grid-column-gap: 28px;
        flex-direction: row-reverse;
        justify-content: flex-end;
        position: relative;
    }
    .timeline-contentcontainer {
        width: 100%;
        padding-left: 28px;
    }

    .timeline-photo {
        display: none;
    }
    .portraitimagewrapper {
        width: 100%;
        height: 100%;
        max-height: 390px;
        position: relative;
        top: 0;
    }
    .portraitimagewrapper-mobile {
        width: 100%;
        height: 100%;
        /*	    max-height: 390px;*/
        margin-top: -20px;
        margin-bottom: 70px;
        display: flex;
        flex-wrap: wrap;
        position: relative;
        top: 0;
    }
    .timeline-textcontainer {
        min-height: 0;
        margin-bottom: 70px;
        padding-top: 0;
    }
    .timeline-gridwrapper h2 {
        font-size: 25px;
        line-height: 32px;
    }
    .timeline-dot-mobile {
        z-index: 1;
        display: block;
        top: 60px;
        left: -35px;
    }
    .timeliine-decorativetextleft {
        transform: translate(0);
    }
    .timeliine-decorativetextright {
        transform: translate(0);
    }
}


/*==//==//==//==//==//==//==//==//==//==//==  news page  ==//==//==//==//==//==//==//==//==//==//==//==//==//==//*/

.carousel-item:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.85));
    pointer-events: none;
}

.news_blok h2{
    padding: 55px 0;
    font-family: 'FoglihtenNo06';
    color: #F8E5AD;
    text-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    font-size: 48px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
}
.news_category {
    margin-bottom: 55px;
}
.news_category ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}
.news_category ul li{
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.50);
    text-align: center;
    padding: 18px 32px;
}
.news_category ul li a{
    color: #fff;
}
.news-icon-info {
    vertical-align: bottom;
    line-height: 23px;
}
.all_news .col-lg-6 {
    padding: 40px;
}
.all_news .news_body img  {
    height: 243px;
    object-fit: cover;
}
.all_news .news_body .text-decoration-underline  {
    display: block;
}
.all_news .news_body .text-decoration-underline a {
    color: var(--main-color);
}
.all_news span:nth-of-type(2){
    vertical-align: middle;
}
.all_news span:nth-of-type(3){
    vertical-align: middle;
}

.list-pagination .page-item {
    display: flex;
    margin-right: 20px;
}
.list-pagination .page-item  a{
    color: var(--main-color);
}
.list-pagination .page-item.active {
    align-items: center;
    color:var(--secondary-color);
}
.list-pagination .page-item.active > *:not(:last-child) {
    margin-right: 15px;
}
.pg-line{
    height: 1px;
    width: 70px;
    background-color: var(--secondary-color);
    display: table;
    margin: 0 auto;
    line-height: 20px;
}

/*==//==//==//==//==//==//==//==//==//==//==  single page  ==//==//==//==//==//==//==//==//==//==//==//==//==//==//*/

.breadrcump{
    background: #121212;
    padding: 30px 20px;
    margin-bottom: 45px;
    border-radius: 10px;
    text-align: center;
}
.breadrcump svg{
    margin: 0 15px;
}

.single a{
    color: var(--main-color);
}
.single .text-start, .single .text-start svg path, .single .text-start a{
    color: var(--main-color-hover);
    fill: var(--main-color-hover);
}
.post img {
    min-height: 345px;
    object-fit: cover;
}
.sidebar {
    background: #121212;
    border-radius: 10px;
    padding: 25px 25px 17px;
    margin-bottom: 20px;
}
.sidebar ul li {
    /*	text-align: center;*/
    margin-bottom: 30px;
}
.sidebar ul li a.active {
    color: var(--secondary-color);
}

.related-post-img {
    border-radius: 11px;
    display: block;

}
.related-post-img img{
    background-color: transparent;
    border-radius: inherit;
    height: 150px;
    object-fit: cover;
}
.related-post span{
    font-size: 14px;
}
.academic-files {
    border-radius: 5px;
    background: #343534;
    padding: 70px 40px;
}
.academic-files img{
    padding: 30px;
}
.academic-files tr {
    border-bottom: 1px solid var(--secondary-color);
}
/*==//==//==//==//==//==//==//==//==//==//==  library page  ==//==//==//==//==//==//==//==//==//==//==//==//==//==//*/
.library {
    background-image: url('../img/library.jpg');
}
.tour {
    background-image: url('../img/tour-bg.jpg');
}
.genealogy-bg {
    background-image: url('../img/genealogy-bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}
.genealogy-single {
    background-image: url('../img/genealogy/genealogy-single.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}
.library, .tour {
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    z-index: 5;
}
.tour:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 1000px;
    background: linear-gradient(to left, rgba(26, 25, 25, 30%), rgba(26, 25, 25, 100%));
}
.tour:before {
    background: linear-gradient(to left, rgba(26, 25, 25, 00%), rgba(26, 25, 25, 70%));
}

.library-banner {
    font-weight: 500;
    font-family: 'FoglihtenNo06';
    text-transform: uppercase;
    /*	padding: 220px 550px 268px 0;*/
    padding: 22% 44% 18% 0;
    color: var(--secondary-color);
    position: relative;
    /*z-index: 10;*/
}
.library-banner h2 {
    font-size: 56px;
}
.library .content-wrapper > .container-fluid, .tour .content-wrapper > .container-fluid {
    position: relative;
    overflow: hidden;
}
.title {
    font-family: 'FoglihtenNo06';
    text-transform: uppercase;
    font-size: 36px;
}
.all-post {
    text-transform: uppercase;
}
.library-blok {
    padding: 25px 0;
    border-top: 1px solid var(--main-color);
    border-bottom: 1px solid var(--main-color);
}
.library-blok-title {
    font-size: 25px;
    font-weight: 700;

}
.library-header h4 {
    font-size: 20px;
}
.library-header h6 {
    font-size: 14px;
    line-height: 20px;
}
.library-header .block{
    border-radius: 3px;
    background: linear-gradient(112deg, #343534 0%, #1F1F1F 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12% 5%;
    height: 250px;
}

/*.library .content-wrapper > .container-fluid:before,*/
/*.tour .content-wrapper > .container-fluid:before {*/
/*	content: '';*/
/*	position: absolute;*/
/*  	top: 0;*/
/*  	left: 0;*/
/*	width: 100%;*/
/*!*	height: 205px; размер должен зависить от размера экрана *!*/
/*	height: 301px;*/
/*   background: linear-gradient(to top, rgba(26, 25, 25, 100%), rgba(26, 25, 25, 80%), rgba(26, 25, 25, 0%));*/
/*}*/
.tour .content-wrapper > .container-fluid:before {
    min-height: 302px;
}
.library-bg, .tour-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/library-bg.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top;
    z-index: -1;
}
.tour-bg {
    background-size: cover;
}
.library .content-wrapper > .container-fluid .container, .tour .content-wrapper > .container-fluid .container {
    position: relative;
    z-index: 10;
}
.tour-block {
    border-radius: 10px;
    background: #313131;
    padding: 50px 35px;
}
.tour-block figure {
    margin-left: -100px;
    border-radius: 10px;
    overflow: hidden;
    display: table;
}
.tour-block a {
    background-color: var(--secondary-color);
    padding: 10px 20px;
    color: #000 !important;
    border-radius: 20px;
    text-transform: uppercase;
}
.tour-container {
    justify-content: space-between;
}
.library-book {
    border-radius: 5px;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.library-book-block {
    background: #343534;
    padding-bottom: 30px;
    box-sizing: border-box;
    border-radius: 5px;
}

.library-book-block img {
    max-width: 220px;
    height: auto;
    padding: 30px;
}

.library-line {
    height: 4px;
    width: 100%;
    background: var(--secondary-color);
    margin-bottom: 30px;
}
.library-v-line {
    height: auto;
    width: 1px;
    border: 2px solid var(--secondary-color);
}

/*==//==//==//==//==//==//==//==//==//==//==  library category page  ==//==//==//==//==//==//==//==//==//==//==//==//==//==//*/

.library-category-bg {
    background-repeat: no-repeat;
    background-size: cover;
}
.library-category-bg-1 {
    background-image: url('../img/library-category-bg-1.jpg');
}
.library-category-bg-2 {
    background-image: url('../img/library-category-bg-2.jpg');
}
.library-category-bg-3 {
    background-image: url('../img/library-category-bg-3.jpg');
}
.library-category-bg-4 {
    background-image: url('../img/library-category-bg-4.jpg');
}
.library-category-bg-5 {
    background-image: url('../img/library-category-bg-5.jpg');
}
.library-category-bg-6 {
    background-image: url('../img/library-category-bg-6.jpg');
}
.library-category-bg-7 {
    background-image: url('../img/library-category-bg-7.jpg');
}
.library-category-bg-8 {
    background-image: url('../img/library-category-bg-8.jpg');
}

.library-single {
    background-image: url('../img/library-single.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}
.miniature-single {
    background-image: url('../img/miniature-bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}
.book-category {
    background-image: url('../img/book-bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}
.category-conference {
    background-image: url('../img/category-conference.png');
    background-repeat: no-repeat;
    background-size: cover;
}
.bibliography {
    background-image: url('../img/bibliography/bibliography.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}
.bibliography-single {
    background-image: url('../img/bibliography/bibliography_single.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}
.book-category-2 {
    background-image: url('../img/book-bg-2.jpg');
}
.bobur-journal {
    background-image: url('../img/book-bg-3.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}
.library-academic {
    background-image: url('../img/library-academic.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}
.single-academic {
    background-image: url('../img/single-academic.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}
.miniature-single .library-bg, .book-category .library-bg,.bobur-journal .library-bg{
    background-position-y: 800px;
}
.library-category-bg .library-banner, .library-single .library-banner{
    min-height: 700px;
}
/*.library-single .container-fluid{*/
/*	background-image: url('../img/library-single-bg.png');*/
/*background-size: 63% 91%;*/
/*  background-repeat: no-repeat;*/
/*  background-position: right 205px;*/
/*}*/



/*.library-img {
  position: relative;
  display: inline-block;
  background-color: transparent;
}

.library-img:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1a1919;
  mix-blend-mode: exclusion;
  opacity: 0.8;
  z-index: -1;
}*/
/*==//==//==//==//==//==//==//==//==//==//==  about page  ==//==//==//==//==//==//==//==//==//==//==//==//==//==//*/

.about-page {
    background-image: url('../img/about-bg.jpg');
}
.about-page:before {
    width: 100%;
}
.about-block {
    background: rgba(42, 42, 53, 0.20);
    backdrop-filter: blur(10px);
    padding: 20px;
}
.about-block .d-flex{
    padding: 85px;
    border: 2px solid #3F3C3C;
}
.about-block .d-flex .img-block{
    margin-right: 85px;
}
.about-block .secondary-color{
    color: #000;
    padding: 8px 14px;
    border-radius: 2px;
    background-color: var(--secondary-color);
}
.about-block .secondary-color:hover{
    color: #000101;
}
.about-page .table td{
    padding: 15px 30px;
}
.about-block .d-flex div{
    flex: 0;
}
.about-block .d-flex div + div{
    flex: 1;
}

/*==//==//==//==//==//==//==//==//==//==//==  foundation page  ==//==//==//==//==//==//==//==//==//==//==//==//==//==//*/


.foundation-page {
    background-image: url('../img/foundation-bg.jpg');
}
.foundation-page:before {
    width: 100%;
}
.fond-block {
    background: #343534;
    padding: 25px 20px;
}
.fond-block p {
    line-height: 1.4rem;
}
.fond-flags img {
    max-width: 148px;
    max-height: 148px;
}
.fond-flags .fond-block {
    height: 148px;
}
/*==//==//==//==//==//==//==//==//==//==//==  scientific page  ==//==//==//==//==//==//==//==//==//==//==//==//==//==//*/

.scientific {
    background-image: url('../img/scientific/scientific-bg.jpg');
    background-repeat: no-repeat;
    background-size: contain;
}

/*==//==//==//==//==//==//==//==//==//==//==  bibliography page  ==//==//==//==//==//==//==//==//==//==//==//==//==//==//*/
.bibliography-search-container {
    border-radius: 10px;
    border: 1px solid #FFF ;
    opacity: 0.5;
    padding: 16px;
}
.bibliography-search-container input {
    background: transparent;
    border: 0;
    color: var(--main-color);
    font-size: 20px;
    width: 100%;
}
.bibliography-search-container input:focus {
    outline: 0;
}
.bibliography-category a {
    text-transform: uppercase;
    color: var(--main-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.bibliography-category a:hover, .bibliography-category a.active{
    border: 1px solid var(--secondary-color) !important;
    border-radius: 8px;
    color: var(--secondary-color);
}

.bibliography-item {
    flex: 0 1 312px;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    transition: border-color 0.3s ease, color 0.3s ease, fill 0.3s ease;
    height: 328px;
}
.bibliography-title {
    min-height: 105px;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
}
.bibliography-item:hover {
    border-color: var(--secondary-color);
}

.bibliography-item:hover .bibliography-title,
.bibliography-item:hover p,
.bibliography-item:hover a {
    color: var(--secondary-color);
}

.bibliography-item:hover svg path {
    fill: var(--secondary-color);
}
.bibliography-single-content *{
    text-align: justify;
}
.bibliography-single-content a {
    color: var(--secondary-color);
    transition: color 0.3s ease;
    text-decoration: underline;
}
.bibliography-comments .form-control:focus {
    background: #141414;
    box-shadow: 0 0 0 0.15rem var(--secondary-color);
    border-color: var(--secondary-color);
}

.bibliography-single .bibliography-category{

}
.bibliography-single .bibliography-category a{
    flex: 1 0 calc(16% - 10px); /* 100% / 7 элементов минус gap */
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    border: 1px solid transparent;
}
.bibliography-single .bibliography-category a:hover{
    border: 1px solid var(--secondary-color);
    border-radius: 8px;
    color: var(--secondary-color);
}
.bibliography-single .bibliography-item {
    max-width: 100%;
    flex: 1 1 calc(100% - 20px);
    padding: 30px;
}
.bibliography-single hr.mx-auto {
    width: 300px;
}
.bibliography-single .bibliography-stars{
    background: var(--bg-secondary);
    padding: 17px 33px;
    border-radius: 8px;
    margin-left: 10px;
}
.stars-send .btn {
    width: 100%;
    display: block;
    padding: 17px 10px;
    color: var(--secondary-color);

}
.stars-send .btn:hover {
    transition: color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
}
.stars-send {
    background: #202020;
    margin-left: 10px;
    border-radius: 8px;
}
/*.stars-send:hover {*/
/*    transition: color 0.3s ease, color 0.3s ease, border-color 0.3s ease;*/
/*    border: 1px solid var(--secondary-color);*/
/*    color: var(--secondary-color);*/
/*}*/
.social-icon > div {
    width: 40px;
    height: 40px;
    margin-left: 5px;
    border-radius: 5px;
    border: 2px solid var(--main-color);
}
.post-views-icon {
    margin-right: 15px;
}
.bibliography-comments .form-control {
    background: #141414;
    color: var(--main-color);
}
.bibliography-comments .form-control::placeholder{
    color: var(--bg-secondary);
}
.bibliography-comments .btn {
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    border: 1px solid var(--main-color);
    transition: 0.3s all;
    color: var(--main-color);
}
.bibliography-comments .btn:hover {
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}
.user-comments .comment{
    border-radius: 10px;
    border: 1px solid var(--grey-color);
    background: var(--bg-secondary);
    padding: 24px 25px;
}
.user-comments .comment-number {
    display: inline-block;
    padding: 5px 10px;
    font-size: 14px;
    color: var(--grey-color);
    border-radius: 10px;
    border: 1px solid var(--grey-color);
}
.user-comments .comment span {
    color: var(--grey-color);
    font-size: 14px;
    font-weight: 300;
}

/*//////////////////////////////////////*/


/*.comment-sent-box textarea {*/
/*    color: var(--grey-color);*/
/*    height: 160px;*/
/*    width: 100%;*/
/*    margin-bottom: 10px;*/
/*    background: transparent;*/
/*    border: none;*/
/*    resize: none;*/
/*}*/
/*.comment-sent-box textarea:focus {*/
/*    outline: 0;*/
/*}*/
/*.comment-sent-btn {*/
/*    padding: 14px 28px;*/
/*    border-radius: 10px;*/
/*    background: var(--bg-main-color);*/
/*}*/
/*.comment-sent-box .d-flex {*/
/*    font-size: 14px;*/
/*}*/

.comments .bg-second {
    border-radius: 10px;
    padding: 16px 22px 32px;
}
.comments .comment-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #F59638;
    display: flex;
    align-items: center;
    justify-content: center;
}



/*==//==//==//==//==//==//==//==//==//==//==  login category page  ==//==//==//==//==//==//==//==//==//==//==//==//==//==//*/

.login-page, .register-page {
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
}
.login-page {
    background-image: url('../img/login-bg.jpg');
}
.register-page {
    background-image: url('../img/reg-bg.jpg');
}
.login-page .navbar, .register-page .navbar {
    width: 50%;
}
.login-page:before, .register-page:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    min-height: 100vh;
    background: linear-gradient(to left, rgba(26, 25, 25, 0%),  rgba(26, 25, 25, 80%), rgba(26, 25, 25, 100%));
}
.login-page main .container, .register-page main .container {
    position: relative;
    z-index: 20;
}
.login-page main .d-flex, .register-page main .d-flex {
    min-height: 800px;
}
.login-block {
    padding: 75px 70px 85px;
    background-color: rgba(20, 20, 20, 1);
}
.login-block button {
    background: var(--secondary-color) !important;
    color: var(--bg-secondary) !important;
}
.login-block .position-relative input {
    padding-right: 40px;
}
.login-block .position-relative svg {
    position: absolute;
    bottom: 6px;
    right: 10px;
}
.col-lg-6.position-relative svg{
    right: 15px;
}

/*==//==//==//==//==//==//==//==//==//==//==  login foundation page  ==//==//==//==//==//==//==//==//==//==//==//==//==//==//*/

.genealogy .container h1 {
    padding: 250px;
    font-family: 'FoglihtenNo06';
    text-transform: uppercase;
    font-size: 36px;
    color: var(--secondary-color);
    text-align: center;
}
.genealogy-bg p{
    color: var(--secondary-color);
}

/*==//==//==//==//==//==//==//==//==//==//==  media  ==//==//==//==//==//==//==//==//==//==//==//==//==//==//*/
@media (min-width: 992px) {
    .nav-item {
        text-align: center;
    }
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 0;
    }
}

@media(max-width: 1199px) {
    .footer-body {
        flex-wrap: wrap;
    }
    .footer-body > div {
        width: 30%;
    }
    .footer-body > div:nth-child(3) {
        flex: auto;
    }
    .tour .col-45 {
        width: 90%;
    }
}
@media(max-width: 991px) {
    .col-30 {
        width: 100%;
    }
    .main-block-one h1 {
        font-size: 40px;
        margin-top: 150px;
    }
    .main-page {
        background-image: url(../img/main-bobur-bg4.jpg);
    }
    .main-block-one .container {
        min-height: 650px;
    }
    .library-category-bg .library-banner, .library-single .library-banner{
        min-height: 500px;
    }
    .main-page .mb-4.fs-5{
        font-size: 16px !important;
    }
    .library-single {
        background-size: inherit;
    }
    .main-block-one {
        background-image: url(../img/main-bobur2.png);
    }

    .main-block-one .d-flex {
        padding: 370px 0 0;
    }
    .main-block-one:after {
        content: none;
    }
    .about-block .d-flex {
        padding: 30px;
    }
    .about-block a.secondary-color{
        font-size: 14px;
    }

    .main-block-one {
        min-height: 650px;
        background-position-x: center;
    }
    .about-block .d-flex {
        flex-direction: column;
    }
    .about-block .d-flex .img-block{
        display: table;
        margin: 0 auto;
    }
    .register-page .container > .d-flex, .login-page .container > .d-flex {
        justify-content: center;
    }
    .login-page .navbar, .register-page .navbar {
        width: 100%;
    }
    .tour-block figure {
        margin: 0 auto 20px;
    }
    .text-video {
        width: auto;
        text-align: center;
        left: 0;
        padding: 0 20px;
    }
    .main-block-three .title {
        font-size: 28px;
    }
    .main-block-three p {
        font-size: 16px;
        line-height: 30px;
    }
}
@media(max-width: 767px) {

    .footer-body > div {
        width: 45%;
    }
    .library-banner {
        padding: 15% 18%;
    }
    .library-banner h2 {
        font-size: 30px;
    }
}
@media(max-width: 580px) {
    .about-block a.secondary-color{
        font-size: 10px;
    }
    .footer-body > div {
        width: 90%;
    }
    .footer-body > div:first-child{
        padding-left: 20px;
    }
    .footer-body > div:last-child{
        padding-right:  20px;
    }
    .footer {
        justify-content: center;
        flex-wrap: wrap;
    }
    .footer p {
        text-align: center;
    }
    .footer p:first-child {
        margin-bottom: 10px;
    }
}

