body, h1, h2, h3, h4, h5, h6 {
	font-family: Arial;
	color: #000
}

.search-facets .type-list-filter .filterbox.facet-field:nth-child(2) {
	display: none;
}

.pagination-center .list-dynamic.list-paginate .list-pagination {
	margin-top: 40px;
}

.main-search .list-append-position {
	margin-top: 30px;
}

@media (max-width: 1013px) {
	.ad-image-container {
		padding-bottom: 0 !important;
		width: fit-content;
    	margin: auto;
    	position: relative;
	}

	.ad-image-container .ad-image {
		max-width: 100%;
		height: auto;
	}
	
	.ad-image-container .image-copyright {
		padding: 2px 4px;
		font-family: Montserrat,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
		font-size: 8px;
		line-height: 1;
		display: inline-block;
		color: #000;
		background-color: rgba(255,255,255,.6);
		opacity: .8;
		position: absolute;
		bottom: 0;
		pointer-events: none;
		z-index: 7;
		box-shadow: none;
		overflow-wrap: anywhere;
		word-break: break-word;
		-webkit-hyphens: auto;
		-ms-hyphens: auto;
		hyphens: auto;
		right: 0;
		left: initial;
		text-align: right;
		border-top-left-radius: 1px;
	}
}

/*@media (max-width: 1013px) {
	.image-src-box.presized {
		padding-bottom: 0 !important;
		height: unset;
		text-align: center;
	}
	
	.image-src-box.presized img {
		max-height: 100%;
		height: unset;
		position: relative;
	}
	
	.image-src-box img {
		width: unset;
		max-width: 100%;
	}
}*/

@media (max-width: 1013px) {
	.news-images {
		margin-bottom: 30px;
	}
}

.glossary-search-term {
	margin-bottom: 10px;
	font-size: 20px;
}

@media (max-width: 1013px) {
	.glossary-search-term {
		font-family: none;
	}
}

@media (min-width: 1014px) {
	.glossary-search-term {
		font-family: Arial;
	}
}

.article-footer {
	display: flex;
	margin-top: 60px;
}

@media (max-width: 1013px) {
	.article-footer {
		justify-content: end;
	}
}

@media (min-width: 1014px) {
	.article-footer {
		justify-content: space-between;
	}
}

.metrics-counter {
	position: absolute !important;
}

.wine-header .header-group .head .h-group .h-info .h-meta .area-content .container .row .flex-col:last-child {
	position: absolute;
	right: 0;
	align-items: end;
}

@media (max-width: 1013.98px) {
	.nav-main-container .nav-main-mobile-logo {
		background-color: #F0F0C8;
	}
}

.main-page-stories-header {
	margin-top: 15px;
	margin-bottom: 0 !important;
}

@media (max-width: 1013px) {
	.main-page-glossary-header .heading .piece-heading {
		font-size: 20px;
	}
	
	.main-page-stories-header .heading .piece-heading {
		font-size: 20px;
	}
}

a {
	color: #000 !important;
}

.story-type-card {
	background-size: cover;
	border-radius: 17px;
}

.story-country {
	font-style: italic;
}

@media (max-width: 1013px) {
	.story-country {
		font-size: 15px !important;
	}
}

@media (min-width: 1014px) {
	.story-country {
		font-size: 18px;
	}
}

.glossary-main-page, .stories-main-page {
	margin-bottom: 20px;
}

/* Поиск */
.type-list-filter .filterbox .btn.li-label {
	background-color: #690505;
	color: white;
}

.type-list-filter .filterbox .btn.li-label:hover {
	background-color: #FF264A;
}

.type-list-filter .filterbox .btn.li-label:not(:hover) {
	transition-duration: .33s;
	transition-timing-function: ease-in-out;
}

.type-list-filter .filterbox .checkbox i::after {
	color: #690505 !important;
}

/* Футер */
.wine-footer, .wine-footer .subfoot {
	background-color: #F0F0C8;
}

.wine-footer-text .heading .piece-heading {
	color: #690505;
	text-align: center;
	font-size: 1.6rem;
	font-weight: 300;
}

@media (max-width: 1013px) {
	.wine-footer-text .heading .piece-heading {
		font-size: 14px;
		margin-bottom: 1rem;
	}
}

.wine-glossary-column-list {
	margin-top: 20px;
}

.wine-glossary-column-list .nothing-found-label {
    position: absolute;
    left: 50%;
    width: 210px;
    transform: translate(-50%, 0);
    text-align: center;
}

@media (min-width: 1014px) {
	.wine-glossary-column-list .list-entries {
		-webkit-column-count: 2;
		-moz-column-count: 2;
		column-count: 2;
	}
}

@media (min-width: 1014px) {
	.news-margin {
		margin-bottom: 20px; 
	}
}

@media (max-width: 1013px) {
	.news-margin {
		margin-bottom: 0; 
	}

  .main-page-news-list {
    width: 480%;
	overflow: hidden;
	margin-left: -15px;
  }

  .main-page-news-list .list-entries {
    display: flex;
    justify-content: space-between;
	padding-bottom: 15px !important;
	padding-left: 15px !important;
  }
  
  .main-page-news-list .list-entries .list-entry {
    border-radius: 10px;
    padding: 10px;
    margin-right: 10px;
    box-shadow: 0 2px 18px rgba(0,0,0,.08);
	width: 100%;
	font-size: 16px;
	padding: 15px;
  }
}

@media (max-width: 1013px) {
	.article-back-btn {
		display: none;
	}
}

.article-back-btn .piece-btn {
	background-color: #690505;
	color: white !important;
}

.article-back-btn .piece-btn:hover {
	background-color: #FF264A !important;
}

.article-back-btn .piece-btn:not(:hover) {
	transition-duration: .33s;
	transition-timing-function: ease-in-out;
}

.news-more .piece-btn {
	background-color: #690505;
	color: white !important;
}

.news-more .piece-btn:hover {
	background-color: #FF264A !important;
}

.news-more .piece-btn:not(:hover) {
	transition-duration: .33s;
	transition-timing-function: ease-in-out;
}

@media (min-width: 1014px) {
	.aside-separated aside {
	  border-right: 1px solid #690505;
	  margin-bottom: 15px;
	}
}

@media (max-width: 1013px) {
	.aside-separated .type-section .link .piece-btn {
		display: none;
	}
	
	aside.order-lg-first {
		position: absolute !important;
	}
	
	.main-page-right-content {
		margin-top: 200px;
	}
	
	.main-page-term-header {
		font-size: 20px;
	}
}

.header-search {
	width: 400px;
	position: absolute;
	margin-right: -5px;
}

@media (max-width: 1199px) {
	.header-search {
		margin-top: 10px;
	}
}

@media (min-width: 1200px) {
	.header-search {
		margin-top: 16px;
	}
}

.main-search {
	margin: auto;
	margin-bottom: 15px;
}

.main-search .list-append-position {
	text-align: center;
}

.not-displayed {
	display: none;
}

@media (min-width: 1014px) {
	.main-search {
		width: 70%;
	}
}

@media (max-width: 1013px) {
	.main-search {
		width: 100%;
	}
}

.search-no-label .search-result-row .search-results {
	display: none;
}

.search-no-label {
	margin-bottom: 0;
}

.main-page-right-content .stories {
	margin-top: 20px;
}

.disable-scrolling {
	height: 100%;
	overflow: hidden;
}

.stories-list-page {
	margin: auto;
}

.stories-list-page .heading {
	text-align: center;
}

@media (min-width: 1014px) {
	.stories-list-page {
		max-width: 900px;
	}
}

@media (max-width: 1013px) {
	.stories-list-page {
		width: 300px;
	}
}

.alphabet {
    list-style-type: none;
    padding: 5px;
    font-family: none;
    margin-bottom: 0;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
}

.alphabet li {
	position: relative;
}

.alphabet a {
	text-align: center;
	position: absolute;
	color: #555;
	user-select: none;
}

@media (min-width: 1014px) {
	.alphabet a {
		width: 28px;
		height: 28px;
		padding-top: 3px;
	}
}

@media (max-width: 1013px) {
	.alphabet {
		font-size: 16px;
		padding: 3px;
	}
	
	.alphabet a {
		width: 25px;
		height: 25px;
		padding-top: 2px;
	}
}

.alphabet li {
	border: #690505 1px solid;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	float: left;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 5px;
	margin-right: 5px;
	margin-bottom: 5px;
	cursor: pointer;
}

.alphabet li a {
	color: #690505 !important;
	font-family: Arial;
}

/* Пагинация */
.pagination>li.active>a {
    color: white !important;
    background-color: #690505;
    border-color: #690505;
}

.pagination>li.active>a:not(:hover) {
	transition-duration: .33s;
	transition-timing-function: ease-in-out;
}

@media (min-width: 1014px) {
	.wine-column-list .list-entries {
		-webkit-column-count: 2;
		-moz-column-count: 2;
		column-count: 2;
	}
}

@media (max-width: 1013px) {
	.wine-column-list .list-entries .list-entry {
		margin-bottom: 15px;
		font-size: 16px;
	}
}

.detail-page .glossary-image-container {
	text-align: center;
}

.detail-page .detail-page-date {
	margin-bottom: 10px;
}

.detail-page .detail-page-body {
    margin-bottom: 20px;
}

@media (min-width: 1014px) {
	.detail-page {
		padding-left: 10%;
		padding-right: 10%;
	}
}

@media (max-width: 1013px) {
  .detail-page .detail-page-header {
    font-size: 17px;
  }
  
  .detail-page .detail-page-date {
    font-size: 15px;
  }
  
  .detail-page .detail-page-body {
    font-size: 15px;
  }
}

.wine-column-list .heading {
	text-align: center
}

.glossary-page-header .heading {
	text-align: center
}

.stories .list-entries {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
	gap: 5%;
}

.stories .list-entries .list-entry {
	margin-bottom: 5%;
	float: left;
	box-sizing: border-box;
	background: rgba(217, 217, 217, 0.58);
	box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.22);
	border-radius: 17px;
	text-align: center;
	cursor: pointer;
	transition: all 0.5s;
	display: flex;
	align-items: center;
	justify-content: center;
	user-select: none;
	font-weight: bolder;
	font-size: large;
}

.stories .list-entries .list-entry img {
	border-radius: 17px;
}

.stories .list-entries .value {
	color: black;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.stories .list-entries .list-entry:hover {
  transform: scale(1.025);
}

.stories .list-entries .list-entry:active {
  transform: scale(0.95) rotateZ(1.7deg);
}

@media (min-width: 1014px) {
	.main-page-news-list .heading {
		text-align: center
	}
}

@media (max-width: 1013px) {
	.main-page-news-list .heading {
		margin-left: 15px;
		font-size: 20px;
	}
}

.full-width-container .container {
    max-width: none;
	padding-right: 35px;
	padding-left: 35px;
}

@media (max-width: 1013px) {
	.full-width-container .container {
		padding-right: 15px;
		padding-left: 15px;
	}
}

.wine-header .container {
    max-width: none;
}

@media (min-width: 1014px) {
	.wine-header .container {
		padding-right: 30px;
	}
}

#topcontrol {
	background-color: #690505;
}

#topcontrol:hover {
	background-color: #FF264A;
}

#topcontrol:not(:hover) {
	transition-duration: .33s;
	transition-timing-function: ease-in-out;
}

.area-header .nav-toggle {
	background-color: #690505;
}

.full-width-header {
	background-color: #F0F0C8;
}

.full-width-header .header-group, .full-width-header .co-lg-xl {
	max-width: none;
	background-color: #F0F0C8;
}

header.fh.nav-center .nav-main-items>li.nav-first>a, header.fh.nav-right .nav-main-items a {
	font-weight: bold;
	color: #690505 !important;
}

.styled-form .checkbox i, .styled-form .icon-append, .styled-form .icon-prepend, .styled-form .input input, .styled-form .radio i, .styled-form .select select, .styled-form .textarea textarea {
	border-color: #690505;
}

.styled-form .input.button button.btn {
	border-color: #690505;
	background-color: #690505;
}

.styled-form .input.button button.btn:hover {
	background-color: #FF264A;
}

.styled-form .input.button button.btn:not(:hover) {
	transition-duration: .33s;
	transition-timing-function: ease-in-out;
}

.header-search-select {
	height: 38px;
	width: 105px;
	border-radius: 7px;
	border-color: #690505;
}

.full-width-header .header-group .head {
	background-color: #F0F0C8;
}

.margin-right {
  margin: auto 0 auto auto;
  width: 100%;
}

.margin-left {
  margin: auto auto auto 0;
  width: 50%;
}

@media (min-width: 1014px) {
  .wine-header .nav-main-container {
    padding-right: 25px;
  }
}

@media (min-width: 1014px) {
	.h-nav {
		border-top: 1px solid #690505;
	}
}

.h-nav {
  padding-top: 4px;
  border-bottom: 1px solid #690505;
}

.wine-header .header-image {
  margin: auto;
}

@media (min-width: 1014px) {
  .wine-search-below {
    display: none;
  }
}

@media (max-width: 1013px) {
  .wine-header .h-ac {
    border-bottom: 1px solid #690505;
    margin-top: 10px;
  }
}

#nav-main-addition {
  display: none;
}

#curtain {
  position: absolute;
  backdrop-filter: blur(12px);
  width: 100%;
  height: 100%;
  z-index: 150202;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

#popup {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #F0F0C8;
	border-radius: 15px;
	box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.22);
	border: 1px solid #ddd;
}

@media (min-width: 1014px) {
	#popup {
	  width: 500px;
	  height: 300px;
	}
	
	#popup .content {
		margin-top: 20px;
		margin-bottom: 20px;
	}
	
	#popup .content .header {
		font-size: 50px;
		font-weight: bold;
		margin-bottom: 20px;
	}
	
	#popup .content .message {
		font-size: large;
		color: #690505;
	}
	
	#popup .content .button {
		padding: 20px;
		border-radius: 15px;
		margin-top: 25px;
	}
}

@media (max-width: 1013px) {
  #popup {
	  width: 280px;
	  height: 180px;
  }
  
  	#popup .content {
		margin-top: 10px;
		margin-bottom: 10px;
	}
	
	#popup .content .header {
		font-size: 25px;
		font-weight: bold;
		margin-bottom: 10px;
	}
	
	#popup .content .message {
		color: #690505;
		font-size: small;
		margin-top: 0;
	}
	
	#popup .content .button {
		padding: 5px;
		border-radius: 10px;
		margin-top: 10px;
		font-size: 11px;
		background-color: #F0F0C8;
	}
}

.area-wide:has(> .glossary-letters) {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

@media (max-width: 1013px) {
  .area-wide:has(> .glossary-letters) {
    flex-direction: column-reverse;
    align-self: flex-start;
    margin-bottom: 30px;
  }
}