body {
  font-family: "Mulish", sans-serif;
  margin: 0;
  /* background-color: #1a1a1d; */
  color: #000000;
  background-color: #ffffff;
}

.content{
  background-color: #ffffff;
  color: #000000;  
  width: 100%;
  /* margin-left: 10px; */
  /* margin-right: 10px; */
}

.content_inner{
  max-width: 2000px;
  margin: 10px auto 10px auto;
  padding: 0px 7px 0px 7px;
  display: block;
}

.content_inner a{
  font-weight: bold;
  text-decoration: underline;
}

.dlazdice-wrapper {
  display: flex;
  flex-direction: column;
}

.content_inner h1, .content_inner h2, .content_inner h3{
    font-family: Audiowide;
    color: #1694d6;
}


@media (max-width: 800px){
  .index_dlazdice{
      width: 100%;
      text-align: center;
  }

  .index_dlazdice_icon{
      width: 100%;
  }
  
  .index_dlazdice_icon img{
      width: 90vw;
  }
}

@media (min-width: 801px){
  .index_dlazdice{
      width: 100%;
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
  }

  .index_dlazdice_icon{
      width: 400px;
      float: left;
      margin-left: 5px;
      margin-right: 5px;
      display: block;
      padding: 4px;
  }
  
}


@media (max-width: 500px){

  .stud_prog_blok{
      width: 100%;
      min-height: 230px;
      display: block;
      float: none;
  }

}

@media (min-width: 501px){

  .stud_prog_blok{
      width: 480px;
      min-height: 230px;
      float: left;
      border: 1px solid #aaaaaa;
      margin: 5px;
      display: block;
      padding: 5px;
      background-position: center bottom;
      background-repeat: no-repeat;
  }

}



a:link, a:visited, a:hover, a:active{
    color: #000000;
    text-decoration: none;
}

.stud_prog_blok h2{
    margin: 5px 0px;
}

.stud_prog_blok_reset{
    width: 100%;
    height: 1px;
    clear: both;
}

.index_dlazdice_icon_end{
    width: 100%;
    height: 1px;
    clear: both;
}

/* Top navigace */
#top-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1694d6;
  padding: 0.5rem 1rem;
}

@media (max-width: 1100px) {
  #top-navigation {
    display: none;
  }
}

#links,
#contact-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

#links a,
#contact-info .contact-item,
#contact-info a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

#links a img,
#contact-info img {
  width: 1.2rem;
  height: auto;
}

@media (min-width: 1101px) {
  #links a:hover,
  #contact-info a:hover {
    text-decoration: underline;
  }
}

/* Bottom wrapper obsahuje menu a logo */
#bottom-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  padding: 1rem 8rem;
  flex-wrap: wrap;
}

#school-logo {
  height: 4rem;
  width: auto;
}

@media (max-width: 1290px) {
  #school-logo {
    height: 3rem;
  }

  #bottom-wrapper {
    padding: 1rem 3rem;
  }
}

@media (max-width: 1100px) {
  #school-logo {
    display: none;
  }

  #bottom-wrapper {
    padding: 1rem;
    background-color: #1694d6;
    color: #ffffff;
    align-items: flex-start;
  }
}

#school-logo-mobile {
  height: 4rem;
  width: auto;
}

@media (min-width: 1101px) {
  #school-logo-mobile {
    display: none;
  }
}

/* Bottom navigace */
#bottom-navigation {
  display: flex;
  align-items: center;
  text-transform: uppercase;
}

#bottom-navigation button {
  background: none;
  border: none;
  display: none;
}

@media (max-width: 1100px) {
  #bottom-navigation {
    flex-direction: column;
    align-items: start;
  }

  #bottom-navigation button {
    padding: 0;
    margin: 0 0 15px 0;
  }
}

@media (min-width: 1101px) {
  #bottom-navigation button {
    cursor: pointer;
  }
}

#bottom-navigation button img {
  width: 2rem;
  height: auto;
  transition: transform 0.3s ease;
}

#bottom-navigation nav {
  display: flex;
}

#bottom-navigation nav ul:not(.drop-down) {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
}

@media (max-width: 1100px) {
  #bottom-navigation nav ul:not(.drop-down) {
    display: block;
  }
}

#bottom-navigation li {
  position: relative;
  font-weight: 700;
}

@media (max-width: 1100px) {
  #bottom-navigation li {
    margin: 3px 0;
  }
}

#bottom-navigation > nav > ul > li > a,
#bottom-navigation > nav > ul > li > div > span {
  color: #0f2c3f;
  text-decoration: none;
  display: inline-block;
  font-size: 1.125rem;
  font-weight: 400;
}

@media (max-width: 1100px) {
  #bottom-navigation > nav > ul > li > a,
  #bottom-navigation > nav > ul > li > div > span {
    padding: 8px 0;
    color: #ffffff;
  }
}

@media (min-width: 1101px) {
  #bottom-navigation > nav > ul > li > a:hover {
    text-decoration: underline;
  }
}

#bottom-navigation li ul {
  position: absolute;
  top: 100%;
  left: 0; 
  padding: 0;
  border-radius: 4px;
  list-style: none;
  text-transform: none;  
}

@media (max-width: 1100px) {
  #bottom-navigation li ul {
    position: relative;
  }
}

@media (min-width: 1101px) {
  #bottom-navigation li.desktop-drop-down-opened > ul {
    display: block;
  }

  .drop-down {
    z-index: 999;
    display: none;
    background-color: #0f2c3f;
  }
}

#bottom-navigation li ul li a {
  display: block;
  padding: 0.5rem 1rem;
  color: #ffffff;
  text-decoration: none;
}

@media (min-width: 1101px) {
  #bottom-navigation li ul li a:hover {
    background-color: #1694d6;
  }
}

/* Šipka u rozbalovacích položek */
#bottom-navigation li > div > img {
  width: 1rem;
  height: auto;
  margin-left: 0.3rem;
}

#footer {
  width: 100%;
  background-color: #1694d6;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-evenly;
  padding: 30px 0;
  color: #ffffff;
}

@media (max-width: 750px) {
  #footer {
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
  }
}

.footer-title {
  font-family: Audiowide;
  font-weight: 400;
  font-size: 1.2rem;
  margin: 5px 0;
  text-align: center;
  color: #ffffff;
}

.important-links,
.contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contacts {
  align-items: flex-start;
}

#footer a {
  text-decoration: none;
  color: #ffffff;
  margin-bottom: 5px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 15px;
}

.social-media-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.contact {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: start;
}

.contact span {
  margin: 7px;
}

.social-media-icon,
.contact-icon {
  width: 20px;
  height: 20px;
}

/* Responsive */
@media (max-width: 1100px) {
  #bottom-navigation nav {
    display: none;
    flex-direction: column;
    width: 100%;
  }
  #bottom-navigation nav.open {
    display: flex;
  }
  #bottom-navigation button {
    display: block;
  }

  .drop-down {
    display: none;
    background-color: #1694d6;
  }

  .drop-down-opened {
    display: block;
  }
}
