body
{
	background: linear-gradient(to right, #374145 40%, #374145 40%, #DFE1DB 40%, #DFE1DB 60%);

}
.sotialWrap
{
	display: grid;
    justify-items: center;
}
.sotialWrap_block{  }
.soc_adm_soc
{
	padding: 0.5em 0.5em 0 0.5em;
}
.soc_adm_mes
{
 	padding: 0.5em 0.5em 0 0.5em;   
}
.imgsList
{
	grid-area: imgsList;
	padding: 1em 1em 1em 3em;
	overflow: hidden;
	justify-content: flex-end;
	margin-right: -45%;
	background-color: #CBA36F;
}

.imgsList_tab
{
	display: grid;
	grid-template-columns: repeat(10, 1fr);
	grid-column-gap: 1em;
  	grid-row-gap: 1em;
}
.imgItemWrap
{
	border: 2px #e2e2e2 solid;
	overflow: hidden;
	box-shadow: 3px 3px 7px -2px #4747478a;
}
.bigImg
{
	grid-area: bigImg;
    display: flex;
    justify-content: center;
    background: #f6f5f57d;
    margin-left: 3em;
    border: 10px #ffffff solid;
    margin-right: -45%;
    margin-top: 2em;
}
.h1_block
{
	grid-area: hOne;
	display: grid;
    grid-template-columns: auto auto auto;
    align-items: center;
    margin-right: -35%;
}
.h1_block_center
{
	display: grid;
	justify-items: center;
	transform: rotate(-90deg);
	background-image: linear-gradient(to right, transparent 49%, #000000 49%, #000000 51%, transparent 51%);
  	background-size: 4000% 3px;
  	background-repeat: no-repeat;
  	background-position: center;
  	background-position-y: 60%;
}
.h1_block_center>h1>div
{
	display: inline-grid;
	padding: 1em 3em;
}
h1{margin:0;}

.contactsWrapper
{
	grid-area: contactsWrapper;
	margin: 0;
    width: auto;
    display: flex;
	text-align:center;
	justify-content: center;
	margin-top: 4em;
    margin-bottom: 2em;
}

.links
{
	grid-area: links;
	width:100%;
	z-index:0;
	margin:0;
	padding: 10px 0 10px 5%;
}

.text
{
	grid-area: text;
	width: auto;
    text-align: justify;
	overflow: auto;
	padding: 2em 2em 3em 0;
}
.text::-webkit-scrollbar { width: 0; }

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

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

main
{
	position:relative;
	display:grid;
	grid-template-areas: 
		"bigImg hOne"
		"imgsList hOne"
		"contactsWrapper text"
		"sotialWrap text";
	grid-template-columns: 4fr 5fr;
	grid-template-rows: auto auto 22em auto;
	grid-gap: 0.1em;
	padding:0;
	grid-column-gap: 1em;
  	grid-row-gap: 1em;
  	overflow-x: hidden;
}

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

.links>div>div
{
	width:25%;
	background-color:var(--main-bg-color);
	height: 100%;
    align-items: center;
    display: flex;
    justify-content: center;
	position:relative;
}

.links>div>div:first-child:before
{
	content:'';
	width: 0;
    height: 0;
    border-bottom: 70px solid var(--main-bg-color);
    border-left: 40px solid transparent;
    left: 0;
    position: relative;
	transform: translateX(-100%);
	position:absolute;
}

.links>div>div:last-child:before
{
	content:'';
	width: 0;
    height: 0;
    border-top: 70px solid var(--main-bg-color);
    border-right: 40px solid transparent;
    right: 0;
    position: absolute;
	transform: translateX(100%);
}

.links>div>div>a
{
	color:black;
}

.contactItem
{
	width: 25%;
	background-color:var(--main-bg-color);
	position:relative;
}

.contactItem:first-child:before
{
	content: '';
    width: 100px;
    height: 100%;
    background-color: var(--main-bg-color);
    transform: skew(-20deg, 0deg);
    left: -25px;
    position: absolute;
    top: 0;
    z-index: -1;
}

.contactItem:last-child:before
{
	content: '';
    width: 100px;
    height: 100%;
    background-color: var(--main-bg-color);
    transform: skew(-20deg, 0deg);
    right: -25px;
    position: absolute;
    top: 0;
    z-index: -1;
}

.contactItem>div
{
	display:block;
}

.bold 
{
	width:100%;
	padding:0;
}



.imgItem
{
    height: 100px;
    object-fit: cover; 
    width: 100%;
    margin-bottom: -11px;
}

.imgsList:before
{
	display:none;
}
.sotialWrap>.sotial
{
	justify-content:center;
}

figure.zoom,#myimage
{
	height: 100%;
	min-height: 500px;
}

@media screen and (max-width: 1000px)
{
	.links
	{
		height: 80%;
	}
	
	.contactsWrapper
	{
		height: 100%;
	}
}

.imgItem{
	transition: transform 1s linear;
    -webkit-transform: rotateY(360deg);
    transform: rotateY(360deg);
}

#myimage
{
	animation-duration: 3s;
	animation-name: slidein;
	animation-iteration-count: 1;
}

@keyframes slidein {
  from {
    margin-left: 100%;
  }

  to {
    margin-left: 0%;
  }
}

.divL,.divR
{
	position: absolute;
    top: 0;
    bottom: 0;
    width: 20%;
    height: 100%;
	z-index:100;
	cursor:pointer;
}

.divL
{
	left:0;
}

.divR
{
	right:0;
}

.divL:hover,.divR:hover
{
	background-color:black;
	opacity:0.3;
}

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

@media screen and (max-width: 1300px)
{
	.contactsWrapper:before, .contactsWrapper:after
	{
		content:none;
	}
}


.cont_adm_block
{
    display: grid;
}
.cont_adm_tab
{
    display: grid;
    grid-template-columns: auto;
    position: relative;
    z-index: 10;
    padding: 0.5em;
    grid-row-gap: 1em;
}
.cont_adm_dot
{
    border: 1px dashed #6a6a6a;
}
.cont_adm_center
{
    display: grid;
    height: 100%;
}
.adm_con_2cell
{
    display: grid;
    grid-template-columns: 60px auto;
    align-items: center;    
}
.adm_con_2cell_1
{
    display: grid;
    align-items: center;
    justify-items: center;
    background-color: #fff;
    border-radius: 50%;
    height: 60px;
    width: 60px;
}
.adm_con_2cell_1 img
{
    height: 39px;
}
.adm_con_2cell_2
{
    text-align: left;
    padding: 0em 1em;
    color: #fff;
}
.block_btn_top_right_cell_1
{
    position: relative;
    display: grid;
    grid-template-columns: auto 30px;
    grid-column-gap: 0.3em;
    margin: -0.5em -0.5em -1em 0;
}
.block_btn_top_right_cell_2
{
    position: relative;
    display: grid;
    grid-template-columns: auto 30px 30px;
    grid-column-gap: 0.3em;
    margin: -0.5em 0 -1.2em 0;
}
.left_corner
{
    display: none;
}
.right_corner
{
    display: none;
}
.soc_adm_block
{
    display: grid;
    grid-template-columns: auto;
}
@media (max-width: 1500px)
{
	.imgItem{height: 80px;}
}
@media (max-width: 1350px)
{
	.imgItem{height: 60px;}
	.imgItemWrap{border: 1px #e2e2e2 solid;}
}
@media (max-width: 1300px)
{
	.h1_block_center>h1>div{padding: 1em 1em;}
	.h1_block_center{max-width: 675px;}
}
@media (max-width: 995px)
{
	main
	{
		position:relative;
		display:grid;
		grid-template-areas: 
			"hOne hOne"
			"bigImg bigImg"
			"imgsList imgsList"
			"text text"			
			"contactsWrapper contactsWrapper"
			"sotialWrap sotialWrap";
		grid-template-columns: 1fr 1fr;
		margin: 0em 0.5em 0em 0.5em;
		grid-template-rows: auto;
	}
	.h1_block_center{transform: rotate(0deg); background-image: none;}
	.h1_block{margin-right: 0; padding-left: 5%;}
	body{background: linear-gradient(to right, #374145 5%, #374145 5%, #DFE1DB 5%, #DFE1DB 95%);}
	h1{line-height: 1.5;}
	.bigImg{margin-top: 1em;}
	.bigImg{margin-left: 0; margin-right: 0; padding: 0;}
	.imgsList{margin-left: 0; margin-right: 0; padding: 1em;}
	.contactsWrapper{margin-top: -1em; background-color: #374145; padding-top: 2em;}
	.sotialWrap{justify-items: center; background-color: #374145; padding-bottom: 1em;}
	.soc_adm_soc{border-right: none;}
	.text{padding: 1em; background-color: #dfe1db;}
	.cont_adm_tab{grid-template-columns: auto; grid-row-gap: 0.7em;}
	.cont_adm_block{margin-bottom: 3em;}
	.soc_adm_block{grid-template-columns: 1fr; grid-row-gap: 0;}
	.imgsList_tab{grid-template-columns: repeat(5, 1fr); grid-column-gap: 0.5em; grid-row-gap: 0.5em;}
	.imgItem{height: 100px;}
}
@media (max-width: 700px)
{
	.imgItem {height: 80px;}
}
@media (max-width: 700px)
{
	.imgsList_tab{grid-template-columns: repeat(4, 1fr);}
}