:root 
{
  --main-bg-color: #95afd6;
}

@font-face 
{
    font-family: Raleway; /* Èìÿ øðèôòà */
    src: url(/templates/fonts/Raleway-VariableFont_wght.ttf); /* Ïóòü ê ôàéëó ñî øðèôòîì */
}

.imgsList
{
	grid-area: imgsList;
	width:100%;
	margin:0;
	padding:0;
}

.imgsList>div
{
	overflow: hidden;
    width: 80%;
    position: absolute;
    left: 20px;
    top: 70px;
    flex-wrap: wrap;
    height: auto;
}

.tox .tox-edit-area__iframe
{
	background-color:black;
}

.bigImg
{
	grid-area: bigImg;
	margin:0;
	padding:0;
	width: auto;
}

.bigImg>div
{
	padding: 40px 0 0 0;
}

.bigImgItem
{
	z-index:1;
	height: 90vh;
    box-shadow: 20px 20px;
}

h1.title
{
	grid-area: hOne;
	margin:0 auto;
    justify-content: flex-start;
	transform: translateX(10px);
	font-size: 3em;
    font-weight: 600;
	width:95%;
	writing-mode: vertical-lr;
	color: white;
    background-color: black;
    display: flex;
    align-items: center;
    padding: 20px 0;
	white-space:nowrap;
}

h1,div,p,a
{
	font-family: Raleway; /* Èìÿ øðèôòà */
    src: url(/templates/fonts/Raleway-VariableFont_wght.ttf); /* Ïóòü ê ôàéëó ñî øðèôòîì */
}

html, body 
{
    height:100%;
	width:100%;
	margin:0 auto;
}

.contactsWrapper
{
	grid-area: contactsWrapper;
	width:100%;
	height:100%;
	margin:0;
	padding:0;
	height: 100%;
    display: flex;
	color: gray;
	flex-wrap: wrap;
}

.links
{
	grid-area: links;
	width: 100%;
	margin:0;
	padding:0;
}

.links>div
{
	height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

.text
{
	grid-area: text;
	width:95%;
    margin:0 auto;
	text-align:justify;
	transform: translateX(10px);
	padding: 50px 0;
}

.sotialWrap
{
	grid-area: sotialWrap;
	margin:0 0 0 65px;
}

main
{
	position:relative;
	display:grid;
	grid-template-areas:
		"imgsList hOne bigImg"
		"imgsList hOne text"
		"imgsList hOne contactsWrapper"
		". hOne sotialWrap";
	grid-template-columns: 300px 200px 1fr;
	grid-template-rows: 1fr auto auto auto;
	padding:0;
	min-height:100%;
	margin:0 auto;
	width:auto;
	height:auto;
}

.imgsList>div>div
{
	width: 70px;
    height: 70px;
    display: inline-block;
	border:none;
	position:relative;
}

.imgItem 
{
    width: 70px;
    height: 70px;
    border-radius: 50%;
	box-shadow:2px 2px;
}

.hideScroll:before
{
	display:none;
}

.contactItem 
{
    padding: 10px 0 10px 70px;
}

.imgsList>div.whiteScroll
{
	display:none;
}

.img-zoom-container:before
{
	content:'';
}

figure.zoom
{
	height:90vh;
}

#myimage
{
	max-height: 90vh;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

@media screen and (max-width: 1200px) and (min-width: 999px)
{
	main
	{
		grid-template-columns: 200px 150px 1fr;
		grid-template-rows: 65vh auto auto auto;
	}
	
	figure.zoom,#myimage
	{
		height:60vh;
	}
	
	.bigImg>div
	{
		display: flex;
		justify-content: center;
		align-items: center;
		height: 65vh;
		padding:0;
	}
}

@media screen and (max-width: 1000px) and (min-width: 700px)
{
	main
	{
		grid-template-areas:
			"hOne bigImg"
			"hOne imgsList"
			"hOne text"
			"hOne contactsWrapper"
			"hOne sotialWrap";
		grid-template-columns: 150px 1fr;
		grid-template-rows: 80vh 200px 1fr 200px auto;
	}
	
	.links
	{
		height:100%;
	}
	
	.imgsList>div
	{
		top:30px;
	}
	
	.text
	{
		padding:0;
	}
	
	.bigImg>div
	{
		padding: 0;
		display: flex;
		justify-content: center;
		align-items: center;
	}
	
	figure.zoom
	{
		max-height: 70vh;
		transform: none;
		left: 0;
		top: 0;
		height: auto;
	}
	
	#myimage
	{
		max-height: 70vh;
		height: auto;
		left: 0;
		top: 0;
		transform: none;
	}
	
	.sotialWrap
	{
		flex-wrap:wrap;
	}
}

@media screen and (max-width: 699px)
{
	main
	{
		grid-template-areas:
			"hOne bigImg"
			"hOne imgsList"
			"hOne text"
			"hOne contactsWrapper"
			"hOne sotialWrap";
		grid-template-columns: 70px auto;
		grid-template-rows: 50vh auto 1fr auto auto;
	}
	
	.links
	{
		height:100%;
	}
	
	.links>div
	{
		display:block;
		width:90%;
	}
	
	.links>div>div
	{
		padding: 5px 0 5px 20px;
	}
	
	.bigImg
	{
		height:50vh;
	}
	
	.bigImg>div
	{
		padding: 0;
		display: flex;
		justify-content: center;
		align-items: center;
	}
	
	h1.title
	{
		transform:translateX(0);
	}
	
	.imgsList>div
	{
		left:10px;
		position:relative;
		top:20px;
	}
	
	.contactItem
	{
		padding: 10px 0 10px 20px;
		width: 90%;
	}
	
	h1.title
	{
		font-size: 20px;
	}
	
	.text
	{
		padding: 10px 0 0 0;
		transform: translateX(0);
	}
	
	.bigImgItem
	{
		box-shadow: 0 20px;
	}
	
	figure.zoom
	{
		max-height: 50vh;
		transform: none;
		left: 0;
		top: 0;
		height: auto;
	}
	
	#myimage
	{
		max-height: 50vh;
		height: auto;
		left: 0;
		top: 0;
		transform: none;
	}
	
	.sotialWrap
	{
		flex-wrap:wrap;
	}
	
	.sotialWrap>.sotial
	{
		padding:0;
	}
}

.img-zoom-result
{
	display:none;
}

