/**
 * @file
 */
body {
  /*  font-family: "Roboto", sans-serif;
        font-size: 1rem; */
  background-color: #e0fdfd;
}

a {
  color: #0a3d89 !important;
}

a:hover {
  color: #184fa1 !important;
}

/*
  Navbar
  */
.navbar-expand-xl i {
  color: #ffffff;
  font-size: 1.1rem !important;
  margin: 0 10px 0 0;
}

@media (max-width: 1199.98px) {
  .navbar-expand-xl {
    padding-bottom: 0 !important;
  }

  .navbar {
    background-color: #1970bd !important;
    padding-top: 0 !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid #1970bd;
  }
}

@media (min-width: 1200px) {
  .navbar {
    background-color: #1970bd !important;
    padding-top: 0 !important;
    padding-bottom: 40px !important;
    border-bottom: 1px solid #1970bd;
  }
}

.navbar .offcanvas-body {
  background-color: #1970bd !important;
}

.navbar-nav {
  background: none !important;
}

.navbar-nav a {
  color: #ffffff !important;
}

.navbar-nav a:hover {
  color: #d8edff !important;
}

.navbar-brand {
  color: #1970bd !important;
  font-size: 1.4rem !important;
}

/* img org 350px */
@media (max-width: 359.98px) {
  .navbar-brand img {
    max-width: 225px !important;
    height: auto !important;
    margin-top: 5px !important;
    padding: 0 !important;
  }
}

@media (min-width: 360px) and (max-width: 575.98px) {
  .navbar-brand img {
    max-width: 260px !important;
    height: auto !important;
    margin-top: 5px !important;
    padding: 0 !important;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .navbar-brand img {
    max-width: 270px !important;
    height: auto !important;
    margin-top: 5px !important;
    padding: 0 !important;
  }
}

@media (min-width: 768px) {
  .navbar-brand img {
    max-width: 300px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

/* center */
@media (max-width: 1199.98px) {
  .navbar-center-img {
    display: none;
    visibility: hidden;
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .navbar-center-img {
    display: block;
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

@media (min-width: 1400px) {
  .navbar-center-img {
    display: block;
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

/* right */
.navbar-contact {
  display: block;
  position: absolute;
  top: 20px;
  right: 10px;
  line-height: 1.2rem;
}

.phone {
  font-weight: 600 !important;
}

@media (max-width: 1199.98px) {
  .navbar-contact {
    display: none;
    visibility: hidden;
  }
}

/* Menu position */
.menu-position-container.contact p {
  color: #444444;
  font-size: 1rem;
  margin-bottom: 0;
  margin-top: 0;
}

.menu-position-container .contact a {
  color: #444444;
}

.menu-position-container .social a {
  color: #444444;
}

.fa-phone {
  font-size: 1rem !important;
}

.menu-position-container .phone {
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  margin-left: -5px;
}

.fa-facebook-f,
.fa-youtube {
  font-size: 1rem !important;
}

.menu-position-container {
  position: relative;
}

@media (min-width: 1200px) {
  .menu-position {
    position: absolute;
    top: 30px;
    left: -330px;
  }
}

.navbar-nav .fa-home {
  margin-top: -10px;
}

/* Dropdown menu background color */
.offcanvas {
  background-color: #1970bd !important;
}

.navbar-nav > li > .dropdown-menu {
  background-color: #1970bd !important;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus,
.dropdown-submenu:hover > a,
.dropdown-submenu:focus > a {
  text-decoration: none;
  color: #ffffff;
  background-color: #1970bd !important;
}

/* Dropdown menu auto */
@media all and (min-width: 1200px) {
  .navbar-expand-xl .nav-item .dropdown-menu {
    display: none;
  }

  .navbar-expand-xl .nav-item:hover .nav-link {
    display: block;
  }

  .navbar-expand-xl .nav-item:hover .dropdown-menu {
    display: block;
  }

  .navbar-expand-xl .nav-item .dropdown-menu {
    margin-top: 0;
  }
}

/* Toggler */
.navbar-toggler:focus {
  text-decoration: none;
  outline: 0;
  box-shadow: 0 0 0 0 !important;
}

/* Toggler color */
/* .navbar-dark .navbar-toggler {
      border-color: #ffffff;
  }
  
  .navbar-dark .navbar-toggler-icon {
      background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(102, 24, 24, 0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  } */

/* Ivory Search */
@media (max-width: 1199.98px) {
  .astm-search-menu {
    margin-top: 5px;
    margin-left: 0px;
  }

  .is-search-input {
    background-color: #f7f7f7 !important;
    color: #272727 !important;
  }

  .is-search-icon {
    background-color: #3a82ca !important;
  }

  .is-search-icon path {
    fill: #ffffff !important;
  }

  .search-close {
    margin-top: 0;
    background-color: #115ce7 !important;
  }
}

@media (min-width: 1200px) {
  .astm-search-menu {
    margin-top: 5px;
    margin-left: 10px;
  }

  .is-search-input {
    background-color: #f7f7f7 !important;
    color: #272727 !important;
  }

  .is-search-icon {
    background-color: #3a82ca !important;
  }

  .is-search-icon path {
    fill: #ffffff !important;
  }

  .search-close {
    margin-top: 0;
    background-color: #115ce7 !important;
  }
}

/*
  Content position fixed
  */
#page-wrapper a {
  font-weight: 600 !important;
}

@media (max-width: 575.98px) {
  #page-wrapper,
  #single-wrapper,
  #archive-wrapper,
  #search-wrapper,
  #error-404-wrapper {
    padding-top: 86px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  #page-wrapper,
  #single-wrapper,
  #archive-wrapper,
  #search-wrapper,
  #error-404-wrapper {
    padding-top: 88px;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  #page-wrapper,
  #single-wrapper,
  #archive-wrapper,
  #search-wrapper,
  #error-404-wrapper {
    padding-top: 90px;
  }
}

@media (min-width: 1200px) {
  #page-wrapper,
  #single-wrapper,
  #archive-wrapper,
  #search-wrapper,
  #error-404-wrapper {
    padding-top: 112px;
  }
}

/* post */
.page-title {
  color: #2e2e2e;
  font-size: 2em;
}

.entry-title a {
  color: #1d1d1d;
  font-size: 0.8em;
}

/* bgtitle */
@media (max-width: 767.98px) {
  .bgtitle {
    width: 100%;
    padding: 0 20px;
    background: #6eb6e2 url("../img/bg-title-1.jpg") no-repeat top;
  }

  .bgtitle h1 {
    margin: 0;
    padding-top: 20px;
    padding-bottom: 0px;
    color: #10326e;
    font-size: 1.2rem !important;
  }

  .bgtitle a {
    position: absolute;
    margin-top: -5px;
    margin-left: 50px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .bgtitle {
    width: 100%;
    padding: 0 20px;
    background: #6eb6e2 url("../img/bg-title-1.jpg") no-repeat top;
  }

  .bgtitle h1 {
    margin: 0;
    padding-top: 20px;
    padding-bottom: 0px;
    color: #10326e;
    font-size: 1.3rem !important;
  }

  .bgtitle a {
    position: absolute;
    margin-top: -5px;
    margin-left: 50px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .bgtitle {
    width: 100%;
    padding: 0 20px;
    background: #6eb6e2 url("../img/bg-title-1.jpg") no-repeat top;
  }

  .bgtitle h1 {
    margin: 0;
    padding-top: 50px;
    padding-bottom: 30px;
    color: #10326e;
    font-size: 1.4rem !important;
  }

  .bgtitle a {
    position: absolute;
    margin-top: 40px;
    margin-left: -105px;
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .bgtitle {
    width: 100%;
    padding: 0 20px;
    background: #6eb6e2 url("../img/bg-title-1.jpg") no-repeat top;
  }

  .bgtitle h1 {
    margin: 0;
    padding-top: 70px;
    padding-bottom: 50px;
    color: #10326e;
    font-size: 1.4rem !important;
  }

  .bgtitle a {
    position: absolute;
    margin-top: 55px;
    margin-left: -105px;
  }
}

@media (min-width: 1400px) {
  .bgtitle {
    width: 100%;
    padding: 0 20px;
    background: #6eb6e2 url("../img/bg-title-1.jpg") no-repeat top;
  }

  .bgtitle h1 {
    margin: 0;
    padding-top: 70px;
    padding-bottom: 50px;
    color: #10326e;
    font-size: 1.6rem !important;
  }

  .bgtitle a {
    position: absolute;
    margin-top: 60px;
    margin-left: -120px;
  }
}

/*
  Buttons
  */
.btn-primary {
  color: #ffffff !important;
  background-color: #0a3d89 !important;
  border: 0 !important;
  /* padding: 0.4rem 0.8rem; */
  border-radius: 5px !important;
  /*  font-family: "Roboto", sans-serif;
      font-size: 1rem; */
  box-shadow: none !important;
}

.btn-primary:hover {
  color: #ffffff !important;
  background-color: #0a3d89 !important;
  border: 0 !important;
  box-shadow: none !important;
}

.btn-primary:focus {
  color: #ffffff !important;
  background-color: #0a3d89 !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Wyniki wyszukiwania */
.btn-secondary {
  color: #ffffff !important;
  background-color: #0a3d89 !important;
  border: 0 !important;
  /* padding: 0.4rem 0.8rem; */
  border-radius: 5px !important;
  /*  font-family: "Roboto", sans-serif;
      font-size: 1rem; */
  box-shadow: none !important;
}

.btn-secondary:hover {
  color: #ffffff !important;
  background-color: #0a3d89 !important;
  border: 0 !important;
  box-shadow: none !important;
}

.btn-secondary:focus {
  color: #ffffff !important;
  background-color: #0a3d89 !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Form controls (search) */
.form-control:focus {
  color: var(--bs-body-color) !important;
  background-color: var(--bs-body-bg) !important;
  border-color: #0a3d89 !important;
  outline: 0 !important;
  box-shadow: 0 0 0 0.1rem rgba(13, 109, 253, 0.384) !important;
}

/* entry-summary */
.entry-summary .btn-secondary {
  font-weight: 600;
  font-size: 0.8em;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  display: inline-block;
  padding: 10px 18px;
  border-radius: 20px;
  transition: 0.5s;
  line-height: 1;
  margin: 10px 0;
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
}

.entry-summary .btn-secondary,
.entry-summary .btn-secondary:hover,
.entry-summary .btn-secondary:active,
.entry-summary .btn-secondary:visited {
  background: #1c3ca5 !important;
  color: #ffffff !important;
  border: 2px solid #1c3ca5 !important;
}

.entry-content h1 {
  font-size: 1.8rem;
  font-weight: 600;
}

.entry-content h2 {
  font-size: 1.4rem;
  font-weight: 600;
}

.entry-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

.entry-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

.entry-content h5 {
  font-size: 1rem;
  font-weight: 600;
}

.entry-content h6 {
  font-size: 0.9rem;
  font-weight: 600;
}

.entry-content .btn-secondary {
  font-weight: 600;
  font-size: 0.8em;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  display: inline-block;
  padding: 12px 20px;
  border-radius: 20px;
  transition: 0.5s;
  line-height: 1;
  margin: 10px 0;
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
}

.entry-content .btn-secondary,
.entry-content .btn-secondary:hover,
.entry-content .btn-secondary:active,
.entry-content .btn-secondary:visited {
  background: #1c3ca5 !important;
  color: #ffffff !important;
  border: 2px solid #1c3ca5 !important;
}

.entry-content {
  padding-top: 10px;
  padding-bottom: 0;
}

.wp-post-image {
  padding-top: 0;
  padding-bottom: 0;
}

/* Posted in */
.single-post .entry-header {
  padding-top: 25px;
}

.entry-meta a {
  color: #353535;
}

@media (max-width: 767.98px) {
  .single-post .entry-header h1 {
    font-size: 1.2em;
  }

  .wp-post-image,
  .default-featured-img {
    max-width: 300px !important;
    height: auto !important;
    margin-top: -20px !important;
  }
}

@media all and (min-width: 768px) and (max-width: 991.98px) {
  .single-post .entry-header h1 {
    font-size: 1.3em;
  }

  .wp-post-image,
  .default-featured-img {
    max-width: 350px !important;
    height: auto !important;
    margin-top: -20px !important;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .single-post .entry-header h1 {
    font-size: 1.4em;
  }

  .wp-post-image,
  .default-featured-img {
    max-width: 400px !important;
    height: auto !important;
    margin-top: -20px !important;
  }
}

@media (min-width: 1200px) {
  .single-post .entry-header h1 {
    font-size: 1.4em;
  }

  .wp-post-image,
  .default-featured-img {
    max-width: 500px !important;
    height: auto !important;
    margin-top: -20px !important;
  }
}

/* title page */
.entry-header {
  color: #0a3d89;
  padding-bottom: 25px;
}

.entry-header h1 {
  font-size: 1.6em;
}

@media (max-width: 767.98px) {
  .entry-header h1 {
    font-size: 1.4em;
  }
}

/* entry-footer */
.entry-footer {
  display: none;
  /* padding-top: 0; */
  /* padding-bottom: 25px; */
}

.post-navigation {
  display: none;
}

/*
 Search
 */
.page-header h1 {
  color: #1c02ac;
}

.pagination .current {
  background-color: #1c3ca5 !important;
}

/* File upload */
.file-upload-pdf,
.file-upload-doc,
.file-upload-docx,
.file-upload-zip {
  display: inline-block;
  border-radius: 5px;
  background-color: #144cc4;
  border: none;
  color: #ffffff !important;
  text-align: left;
  text-decoration: none;
  font-size: 1rem;
  padding: 10px;
  min-width: 200px;
  transition: all 0.5s;
  cursor: pointer;
  margin: 0;
}

.file-upload-pdf:hover,
.file-upload-doc:hover,
.file-upload-docx:hover,
.file-upload-zip:hover {
  background-color: #1141aa;
  color: #ffffff !important;
  opacity: 1;
  right: 0;
}

/* https://fontawesome.com/search?c=files */
.file-upload-pdf::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 400;
  content: "\f1c1";
  margin: 0 10px;
}

.file-upload-doc::before,
.file-upload-docx::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 400;
  content: "\f1c2";
  margin: 0 10px;
}

.file-upload-zip::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 400;
  content: "\f15b";
  margin: 0 10px;
}

/* entry-footer */
.understrap-as-read-more-link {
  background-color: #1c3ca5;
  color: #ffffff;
  border: none;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  -o-border-radius: 3px;
  -ms-border-radius: 3px;
  -khtml-border-radius: 3px;
  border-radius: 3px;
  padding: 8px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 0;
  -webkit-transition-duration: 0.4s;
  /* Safari */
  transition-duration: 0.4s;
  cursor: pointer;
}

.understrap-as-read-more-link:hover {
  background: #284cc0;
  color: #fff;
  text-decoration: none;
}

/* Modula */
.modula-items {
  padding-bottom: 25px;
}

/* kontakt */
.map {
  padding-top: 25px;
}

.map-container {
  position: relative;
  padding-bottom: 46.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.map-container iframe,
.map-container object,
.map-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 90%;
  height: 90%;
}

/* Footer */
#wrapper-footer {
  background-color: #333333;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 400 !important;
  padding-bottom: 10px;
}

.page-footer a {
  color: #ffffff !important;
  text-decoration: none !important;
}

.footer-top {
  background-color: #f2ecd7;
  padding-top: 20px;
  padding-bottom: 8px;
}

.footer-top-text {
  color: #1a257b;
  font-size: 1.8em;
  letter-spacing: 1.4px;
}

@media all and (max-width: 767.98px) {
  .footer-top-text {
    font-size: 1.4em;
  }
}

/* button1 */
.button1 {
  display: inline-block;
  border-radius: 4px;
  background-color: #1c3ca5;
  border: none;
  color: #ffffff;
  text-align: center;
  font-size: 1rem;
  padding: 10px;
  width: 170px;
  transition: all 0.5s;
  cursor: pointer;
  margin: 5px 20px;
}

.button1 span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.button1 span:after {
  content: "\00bb";
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.button1:hover span {
  padding-right: 20px;
}

.button1:hover span:after {
  opacity: 1;
  right: 0;
}

.footer-top h3 {
  color: #1a257b;
  font-size: 1.4em;
  text-transform: uppercase;
}

.page-footer a {
  color: #ffffff;
  font-size: 0.9rem;
}

.social-footer a {
  color: #ffffff;
  font-size: 1.4em;
  margin: 0 5px;
  text-decoration: none;
}

.page-footer h5 {
  font-size: 1.2em;
  letter-spacing: 2px;
  font-weight: 400 !important;
}

/*
* Bootstrap Cookie Alert by Wruczek
* https://github.com/Wruczek/Bootstrap-Cookie-Alert
* Released under MIT license
*/
.cookiealert .row {
  display: inline;
  padding: 0;
  margin: 0;
}

.cookiealert {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  margin: 0 !important;
  z-index: 999;
  opacity: 0;
  border-radius: 0;
  transform: translateY(100%);
  transition: all 500ms ease-out;
  color: #ecf0f1;
  background-color: #222222;
}

.cookiealert.show {
  opacity: 1;
  transform: translateY(0%);
  transition-delay: 1000ms;
}

.cookiealert {
  font-size: 0.9rem;
}

.cookiealert button {
  font-size: 0.9rem;
}

.cookiealert a {
  color: #ecf0f1 !important;
  text-decoration: underline;
}

.cookiealert .acceptcookies {
  margin-left: 10px;
  vertical-align: baseline;
}

.cookiealert .btn-outline-light {
  letter-spacing: 0.8px !important;
}

.cookiealert .btn-outline-light:hover {
  color: #ffffff !important;
  background-color: transparent !important;
  border-color: #f8f9fa;
}

.cookiealert .btn-outline-light:focus,
.cookiealert .btn-outline-light.focus {
  box-shadow: none !important;
  background-color: transparent;
}
