/* .body{
	background-color: black;
} */
/* @font-face {
	font-family: 'Qanelas';
	src: local("Qanelas-Medium"), url("../fonts/Qanelas-Medium.woff2") format("woff2"), url("../fonts/Qanelas-Medium.woff") format("woff");
	font-weight: 500;
	font-style: normal; }
  
  @font-face {
	font-family: 'Qanelas';
	src: local("Qanelas-SemiBold"), url("../fonts/Qanelas-SemiBold.woff2") format("woff2"), url("../fonts/Qanelas-SemiBold.woff") format("woff");
	font-weight: 600;
	font-style: normal; }
  
  @font-face {
	font-family: 'Qanelas';
	src: local("Qanelas-Regular"), url("../fonts/Qanelas-Regular.woff2") format("woff2"), url("../fonts/Qanelas-Regular.woff") format("woff");
	font-weight: normal;
	font-style: normal; }
  
  @font-face {
	font-family: 'Qanelas';
	src: local("Qanelas-Light"), url("../fonts/Qanelas-Light.woff2") format("woff2"), url("../fonts/Qanelas-Light.woff") format("woff");
	font-weight: 300;
	font-style: normal; }
  
  @font-face {
	font-family: 'Qanelas';
	src: local("Qanelas-Bold"), url("../fonts/Qanelas-Bold.woff2") format("woff2"), url("../fonts/Qanelas-Bold.woff") format("woff");
	font-weight: bold;
	font-style: normal; } */
nav {
	/* width: 100%; */
	height: 110px;
} 
.top-links-container{
	margin-top: -90px;
}
.top-links-container1{
	margin-top: 20px;
}
.top-links{
	padding-top: 20px;
}
.top-links a{
	color: #FFF;
}
.top-links a:hover{
	color: #3fa7c7;
}

.enter-button{
	margin-top: 10px;
}

.nav-link
{
    position: relative;
    /* color:white; */
    margin-right: 20px;
    margin-top: 40px;
    /* font-family: 'Roboto Slab', serif; */
    font-size: 17px;
    font-weight: 500;
    /* text-transform: uppercase; */
}

.nav-link:hover{
    color:#2b87a3;
    transition: 0.7s;
}

/* .nav-link:hover  ~ .dropOut { 
    opacity: 1;  
    transition: 0.7s;
}  */


 /* ul li.drop {
	position: relative; 
}  */

/* ul > li {
	display: inline-block;
} */

 ul li a .dropOut{
	line-height: 80px;
	padding: 0 20px;
	/* height: 80px; */
	color: rgb(235, 0, 0);
	-webkit-transition: all .3s ease-out;
	-moz-transition: all .3s ease-out;
	-ms-transition: all .3s ease-out;
	-o-transition: all .3s ease-out;
	transition: all .3s ease-out;
}

/* ul li a:hover {
	color: #eee;
} */

.dropOut .triangle {
	width: 0;
	height: 0;
	/* position: absolute;  */
    position: relative;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-bottom: 8px solid white;
	top: -8px;
	left: 45%;
	/* margin-left: -8px; */
}

@media screen and (max-width: 990px) {
	.dropOut .triangle{
		visibility: hidden;
		display: none;
	}
	.nav-link{
		/* background-color: rgba(0,0,0,0.5); */
		/* font-size: 27px; */
		text-align: right;
	}
	#navContent{
		background-color: rgb(59, 163, 182);
	}

	.dropdownContain {
		position: relative;
		top: 100px;
		/* left: 40px; */
		/* margin-left: 40px; */
		/* width: 460px; */
		/* background-color: rosybrown; */
	}
	#menu1{
		/* background-color: rosybrown; */
		position: relative;
		top: 50px;
		right: -330px;
	}
	#menu2{
		
		position: relative;
		top: 50px;
		right: -330px;
		z-index: 2;
	}

}


@media screen and (max-width: 600px) {
	#menu1{
		/* background-color: rosybrown; */
		position: relative;
		top: 50px;
		right: -80px;
	}
	#menu2{
		
		position: relative;
		top: 50px;
		right: -330px;
		z-index: 2;
	}
}

.dropdownContain {
	width: 260px; 
	position: absolute; 
    /* position: relative;  */
	z-index: 2; 
	/* left: 40%;   */
	margin-left: -80px;
	/* top: -600px; */
} 

 .dropOut {
	width: 280px;
	background: white;
    opacity: 0; 
	float: left;
	position: relative;
	margin-top: 0px;
	
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: 0 1px 6px rgba(0,0,0,.15);
	-moz-box-shadow: 0 1px 6px rgba(0,0,0,.15);
	box-shadow: 0 1px 6px rgba(0,0,0,.15);
	-webkit-transition: all .1s ease-out;
	-moz-transition: all .1s ease-out;
	-ms-transition: all .1s ease-out;
	-o-transition: all .1s ease-out;
	transition: all .1s ease-out;
} 

 .dropOut ul {
	float: left;
	padding: 10px 0;
} 
 .dropOut ul li {
    list-style-type: none; /* Убираем маркеры */
	text-align: left;
	float: left;
	width: 260px;
	padding: 10px 0 10px 10px;
	margin: 0px 10px;
	color: #777;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-transition: background .1s ease-out;
	-moz-transition: background .1s ease-out;
	-ms-transition: background .1s ease-out;
	-o-transition: background .1s ease-out;
	transition: background .1s ease-out;
} 

.dropOut ul li:hover {
	background: #1495bd;
    color:rgb(255, 255, 255)
}

/* ul li:hover a { color: rgb(250, 0, 0); } */
ul li:hover .dropdownContain { top: 95px; }
ul li:hover .underline { border-bottom-color: #777; }
 
ul li:hover .dropOut { 
    transition: 0.7s;
    opacity: 1;  
}


#main-banner h1{
    color:white;
    font-size: 70px;
    font-weight: 700;
}

#main-banner h2{
    color:rgb(247, 222, 83);
    font-size: 35px;
    font-weight: 500;
}


/* #news {
	position: relative;
	top: 150px;
	border-top: 65px solid transparent;
	margin-top: -65px;
	
	-moz-background-clip: padding;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
} */

/* #news h1 {
    
    font-family: 'Roboto Slab', serif;
    color: #082c46;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 25px;
}

.news p
{
    margin-bottom: 20px;
    font-size: 20px;
    line-height: 1.5;
    color: #6c7279;
}

.news h3{
    font-family: 'Roboto Slab', serif;
}

.news h4{
    font-size: 15px;
    font-family: 'Roboto Slab', serif;
    color: crimson;
} */

.firstnews
{
	position: relative;
	
	/* left: 30px; */
	width: 340px; 
	height: 600px; 
	/* border: 1px solid;
	color:rgb(25, 134, 134); */
	padding: 20px 20px;
	background-color: rgb(255, 255, 255);
	border-radius: 4px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Параметры тени */
	/* top: 10px; */
}

.firstnews h5{
	font-family: 'Qanelas', sans-serif;
	font-weight: 700;
	-webkit-font-smoothing: antialiased;
	/* color:rgb(39, 51, 139); */
}

.firstnews h6{
	color:rgb(0, 0, 0);
	font-size: 15px;
	/* margin-top: 15px; */
	font-family: 'Qanelas', sans-serif;
	-webkit-font-smoothing: antialiased;
}
.firstnews p{
	color:black;
	font-size: 15px;
	/* margin-top: 15px; */
	font-family: 'Qanelas', sans-serif;
	-webkit-font-smoothing: antialiased;
	line-height: 0.7;
}

.box {
	/* border: 1px solid #CCC; */
	/* padding: 0px 10px 10px 0px; */
	background: #FFF;
	border-radius: 4px;
	/* max-width: 400px; */
	position: relative;
	/* border-radius: 3px; */
 	/* margin: 0 auto; */
}

.arrow-ribbon {
	background: #e07b37;
	color: rgb(255, 255, 255);
	width: 100px;
	padding: 2px;
	position: relative;
	/* max-width:  50; */
	/* bottom: 10px; */
	/* right: -10px; */
  }

  .arrow-ribbon:after {
    position: absolute;
    top: 0;
    bottom: 0;
    content: "";
    right: -12px;
    border-top: 15px solid transparent;
    /* border-left: 12px solid #EA4335; */
	border-left: 12px solid #e07b37;
    border-bottom: 15px solid transparent;
    width: 0;
}

#news_section {
	
	position:relative;
	padding-top: 50px;
	/* top: 50px; */

	/* left: 10px; */
	
}

#partners {
	
	position:relative;
	top: 100px;
	/* left: 10px; */
	
}

 /* #partners,  */
 
 /* .page-footer{
	position:relative;
	top: -100px;
} */
#inf_section {
	position:relative;
	top: 50px;
}

#research_section {
	position:relative;
	/* top: 10px; */
	margin-top: 50px;
}


#news_section h1, #inf_section h1, #partners h1{
	text-align:center;
}

#research_section h1 {
	text-align:center;
}

#news_section {
	max-width: 1850px;
	margin-left: auto;
    margin-right: auto;
	
}

#inf_section {
	max-width: 1850px;
	margin-left: auto;
    margin-right: auto;
}

#research_section {
	max-width: 1850px;
	margin-left: auto;
    margin-right: auto;
}


.inf_box
{
	position: relative;
	width: 340px; 
	height: 340px;
	top: 70px; 
	/* border: 1px solid;
	color:rgb(25, 134, 134); */
	padding: 5px 5px;
	border-radius: 4px;
	background-color: white;
	box-shadow: 0 0 10px rgba(0,0,0,0.5); /* Параметры тени */
	display: table;
}

.inf_box:hover{
	background-color: rgb(0, 148, 163);
	transition: 0.8s;
}

.inf_box p{
	display: table-cell;
	vertical-align: middle;
	text-align:justify;
	color:black;
	padding: 30px;
	/* font-family: "Century Gothic"; */
  }

.inf_box p:hover{
	
	color:rgb(255, 255, 255);
	transition: 1s;
}

.reserch_box
{
	display: flex;
	position: relative;
	width: 340px; 
	height: 340px;
	top: 70px; 
	/* border: 1px solid;
	color:rgb(25, 134, 134); */
	padding: 25px;
	border-radius: 4px;
	background-color: white;
	box-shadow: 0 0 10px rgba(0,0,0,0.5); /* Параметры тени */
}

.reserch_box:hover{
	background-color: rgb(0, 148, 163);
	transition: 0.8s;
}

.reserch_box__content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	vertical-align: middle;
	/* text-align:justify; */
	color:black;
}

.reserch_box__content:hover  {
	color:rgb(255, 255, 255);
	transition: 1s;
}

.reserch_box__title {
	max-height: 130px;
	white-space: wrap;
    overflow: hidden; /* Обрезаем все, что не помещается в область */
    text-overflow: ellipsis;
}


  #partners img {
	-webkit-filter: grayscale(100%);
	-moz-filter: grayscale(100%);
	-ms-filter: grayscale(100%);
	-o-filter: grayscale(100%);
	filter: grayscale(100%);
	filter: gray; /* IE 6-9 */
  }
  
.page-header__element-level-0 ul li:hover {
	background: #1495bd;
	color:rgb(255, 255, 255);
	transition: 0.3s;
}

/* .page-header__element-level-0 ul li:hover .page-header__element-level-1:first-child:after{
	background: #1495bd;
} */
/* .container{ */
	/* .main-menu__wrap-element{
		background-color: rgb(81, 231, 67);
} */

/* .page-header__wrap-elements-level-1{
	border-radius: 10px;
}  */
a.green_b{
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.08);
	-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.08);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.08);
	color: #fff;
	display:block;
	position: relative;
	bottom: 80px;
	right: 10px;
	width:130px;
	text-align: center;
	/* font-family: Arial, Helvetica, sans-serif; */
	font-size: 14px;
	padding: 8px 16px;
	margin: 20px auto;
	text-decoration: none;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
	-webkit-transition: background-color 0.1s linear;
	-moz-transition: background-color 0.1s linear;
	-o-transition: background-color 0.1s linear;
	transition: background-color 0.1s linear;
	background-color: rgb( 43, 153, 91 );
	border: 1px solid rgb( 33, 126, 74 );        
}
	/* a.green_b {
	
	}
			 */
a.green_b:hover {
	background-color: rgb( 75, 183, 141 );
}

#partners a{
	color:rgb(255, 255, 255)
}

#part:hover img{
	-webkit-filter: none;
	-moz-filter: none;
	-ms-filter: none;
	-o-filter: none;
	filter: none;
	filter: none;
	transition: 0.5s;
}

#part:hover a{
	color:rgb(0, 148, 163);
}
/* кнопка "открыть ленту новостей" */
.custom-btn {
	/* width: 200px;
	height: 40px; */
	color: #fff;
	border-radius: 5px;
	padding: 10px 25px;
	/* font-family: 'Lato', sans-serif; */
	font-weight: 500;
	background: transparent;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	/* top: -30px; */
	display: inline-block;
	 box-shadow:inset 2px 2px 2px 0px rgba(255,255,255,.5),
	 7px 7px 20px 0px rgba(0,0,0,.1),
	 4px 4px 5px 0px rgba(0,0,0,.1);
	outline: none;
  }
  .btn-5 {
	display: block;
    margin: 0 auto;
	width: 300px;
	height: 40px;
	line-height: 42px;
	padding: 0;
	border: none;
	position: relative;
	text-align: center;
	
	/* top: -30px; */
	background: rgb(0, 148, 163);
    background: linear-gradient(0deg, rgb(0, 148, 163) 0%, rgb(2, 184, 204) 100%);
  }
  .btn-5:hover {
	/* color: rgb(0, 148, 163); */
	color: rgb(255, 255, 255);
	background: transparent;
	 box-shadow:none;
  }
  .btn-5:before,
  .btn-5:after{
	content:'';
	position:absolute;
	top:0;
	right:0;
	height:2px;
	width:0;
	background: #ffffff;
	box-shadow:
	 -1px -1px 5px 0px #fff,
	 7px 7px 20px 0px #0003,
	 4px 4px 5px 0px #0002;
	transition:400ms ease all;
  }
  .btn-5:after{
	right:inherit;
	top:inherit;
	/* top: -30px; */
	left:0;
	bottom:0;
  }
  .btn-5:hover:before,
  .btn-5:hover:after{
	width:100%;
	transition:800ms ease all;
  }


  .btn-6 {
	display: block;
    margin: 0 auto;
	width: 230px;
	height: 40px;
	line-height: 42px;
	padding: 0;
	border: none;
	position: relative;
	text-align: center;
	background: rgb(0, 148, 163);
    background: linear-gradient(0deg, rgb(0, 148, 163) 0%, rgb(2, 184, 204) 100%);
  }
  .btn-6:hover {
	color: rgb(255, 255, 255);
	background: transparent;
	 box-shadow:none;
  }
  .btn-6:before,
  .btn-6:after{
	content:'';
	position:absolute;
	top:0;
	right:0;
	height:2px;
	width:0;
	background: #ffffff;
	box-shadow:
	 -1px -1px 5px 0px #fff,
	 7px 7px 20px 0px #0003,
	 4px 4px 5px 0px #0002;
	transition:400ms ease all;
  }
  .btn-6:after{
	right:inherit;
	top:inherit;
	/* top: -30px; */
	left:0;
	bottom:0;
  }
  .btn-6:hover:before,
  .btn-6:hover:after{
	width:100%;
	transition:800ms ease all;
  }  

.page-footer {
	/* position: relative; */
	/* top: 150px; */
	/* min-height: 200px; */
	padding: 25px 0;
	color: #ffffff;
	/* background: #282240 url(../img/pattern-0.4.svg);  */
}

	.page-footer__wrap-contacts {
	  display: -webkit-box;
	  display: -webkit-flex;
	  display: -ms-flexbox;
	  display: flex;
	  -webkit-flex-wrap: wrap;
		  -ms-flex-wrap: wrap;
			  flex-wrap: wrap;
	  -webkit-box-pack: center;
	  -webkit-justify-content: center;
		  -ms-flex-pack: center;
			  justify-content: center;
	  margin-bottom: 15px; }
	  .page-footer__wrap-contacts > div {
		max-width: 350px;
		padding: 25px; }
	  .page-footer__wrap-contacts p {
		margin-bottom: 0; }
	  @media screen and (max-width: 599px) {
		.page-footer__wrap-contacts {
		  text-align: center; } }
	.page-footer__full-name {
	  max-width: 600px;
	  margin: 0 auto 45px auto;
	  text-align: center;
	  font-size: 18px; }
	.page-footer__copyright {
	  text-align: center; }

.page-footer a img{
	height:200px;
	display: block;
    margin-left: auto;
	margin-right: auto;
}

@media screen and (max-width: 599px) {
	.page-footer a img {
	  text-align: center; 
	  width: 80%;
	  height: auto;
	} 
}

/* .body{
	background-color: rgb(197, 111, 111);
} */

#social5{
	position: relative;
	/*margin-left:  auto;
	margin-right: auto; */
	right: 100;
}

#inf_section,  #partners, #news_section, #research_section h1{
	/* color:rgb(0, 148, 163); */
	color:rgb(26, 186, 204);
	font-weight: 800;
}

#slider_title{
	font-weight: 800;
}

#off_inf {
	font-weight: 800;
}

.hr_index {
	/* color: rgb(0, 148, 163); Устанавливаем цвет линии */
	color: white;
	/* background-color: #ee6206; Для кроссбраузерности (Opera и Mozilla Firefox) */
	/* height: 5px;  */
	border: none; 
}

.page-footer{
	/* background-image: url('{% static "img/pattern-0.4.svg" %}'); */
	background-color:  #282240;
}

#ostrovski {
	/* margin: 0 auto;
  	display: block; */
	position: relative;
	top: 150px;
}

.splide {
    /* max-width: 1850px;  */
    margin: 0 auto;    
}

.splide-wrapper {
    padding-left: 35px;
    padding-right: 35px;
	
}

.splide__track {
    margin-left: auto;
    margin-right: auto;
}

.splide__pagination__page {
	background-color: #00BFFF; /* Deep sky blue pagination */
	border-radius: 50%;
	width: 10px;
	height: 10px;
  }
  
  .splide__pagination__page.is-active {
	background-color: #1E90FF; /* Dodger blue when active */
  }

  .splide__arrow {
	background-color: #00BFFF; /* Deep sky blue */
	color: #ffffff; /* White arrow color */
	border-radius: 50%;
	border: none;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
  }
  
  .splide__arrow:hover {
	background-color: #1E90FF; /* Dodger blue on hover */
  }

  .splide__pagination {
	position: relative;
	top: 30px; /* Move the paginator 30px below the slider */
}

.last-news-h1 {
	text-align:center;
	color:rgb(26, 186, 204);
	font-weight: 600;
}

.form-spacer {
	height: 40px; 
  }

.right-btn {
    float: right;
}

.link-container {
    text-align: center;
}

.link-index {
	font-size: 25px;
	font-weight: 500;
    color: #3fa7c7; 
    text-decoration: none;
}

.link-index:hover{
    color: #ffffff; 
}

.small_text {
    font-size: 12px; /* Размер шрифта по умолчанию (мобильные) */
}

@media (min-width: 768px) { 
    .small_text {
        font-size: 16px; /* Размер шрифта для экранов 768px и больше (десктоп) */
    }
}
