body
{
	background: linear-gradient(to right, #70A3B8 380px, white 380px);
	--width: 340px;
    --height: 200px;
    --min-height: 200px;
    --width_sort: 340px;
    --height_sort: 200px;
    background-color: #F8F8F8;
}
main
{
	position:relative;
	display:grid;
	grid-template-areas: 
		"imgsList hOne"
		"imgsList text"
		"imgsList ."
		"imgsList contactsWrapper"
		"imgsList sotialWrap";
	grid-template-columns: 370px auto;
	grid-gap: 0.1em;
	padding:0;
}
.RN-wrapper{min-width: 90%;}
.contactsWrapper_off{display: none;}
.title
{
  width: 100%;
}
h1>.tox-tinymce
{
	min-height: 200px !important;
}
.gal_fix_size
{
 	width: var(--width);
    height: var(--height);
}
.gal_border
{
    width: var(--width);
    height: var(--height);
    border: 10px #ffffff solid;
    border-radius: 7.5em;
}
.gal_block_dot
{
    border: 1px dashed #6a6a6a;
 	overflow:hidden;
	width: calc(var(--width) + 20px);
    height: calc(var(--height) + 20px);
}
.gal_fix_size_small
{
  /*  width: 350px;*/
}
.gal_img_add_prew
{
    display: grid;
    height: 100%;
    align-items: center;
    width: var(--width);
    justify-items: center;
    cursor: pointer;
}
.gal_small_img_yes_width
{
	width: var(--width_sort)!important;
	min-height: var(--height_sort)!important;
}
.modal_sort_images>.gal_small_img_tab 
{
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}
.modal_sort_images>.gal_small_img_tab>.gal_small_img_yes
{
    width: 140px !important;
    height: 82px;
}
.modal_sort_images>.gal_small_img_tab>.gal_small_img_yes_width
{
    min-height: 82px !important;
}
.gal_small_img_tab
{
    display: grid;
    grid-template-columns: 1fr;
    grid-column-gap: 1em;
    grid-row-gap: 1em;
    margin: 10px;
}
.gal_small_img_no
{
    background-color: #e2dede40;
    display: grid;
    /*background-image: url("data:image/svg+xml;utf8,<svg width='100%' height='100%' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill: none; stroke: gray; stroke-width: 2; stroke-dasharray: 7 7'/></svg>");*/
    align-items: center;
    justify-items: center;
    min-height: var(--min-height);
    width: var(--width_sort);
    transition: 300ms;
    cursor: pointer;
	border-style: dashed;
	border-color: #373739;
	border-width: 1px;
	margin-left: 1px;
}
.gal_small_img_yes
{
    border: 3px #fff solid;
    background-position: center;
    background-size: 100%;
    height: var(--min-height);
    width: var(--width_sort);
	position:relative;
    user-select: none;
    cursor: pointer;
    box-shadow: 3px 3px 8px -3px #000000;
}
.gal_block_dot_small_img {
    border: 1px dashed #6a6a6a;
	padding-bottom: 10px;
}
.gal_block_small_img_client {
    margin: 1em 0 0 0.3em;
}

.sotialWrap
{
	display: grid;
    justify-items: center;
}
.sotialWrap_block{  }
.soc_adm_soc
{
	border-right: 3px solid #fff;
	padding: 0.5em 0.5em 0 0.5em;
}
.soc_adm_mes
{
 	padding: 0.5em 0.5em 0 0.5em;   
}
.imgsList
{
	grid-area: imgsList;
}
.imgsList_setup
{
/*	margin-left: 3em; */
	overflow: hidden;
	justify-content: flex-end;
}
.bigImg
{
	grid-area: bigImg;
	display: none;
}
.bigImg_setup
{
	display: flex;
    background: #f6f5f57d;
    border-radius: 8em;
    margin-bottom: 1em;
    width: calc(var(--width) + 20px);
}
/*.imgsList_tab
{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
	grid-column-gap: 1em;
  	grid-row-gap: 1em;
}
*/
.imgItemWrap
{
	border: 2px #e2e2e2 solid;
	overflow: hidden;
}
.h1_block
{
	grid-area: hOne;
	display: grid;
    grid-template-columns: 0 auto 0;
 	padding: 0 2em;
}
.h1_block_center
{
	display: grid;
	justify-items: center;
	align-items: center;
	border-top: none;
	border-bottom: 2px solid #515F7A;
	position: relative;
	margin-top: 1em;
	margin-bottom: 2em;
}
.h1_block_center::before
{
  content: "";
  position: absolute;
  top: 0;
  width: 70%;
  height: 2px;
  background-color: #515F7A;
}
.h1_block_center>h1>div
{
	/*display: inline-grid;*/
	padding: 1em;
}
h1{margin:0;}

.contactsWrapper
{
	grid-area: contactsWrapper;
	width: auto;
 	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;
	padding: 0 2em 0 2em;
}
.text::-webkit-scrollbar { width: 0; }

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

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


.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_setup:before
{
	display:none;
}
.sotialWrap>.sotial
{
	justify-content:center;
}

figure.zoom,#myimage
{
	height: 100%;
	border-radius: 7.2em;
}

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

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



@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_def
{
	display: grid;
    align-items: center;
}
.bigImgItem_def img {height: 15em;}
.bigImgItem:hover ~.img-zoom-result
{
	display:none;
}

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


.cont_adm_block
{
    display: inline-grid;
    justify-items: center;
}
.cont_adm_tab
{
    display: grid;
    grid-template-columns: auto auto auto;
    position: relative;
    z-index: 10;
    padding: 1em;
    grid-row-gap: 1em;
    grid-column-gap: 1em;
    background-color: #f0f0f0;
    border-radius: 1em;
    min-width: 250px;
}
.cont_adm_dot
{
    border: 1px dashed #6a6a6a;
}
.cont_adm_center
{
    display: grid;
    height: 100%;
}
.adm_con_2cell
{
    display: grid;
    grid-template-columns: 70px auto;
    align-items: center;    
}
.adm_con_2cell_1
{
    height: 70px;
    border-right: 2px solid #000;
    display: grid;
    align-items: center;
    justify-items: center;
}
.adm_con_2cell_1 img
{
    height: 50px;
}
.adm_con_2cell_2
{
    text-align: left;
    padding: 0em 1em;
}
.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;
}
.block_btn_top_right_cell_2_gal
{
    position: relative;
    display: grid;
    grid-template-columns: auto 30px 30px;
    grid-column-gap: 0.5em;
    margin: -0.7em -0.7em 0 0;
}
.left_corner
{
    display: none;
}
.right_corner
{
    display: none;
}
.soc_adm_block
{
    display: grid;
    grid-template-columns: auto auto;
    margin-bottom: 2em;
}
.gal_btn_tab
{
    display: inline-grid;
    grid-template-columns: auto;
    grid-row-gap: 1em;
    margin: 1.5em 0em 0em;
}

@media (max-width: 1300px)
{
.cont_adm_tab{grid-template-columns: auto;}
}
@media (max-width: 995px)
{
	body
	{
		background: none;
	    --min-height: 200px;
	    --width_sort: 340px;
	    --height_sort: 200px;
	}
	main
	{
		grid-template-areas: 
			"hOne"
			"text"
			"imgsList"
			"contactsWrapper"
			"sotialWrap";
		grid-template-columns: auto;
		grid-gap: 0.1em;
		padding:0;
	}
    .btn-left-right{width: 1em; margin-top: 2.5em;}
    .imgIconsWrapper2{display: none;}    
	.gal_small_img_tab
	{
		grid-template-columns: auto auto;
		justify-items: center;
	}
	.h1_block{padding: 0 0.5em;}
    .modal_sort_images>.gal_small_img_tab>.gal_small_img_yes
    {
        width: 130px !important;
        height: 76px;
    }
    .modal_sort_images>.gal_small_img_tab>.gal_small_img_yes_width
    {
        min-height: 76px !important;
    }    
}
@media (max-width: 850px)
{
.modal_sort_images>.gal_small_img_tab {grid-template-columns: 1fr 1fr 1fr 1fr;}
}
@media (max-width: 750px)
{
	body
	{
    --min-height: 147px;
    --width_sort: 250px;
    --height_sort: 147px;
	}
    .modal_sort_images>.gal_small_img_tab {grid-template-columns: 1fr 1fr 1fr;}
}
@media (max-width: 550px)
{
	.gal_small_img_tab{grid-template-columns: auto;}
    .modal_sort_images>.gal_small_img_tab {grid-template-columns: 1fr 1fr;}
	body
	{
    --min-height: 200px;
    --width_sort: 340px;
    --height_sort: 200px;
	}
}
.RN-table th {
    background-color: #f2f2f2;
}