/*** base ***/
:root {
	--color-accent: #1F5DA9;
	--color-accent-2: #ffb553;
	--color-bg-accent: #04306D;

	--color-dark: #232323;
	--color-grey: #434343;
	--color-text: #616161;
	--color-placeholder: #878787;
	--color-border:  #f5f5f5;

	--color-error: #9e0e0e;
	--color-ok:  #56de00;
	--color-white: #fff;
	--rgba-white: rgba(255,255,255,0.7);
	--rgba-dark: rgba(0,0,0,0.3);
}
body, html { 
	margin: 0; 
	padding: 0; 
	width: 100%; 
	min-height: 100vh; 
	overflow-x: hidden;
	height: auto; 
	font-size: 14px; 
	-webkit-tap-highlight-color:transparent;
	font-family: "Open Sans", sans-serif;
	line-height: 1.2;
	background: var(--color-white);
	background-attachment: fixed;
}
* { 
	box-sizing: border-box; 
}
*, *::before, *::after {
	box-sizing: border-box;
}
a {
	text-decoration: none;
	color: var(--color-accent);
}
h1 {
	text-align: center;
	font-size: 18px;
	font-weight: 700;
}
h2 {
	text-align: center;
	font-size: 18px;
	font-weight: 700;
}
h3 {
	text-align: center;
	font-size: 18px;
	font-weight: 700;
}
h1,h2,h3,h4,h5,h6 {
	color: var(--color-bg-accent);
	width: 100%;
}
.block h1, .block h2, .block h3 {
	display: none;
}
.page-home .block h1, .page-home .block h2, .page-home .block h3, #partners h3 {
	display: block;
}
.no-scroll {
	overflow: hidden;
}
input[type="submit"]:disabled {
	filter: grayscale(100%);
	transition: all 0.2 ease;
}
input, textarea {
	border:  1px solid var(--color-border);
	border-radius: 4px;
}
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-border); 
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    overflow: hidden;
}
::-webkit-scrollbar-thumb {
    background: var(--color-border); 
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}
:focus{
    outline:none;
}

/*** wrapper ***/

#wrapper {
	width: 100%;
	height:  auto;
	min-height: 100vh;
	position: relative;
	padding:  0;
	z-index: 0;
}
.container {
	position: relative;
	width: 100%;
	max-width: 1200px;
	height: auto;
	margin: 0 auto;
	padding: 10px 15px;
	color: var(--color-text);
}

.block {
	width: 100%;
	margin: 0;
	padding: 0;
}

.split {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}
.split__item {
	width: 100%;
	margin-bottom: 20px;
}

/*** header ***/
#header {
	position: fixed;
	left:  0;
	top:  0;
	z-index: 150;
	height:  100px;
	width:  100%;
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: flex-start;
	transition: all 0.3s ease;
}
#header .container {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	color:  var(--color-white);
	height: 100%;
	transition: all 0.3s ease;
	position: relative;
}
#header .container:before {
	position: absolute;
	width: 100vw;
	right: 0;
	background: var(--color-accent);
	border-bottom-right-radius: 25px;
	top: 0;
	content: "";
	height: 100%;
	z-index: -1;
	box-shadow: 5px 5px 10px 10px rgba(0,0,0,0.15);
}
#logo {
	max-height: 80px;
}
#logo img {
	max-height: 80px;
	max-width: 40vw;
}

#lang {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}
.lang {
	color: #c0c0c0;
	text-transform: uppercase;
	padding: 5px;
	transition: all 0.2s ease;
}
.lang.active, .lang:hover {
	color: #fff;
	transition: all 0.2s ease;
}

/*** menu ***/
#menu {
	display: none;
	flex-direction: row;
	align-items: flex-end;
	justify-content: flex-start;
	padding-right: 30px;
}
.menu__item {
	padding: 5px 10px;
	font-size: 16px;
	margin-left: 5px;
	border-radius: 8px;
	color: var(--color-white);
	transition: all 0.5s ease;

}
.menu__item:hover {
	background: var(--color-white);
	color: var(--color-accent);
	transition: all 0.5s ease;
}
#mmenu {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: var(--color-white);
	color: var(--color-accent);
	border-radius: 10px;
	outline: none;
	border: 0;
	font-size: 24px;
	margin-right: 10px;
}

/*** content ***/
#content {
	padding-top: 120px;
	padding-bottom: 60px;
	min-height: 100vh;
	position: relative;
}
#companies {
	width: 100%;
	display: flex;
	flex-direction: row;
	align-items: stretch;
	justify-content: space-evenly;
	flex-flow: row wrap;

}
.companies__item {
	width: 30%;
	border: 1px solid var(--color-border);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	border-radius: 8px;
	margin-bottom: 25px;
	overflow: hidden;
	padding-bottom: 10px;
	position: relative;
	box-shadow: 5px 5px 7px 7px rgba(0,0,0,0.05);
}
.companies__item-last {
	flex-grow: 1;
}
.ci__image {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4/3;
	border-bottom: 1px solid var(--color-border);
}
.ci__image img {
	padding: 20px;
	max-width: calc(100% - 40px);
}
.ci__title {
	font-size: 16px;
	font-weight: 600;
	padding: 7px 15px;
	width: 100%;
	background: var(--color-accent);
	color: #fff;
}
.ci__text {
	width: 100%;
	font-size: 14px;
	padding: 10px 15px 60px;
	font-weight: 300;
}
.ci__text p {
	margin: 0;
}
.ci-btn {
	marin: 0 auto 15px;
	padding: 5px 15px;
	border-bottom-right-radius: 8px;
	border-top-left-radius: 8px;
	font-size: 16px;
	border: 0;
	background: var(--color-accent);
	color: var(--color-white);
	position: absolute;
	bottom: 15px;
	left: 50%;
	transform: translate(-50%);
}

#gf {
	max-width: 100%;
}
/*** preview ***/
.preview {
	display: flex;
	width: 100%;
	flex-direction: row;
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: wrap;
	border-radius: 48px;
	overflow: hidden;
	background: var(--color-accent);
	color: #fff;
	position: relative;
}
.preview .bgc {
	position: absolute;
	left: 0;
	top: 90px;
	z-index: 1;
	user-select: none;
}
.bgc img {
	max-width: 100%;
	user-select: none;
}
.preview h2, .preview a {
	color: #fff;
	text-align: left;
}
.p__top {
	position: relative;
	border-top-left-radius: 48px;
	border-top-right-radius: 48px;
	background: #fff;
	padding: 25px;
	height: 150px;
	width: 100%;
	z-index: 12;
}
.p__logo, .p__photo {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	position: absolute;
}
.p__logo {
	left: 25px;
	top: 50%;
	height: 100px;
	transform: translate(0,-50%);
	width: calc(50% - 50px);
}
.p__photo {
	top: 38px;
	right: 90px;
	width: 204px;
	border: 2px solid #fff;
	justify-content: flex-start;
}
.p__logo img, .p__photo img {
	max-width: 100%;
	max-height: 100%;
}
.p__photo img {
	aspect-ratio: 25 / 32;
}

.p__details {
	position: relative;
	width: calc(100% - 25px - 50px - 25px - 200px);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	margin-bottom: 20px;
	padding-left: 50px;
	z-index: 10;
}
.p__text {
	position: relative;
	z-index: 10;
	width: 100%;
	padding: 0 25px 25px;
}
.preview i {
	color: var(--color-white);
	font-size: 18px;
	width: 40px;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
}
.p__details > div {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	min-height: 24px;
}
/*** footer ***/

#footer {
	color:  var(--color-white);
	position: absolute;
	bottom: 0;
	min-height:  20px;
	z-index: 10;
	width: 100%;
	display: flex;
	flex-direction: column;
	
}
#footer .container {
	position: relative;
	padding: 20px 20px;
	align-items: flex-start;
	justify-content: space-between;
	flex-direction: column;
	display: flex;
}
#footer .container:before {
	position: absolute;
	width: 100vw;
	left: 0;
	background: var(--color-bg-accent);
	top: 0;
	content: "";
	height: 100%;
	z-index: -1;
	border-top-left-radius: 25px;
	top: 0;

	content: "";
	height: 100%;
	z-index: -1;
	box-shadow: 5px 5px 10px 10px rgba(0,0,0,0.15);
}
#copy {
	margin-left: 20px;
}
#dev, #copy, #engine {
	color:  var(--color-white);
	font-size: 14px;
}
#dev a {
	color: var(--color-white);
	text-decoration: none;
	padding:  1px 5px;
	border-radius: 4px;
	transition: all 0.2s ease;
}
#dev a:hover {
	background: rgba(0,0,0,0.7);
	color:  var(--color-white);
	transition: all 0.2s ease;
}
/*** modal ***/
#modal {
	position: fixed;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	
	opacity: 0;
	z-index: -1;
	background: rgba(0,0,0,0.85);
	transition: all 0.5s ease;
}
#modal.visible {
	z-index: 9;
	opacity: 1;
	transition: all 0.5s ease;
}

#modal-inner {
	position: relative;
	width: 800px;
	max-width: 90vw;
	height: 600px;
	max-height: 90vh;
	padding: 0;
	transform-origin: 50% 50;
	transform: scale(0,0);
	transition: all 0.5s ease;
}
#modal.visible #modal-inner {
	transform: scale(1,1);
	transition: all 0.5s ease;
}
#modal-close {
	border: 0;
	background: #9EBBDE;
	color: var(--color-accent);
	font-size: 24px;
	position: absolute;
	right: 25px;
	top: 25px;
	width: 36px;
	height: 36px;
	padding: 0;
	text-align: center;
	border-radius: 50%;
	z-index: 122;
}
#modal-content {
	width: 100%;
	height: 100%;
	padding: 0;
}

/*** media queries ***/

@media screen and (min-width: 500px) {
	
}
@media screen and (max-width: 750px) {
	#header {
		height: 70px;
	}
	#content {
		padding-bottom: 100px;
		padding-top: 80px;
	}
	#companies {
		justify-content: space-between;
	}
	.companies__item {
		width: calc(50% - 10px);
	}
	.ci__image img {
		padding: 10px 5px;
	}
	.ci__title {
		font-size: 14px;
	}
	#modal-close {
		right: 0;
		top: 0;
	}
	.p__photo {
		width: calc(40% - 30px);
		right: 15px;
		top: 55px;
	}
	.p__logo {
		width: calc(60% - 10px);
		left: 15px;
	}
	#modal-inner {
		height: auto;
		max-height: 80vh;
	}
	.p__top {
		height: 130px;
		padding: 15px;
	}
	.p__details {
		width: 100%;
		padding-left: 15px;
	}
}
@media screen and (min-width: 1000px) {
	#menu {
		display: flex;
	}
	#mmenu {
		display:  none;
	}
	#footer .container, .footer {
		flex-direction: row;
		justify-content: space-between;
	}
	.footer__item {
		width: calc(25% - 20px);
	}
	h1 {
		font-size: 32px;
	}
	h2 {
		font-size: 28px;
	}
}
@media screen and (min-width: 1200px) {
	
}
@media screen and (min-width: 1350px) {
	
}
@media screen and (min-width: 1800px) {
	.container {
		max-width: 1400px;
	}
}
