h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-style: normal;
  line-height: 100%;
}

#tab-description p,
#tab-description div,
#tab-description span,
#tab-description li,
#tab-description h1,
#tab-description h2,
#tab-description h3,
#tab-description h4,
#tab-description h5,
.wrapper_container-page p,
.wrapper_container-page li{
	margin-bottom: 1.5em;
	line-height: 100%;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

html {
    scroll-behavior: smooth;
}

body {
  line-height: 0;
  margin: 0;
}

p{
  margin-bottom: 1.5em;
  font-weight: 400;
  font-size: clamp(0.875rem, 0.813rem + 0.25vw, 1rem);
  line-height: 120%;
}

ol, 
ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

.wrapper_container-page th,
.wrapper_container-page td {
	border: 1px solid #000;
	padding: 10px 20px;
	text-align: left;
}

td{
  padding: 7px;
}


/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
	border-radius: clamp(0.313rem, 0.094rem + 0.88vw, 0.75rem);
	margin: 0;
	overflow: hidden;
  max-height: 400px;
  position: relative;
}

.wp-caption-text{
  position: absolute;
  color: white;
  font-size: clamp(0.75rem, 0.625rem + 0.5vw, 1rem);
  line-height: 100%;
  z-index: 5;
  bottom: 0;
  background: var(--green);
  width: 100%;
  padding: clamp(0.313rem, 0.219rem + 0.38vw, 0.5rem) 0px;
  font-weight: 600;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

.gallery .gallery-icon{
	height: 100%;
}

.gallery .gallery-icon a{
	display: block;
	height: 100%;
} 

.gallery .gallery-icon a img{
	object-fit: cover;
	height: 100%;
	width: 100%;
}


.fancy-ico span{
  box-shadow: none !important;
  transition: none !important;
  background: rgba(91, 91, 91, 0.80) !important;
}

#fancybox-close span::after, #fancybox-close span::before{
  left: 5px !important;
}

#anchor-budget{
  position: relative;
  top: 191px;
}
/* --------------------------------------------- */


/* ----- Страница 404 ----- */

.error-404{
	height: 20vh;
}

.wrapper-error-404{
	height: 100%;
    display: grid;
    justify-items: center;
    align-items: center;
    align-content: center;
	gap: 25px;
}

.wrapper-error-404 span{
	font-size: clamp(1.563rem, 0.781rem + 3.13vw, 3.125rem);
    line-height: 120%;
    font-weight: 700;
    color: #d51228;
}

.wrapper-error-404 a{
	font-size: clamp(0.875rem, 0.75rem + 0.5vw, 1.125rem);
    line-height: 120%;
    font-weight: 600;
    border: 3px solid #d51228;
    padding: 10px 20px;
    border-radius: 8px;
    color: black;
	text-align: center;
}

/* --------------------------------------------- */
