/*   custom burger + bootstrap   */

.navbar-toggler {
	width: 20px;
	height: 20px;
	position: relative;
	transition: .5s ease-in-out;
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
	outline: none;
	box-shadow: none;
	border: 0;
}

.navbar-toggler span {
	margin: 0;
	padding: 0;
}

.toggler-icon {
	display: block;
	position: absolute;
	height: 3px;
	width: 100%;
	background: #fff;
	border-radius: 1px;
	opacity: 1;
	left: 0;
	transform: rotate(0deg);
	transition: .25s ease-in-out;
}

.middle-bar {
	margin-top: 0px;
}

/*  При клике (крестик)  */

.navbar-toggler .top-bar {
	margin: 0px;
	transform: rotate(135deg);
}

.navbar-toggler .middle-bar {
	opacity: 0;
	filter: alpha(opacity=0);
}

.navbar-toggler .bottom-bar {
	margin-top: 0px;
	transform: rotate(-135deg);
}

/*  когда navbar collapsed  */

.navbar-toggler.collapsed .top-bar {
	margin-top: -20px;
	transform: rotate(0deg);
}

.navbar-toggler.collapsed .middle-bar {
	opacity: 1;
	filter: alpha(opacity=100);
}

.navbar-toggler.collapsed .bottom-bar {
	margin-top: 20px;
	transform: rotate(0deg);
}

/*   end burger   */



/*    header    */
.lang_link_select {
	padding: 0;
}

.arrow {
	display: inline-block;
	border: solid #fff;
    border-width: 0 2px 2px 0;
	margin-left: 7px;
	margin-bottom: 2px;
    padding: 3px;
	transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
	transition: transform 0.3s ease 0s;
}

.arrow_up {
	display: inline-block;
	border: solid #fff;
    border-width: 0 2px 2px 0;
	margin-left: 7px;
    padding: 3px;
	transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
	transition: transform 0.3s ease 0s;
}


@media (min-width: 991px) {
	.navbar-nav {
		flex: 1 1 0;
		justify-content: space-between;
	}
}

.lang_link_select,
.lang_link_select:focus,
.lang_link_select:active {
	outline: none;
	box-shadow: none;
	border: 0;
}

.search_mobile,
.eye_mobile {
	margin-right: 10px;
}

.search_mobile path,
.eye_mobile path {
	stroke: #fff;
}

.payment_mobile,
.lk_mobile,
.lock_mobile,
.unlock_mobile {
	color: #fff;
}

.payment_mobile path:nth-child(2) {
	/*кошелек на мобиле в белый цвет*/
	fill: #fff;
}

.lk_mobile svg {
	fill: #fff;
}

.entrance_mobile_link {
	color: #fff;
}

.entrance_mobile_link path {
	fill: #fff;
}

.payment_mobile,
.lk_mobile,
.entrance_mobile {
	border: 1px solid #fff;
	border-radius: 10px;
}

.dropdown-menu {
	min-width: 40px;
	/*выпадающая менюшка языков*/
}

.dropdown-item {
	cursor: pointer;
	border-bottom: 1px solid #ccc;
}

.dropdown-item:last-child {
	border-bottom: none;
}

.dropdown-item:hover {
	color: #000;
	background: #e4d4fd;
	border-radius: 5px;
}

@media (max-width: 768px) {
	.lang {
		margin-right: 7px;
	}

	.lang_link_select,
	.lang_link_select:hover,
	.lang_link_select:focus,
	.lang_link_select:active {
		color: #fff !important;
	}
}

/*   Карусель   */

.carousel-icon:hover{
	background-color: rgba(255, 255, 255, 0.781);
	border-radius: 50%;
	padding: 5px;
}


/*   Новости   */

.news-date{
	position: relative;
	padding: 5px 5px 5px 30px;
	border: 1px solid rgb(96, 13, 231);
	border-radius: 15px;
	background-color: rgb(96, 13, 231);
	color: #fff;
}

.news-date:before{
	position: absolute;
	top: 21%;
	left: 4%;
	width: 20px;
	height: 20px;
	content: url('../images/calendar.svg');
	margin-right: 30px;
}

.title{
	font-size: 35px;
	color: rgb(61, 10, 145);
	text-transform: capitalize;
}

.all-news {
	position: relative;
	padding-right: 25px;
}

.all-news:after {
	content: "";
	width: 24px;
	height: 24px;
	position: absolute;
	bottom: -2%;
	transform: translateY(2%);
	right: 0;
	background-image: url(../images/right-arrow.svg);
	background-repeat: no-repeat;
	background-size: cover;
	transition: all 0.3s ease;
}

.all-news:hover:after {
	right: -7px;
}

.all-news:hover {
	color: #511fb4;
}

/*Боковая панель со всплывающими кнопками*/


.scrollPanel {
    position: fixed;
    z-index: 150;
    top: 50%;
    margin-top: -24px;
    right: 10px;
    width: 38px;
    height: auto;
	opacity: 0;
	visibility: hidden;
}

.scrollPanel-show {
	opacity: 1;
	visibility: visible;
}

.scrollUp, .scrollAdmin {
	display: block;
    width: 38px;
    height: 38px;
	padding: 5px;
	-moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}

.scrollEdit {
	display: block;
	width: 38px;
	height: 38px;
	padding: 5px;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	border-radius: 50%;
}

.scrollEdit:hover{
	background-color: var(--bs-primary);
}

.scrollEdit:hover path{
	stroke: #fff;
}

.scrollAdmin:hover path{
	stroke: #fff;
}

.scrollUp:hover{
	background-color: var(--bs-primary);
	stroke: #fff;
	fill: #fff;
}

.scrollAdmin:hover{
	background-color: var(--bs-primary);
	stroke: #fff;
}

/*@media (max-width: 1200px) {
	.scrollUp {
		display: block;
		width: 38px;
		height: 38px;
		padding: 5px;
		-moz-border-radius: 50%;
		-webkit-border-radius: 50%;
		border-radius: 50%;
		background-color: var(--bs-primary);
		stroke: #fff;
		fill: #fff;
	}
}*/

/*cookies*/

.cookie_wrapper{
	display: none;
	position: fixed;
	bottom: 15px;
	left: 50%;
	transform: translateX(-50%);
	width: 800px;
	max-width: 90%;
	z-index: 999;
	border-radius: 6px;
    box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.4);
}

.cookie_notice{
	position: relative;
	background-color: rgb(255, 255, 255);
	padding: 20px;
}

.cookie_notice img {
	position: absolute;
	top: -20px;
	right: -20px;
}

.cookie_text p{
	margin-bottom: 2px;
}

.cookie_btn {
	margin-top: 15px;
	padding: 5px 15px;
	border: none;
	border-radius: 5px;
	background-color: rgb(61, 10, 145);
	color: #fff;
	font-size: 18px;
}
.cookie_btn:hover {
	background-color:  rgb(113, 42, 228);
}

@media (max-width: 992px) {
	.cookie_wrapper{
		width: 550px;
	}

	.cookie_notice img {
		position: absolute;
		width: 40px;
		height: 40px;
		top: -20px;
		right: -20px;
	}
}

/*   footer   */

.footer_text,
.footer_link{
	color: #fff;
}

.footer_link:hover{
	color: rgb(185, 185, 185);
}

/*  Прижимаем foooter   */

html, body {
	height: 100%;
}

.main_wrapper{
	min-height: 100%;
	display: flex;
	flex-direction: column;
}

.main {
	flex: 1 1 auto;
}


/*Серываем <a itemprop="educationShedule"> в sveden/education и блоки в форме оплаты*/
.hide, .hidden{
	display: none;
}

/*  адаптируем текст в выпадающих списках на мобилах и убираем перенос иероглифов в меню языков*/
@media (max-width: 1200px) {
	.dropdown-item {
		white-space: normal;
	}
	.lang__link_sub{
		white-space: nowrap;
	}
}

/* === Адаптивные таблицы === */

.table_wrapper {
	overflow: auto;
	position: relative;
}

.table_wrapper-height {
	overflow: auto;
	position: relative;
	height: 350px;
}


.table_wrapper table {
	vertical-align: top;
	max-width: 100%;
	overflow-x: auto;
	white-space: normal;
	-webkit-overflow-scrolling: touch;
}

.touch_arrow {
	animation-direction: alternate-reverse;
	animation-duration: .4s;
	animation-name: move;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}

.touch_arrow_icon {
	background-image: url(/templates/elsu_restyle/assets/css/touch_arrow.svg);
	width: 70px;
	height: 24px;
}

@keyframes move {
	from {
		margin-right: 0;
	}
	to {
		margin-right: 7px;
	}
}

.dod_href{
	position: absolute;
	top: 90%;
	transform: translateY(-90%);
	left: 5%;
	font-size: 30px;
	font-weight: 700;
	color: #FFFFFF;
	text-decoration: underline;
}

@media (max-width: 680px) {
	.dod_href{
		left: 5%;
		font-size: 16px;
	}
}


/*==== graduate circle ====*/

@media (min-width: 1300px) {
	.circle_btn_fixed{
		position: fixed;
		top: 23%;
		right: 2%;
		border-radius: 50%;
		z-index: 1999;
	}
}

@media (max-width: 1300px) {
	.circle_btn_fixed{
		position: fixed;
		bottom: 10%;
		right: 5%;
		border-radius: 50%;
		z-index: 1999;
	}
}

.circle_btn_container {
	border-radius: 50%;
	transition: 1s ease-in-out;
}

.circle_btn_main {
	position: relative;
	z-index: 1999;
	border-radius: 50%;
	width: 120px;
	height: 120px;

	display: flex;
	align-items: center;
	justify-content: center;
	/*background-color: rgba(0,0,0,0);*/
	border: none;

	animation: shadow 3s ease-in-out 0s infinite normal none;
}

.circle_btn_main::before {
	content: "";
	position: absolute;
	border-radius: 50%;
	border: 2px solid #fff;
	left: -6px;
	right: -6px;
	top: -6px;
	bottom: -6px;
	opacity: 0;
	animation: flash 3s ease-in-out infinite;
}

@keyframes shadow {
	0% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(61, 10, 145);
	}

	49% {
		transform: scale(0.9);
		box-shadow: 0 0 32px 6px rgba(61, 10, 145);
	}

	51% {
		transform: scale(0.9);
		box-shadow: 0 0 32px 6px rgba(61, 10, 145);
	}

	100% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(61, 10, 145);
	}
}


@keyframes flash {
	0% {
		-webkit-transform: scale3d(1, 1, 1);
		transform: scale3d(1, 1, 1);
	}
	50% {
		-webkit-transform: scale3d(1.07, 1.07, 1.07);
		transform: scale3d(1.07, 1.07, 1.07);
	}
	100% {
		-webkit-transform: scale3d(1, 1, 1);
		transform: scale3d(1, 1, 1);
	}
}

@keyframes flash {
	0% {
		transform: scale(0.5);
		opacity: 0;
	}
	50% {
		opacity: 0.9;
	}
	100% {
		transform: scale(1.1);
		opacity: 0;
	}
}

@keyframes flash {
	0% {
		transform: scale(0.9);
		opacity: .9;
	}
	49% {
		transform: scale(1.2);
		opacity: .4;
	}
	51% {
		transform: scale(1.2);
		opacity: .4;
	}
	100% {
		transform: scale(0.9);
		opacity: .9
	}
}

.circle_btn_radius {
	animation: 24s infinite linear rotate;
	will-change: auto;
}

@keyframes rotate {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

.circle_btn_img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 80px;
	/*background-color: rgb(61, 10, 145);*/
	border-radius: 50%;
	color: #fff;
	transition: background-color .3s ease-out;
}

.circle_btn_img:hover {
	background-color:#fff;
}
