/*!
Theme Name: transition_group
Theme URI: http://sgr.pl
Author: Kamil Grząba
Author URI: http://sgr.pl
Description: Custom sgr theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: transition_group
*/

.block img {
  align-self: flex-start;
}

#cookie-notice {
  background-color: #23748d !important;
}

.sec-five__img img {
  height: auto;
  width: 100% !important;
}

.single-sec2__content a,
.block__text a {
  color: #335f78;

  font-family: "Cabin", sans-serif;
  font-style: normal;
  font-weight: normal !important;
  line-height: 26px;
  font-size: 16px;
  margin: 0;
}

/* wellify */
.wellify-btn-wrap a {
  color: #ffffff !important;
}

/* publikacje */
.about-sec1__content-text p {
  text-align: center;
  font-size: 18px;
}

.publication-content-wrap {
  width: 88%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 3fr;
  grid-gap: 50px;
  padding: 40px 0;
}

.publication-content-wrap:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.publication-wrap {
  text-align: center;
}

.publication-wrap h2,
.publication-desc h1 {
  font-family: "Cabin", sans-serif;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  font-size: 30px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #335f78;
}

.publication-desc p:last-child {
  margin-bottom: 0;
}

.publication-link-wrap {
  display: inline-block;
  cursor: pointer;
}

.publication-link-wrap .publication-link {
  margin-top: 0;
  background: #8da8b1;
  pointer-events: none;
}

.publication-link.active-link {
  background: #335f78;
}

.publication-form-wrap {
  width: 88%;
  margin: 0 auto;
}

.publication-form-wrap .sub0-sec1__content-text {
  width: 100%;
  margin-bottom: 50px;
}

.publication-form .input-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
}

.publication-form .input-wrap .wpcf7-form-control-wrap {
  width: 50%;
}

.publication-form .input-wrap input {
  display: block;
  padding: 10px;
  margin-bottom: 30px;
  width: 100%;
  font-size: 16px !important;
  font-family: Cabin !important;
  border: 0;
  border-bottom: 1px solid #ccc;
}

.publication-form .input-wrap .wpcf7-not-valid-tip {
  margin-top: 0;
}

.publication-submit-wrap {
  width: 50%;
  margin: 0 auto;
}

#text-445 {
  display: none;
}

.publication-footer .container.footer.get-height {
  margin-top: 0;
}

.publication-title h2 {
  font-family: "Playfair Display", serif;
  font-style: normal;
  font-weight: bold;
  line-height: 49px;
  font-size: 30px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8da8b1;
}

.publication-form-title h2 {
  font-family: "Playfair Display", serif;
  font-style: normal;
  font-weight: bold;
  font-size: 22px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8da8b1;
  margin-bottom: 15px;
  line-height: normal;
}

.modal-bottom a:not(:last-child) {
  margin-right: 20px;
}

.publication-modal h1 {
  font-family: "Cabin", sans-serif;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  font-size: 25px;
  letter-spacing: 0.1em;
  color: #335f78;
}

.publication-modal p {
  font-family: "Cabin", sans-serif;
  font-style: normal;
  font-weight: normal;
  line-height: 26px;
  font-size: 16px;
  letter-spacing: 0.1em !important;
  color: #111 !important;
}

.publication-full-desc {
  display: none;
}

.publication-desc button {
  color: #fff;
  background: #335f78;
  padding: 10px 20px;
  border: 0;
  font-family: "Cabin", sans-serif;
  font-size: 16px;
  cursor: pointer;
}

#modal-open {
  display: none;
}

#modal-center {
  pointer-events: none;
}

#modal-center .uk-modal-dialog.uk-modal-body.uk-margin-auto-vertical {
  pointer-events: all;
}

.publication-form .checkbox-wrap {
  width: 50%;
  margin: 0 auto;
}

@media (max-width: 960px) {
  .publication-content-wrap {
    grid-template-columns: repeat(1, 1fr);
  }

  .publication-form .input-wrap .wpcf7-form-control-wrap,
  .publication-submit-wrap {
    width: 100%;
  }

  .publication-form .checkbox-wrap {
    width: 100%;
  }
}

/* main page - second popup */
.sec-one__banner-container {
  position: relative;
}

.sec-one__banner {
  height: 100%;
}
.banner-popup-list {
  display: flex;
  flex-wrap: wrap;
  position: absolute;
  top: 30px;
  left: -55px;
  margin: 0;
  padding: 0;
  max-width: 500px;
}
.banner-popup-list li:before {
  display: none;
}
.banner-popup-list li:first-child {
  margin-bottom: 30px;
}

.left-popup-wrap {
  position: relative;
  left: 0;
  top: 0;
  min-width: 320px;
}

.left-popup-wrap h2 span {
  font-size: 21px;
  margin: 0;
  padding: 0;
}

.left-popup-wrap p,
.left-popup-wrap p span {
  font-size: 14px;
  padding: 0;
  margin: 0;
}

.left-popup {
  border: 14px solid #aecdd6;
  background-color: #ffffff;
}

.left-popup:not(:last-child) {
  margin-bottom: 20px;
}

.conference-wrap {
  position: absolute;
  top: 0;
  right: -55px;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  width: calc(50vw - 100px);
}
.conference {
  display: flex;
  flex-grow: 1;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}

.conference h2 {
  font-size: 24px;
  color: red;
  text-align: left;
  width: 100%;
  display: block;
  padding: 0;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
}
.conference h2 a,
.conference h2 a:focus,
.conference h2 a:visited,
.conference h2 a:active {
  color: red;
  transition: 0.2s;
  line-height: 1.2;
  margin: 0;
}

.conference h2 a:hover {
  opacity: 0.8;
}

.conference-image a {
  margin: 0;
  padding: 0;
}
.conference-image img {
  width: 100%;
}

.wellify-popup-content h2,
.publication-popup-content h2 {
  margin: 10px 0;
  line-height: normal;
}

.wellify-popup-content {
  padding: 10px 20px;
}

.publication-popup-content {
  padding: 10px 30px;
}

.wellify-popup-content h2,
.publication-popup-content .publication-title h2 {
  font-family: "Cabin", sans-serif;
}

.szk-popup-content h2 {
  font-size: 30px !important;
  font-family: "Cabin", sans-serif;
  margin: 10px 0;
  line-height: normal;
}

@media (max-width: 991px) {
  .left-popup-wrap {
    position: static;
  }
  .banner-popup-list {
    position: relative;
    left: 0;
    max-width: 100%;
    width: 100%;
    justify-content: space-evenly;
  }
  .banner-popup-list li {
    margin-bottom: 30px;
  }
  .conference-image {
    position: relative;
    right: auto;
    top: 0;
    text-align: center;
    width: 100%;
  }
  .left-popup-wrap {
    min-width: auto;
  }
  .conference-wrap {
    position: relative;
    width: 100%;
    right: 0;
  }
  .conference h2 {
    text-align: center;
  }
}
@media (max-width: 768px) {
  .banner-popup-list li {
    width: 100%;
  }
  .left-popup-wrap {
    width: 100%;
  }
}

/* dropdown menu */
.menu-item-has-children {
  position: relative;
  cursor: pointer;
}

.menu-item-has-children:after {
  content: url("/wp-content/uploads/2020/11/bottom-corner.png");
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-10%);
}

.menu-item-has-children .sub-menu {
  position: absolute;
  top: 70px;
  width: 350px;
  display: block;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.25s, opacity 0.25s ease-in-out;
}

.menu-item-has-children:hover .sub-menu {
  visibility: visible;
  opacity: 1;
}

.menu-item-has-children .sub-menu li {
  display: block !important;
  text-align: left;
  background: #23748d;
  padding: 20px 1rem 20px 1rem;
}

.menu-item-has-children .sub-menu li:not(:last-child) {
  border-bottom: 1px solid #ffffff;
}

.menu-item-has-children .sub-menu li a,
.menu-item-has-children .sub-menu li a:hover {
  color: #ffffff;
  margin-top: 0;
}

@media (max-width: 1446px) {
  .menu-item-has-children:after {
    transform: translateY(-60%);
  }
}

@media (max-width: 1193px) {
  .menu-item-has-children:after {
    transform: translateY(-100%);
  }
}

@media (max-width: 992px) {
  .menu-item-has-children {
    text-align: center;
  }

  .menu-item-has-children:after {
    display: none;
  }

  .menu-item-has-children .sub-menu {
    position: static;
    width: 100%;
    display: block;
    visibility: visible;
    opacity: 1;
  }

  .menu-item-has-children .sub-menu li {
    text-align: center;
    background: none;
    padding: 1rem;
  }

  .menu-item-has-children .sub-menu li a {
    color: #6c6c6c;
    margin-top: 20px;
  }
}

/* new image banner */
.banner-img-wrap {
  width: 300px;
}

.banner-img-wrap img {
  width: 100%;
  height: 100%;
}

.left-popup h1,
.left-popup h2 {
  margin-top: 0;
}
