@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@1,6..72,300&display=swap');

html {
	scroll-behavior: smooth;
}
* {
	-webkit-font-smoothing: antialiased;
	-webkit-overflow-scrolling: touch;
	-webkit-appearance: none;

	border-radius: 0px;
}

:root {
	--black: rgb(35,35,35);
	--green: #2f4335;
	--gray: #888887;
	--sand: #efefee;
}

:target {
	scroll-margin-top: 128px
}

:target:after {
	content: "";
	position: absolute;
		top: 0;
		left: -24px;

		width: 3px;
		height: 100%;
	/*border-left: solid 4px var(--green);*/

	background: var(--green);
	animation: highlight 1s ease; 
	animation-fill-mode: backwards;
	animation-delay: 0.5s;   

	opacity: 0;
}

@keyframes highlight {
	0% { opacity: 1; }
	100% { opacity: 0; }
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="email"] {
	position: relative;
	/*width: calc(100% - 32px);*/
	padding: 0 16px;
	/*margin-bottom: 8px;
	margin-bottom: 16px;*/
	background: white;
	line-height: 48px;
	font-size: inherit;
	font-family: inherit;
	border: none;
	border-bottom: 1px solid rgba(35,35,35,0.2);
	border-radius: 2px;

	background: var(--sand);
}


.button__hero-black {
	color: white !important;
}

.logo-type-main {
	top: 24px;
}

.menu-type-header {
	align-items: flex-end;
}

.menu-type-header .menu-item:last-of-type {
	margin-right: 0;
}

.studyfund__section {
	position: relative;
	width: 100%;

	padding: 32px 0;
}

.studyfund__section {
	position: relative;
	width: 100%;
	padding-top: 128px;
}

.hero__nav {
	position: relative;
	width: 100%;
}

.grid--3 {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 32px 32px;
	grid-auto-flow: row;

	margin-bottom: 64px;
}

.grid--2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px 32px;
	grid-auto-flow: row;

	margin-bottom: 64px;
}

.grid--2 div, .grid--3 div {
	position: relative;
}

.grid--2:last-child, .grid--2:only-of-type {
	margin-bottom: 0;
}

.span--4 {
	grid-column: span 4;

}

.span--3 {
	grid-column: span 3;

}

.span--2 {
	grid-column: span 2;

}

.span--1 {
	grid-column: span 1;

}

.shadow {
	box-shadow: 0px 2px 4px rgb(0 0 0 / 16%);
}

.rounded {
	border-radius: 3px;
}

.highlight_box {
	position: relative;
	width: calc(100% - 64px);
	padding: 32px;
}

.hero__nav {
	grid-template-areas:
		"apply nav"
		"docent nav";

	gap: 16px 32px;
}

.hero__nav--apply {
	position: relative;
	width: 100%;

	display: flex;
	justify-content: center;
	align-items: center;

	grid-area: apply;
}

.hero__nav--apply--background {
	position: absolute;
		top: 0;
		left: 0;

	width: 100%;
	height: 100%;

	object-fit: cover;
}

.hero__nav--apply-block {
	position: relative;

	width: calc(100% - 128px - 80px);
	padding: 40px;
	margin: 40px 0;

	z-index: 2;
}

.hero__nav--apply h3 {
	font-size: 40px;
	line-height: 32px;
	font-family: 'Qanelas';

	padding-top: 0;
	margin-bottom: 16px;
}

.hero__nav--letters {
	position: relative;
	grid-area: docent;

	width: calc(100% - 80px);
	padding: 40px;
}

.hero__nav--letters h4 {
	font-size: 24px;
	line-height: 28px;
	font-family: 'Qanelas';

	padding-bottom: 4px;
	border-bottom: 2px solid #efefee;;

	margin-bottom: 16px;
}

.hero__nav--menu {
	position: relative;
	width: calc(100% - 80px);
	padding: 40px;

	grid-area: nav;
}

.hero__nav--title {
	font-size: 32px;
	line-height: 32px;
	font-family: 'Qanelas';
	padding-bottom: 16px;

	margin-bottom: -16px;
}

.nav__group--title {
	font-size: 18px;
	line-height: 28px;
	font-family: 'Qanelas';

	padding-bottom: 2px;
	border-bottom: 2px solid var(--green);

	margin-bottom: 8px;
}

.nav__group--links {
	position: relative;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.nav__group--links:hover li {
	opacity: 0.5;
}

.nav__group--links li {
	line-height: 24px;
	margin-bottom: 8px;
}

.nav__group--links li:hover {
	opacity: 1;
}

.nav__group--links li a {
	position: relative;
	display: block;
	text-decoration: none;
}

.nav__group--links li a:after {
	content: "";
	position: absolute;
		top: 0;
		right: 4px;

	width: 32px;
	height: 100%;

	background-image: url("_images/_icons/arrow-right-short.svg");
	background-position: right 0px center;
	background-size: 12px;
	background-repeat: no-repeat;
	transition: all 0.2s;

	opacity: 0;
}

.nav__group--links li:hover a:after {
	content: "";
	position: absolute;
		top: 0;
		right: 0;

	opacity: 1;
}

/*.nav__group--links li a:hover {
	background-position: right 0px center;
	background-size: 12px;
	background-repeat: no-repeat;
	transition: all 0.2s;
}*/

.section__group {
	position: relative;
	width: calc(100% - 128px);
	padding: 64px;

	line-height: 24px;
}

.section__group .grid--2 {
	gap: 80px 32px;
}

.section__group h2 {
	font-family: 'Qanelas';
	font-size: 32px;
	line-height: 32px;

	margin-bottom: 32px;
}

.section__group h3 {
	font-size: 24px;
	line-height: 32px;
	padding-bottom: 8px;
	font-weight: bold;
}

.highlight_box h3 {
	font-size: 28px;
	line-height: 32px;
	font-family: 'Qanelas';
	font-weight: normal !important;

	padding-top: 0;
	margin-bottom: 0px;
}

.page-template-page-apply  .section__group h3 {
	font-family: 'Qanelas';
	font-size: 32px;
	line-height: 32px;

	margin-bottom: 32px;
	font-weight: normal;
}

.highlight_box ul {
	padding: 0;
	margin: 0;
	margin-left: 16px;
}

.testimonal {
	position: relative;
	width: 100%;
}

.testimonal--quote {
	position: relative;
	width: calc(100% - 64px);

	text-align: center;

	padding: 32px;
	padding-bottom: 80px;
}

.testimonal--photo {
	position: relative;
	width: 96px;
	height: 96px;

	margin-left: calc(50% - 48px);
	margin-top: -48px;

	border-radius: 50%;
	overflow: hidden;
}

.testimonal--photo img {
	width: 100%;
	height: 100%;

	object-fit: cover;
}

.testimonal--name {
	position: relative;
	width: calc(100% - 64px);
	padding: 16px 32px;
	padding-bottom: 0px;

	font-size: 20px;
	font-weight: bold;
	text-align: center;
}

.testimonal--study {
	position: relative;
	width: calc(100% - 64px);
	padding: 16px 32px;
	padding-top: 0px;
	padding-bottom: 24px;

	font-size: 16px;
	text-align: center;
}

/* APPLY FORM */

.section__form {
	position: relative;
	width: calc(100% - 80px);
	padding: 40px;

	margin-bottom: 64px;
}

.section__form:last-of-type {
	margin-bottom: 0;
}

@media screen and (max-width: 1024px){



}

@media screen and (max-width: 768px){

.grid--3 {
	grid-template-columns: 1fr 1fr;
}

.span--3 {
	grid-column: span 2;
}

.hero__nav .span--1 {
	grid-column: span 2;	
}

.hero__nav--apply {
	padding: 64px 0;
}

}

@media screen and (max-width: 500px){

.span--2 {
	grid-column: span 1;
}

.span--3 {
	grid-column: span 1;
}

.hero__nav--apply, .hero__nav--letters, .hero__nav--menu {
	grid-area: unset;
}

.hero__nav {
	margin-bottom: 32px !important;
}

.hero__nav--letters {
	order: 3;
	margin-top: -16px;
	border-top-right-radius: 0;
	border-top-left-radius: 0;
}

.hero__nav--menu {
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
}

.hero__nav--apply-block {
	width: calc(100% - 0px - 64px);
	padding: 32px;
	margin: 0;
}

.hero__nav--apply {
	padding: 0px 0;
}

.section__group {
	width: calc(100% - 0px);
	padding: 0px;
}

.section__group .grid--2, .section__group .grid--3, .section__group.grid--3 {
	grid-template-columns: 1fr;
}

.logo-type-main {
	top: 16px;
}

.page-template-page-apply .section__group h3 {
	font-size: 24px;
	line-height: 24px;
	margin-bottom: 16px;
}

.section__form {
	width: calc(100% - 32px);
	padding: 16px;
	margin-bottom: 32px;
}

}