@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root
{
	--color-blue: #00B0EA;
	--color-blue-hover: #007fa9;
	--color-blue-hover2: #17c5ff;
	--color-red: #E41E25;
	--color-gray: #ECECEC;
}



@media all
{
	* 
	{
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
		font-family: "Inter", sans-serif;
	}

	html,
	body
	{
		margin: 0;
		padding: 0;
		background-color: #DDD;
		color: #000;
		min-width: 375px;
		font-size: 16px; 
	}


	.clear
	{
		clear: both;
	}

	a 
	{
		color: var(--color-blue);
	}

	a:hover 
	{
		color: var(--color-blue-hover);
	}

	h1,
	h2,
	h3,
	h4,
	h5
	{
		color: var(--color-blue);
		font-weight: bold;	
		letter-spacing: -0.5px;
		padding: 0;
	}

	h1
	{
		font-size: 3.5rem;
		line-height: 3.6rem;
		margin-top: 0;
		margin-bottom: 30px;			
	}

	h2
	{
		font-size: 2.8rem;
		margin-top: 0;
		margin-bottom: 15px;
	}

	h3
	{
		font-size: 1.5rem;
		margin-bottom: 20px;
	}

	h4
	{
		font-size: 1rem;
		margin-top: 30px;
		margin-bottom: 20px;
	}

	hr
	{
		border: 0 none;
		border-top: 1px solid #00000022;
		margin: 40px 0;
		padding: 0;
	}

	strong,
	.bold
	{
		font-weight: 700;
	}

	.unbold
	{
		font-weight: 100 !important;
	}

	.no-wrap 
	{
		white-space: nowrap;
	}

	.disabled,
	*[disabled] 
	{
		opacity: 0.35;
	}

	.hide 
	{
		display: none;
	}

	img 
	{
		max-width: 100%;
	}

	.fs-small
	{
		font-size: 0.8rem;
	}

	.fs-normal
	{
		font-size: 1.2rem;
	}

	.fs-mid
	{
		font-size: 1.8rem;
	}

	.fs-large
	{
		font-size: 3.5rem;
	}

	.text-left 
	{
		text-align: left !important;
	}

	.text-center 
	{
		text-align: center !important;
	}

	.text-right 
	{
		text-align: right !important;
	}

	.text
	{
		font-size: 1rem;
		line-height: 1.5rem;
	}

	.annotation
	{
		font-size: 0.9rem;
		line-height: 1rem;
		color: rgba(255,255,255,0.7);
	}

	.float-left 
	{
		float: left;
	}

	.float-right 
	{
		float: right;
	}

	.image-left 
	{
		float: left;
		margin-right: 25px;
		margin-bottom: 25px;
		border-radius: 4px;
	}

	.image-right 
	{
		float: right;
		margin-left: 25px;
		margin-bottom: 25px;
		border-radius: 4px;
	}

	.button
	{
		background-color: var(--color-blue);
		background-repeat: no-repeat;
		background-position: 20px center;
		background-size: 20px 20px;
		border: 0 none;
		color : white;
		padding : 10px 20px;
		font-size : 1rem;
		text-transform: uppercase;
		font-weight: bold;
		text-decoration : none;
		display: inline-block;
		text-align: center;
		cursor: pointer;
		border-radius: 4px;
	}

	.button:hover
	{
		background-color: var(--color-blue-hover2);
		color: white;
	}

	.table-box
	{
		overflow: auto;
	}

	table.table
	{
		width: 100%;
		border-spacing: 0;
		border-collapse: separate;
		border: 0 none;
	}

	table.table th,
	table.table td
	{
		padding: 8px;
		border-bottom: 1px solid #00000011;
	}

	.box 
	{
		max-width: 1920px;
		margin: auto;
		box-shadow: 0 0 30px #00000022;
		background-color: #FFF;
		position: relative;
	}

	.page-content
	{
		padding: 25px;
		margin: auto;
	}

	.page-text
	{
		max-width: 1100px;
		margin: auto;
	}

	.page-text p
	{
		line-height: 1.5rem;
	}

	#header
	{
		border-top: 8px solid var(--color-red);
		width: 100%;
		height: 74px;
		background-color: var(--color-blue);
		color: #FFF;
		display: flex;
		justify-content: space-between;
		width: 100%;
		align-items: center;
		padding: 15px;
	}

	#header a
	{
		color: white;
	}

	#header .logo
	{
		max-width: 150px;
	}

	#header .logo img
	{
		margin-top: 4px;
		height: 40px;
	}

	#header .logo-kostka
	{
		display: inline-block;
		margin-left: 10px;
		width: 40px;
		height: 40px;
		background-image: url(../img/logo-kostka.white.png);
		background-size: contain;
		background-repeat: no-repeat;
		background-position: center center;
	}

	#header #menu-button
	{
		width: 30px;
		height: 30px;
		background-image: url(../img/menu.svg);
		background-repeat: no-repeat;
		background-position: center;
		background-size: 30px 30px;
		margin-right: 5px;
	}

	#menu a
	{
		color: white;
	}

	ul.menu
	{
		list-style: none;
		padding: 0;
		margin: 0;
		text-align: center;
	}

	ul.menu li
	{
		margin: 0;
		padding: 0;
	}

	ul.menu li a
	{
		font-weight: bold;
		text-decoration: none;
		text-transform: uppercase;
	}	

	ul.menu.icons li
	{
		display: inline-block;
	}

	ul.menu.icons li a
	{
		display: inline-block;
		margin: 8px;
		padding: 0;
	}

	ul.menu.icons li img
	{
		width: 30px;
		height: 30px;
		object-fit: contain;
	}

	.articles
	{
		display: flex;
		flex-direction: column;
		gap: 40px;
	}

	.articles .item
	{
		flex: 1;
		display: flex;
		flex-direction: column;
		gap: 10px;
		max-width: 800px;
	}

	.articles .item .col-photo img
	{
		background-color: #DDD;
		aspect-ratio: 16/8;
		object-fit: cover;
		border-radius: 5px;
	}

	.articles .item .col-content
	{
		flex: 1;	
	}

	.articles .item .prop-desc
	{
		padding: 0;
		margin: 0;
		line-height: 1.4rem;
	}

	.articles .item .prop-name
	{
		font-size: 1.6rem;
		line-height: 2rem;
		margin: 0;
		margin-bottom: 10px;
	}


	#heading-photo
	{
		width: 100%;
		height: 400px;
		background-color: #DDD;
		background-image: url(../img/photo/team/team.jpg);
		background-size: cover;
		background-position: center top;
		position: relative;
	}

	#heading-photo .symbol
	{
		background-image: url(../img/texture.svg);
		background-repeat: no-repeat;
		background-position: left bottom;
		background-size: contain;
		position: absolute;
		bottom: 0;
		left: 0;
		height: 400px;
		width: 100%;
	}

	body:not(.title) #heading-photo
	{
		height: 220px;
	}

	body:not(.title) #heading-photo .symbol
	{
		height: 150px;
	}

	#footer
	{
		background-color: var(--color-blue);
		color: #FFF;
		padding: 20px;
		text-align: center;
	}

	#footer .col-logo img
	{
		max-width: 140px;
		width: 140px;
	}

	#footer .col-menu
	{
		display: none;
	}

	.strip-a
	{
		background-color: #E2E2E2;
	}

	.strip-b
	{
		background-color: #F2F2F2;
	}

	.partners
	{
		background-color: #fff;
		padding: 30px;
		position: relative;
		margin-top: 30px;
		border-radius: 10px;
		border: 1px solid #00000022;
		text-align: center;
	}

	.partners .legend
	{
		position: absolute;
		top: -15px;
		left: 30px;
		background-color: var(--color-blue);
		color: white;
		font-size: 0.8rem;
		padding: 6px 12px;
		font-weight: bold;
		text-transform: uppercase;
		border-radius: 5px;
	}

	.partners img
	{
		display: inline-block;
		vertical-align: middle;		
		max-width: 120px;
		margin: 10px;
	}
}


@media (min-width: 700px)
{
	.page-title .articles
	{
		display: flex;
		flex-direction: row;
		gap: 20px;
	}

	.page-text .articles
	{
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 40px;
		justify-content: space-between;
	}

	.page-text .articles .item
	{
		min-width: calc(50% - 40px);
		max-width: calc(50% - 40px);
		width: calc(50% - 40px);
	}
}

@media (max-width: 1023px)
{
	#menu
	{
		display: none;
		position: fixed;
		top: 70px;
		left: 0;
		bottom: 0;
		right: 0;
		background-color: #fff;
		z-index: 999;
		overflow: auto;
		padding: 20px;
		background-color: var(--color-blue);
	}

	ul.menu li a
	{
		display: block;
		font-size: 1.5rem;
		padding: 15px;
	}

	ul.menu.icons
	{
		margin-top: 30px;
	}
}


@media (min-width: 1024px)
{
	#heading-photo
	{
		height: 620px;
		background-position: center center;
	}

	#heading-photo .symbol
	{
		height: 500px;
	}

	body:not(.title) #heading-photo
	{
		height: 300px;
	}

	body:not(.title) #heading-photo .symbol
	{
		height: 200px;
	}

	.page-content
	{
		padding: 30px;
	}

	.page-text
	{
		min-height: 420px;
	}
	
	.cols
	{
		display: flex;
		flex-direction: row;
		gap: 20px;
	}

	.cols div[class^="col-"]
	{
		flex: 1;
	}

	.cols .col-9
	{
		max-width: 90%;
	}

	.cols .col-8
	{
		max-width: 80%;
	}

	.cols .col-7
	{
		max-width: 70%;
	}

	.cols .col-6
	{
		max-width: 60%;
	}
	.cols .col-5
	{
		max-width: 50%;
	}

	.cols .col-4
	{
		max-width: 40%;
	}

	.cols .col-3
	{
		max-width: 30%;
	}

	.cols .col-2
	{
		max-width: 20%;
	}

	.cols .col-1
	{
		max-width: 10%;
	}


	#header
	{
		height: 110px;
		padding-left: 20px;
	}

	#header #menu-button
	{
		display: none;
	}

	#header .logo img
	{
		height: 50px;
	}

	#header .logo-kostka
	{
		width: 55px;
		height: 55px;
	}

	#menu
	{
		position: absolute;
		top: 27px;
		right: 20px;
	}

	.menu-content
	{
		display: flex;
		align-items: center;
		gap: 30px;
	}

	ul.menu
	{
		display: flex;
		align-items: center;
	}

	ul.menu li a
	{
		display: inline-block;
		font-size: 1.2rem;
		padding: 10px 7px;
		margin: 0 10px;
		border-bottom: 2px solid transparent;
	}
	
	ul.menu li.active a
	{
		border-bottom-color:  #FFFFFF;
	}

	ul.menu li:not(.active) a:hover
	{
		border-bottom-color:  #FFFFFF33;
	}

	ul.menu.icons
	{
		margin-top: 4px;
	}

	#footer .col-menu
	{
		display: block;
	}

	#footer .logo img
	{
		height: 50px;
	}

	#footer a
	{
		color: white;
	}

	#footer .menu
	{
		margin-top: 20px;
		color: white;
		justify-content: center;
	}
}


@media (min-width: 1200px)
{
	#footer .menu
	{
		margin-top: 0;
	}

	#footer > div
	{
		margin-top: 5px;
		display: flex;
		justify-content: space-between;
	}
}


@media (min-width: 1600px)
{
	.page-content
	{
		padding: 40px;
	}

	.cols
	{
		gap: 50px;
	}
	
	.articles .item
	{
		flex-direction: row;
		gap: 30px;
	}
	
	.articles .item .col-photo
	{
		width: 200px;
		max-width: 30%;
		height: auto;
	}
	
	.articles .item .col-photo img
	{
		aspect-ratio: 1/1;		
	}


	.page-title .articles
	{
		gap: 50px;
	}
}

@media (min-width: 1921px)
{
	#header .logo img
	{
		height: 60px;
	}

	
}
