@charset "utf-8";
* { margin: 0; padding: 0; border: 0; }


@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Josefin Sans Regular'), local('JosefinSans-Regular'), url(https://fonts.gstatic.com/s/josefinsans/v12/Qw3aZQNVED7rKGKxtqIqX5EUDXx9.ttf) format('truetype');
}

@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 700;
  src: local('Josefin Sans Bold'), local('JosefinSans-Bold'),   url(https://fonts.gstatic.com/s/josefinsans/v12/Qw3FZQNVED7rKGKxtqIqX5Ectllte10k.ttf) format('truetype');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto Regular'), 
       local('Roboto-Regular'), 
       url(http://themes.googleusercontent.com/static/fonts/roboto/v11/2UX7WLTfW3W8TclTUvlFyQ.woff) 
       format('woff');
}

@font-face{
 font-family:rsfont;
 src:url(rsfont.eot);
 src:url(rsfont.eot) format("embedded-opentype"),
     url(rsfont.woff) format("woff"),
     url(rsfont.ttf) format("truetype");
 font-weight: 400;
 font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('Roboto-ThinItalic-webfont.eot');
    src: url('Roboto-ThinItalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('Roboto-ThinItalic-webfont.woff') format('woff'),
         url('Roboto-ThinItalic-webfont.ttf') format('truetype'),
         url('Roboto-ThinItalic-webfont.svg#RobotoThinItalic') format('svg'); 
    font-weight: 200;
    font-style: italic;
}

html, body {
	width:100%;
	height:100%;
}

body {
  font-family: Arial, Tahoma, Verdana;
  font-size: 1.2em;
  color: #000;
  font-size: 100%;
}

.container {
  width: 100%;
  height: 100%;
}

.header_container {
  width: 100%;
  height: 2em;
}

.my_header {
  height: 4em;
}

.inside_header {
  display: block;
  height: inherit;
  /*width: 1060px;*/
  width: 90%;
  margin-right: auto;
  margin-left: auto;
}

.logo {
  background-position:left;
  background-image: url(images/logo.png);
  background-size: contain;
  background-repeat: no-repeat;
  width: 10%;
  height: 50%;
  height: 2em;
  z-index: 1;
  margin-top: 0px;
  margin-left: 0px;
  float: left;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

.logo {
  background-image: url('/static/images/logo_icon.png');
  background-size: contain;
  background-repeat: no-repeat;
}


.inline_container {
  width: 2.1em;
  height: 0.95em;
  top: 0.0em;
  display: inline-block;
  position:relative;
} 
	
.pub_med_icon {
  width: 2.2em;
  height: 1.95em;
  top: -0.35em;
  background-position:left;
  background-image: url(images/pub_med_link_ico.png);
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  position:relative;
  position:absolute;
}
	
#deco {
  position: absolute;
  z-index: 1;
  margin-top: 100px; 
  margin-left: 10%;
}

#deco1 {
  position: absolute;
  z-index: 1;
  margin-top: 800px; 
  margin-left: 10%;
}

.icon_container {
  display: none;
  cursor: pointer;
  float:right;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  padding: 0px 4px 1px 4px;
}

.bar1, .bar2, .bar3 {
	width: 20px;
	height: 2px;
	background-color: #66FFFF;	
	margin-right: auto;	margin-left: auto;
  margin: 4px 0;
	transition: 0.8s;
}

.change .bar1 {
  -ms-transform: rotate(-45deg) translate(-4px, 4px);
  transform: rotate(-45deg) translate(-4px, 4px);
}

.change .bar2 {opacity: 0;}

.change .bar3 {
  -ms-transform: rotate(45deg) translate(-4px, -4px);
  transform: rotate(45deg) translate(-4px, -4px);
}

.right {
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	margin-left: 3px;
}

.left {
	border-style: solid;
	border-color: inherit;
	border-width: 0 3px 3px 0;
	display: inline-block;
	padding: 3px;
	transform: rotate(135deg);
	-webkit-transform: rotate(135deg);
	margin-left: -8px;
	margin-bottom: 3px;
}

.up {
	transform: rotate(-135deg);
	-webkit-transform: rotate(-135deg);
}

.down {
	border-style: solid;
	border-color: inherit;
	border-width: 0 3px 3px 0;
	display: inline-block;
	padding: 3px;
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	margin-left: 5px;
	margin-bottom: 3px;
}

.hreverse {
	transform: rotate(225deg);
	-webkit-transform: rotate(225deg);
	margin-bottom: 0px;
}

.vreverse {
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	margin-left: -14px;
	margin-right: 6px;
}

.navbar, .lang_container {
	display: block;
	padding-top: 1em;
	float: right;
	font-size: 1em;
	font-weight: bold;
	text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.8);
	z-index: 1;
	overflow: hidden;
}

.vnavbar {
	display: none;
	position: absolute;
	/*top: 8vmin;*/
	top: 2em;
	right: 5%;
	width: 200px;
	font-size: 130%;
	text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.8);
	z-index: 1;
}

.drop_container {
	cursor: pointer;
	float: right;
}

.active_nav {
    color: #0FF;
}	

.always_visible, .always_visible_nh {
	/*color: #0FF;*/
	/*color: white;*/
	/*font-size: 90%;*/
	font-size: 100%;
	padding-right: 5px;
	padding-left: 20px;
	padding-top: 5px;
	padding-bottom: 5px;
	text-align: left;
	display: inline-block; /* Essential for transform to work */
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
    transform-origin: center; /* Grows from the middle */
}

.always_visible a {
  text-decoration: none;
	color: inherit;
}

.always_visible:hover {
	/*color: white;*/
	/*font-size: 140%;*/
	transform: scale(1.4); /* Increases size by 15% without shifting layout */
    text-shadow: 0 0 80px rgba(255, 255,255, 0.1), 
                 0 0 8px red; /* Subtle purple/blue glow */
}

.hidden_container {
	display: none;
	position: absolute;
	background-color: #006699;
	width: 200px;
  z-index: 1;
}

.narrow {
	width: 90px;
	text-align: center;
}

.hidden_container a {
	display: block; 
	color: #0FF;
	font-size: 90%;
	padding: 5px 10px 5px 10px;
	cursor: pointer;
	margin: 0px;
	border: thin solid #0FF;
}

.link {
  display:block;
	text-decoration: none;
}

.nepodciarkni {
	color:inherit;
  text-decoration: none;
}
	
.video_wrap {
	width: 320px;
	margin: auto;
  overflow: auto;
}

.flag-icon,.flag-icon-background {
	background-size:contain;
	background-position:50%;
	background-repeat:no-repeat
}
.flag-icon {
	position:relative;
	display:inline-block;
	width:1.33333333em;
	line-height:1em;
	margin-left: 6px;
}
.flag-icon:before {
	content:"\00a0"
}
.flag-icon.flag-icon-squared {
	width:1em
}

.title {
  width: 100%;
  height: 6em;
}

.title_text {
  position: relative;
  top: 45%;
  transform: translateY(-50%);
}

.h1-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;  
}

.title_text h1,
.title_text h3 {
  text-align: center;
  font-size: 3em;
  color: white;
  font-weight: bold;
  text-shadow: 5px 5px 5px rgba(0, 0, 100, 1.0);
  padding: 5px;
}

.title_text h2,
.title_text h4 {
  text-align: center;
  font-size: 1.5em;
  font-weight:normal;
  font-style:italic;
  color: white;
  text-shadow: 3px 3px 3px rgba(0, 0, 100, 1.0);
  margin-right: auto;
  margin-left: auto;
  padding: 10px 5% 0px 5%;
}

.title img{
  display: block;
  width: 90%;
  height: auto;
  margin-right: auto;
  margin-left: auto;
}

.subtitle {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
  position: relative;
}

.container_tail {
  display: flex;
  justify-content: center;
  background-image: url(images/blue.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
  padding-top: 5px;
  padding-bottom: 5px;
}

.middle_tail {
  display: flex;
  flex-direction: row; 
  
  overflow: hidden;
  width: 45em;
  margin-right: auto;
  margin-left: auto;
  
  justify-content: center;
  
  margin: 0 auto;
  padding-top: 5px;
  padding-bottom: 5px;
}

.arrow {
  flex: 0 0 auto; 
  width: 30px;
  
  text-align: center;
  cursor: pointer;
  font-size: 2rem;
  user-select: none;
  /*background: white;*/
  background: #050a15;

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
  z-index: 2;
}

.mnepodciarkni {
  flex: 0 0 calc(100% / 3);
  box-sizing: border-box;
  padding: 40px;
  text-align: center;
  border-right: 1px solid white;
  text-decoration: none;
  color: black;
}

.wrap_mteil {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;

  transition: transform 0.5s ease-in-out;
  transform: translateX(0);

  position: relative;
  z-index: 1;
}

.wrap_mteil a { 
  padding: 5px;
}

.wrap_teil { 
  width: 50em;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.wrap_teil a { 
  width: 30%;
  padding: 5px;
}

.teil {
  text-align: center;
  /*background: white;*/
  border-radius: 20px; 
}

.teil_small {
  height: 10.0em;
  /*height: auto;*/ /* Allow content to define height */
  /*
  width: 180px;
  min-height: 120px; 
  padding: 10px;
  */
}

.teil:hover .teil_up {
  background: rgba(0, 155, 155, 0.1);
}

.teil:hover .teil_up p, .teil:hover .teil_up h2 {
  color: RGB(46,49,146);
}

.teil_up {
  display: table;
  height: 27%;
  width: calc(100% + 1px);
  background: rgba(0, 51, 102, 0.8);
  /*background: #001a33; /* Your dark blue */

  /**/
  border-top: 1px solid rgba(124, 92, 255, 0.3); 
  /*padding: 10px;*/

  border-radius: 0px 0px 0px 20px; /* Rounds only the bottom corners */
  /*border-radius: 0 0 12px 12px; */

}

.teil_up p, .teil_up h2{
  font-size: 0.9em;
  font-weight: bold;
  color: white;
  padding-left: 5%;
  padding-right: 5%;
  text-align: center;
  display: table-cell;
  vertical-align: middle;
}

.teil_mid {
  margin-right: auto;
  margin-left: auto;
  height: 2%;
}

.teil_mid_inside {
  height: calc(100% - 2px);
  border-top: 1px solid #003366;
  border-bottom: 1px solid #003366;
}

.teil_down {
  width: 100%;
  height: 72%;
  width: calc(100% + 1px);
} 

.intro_panel_down .more {
  display: inline;
  white-space: nowrap;
  color: green;
}

.intro_panel_link {
	font-family: 'Roboto', sans-serif;
	text-align: right;
	
	position: absolute;
	right: 0%;
	
	float: left;
	
	padding-top: 0px;
	padding-right: 10px;
	padding-bottom: 5px;
	padding-left: 50%;
	
	margin: 0px 20px 0px 10px;
	/*border: 1px solid #069;*/
	border-radius: 10px 10px 0px 20px;
    background-repeat: no-repeat;
    background-image: 
		linear-gradient(to left, #039, white), 
		linear-gradient(white, #039)
	;
    background-size: 100% 1px, 1px 100%;
    background-position: 100% 100%, bottom right;
	
    bottom: 0;
    color: #555;
}

.intro_panel_link:hover {
  background: rgba(255, 255, 255, 0.1);
  color:  #069;
}

.my_footer {
  width: 100%;
  height: 7vh;
  background-color: #003366;
}

.inside_footer {
  height: 50%;
  margin-right: auto;
  margin-left: auto;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

.inside_footer p{
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  float: right;
  font-size: 0.75em;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
  color: #0FF;
  padding-right: 10px;
}

.h_content_sticky {
  top: 0;
  margin-top: 30px;
}

.show {
  transition: 1.0s;
  display: block;
}

.photo-grid-container {
  display: flex;
  justify-content: center;
}

.photo-grid {
  width: 900px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.photo-grid-item {
  border: 1px solid #fff;
  width: 300px;
  height: 300px;
  border: 1px solid black;
}

/* Container for all messages */
.flash-messages {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000; /* Ensure it's above the space-bg and header */
    width: 90%;
    max-width: 500px;
}

.alert {
    padding: 15px 25px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-weight: bold;
    text-align: center;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Success: Professional Blue/Green */
.success-alert {
    background: rgba(19, 131, 103, 0.9); /* Your Nexus Blue */
    color: white;
    box-shadow: 0 0 15px rgba(43, 99, 183, 0.5);
}

/* Error: Scientific Warning Red/Orange */  
.error-alert {
    background: rgba(211, 47, 47, 0.9); /* Deep Red */
    color: white;
    box-shadow: 0 0 15px rgba(211, 47, 47, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Keyframes for the entrance */
@keyframes slideDownIn {
    0% { opacity: 0; transform: translateY(-50px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Class to trigger the exit animation via JS */
.fade-out {
    animation: fadeOutUp 0.8s ease forwards !important;
}

@keyframes fadeOutUp {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-50px); }
}

/*========================================================*/
/*@media screen and (max-width: 2000px) { */
@media screen and (min-width: 1000px) and (max-width: 2600px) {
  .vnavbar { display: none;}
}

@media screen and (max-width: 1150px) {
  .inside_header {width: 94%;}
  .inside_footer {width: 94%;}
}

@media screen and (max-width: 1000px) {
  .logo { width: 20%;}
  .navbar         { display: none;	}
  .icon_container { display: block;	}
  .drop_container {
    position: relative;
	width: 100%;
 	float: left;
	background-color: #006699;
	border: thin solid #0FF;
  }
  .hidden_container {
	position: absolute;
	left: -90px;
	top: 0px;
  }
 .intro_panel_link {	
	font-size: 80%;
  }

  .title  {
    height: 10em;
  }  
  .title_text h3 {
    font-size: 2.6em;
    padding: 13px;
  }

  .title_text h4 {
    font-size: 1.3em;
  }

  .title_text p {
    font-size: 1.35em;
    padding-bottom: 20px;
  }
}

@media screen and (max-width: 840px) {
  .title_text h3 {
    font-size: 2.1em;
    padding: 10px;
  }
  .title_text h4 {
    font-size: 1.05em;
  }
  .title_text p {
    font-size: 1.35em;
    padding-bottom: 20px;
  }
  .teil_small {
		height: 8.0em;
		margin: 0px;
  }
  .middle_tail { width: 100%; } /*width: 40em; */ 
  .wrap_mteil { 
    width: 90%;
  }
  .mnepodciarkni { flex: 0 0 calc(100% / 3); }
  .arrow {
    /*width: 20px;*/
	width: 5vw;
    font-size: 1rem;
  }
}

@media screen and (max-width: 740px) {
  .navbar { width:  200px;}
  .title  { height: 10em;} 	
  .title_text h3 { font-size: 2.0em;  padding: 7px 25px 7px 25px; }
  .title_text h4 { font-size: 1.0em; }
  .title_text p  { font-size: 1.20em; padding-bottom: 20px;}
  
  .teil_up p, .teil_up h2 {font-size: 0.7em; }
  
  .wrap_teil a { 
    width: 40%;
	padding: 5px;
  }  
  .wrap_mteil a { 
    width: 40%;
	padding: 5px;
  }  
}

@media screen and (max-width: 600px) {
  .title  {
    height: 8em; 
    margin-bottom: 5px;
  } 	
  .title_text h3 { 
    font-size: 1.7em;
    padding: 15px 25px 5px 25px;
  }
  .title_text h4 {
    font-size: 0.85em;
  }  
  .title_text p { 
    font-size: 1.0em;
    padding-bottom: 20px;
  }
  .teil_up p, .teil_up h2{
    font-size: 0.65em;
  }
}


@media screen and (max-width: 480px) {
	.title  { 
    height: 6em; 
    margin-bottom: 5px;
  } 	
  .title_text h3 { 
    font-size: 1.2em;
    padding: 3px;
  }
  .title_text h4 {
    font-size: 0.9em;
  }  
  
  .title_text p { 
    font-size: 0.9em;
    padding-bottom: 10px;
  }
	.teil_small {
		height: 6.0em;
	}
  .teil_up p, .teil_up h2{
    font-size: 0.60em;
	}
}

@media screen and (max-width: 410px) {
	.title  { 
    height: 5em; 
    margin-bottom: 0px;
  } 	
	teil_up p{
    font-size: 0.45em;
	}
  .title_text h3 { 
    font-size: 1.0em;
    padding: 0px;
  }
  .title_text h4 {
    font-size: 0.5em;
  }  

  .title_text p { 
    font-size: 0.8em;
    padding-bottom: 5px;
  }
	.title_text {
		top: 35%;
	  transform: translateY(-50%);
	}

}