/* ***************** */
body {
	min-height: 100%;
	display: grid;
	grid-template-rows: auto 1fr auto;	
}

.sticky {
	position: relative;
	top: 0;
    background: url(img/bkgr.jpg) center no-repeat;
    background-size: cover;
    height: 250px;
}


.sticky .navbar {
	display: flex!important;
    flex-direction: column!important;
}
.sticky::after {
	content: '';
	position: absolute;
	top: 0;
	background: rgba(0, 0, 0, 0.4);
	width: 100%;
	height: 250px;
}

.header_h1 {
	font-family: "Kommersant-Modern";
    line-height: .92;
	color: white;
    font-size: 50px;
	position: fixed;
    left: 60px;
    top: 100px;
}


.g-el-resursy-title
{
	color: black;
}

.row
{
	margin-right: 20px;
    margin-left: 20px;
}

ul {
	list-style-type: disc;
}

.img-fluidk
{
	width: 100%;
    height: 200px;
    object-fit: cover;
}


/***************************/
/********** Slider *********/
/***************************/

.history .cd-h-timeline {
    opacity: 0;
    transition: opacity 0.2s
}

.history .cd-h-timeline--loaded {
    opacity: 1
}

.history .cd-h-timeline__dates {
    position: relative;
    height: 100%;
    margin: 0;
    overflow: hidden
}

.history .cd-h-timeline__line {
    position: absolute;
    z-index: 1;
    left: 0;
    top: 49px;
    height: 2px;
    transition: transform 0.4s, -webkit-transform 0.4s
}

.history .cd-h-timeline__filling-line {
    position: absolute;
    z-index: 9;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: #7D2624;
    -webkit-transform: scaleX(0);
    -ms-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: left center;
    -ms-transform-origin: left center;
    transform-origin: left center;
    transition: transform 0.3s, -webkit-transform 0.3s
}

.history .cd-h-timeline__date {
    position: absolute;
    bottom: 0;
    z-index: 2;
    text-align: center;
    font-size: 0.8em;
    padding-bottom: 0.75em;    
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-decoration: none
}

@media (min-width: 64rem) {
    .history .cd-h-timeline__date {
        font-size: 0.7em
    }
}

.history .cd-h-timeline__date--selected {
    pointer-events: none
}

.history .cd-h-timeline__navigation {
    position: absolute;
    z-index: 1;
    top: 50%;
    height: 34px;
    width: 34px;
    background-color: #bfa773b3;
    border-radius: 50%;
}

.history .cd-h-timeline__navigation:hover {
    background-color: #bfa773;
    transition: all .15s ease;
}

.history .cd-h-timeline__navigation::after {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    top: 17px;
    left: 15px;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    background: url('img/cd-arrow.svg') no-repeat 0 0;
}

.history .cd-h-timeline__navigation--prev {
    left: 0;
    -webkit-transform: translateY(-50%) rotate(180deg);
    -ms-transform: translateY(-50%) rotate(180deg);
    transform: translateY(-50%) rotate(180deg)
}

.history .cd-h-timeline__navigation--next {
    right: 0;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.history .cd-h-timeline__navigation--inactive {
    background-color: #f3eeee;
}

.history .cd-h-timeline__navigation--inactive:hover {
    background-color: #bfa773;
    transition: all .15s ease;
}


.history .cd-h-timeline__events {
    position: relative;
    width: 100%;
    overflow: hidden;
    transition: height .4s
}

.history .cd-h-timeline__event {
    position: absolute;
    z-index: 1;
    width: 100%;
    left: 0;
    top: 0;
    -webkit-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    transform: translateX(-100%);
    opacity: 0;
    -webkit-animation-duration: 0.4s;
    animation-duration: 0.4s;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out
}

.history .cd-h-timeline__event--selected {
    position: relative;
    z-index: 2;
    opacity: 1;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0)
}

.history .cd-h-timeline__event--enter-right,
.history .cd-h-timeline__event--leave-right {
    -webkit-animation-name: cd-enter-right;
    animation-name: cd-enter-right
}

.history .cd-h-timeline__event--enter-left,
.history .cd-h-timeline__event--leave-left {
    -webkit-animation-name: cd-enter-left;
    animation-name: cd-enter-left
}

.history .cd-h-timeline__event--leave-right,
.history .cd-h-timeline__event--leave-left {
    animation-direction: reverse
}

.history .cd-h-timeline__event-content {
    width: 100%;
}

.history .cd-h-timeline__event-title {
    font-weight: 700;
    font-size: 2.48832em;    
}

.history .cd-h-timeline__event-date {
    display: block;
    font-style: italic;
    margin: 0.5em auto;   
}

.history .cd-h-timeline__event-date::before {
    content: '- '
}

@-webkit-keyframes cd-enter-right {
    0% {
        opacity: 0;
        -webkit-transform: translateX(100%);
        transform: translateX(100%)
    }

    100% {
        opacity: 1;
        -webkit-transform: translateX(0%);
        transform: translateX(0%)
    }
}

@keyframes cd-enter-right {
    0% {
        opacity: 0;
        -webkit-transform: translateX(100%);
        transform: translateX(100%)
    }

    100% {
        opacity: 1;
        -webkit-transform: translateX(0%);
        transform: translateX(0%)
    }
}

@-webkit-keyframes cd-enter-left {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%)
    }

    100% {
        opacity: 1;
        -webkit-transform: translateX(0%);
        transform: translateX(0%)
    }
}

@keyframes cd-enter-left {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%)
    }

    100% {
        opacity: 1;
        -webkit-transform: translateX(0%);
        transform: translateX(0%)
    }
}

a.cd-h-timeline__date {
	color: #000;
    font-weight: bold;  
}

a.cd-h-timeline__date:hover {
	color: #bfa773;
}

.history .cd-h-timeline__date--selected {
    color: #bfa773;
	text-decoration: solid underline #bfa773 2px;
    font-weight: bold;    
}	

.history .cd-h-timeline__date--selected::after {
    background-color: #bfa773 !important;
	width: 5px;
}
.history .cd-h-timeline__filling-line {
    display: none;
}


.history .cd-h-timeline__date::after {
    content: '';
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    bottom: 4px;
    height: 70px;
    width: 2px;
	background-color: #000;
    transition: background-color 0.3s, border-color .3s;
}


.history .cd-h-timeline__date:hover::after {
    background-color: #bfa773;
}

.history .cd-h-timeline__date {
    padding-bottom: 35px;

}

.history .cd-h-timeline__container {
    position: relative;
    height: 200px;
    max-width: 1140px;
}

.history .cd-h-timeline__line {
    position: absolute;
    z-index: 1;
    left: 0;
    top: 150px;
}

.history .cd-h-timeline__date {
    padding-bottom: 84px;
    padding-top: 20px;
    font-size: 25px;
}

@media only screen and (max-width: 767px) {
    .history .cd-h-timeline__date {
        font-size: 20px!important;
    }
}

@media only screen and (max-width: 450px) {
    .history .cd-h-timeline__date {
        font-size: 18px!important;
    }
}

.history .cd-h-timeline__date {
    padding-bottom: 84px;
    padding-top: 20px;
    font-size: 20px;
}

.history .cd-h-timeline__line li:first-child {
    background: url('img/ris.png') repeat-x bottom left;
    height: 60px;
  /*width: 20000px; */ 
    position: relative;
    bottom: 60px;
}

.history .cd-h-timeline__dates {
    width: 100%;
}

.history .cd-h-timeline__container {
    position: relative;
    width: 100%;
    padding: 0 40px;
    max-width: 1140px;
}

ol {
    margin: 0;
    padding: 0;
}

ol.stage-context {
    margin: 0;
    padding: 20px 0 0 20px;
}

.text-replace {
    overflow: hidden;
    color: transparent;
    text-indent: 100%;
    white-space: nowrap;
}

.cd-h-timeline__date 
{
    width: 200px;
}


figure {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-bottom: 45px;
}


.stage {
    display: flex;
    width: 100%;
    align-items: start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.stage .text {
    padding-right: 20px;
}

.stage .text .paragraph, p {
	max-width: 100%;
	margin-left: 40px;
	margin-right: 20px;
	color: #000;
}

.buttons {
    display: flex;
    margin-left: 40px;
	padding-bottom: 40px;
	padding-top: 30px;
	align-items: center;
    justify-content: center;
}

figure img {
    border-radius: 4px;
}

.buttons a {
    display: flex;
    background: #afa939;
    border-radius: 4px;
    color: #fff;
    width: 70px;
    height: 40px;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    margin-right: 25px;
    text-decoration: none;
}

.buttons a:hover {
    background: #999331;
    transition: all .15s ease;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    max-width: 440px;
}

.half figure {
    width: 50%;
}

.line {
    width: 100%;
    margin: 0 0 30px 50px;
    color: #A3BDE4;
    font-size: 20px;
    font-weight: bold;
    position: relative;
    display: flex;
}

.line::after {
    content: '';
    position: absolute;
    background-color: #A3BDE4;
    width: 80%;
    height: 9px;
    top: 12px;
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
    right: 0;
}

.line2 {
    width: 100%;
    margin: 0 0 30px 50px;
    color: #A3BDE4;
    font-size: 20px;
    font-weight: bold;
    position: relative;
    display: flex;
}

.line2::after {
    content: '';
    position: absolute;
    background-color: #A3BDE4;
    width: 70%;
    height: 9px;
    top: 12px;
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
    right: 0;

}

.bold {
    font-weight: bold;
}

@media all and (max-width: 768px) {
    .stage-context {
        margin-bottom: 40px;
    }

    .half figure {
        margin-left: -10px;
    }

    figure {
        margin-bottom: 10px;
    }

    .line,
    .line2 {
        margin: 20px 0 30px 0;
    }

    .line2::after {
        width: 65%;
    }
}	


.homepage-title {
    font-size: 50px;
	padding-right: 20px;
	
}

@media only screen and (max-width: 767px) {
    .homepage-title {
        font-size: 40px;
    }
}

@media only screen and (max-width: 450px) {
    .homepage-title {
        font-size: 35px;
    }
}

/* ------------ ЗОЛОТЫЕ БУКВЫ --------------- */
.gold_old 
{
    display: inline;
	float: left;
	padding-right: 6px;
}

.gold_old h3
{
    color: #cfc09f;
	margin-bottom: 0px;
	padding-left: 0px;
	font-family: "Kommersant-Modern";
	font-size: 42px;
	font-weight: 200;
}

.gold_old h3:before
{
	font-family: "Kommersant-Modern";
    content: attr(data-double);
    position: absolute;    
    background: linear-gradient(to bottom, #cfc09f 14%,#634f2c 16%, #cfc09f 20%, #cfc09f 22%,#ffecb3 40%,#3a2c0f 84%); 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
	padding-right: 20px;
}

@media only screen and (max-width: 767px) {
    .gold_old h3
	{
        font-size: 30px;
    }
}