body
{
	background-color: #F5F5F5;
	--width: 400px;
    --height: 750px;
    --min-height: 131px;
    --width_sort: 70px;
    --height_sort: 131px;
    background-image: url(/katia/webring/parts/imgs/templ003_bg.png);
    background-repeat: no-repeat;
    background-position: right 155px top -120px;

}
main
{
	margin: 1em;
	padding: 1em;
	border: 1px #408D87 solid;
	border-radius: 5em;
	position:relative;
	display:grid;
	grid-template-areas: 
		"contactsWrapper contactsWrapper contactsWrapper contactsWrapper"
		"hOne bigImg imgsList sotialWrap"
		"text text text text";
	grid-template-columns: auto 486px 280px 7em;
	grid-gap: 0.1em;
}
.title
{
  width: 100%;
}
h1>.tox-tinymce
{
	min-height: 300px !important;
}
.RN-wrapper
{
	min-width: 90%;
	width: 100%;
}
.bnt_ico_soc
{
	filter: grayscale(100%);
    opacity: 0.7;	
}
.sotialImg
{
	filter: grayscale(100%);
    opacity: 0.7;
    transition: 300ms;
}
.sotialImg:hover
{
	filter: grayscale(0%);
    opacity: 1;
    transition: 300ms;
}
.gal_fix_size
{
 	width: var(--width);
    height: var(--height);
}
.gal_border
{
    border: 40px #f5f5f500 solid;
    border-radius: 14.7em;
    width: var(--width);
}
.gal_block_dot
{
    /* border: 3px solid#B4B4B4; */
 	/*overflow:hidden; */
	width: calc(var(--width) + 80px);
    height: calc(var(--height) + 80px);
}
.gal_fix_size_small
{
    width: 270px;
}
.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;
	display: grid;
	justify-items: center;
}
.gal_small_img_tab
{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 0.75em;
    grid-row-gap: 0.75em;
}
.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-radius: 3.5em;
	border-style: dashed;
	border-color: #373739;
	border-width: 1px;
}
.gal_small_img_yes
{
    border: 2px #f7f7f7 solid;
    background-position: center;
    background-size: 100%;
    height: var(--min-height);
    width: var(--width_sort);
	position:relative;
    user-select: none;
    cursor: pointer;
    border-radius: 3.5em;
}
.gal_block_dot_small_img {
    border: 1px dashed #6a6a6a;
	padding: 10px;
}
.gal_block_small_img_client {
    margin: 1em 0 0 0.3em;
}

.sotialWrap
{
	display: grid;
    justify-items: center;
}
.sotialWrap_block
{
 	border-left: 3px solid #B5B3B4;
    max-height: 25em;
}
.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;
	padding-top: 6em;
}
.imgsList_setup
{
    margin-left: -1em;
}
.bigImg
{
	grid-area: bigImg;
	border: 3px #3f8d89 solid;
    border-radius: 15em;
    height: calc(var(--height) + 92px);
}
.bigImg_setup
{
	display: flex;
    /*background: #f6f5f57d; */
    border-radius: 15em;
    margin-bottom: 1em;
   	ustify-content: flex-start;	
}
/*.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;
}
.h1_block_center
{
	display: grid;
	justify-items: center;
	align-items: center;
}
.h1_block_center>h1>div
{
	/*display: inline-grid;*/
	padding: 1em 3em;
}
h1{margin:0;}

.contactsWrapper
{
	grid-area: contactsWrapper;
	display: grid;
    justify-items: start;
}

.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: 1em 2em 0 2em;
}
.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: 12.5em;
	width: var(--width);
	box-shadow: 7px 7px 21px -4px #7A7E80;
}

@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;
}
.cont_adm_tab
{
    display: grid;
    grid-template-columns: auto auto auto;
    position: relative;
    z-index: 10;
    padding: 0.5em;
    grid-row-gap: 1em;
    grid-column-gap: 3em;
    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;
    display: grid;
    align-items: center;
    justify-items: center;
}
.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: 0px 30px 30px;
    grid-column-gap: 0.5em;
    margin: -0.7em -0.7em 0 -0.5em;
}
.left_corner
{
    display: none;
}
.right_corner
{
    display: none;
}
.soc_adm_block
{
    display: grid;
    grid-template-columns: auto;
    margin-bottom: 2em;
}
.gal_btn_tab
{
    display: inline-grid;
    grid-template-columns: auto;
    grid-row-gap: 1em;
    margin: 1.5em 0em 0em;
}

@media (max-width: 1600px)
{
	.h1_block_center>h1>div{padding: 1em 1em;}
	.h1_block{padding: 0;}
	.text{padding: 0 1em;}
}
@media (max-width: 1500px)
{
	body
	{
	--width: 300px;
    --height: 563px;
    --min-height: 120px;
    --width_sort: 64px;
    --height_sort: 120px;
    background-position: right 155px top -120px;
    background-image: url(/katia/webring/parts/imgs/templ003_bg_1500.png);
    background-position: right 137px top calc(-290px + 3.5em);
	}
	main
	{
		grid-template-columns: auto 386px 230px 6.2em;
	}
	.gal_fix_size_small{width: 228px;}
	.soc_adm_block{margin-right: -2em;}
	.imgsList{padding-top: 3em;}
}
@media (max-width: 1300px)
{
	main
	{
		grid-template-areas: 
			"contactsWrapper contactsWrapper contactsWrapper"
			"hOne bigImg imgsList"
			"text text text"
			"sotialWrap sotialWrap sotialWrap";
		grid-template-columns: auto 386px 230px;
	}
	body{background-position: right 35px top calc(-290px + 3.5em);}
	.soc_adm_block{grid-template-columns: auto auto; margin-right: 0;}
	.sotialWrap_block{border-top: 3px solid #B5B3B4; border-left:none; padding-top: 0.5em;}
	.sotialWrap{margin-top: 1em;}
	.cont_adm_tab{background-color: #f5f5f5a6;}
	.cont_adm_tab{grid-column-gap: 1em;}
}
@media (max-width: 1100px)
{
	main
	{
		grid-template-areas: 
			"contactsWrapper contactsWrapper contactsWrapper"
			". bigImg imgsList"
			"hOne hOne hOne"
			"text text text"
			"sotialWrap sotialWrap sotialWrap";
		grid-template-columns: auto 386px 230px;
	}
}
@media (max-width: 995px)
{
	main
	{
		position:relative;
		display:grid;
		grid-template-areas: 
			"hOne hOne hOne"
			". bigImg imgsList"
			"text text text"
			"contactsWrapper contactsWrapper contactsWrapper"
			"sotialWrap sotialWrap sotialWrap";
		grid-template-columns: 1fr;
		margin: 0em 0.5em 1em 0.5em;
		grid-template-rows: auto;
		grid-row-gap: 1em;
		border-radius: 2em;
		padding: 0.5em;
	}
	body
	{
		background-image: none;
	}
	.h1_block{padding: 1em 1em;}
	.h1_block_center>h1>div{padding: 0;}
	.gal_fix_size_small{width: 245px;}
	figure.zoom, #myimage{border-radius: 12em;}
	.gal_small_img_tab{grid-template-columns: 1fr 1fr 1fr; grid-column-gap: 1em; grid-row-gap: 1em; margin: 0 10px 0 10px; justify-items: center;}
	h1{line-height: 1.5;}
	.bigImg_setup, .imgsList_setup{margin-left: 0.5em; margin-right: 0.5em;}
	.contactsWrapper{margin-top: 1em; justify-items: center;}
	.sotialWrap{justify-items: center;}
	.soc_adm_soc{border-right: none;}
	.text{padding: 1em;}
	.cont_adm_tab{grid-template-columns: auto; grid-row-gap: 0.7em;}
	.cont_adm_block{margin-bottom: 0;}
	.soc_adm_block{grid-template-columns: 1fr; grid-row-gap: 0;}
	.bigImg, .imgsList{display: grid; justify-items: center;}
	.gal_border{margin-left: -40px;}
	.gal_block_dot{width: calc(var(--width) + 0px); padding: 0 5px;}
}
@media (max-width: 640px)
{
	main
	{
		grid-template-areas: 
			"hOne"
			"bigImg"
			"imgsList"
			"text"
			"contactsWrapper"
			"sotialWrap";
	}
	.gal_small_img_tab{grid-template-columns: 1fr 1fr 1fr 1fr 1fr;}
	.imgsList{padding-top: 0em;}
	.bigImg{border: none;}
	.gal_fix_size_small {width: 100%;}
	.gal_block_dot{height: calc(var(--height) + 0px);}
}
@media (max-width: 550px)
{
	.modal_sort_images>.gal_small_img_tab 
	{
    grid-template-columns: 1fr 1fr 1fr 1fr;
	}
}
@media (max-width: 500px)
{
	.gal_small_img_tab{grid-template-columns: 1fr 1fr 1fr;}
	.gal_border{border: none;}
	.gal_border{margin-left: 0;}
	.bigImg{height: calc(var(--height) + 0);}
}
.RN-table th {
    background-color: #f2f2f2;
}