/*
Theme Name: Custom Theme
Theme URI: https://github.com/jongrover/building-a-wordpress-theme-from-scratch
Author: Jonathan Grover
Author URI: https://jonathangrover.com
Description: Example Theme from Github Repo
Version: 0.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: bootstrap
Text Domain: jongcustomtheme

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
:root,
html {
  margin-top: 0 !important;
}

.container--home {
  margin-top: 50px;
  margin-bottom: 50px;
  @media screen and (max-width: 767px) {
    margin-top: 0;
  }
}

.hamburger {
  position: relative;
  width: 1em;
  height: 1em;
  font-size: inherit;
  transition: all 0.3s ease;
  cursor: pointer;
}

.hamburger.is-sm {
  font-size: 1rem;
}

.hamburger.is-md {
  font-size: 1.5rem;
}

.hamburger.is-lg {
  font-size: 2rem;
}

.hamburger-line {
  position: absolute;
  right: 0;
  width: 100%;
  height: 0.125em;
  border-radius: 0.125em;
  background: #073264;
  transition: inherit;
}

.hamburger-line:nth-child(1) {
  top: 0.125em;
}

.navbar-toggler:not(.collapsed) .hamburger .hamburger-line:nth-child(1),
.w-nav-button.w--open .hamburger-line:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotateZ(-135deg);
}

.hamburger-line:nth-child(2) {
  top: 0.438em;
}

.navbar-toggler:not(.collapsed) .hamburger .hamburger-line:nth-child(2),
.w-nav-button.w--open .hamburger-line:nth-child(2) {
  right: 50%;
  width: 0;
}

.hamburger-line:nth-child(3) {
  top: 0.75em;
  width: 0.625em;
}

.navbar-toggler:not(.collapsed) .hamburger .hamburger-line:nth-child(3),
.w-nav-button.w--open .hamburger-line:nth-child(3) {
  top: 50%;
  width: 100%;
  transform: translateY(-50%) rotateZ(135deg);
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  @media screen and (max-width: 1020px) {
    font-size: 13px;
  }
}

.main {
  flex: 1 0 100%;
  display: flex;
  justify-content: center;
}

.homepage {
  align-items: center;
}

header {
  left: 0;
  border-bottom: 1px solid #e1effe;
}

body {
  background: #fff !important;
}
.navbar.bg-light {
  background: #e7edfb !important;
}
.navbar.bg-light .menu-item a:hover,
.navbar.bg-light .menu-item button:hover {
  color: #007bff !important;
}

.navbar.bg-light .menu-item a,
.navbar.bg-light .menu-item button {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #073264 !important;
  margin: 0px 10px;
  background-color: transparent;
  border: none;
  @media screen and (max-width: 1020px) {
    font-size: 14px;
  }

  @media screen and (max-width: 767px) {
    padding: 20px 0;
    flex-grow: 1;
  }
}
.copyright {
  text-align: left;
  color: #777;
}

main {
  margin-top: 107px;
}

.menu {
  list-style: none;
  padding-left: 0;
}

.menu-item a,
.menu-item button {
  display: inline-block;
  padding: 0.5rem 1rem;
}

[class$="-widget"] .menu-item,
[class$="-widget"] .menu-item a {
  display: block;
  padding: 0;
}

.navbar-nav {
  @media screen and (max-width: 767px) {
    padding-top: 10px;
  }
}
header {
  @media screen and (max-width: 767px) {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Add bottom box shadow */
  }
}
.navbar-nav .menu-item a {
  padding-right: 0;
  padding-left: 0;
}

.navbar-light .navbar-nav .menu-item a {
  color: rgba(0, 0, 0, 0.5);
}
.navbar-light .navbar-toggler {
  border: none;
}
.navbar-light .navbar-nav .menu-item a:hover {
  color: rgba(0, 0, 0, 0.7);
  text-decoration: none;
}

.navbar-light .navbar-brand.active,
.navbar-light .navbar-nav .menu-item a.active,
.nav .menu-item a.active {
  color: darkblue;
}

[class$="-widget"] ul {
  list-style: none;
  padding-left: 0;
}

.comment-respond {
  border: 1px solid #ccc;
  background: #fff;
  padding: 20px;
}

.form-submit input[type="submit"] {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  line-height: 1.25;
  border-radius: 0.25rem;
  transition: all 0.15s ease-in-out;
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
  cursor: pointer;
}

.menu-item {
  @media (max-width: 767px) {
    text-align: center;
    margin: 0;
    padding: 0;
    border-top: 1px solid #e1effe;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
  }
}

@media (min-width: 992px) {
  .menu-item {
    display: inline-block;
  }
  .navbar-expand-lg .navbar-nav .menu-item a {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }
}
.contact-list {
  padding-left: 0;
}

.contact-list--footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 0;
  gap: 10px;
  padding-left: 40px;
  @media (max-width: 767px) {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 0;
  }
}
.contact-list__item .contact-list__content--link a {
  color: #0862cc;
  transition: 0.2s;

  &:hover {
    color: #073264;
  }
}

.contact-list__arrow a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  font-size: 18px;
  line-height: 18px;
  color: #0862cc;
  transition: 0.2s;
  padding: 10px 20px;
  background: #e1effe;
  margin-left: 16px;
  border-radius: 5px;
  color: inherit;
  text-decoration: none;

  &:hover {
    color: #073264;
  }
}

.contact-list--footer .contact-list__content {
  margin-left: 8px;
}
.contact-list--footer .contact-list__item {
  margin-bottom: 0;
  @media (max-width: 767px) {
    margin: 26px 0;
  }
}

.contact-list__image {
  width: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-list__item:nth-last-child(1) {
  margin-bottom: 0;
}
.contact-list__item {
  display: flex;
  color: #073264;
  align-items: center;
  margin-bottom: 50px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;

  @media screen and (max-width: 1020px) {
    font-size: 13px;
  }
}
.contact-list__icon {
  color: #073264;
  width: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-list__content {
  display: flex;
  flex-direction: column;
  margin-left: 30px;
  margin-bottom: 0;
  font-weight: 400;
}
.homepage__contact-list-wrapper {
  @media (max-width: 767px) {
    display: flex;
    align-items: center;
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #e1effe;
    justify-content: center;
  }
}

.homepage-title {
  color: #073264;
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  font-size: 22px;
  letter-spacing: 2px;
  margin-bottom: 65px;
  max-width: 415px;

  @media screen and (max-width: 1020px) {
    font-size: 18px;
  }
  @media (max-width: 767px) {
    margin: 30px 0 50px;
    letter-spacing: 1px;
    text-align: center;
  }
}

.homepage-title a {
  transition: 0.2s;
}

.section-title {
  color: #073264;
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 600;

  @media screen and (max-width: 1020px) {
    font-size: 14px;
  }
  @media (max-width: 767px) {
    margin-top: 30px;
    text-align: center;
  }
}

.section-title--noMarginsOnMobile {
  @media (max-width: 767px) {
    margin: 0 auto;
  }
}
.post__link,
.single .post__link {
  padding: 25px;
  text-decoration: none;
  max-width: 400px;
  display: block;
  border: 1px solid #e1effe;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid #e1effe;
  border-radius: 20px;
  margin-bottom: 25px;
  transition: 0.2s;
  text-decoration: none;
}
.post__link:hover {
  background-color: #e1effe;
  text-decoration: none;
}

.post__title,
.single .post__title {
  color: #073264;
  font-size: 14px;
  font-family: "Montserrat";
  margin-top: 0;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 18px;
  transition: 0.2s;
  line-height: 22px;

  @media screen and (max-width: 1020px) {
    font-size: 13px;
  }
}

.button {
  text-decoration: none;
  color: #0862cc;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;

  @media screen and (max-width: 1020px) {
    font-size: 13px;
  }
}

.button--home {
  @media (max-width: 767px) {
    margin: 20px auto 40px;
    text-align: center;
    display: block;
  }
}
.button .fa {
  transition: 0.2s;
}
.button:hover {
  text-decoration: none;
}
.button:hover .fa {
  transform: translate(10px);
}
.button--left:hover .fa {
  transform: translate(-10px);
}
.post__link .button:hover .fa {
  transform: none;
}

.post__date {
  color: #073264;
  font-size: 14px;
  font-weight: 500;

  @media screen and (max-width: 1020px) {
    font-size: 13px;
  }
}

.align-center {
  display: flex;
  align-items: center;
}

.align-right {
  display: flex;
  justify-content: flex-end;
}

.col-md-6:nth-child(1) {
  @media (max-width: 1020px) {
    padding: 0 15px;
  }
}
.col-md-6:nth-child(2) {
  border-left: 1px solid #e1effe;
  @media (max-width: 1020px) {
    padding: 0 15px;
  }
}

.hero .wp-block-heading {
  color: #073264;
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 20px;
  font-family: "Montserrat", sans-serif;

  @media screen and (max-width: 1020px) {
    font-size: 30px;
    margin-top: 20px;
  }
}
.hero p {
  color: #073264;
  line-height: 30px;
}

.hero .wp-block-media-text__content {
  padding-left: 0;
}

@media (max-width: 767px) {
  .hero .wp-block-media-text__content {
    padding-right: 0;
  }
}
.hero .wp-block-media-text {
  grid-template-columns: 6fr 5fr;
  margin: 50px 0;
  padding-bottom: 80px;
  border-bottom: 1px solid #e1effe;
  @media (max-width: 767px) {
    padding-bottom: 40px;
  }
}

.section-header {
  color: #073264;
  margin-bottom: 50px;
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;

  @media screen and (max-width: 1020px) {
    font-size: 23px;
  }
}

.review {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  fill: #073264;
  border: 1px solid #e1effe;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 26px;
}

.review__link:hover {
  text-decoration: none;
}
.review__link {
  text-decoration: none;
  color: #073264;
  display: block;
  height: 100%;
}
.review__content {
  color: #073264;
  line-height: 24px;
}

.review__stars {
  text-align: center;
  color: #f4cf0e;
  font-size: 24px;
  margin-bottom: 14px;
  @media screen and (max-width: 1020px) {
    font-size: 13px;
  }
}
.review__wrapper {
  display: grid;
  margin-bottom: 50px;
  grid-auto-rows: 1fr;
  grid-auto-flow: column;
  gap: 20px;
  margin-bottom: 20px;
  grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 767px) {
  .review__wrapper {
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
}
.review__details {
  width: 100%;
  margin: 10px 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.review__date {
  color: #073264;
  font-size: 14px;
  font-weight: 300;
  @media screen and (max-width: 1020px) {
    font-size: 13px;
  }
}

.review__title {
  color: #073264;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 0;
  @media screen and (max-width: 1020px) {
    font-size: 13px;
  }
}

.review__footer {
  width: 100%;
  text-align: center;
}

.line {
  margin: 50px 0;
  border-bottom: 1px solid #e1effe;
  width: 100%;
  height: 1px;
}

.team {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  fill: #073264;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px 15px;
  border: 1px solid #e1effe;
  text-align: center;
}
.team__wrapper {
  display: grid;
  margin-bottom: 50px;
  grid-auto-rows: 1fr;
  gap: 20px;
  margin-bottom: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

@media (max-width: 767px) {
  .team__wrapper {
    grid-template-columns: 1fr;
  }
}
.team__title {
  color: #073264;
  padding: 0 50px;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  font-family: "Montserrat", sans-serif;
  @media screen and (max-width: 1020px) {
    font-size: 16px;
  }
}

.team__thumbnail img {
  border-radius: 100%;
  margin-bottom: 20px;
}

.team__contact {
  display: block;
}

footer {
  margin-top: 50px;
  border-top: 1px solid #e1effe;
}

.footer__top {
  padding: 30px 0;
  @media (max-width: 767px) {
    padding: 40px 0 10px;
    text-align: center;
  }
}

.footer__top .footer__logo {
  @media (max-width: 767px) {
    max-width: 200px;
    width: 100%;
    height: auto;
    margin-right: auto;
    display: block;
    margin-bottom: 20px;
  }
}

.footer__bottom {
  border-top: 1px solid #e1effe;
  text-align: center;
  padding: 26px !important;
}
.footer__bottom .copyright {
  text-align: center;
  margin-bottom: 0;
  font-size: 12px;
  font-weight: 500;
  color: #073264;
}

@media (max-width: 767px) {
  .footer__top .contact-list__item {
    text-align: left;
    margin: 13px 0;
  }
}

.footer__contact-items {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin: 0 auto;
  margin-bottom: 11px;
}
.section-hero {
  padding: 60px 0;
  text-align: center;
  max-width: 820px;
  margin: auto;

  @media screen and (max-width: 1020px) {
    font-size: 35px;
    padding: 30px 20px;
  }
}

.section-hero h1 {
  font-size: 32px;
  font-weight: 600;
  margin: 0;
  font-family: "Montserrat", sans-serif;

  color: #073264;
}

.single .section-hero h1 {
  margin: 0;
  font-size: 32px;
  font-weight: 600;
  margin: 0;
  font-family: "Montserrat", sans-serif;

  color: #073264;
  @media screen and (max-width: 1020px) {
    font-size: 33px;
  }
}
.single .section-hero {
  padding: 60px 0 30px;
  @media (max-width: 767px) {
    padding: 30px 20px 30px;
  }
}

.posts-index .post {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.posts-index {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  @media (max-width: 767px) {
    padding: 0 20px;
  }
}

.posts-index .post__content {
  color: #073264;
}

.pagination {
  margin: auto;
  display: flex;
  justify-content: center;
}

.page-numbers {
  color: #0862cc;
  font-size: 14px;
  font-weight: 600;
  padding: 15px;
  margin: 0 10px;
  @media screen and (max-width: 1020px) {
    font-size: 13px;
  }
}
.page-numbers.current {
  color: black;
}

.single .post__date {
  margin-top: 14px;
  display: block;
}

.single p {
  font-size: 14px;
  font-weight: 400;
  color: #073264;
  margin-bottom: 20px;
  line-height: 32px;
  font-family: "Montserrat", sans-serif;
  @media screen and (max-width: 1020px) {
    font-size: 13px;
  }
}
.single h2,
.single h1 {
  font-size: 28px;
  font-weight: 600;
  color: #073264;
  margin-bottom: 20px;
  margin-top: 80px;
  margin-bottom: 50px;
  font-family: "Montserrat", sans-serif;

  @media screen and (max-width: 1020px) {
    font-size: 22px;
    margin: 40px 0 30px;
  }
}
.single h3 {
  font-size: 20px;
  font-weight: 600;
  color: #073264;
  margin-bottom: 10px;
  margin-top: 50px;
  font-family: "Montserrat", sans-serif;

  @media screen and (max-width: 1020px) {
    font-size: 18px;
  }
}
.single h4 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #073264;
  margin-bottom: 14px;
  margin-top: 30px;
  font-family: "Montserrat", sans-serif;

  @media screen and (max-width: 1020px) {
    font-size: 13px;
  }
}

.single .wp-block-image {
  margin: 50px 0;
}

.single .wp-block-separator {
  margin-top: 50px;
  margin-bottom: 50px;
  border-top: 1px solid #e1effe;

  @media screen and (max-width: 1020px) {
    margin-top: 20px;
    margin-bottom: 20px;
  }
}
.wp-block-separator.has-alpha-channel-opacity + h4.wp-block-heading {
  @media screen and (max-width: 1020px) {
    text-align: center;
  }
}
.single li {
  color: #073264;
  font-size: 14px;
  font-weight: 400;
  color: #073264;
  line-height: 32px;
  font-family: "Montserrat", sans-serif;
  @media screen and (max-width: 1020px) {
    font-size: 13px;
  }
}
.wp-block-details {
  transition: 0.2s;
  color: #073264;
  font-size: 14px;
  font-weight: 400;
  margin: 0;
  line-height: 32px;
  font-family: "Montserrat", sans-serif;
  background-color: #f0f7ff;
  padding: 20px;
  border-bottom: 5px solid #fff;
  @media screen and (max-width: 1020px) {
    font-size: 13px;
  }
}
.single summary strong {
  font-weight: 600;
}

.single summary {
  font-size: 18px;
  font-weight: 600;
  position: relative;
  color: #073264;
  font-family: "Montserrat", sans-serif;
  padding-bottom: 20px;
  padding-top: 20px;
  transition: 0.2s;

  @media screen and (max-width: 767px) {
    padding-right: 70px;
    font-size: 14px;
  }
}
.single summary::marker {
  color: #f1f8ff;
  content: "";
}
.single summary::after {
  background-image: url("./assets/arrow.svg");
  background-size: cover;
  content: "";
  display: block;
  position: absolute;
  top: 18px;
  right: 20px;
  width: 36px;
  transition: 0.2s;
  height: 36px;
}
.single .wp-block-details[open] summary::after {
  transform: rotate(90deg);
}

.single .author .author__thumbnail {
  width: 150px;
  height: 150px;
  flex-shrink: 0;
  margin-right: 20px;
  @media screen and (max-width: 767px) {
    margin-bottom: 20px;
    margin-right: 0;
  }
}
.single .author .author__thumbnail img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.single .author {
  margin-top: 20px;
  display: flex;
  @media screen and (max-width: 767px) {
    flex-direction: column;
    align-items: center;
  }
}
.single .author .author__title {
  margin-top: 0;
  margin-bottom: 10px;
  @media screen and (max-width: 1020px) {
    text-align: center;
    font-size: 25px;
  }
}
.single .author .author__right p {
  margin-bottom: 0;
  @media screen and (max-width: 767px) {
    text-align: center;
  }
}
.single .author .author__right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sub-menu {
  display: none;
  position: absolute;
  top: 30px;
  left: 10px;
  z-index: 100;
  width: 200px;
  background: #fff;
  border: 1px solid #e1effe;
  border-radius: 0 0 10px 10px;
  padding: 10px 0;
  @media screen and (max-width: 767px) {
    position: static;
    border: none;
    width: auto;
  }
}

.sub-menu .menu-item {
  @media screen and (max-width: 767px) {
    border: none;
  }
}

.navbar-logo {
  max-width: 260px;
  width: 100%;
  height: auto;
}

.navbar.bg-light .sub-menu .menu-item a {
  @media screen and (max-width: 767px) {
    padding: 15px 0;
  }
}
.menu-item-has-children button {
  cursor: pointer;
}
.menu-item-has-children button:focus {
  border-color: inherit;
  -webkit-box-shadow: none;
  box-shadow: none;
  outline: none;
}
.menu-item-has-children {
  position: relative;
}
.menu-item-has-children.open .sub-menu {
  display: flex;
  flex-direction: column;
}
.kontakt .section-title {
  font-size: 18px;
  font-weight: 600;
  color: #073264;
  margin-bottom: 20px;
  font-family: "Montserrat", sans-serif;
  @media screen and (max-width: 1020px) {
    font-size: 15px;
  }
}

.kontakt .col-md-6:nth-child(1) {
  padding-right: 20px;
}
.kontakt label {
  color: #073264;

  width: 100%;
}

.kontakt .col-md-8 {
  padding-right: 40px;
  @media screen and (max-width: 767px) {
    padding-right: 20px;
    border-bottom: 1px solid #e1effe;
    margin-bottom: 40px;
  }
}
.kontakt .col-md-4 {
  padding-left: 40px;
  margin-bottom: 50px;
  border-left: 1px solid #e1effe;
}

main {
  min-height: 80vh;
}

a {
  color: #0862cc;
  transition: 0.2s;
}

a:hover {
  color: #073264;
}

.single a {
  text-decoration: underline;
}

.contact-list__item a {
  color: #073264;
}

.company-info strong {
  color: #073264;
}
.company-info {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #e1effe;
}

.flex-fill {
  flex-basis: 33%;
  @media (max-width: 767px) {
    flex-basis: 100%;
  }
}

.flex-fill-posts {
  gap: 20px;
  justify-content: space-between;
}
