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

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

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

.bigImg
{
	grid-area: bigImg;
	height:70vh;
	height: 70vh;
    display: flex;
    align-items: center;
	justify-content: center;
}

h1
{
	grid-area: hOne;
}

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

.contactsWrapper
{
	grid-area: contactsWrapper;
	display:flex;
	width:100%;
	background-color: #232323;
	color: #bfbfbf;
}

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

.text
{
	grid-area: text;
	padding-bottom: 60px;
}

html, body 
{
    height:100%;
}

main
{
	position:relative;
	display:grid;
	grid-template-areas:
		"imgsList bigImg hOne"
		"imgsList bigImg text"
		"contactsWrapper contactsWrapper contactsWrapper"
		"sotialWrap sotialWrap sotialWrap";
	grid-template-columns: 10% 34% 54%;
	grid-template-rows: auto 1fr auto auto;
	grid-gap: 10px;
	padding: 50px 0 0 0;
	min-height:100%;
	margin:0 auto;
	width:99%;
}

main>div
{
	width:100%;
}

.links>div
{
	display: flex;
	background-color: rgba(255,255,255,.6);
	border-bottom: 1px solid var(--main-bg-color);
}

.links>div>div
{
	width: 33%;
	text-align:center;
}

.links>div>div>a
{
	color: #232323;
}

.imgsList>div
{
	height:auto;
}

.contactItem
{
	width:32%;
}

.contactItem>div 
{
    display: block;
	padding:10px;
	text-align:center;
}

.hideScroll:before
{
	display:none;
}

.imgsList>div
{
	text-align:center;
}

.imgsList>div>div
{
	padding: 0;
    border: none;
    border-radius: 0;
}

.imgItem
{
	height:40px;
	width:40px;
	border-radius: 50%;
	border: 1px solid;
    box-shadow: 0 0 5px;
}

.bigImgItem:hover ~.img-zoom-result
{
	display:none;
}

.bold
{
	width:100%;
}

body:before
{
	content:'';
	position:fixed;
	background-color:var(--main-bg-color);
	top:0;
	bottom:0;
	left:0;
	width:30%;
	z-index:-2;
}

.bckgrndImgFixed
{
	position:fixed;
	top:0;
	bottom:0;
	left:0;
	width:30%;
	opacity:.15;
	z-index:-1;
}

h1[itemprop="name"]
{
	font-size:3em;
	color:var(--main-bg-color);
}

.divR
{
	position: absolute;
    height: 50px;
    width: 50px;
    background-color: var(--main-bg-color);
    z-index: 10000;
    bottom: 0;
    right: 0;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
	cursor:pointer;
}

#myimage
{
	width: auto;
    height: auto;
	max-height:70vh;
}

figure.zoom
{
	max-height:none;
}

.metaButtonsWrapper,.chooseSiteTypeWrapper
{
	right: auto;
	transform: translateX(-50%);
}

.sotialWrap
{
	background-color: #232323;
    transform: translateY(-10px);
}

.sotialWrap>.sotial
{
	justify-content: center;
}

.hideScroll::-webkit-scrollbar {
    width: 5px;
    height: 8px;
    background-color: #e9e9e9;
}

/* ???????? ?????????? */
.hideScroll::-webkit-scrollbar-thumb {
    background-color: #979797;
}

.hideScroll::-webkit-scrollbar-thumb:hover {
    background-color: #5c5c5c;
}

.text>p
{
	padding: 0 50px 0 0;
}

@media screen and (max-width: 1000px)
{
	.contactsWrapper,.links
	{
		height:100%;
	}
	
	main
	{
		grid-template-areas:
			"hOne hOne"
			"imgsList bigImg"
			"text text"
			"contactsWrapper contactsWrapper"
			"sotialWrap sotialWrap";
		grid-template-columns: 15% 80%;
		grid-template-rows: auto 40vh auto auto auto;
	}
	
	h1[itemprop="name"]
	{
		background-color: rgba(256,256,256,.7);
		padding: 20px;
		width:80%;
	}
	
	.text
	{
		background-color: white;
		padding: 20px;
		width: 80%;
		margin:0 auto;
		border:1px solid var(--main-bg-color);
		padding:20px;
	}
	
	.sotialWrap
	{
		flex-wrap: wrap;
	}
	
	.bigImg
	{
		height:40vh;
	}
	
	#myimage
	{
		max-height:40vh;
	}
	
	figure.zoom
	{
		top: 50%;
		position: relative;
		transform: translate(-50%, -50%);
		left: 50%;
	}
	
	.imgsList
	{
		overflow: auto;
		direction: rtl;
	}
	
	.text>p
	{
		padding: 0;
	}
}

@media screen and (max-width: 500px)
{
	main
	{
		grid-template-areas:
			"hOne"
			"bigImg"
			"imgsList"
			"text"
			"contactsWrapper"
			"sotialWrap";
		grid-template-columns: 99%;
		grid-template-rows: auto 40vh auto auto auto auto;
	}
	
	.links>div
	{
		display:block;
	}
	
	.links>div>div
	{
		width:99%;
	}
	
	.imgItemWrap
	{
		display: contents;
	}
	
	.imgItem
	{
		margin: 2px;
	}
	
	.imgsList
	{
		flex-wrap:wrap;
	}
}

@media screen and (max-width: 800px)
{
	.contactsWrapper
	{
		display:block;
	}
	
	.contactsWrapper>div
	{
		width:99%;
	}
}