/*
 * Base structure
 */

.dark-bg {
    color: #fff;
    text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
}

/* Links */

body.index a,
body.index a:focus,
body.index a:hover{
	color: #212529;
	text-decoration: none;
}

body .dark-bg a,
body .dark-bg a:focus,
body .dark-bg a:hover {
    color: #fff;
	text-decoration: none;
}
/* Header */

.wrapper {
    margin-top: -5px;
}

.thumbnail {
	max-width: 1200px;
}

/* Video */

header.video-bg {
    overflow: hidden;
    position: relative;
    height: 100%;
    width: 100%;
    padding-top: 45%;
}

@media (max-width: 767px) {
    header.video-bg {
		padding-top: 60%;
    }
}

header.video-bg video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

header.video-bg .overlay {
    background: rgba(0, 0, 0, 0.6);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
}

header .slogan {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding-bottom: 2em;
    text-transform: uppercase;
    font-size: 3em;
    line-height: 1.25em;
}

@media (max-width: 767px) {
    header .slogan {
        font-size: 2em;
        padding-bottom: 1em;
    }
}

@media (max-width: 576px) {
    header.video-bg {
        background: url('../img/header/header-video-poster.jpg') center center / cover no-repeat;
    }
    header.video-bg video {
        display: none;
    }
    header .slogan {
        font-size: 1.5em;
        padding-bottom: 1em;
    }
}


/* Squared blocks: start */

.square__wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    /* little css hack. height ratio in fact */
}

.square-50.square__wrapper {
    padding-bottom: 50%;
}

.square__content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* /Squared blocks: end */
.main-logo-wrapper {
	flex-grow: initial;
}
.main-logo {
    text-indent: -999em;
    background: url(../img/header/dev.logo.png) no-repeat;
    background-size: cover;
    width: 145px;
    height: 56px;
    margin-left: 2em;
    display: block;
}

.logos {
	float: right;
	margin-top: -60px;
}


.search-box {
}
.search-box input[type="text"] {
	background: transparent;
	border: none;
	border-bottom: 1px solid #ccc;
	color: #fff;
	font-size: 1.3em;
	width: 100%
}
.inner-page .search-box input[type="text"] {
	color: #333;
	border-bottom-color: #333;
}
.search-box input[type="text"]:focus-visible {
	outline: none;
}
.search-icon {
	position: absolute;
	margin-left: -25px;
	margin-top: -5px;
    background: url(../img/header/dev.search-submit-icon.png) no-repeat;
    min-width: 24px;
    height: 24px;
	border: none;
}
.inner-page .search-icon {
    background: url(../img/header/search-submit-icon-inner.png) no-repeat;
}
.navbar .navbar-toggler {
    color: rgba(255,255,255,.5);
    border-color: rgba(255,255,255,.1);
}
.navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* Inner pages custom styles: start */
body.inner-page {
    color: #333;
    text-shadow: none;
}
body.inner-page .main-logo {
    background: url(../img/header/logo-inner.png) no-repeat;
    background-size: cover;
}

body.inner-page .langs a {
    color: #333;
}

body.inner-page .navbar .navbar-nav .nav-link {
    color: #333;
}

body.inner-page .navbar .navbar-toggler {
    color: rgba(0,0,0,.5);
    border-color: rgba(0,0,0,.1);
}
body.inner-page .navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

body.inner-page footer {
	margin-top: 3em;
}

.section-title {
    width: 100%;
    text-align: center;
    /* text-transform: uppercase; */
    font-size: 3em;
    font-weight: bolder;
    background: linear-gradient(to bottom, #0C54A0 35%, #93CCF0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-navbar {
    text-transform: uppercase;
    font-size: 1.25em;
	width: 100%;
}
.section-navbar .navbar-nav .nav-item.active .nav-link {
    position: relative;
    font-weight: bold;
    color: #0C55A1;
}

.section-navbar .navbar-nav .nav-item.active .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -10%;
    right: -10%;
    height: 4px;
    background: url(../img/header/active-section-shadow.png) center center / cover no-repeat;

}

/*
.section-navbar .navbar-nav .nav-item .nav-link {
	width: max-content;
	margin: 0 auto;
}
.section-navbar .navbar-nav .nav-item:first-child .nav-link {
	margin: 0;
}
.section-navbar .navbar-nav .nav-item:last-child .nav-link {
	margin: 0 0 0 auto;
}
*/

/* Inner pages custom styles: end */

.bps-main-layer {
    background: url(../img/body/bps/logo.jpg) center center / cover no-repeat;
    width: 100%;
    height: 0;
    padding-top: 46.3%;
    /* 889/1920 */
}

.bps-main-layer .slogan {
    position: absolute;
    bottom: 0;
    padding-bottom: 50px;
    text-transform: uppercase;
    font-size: 4em;
    line-height: 1.15em;
}

.bps-popup-item {
    overflow: hidden;
    position: relative;
    height: 0;
    padding-top: 31.6%;
    /* 608/480 /4 */
}

.bps-popup-item .content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: .5em;
    display: flex;
    text-transform: uppercase;
    text-align: center;
    font-size: 2em;
    line-height: 1.25em;
}

.bps-popup-item .content a {
    text-decoration: none;
}

.bps-popup-item .content .title {
    margin: auto;
}

.bps-popup-item::before {
    content: '';
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    margin-left: -15px;
    background-color: #005cff;
    opacity: 0;
    transition: opacity .1s;
}

.bps-popup-item:hover::before {
    opacity: 0.4;
}

.bps-popup-item-1 {
    background: url(../img/body/bps/item_1.jpg) center center / cover no-repeat;
}

.bps-popup-item-2 {
    background: url(../img/body/bps/item_2.jpg) center center / cover no-repeat;
}

.bps-popup-item-3 {
    background: url(../img/body/bps/item_3.jpg) center center / cover no-repeat;
}

.bps-popup-item-4 {
    background: url(../img/body/bps/item_4.jpg) center center / cover no-repeat;
}


/* Main menu (navbar) logo */

.main-navbar .navbar-logo {
    z-index: -1;
    opacity: 0;
    text-indent: -999em;
    background: url(../img/header/logo-index-small.png) no-repeat;
    width: 132px;
    height: 50px;
    position: absolute;
    margin-top: -5px;
    margin-left: -142px;
}

.main-navbar.fixed-top .navbar-logo {
    z-index: 0;
    opacity: 1;
}

.contact-link {
    display: block;
    text-align: right;
    padding-top: 12px;
}


/* NAVBAR */

.navbar .navbar-nav .nav-item {
    text-align: center;
}

.main-navbar .navbar-nav .nav-item.active .nav-link {
    font-weight: bold;
}
.main-navbar .navbar-nav .nav-link {
    color: #fff;
}

.main-navbar li a {
    font-size: 1rem !important;
    padding: .25rem !important;
    text-decoration: none !important;
    text-transform: uppercase;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .main-navbar li a {
        font-size: .95rem !important;
        padding: .5rem !important;
		padding-top: 0 !important;
    }
    /* 2019-03-16 more padding */
/*  2023-10-01 remove fix
    .main-navbar:not(.fixed-top) li a {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
*/
}
	/* 2023-10-01 crazy fix */
.main-navbar li:nth-child(5) a {
    text-transform: none;
}

.main-navbar {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
	padding-top: 0;
}

@media (max-width: 767px) {
    body.index #navbarMain {
		background-color: #333;
		z-index: 1;
		position: fixed;
		right: 5px;
	}
}

@media (min-width: 576px) {
    .main-navbar:not(.fixed-top) {
        max-width: 510px;
    }
}

@media (min-width: 768px) {
    .main-navbar:not(.fixed-top) {
        max-width: 690px;
    }
}

@media (min-width: 992px) {
    .main-navbar:not(.fixed-top) {
        max-width: 930px;
    }
}

@media (min-width: 1200px) {
    .main-navbar:not(.fixed-top) {
        max-width: 1110px;
    }
}

.fixed-navbar-holder {
    width: 100%;
    height: 52px;
    display: none;
}

.navbar-logo {
    transition: opacity 0.2s;
}


/* Langs */

.langs {
	margin-right: 1em;
}

.langs span {
    float: left;
}

.langs span a {
	font-size: 1.3em;
    padding: 4px 6px 6px;
    display: block;
}

.langs span.current a,
.langs span:hover a {
    font-weight: bold;
}

.langs a {
    color: #eee;
    line-height: 1em;
    padding: 0;
}



/* Social icons */

.social-media {
}

.social-media>span>a>img {
    margin-left: 17px;
	width: 35px;
	height: 35px;	
}

@media (min-width: 992px) {
    .social-media>span>a>img {
		margin-left: 12.5px;
		margin-right: 12.5px;
        width: 50px;
        height: 50px;
    }
}

/* Main */
.container.main {
    position: sticky;
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0 0 30px 15px rgb(0 0 0 / 15%);
	padding-right: 40px;
	padding-left: 40px;
	padding-top: 25px;
}

main {
    background: #fff;
}


/* Footer */

footer {
    background: url('../img/footer/backgroud.jpg');
    height: 8em;
    background-size: cover;
}

.rusal-logo {
    background: url('../img/footer/rusal.png');
    height: 4em;
    width: 10em;
    background-size: cover;
}

.samruk-logo {
    background: url('../img/footer/samruk.png');
    height: 4em;
    width: 12em;
    background-size: cover;
}



/* Custom default button */

.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
    color: #333;
    text-shadow: none;
    /* Prevent inheritance from `body` */
    background-color: #fff;
    border: .05rem solid #fff;
}



/* CUSTOM */


/* ---------------------------------------------------------------
    BASIC STYLING
---------------------------------------------------------------- */

html {
    -webkit-font-smoothing: antialiased;
    overflow-y: scroll;
    overflow-x: auto;
    height: 100%;
}

body {
    font-family: Tahoma, Verdana, Segoe, sans-serif;
    height: 100%;
    font-size: 10px;
}

@media (min-width: 768px) {
    /* @screen-sm */
    body {
        font-size: 10px;
    }
}

@media (min-width: 992px) {
    /* @screen-md */
    body {
        font-size: 11px;
    }
}

@media (min-width: 1200px) {
    /* @screen-lg */
    body {
        font-size: 12px;
    }
}

@media (min-width: 1640px) {
    /* @screen-xl */
    body {
/*        font-size: 12px;*/
    }
}


/*	BOGATYR KOMIR STYLE BLOCKs	*/

.lang-header {
    margin-top: 5px;
}


/*	/BOGATYR KOMIR STYLE BLOCKs	*/


/*  Paginator */

.paginator {
    
}

.paginator ul {
    display: flex;
	justify-content: center;
}

.paginator li {
    display: inline;
    list-style-type: none;
    margin: 0 1px;
    padding: 4px 6px;
    line-height: 1em;
    font-size: 12px;
    /* font-weight: bold; */
    /* background: #ddd; */
}

.paginator li a {
    text-decoration: none !important;
}

.paginator li.current {
    /* background: none; */
	font-weight: bold;
}


/* Visuals */

.tend-item a h5 span {
    font-size: 14px;
}

.content-header h2 {
    font-size: 18px;
}

li.nav-item ul {
    background-color: #085793;
}

li.nav-item ul a {
    text-transform: none;
}

.theme-color {
    color: #0e64c7;
}

.theme-bg-color {
    background-color: #0e64c7;
}


/* Main news: start */

.main-news {
    position: relative;
    overflow: hidden;
}

.main-news img {
    max-width: 100%;
    height: auto;
}

.main-news .announcement {
	/* 2020-11-26
	 * rawmind@psgroup
	 * announce image fix
	 */
    transition-duration: 250ms;
    transform: translateY(5em);
	opacity: 0;

    position: absolute;
    width: 100%;
    bottom: 0;
    background-color: #eee;
    padding: 1em 1em 1em;
    color: #333;
    text-shadow: none;
	/* text-transform: uppercase; */
	font-weight: bold;
}
.main-news:hover .announcement {
	transform: none;
	opacity: 0.9;
}

/* Main news: end */

.section .header {
    font-size: 2.5em;
    font-weight: bold;
    text-transform: uppercase;
}

/* Actual projects: start */
.actual-projects .square__content {
	padding: 1.5em;
}
.square__content .project {
	height: 100%;
	position: relative;
}

.square__content .project .title {
	font-weight: bold;
	text-transform: uppercase;
	padding-bottom: 0.75em;
}
.square__content .project .preview {
	line-height: 1.35em;
}


.square__content .project .image {
/*	height: 40% !important;*/
	width: 100%;
	position: absolute;
	bottom: 0;
}
.square__content .project img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
/* Actual projects: end */


/* Magazine archive: start */
.magazine-preview {
	line-height: 1.2em;
}
.magazine-preview .title {
	font-weight: bold;
	text-transform: uppercase;
	padding-bottom: 0.75em;
}

/* Magazine archive: end */


/* Square news: start */
.square__content {
    background: linear-gradient(to bottom right, #fff 0%, #fff 50%, #eee 100%);
}
.square__content .news {
    padding: 2em;
}

.square__content .news .title {
    font-weight: bold;
	text-decoration: underline;
}
.square__content .news img {
	/* 2023-04-10 */
	/* display: none; */
    position: absolute;
    max-width: 100%;
    opacity: 0;
    top: 0;
    left: 0;
    transition: opacity 0.5s;
}
.square__content .news:hover img {
	opacity: 1;
}
/* Square news: end */

/* Press center news: start */
.news-list > .news-item {
	position: relative;
}	
.news-list > .news-item::after {
	content: "";
	position: absolute;
	right: 10em;
	left: 10em;
	bottom: -1.5em;
	height:	1px;
	background-color: rgba(50, 50, 50, 0.1);
}
.news-list > .news-item .title {
	font-size: 1.1em;
	font-weight: bold;
}

.magazine_archive {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.magazine_archive a > img {
	margin: 1em;
	border: 1px solid #eee;
}
/* Press center news: end */


/* Bootstrap expansion: start */
@media (min-width: 992px) {
	.mx-lg-6 {
		margin-left: 6rem !important;
		margin-right: 6rem !important;
	}
}

/* Bootstrap expansion: end */



body.mourning { 
	-webkit-filter: grayscale(100%);
	-moz-filter: grayscale(100%);
	-ms-filter: grayscale(100%);
	-o-filter: grayscale(100%);
	filter: grayscale(100%);
	filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale");
	filter: gray; /* IE 6-9 */
	-webkit-filter: grayscale(1);
}
body.mourning header.video-bg {
		background: url('../img/header/header-video-poster.jpg') center center / cover no-repeat;
}
body.mourning header.video-bg video {
	display: none;
}


body .mourning-banner {
	display: none;
	background: #000;
	color: #fff;
	width: 100%;
	padding: 25px;
	font-size: 1.5em;
	font-weight: bold;
	text-align: center;
}

body.mourning .mourning-banner {
	display: block;
}


iframe.youtube-video {
	padding: 0.25rem;
    background-color: #fff;
    border: 1px solid #dee2e6 !important;
    border-radius: 0.25rem;
}

/* HotLine */
.hotbtn {
    position: fixed;
    top: 75%;
    z-index: 1000;
    right: 0px;
    background-color: #E9552F;
    color: #ffffff;
	font-size: 14px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
	min-height: 50px;
}

.hotbtn.rusal {
	top: 67%;
	background-color: #3F91CD;
}

@media (min-width: 1500px) {
	.hotbtn.rusal {
	top: 69% !important;
	}
}

.hotbtn a {
	text-decoration: none;
	color: #ffffff;
}

.hotbtn .hotline {
    display: none;
}

.hotbtn:hover .hotline {
    display: block;
}

/* 2022-06-13 Lense blur for news list images */
.news-item img {
    box-shadow: 5px 10px 15px 0 rgb(0 0 0 / 20%);
    transition: all .5s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.news-item:hover img {
    box-shadow: 1px 1px 10px 0 rgb(0 0 0 / 10%);
	-webkit-filter: brightness(1.1);
}

.news-item .glow-wrap {
    overflow: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
}

.news-item .glow {
    display: block;
    position: absolute;
    width: 40%;
    height: 200%;
    background: rgba(255, 255, 255, .2);
    top: 0;
    filter: blur(5px);
    transform: rotate(45deg) translate(-450%, -50%);
    transition: all .5s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.news-item:hover .glow {
    transform: rotate(45deg) translate(450%, 0);
    transition: all 1s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.embed-responsive-9by16::before{  
    padding-top: 177%;
}



@media (min-width: 992px) {
	.container.main {
		margin-top: -50px;
		z-index: 5;
	}
}

@media (max-width: 760px) {
	.main-logo {
		margin-left: 0;
	}
	.main-navbar {
		padding-left: 0;
	}
	.search-box {
		min-width: 5rem;
	}
	.search-box .search-icon{
		margin-left: -20px;
		margin-top: 0;
		min-width: 16px;
		height: 16px;
		background-size: contain;
	}
	.social-media {
		display: flex;
		width: 100%;
		justify-content: flex-end;
		margin-right: 1rem;
	}
	.social-media>span>a>img {
		margin-left: 10px;
		width: 20px;
		height: 20px;
	}
	.slogan .logos {
		position: absolute;
		bottom: 1em;
		right: 1em;
	}
	.square__content .announcement .preview {
		line-height: 0.9rem;
	}
	.square__content .project .preview {
		line-height: 1.20em;
	}
}

ol.search-result li {
	margin-bottom: 0.5em;
}