body
{
    background-color: #fff;
    background-image: url(/katia/webring/parts/imgs/templ012_bg.png);
    background-repeat: no-repeat;
    background-position: top center;
	--width: 500px;
    --height: 320px;
    --min-height: 90px;
    --width_sort: 140px;
    --height_sort: 90px;
}
main
{
	position:relative;
	display:grid;
	grid-template-areas: 
		"hOne hOne"
        "imgsList imgsList"
		"text contactsWrapper"
		"text sotialWrap"
        "text .";
	grid-template-columns: auto 370px;
	grid-gap: 0.1em;
	padding:0;
}
/*
main div:nth-child(4)
{
    background-color: #F0F0F0;
}

.admin_top_menu
{
    z-index: 100 !important;
}*/
.contactsWrapper_off{display: none;}
.title
{
  width: 100%;
}
h1>.tox-tinymce
{
	min-height: 150px !important;
}
.line_top_text
{
    background-color: #fff;
    height: 5em;
    border-radius: 50% 50% 0 0;
    position: relative;
    z-index: 20;
    margin-top: 2em;
    margin-bottom: -2px;
}
.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
{

}
.modal_sort_images>.gal_small_img_tab 
{
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-areas: none;
    margin-top: 0;
}
.gal_small_img_tab
{
    display: grid;
    grid-template-areas: "img_gal_9 img_gal_7 img_gal_5 img_gal_3 img_gal_1 img_gal_2 img_gal_4 img_gal_6 img_gal_8"
                         "gal_btn_tab_block gal_btn_tab_block gal_btn_tab_block gal_btn_tab_block gal_btn_tab_block gal_btn_tab_block gal_btn_tab_block gal_btn_tab_block gal_btn_tab_block";
    grid-template-columns: 4% 6% 7% 16% 24% 16% 7% 6% 4%;
    grid-column-gap: 1em;
    grid-row-gap: 1em;
    margin: 10px 10px 0 10px;
    justify-items: center;
    max-width: 1400px;
    margin-top: 3em;
}
.modal_sort_images>.gal_small_img_tab>.gal_small_img_yes
{
    height: var(--height_sort) !important;
    width: var(--width_sort) !important;
    border: 1px #fff solid;

}
.gal_small_img_no
{
    background-color: #e2dede9c;
    display: grid;
    align-items: center;
    justify-items: center;
    min-height: var(--height);
    width: var(--width);
    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(--height);
    width: var(--width);
	position:relative;
    user-select: none;
    cursor: pointer;
    box-shadow: 3px 3px 12px -3px #000000;
}
.gal_block_dot_small_img {
    border: 1px dashed #6a6a6a;
	padding-bottom: 10px;
}
.gal_block_small_img_client {
}

.sotialWrap
{
	display: grid;
    justify-items: center;
  /*  background-color: #F1F1F1;
    border-radius: 10px 0 0 10px;*/
}
.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
{
    /*display: none;*/
	grid-area: imgsList;
 /*  background-color: #ececec;*/
    position: relative;
    z-index: 0;
}
.imgsList_setup
{
    display: grid;
    justify-items: center;
}

.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: 1fr auto 1fr;
 	padding: 0 2em;
    line-height: 1.5;
    grid-column-gap: 2em;
    position: relative;
}
.h1_block_left
{
    position: relative;
}
.h1_block_left::before {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-color: #fff;
  position: absolute;
  top: 50%; 
  transform: translateY(-50%);
}
.h1_block_right
{
    position: relative;
}
.h1_block_right::before {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-color: #fff;
  position: absolute;
  top: 50%; 
  transform: translateY(-50%);
}
.h1_block_center
{
	border-top: none;
	position: relative;
	margin-top: 1em;
	margin-bottom: 2em;
    min-width: 1200px;
}
.h1_block_center>h1>div
{
	padding: 1em;
}
h1{margin:0;}

.contactsWrapper
{
	grid-area: contactsWrapper;
	width: auto;
 	padding-top: 4em;
    padding-bottom: 2em;
    background-color: #fff !important;
    margin-left: -2px;
}

.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;
	margin: 0 2em 3em 2em;
    /*background-color: #fff;*/
}
.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;
    position: relative;
    z-index: 10;
    padding: 1em;
    grid-row-gap: 1em;
    grid-column-gap: 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;
    border-bottom: 1px solid #000;
    display: grid;
    align-items: center;
    justify-items: center;
    border-radius: 50%;

}
.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;
    margin: 1em 0;
}
.gal_btn_tab
{
    display: inline-grid;
    grid-template-columns: auto auto;
    grid-column-gap: 1em;
    margin-bottom: 1em;
    z-index: 30;
}



.gal_btn_tab_block
{
 grid-area: gal_btn_tab_block;
}
.img_gal
{
    border: 2px #fff solid;
    transform: perspective(200px) rotateX(-2deg);
    box-shadow: 0px 22px 29px -4px #7A7E80;
    position: relative;
}
.img_gal_1
{
    grid-area: img_gal_1;
    z-index: 10;
}
.img_gal_2
{
    grid-area: img_gal_2;
    z-index: 9;
    position: relative;
    transform: scale(0.8) rotate(360deg) skew(-3deg, -3deg);
}
.img_gal_3
{
    grid-area: img_gal_3;
    z-index: 8;
    position: relative;
    transform: scale(0.8) rotate(355deg) skew(-3deg, 8deg);
}
.gal_small_img_tab>.img_gal_3>.block_btn_top_right_cell_2_gal
{
    grid-template-columns: 0 30px 30px;
    margin-left: -1em;
}
.img_gal_4
{
    grid-area: img_gal_4;
    z-index: 7;
    position: relative;
    margin-top: -3em;
    transform: scale(0.7) rotate(358deg) skew(-3deg, -3deg);
}
.img_gal_5
{
    grid-area: img_gal_5;
    z-index: 6;
    position: relative;
    margin-top: -3em;
    transform: scale(0.7) rotate(357deg) skew(-3deg, 8deg);
}
.gal_small_img_tab>.img_gal_5>.block_btn_top_right_cell_2_gal
{
    grid-template-columns: 0 30px 30px;
    margin-left: -1em;
}
.img_gal_6
{
    grid-area: img_gal_6;
    z-index: 5;
    position: relative;
    margin-top: -5.5em;
    transform: scale(0.65) rotate(356deg) skew(-3deg, -3deg);
}
.img_gal_7
{
    grid-area: img_gal_7;
    z-index: 4;
    position: relative;
    margin-top: -5.5em;
    transform: scale(0.65) rotate(359deg) skew(-3deg, 8deg);
}
.gal_small_img_tab>.img_gal_7>.block_btn_top_right_cell_2_gal
{
    grid-template-columns: 0 30px 30px;
    margin-left: -1em;
}
.img_gal_8
{
    grid-area: img_gal_8;
    z-index: 3;
    position: relative;
    margin-top: -8.7em;
    transform: scale(0.55) rotate(351deg) skew(-3deg, -3deg);
}
.img_gal_9
{
    grid-area: img_gal_9;
    z-index: 2;
    position: relative;
    margin-top: -8.7em;
    transform: scale(0.55) rotate(362deg) skew(-3deg, 8deg);
}
.gal_small_img_tab>.img_gal_9>.block_btn_top_right_cell_2_gal
{
    grid-template-columns: 0 30px 30px;
    margin-left: -1em;
}
.img_gal_10{display: none;}

@media (max-width: 1700px)
{
.gal_small_img_tab{max-width: 1300px;}
}
@media (max-width: 1570px)
{
.gal_small_img_tab{max-width: 1200px;}
}
@media (max-width: 1490px)
{
.gal_small_img_tab{max-width: 1100px; grid-template-columns: 4% 6% 7% 16% 22% 16% 7% 6% 4%;}

}
@media (max-width: 1400px)
{
.gal_small_img_tab{max-width: 1000px;}
.h1_block_center{min-width: 900px;}
}
@media (max-width: 1300px)
{
.gal_small_img_tab{max-width: 850px;}
}
@media (max-width: 1200px)
{
    body
    {
        --width: 400px;
        --height: 256px;
    }
    .gal_small_img_tab{grid-template-columns: 4% 6% 7% 16% 20% 16% 7% 6% 4%; margin-top: 5em;}
    .galRight{right: 5%;}
    .galLeft{left: 5%;}
}
@media (max-width: 1100px)
{
    body
    {
        --width: 300px;
        --height: 192px;
    }
    .gal_small_img_tab{max-width: 800px;}
    .h1_block_center{min-width: 800px;}
    .gal_small_img_tab{grid-template-columns: 4% 6% 7% 16% 16% 16% 7% 6% 4%; margin-top: 5em;}
}
@media (max-width: 995px)
{
	body
	{
        --width: 300px;
        --height: 192px;
	}
	main
	{
		grid-template-areas: 
        "hOne hOne"
        "imgsList imgsList"
        "text text"
        "contactsWrapper contactsWrapper"
        "sotialWrap sotialWrap";
		grid-template-columns: auto;
		grid-gap: 0.1em;
		padding:0;
	}
	.h1_block
    {
        padding: 0 0.5em;
        grid-template-columns: 0 auto 0;
    }
    .h1_block_center{min-width: 100%;}
    .contactsWrapper
    {
        margin-left: 0;
        background-color: #fff0;
        padding-top: 0;
        padding-bottom: 1em;
    }
    .gal_small_img_tab
    {
        max-width: 500px;
    }
    .modal_sort_images>.gal_small_img_tab
    {
        max-width: 750px;
    }   
    .modal_sort_images>.gal_small_img_tab>.gal_small_img_yes
    {
        width: 130px !important;
        height: 83px !important;
    }
    .btn-left-right{width: 1em; margin-top: 2.5em;}
    .imgIconsWrapper2{display: none;}    
}
@media (max-width: 850px)
{
    .modal_sort_images>.gal_small_img_tab{grid-template-columns: 1fr 1fr 1fr 1fr;}
}
@media (max-width: 800px)
{
.gal_small_img_tab{grid-template-columns: 4% 6% 7% 16% 9% 16% 7% 6% 4%; margin-top: 6em;}
.h1_block{grid-column-gap: 0.5em;}
}
@media (max-width: 750px)
{
    .modal_sort_images>.gal_small_img_tab{grid-template-columns: 1fr 1fr 1fr;}
}
@media (max-width: 700px)
{
.gal_small_img_tab{max-width: 400px; grid-template-columns: 4% 6% 7% 16% 4% 16% 7% 6% 4%;}
.img_gal_2{margin-left: 3em;}
.img_gal_3{margin-left: -3em;}
}
@media (max-width: 600px)
{
    .img_gal_1{margin-top: 4em;}
    .gal_small_img_tab 
    {
        max-width: 300px;
        grid-template-columns: 4% 6% 7% 13% 0% 13% 7% 6% 4%;
    }
}
@media (max-width: 550px)
{
    .modal_sort_images>.gal_small_img_tab{grid-template-columns: 1fr 1fr;}
}
@media (max-width: 500px)
{
    .img_gal_1{margin-top: 5em;}
    .gal_small_img_tab{grid-template-columns: 4% 6% 5% 14% 0% 13% 4% 6% 4%;}
    .gal_btn_tab{grid-template-columns: auto; grid-row-gap: 0.5em;}
}
@media (max-width: 470px)
{
    .gal_small_img_tab
    {
        grid-template-columns: 4% 6% 5% 11% 0% 11% 4% 6% 4%;
        max-width: 250px;
    }
}
@media (max-width: 450px)
{
 .gal_small_img_tab
    {
        max-width: 200px;
        grid-template-columns: 1% 0% 0% 21% 0% 21% 0% 0% 1%;
    }
    body
    {
        --width: 250px;
        --height: 160px;
    }    
}
.RN-table th {
    background-color: #f2f2f2;
}