body
{
    background: #212121;
    /*color: #fff;*/
    --width: 404px;
    --width-sm: 200px;
    --height-sm: 200px;
    --width-img: 570px;
    --width-img-small: 282px;
    --height: 400px;
    --min-height: 90px;
    --width_sort: 140px;
    --height_sort: 90px;
    background-image: url(/katia/webring/parts/imgs/templ018_bg.png);
    background-repeat: no-repeat;
    background-position: left -3em top 0em;
}
.RN-txtarea
{
	background-color: #fff;
}
.RN-table th {
    background-color: #f2f2f2;
}
main
{
	position:relative;
	display:grid;
	grid-template-areas: 
		"hOne imgsList" 
		"contactsWrapper imgsList" 
        "sotialWrap imgsList"
        "text text";
	grid-template-columns: auto 1250px;
	grid-gap: 0.1em;
	padding:0;
    border: 3px #D7B75C solid;
    margin: 1em;
    overflow: hidden;
}
.text_18_bg
{
    background-color: #fff;
    border-radius: 1em;
    padding: 1em;
}
div.title
{
    color: #fff !important;
}    
.title
{
  width: 100%;
}
.title>p
{
  color: #fff !important;
}
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);
    grid-row-gap: 1em;
}
.gal_small_img_tab
{
    display: grid;
    grid-template-areas: 
    "img_gal_7 img_gal_4 img_gal_1 img_gal_1 img_gal_8 ."
    "gal_btn_tab_block img_gal_3 img_gal_3 img_gal_5 img_gal_2 img_gal_2"
    ". . img_gal_10 img_gal_6 img_gal_9 ."
;
    grid-template-columns: repeat(6, 200px);
    grid-column-gap: 0.3em;
    grid-row-gap: 0.3em;
    justify-items: center;
    transform: rotate(315deg);
}
.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;
    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: start;
}
.sotialWrap_block
{
    padding: 0 1em;
}
.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;
	display: grid;
	justify-items: start;
    margin-top: 7em;
}
.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 - 1100px);
    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 15%;
    margin-top: 2em;
}
.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;
}
.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;
    background-color: #ffffffd4;
    border-radius: 0.5em;
}
.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: 113px 30px 30px;
    grid-column-gap: 0.5em;
    margin: 0 -114px 0 19px;
    padding-top: 1.1em;
    transform: rotate(45deg);
    position: relative;
    z-index: 2;
}
.left_corner
{
    display: none;
}
.right_corner
{
    display: none;
}
.soc_adm_block
{
    display: grid;
    grid-template-columns: auto ;
    grid-column-gap: 2em;
    background-color: #ffffffd4;
    border-radius: 0.5em;
    grid-row-gap: 0.5em;
}
.gal_btn_tab
{
    display: inline-grid;
    grid-template-columns: auto;
    grid-row-gap: 0.5em;
    margin-top: 9em;
    max-height: 8em;
    margin-left: -6em;
}
.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;
}

.gal_btn_tab_block
{
 grid-area: gal_btn_tab_block;
 transform: rotate(45deg);
}
.img_gal
{
    box-shadow: 0px 5px 29px -4px #0d0d0d;
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.img_gal_1
{
    grid-area: img_gal_1;
}
.img_gal_img_1
{
    width: var(--width-img);
    transform: rotate(45deg);
    transform-origin: center;
    margin-left: -83px;
    margin-top: -81px;
}
.img_gal_2
{
    grid-area: img_gal_2;
    margin-top: -100px;
}
.img_gal_img_2
{
    width: var(--width-img);
    transform: rotate(45deg);
    transform-origin: center;
    margin-left: -83px;
    margin-top: -81px;
}
.img_gal_3
{
    grid-area: img_gal_3;
}
.img_gal_img_3
{
    width: var(--width-img);
    transform: rotate(45deg);
    transform-origin: center;
    margin-left: -83px;
    margin-top: -81px;
}
.gal_small_img_tab>.img_gal_1>.block_btn_top_right_cell_2_gal
{
     margin: 0 -114px 0 222px;
}
.gal_small_img_tab>.img_gal_2>.block_btn_top_right_cell_2_gal
{
     margin: 0 -114px 0 222px;
}
.gal_small_img_tab>.img_gal_3>.block_btn_top_right_cell_2_gal
{
     margin: 0 -114px 0 222px;
}
.img_gal_4
{
    grid-area: img_gal_4;
    width: var(--width-sm);
    height: var(--height-sm);
    margin-top: 200px;
}
.img_gal_img_4
{
    width: var(--width-img-small);
    transform: rotate(45deg);
    transform-origin: center;
    margin-left: -41px;
    margin-top: -40px;
}
.img_gal_5
{
    grid-area: img_gal_5;
    width: var(--width-sm);
    height: var(--height-sm);
}
.img_gal_img_5
{
    width: var(--width-img-small);
    transform: rotate(45deg);
    transform-origin: center;
    margin-left: -41px;
    margin-top: -40px;
}
.img_gal_6
{
    grid-area: img_gal_6;
    width: var(--width-sm);
    height: var(--height-sm);
    margin-top: -200px;
}
.img_gal_img_6
{
    width: var(--width-img-small);
    transform: rotate(45deg);
    transform-origin: center;
    margin-left: -41px;
    margin-top: -40px;
}
.img_gal_7
{
    grid-area: img_gal_7;
    width: var(--width-sm);
    height: var(--height-sm);
    margin-top: 200px;
}
.img_gal_img_7
{
    width: var(--width-img-small);
    transform: rotate(45deg);
    transform-origin: center;
    margin-left: -41px;
    margin-top: -40px;
}
.img_gal_8
{
    grid-area: img_gal_8;
    width: var(--width-sm);
    height: var(--height-sm);
    margin-top: 100px;

}
.img_gal_img_8
{
    width: var(--width-img-small);
    transform: rotate(45deg);
    transform-origin: center;
    margin-left: -41px;
    margin-top: -40px;
}
.img_gal_9
{
    grid-area: img_gal_9;
    width: var(--width-sm);
    height: var(--height-sm);
    margin-top: -100px;
}
.img_gal_img_9
{
    width: var(--width-img-small);
    transform: rotate(45deg);
    transform-origin: center;
    margin-left: -41px;
    margin-top: -40px;
}
.img_gal_10
{
	grid-area: img_gal_10;
    width: var(--width-sm);
    height: var(--height-sm);
}
.img_gal_img_10
{
    width: var(--width-img-small);
    transform: rotate(45deg);
    transform-origin: center;
    margin-left: -41px;
    margin-top: -40px;
}

@media (max-width: 1850px)
{
    body{background-position: right 24.5em top 0em;}
    main{grid-template-columns: auto 1200px;}
}

@media (max-width: 1700px)
{
    main {grid-template-columns: auto 920px;}
    body
    {
        --width: 303px;
        --height: 300px;
        --width-sm: 150px;
        --height-sm: 150px;
        --width-img: 450px;
        --width-img-small: 225px;
        background-position: right 18em top 0em;
    }
    .gal_small_img_tab{grid-template-columns: repeat(6, 150px);}
    .img_gal_6{margin-top: -150px;}
    .img_gal_4, .img_gal_7{margin-top: 150px;}
    .img_gal_9, .img_gal_2{margin-top: -50px;}
    .contactsWrapper{max-width: 500px;}
    .h1_block_center{width: calc(100vw - 850px);}
    .block_btn_top_right_cell_2_gal{margin: 0 -123px 0 -30px;}
    .gal_small_img_tab>.img_gal_1>.block_btn_top_right_cell_2_gal {margin: 0 -114px 0 122px;}
    .text{margin-top: 6em;}
}
@media (max-width: 1450px)
{
    main {grid-template-columns: auto 760px;}
    body
    {
        --width: 242px;
        --height: 240px;
        --width-sm: 120px;
        --height-sm: 120px;
        --width-img: 450px;
        --width-img-small: 225px;
        background-position: right 15em top 0em;        
    }
    .gal_small_img_tab{grid-template-columns: repeat(6, 120px);}
    .img_gal_6{margin-top: -120px;}
    .img_gal_4, .img_gal_7{margin-top: 120px;}
    .img_gal_2{margin-top: -20px;}
    .img_gal_9{margin-top: -20px;}
    .img_gal_10{margin-top: 0;}
    .h1_block_center{width: calc(100vw - 720px);}
    .block_btn_top_right_cell_2_gal{margin: 0 -123px 0 -60px;}
    .gal_small_img_tab>.img_gal_1>.block_btn_top_right_cell_2_gal {margin: 0 -114px 0 62px;}
    .text{margin-top: 7em;}
}
@media (max-width: 1350px)
{
    .text{margin-top: 5em;}
}
@media (max-width: 1150px)
{
    body{background-position: left -34em top 0em;}
    main
    {
        grid-template-areas: 
            "hOne sotialWrap" 
            "contactsWrapper contactsWrapper" 
            "imgsList imgsList"
            "text text";
        grid-template-columns: auto 400px;
    }
    .sotialWrap{justify-items: end; align-items: center;}
    .cont_adm_tab{grid-template-columns: auto auto auto;}
    .h1_block_center{width: calc(100vw - 400px);}
    .contactsWrapper{max-width: 100%;}
    .cont_adm_block{background-color: #eae9e9d9;}
    .imgsList{justify-items: center; margin-top: 3em;}
    .text{padding: 2em; margin-top: 0em;}
    .gal_btn_tab{margin-top: 6em; max-height: 8em;}
    .contactsWrapper_off{display: none;}
    .sotialWrap_off{display: none;}
    .cont_adm_tab{background-color: #ffffff00; border-radius: 0;}
}
@media (max-width: 995px)
{
    body{background-position: left -34em top 0em;}
    main
    {
        grid-template-areas: 
            "hOne" 
            "imgsList"
            "text"
            "contactsWrapper" 
            "sotialWrap";
        grid-template-columns: auto;
    }
    .sotialWrap{justify-items: center;}
    .sotialWrap_block{padding: 1em;}
    .h1_block_center{width: calc(100vw - 70px);}
    .cont_adm_tab{display: inline-grid; grid-template-columns: auto;}
    .modal_sort_images>.gal_small_img_tab{grid-row-gap: 0.5em;}
    .btn-left-right{width: 1em; margin-top: 2.5em;}
    .imgIconsWrapper2{display: none;}
}
@media (max-width: 850px)
{
    body
    {
        --width: 240px;
        --height: 239px;
        --width-sm: 240px;
        --height-sm: 239px;
        --width-img: 240px;
        --width-img-small: 240px;
    }
    .modal_sort_images>.gal_small_img_tab{grid-template-columns: 1fr 1fr 1fr 1fr;}
    .gal_small_img_tab
    {
        transform: rotate(0deg);
            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, auto);
    }
    .img_gal_img_1
    {
        transform: rotate(0deg);
        margin-left: 0;
        margin-top: 0;
    }
    .img_gal_2{margin-top: 0px;}
    .img_gal_img_2
    {
        transform: rotate(0deg);
        margin-left: 0;
        margin-top: 0;
    }
    .img_gal_img_3
    {
        transform: rotate(0deg);
        margin-left: 0;
        margin-top: 0;
    }
    .img_gal_4{margin-top: 0;}
    .img_gal_img_4
    {
        transform: rotate(0deg);
        margin-left: 0;
        margin-top: 0;
    }
    .img_gal_img_5
    {
        transform: rotate(0deg);
        margin-left: 0;
        margin-top: 0;
    }
    .img_gal_6{margin-top: 0;}
    .img_gal_img_6
    {
        transform: rotate(0deg);
        margin-left: 0;
        margin-top: 0;
    }
    .img_gal_7{margin-top: 0;}
    .img_gal_img_7
    {
        transform: rotate(0deg);
        margin-left: 0;
        margin-top: 0;
    }
    .img_gal_8{margin-top: 0;}
    .img_gal_img_8
    {
        transform: rotate(0deg);
        margin-left: 0;
        margin-top: 0;
    }
    .img_gal_9{margin-top: 0;}
    .img_gal_img_9
    {
        transform: rotate(0deg);
        margin-left: 0;
        margin-top: 0;
    }
    .img_gal_img_10
    {
        transform: rotate(0deg);
        margin-left: 0;
        margin-top: 0;
    }
    .block_btn_top_right_cell_2_gal
    {
        transform: rotate(0deg);
        margin: 0 0 0 0;
        padding-top: 0px;
        grid-template-columns: auto 30px 30px;
    }   
    .gal_small_img_tab>.img_gal_1>.block_btn_top_right_cell_2_gal{margin: 0px 0 -31px 48px;}
    .gal_small_img_tab>.img_gal_2>.block_btn_top_right_cell_2_gal{margin: 0 0 -30px 0;}
    .gal_small_img_tab>.img_gal_3>.block_btn_top_right_cell_2_gal {margin: 0 0 -30px 0;}
    .gal_btn_tab_block{transform: rotate(0deg);}
    .gal_btn_tab{margin-left: 0; margin-top: 1em; max-height: 4em;}
}

@media (max-width: 750px)
{
.modal_sort_images>.gal_small_img_tab{grid-template-columns: 1fr 1fr 1fr;}
}


@media (max-width: 600px)
{
    main{border: none; margin: 0 0 2em 0;}
        body
    {
        --width: 185px;
        --height: 184px;
        --width-sm: 185px;
        --height-sm: 184px;
        --width-img: 185px;
        --width-img-small: 185px;
    }
    .text{padding: 0 1em;}
    main{margin: 0em; margin-bottom: 2em;}
    .img_gal{box-shadow: none;}
    .h1_block{padding: 0;}
    .h1_block_center {width: calc(100vw - 0px);}
    .contactsWrapper{margin-top: 1em;}
    .modal_sort_images>.gal_small_img_tab{grid-template-columns: 1fr 1fr;}
}