:root {
	
	
}

html {
	scroll-padding-top: 70px;
	scroll-behavior: smooth;			
}

body {
	padding-top: 56px;
	font-family: "Zen Kaku Gothic Antique", sans-serif;
	/*font-family: "EB Garamond", serif;*/
	font-size: 18px;
}


.slide {
	display: flex; 
	align-items: center; 
	justify-content: center; 
	min-height: calc(100vh - 400px);
	padding-top: 50px;
	padding-bottom:50px;
}

a {
	text-decoration: none;
	color: #6a2910;
}

a:hover {
	color: #b04a10;
}

.navbar-text a:hover {
	color: #b04a10;
}


.btn {
	font-size: 18px;
	border-radius: 3px;
}


h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6 {
	font-family: "Tenor Sans", sans-serif;
}


hr {border-top-color: var(--bs-gray-500)}

#carouselMirror {
	max-width: 500px;
	margin: 0 auto;
}

img.port { 
	/*width: 200px;*/
	max-height: 300px;
	margin-bottom: 5px;
}


footer {
	background-color: #d6d7d9;
	border-top: 1px solid silver;
}

.offcanvas.offcanvas-end {
	/*min-width: 600px;
	width: 60%;*/
	width: 1200px;
}


#adv_block {
	background: url(/inc/cache/thumbnails/cut_1920_1065/images/bg_nitki2.jpg.webp); 
	background-size: cover; 
	background-position-y: center;
	padding-top: 100px;
	padding-bottom: 60px;
}

#delivery_block {
	background: url(/inc/cache/thumbnails/cut_1920_1065/images/bg_nitki2.jpg.webp); 
	background-size: cover; 
	background-position-y: top;
	padding-top: 100px;
	padding-bottom: 80px;
}


.hhs_company_standarts .text-block .company-text {
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  position: relative;
  padding-left: 40px;
  margin-bottom: 20px;
  min-height: 60px;
}	

.hhs_company_standarts .text-block .company-text:not(:last-child)::before {
	content: ' ';
	opacity: 0.2;
	height: calc(100% - 24px);
	border: 1px solid #b04a10;
	position: absolute;
	left: 0;
	top: 38px;
}
	
.hhs_company_standarts .text-block .company-text span {
  margin-right: 30px;
  color: #b04a10;
  font-size: 30px;
  line-height: 30px;
  font-weight: 700;
  position: absolute;
  left: -5px;
  top: -2px;
}	

	
.grid {
	display: grid;
}
	
.grid-12 {
	grid-template-columns: repeat(12, 1fr);
}

.grid-auto {
	grid-template-columns: repeat( auto-fit, minmax(160px, 1fr) );
}


.grid > * {
  background-color: white;
  /*расстояние от одной границы ячейки до другой*/
  margin: 2px;
}	

.grid img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.grid .l2, .grid .c2 { grid-column: span 2; }
.grid .l3, .grid .c3 { grid-column: span 3; }
.grid .l4, .grid .c4 { grid-column: span 4; }
.grid .l5, .grid .с5 { grid-column: span 5; }
.grid .l6, .grid .c6 { grid-column: span 6; }
.grid .l7, .grid .с7 { grid-column: span 7; }
.grid .l8, .grid .с8 { grid-column: span 8; }



.grid .p2, .grid .r2 { grid-row: span 2; }
.grid .p3, .grid .r3 { grid-row: span 3; }
.grid .p4, .grid .r4{ grid-row: span 4; }
.grid .p5, .grid .r5 { grid-row: span 5; }
.grid .p6, .grid .r6 { grid-row: span 6; }
		
		
		
#choreography a { background-color: #aa4710; }
#choreography h2 { color: #aa4710; }

#theater a { background-color: #b13e17; }
#theater h2 { color: #b13e17; }
	
	
	
.accordion-button:focus {box-shadow: none}
.accordion-button:not(.collapsed) {background-color: #efefed; color: black}


@keyframes move {
	from {
		margin-left: 0;
	}
	to {
		margin-left: 10px;
	}
}	


a.btn {
	/*
	animation-direction: alternate;
	animation-duration: 0.75s;
	animation-name: move;
	animation-iteration-count: infinite;
	animation-timing-function: ease-in-out;	
	*/
}


/*
@media (max-width: 991px) {
	.image-container {
		display:flex;
		overflow: hidden;
		overflow-x: auto;
	}		
}
*/

.p_items div.col div{
	padding-top: 1rem;
	margin-bottom: 2rem;
	border: 1px solid rgba(0,0,0,0.1);
	border-top: 1px solid rgba(0,0,0,0.05);
	border-left: 1px solid rgba(0,0,0,0.05);
	position: relative;
	color: #666666;
}


.p_items .col div::after {
	content: "";
	position: absolute;
	z-index: -1;
	width: 45%;
	height: 0.4rem;
	bottom: 4px;
	box-shadow: 0 0.45rem 4px 0 rgba(0,0,0,0.3);
	transition: all 0.4s;
	right: 3px;
	transform: rotate(5deg);
}


#production_time {
	min-height: 400px;	
	background: url(/inc/cache/thumbnails/cut_1920_1065/images/bg_nitki2.jpg.webp); 	
	background-size: cover; 	
	background-position-y: bottom;
}


@media (max-width: 1399px) {
	.offcanvas.offcanvas-end { width: 1000px; }
	
}

@media (max-width: 1199px) {
	.offcanvas.offcanvas-end { width: 800px; }	
}

@media (max-width: 991px) {
	
}

@media (max-width: 767px) {
	
}

@media (max-width: 575px) {

	.offcanvas.offcanvas-end {
		min-width: auto;
		width: 100%;
	}
	
	/*
	.grid-auto {
		grid-template-columns: repeat( auto-fit, minmax(180px, 1fr) );
	}
	*/
	
	.grid-12 {
		grid-template-columns: repeat( auto-fit, minmax(120px, 1fr) );
	}
	
	.grid-12 .r2 { grid-row: span 1; }
	.grid-auto .r2 { grid-row: span 1; }

	.grid-12 .c1 { grid-column: span 1; }
	.grid-12 .c2 { grid-column: span 1; }
	.grid-12 .c3 { grid-column: span 1; }
	.grid-12 .c4 { grid-column: span 2; }
	.grid-12 .с5 { grid-column: span 2; }
	.grid-12 .c6 { grid-column: span 2; }
	
	
	.grid-auto .c1 { grid-column: span 1; }
	.grid-auto .c2 { grid-column: span 1; }
	.grid-auto .c3 { grid-column: span 1; }
	.grid-auto .c4 { grid-column: span 2; }
	.grid-auto .с5 { grid-column: span 2; }
	.grid-auto .c6 { grid-column: span 2; }
	
	
	
	.innastar {display: none}
}

@media (max-width: 380px) {

	.grid-auto {
		grid-template-columns: repeat( auto-fit, minmax(120px, 1fr) );
	}
	
	.grid-12 {
		grid-template-columns: repeat( auto-fit, minmax(100px, 1fr) );
	}

	#topnav .social {display: none}
}