@font-face {
  src: url("../fonts/Montserrat-Regular.ttf");
  font-family: "Montserrat";
  font-weight: 400;
}
@font-face {
  src: url("../fonts/Montserrat-Bold.ttf");
  font-family: "Montserrat";
  font-weight: 600;
}
@font-face {
  src: url("../fonts/Montserrat-ExtraBold.ttf");
  font-family: "Montserrat";
  font-weight: 700;
}
body, html, :root {
  background: #fbfbfb;
}

h1,
h2 {
  text-transform: uppercase;
}

div[style="clear:both;"] {
  display: none;
}

body {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.icon {
  width: 2rem;
  height: auto;
}

.lc-navbar {
  margin-top: 30px;
  position: absolute;
  top: 0;
  width: 100%;
}
.lc-navbar .container {
  display: flex;
  justify-content: space-between;
}

.dash {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.dash span {
  display: flex;
  width: 100%;
  height: 80px;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  text-align: center;
  font-weight: 900;
  color: gray;
}

.dash-comp {
  position: relative;
  padding: 50px;
  height: 100%;
  display: flex;
}

.dash-circle {
  position: relative;
  background: white;
  border-radius: 50%;
  box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.05);
  padding: 40px;
  aspect-ratio: 1 / 1;
}

.dash-circle > div {
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform .2s ease;
  transform: scale(1);
}

.dash-circle:hover > div {
  transform: scale(.9);
}

.dash-circle a {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.ldash-item {
  position: relative;
  background: #00a4ec;
  box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.05);
  padding: 30px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
}

.ldash-item a {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.ldash-item > div {
  display: flex;
  flex-direction: column;
  height: 100%;
  align-items: center;
  transition: transform .2s ease;
  transform: scale(1);
}

.ldash-item:hover > div {
  transform: scale(.9);
}


.ldash-item .img-wrapper {
  height: calc(100% - 30px);
  display: flex;
  justify-content: center;
}

.ldash-item span {
  font-weight: 900;
  text-transform: uppercase;
  color: white;
  font-size: 20px;
}

.dash-circle img {
  max-height: calc(100% - 80px);
}
.ldash-item img {
  max-width: 60%;
}

.dash-comp.left {
  clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%);
}
.dash-comp.right {
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 10% 100%, 0% 50%);
}

.dash-comp.red {
  background-color: #e31e24;
}
.dash-comp.blue {
  background-color: #00a4ec;
}

.lc-navbar a.navbar-logo {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: white;
  font-size: 1.5rem;
  text-decoration: none;
}
.lc-navbar a .icon {
  margin-left: 15px;
}

.dash .icon, .lower-dash .icon {
  width: 100%;
}

table {
  border-collapse: separate !important;
  border: none !important;
  border-spacing: 2px;
}

table.styled-table tr td {
  padding: 10px 20px;
  color: black;
  background: #e0e0e0;
  border-radius: 15px;
}
table.styled-table tr:first-child td {
  color: white;
}
.red table.styled-table tr:first-child td {
  background: #e31e24;
}
.blue table.styled-table tr:first-child td {
  background: #00a4ec;
}

main h1::after,
main .people h2::after,
main .people h4::after {
  display: flex;
  content: "";
  height: 4px;
  width: 80%;
  max-width: 150px;
  margin-top: 20px;
  margin-bottom: 35px;
}

main .people h4::after {
  height: 2px;
}

.red h1::after,
main .people .red h2::after,
main .people .red h4::after {
  background: #e31e24;
}
.blue h1::after,
main .people .blue h2::after,
main .people .blue h4::after {
  background: #00a4ec;
}

.red a {
  color: #e31e24;
}

.blue a {
  color: #00a4ec;
}

main ul {
  list-style: none;
}
main ul li {
  position: relative;
}
main ul li::before {
  display: flex;
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: -30px;
  top: 3px;
  background-size: 18px;
  background-repeat: no-repeat;
  background: url('../icons/li-red.svg');
}
main.blue ul li::before {
  background: url('../icons/li-blue.svg');
}

.news {
  box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.05);
}
.news .news-item {
  background: white;
}
.news .news-item .content {
  height: 100%;
  padding: 30px;
}
.news .news-item .content h2 {
  font-size: 1.6rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  margin: 30px 0;
  text-transform: uppercase;
}
.news .news-item .content p {
  font-size: 0.9rem;
}
.news .news-item .content a.readmore {
  padding: 10px 30px;
  margin-top: 20px;
  display: inline-block;
  background: #e31e24;
  color: white;
  border-radius: 20px;
  text-transform: uppercase;
  text-decoration: none;
}

footer {
  background: white;
  box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.05);
  padding: 50px 0;
  line-height: 1.75;
}
footer .icon {
  width: 1.25rem;
  margin-right: 10px;
}
footer h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
}

.footer-logo {
  position: relative;
  padding: 60px 50px;
  display: flex;
  clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%);
  margin-right: 10%;
  margin-left: 10%;
}
.footer-logo.blue {
  background: #00a4ec;
}
.footer-logo.red {
  background: #e31e24;
}
.footer .blue a {
  color: #00a4ec !important;
}
.footer .red a {
  color: #e31e24 !important;
}

footer p {
  margin: 0;
}

.copy {
  box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.05);
  text-align: center;
  padding: 30px 0;
  font-size: .8rem;
  background: white;
}

.copy a {
  color: black !important;
  text-decoration: underline;
}

.camera_target_content {
  overflow: visible !important;
}

.camera_target_content .camera_link,
.camera_caption {
  width: 50% !important;
  min-width: 700px !important;
  right: 50px !important;
  left: auto !important;
  bottom: -25px !important;
  text-align: center !important;
  clip-path: polygon(0 5%, 100% 0, 100% 90%, 0% 100%);
}

.camera_caption .camera_caption_title {
  font-size: 34px;
  font-weight: 800;
  text-transform: uppercase;
}

.camera_caption .camera_caption_desc {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.cameraContent .camera_link {
  position: absolute;
  z-index: 9999;
  height: 50% !important;
}

.camera_caption .camera_caption_desc::after {
  display: inline-flex;
  content: "Chci vědět víc";
  text-transform: uppercase;
  background: #e31e24;
  padding: 10px 30px;
  border-radius: 50px;
  box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.05);
  margin-left: auto;
  margin-right: auto;
}

.camera_caption > div {
  display: flex;
  flex-direction: column;
  gap: 25px;
  background: #00a4ec !important;
  padding: 70px 40px !important;
}

.navigations {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.navigations .navigation {
  background-color: white;
  box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.05);
}

.navigations .navigation .header {
  font-size: 1.1rem;
  text-align: center;
  padding: 20px;
  color: white;
  font-weight: 800;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
}

.navigations .navigation .header.red {
  background: #e31e24;
}
.navigations .navigation .header.blue {
  background: #00a4ec;
}

.navigations .navigation ul li {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 25px;
  width: 100%;
}

.navigations .navigation ul li:not(:last-child)::after {
  display: flex;
  content: "";
  width: calc(100% - 50px);
  height: 2px;
  background: black;
  position: absolute;
  bottom: -1px;
  left: 25px;
  right: auto;
}

.navigations .navigation ul li a {
  color: black;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: bold;
  line-height: 20px;
}

#slider {
  width: 100vw;
}
body#subpage #slider {
  display: flex;
  justify-content: center;
  overflow: hidden;
}

#slider > img {
  width: fit-content;
  margin: 0 auto;
}

.second-navigation {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.second-navigation .item {
  padding: 12px;
  border: 4px solid #e0e0e0;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  text-transform: uppercase;
  color: black !important;
  text-decoration: none;
}

main .people h3 {
  font-size: 1.2rem;
  text-transform: uppercase;
  font-weight: 700;
}

main .people h4 {
  font-size: 1.1rem;
  margin-top: 15px;
}

main .people h4::after {
  margin-bottom: 15px;
  max-width: 100px;
}

main .people .phone,
main .people .email {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

main .people .phone::before,
main .people .email::before {
  display: inline-flex;
  content: "";
  width: 1rem;
  height: 1rem;
}

main a {
  color: #e31e24;
}

main .people .red .phone::before {
  background: url('../icons/footer-red_phone.svg');
}
main .people .blue .phone::before {
  background: url('../icons/footer-blue_phone.svg');
}
main .people .red .email::before {
  background: url('../icons/footer-red_mail.svg');
}
main .people .blue .email::before {
  background: url('../icons/footer-blue_mail.svg');
}

.colleagues {
  margin: 0 5px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
}

.colleagues p {
  margin: 0;
}

.colleagues p.phone,
.colleagues p.email {
  font-size: 13px;
}

#mod-custom113 {
  margin: 0 -4px;
}

@media (max-width: 967px) {
  main img {
    max-width: 100%;
    height: auto;
  }
  #slider {
    display: none;
  }

  h1 {
    text-align: center;
  }

  main {
    margin-bottom: 40px;
  }

  .lc-navbar {
    position: relative;
    background: #e31e24;
    padding: 30px;
    margin: 0;
  }

  .lc-navbar a.navbar-logo {
    font-size: 1.3rem;
  }

  .ldash-item span {
    font-size: 18px;
  }

  .lc-navbar.blue {
    background: #00a4ec;
  }

  .dash > .row {
    gap: 15px;
  }

  .dash > .row > * {
    display: flex;
    justify-content: center;
  }

  .dash > .row-2 > div:nth-child(1) {
    order: 2;
  }
  .dash > .row-2 > div:nth-child(2) {
    order: 3;
  }
  .dash > .row-2 > div:nth-child(3) {
    order: 4;
  }
  .dash > .row-2 > div:nth-child(4) {
    order: 1;
  }

  .dash-comp {
    clip-path: polygon(100% 0, 100% 90%, 50% 100%, 0 90%, 0 0) !important;
  }

  .news-item .row {
    flex-direction: column;
    text-align: center;
  }

  .lower-dash .row {
    gap: 15px;
  }

  footer .row {
    gap: 15px;
  }
  footer .row > *:nth-child(2) {
    margin-bottom: 30px;
  }

  footer .row > *:nth-child(even) {
    display: flex;
  }

  footer .row > *:nth-child(even) > * {
    display: inline-flex;
    flex-direction: column;
    margin: auto;
  }

  .row-main {
    gap: 20px;
  }

  .row-main > *:first-child {
    order: 2;
  }

  .row-main > *:last-child {
    order: 1;
  }

  main table.unstyled-table,
  main table.unstyled-table tbody,
  main table.unstyled-table thead,
  main table.unstyled-table tr,
  main table.unstyled-table td,
  main table.unstyled-table th {
    display: flex;
    flex-direction: column;
    width: 100% !important;
  }

  main table.unstyled-table tr {
    gap: 40px;
  }
  main table.unstyled-table * {
    text-align: center;
    margin: auto;
  }
  main .people h2,
  main .people h4 {
    text-align: center;
  }

  main .people p {
    margin: auto !important;
  }

  main .people .email * {
    display: inline-flex;
    margin: 0;
  }

  main .people h2::after,
  main .people h4::after {
    margin-left: auto;
    margin-right: auto;
  }
  
  main table img {
    max-width: 100%;
  }

  .footer-logo {
    clip-path: polygon(100% 0, 100% 90%, 50% 100%, 0 90%, 0 0) !important;
  }

  .colleagues {
    width: 100%;
  }
}