body
{
	--width: 1020px;
    --height: 698px;
    --min-height: 58px;
    --width_sort: 85px;
    --height_sort: 58px;
    --margin-left: 8em;
    padding-top: 1em;
    background: linear-gradient(to right, #384146 650px, #E0E1DB 650px);
}
main
{
	position:relative;
	display:grid;
	grid-template-areas: 
		"bigImg bigImg hOne"
		"imgsList imgsList hOne"
        "contactsWrapper text text"
        ". text text"
		"sotialWrap text text";
	grid-template-columns: 650px 520px auto;
    /* grid-template-rows:calc(var(--height) + 30px) auto auto auto auto; */
    grid-gap: 0.1em;
	padding:0;
    overflow: hidden;
}
.h1_block_center button > .cont_adm_top_btn_text >.bnt_ico_1_text 
{
    width: 1px !important;
    opacity: 0 !important;
}
.h1_block_center button > .cont_adm_top_btn_text{grid-template-columns: 0 auto !important;}

.h1_block_center>.title
{
    writing-mode: horizontal-tb;
    display: grid;
    align-items: center;
    padding: 0.5em 1em;
}

.h1_block_center>.RN-wrapper>.RN-txtarea
{
    writing-mode: horizontal-tb;
}s

/* vertical */
/*

.h1_block_center>.RN-wrapper>.RN-txtarea
{
    writing-mode: vertical-rl;
}
.h1_block_center>.title
{
    writing-mode: vertical-rl;
    display: grid;
    align-items: center;
    padding: 0.5em 1em;
}*/
.h1_block_center>.RN-wrapper
{
    display: inline-grid;
    justify-content: space-around;
}
.h1_block_center>.RN-wrapper>.text_containet_btn
{
    margin-bottom: -1em;
    display: grid;
    justify-content: end;
}
.h1_block_center>.RN-wrapper>#RN-save
{
    text-align: center;
    padding-right: 0;
}
.contactsWrapper_off {display: none;}
.title
{
 height: 100%;
}
.gal_fix_size
{
 	width: calc(var(--width) + 10px);
    height: calc(var(--height) + 10px);
}
.gal_border
{
    width: var(--width);
    height: var(--height) !important;
    border: 10px #fff solid;
    position: relative;
    z-index: 2;
}
.gal_block_dot
{
    border: 1px dashed #6a6a6a;
	overflow:hidden;
	width: calc(var(--width) + 20px) !important;
    height: calc(var(--height) + 20px);
}
.gal_fix_size_small
{
  /*  width: var(--width); */
}
.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;
    padding-left: 1em;
}
.modal_sort_images>.gal_small_img_tab>.gal_small_img_yes
{
    width: 140px !important;
    height: 96px;
}
.gal_small_img_tab
{
    display: grid;
    grid-template-columns: repeat(10, 1fr);;
    grid-column-gap: 0.9em;
    grid-row-gap: 0;
    margin: 0 0 1em 0;
    justify-items: center;
    background-color: #CBA36F;
    padding: 1em 1em 0 1em;
    padding-left: var(--margin-left);
}
.gal_small_img_no
{
    background-color: #ffffffe8;
    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;
    box-shadow: 3px 3px 10px -3px #3f3f3f;
    margin-bottom: 1em;
}
.gal_small_img_yes
{
    border: 2px #ffffff solid;
    background-size: 100%;
    min-height: var(--min-height);
    width: var(--width_sort);
	position:relative;
    user-select: none;
    cursor: pointer;
    box-shadow: 3px 3px 10px -3px #3f3f3f;
    margin-bottom: 1em;
}
.gal_block_dot_small_img {
    border: 1px dashed #6a6a6a;
	margin: 0 0 0 3em;
	width: auto;
	padding-bottom: 10px;
}
.gal_block_small_img_client 
{
}

.sotialWrap
{

}
.sotialWrap_block
{
	width: 100%;
}
.soc_adm_soc
{
	padding: 0.5em 0.5em 0 0.5em;
	display: grid;
    justify-items: center;
}
.soc_adm_mes
{
 	padding: 0.5em 0.5em 0 0.5em;
 	display: grid;
    justify-items: center;
}
.imgsList
{
	grid-area: imgsList;
}
.imgsList_setup
{
	margin-left: 0;
	overflow: hidden;
	justify-content: flex-end;
    max-width: 73em;
    margin-top: 1em;
}
.bigImg
{
	grid-area: bigImg;
	height: calc(var(--height) + 25px);
}
.bigImg_setup
{
	display: flex;
    /*background: #f6f5f57d;*/
    width: var(--width);
    margin-left: var(--margin-left);
}
/*.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: auto 1fr auto;
    margin: 0;
    align-items: center;
}
.h1_block_center
{
    display: grid;
    align-items: center;
    margin: 0 0.7em;
}
.h1_block_center>h1
{

}
h1{margin:0;}

.contactsWrapper
{
	grid-area: contactsWrapper;
	margin: 0;
    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;
	margin: 0.5em 2em 0.5em 2em;
	padding: 2em;
    border-radius: 10px;
    background-color: rgb(255 255 255 / 86%);
}
.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%;
}

@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: block;
    padding: 1em;
    margin: 0 1em;
}
.cont_adm_tab
{
    display: inline-grid;
    grid-template-columns: auto;
    position: relative;
    z-index: 10;
    padding: 0.5em;
    grid-row-gap: 1em;
    grid-column-gap: 1em;
    color: #fff;
    margin-left: var(--margin-left);
}
.cont_adm_dot
{
    border: 1px dashed #babec3 !important;
}
.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: 68px;
    border: 1px solid #979797 !important;
    background-color: #fff;
    border-radius: 50%;
    display: grid;
    align-items: center;
    justify-items: center;
}
.adm_con_2cell_1 img
{
    height: 45px;
}
.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;
    margin-bottom: 1em;
}
.gal_btn_tab
{
    display: inline-grid;
    grid-template-columns: auto auto;
    grid-column-gap: 1em;
    grid-row-gap: 1em;
    margin: 0.5em 0em 0em;
}
.cont_adm_top_btn
{
	margin-right: 1em !important;
}

@media (max-width: 1500px)
{
    body
    {
        --width: 1000px;
        --height: 684px;
        --min-height: 58px;
        --width_sort: 85px;
        --height_sort: 58px;        
        --margin-left: 3em;
        background: linear-gradient(to right, #384146 550px, #E0E1DB 550px);
    }
    .gal_small_img_tab{grid-column-gap: 0.8em;}
    .imgsList_setup{max-width: 68em;}
    main{grid-template-columns: 550px 520px auto;}
    .text{margin: 0.5em 1em;}
}
@media (max-width: 1350px)
{
    body
    {
        --width: 800px;
        --height: 547px;
        --min-height: 68px;
        --width_sort: 100px;
        --height_sort: 68px;        
        background: linear-gradient(to right, #384146 455px, #E0E1DB 455px);
    }
    .gal_small_img_tab{grid-template-columns: repeat(5, 1fr);}
    .imgsList_setup{max-width: 54em;}
    main
    {
        grid-template-columns: 450px 420px auto;
        grid-template-rows: auto;
    }

}
@media (max-width: 1200px)
{
    body
    {
        --width: 700px;
        --height: 479px;
        background: linear-gradient(to right, #384146 390px, #E0E1DB 390px);
    }
    .gal_small_img_tab{grid-template-columns: repeat(5, 1fr);}
    .imgsList_setup{max-width: 48em;}
    main{grid-template-columns: 390px 380px auto;}
}
@media (max-width: 1100px)
{
    body{--margin-left: 1em;}
    main {grid-template-columns: 390px 345px auto;}
}
.modal_sort_images {margin: 0 !important;}
@media (max-width: 995px)
{
	.h1_block_center{writing-mode: horizontal-tb;}
    h1{line-height: 1.2;}
    body
    {
    --width: 700px;
    --height: 479px;
    --min-height: 68px;
    --width_sort: 100px;
    --height_sort: 68px;
    --margin-left: 0;
    background: none;
    }
	main
	{
		grid-template-areas: 
        "hOne"
        "bigImg"
        "imgsList"
        "text"
        "contactsWrapper"
        "sotialWrap";
		grid-template-columns: 100%;
	}
    .h1_block_center>.RN-wrapper>.RN-txtarea{writing-mode: revert;}
    .modal_sort_images>.gal_small_img_tab>.gal_small_img_yes
    {
        width: 140px !important;
        height: 96px;
    }
    .h1_block_center>.title
{
    writing-mode: horizontal-tb;
    display: grid;
    align-items: center;
    padding: 0.5em 1em;
}
    .imgsList_setup{max-width: 100%;}
	.gal_small_img_tab{grid-template-columns: 1fr 1fr 1fr 1fr 1fr;}
	.gal_small_img_yes, .gal_small_img_no{box-shadow: none;}
	.gal_btn_tab{grid-template-columns: auto auto;}
	.text{margin: 0.5em;}
	.contactsWrapper{justify-items: center;}
	.bigImg{display: grid; justify-items: center;}
	.soc_adm_block{padding-left: 0;}
    .h1_block{margin: 1em 0.5em;}
    .cont_adm_tab{color: #000;}
    .modal_sort_images {margin: 0 !important;}
    .btn-left-right{width: 1em; margin-top: 2.5em;}
    .imgIconsWrapper2{display: none;}
}
@media (max-width: 850px)
{
    .modal_sort_images>.gal_small_img_tab>.gal_small_img_yes
    {
        width: 120px !important;
        height: 82px;
    }
}
@media (max-width: 750px)
{
.modal_sort_images>.gal_small_img_tab {grid-template-columns: 1fr 1fr 1fr 1fr;}
}
@media (max-width: 740px)
{
	body
	{
	--width: 380px;
    --height: 260px;
    --min-height: 68px;
    --width_sort: 100px;
    --height_sort: 68px;
	}
	.gal_small_img_tab{grid-template-columns: 1fr 1fr 1fr 1fr;}
}
@media (max-width: 650px)
{
.modal_sort_images>.gal_small_img_tab {grid-template-columns: 1fr 1fr 1fr;}
}
@media (max-width: 550px)
{
	body
	{
	--width: 380px;
    --height: 260px;
    --min-height: 68px;
    --width_sort: 100px;
    --height_sort: 68px;
	}
	.gal_small_img_tab{grid-template-columns: 1fr 1fr;}
    .modal_sort_images>.gal_small_img_tab {grid-template-columns: 1fr 1fr;}
	.gal_btn_tab{grid-template-columns: auto;}
}
@media (max-width: 450px)
{
	body
	{
	--width: 350px;
    --height: 240px;
	}
}
.RN-table th {
    background-color: #f2f2f2;
}