body {
  background-color: rgb(255, 255, 255);
  font: 400 1.25em/1.38 Cabin;
  color: rgb(0, 0, 0);
  min-width: 960px;
}

.calendar {
  float: left;
  width: 95px;
  min-height: 50px;
  margin-left: 0.45085%;
  padding: 10px;
  font-size: 1em;
  text-align: center;
  color: rgb(0, 0, 0);
}

.calendar:hover,
.group:hover,
.home:hover,
.lab:hover,
.publications:hover,
.research:hover {
  border-bottom: 3px solid rgb(0, 0, 0);
}

.container {
  float: left;
  width: 100%;
  height: 50px;
  background-color: rgb(54, 24, 90);
}

.group {
  position: relative;
  float: left;
  z-index: 3;
  width: 70px;
  min-height: 50px;
  margin-left: 0.389%;
  padding: 10px;
  font-size: 1em;
  text-align: center;
  color: rgb(0, 0, 0);
}

.header {
  width: 960px;
  height: 193px;
  margin: 50px auto 0;
}

.home {
  position: relative;
  float: left;
  clear: both;
  z-index: 1;
  width: 75px;
  min-height: 50px;
  margin-left: 2.49512%;
  padding: 10px;
  font-size: 1em;
  text-align: center;
  color: rgb(0, 0, 0);
}

.image {
  display: block;
  float: right;
  width: 346px;
  height: auto;
  margin: 10px 2% 0 0;
  overflow: hidden;
}

.logo {
  display: block;
  float: right;
  width: 346px;
  height: auto;
  margin: 10px 2% 0 0;
  overflow: hidden;
}
.small {
  display: none;
}

.smalllogo{
  display: none;
}


.kovacslab {
  float: left;
  width: 335px;
  height: 100px;
  min-height: 117px;
  margin: 8px 0 0 2.49512%;
  padding: 20px;
  font-family: 'Gentium Basic';
  font-size: 3.2em;
  text-align: center;
  color: rgb(114, 15, 187);
}

.kovacslab:hover {
  text-shadow: 0 0 3px rgba(0, 0, 0, .5);
}

.lab {
  float: left;
  width: 50px;
  min-height: 50px;
  margin-left: 0.389%;
  padding: 10px;
  font-size: 1em;
  text-align: center;
  color: rgb(114, 15, 187);
}

.publications {
  position: relative;
  float: left;
  z-index: 4;
  width: 120px;
  min-height: 50px;
  margin-left: 0.389%;
  padding: 10px;
  font-size: 1em;
  text-align: center;
  color: rgb(0, 0, 0);
}

.research {
  position: relative;
  float: left;
  z-index: 2;
  width: 95px;
  min-height: 50px;
  margin-left: 0.36784%;
  padding: 10px;
  font-size: 1em;
  text-align: center;
  color: rgb(0, 0, 0);
}

/* Slideshow container */
.slideshow-container {
  width: 60%;
  position: relative;
  height: auto;
  margin: auto;
}

.calendar span,
.group span,
.home span,
.kovacslab span,
.lab span,
.publications span,
.research span {
  border-top-width: 0;
  border-right-width: 0;
  border-bottom-width: 0;
  border-left-width: 0;
  border-color: transparent;
  border-style: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  background-color: transparent;
  font-family: inherit;
  font-style: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-transform: inherit;
  text-decoration: inherit;
  letter-spacing: inherit;
  word-spacing: inherit;
  color: inherit;
  opacity: 1;
  word-break: normal;
  word-wrap: normal;
  white-space: normal;
}
* {box-sizing:border-box}

.mySlides {
    display: none;
}

.photocontainer {
  width: 100%;
  height: auto;
}

.photocontainer > img {
  display: block;
  margin: auto;
  width: 100%;
  height: auto;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
  text-shadow: 0 0 3px #000000;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor:pointer;
  height: 13px;
  width: 13px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

.footer {
  height: 5em;
  text-align: center;
  vertical-align: middle;
  font-size: 0.75em;
  margin-top: 2em;
}

@media screen and (max-width: 960px) {
  .header {
    width: 100%;
  }
}

