body
{
    background: #F5F5F5;
    --width: 280px;
    --width-img: 398px;
    --width-img-small: 280px;
    --height: 280px;
    --min-height: 90px;
    --width_sort: 140px;
    --height_sort: 90px;
}
.RN-table th {
    background-color: #f2f2f2;
}
main
{
	position:relative;
	display:grid;
	grid-template-areas: 
		"hOne imgsList" 
		"text text" 
        "contactsWrapper sotialWrap";
	grid-template-columns: auto 1250px;
    grid-template-rows: 360px auto auto;
	grid-gap: 0.1em;
	padding:0;
    overflow: hidden;
}
.contactsWrapper_off{display: none !important;}
.sotialWrap_off{display: none !important;}
.title
{
  width: 100%;
}
h1>.tox-tinymce
{
	min-height: 150px !important;
}
.line_top_text
{
    height: 2em;
}
.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;
    transform: rotate(0deg);
}
.gal_small_img_tab
{
    display: grid;
    grid-template-areas: 
    ". . gal_btn_tab_block . . ."
    ". img_gal_9 img_gal_1 img_gal_3 img_gal_7 ."
    "img_gal_8 img_gal_4 img_gal_2 img_gal_6 img_gal_5 img_gal_10";
    grid-template-columns: repeat(6, 280px);
    grid-column-gap: 1em;
    grid-row-gap: 1em;
    justify-items: center;
    transform: rotate(405deg);
}
.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: #3B70B6;
    display: grid;
    align-items: center;
    justify-items: center;
    height: var(--height);
    width: var(--width);
    transition: 300ms;
    cursor: pointer;
}
.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: end;
}
.sotialWrap_block
{
    padding: 0;
}
.soc_adm_soc
{
	padding: 0.5em 0.5em 0 0.5em;
    display: grid;
    align-items: center;
    justify-items: end;
    padding-right: 230px;
}
.soc_adm_mes
{
 	padding: 0.5em 0.5em 0 0.5em;
    display: grid;
    align-items: center;
    justify-items: end;
    padding-right: 230px;
}
.imgsList
{
	grid-area: imgsList;
	display: grid;
	justify-items: start;
    margin-top: 7.3em;
    position: relative;
    z-index: 8;
    clip-path: polygon(-4% -80%, 490% -10%, 110% 506%);
}
.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: 0 auto 0;
 	padding: 0 1em;
    line-height: 1.5;
    grid-column-gap: 2em;
    position: relative;
}
.h1_block_left
{
    display: none;

}
.h1_block_right
{
    display: none;
}
.h1_block_center
{
    border-top: none;
    position: relative;
    width: calc(100vw - 1150px);
    display: grid;
    align-items: center;
}
.h1_block_center>h1>div
{
	padding: 1em;
}
h1{margin:0;}

.contactsWrapper
{
	grid-area: contactsWrapper;
	width: auto;
    margin-bottom: 0;
}
.contact_footer
{
    height: 110px;
    width: 100%;
    background-color: #323232;
}
.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: 2em;
    margin-top: 2em;
    z-index: 2;
}
.text_triangle 
{
  float: right;
  shape-outside: polygon(0% 0%, 100% 0%, 100% 100%);
  width: 800px;
  height: 800px;
}
/*
#textId > div > div > div.text_triangle
{
  float: right;
  shape-outside: polygon(0% 0%, 100% 0%, 100% 100%);
  width: 800px;
  height: 800px;
  background-color: red;    
}
*/

.text-container
{
    display: grid;
    justify-items: center;
}
.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
{
    padding: 0.5em;
    background-image: url(/katia/webring/parts/imgs/templ019_bg.png);
    background-repeat: no-repeat;
    background-position: left -100px top 0.5em;
    min-height: 382px;
    display: grid;
    align-items: start;
    padding-top: 68px;
    padding-left: 30px;
}
.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;
    padding-left: 150px;
    min-width: 250px;
}
.cont_adm_block>.cont_adm_tab div:nth-child(2)
{
    margin-left: 2em;
}
.cont_adm_dot
{
    border: 1px dashed #6a6a6a;
}
.cont_adm_center
{
    display: grid;
    height: 100%;
}
.adm_con_2cell_1 img
{
    height: 40px;
}
.adm_con_2cell_2
{
    text-align: left;
    padding: 0em 1em;
    color: #000;
}
.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
{
    display: grid;
    grid-template-columns: auto 30px 30px;
    grid-column-gap: 0.5em;
    margin: 225px 0px -50px 35%;
    padding-top: 1.1em;
    transform: rotate(0deg);
    position: absolute;
    z-index: 2;
}
.left_corner
{
    display: none;
}
.right_corner
{
    display: none;
}
.soc_adm_block
{
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: 192px 192px;
    grid-column-gap: 2em;
    padding: 0.5em;
    background-image: url(/katia/webring/parts/imgs/templ019_bg.png);
    background-repeat: no-repeat;
    background-position: right -4em top 0.5em;
    min-width: 460px;
}
.gal_btn_tab
{
    display: inline-grid;
    grid-template-columns: auto;
    grid-row-gap: 0.5em;
    margin-top: -5.5em;
    max-height: 8em;
    margin-left: 19em;
    margin-bottom: -4em;
}
.adm_con_2cell {
    display: grid;
    grid-template-columns: 70px auto;
    align-items: center;
}
.adm_con_2cell_1 {
    border-right: none;
    display: grid;
    align-items: center;
    justify-items: center;
    background-color: #3971b7;
    border-radius: 50%;
    height: 62px;
    border: 4px #fff solid !important;
}

.gal_btn_tab_block
{
 grid-area: gal_btn_tab_block;
 transform: rotate(-45deg);
}
.img_gal
{
    box-shadow: 0px 5px 12px -4px #0d0d0d;
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.img_gal_img_1,.img_gal_img_2, .img_gal_img_3, .img_gal_img_4, .img_gal_img_5, .img_gal_img_6, .img_gal_img_7, .img_gal_img_8, .img_gal_img_9, .img_gal_img_10
{
    width: var(--width-img);
    transform: rotate(-45deg);
    transform-origin: center;
    margin-top: -55px;
    margin-left: -60px;
}

.img_gal_1{grid-area: img_gal_1;}
.img_gal_2{grid-area: img_gal_2;}
.img_gal_3{grid-area: img_gal_3;}
.img_gal_4{grid-area: img_gal_4;}
.img_gal_5{grid-area: img_gal_5;}
.img_gal_6{grid-area: img_gal_6;}
.img_gal_7{grid-area: img_gal_7;}
.img_gal_8{grid-area: img_gal_8;}
.img_gal_9{grid-area: img_gal_9;}
.img_gal_10{grid-area: img_gal_10;}



@media (max-width: 1850px)
{
    .contactsWrapper{margin-right: -3em;}
}

@media (max-width: 1800px)
{
    body 
    {
    --width: 240px;
    --width-img: 354px;
    --width-img-small: 240px;
    --height: 240px;
    }
    main{grid-template-columns: auto 1115px;}
    .imgsList
    {
        margin-top: 6em;
        clip-path: polygon(-7% -80%, 490% -11%, 108% 422%);
    }
    .gal_small_img_tab{grid-template-columns: repeat(6, 240px);}
    .text_triangle{width: 650px; height: 650px;}
    .h1_block_center{width: calc(100vw - 1000px);}
}
@media (max-width: 1700px)
{
    .contactsWrapper{margin-right: -6em;}
}
@media (max-width: 1600px)
{
    .contactsWrapper{margin-right: -12em;}
}
@media (max-width: 1550px)
{
    .contactsWrapper{margin-right: -14em;}
}
@media (max-width: 1500px)
{
    body 
    {
    --width: 200px;
    --width-img: 305px;
    --width-img-small: 200px;
    --height: 200px;
    }
    main{grid-template-columns: auto 940px;}
    .imgsList{clip-path: polygon(-7% -61%, 490% -11%, 129% 412%); margin-top: 5em;}
    .gal_small_img_tab{grid-template-columns: repeat(6, 200px);}
    .text_triangle{width: 500px; height: 500px;}
    .h1_block_center{width: calc(100vw - 780px);}
}
@media (max-width: 1350px)
{
    .contactsWrapper{margin-right: -16em;}
}
@media (max-width: 1300px)
{
    body 
    {
    --width: 180px;
    --width-img: 284px;
    --width-img-small: 180px;
    --height: 180px;
    }
    main{grid-template-columns: auto 850px;}
    .imgsList{clip-path: polygon(-7% -48%, 490% -11%, 129% 360%); margin-top: 4.5em;}
    .gal_small_img_tab{grid-template-columns: repeat(6, 180px);}
    .text_triangle{width: 400px; height: 400px;}
    .h1_block_center{width: calc(100vw - 710px);}
}
@media (max-width: 1200px)
{
    body 
    {
    --width: 160px;
    --width-img: 260px;
    --width-img-small: 160px;
    --height: 160px;
    }
    main{grid-template-columns: auto 760px;}
    .imgsList{clip-path: polygon(-7% -45%, 490% -11%, 129% 310%); margin-top: 4.2em;}
    .gal_small_img_tab{grid-template-columns: repeat(6, 160px);}
    .text_triangle{width: 310px; height: 310px;}
    .h1_block_center{width: calc(100vw - 635px);}
}
@media (max-width: 1100px)
{
    body 
    {
    --width: 130px;
    --width-img: 222px;
    --width-img-small: 130px;
    --height: 130px;
    }
    main{grid-template-columns: auto 630px;}
    .imgsList{clip-path: polygon(-11% -45%, 490% -11%, 159% 310%); margin-top: 3.45em;}
    .gal_small_img_tab{grid-template-columns: repeat(6, 130px);}
    .text_triangle{width: 200px; height: 200px;}
    .h1_block_center{width: calc(100vw - 535px);}
    .contactsWrapper{margin-right: -10em;}
}
@media (max-width: 1050px)
{
    .contactsWrapper{margin-right: -12em;}
    .cont_adm_tab{padding-left: 130px;}
}
@media (max-width: 995px)
{
    body 
    {
    --width: 200px;
    --width-img: 200px;
    --width-img-small: 200px;
    --height: 200px;
    }
    main
    {
        grid-template-areas: 
            "hOne" 
            "imgsList"
            "text" 
            "contactsWrappe"
            "sotialWrap";
        grid-template-columns: auto;
        grid-template-rows: auto;
    }
    .btn-left-right{width: 1em; margin-top: 2.5em;}
    .imgIconsWrapper2{display: none;}
    .modal_sort_images>.gal_small_img_tab{grid-column-gap: 0.5em; grid-row-gap: 0.5em;}
    .gal_small_img_tab
    {
    grid-template-areas: 
    "img_gal_1 img_gal_2 img_gal_3"
    "img_gal_4 img_gal_5 img_gal_6"
    "img_gal_7 img_gal_8 img_gal_9"
    "img_gal_10 gal_btn_tab_block gal_btn_tab_block";
    grid-template-columns: repeat(3, 200px);
    grid-column-gap: 1em;
    grid-row-gap: 1em;
    transform: rotate(0deg);
    }
    .imgsList{margin-top: 2em; justify-items: center; clip-path: none;}
    .gal_btn_tab_block{transform: rotate(0deg);}
    .gal_btn_tab {margin-left: 0; margin-top: 0;}
    .contactsWrapper{margin-right: 0;}
    .cont_adm_block{background-image: none; min-height: 0;}
    .cont_adm_block>.cont_adm_tab div:nth-child(2){margin-left: 0;}
    .cont_adm_tab{padding-left: 0;}
    .sotialWrap{justify-items: center;}
    .soc_adm_block{min-width: 0; background-image: none; grid-template-rows: auto;}
    .img_gal_img_1,.img_gal_img_2, .img_gal_img_3, .img_gal_img_4, .img_gal_img_5, .img_gal_img_6, .img_gal_img_7, .img_gal_img_8, .img_gal_img_9, .img_gal_img_10
    {
    width: var(--width-img);
    transform: rotate(-0deg);
    margin-top: 0px;
    margin-left: 0px;
    }
    .img_gal{overflow: visible;}
    .block_btn_top_right_cell_2_gal{grid-template-columns: 125px 30px 30px;}
    .contactsWrapper{grid-area: auto;}
    .cont_adm_block{display: inline-grid;}
    .imgsList{justify-items: center;}
    .text{padding: 1em;}
    .h1_block_center{width: calc(100vw - 30px);}
    .cont_adm_block{align-items: center; padding-top: 0; padding-left: 0; justify-items: center;}
    .soc_adm_mes, .soc_adm_soc{padding-right: 0;}
    .text_triangle{width: 0; height: 0;}

}
@media (max-width: 670px)
{
    .gal_small_img_tab
    {
    grid-template-areas: 
    "img_gal_1 img_gal_2"
    "img_gal_3 img_gal_4"
    "img_gal_5 img_gal_6"
    "img_gal_7 img_gal_8"
    "img_gal_9 img_gal_10"
    "gal_btn_tab_block gal_btn_tab_block";
    grid-template-columns: repeat(2, 200px);
    }
}
@media (max-width: 450px)
{
    body 
    {
    --width: 180px;
    --width-img: 180px;
    --width-img-small: 180px;
    --height: 180px;
    }
    .gal_small_img_tab
    {
    grid-template-columns: repeat(2, 180px);
    }    
}
.RN-table th {
    background-color: #f2f2f2;
}