body
{
	background: linear-gradient(to left, #E4E2E3 380px, white 380px);
	--width: 320px;
    --height: 220px;
    --min-height: 220px;
    --width_sort: 320px;
    --height_sort: 220px;
    background-color: #F8F8F8;
}
main
{
	position:relative;
	display:grid;
	grid-template-areas: 
		"hOne sotialWrap"
		"imgsList imgsList"
		"text contactsWrapper";
	grid-template-columns: auto 378px;
	grid-gap: 0.1em;
	padding:0;
}
.cont_adm_top_btn_none
{
    border-radius: 20px 20px 0px 0px !important;
    border-bottom: none !important;
}
.RN-wrapper{min-width: 90%;}
.contactsWrapper_off{display: none;}
.title
{
  width: 100%;
}
h1>.tox-tinymce
{
	min-height: 200px !important;
}
/*
.bigImgWrapper1, .bigImgWrapper2
{
    height: 100% !important;
}
*/
.closeModalWindowClass
{
    background: #6d6f70e6;
    border-radius: 50%;
	top:-100%;
}
.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: 96px !important;
}
.modal_sort_images>.gal_small_img_tab>.gal_small_img_yes_width
{
    min-height: 96px !important;
}
.gal_small_img_tab
{
    display: grid !important;
    grid-template-columns: repeat(10, 1fr);
    grid-column-gap: 1em;
    grid-row-gap: 1em;
    margin: 10px 0;
    justify-items: center;
	position:relative;
}
.gal_small_img_tab {
    display: flex;
    overflow-x: auto; /* Enable horizontal scrolling */
    overflow-y: hidden; /* Hide vertical scrollbar if any */
    align-items: center;
    white-space: nowrap;
    gap: 1em;
    padding: 0;
    margin: 10px 0;
    font-family: 'Rubik', sans-serif;

    /* Hide scrollbar */
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none; /* For Internet Explorer and Edge */
}

.gal_small_img_tab::-webkit-scrollbar {
    display: none; /* For Chrome, Safari, and Opera */
}
.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: #fff;
	border-width: 1px;
	margin-left: 1px;
}
.gal_small_img_yes
{
    border: 5px #fff solid;
    background-position: center;
    background-size: 100%;
    height: var(--min-height);
    width: var(--width_sort);
	position:relative;
    user-select: none;
    cursor: pointer;
}
.gal_block_dot_small_img {
    /* border: 1px dashed #6a6a6a; */
	padding-bottom: 10px;
}
.gal_block_small_img_client {
    margin: 0 1em;
}

.sotialWrap
{
	display: grid;
    justify-items: center;
}
.sotialWrap_block
{
    display: grid;
    align-items: center;
    border-top: 5px solid #ffffff;
    margin-top: 1em;
    width: 100%;
    text-align: center;
}
.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;
	position:relative;
}
.imgsList_setup
{
/*	margin-left: 3em; */
	overflow: hidden;
}
.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;
    border: 5px solid #242424;
    border-top-left-radius: 2em;
    padding: 1em 1em 1em 1em;
    margin: 1em 0 -2em 2.5em;
    border-right: none;
    border-bottom: none;
}
.h1_block_center
{
	display: grid;
	justify-items: center;
	align-items: center;
	border-top: none;
	position: relative;
	margin-top: 1em;
	margin-bottom: 2em;
}
.h1_block_center>h1>div
{
	/*display: inline-grid;*/
	padding: 1em;
}
h1{margin:0;}

.contactsWrapper
{
	grid-area: contactsWrapper;
    width: calc(100% + 3em);
    margin-top: 4em;
    margin-bottom: 2em;
    margin-left: -3em;
}

.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: 3em 4em 2em 3em;
    margin: 0.5em;
}
.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: grid;
    justify-items: stretch;
}
.cont_adm_tab
{
    display: grid;
    grid-template-columns: auto;
    position: relative;
    z-index: 10;
    padding: 0.5em;
    grid-row-gap: 1em;
    grid-column-gap: 1em;
    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: 65px;
    display: grid;
    align-items: center;
    justify-items: center;
    border: 3px solid #fff !important;
    border-radius: 50%;
    background-color: #242424;
}
.adm_con_2cell_1 img
{
    height: 35px;
}
.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
{
 
}
.gal_btn_tab
{
    display: inline-grid;
    grid-template-columns: auto auto;
    grid-column-gap: 1em;
}

.imgsList_setup{
	background-color: #242424;
    padding: 2em;
    border-radius: 1.5em;
}

.imgsList {
        display: flex;
        overflow-x: scroll;
        white-space: nowrap;
    }

    .gal_block_small_img_client {
        display: flex;
    }

    .gal_small_img_tab {
        display: flex;
        flex-direction: row;
    }

    .imgItem {
       background-size: cover;
        background-position: center;
        margin-right: 10px; /* Отступ между изображениями */
    }
	
	.imgsList::-webkit-scrollbar {
    width: 0;
    height: 0;
}

/* Опционально: меняем цвет фона полосы прокрутки */
.imgsList::-webkit-scrollbar-track {
    background-color: transparent;
}

/* Опционально: меняем цвет полосы прокрутки */
.imgsList::-webkit-scrollbar-thumb {
    background-color: transparent;
}

.gall_scroll_left
{
    background: linear-gradient(to left, #24242400, #242424);
    position: absolute;
    transition: 400ms;
    top: 0;
    bottom: 0;
    width: 5em;
    z-index: 1;
    cursor: pointer;
    margin-left: 1em;
    display: grid;
    justify-items: start;
    align-items: center;
    border-radius: 1em 0 0 1em;
    padding-left: 0.5em;
}
.gall_scroll_left:hover
{
    background: linear-gradient(to left, #acacac00, #606060);
    transition: 400ms;
}
.gall_scroll_right
{
    background: linear-gradient(to right, #24242400, #242424);
    position: absolute;
    transition: 400ms;
    top: 0;
    bottom: 0;
    width: 5em;
    z-index: 1;
    cursor: pointer;
    margin-right: 1em;
    display: grid;
    justify-items: end;
    align-items: center;
    border-radius: 0 1em 1em 0;
    padding-right: 0.5em;
}
.gall_scroll_right:hover
{
    background: linear-gradient(to right, #acacac00, #606060);
    transition: 400ms;
}

.gall_scroll_left
{
	left:0;
}

.gall_scroll_right
{
	right:0;
}
@media (max-width: 1300px)
{
    main
    {
        grid-template-columns: auto 300px;
    }
    body
    {
        background: linear-gradient(to left, #E4E2E3 302px, white 302px);
    }
    .bnt_ico_soc{width: 25px;}
    .cont_adm_block_btn{max-width: 400px;}
}

@media (max-width: 995px)
{
    body 
    {
        background: linear-gradient(to bottom, #E4E2E3 0.5em, white 0.5em);
        --width: 300px;
        --height: 206px;
    }
    main 
    {
    position: relative;
    display: grid;
    grid-template-areas:
        "hOne"
        "imgsList"
        "text"
        "contactsWrapper"
        "sotialWrap";
    grid-template-columns: auto;
    grid-gap: 0.1em;
    padding: 0;
    }
    .btn-left-right{width: 1em; margin-top: 2.5em;}
    .imgIconsWrapper2{display: none;}    
    .contactsWrapper
    {
        width: 100%;
        margin-left: 0em;
        display: grid;
        justify-items: center;
        align-content: center;
        margin-top: 2em;
        margin-bottom: 2em;
    }
    .h1_block_center
    {
        margin-top: 0;
        margin-bottom: 1em;
    }
    .text{padding: 2em 2em 2em 2em;}
    .imgsList_setup{padding: 1em;}
    .gal_block_small_img_client{margin: 0 0.5em;}
    .gall_scroll_left{margin-left: 0.5em;}
    .gall_scroll_right{margin-right: 0.5em;}
    .closeModalWindowClass{margin-left: -1.5em;}
    .modal_sort_images>.gal_small_img_tab>.gal_small_img_yes {width: 130px !important; height: 89px !important; margin-bottom: 0em;}
    .modal_sort_images>.gal_small_img_tab>.gal_small_img_yes_width {min-height: 89px !important;}
    .modal_sort_images>.gal_small_img_tab{grid-column-gap: 0.5em; grid-row-gap: 0.5em; margin: 0;}
}
@media (max-width: 850px)
{
    .modal_sort_images>.gal_small_img_tab {grid-template-columns: 1fr 1fr 1fr 1fr;}
}
@media (max-width: 750px)
{
    .modal_sort_images>.gal_small_img_tab>.gal_small_img_yes {width: 120px !important; height: 83px !important; margin-bottom: 0em;}
    .modal_sort_images>.gal_small_img_tab>.gal_small_img_yes_width {min-height: 83px !important;}
}
@media (max-width: 650px)
{
    .modal_sort_images>.gal_small_img_tab {grid-template-columns: 1fr 1fr 1fr;}
}
@media (max-width: 550px)
{
    .modal_sort_images>.gal_small_img_tab {grid-template-columns: 1fr 1fr;}
}
@media (max-width: 500px)
{
    .h1_block
    {
        margin: 0.5em;
        border: none;
        padding: 0.5em;
    }
    .h1_block_center{margin-bottom: 0;}
    .h1_block_center>h1>div
    {
        padding: 0;
        line-height: 1.5;
    }
    .gal_btn_tab
    {
        grid-template-columns: auto;
        grid-row-gap: 0.5em;
    }
}
.RN-table th {
    background-color: #f2f2f2;
}