/*
	TPsoft.org 2000-2024
	CSS Document for ZUS Sobrance - 2. redizajn

	posledna editacia:
					2024-12-12 19:58  Igor

	01 - FONTY
	02 - GENERAL
	03 - HEADER
	04 - SUBMENU
	05 - SLIDER
	06 - TITLE-CONTENT
	07 - FOOTER
	08 - DARKFILTER
	09 - NEWS
	10 - STUDIES
	11 - ARTICLE
	12 - LIST

	89 - PHOTOSWIPE
	90 - RESPONSIVE min 1200px - 1599px
	91 - RESPONSIVE min 700px - 1199px
	92 - RESPONSIVE min 330px - 699px
	99 - AC panel

	modra                  #32A1BF
	oranzova               #CA5A2C
	siva                   #CCCCCC
*/
/* ----------------------------------------------------
 * 01 - Fonty
 */
@font-face {
	font-family: Montserrat;
	src: url(fonts/Montserrat-Regular.ttf);
}
@font-face {
	font-family: MontserratBold;
	src: url(fonts/Montserrat-Bold.ttf);
}
@font-face {
	font-family: MontserratItalic;
	src: url(fonts/Montserrat-Italic.ttf);
}

/* ----------------------------------------------------
 * 02 - GENERAL
 */
:root {
	--color-modra: #32A1BF;
	--color-oranzova: #CA5A2C;
	--color-siva: #ddd;
	--color-fg: black;
	--color-bg: white;
	--color-submenu: #ABABAB;
	--margin-left: 100px;
	--margin-right: 100px;
	--margin-top: 50px;
	--margin-bottom: 50px;
	--header-max-height: 150px;
	--menu-min-height: 65px;
	--slider-scroll-top: 130px;
	--sipka: url(../images/sipka.svg);
	--ciara: url(../images/ciara2.svg);
}
/* Tmavý režim */
/*
@media (prefers-color-scheme: dark) {
	:root {
		--color-modra: #32A1BF;
		--color-oranzova: #CA5A2C;
		--color-siva: #ddd;
		--color-fg: white;
		--color-bg: #222;
		--color-submenu: #555;
		--sipka: url(../images/sipka-biela.svg);
		--ciara: url(../images/ciara2-biela.svg);
	}
}
*/
html,
body {
	margin: 0px;
	padding: 0px;
	font-family: Montserrat, Arial, Helvetica, sans-serif;
	color: var(--color-fg);
	font-size: 14px;
	background-color: var(--color-bg);
	transition: background-color 0.3s, color 0.3s
}
h1 {
	font-size: 22px;
}
h2 {
	font-size: 20px;
}
h3 {
	font-size: 18px;
}
a,
a:visited {
	color: var(--color-fg);
}
a:hover {
	color: var(--color-oranzova);
}
a.link,
a.link:visited,
a.link-arrow,
a.link-arrow:visited {
	text-decoration: none;
	color: var(--color-fg);
	position: relative;
}
a.link::after,
a.link-arrow::after {
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	background-color: var(--color-fg);
	bottom: 0;
	left: 0;
	transition: width 0.3s ease;
}
a.link:hover::after,
a.link-arrow:hover::after {
	width: 100%;
}
a.link-arrow {
	padding-right: 20px;
	background-image: var(--sipka);
	background-repeat: no-repeat;
	background-position: right 3px;
	background-size: 12px 12px;
}
.container {
	margin-left: var(--margin-left);
	margin-right: var(--margin-right);
	/* border: 1px red solid; */
}
.hide {
	display: none;
}
.h100 {
	height: 100%;
}
.space {
	margin-top: 100px;
}
/* ----------------------------------------------------
 * 03 - HEADER
 */
header {
	/* margin-top: 50px; */
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	/* align-content: stretch; */
	position: fixed;
	top: 0px;
	width: 100%;
	max-height: var(--header-max-height);
	/* background-color: white; */
	/* border: 1px red solid; */
}
header .logo {
	display: flex;
	flex-direction: row;
	padding-left: var(--margin-left);
	padding-top: var(--margin-top);
	background-color: var(--color-bg);
	/* min-width: 45%; */
	width: 50vw;
	/* border: 1px blue solid; */
}
header #logo-main {
	transition: height 1s ease-in-out;
}
/* header .logo-image { } */
header .logo-label {
	/* font-family: MontserratBold; */
	font-weight: bold;
	margin-left: 30px;
	font-size: 16px;
	line-height: 30px;
}
header .logo .menu-activator {
	display: none;
}
header .menu {
	/* border: 1px magenta solid; */
	min-width: 50vw;
	padding-top: var(--margin-top);
	position: relative;
	top: -200px;
	background-color: var(--color-bg);
	min-height: var(--menu-min-height);
	transition: top 1s ease-in-out;
}
header .menu a,
header .menu a:visited {
	text-decoration: none;
	color: var(--color-fg);
	font-size: 16px;
	line-height: 30px;
	margin-right: 15px;
	height: 50px;
	display: inline-block;
	/* transition: background-position 1s ease-in-out; */
	/* transition: all 1s ease-in-out; */
	background-position: 0px 30px;
	/* background-image: url(../images/ciara.svg); */
	background-repeat: no-repeat;
	background-size: contain;
	/* transition: background-position 1s ease-in-out; */
	transition: background-position 0.3s ease-in-out, background-size 0.3s ease-in-out;
	/* border: 1px green solid; */
}
header .menu a .hover-animation {
	display: block;
	height: 2px;
	width: 0%;
	background-image: var(--ciara);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: right top;
	transition: width 0.5s ease-in-out;
	/* border: 1px red solid; */
}
header .menu a:hover .hover-animation,
header .menu a.menu-active .hover-animation {
	width: 100%;
}
header .menu a:hover,
header .menu a.menu-active {
	background-position: left 30px;
	transition: background-position 0.3s ease-in-out, background-size 0.3s ease-in-out;
	background-size: 100% 2px;
	/* transition: all 1s ease-in-out; */
	/* transition: background-image 3s ease-in-out; */
}
header.menu-showed,
header.slider-scrolled {
	z-index: 10;
}
header.menu-showed #logo-main,
header.slider-scrolled #logo-main {
	height: 60px;
}
header.menu-showed .menu,
header.slider-scrolled .menu {
	z-index: 10;
	top: 0px;
}

/* ----------------------------------------------------
 * 04 - SUBMENU
 */
.submenu {
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
	position: sticky;
	top: 0px;
	z-index: 5;
	background-color: var(--color-bg);
	box-shadow: #222 0px 5px 20px;
	transition: top 1s ease-in-out;
	/* border: 1px brown solid; */
}
.submenu-active {
	border-top: 1px var(--color-submenu) solid;
	top: calc(var(--menu-min-height) + var(--margin-top));
	transition: top 0.3s ease-in-out;
}
.submenu-container {
	min-width: 50%;
	max-width: calc(100% - var(--margin-left));
	/* padding-top: 25px; */
	padding-bottom: 20px;
	/* border: 1px green solid; */
}
.submenu-container a,
.submenu-container a:visited {
	display: inline-block;
	text-decoration: none;
	color: var(--color-fg);;
	margin-top: 20px;
	/* margin-bottom: 20px; */
	margin-right: 20px;
	line-height: 25px;
	font-size: 16px;
	position: relative;
	/* border: 1px red solid; */
}
.submenu-container a::after {
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	background-color: var(--color-fg);;
	bottom: 0;
	left: 0;
	transition: width 0.3s ease;
}
.submenu-container a:hover::after {
	width: 100%;
}
.submenu-close {
	display: none;
	background-image: var(--sipka);
	background-repeat: no-repeat;
	background-position: right top;
	height: 20px;
	transform: scaleX(-1);
}

/* ----------------------------------------------------
 * 05 - SLIDER
 */
.slider {
	/* border: 1px yellow solid; */
	width: 50vw;
	height: 50vw;
	position: absolute;
	right: 0px;
	top: 0px;
	background-image: url(../images/slider-background.svg);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: right top;
	transition: top 1s ease-in-out;
}
header .logo .menu-activator,
.slider .menu-activator {
	background-image: url(../images/ciarky.svg);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: right top;
	width: 5vw;
	max-width: 50px;
	height: 5vw;
	max-height: 50px;
	position: inherit;
	top: var(--margin-top);
	right: var(--margin-right);
	cursor: pointer;
	transition: opacity 2s ease-in-out;
	/* border: gold 1px solid; */
}
.slider.slider-scrolled {
	top: var(--slider-scroll-top);
}
.slider.slider-scrolled .menu-activator {
	/* display: none; */
	transition: opacity 1s ease-in-out;
	opacity: 0;
}
.slider .slider-window {
	width: 100%;
	height: 95%;
	background-color: var(--color-modra);
	clip-path: polygon(0 0, 55% 0, 95% 100%, 45% 100%);
	display: inline-block;
	/* position: relative; */
	/* right: 0px; */
	background-image: url(../images/slider.jpg);
	background-position: center top;
	/* background:
		url(../images/hudobny-1000.jpg) no-repeat center top,
		url(../images/vytvarny-1000.jpg) no-repeat center top,
		url(../images/tanecny-1000.jpg) no-repeat center top,
		url(../images/drama-1000.jpg) no-repeat center top,
		url(../images/hudobny-1000.jpg) no-repeat center top; */
	background-size: cover;
	animation: moveBackground 360s linear infinite;
}
@keyframes moveBackground {
	0% {
		background-position: center top;
	}
	100% {
		background-position: center 106.76%;
	}
}
@keyframes moveBackground4 {
	0% {
		/* background-position: center 0px, center 3750px, center 4799px, center 11248px; */
		background-position: center top, center top, center top, center top, center top;
	}
	25% {
		background-position: center 134%, center top, center top, center top, center top;
	}
	50% {
		background-position: center 134%, center 134%, center top, center top, center top;
	}
	75% {
		background-position: center 134%, center 134%, center 134%, center top, center top;
	}
	100% {
		/* background-position: center -3750px, center -3750, center -3750, center -3750px; */
		background-position: center 134%, center 134%, center 134%, center 134%, center top;
	}
}
.slider .slider-actions {
	display: flex;
	flex-direction: column;
	position: inherit;
	top: calc(var(--margin-top) + 60px);
	right: var(--margin-right);
	text-align: right;
	/* border: 1px red solid; */
}
.slider .slider-actions .slider-action {
	display: block;
	font-size: 18px;
	line-height: 50px;
	height: 50px;
	/* border: 1px yellow solid; */
}
.slider .slider-actions a,
.slider .slider-actions a:visited {
	text-decoration: none;
	color: var(--color-bg);;
	position: relative;
	/* border: 1px blue solid; */
}
.slider .slider-actions a::after {
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	background-color: var(--color-bg);;
	bottom: -2px;
	left: 0;
	transition: width 0.3s ease;
}
.slider .slider-actions  a:hover::after {
	width: 100%;
}
.slider .slider-bottoms {
	text-align: right;
	padding-right: var(--margin-right);
	position: relative;
	top: 70px;
}
/* ----------------------------------------------------
 * 06 - TITLE-CONTENT
 */
#title-info {
	text-align: justify;
	min-height: calc(50vw + var(--slider-scroll-top));
	/* border: 1px green solid; */
}
#title-info .title-info-content {
	padding-top: 20vw;
	width: calc(50vw - var(--margin-left));
	/* border: 1px magenta solid; */
}
#title-info .title-imaged {
	display: flex;
	flex-direction: row;
	width: calc(50vw - var(--margin-left) - 20px);
	border: 3px var(--color-siva) solid;
	text-align: justify;
	transition: transform 0.3s ease;
}
#title-info .title-imaged:hover {
	transform: scale(1.02);
}

#title-info .title-image {
	width: 66%;
	overflow: hidden;
	max-height: 400px;
	/* border: 1px gold solid; */
}
#title-info .title-image img {
	width: 100%;
	height: 100%;
	/* max-height: 300px; */
	object-fit: cover; /* Orezáva obrázok, aby zaplnil kontajner */
	object-position: center; /* Umiestňuje obrázok na stred */
}
#title-info .title-image-content {
	display: flex;
	flex: 1;
}
#title-info .title-content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 15px;
}

#title-latest {
	display: flex;
	flex-direction: row;
	gap: 30px;
	/* min-height: calc(50vw + var(--slider-scroll-top)); */
	/* border: 1px red solid; */
}
#title-latest .title-imaged {
	flex: 1;
	display: flex;
	flex-direction: row;
	border: 3px var(--color-siva) solid;
	text-align: justify;
	transition: transform 0.3s ease;
}
#title-latest .title-imaged:hover {
	transform: scale(1.02);
}
#title-latest .title-imaged .title-image {
	width: 50%;
}
#title-latest .title-imaged .title-image img {
	width: 100%;
}
#title-latest .title-imaged .title-image-content {
	display: flex;
	flex: 1;
}
#title-latest .title-imaged .title-content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 15px;
	flex: 1;
}

/* ----------------------------------------------------
 * 07 - FOOTER
 */
footer {
	width: 100%;
	min-height: 400px;
	background: url(../images/footer-background.svg) no-repeat left bottom;
	background-size: 400px;
	margin-top: 100px;
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
	align-content: flex-end;
	align-items: flex-end;
	/* border: 1px indigo solid; */
}
footer .footer-image {
	width: 400px;
	height: 360px;
	position: absolute;
	left: 0px;
	background-color: #07c;
	clip-path: polygon(0 0, 55% 0, 100% 100%, 45% 100%, 0 10%);
	background-image: url(../images/hudobny-1000.jpg);
	background-repeat: no-repeat;
	background-position: 10% 52%;
	background-size: cover;
	z-index: 1;
}
footer .footer-content {
	/* border: 1px red solid; */
	margin-right: var(--margin-right);
	margin-bottom: var(--margin-bottom);
	text-align: right;
	z-index: 2;
}
footer .footer-help {
	/* border: 1px red solid; */
	margin-left: auto;
	margin-right: auto;
	margin-bottom: var(--margin-bottom);
	background-color: var(--color-bg);
	color: var(--color-fg);
	padding: 10px;
	z-index: 3;
}
footer a,
footer a:visited {
	text-decoration: none;
	color: var(--color-fg);
	position: relative;
}
footer a::after {
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	background-color: var(--color-fg);
	bottom: 0;
	left: 0;
	transition: width 0.3s ease;
}
footer a:hover::after {
	width: 100%;
}
/* ----------------------------------------------------
 * 08 - DARK FILTER
 */
#darkfilter {
	position: fixed;
	width: 100vw;
	height: 100vh;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	z-index: 3;
	display: none;
}
#darkfilter.filter-active {
	display: block;
	background-color: rgba(0,0,0,0.5);
	animation: changeBackgroundColor 2s 1;
}
@keyframes changeBackgroundColor {
	0% {
		background-color: rgba(0,0,0,0);
	}
	100% {
		background-color: rgba(0,0,0,0.5);
	}
}

/* ----------------------------------------------------
 * 09 - NEWS
 */
#news {
	display: flex;
	flex-direction: row;
	padding-left: var(--margin-left);
	padding-right: var(--margin-right);
	justify-content: space-between;
	font-size: 14px;
	/* border: 1px red solid; */
}
#news h2 {
	margin-top: 0px;
}
#news .news-last,
#news .news-2p {
	/* width: calc((100vw - var(--margin-left) - var(--margin-right)) / 2); */
	width: calc(50% - 20px);
	/* flex: 50%; */
	border: 3px var(--color-siva) solid;
	text-align: justify;
	transition: transform 0.3s ease;
}
#news .news-last:hover,
#news .news-2p:hover {
	transform: scale(1.02);
}
#news .news-last {
	/* margin-right: 15px; */
	display: flex;
	flex-direction: row;
}
#news .news-2p {
	/* margin-left: 15px; */
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
a.news-readmore,
a.news-readmore:visited {
	text-decoration: none;
	color: var(--color-fg);
	position: relative;
	padding-right: 20px;
	background-image: var(--sipka);
	background-repeat: no-repeat;
	background-position: right 3px;
	background-size: 12px 12px;
	float: right;
	box-sizing: border-box;
	/* border: 1px red solid; */
}
a.news-readmore::after {
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	background-color: var(--color-fg);
	bottom: -2px;
	left: 0;
	transition: width 0.3s ease;
}
a.news-readmore:hover::after {
	width: 100%;
}
#news .new-image-content {
	display: flex;
	flex: 1;
}
#news .news-image {
	/* flex-grow: 2; */
	width: 66%;
	overflow: hidden;
	max-height: 400px;
}
#news .news-image img {
	width: 100%;
	height: 100%;
	/* max-height: 300px; */
	object-fit: cover; /* Orezáva obrázok, aby zaplnil kontajner */
	object-position: center; /* Umiestňuje obrázok na stred */
}
#news .news-content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 15px;
}

/* ----------------------------------------------------
 * 10 - STUDIES
 */
#studies {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	padding-left: var(--margin-left);
	padding-right: var(--margin-right);
}
#studies .study {
	/* width: calc(25% - 20px); */
	width: calc(((100vw - var(--margin-left) - var(--margin-right))/4) - 20px);
	/* height: calc(25% - 20px); */
	height: calc(((100vw - var(--margin-left) - var(--margin-right))/4) - 20px);
	border: 3px var(--color-siva) solid;
	text-decoration: none;
}
#studies .study span,
#studies .study span:visited {
	color: var(--color-bg);
	font-size: 20px;
	text-align: center;
	display: block;
	padding-top: 20px;
	text-shadow: 2px 2px 0 var(--color-fg), /* pravý dolný */
		-2px -2px 0 var(--color-fg), /* ľavý horný */
		-2px 2px 0 var(--color-fg), /* ľavý dolný */
		2px -2px 0 var(--color-fg), /* pravý horný */
		2px 0 0 var(--color-fg), /* pravý */
		-2px 0 0 var(--color-fg), /* ľavý */
		0 -2px 0 var(--color-fg), /* horný */
		0 2px 0 var(--color-fg); /* dolný */
}
#studies .study {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: -5vw top;
	transition: background-position 0.5s ease, transform 0.3s ease;
	position: relative;
}
#studies .study:hover {
	background-position: left top;
	transform: scale(1.05);
}
#studies .music {
	background-image: url(../images/hudobny-stvorec.jpg);
}
#studies .art {
	background-image: url(../images/vytvarny-stvorec.jpg);
}
#studies .dance {
	background-image: url(../images/tanecny-stvorec.jpg);
}
#studies .drama {
	background-image: url(../images/drama-stvorec.jpg);
}

/* ----------------------------------------------------
 * 11 - ARTICLE
 */
 #article {
	text-align: justify;
	min-height: calc(50vw + var(--slider-scroll-top));
	margin-left: var(--margin-left);
	margin-right: var(--margin-right);
	/* border: 1px green solid; */
}
#article .article-content {
	padding-top: 20vw;
	/* width: calc(vw - var(--margin-left)); */
	/* border: 1px magenta solid; */
}
#article h1 {
	margin-top: 0px;
}
#article .article-date {
	font-family: MontserratItalic;
	/* float: right; */
}
#article .article-restricted-area {
	/* border: 1px red solid; */
	width: calc(50vw - var(--margin-right));
	height: calc(50vw - var(--slider-scroll-top));
	float: right;
}
#article table {
	width: calc(45vw - var(--margin-left));
}
#article .photogallery table {
	width: 100%;
}
#article table tr th {
	background-color: var(--color-siva);
}
#article table tr td {
	border-bottom: 1px var(--color-fg) solid;
}
#article img,
#article video {
	max-width: calc(45vw - var(--margin-left));
}

/* ----------------------------------------------------
 * 12 - LIST
 */
 #list {
	display: block;
	text-align: justify;
	min-height: calc(50vw + var(--slider-scroll-top));
	margin-left: var(--margin-left);
	margin-right: var(--margin-right);
	padding-top: 20vw;
	/* border: 1px green solid; */
}
#list .list-item,
#list .list-item-hidden,
#list .list-loadmore {
	width: calc(((100vw - var(--margin-left) - var(--margin-right))/2) - 30px);
	border: 3px var(--color-siva) solid;
	margin-bottom: 20px;
	display: inline-block;
	vertical-align: top;
}
#list .list-item-hidden {
	border: none;
}
#list h2,
#list h3 {
	margin-top: 0px;
}
#list .list-content {
	padding: 20px;
	/* width: calc(vw - var(--margin-left)); */
	/* border: 1px magenta solid; */
}
#list .article-date {
	font-family: MontserratItalic;
	/* float: right; */
}
#list .list-restricted-area {
	/* border: 1px red solid; */
	width: calc(50vw - var(--margin-right));
	height: calc(50vw - var(--slider-scroll-top));
	float: right;
}
#list .news-readmore {
	bottom: 5px;
}
#list .list-loadmore {
	cursor: pointer;
	transition: background-color 0.3s ease;
}
#list .list-loadmore:hover {
	background-color: var(--color-siva);
	font-weight: bold;
}
#list .list-loadmore .label {
	text-align: center;
	padding: 10px;
}

/* ----------------------------------------------------
 * 89 - PHOTOSWIPE
 */
 .pswp-gallery {
	text-align: left;
 }
 .pswp-gallery a,
 .pswp-gallery a:visited {
	text-decoration: none;
	display: inline-block;
	margin-bottom: 10px;
	margin-right: 10px;
 }
 .pswp__custom-caption {
	background: rgba(0, 0, 0, 0.5);
	font-size: 16px;
	color: #fff;
	width: calc(100% - 32px);
	max-width: 400px;
	padding: 20px 10px;
	border-radius: 4px;
	position: absolute;
	left: 50%;
	bottom: 16px;
	text-align: center;
	transform: translateX(-50%);
}
.pswp__custom-caption a {
	color: #fff;
	text-decoration: underline;
}
.hidden-caption-content {
	display: none;
}
.hidden-caption {
	display: none;
}

/* ----------------------------------------------------
 * 90 - RESPONSIVE min 1200px - 1599px
 */
@media (max-width: 1599px) {
	.slider .slider-actions {
		top: calc(var(--margin-top) + 30px);
	}
	.slider .slider-actions .slider-action {
		font-size: 16px;
		line-height: 30px;
		height: 30px;
		/* border: 1px yellow solid; */
	}
}
/* ----------------------------------------------------
 * 91 - RESPONSIVE min 700px - 1199px
 */
@media (max-width: 1199px) {
	/* GENERAL */
	:root {
		--margin-left: 50px;
		--margin-right: 50px;
		--margin-top: 50px;
		--margin-bottom: 50px;
		--menu-min-height: 65px;
		--slider-scroll-top: 130px;
	}
	/* HEADER */
	header {
		flex-direction: column;
		z-index: 10;
	}
	header .logo {
		width: 100vw;
		z-index: 15;
	}
	header .logo .menu-activator {
		display: block;
		position: fixed;
	}
	header .menu,
	header.slider-scrolled .menu {
		z-index: 8;
		width: 100vw;
		display: flex;
		justify-content: flex-start;
		/* display: none; */
		top: -200px;
		padding-left: var(--margin-left);
		transition: top 0.5s ease-in-out;
	}
	header .menu-activator {
		transition: transform 0.5s ease-in-out;
		transform: rotate(0deg);
	}
	header.menu-showed .menu-activator {
	/* header .menu-activator:hover { */
		transition: transform 0.5s ease;
		transform: rotate(90deg);
	}
	header.menu-showed .menu {
		top: 0px;
	}
	/* SUBMENU */
	.submenu {
		justify-content: flex-start;
		padding-left: var(--margin-left);
	}
	.submenu.submenu-active {
		top: calc(var(--header-max-height) + var(--menu-min-height));
	}
	/* SLIDER */
	#slider {
		position: relative;
		width: 100vw;
		top: calc(var(--margin-top) + var(--menu-min-height) + 50px);
	}
	#slider .menu-activator {
		display: none;
	}
	#slider .slider-actions {
		position: absolute;
	}
	.slider .slider-bottoms {
		top: 40px;
	}
	/* TITLE INFO */
	#title-info .title-info-content {
		width: calc(100vw - var(--margin-left) - var(--margin-right));
		padding-top: 30vw;
	}
	#title-info .title-imaged {
		width: calc(100vw - var(--margin-left) - var(--margin-right));
	}
	/* ARTICLE */
	#article .article-restricted-area {
		display: none;
	}
	#article table {
		width: 100%;
	}
	#article img,
	#article video {
		max-width: calc(100vw - var(--margin-left) - var(--margin-right));
	}
	/* LIST */
	#list .list-restricted-area {
		display: none;
	}
}

/* ----------------------------------------------------
 * 92 - RESPONSIVE min 330px - 699px
 */
 @media (max-width: 699px) {
	/* GENERAL */
	:root {
		--margin-left: 20px;
		--margin-right: 20px;
		--margin-top: 20px;
		--margin-bottom: 50px;
		--menu-min-height: 35px;
		--slider-scroll-top: 130px;
	}
	.space {
		margin-top: 30px;
	}
	/* HEADER */
	header {
		max-height: none;
	}
	header #logo-main{
		height: 60px;
	}
	header .logo-label {
		margin-left: 10px;
	}
	header .logo .menu-activator {
		width: 30px;
		height: 30px;
		top: 60px;
		right: var(--margin-right);
		/* border: 1px red solid; */
	}
	header .menu,
	header.slider-scrolled .menu {
		flex-direction: column;
		background-color: var(--color-bg);
		top: -100vh;
		position: absolute;
	}
	header.menu-showed .menu {
		top: 0px;
		position: relative;
	}
	/* SUBMENU */
	.submenu.submenu-active {
		z-index: 15;
		top: 110px;
		display: flex;
		flex-direction: column;
	}
	.submenu.submenu-active .submenu-container:not(.hide) {
		display: flex;
		flex-direction: column;
	}
	.submenu.submenu-active .submenu-close {
		display: block;
		cursor: pointer;
		margin-top: 10px;
	}
	.submenu.submenu-active .submenu-close img {
		transform: scaleX(-1);
	}
	/* SLIDER */
	.slider .slider-actions {
		top: var(--margin-top);
	}
	#darkfilter {
		z-index: 13;
	}
	/* TITLE */
	#title-latest {
		flex-direction: column;
	}
	/* NEWS */
	#news {
		flex-direction: column;
	}
	#news .news-last,
	#news .news-2p {
		width: calc(100vw - var(--margin-left) - var(--margin-right));
		margin-bottom: var(--margin-top);
	}
	/* STUDIES */
	#studies {
		flex-wrap: wrap;
	}
	#studies .study {
		width: calc(((100vw - var(--margin-left) - var(--margin-right))/2) - 20px);
		height: calc(((100vw - var(--margin-left) - var(--margin-right))/2) - 20px);
		margin-bottom: var(--margin-top);
	}
	/* FOOTER */
	footer {
		flex-direction: column-reverse;
		align-items: start;
		margin-top: var(--margin-top);
	}
	footer .footer-image {
		position: relative;
	}
	footer .footer-content {
		position: relative;
		width: calc(100vw - var(--margin-right));
	}
	/* TITLE INFO */
	#title-info .title-info-content {
		padding-top: 30vw;
	}
	/* ARTICLE */
	#article .article-content {
		padding-top: 27vw;
	}
	#article table tr {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		border-bottom: 1px var(--color-fg) solid;
	}
	#article table tr th,
	#article table tr td {
		border: none;
		width: calc(((100vw - var(--margin-left) - var(--margin-right))/2) - 30px);
	}
	/* LIST */
	#list .list-item {
		width: 100%;
	}

 }

 /* ----------------------------------------------------
 * 92 - RESPONSIVE min 330px - 499px
 */
 @media (max-width: 499px) {
	/* TITLE INFO */
	#title-info .title-info-content {
		padding-top: 45vw;
	}
 }

 /* ----------------------------------------------------
  * 99 - AC panel
  */
#ac_panel {
	z-index: 100;
}
#list input[type="text"],
#article input[type="text"] {
	width: 40vw !important;
}
#article table input[type="text"] {
	width: 100% !important;
}
@media (max-width: 1199px) {
	#article input[type="text"] {
		width: 100% !important;
	}
}