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

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

.imgsList
{
	grid-area: imgsList;
	width:100%;
	/*height:50vh;*/
}

.imgsList>div
{
	display:none;
}

.bigImg
{
	/*grid-area: bigImg;*/
	display:none;
}

h1
{
	grid-area: hOne;
}

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;
	display:flex;
	width:100%;
	background-color: #232323;
	color: #bfbfbf;
	padding: 50px 10px 10px 10px;
	height:100%;
}

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

.text
{
	grid-area: text;
	width: 80%;
    padding: 40px 0;
	margin:0 auto;
}

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

.links>div
{
	display:flex;
	align-items: center;
    justify-content: space-around;
}

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

main>div
{
	height:auto;
}

h1.title
{
	text-align:center;
}

.contactItem
{
	width:33%;
}

.contactItem>div
{
	display:block;
}

.bold
{
	text-align:center;
	width:99%;
}

.contactItem>div>div
{
	padding:10px;
}

.imgsList>div
{
	/*display:grid;
	grid-gap:1px;*/
	display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
}

.imgsList>div>div
{
	min-width: calc(100% / 4);
    height: 40vh;
    text-align: center;
    line-height: 75px;
    font-size: 30px;
    flex-grow: 1;
    max-width: 500px;
    padding: 0;
    border: none;
    border-radius: 0;
    display: contents;
    flex-flow: column;
    overflow: hidden;
}

.imgItem
{
	outline: 5px solid white;
    outline-offset: -5px;
    height: 40vh;
    width: auto;
}

.imgsList
{
	padding:0;
}

.hideScroll:before
{
	display:none;
}

.contactsWrapper
{
	margin: 0;
    padding: 0;
	flex-wrap: wrap;
    justify-content: space-around;
}

.contactItem
{
	width:auto;
	padding:50px 0;
}

.sotialWrap
{
	margin: 0 auto;
	display:flex;
	flex-wrap: nowrap;
	width: 100%;
}

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

.modalImgWrapper
{
	background-color: transparent;
}

@media screen and (max-width: 1000px){
	.links {
		height: 50px;
	}
	
	.imgItem {
		height: auto;
		width: auto;
		max-width: 90%;
	}
}

@media screen and (max-width: 600px)
{
	.sotialWrap
	{
		flex-wrap: wrap;
	}
}

.contactsWrapper::-webkit-scrollbar { width: 0; }

.contactsWrapper { -ms-overflow-style: none; }

.contactsWrapper { overflow: -moz-scrollbars-none; }