.bg-blue {
  background-color: #0C54A0;
}
.bg-black {
  background-color: #2B2A29;
}
.bg-gray {
  background-color: #B5B5B5;
}
.bg-graylight {
  background-color: #B5B5B5;
}

.text-blue {
  color: #0C54A0;
}
.text-black {
  color: #2B2A29;
}
.text-gray {
  color: #B5B5B5;
}
.text-bluelight {
  color: #82A4C8;
}
.text-white {
  color: white;
}

p, a, button, h1, h2, h3, h4, h5, h6 {
  margin: 0;
}

a {
  text-decoration: none;
}

.h2, h2, .h1 {
  font-size: 40px;
  position: relative;
  padding-top: 18px;
  padding-bottom: 43px;
  font-style: italic;
  padding-left: 28px;
  border-left: 3px solid #0C54A0;
  font-weight: 300;
}
.h2 span, h2 span, .h1 span {
  font-weight: 500;
}

.h1, h1 {
  font-size: 50px;
  font-style: italic;
  font-weight: 300;
  margin-bottom: 50px;
}
.h1 span, h1 span {
  font-weight: 500;
}
.h1 .text-gray {
  font-size: 20px;
  font-style: normal;
}

p, a {
  font-size: 20px;
}
p.active, a.active {
  color: #0C54A0;
}

.text-medium {
  font-size: 30px;
}

.text-normal {
  font-size: 25px;
}

.text-smaller {
  font-size: 18px;
}

.text-small {
  font-size: 16px;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.team_item {
  display: inline-block;
  width: 49%;
  background: #0C54A0;
  margin-bottom: 50px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  margin-left: 2%;
}
.team_item:nth-child(2n+2) {
  margin-left: 0%;
}
.team_item img {
  float: left;
  width: 50%;
  object-fit: cover;
}
.team_item:hover img {
  object-size: 110%;
} 
.team_item strong {
  float: right;
  width: 46%;
  font-size: 26px;
  font-weight: 300;
  margin-top: 25px;
  color: white !important;
}
.team_item b {
  font-weight: 300;
  color: white !important;
}
.team_item p {
  float: right;
  width: 46%;
  font-size: 17px;
  color: #82A4C8;
  margin-top: 3px;
}
.team_item p:last-child {
  margin-top: 20px;
}
.team_item a {
  display: block;
  position: absolute;
  right: 15px;
  bottom: 15px;
  color: #0C54A0;
  background: white;
  border-radius: 5px;
  font-size: 16px;
  padding: 6px 10px 6px 10px;
}

.nws_detail {
  width: 100%;
  display: inline-block;
}
.team_detail {
  width: 100%;
  display: inline-block;
}
.team_left_part {
  float: left;
  width: 64%;
}
.team_left_part p {
  float: left;
  width: 100%;
  color: #B5B5B5;
  border-left: 3px solid #B5B5B5;
  padding: 12px 20px 12px 28px;
  box-sizing: border-box;
}
.nws_title_img {
  float: right;
  width: 47.5%;
  height: 320px;
  object-fit: cover;
  border-radius: 10px;
  object-position:top;
}
.nws_head {
  float: left;
  width: 50%;
}
.nws_head strong {
  font-size: 22px;
  font-weight: normal;
}
.nws_head p {
  font-size: 18px;
  margin-top: 25px;
  color: #B5B5B5;
}
.article__gallery {
  float: left;
  width: 100%;
  margin-top: 25px;
}
.gallery__item img {
  float: left;
  width: 47.5%;
  margin-right: 2.5%;
  border-radius: 10px;
  height: 360px;
  object-fit: cover;
  object-position: top;
  margin-bottom: 20px;
}
.nws_detail .gallery__item:nth-child(2n+2) img {
  float: right;
  margin-right: 0%;
}
.team_right_part {
  float: right;
  width: 33.3%;
  background: #0C54A0;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  top: -150px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.26);
}
.team_right_part img {
  float: left;
  width: 100%;
}
.team_right_part p {
  float: left;
  width: 90%;
  margin-left: 5%;
  text-align: center;
  color: #82A4C8;
  margin-bottom: 25px;
  font-size: 18px;
}
.team_right_part strong, .team_right_part b {
  color: white;
  font-size: 20px;
  font-weight: 300;
}
.team_right_part strong {
  font-size: 26px;
}
.team_right_part span {
  display: inline-block;
  border-bottom: 1px dotted #4F7094;
  margin-bottom: 5px;
  padding-bottom: 5px;
  width: 100%;
}
.team_right_part span:first-child {
  color: white;
  font-size: 26px;
  margin-top: 10px;
  border: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.team_right_part span:last-child {
  border: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

@media screen and (max-width: 800px) {
  .team_item {
    width: 100%;
    margin-left: 0%;
  }
  .team_item img {
    float: left;
    width: 100%;
    object-fit: cover;
  }
  .team_item strong {
    float: left;
    width: 100%;
    text-align: center;
  }
  .team_item p {
    float: left;
    width: 100%;
    text-align: center;
  }
  .team_item a {
    right: 5px;
    bottom: 5px;
  }
  .team_right_part, .team_left_part {
    width: 100%;
    top: 0px;
    margin-bottom: 10px;
  }
  .nws_head {
    width: 100%;
  }
  .nws_title_img {
    width: 100%;
    height: 250px;
  }
}

body {
  font-family: "Open Sans", sans-serif;
  margin: 0;
}

.dg-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.dg-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.dg-6 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.flex {
  display: flex;
}

.jst-b {
  justify-content: space-between;
}

.btn {
  width: 170px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
  border-radius: 7px;
}
.btn-blue {
  background-color: #0C54A0;
  border: 2px solid #0C54A0;
  box-sizing: border-box;
  color: white;
  transition: 0.3s;
}
.btn-blue:hover {
  background-color: white;
  color: #0C54A0;
}
.btn-white {
  border: 2px solid white;
  box-sizing: border-box;
  background-color: white;
  color: #0C54A0;
  transition: 0.3s;
}
.btn-white:hover {
  transform: scale(1.05);
}

.footer > .dg-2:first-child {
  max-width: 1124px;
  margin: 0 auto;
  padding-bottom: 100px;
}
@media screen and (max-width: 870px) {
  .footer > .dg-2:first-child {
    grid-template-columns: 1fr;
    padding-bottom: 40px;
  }
}
.footer__right {
  padding-left: 140px;
  display: flex;
  gap: 30px;
}
@media screen and (max-width: 1124px) {
  .footer__right {
    padding-left: 30px;
  }
}
@media screen and (max-width: 870px) {
  .footer__right {
    flex-direction: column;
  }
}
.footer__right--user {
  max-width: 120px;
  max-height: 120px;
  border-radius: 50%;
}
@media screen and (max-width: 870px) {
  .footer__right--user {
    margin: 0 auto;
  }
}
.footer__right--user--inf {
  display: flex;
  flex-direction: column;
}
@media screen and (max-width: 870px) {
  .footer__right--user--inf {
    text-align: center;
  }
}
.footer__right--user--inf a {
  display: flex;
  align-items: center;
}
@media screen and (max-width: 870px) {
  .footer__right--user--inf a {
    justify-content: center;
  }
}
.footer__right--user--inf p:first-child {
  margin-bottom: 10px;
}
.footer__right--user--inf p:nth-child(2) {
  margin-bottom: 15px;
}
.footer__right--user--inf a:nth-child(3) {
  margin-bottom: 5px;
}
.footer__right--user--inf a:hover {
  text-decoration: underline;
}
.footer__right--user--inf a img {
  margin-right: 10px;
}
.footer__left {
  text-align: right;
  padding-right: 140px;
  border-right: 3px solid #0C54A0;
}
@media screen and (max-width: 1124px) {
  .footer__left {
    padding-right: 30px;
  }
}
@media screen and (max-width: 970px) {
  .footer__left {
    padding-right: 0;
    border-right: unset;
    border-bottom: 3px solid #0C54A0;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
  .footer__left .header__socials {
    justify-content: center;
  }
}
.footer__left--links {
  margin-bottom: 17px;
}
.footer__left--links a {
  padding-left: 9px;
  padding-right: 9px;
}
.footer__left--contact {
  display: flex;
  gap: 18px;
  margin-bottom: 22px;
  justify-content: flex-end;
}
@media screen and (max-width: 870px) {
  .footer__left--contact {
    justify-content: center;
  }
}
.footer__left--contact a {
  display: flex;
  align-items: center;
}
.footer__left--contact a:hover {
  text-decoration: underline;
}
.footer__left--contact a img {
  margin-right: 10px;
}
.footer__left--socials {
  justify-content: flex-end;
}
.footer__bottom {
  padding-top: 51px;
  padding-bottom: 63px;
  border-top: 1px solid #B5B5B5;
}
@media screen and (max-width: 1224px) {
  .footer__bottom {
    display: flex;
  }
}
@media screen and (max-width: 870px) {
  .footer__bottom {
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
  }
}
.footer__bottom--left {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}
@media screen and (max-width: 870px) {
  .footer__bottom--left {
    flex-direction: column;
    align-items: center;
    gap: 3px;
  }
}
.footer__bottom--right {
  display: flex;
  justify-content: flex-end;
}
@media screen and (max-width: 1224px) {
  .footer__bottom--right {
    margin-left: auto;
  }
}
@media screen and (max-width: 870px) {
  .footer__bottom--right {
    margin: 0 auto;
    margin-top: 13px;
  }
}
.footer__bottom a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 870px) {
  .footer__left--links, .footer__left--contact {
    display: none;
  }
}
#menu__toggle {
  opacity: 0;
}

.menu__btn {
  display: flex;
  align-items: center;
  position: relative;
  width: 26px;
  height: 36px;
  cursor: pointer;
  z-index: 1;
  top: -3px;
  left: 0;
}

.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
  display: block;
  position: absolute;
  width: 36px;
  height: 4px;
  border-radius: 10px;
  background-color: #0C54A0;
  transition-duration: 0.25s;
}

.menu__btn > span::before {
  content: "";
  top: -10px;
}

.menu__btn > span::after {
  content: "";
  top: 10px;
}

@media screen and (min-width: 800px) {
  .hamburger-menu {
    display: none;
  }
}
.hamburger-menu.menuOpen .menu__btn > span {
  transform: rotate(45deg);
}
.hamburger-menu.menuOpen .menu__btn > span::before {
  top: 0;
  transform: rotate(0);
}
.hamburger-menu.menuOpen .menu__btn > span::after {
  top: 0;
  transform: rotate(90deg);
}
.hamburger-menu input {
  display: none;
}

.header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 50px;
  z-index: 99;
  box-sizing: border-box;
  padding-bottom: 34px;
  align-items: center;
}
@media screen and (max-width: 800px) {
  .header {
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    padding-top: 20px;
    padding-bottom: 20px;
  }
}
@media screen and (max-width: 1049px) {
  .header {
    display: flex;
  }
}
@media screen and (max-width: 800px) {
  .header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    width: 100%;
    background-color: white;
  }
}
.header__right {
  display: flex;
  justify-content: space-between;
  flex-grow: 1;
  box-sizing: border-box;
  padding-right: 20px;
}
.header__socials {
  display: flex;
  gap: 10px;
}
@media screen and (max-width: 800px) {
  .header__socials {
    margin-left: auto;
  }
}
.header__socials a {
  position: relative;
  transition: 0.3s;
}
.header__socials a:hover {
  transform: scale(1.05);
}
.header__logo {
  max-height: 56px;
  height: 100%;
  width: auto;
}
.header__logo img {
  max-width: 260px;
}
@media screen and (max-width: 800px) {
  .header__logo img {
    max-height: 40px;
    max-width: 40vw;
  }
}
.header nav {
  display: flex;
}
@media screen and (max-width: 1049px) {
  .header nav {
    margin-left: auto;
  }
}
@media screen and (max-width: 800px) {
  .header nav {
    flex-direction: column;
    line-height: 3;
    position: absolute;
    background-color: white;
    left: 0;
    width: 100%;
    top: 100%;
    overflow: hidden;
    max-height: 0;
    transition: 0.3s;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
  }
  .header nav.menuOpen {
    max-height: 240px;
  }
}
.header nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding-left: 15px;
  padding-right: 15px;
  transition: 0.3s;
}
.header nav a:hover {
  color: #0C54A0;
}

.aktuality {
  padding-bottom: 100px;
  border-bottom: 1px solid #B5B5B5;
  margin-bottom: 100px;
}
.aktuality .h2 {
  padding-top: 18px;
  padding-bottom: 18px;
  margin-bottom: 39px;
}
.aktuality .center {
  display: flex;
  justify-content: center;
  padding-top: 54px;
}
.aktuality .dg-2 {
  gap: 49px;
}
@media screen and (max-width: 640px) {
  .aktuality .dg-2 {
    grid-template-columns: 1fr;
  }
}
@media screen and (max-width: 1224px) {
  .aktuality > .dg-2 {
    grid-template-columns: 33% auto;
  }
}
@media screen and (max-width: 960px) {
  .aktuality > .dg-2 {
    grid-template-columns: 1fr;
  }
}
.aktuality__item {
  display: flex;
  flex-direction: column;
}
.aktuality__item-heading {
  height: 70px;
  font-weight: 500;
  font-style: italic;
}
.aktuality__item-heading:hover + .aktuality__item-thumb {
  transform: scale(1.01);
}
.aktuality__item-bottom > p {
  margin-bottom: 15px;
  font-weight: 600;
}
.aktuality__item-photocount {
  display: flex;
}
.aktuality__item-photocount img {
  height: 20px;
  margin-left: 9px;
}
.aktuality__item-thumb {
  cursor: pointer;
  position: relative;
  transition: 0.3s;
  background-position: top;
  background-size: cover;
  border-radius: 10px;
  display: flex;
  height: 400px;
  margin-top: 30px;
  margin-bottom: 35px;
  width: 100%;
}
.aktuality__item-thumb:hover {
  transform: scale(1.01);
}

.discipliny {
  overflow: hidden;
  margin-bottom: 89px;
}
@media screen and (max-width: 1224px) {
  .discipliny {
    margin-top: 40px;
  }
}
.discipliny__items {
  width: 100%;
  display: inline-block;
  height: 100%;
}
.discipliny__item {
  float: left;
  width: 20%;
  min-height: 780px;
  transition: 0.4s;
  background-size: cover;
  position: relative;
  opacity: 0.5;
}
.discipliny__item-heading {
  margin-bottom: 25px;
}
.discipliny__item-img {
  position: absolute;
  width: 100%;
  max-width: 256px;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 2;
  background-size: cover;
  transition: 0.4s;
}
.discipliny__item-description {
  position: absolute;
  width: 100%;
  max-width: 256px;
  left: 0%;
  z-index: 1;
  height: 100%;
  padding: 48px 28px 51px;
  box-sizing: border-box;
  transition: 0.4s;
  z-index: 1;
  overflow: hidden;
}
.discipliny__item:hover,
.discipliny__items:not(:hover) .discipliny__item:first-child {
  width: 40%;
  opacity: 1;
}
.discipliny__item:hover .discipliny__item-img,
.discipliny__items:not(:hover) .discipliny__item:first-child .discipliny__item-img {
  width: 50%;
}
.discipliny__item:hover .discipliny__item-description,
.discipliny__items:not(:hover) .discipliny__item:first-child .discipliny__item-description {
  left: 50%;
  width: 50%;
}
.discipliny__item-description a {
  margin-left: auto;
  margin-top: auto;
  margin-top: auto;
}
.discipliny__item:nth-child(6) .discipliny__item-description, .discipliny__item:nth-child(5) .discipliny__item-description {
  left: unset;
  right: 100%;
}
.discipliny__item:nth-child(6) .discipliny__item-description:after, .discipliny__item:nth-child(5) .discipliny__item-description:after {
  left: unset;
  right: 100%;
}

@media screen and (max-width: 860px) {
  .bg-blue .container {
    max-height: 10000px !important;
  }
  .discipliny__items {
    height: auto;
  }
  .discipliny__item {
    min-height: 550px;
    width: 100% !important;
    opacity: 1 !important;
  }
  .discipliny__item-img {
    width: 50% !important;
  }
  .discipliny__item-description {
    width: 50% !important;
    left: 50% !important;
  }
  .discipliny__item-description .text-medium {
    font-size: 22px;
  }
  .discipliny__item-description p, .discipliny__item-description a {
    font-size: 16px;
  }
}
@media screen and (max-width: 540px) {
  .discipliny__item {
    min-height: 440px;
  }
}

.discipliny__item-description p b {
  font-weight: 300;
  font-size: 120%;
}
.discipliny__item-description p a {
  color: #82A4C8;
  text-decoration: underline;
}
.discipliny__item-description p a:hover {
  text-decoration: none;
}

.navstivte {
  margin-bottom: 107px;
}
@media screen and (max-width: 860px) {
  .navstivte {
    margin-bottom: 40px;
  }
}
.navstivte .h2 {
  padding-bottom: 43px;
}
.navstivte .dg-3 {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  border-top-right-radius: 10px;
  overflow: hidden;
}
@media screen and (max-width: 1255px) {
  .navstivte .dg-3 {
    grid-template-columns: 1fr;
  }
}
.navstivte__item {
  height: 660px;
}
.navstivte__item p.text-gray {
  line-height: 1.4;
}
.navstivte__item-description {
  padding: 50px;
  max-height: 330px;
  height: 100%;
  overflow: hidden;
  padding-bottom: 40px;
  box-sizing: border-box;
}
.navstivte__item a {
  text-decoration: underline;
}
.navstivte__item p:nth-child(3) {
  margin-top: 18px;
  margin-bottom: 31px;
}
.navstivte__item img {
  margin-bottom: 22px;
}
.navstivte__item-thumb {
  background-size: cover;
  background-position: center;
  height: 330px;
  width: 100%;
}
@media screen and (max-width: 640px) {
  .navstivte__item-thumb {
    height: 200px;
  }
  .aktuality__item-heading {
    height: auto;
  }
}
@media screen and (max-width: 1255px) {
  .navstivte__item {
    display: flex;
    flex-direction: row;
    height: auto;
    position: relative;
    margin-left: -20px;
    margin-right: -20px;
  }
}
@media screen and (max-width: 640px) {
  .navstivte__item {
    flex-direction: column;
  }
}
@media screen and (max-width: 640px) {
  .navstivte__item:nth-child(2) {
    display: flex;
    flex-direction: column-reverse;
  }
}
.navstivte__item:nth-child(3) .navstivte__item-description {
  padding-top: 25px;
}

.uvod__left {
  padding-top: 43px;
  max-width: 436px;
}
@media screen and (max-width: 768px) {
  .uvod__left {
    max-width: unset;
  }
}
.uvod__left h1 {
  margin-top: 25px;
  margin-bottom: 22px;
}
.uvod__left .btn {
  margin-top: 40px;
}
.uvod__photo {
  position: relative;
}
.uvod__photo img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}
.uvod__photo:after {
  content: "";
  position: absolute;
  width: 100%;
  margin-right: 50px;
  top: calc(100% - 300px);
  background-color: #F1F1F1;
  height: 350px;
  right: 100px;
  z-index: -1;
  border-radius: 10px;
}
@media screen and (max-width: 1080px) {
  .uvod__photo:after {
    top: 25%;
  }
}
@media screen and (max-width: 968px) {
  .uvod__photo:after {
    top: 12%;
  }
}
@media screen and (max-width: 768px) {
  .uvod__photo:after {
    top: unset;
    bottom: -50px;
  }
}
.uvod.dg-2 {
  gap: 25px;
}
@media screen and (max-width: 768px) {
  .uvod.dg-2 {
    grid-template-columns: 1fr;
  }
}

  .map_box {
    float: left;
    width: 100%;
    margin-right: 2%;
    border-radius: 10px;
  }
  #m0 {
    float: left;
    width: 70%;
    height: 400px;
    margin-bottom: 40px;
    border: 2px solid white;
  }
  .main .panel{
      clear: both;
  }
  .map_info {
    float: right;
    width: 26%;
    font-size: 100%;
    font-weight: 300;
    color: #888888;
    line-height: 140%;
  }
  .map_info a {
    color: #888888;
  }
  .map_info strong {
    color: black;
    font-size: 100%;
    font-weight: 400;
  }
  #formplace{
    float:left;
    width:100%;
    margin-right: 4%;
  }

  .form_place {
    float: left;
    width: 100%;
    font-size: 100%;
  }
  .form_place input, .form_place textarea, .form_place input.btn {
    float: left;
    width: 32%;
    background: #e8f4fc;
    font-family: myriad-pro,sans-serif;
    color: black;
    border: 0;
    padding: 1%;
    font-size: 100%;
    margin-right: 2%;
    margin-bottom: 15px;
    border-radius: 6px;
    box-sizing: border-box;
  }
  .form_place input.btn{
      width: 15%;
  }
  .form_place input.btn {
    float: right;
    color: white;
    background: #195098;
    border-radius: 6px;
  }
  .form_place input:last-child {
    margin-right: 0%;
  }
  .form_place textarea {
    width: 100%;
    margin-right: 0;
  }
  .form_place span {
    float: left;
    width: 65%;
    font-size: 100%;
  }
  .kontakty h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 300;
  }
