:root {
  --mainfontregular: "ubunturegular400", sans-serif;
  --mainfontmedium: "ubuntumedium500", sans-serif;
  --mainfontbold: "ubuntubold700", sans-serif;
}

@font-face {
  font-family: "ubunturegular400";
  src: url("/wp-content/themes/alpands/fonts/ubuntu-regular-webfont.woff2") format("woff2"),
    url("/wp-content/themes/alpands/fonts/ubuntu-regular-webfont.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ubuntumedium500";
  src: url("/wp-content/themes/alpands/fonts/ubuntu-regular-webfont.woff2") format("woff2"),
    url("/wp-content/themes/alpands/fonts/ubuntu-regular-webfont.woff2") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ubuntubold700";
  src: url("/wp-content/themes/alpands/fonts/ubuntu-regular-webfont.woff2") format("woff2"),
    url("/wp-content/themes/alpands/fonts/ubuntu-regular-webfont.woff2") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

html,
body {
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

body,
a,
ul,
li,
p,
h1,
h2,
h3,
h4,
h5,
h6,
input,
sup,
blockquote,
textarea {
  font-weight: 400;
  margin: 0;
  padding: 0;
  border: 0;
  text-decoration: none;
  list-style: none;
  font-size: 18px;
  line-height: normal;
  font-family: var(--mainfontregular);
}

body {
  -webkit-transition: all 1.2s ease-in-out;
  -o-transition: all 1.2s ease-in-out;
  transition: all 1.2s ease-in-out;
}

.container,
.footer__container {
  width: 100%;
  height: 100%;
  max-width: 1080px;
  margin: 0 auto;
  overflow: hidden;
  text-align: center;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

main,
nav {
  display: flex;
  justify-content: center;
  width: 100%;
}


h1 {
  text-transform: uppercase;
  color: #2E3092;
  font-size: 32px;
  font-family: var(--mainfontmedium);
  margin-top: 20px;
  padding: 0 10px;
}

h2 {

  font-size: 20px;
  color: #707070;
  font-family: var(--mainfontregular);
  margin: 20px 0;
  padding: 0 10px;
}

h4 {
  font-size: 20px;
}

p {
  font-family: var(--mainfontregular);
  color: #707070;
  font-size: 20px;
}

nav {
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

nav .total-menu .menu-desktop ul {
  display: flex;
}

nav .total-menu .menu-desktop ul li.menu-item-37,
nav .total-menu .menu-desktop ul li.menu-item-73 {
  margin-right: 20px;
}

nav .total-menu .menu-desktop ul li.menu-item-61-pl,
nav .total-menu .menu-desktop ul li.menu-item-72-pl {
  margin-right: 5px;
  border-right: 1px solid #2E3092;
  padding-right: 5px;
}

:lang(pl-PL) .menu-item-61-pl a,
:lang(en-GB) .menu-item-72-en a {
  color: #2E3092;
  font-weight: bold;
}

.menu-btn {
  position: fixed;
  top: 0;
  right: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 72px;
  height: 72px;
  cursor: pointer;
  -webkit-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out
}

.menu-btn__burger {
  width: 45px;
  height: 5px;
  background-color: #2E3092;
  border-radius: 5px;
  -webkit-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;

}

.menu-btn__burger:before,
.menu-btn__burger:after {
  content: '';
  position: absolute;
  width: 45px;
  height: 5px;
  background: #2E3092;
  margin-left: -22px;
  border-radius: 5px;
  -webkit-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;

}

.menu-btn__burger:before {
  transform: translateY(-16px)
}

.menu-btn__burger:after {
  transform: translateY(16px)
}

.menu-btn.open .menu-btn__burger {
  transform: translateX(-50px);
  background: 0 0;
  box-shadow: none
}

.menu-btn.open .menu-btn__burger:before {
  transform: rotate(45deg) translate(35px, -35px);
  background: #2E3092;

}

.menu-btn.open .menu-btn__burger:after {
  transform: rotate(-45deg) translate(35px, 35px);
  background: #2E3092;

}


.total-menu ul li a,
.menu-mobile ul li a {
  font-family: var(--mainfontregular);
  text-transform: uppercase;
  color: #707070;
  font-size: 20px;
}

.total-menu ul li.current_page_item a,
.menu-mobile ul li.current_page_item a {
  color: #2E3092;
  font-weight: bold;
  font-family: var(--mainfontregular);

}

.icons {
  display: flex;
  align-items: center;
  margin: 20px 0 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.icons img {
  padding: 10px 20px;
  transition: all 0.8s;
}

.contact img {
  transition: all 0.8s;
  cursor: pointer;
}

.icons img:hover,
.contact img:hover {
  transform: scale(1.1);
}

.title,
.contact {
  background-color: #50B5E6;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px solid #2E3092;
  box-shadow: inset 0 32px 25px -14px rgba(0, 0, 0, 0.2)
}

.contact img,
.contact-section {
  display: grid;
  grid-template-columns: 50px 1fr;
  justify-self: flex-start;

}

.contact-section.contact-small-section {
  grid-template-columns: 30px 1fr;
  align-items: center;
  margin-left: 20px;
}

.contact-section {
  margin: 20px 0;
}

.contact-section h2+p,
.contact-section h4~p {
  display: grid;
  /* grid-row: 3/4; */
  grid-column: 2/-1;
  text-align: left;
}

.contact-section h4~p {
  font-size: 18px;
}

.contact-section h3,
.contact-section h2 {
  text-transform: uppercase;
  color: #2E3092;
  font-family: var(--mainfontregular);
  font-weight: bold;
  padding: 0 20px;
  margin: 12px 0;
  text-align: left;
}

.contact-section.last-section-contact img {
  padding-left: 10px;
}

.contact-section h2 {
  font-size: 20px;
  letter-spacing: 2px;
}

.contact-section h4 {
  padding: 0 20px;
  text-align: left;
  color: #2E3092;
}

.contact-section p {
  padding: 0 20px;
  font-size: 20px;
}

.contact-section .icon {
  grid-row: 1 / 4;
  align-items: end;
  display: grid;
  justify-content: center;
}

.last-section-contact {
  margin: 30px 0;
}

.last-section-contact h2 {
  margin-bottom: 30px;
}

.contact-section-with-title {
  margin-bottom: 0px;
}

.contact-section a {
  color: #707070;
  font-family: var(--mainfontregular);
  font-size: 20px;
}

.contact-section:nth-of-type(3) {

  display: flex;
  align-items: center;
}

.contact ul {
  display: flex;
  justify-content: center;
  padding: 8px 0;
  gap: 0 10px;
}

.container100 {
  width: 100%;
}

.page-contact .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.page-contact+footer {
  border-top: 1px solid #2E3092;
}

.wrapper50 {
  display: grid;
  justify-content: center;
  align-content: flex-start;
}

body:not(.home) .container100 .title {
  padding: 40px 0;
}

body:not(.home) .container100 .title h1 {
  color: #ffffff;
  font-size: 32px;
  margin: 0;
  font-family: var(--mainfontmedium);
  font-weight: 500;
  text-align: center;
}

body:not(.home) .container100 .title h1::after {
  content: url('/wp-content/themes/alpands/images/divider.png');
  display: block;
}

.contact ul+p {
  font-family: var(--mainfontregular);
  font-size: 24px;
  color: #ffffff;
  padding: 8px 10px 15px 10px
}

.formularz-kontatkowy {
  max-width: 350px;
}

.formularz-kontatkowy h2 {
  font-size: 24px;
  font-family: var(--mainfontregular);
  color: #2E3092;
  margin-bottom: 20px;
  padding-left: 0;
  text-align: left;
}




input {
  -webkit-appearance: none;
  -webkit-border-radius: 0;
  border-radius: 0;
}


.text {
  padding: 10px;
  width: calc(350px - 20px);
  line-height: 20px;
  border: 1px solid #2E3092;
  font-size: 20px;
  font-family: var(--mainfontregular);
  margin: 10px 0;

}

::placeholder {
  color: #9697C8;
}




.wpcf7-form.form-aplikuj p {
  float: left;
  width: 100%;
  color: #302683
}

.formularz-kontatkowy input[type="checkbox"] {
  border: 1px solid #2E3092;
  padding: 10px;
  align-self: flex-start;
  position: relative;
  left: -10px;
}

.formularz-kontatkowy .checkboxBtn .wpcf7-list-item {
  margin: 0 0 0 10px;
}

.formularz-kontatkowy .wpcf7-submit {
  border: 1px solid #2E3092;
  background-color: transparent;
  color: #2E3092;
  padding: 10px;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s;
  width: 100%;
  max-width: 180px;
  text-align: center;
}

.formularz-kontatkowy .submitBtn {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.formularz-kontatkowy .wpcf7-submit:hover {
  border: 1px solid #40C0F0;
  color: #40C0F0;
}

/*
.formularz-kontatkowy input[type="checkbox"]:checked {
  background-color: rgb(66, 193, 240);


}*/

.formularz-kontatkowy .wpcf7-list-item {
  display: flex;

}

.formularz-kontatkowy .wpcf7-list-item-label {
  color: #707070;
  text-align: left;
  font-size: 10px;
  max-width: 320px;
  display: block;
  width: 320px;
}


.formularz-kontatkowy input[type="checkbox"] {
  width: 23px;
  height: 22px;
  vertical-align: top;
  margin: 2px 5px 0 0;
  display: table-cell;
  float: left;
  /*-webkit-appearance:checkbox*/

  background: url('/wp-content/themes/alpands/images/checkboxNew.svg') left top no-repeat;
  cursor: pointer;
  border: none;
  outline: none;
  background-size: cover
}


.formularz-kontatkowy input[type="checkbox"]:checked {
  background-position: left bottom;
}

.footer__container ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

/*polityka*/

.page-polityka h1,
.page-polityka h2 {
  padding: 0;
  color: #2E3092;
  text-transform: capitalize;
}

.page-polityka .content {
  margin: 30px 0;
}

.page-polityka h2 {
  margin: 5px 0 30px;
  color: #2E3092;
}

.page-polityka h3 {
  font-weight: 700;
  color: #707070;
}

.page-polityka h1,
.page-polityka h3,
.page-polityka p,
.page-polityka .list-child .number {
  text-align: left;
}

.page-polityka p.list-child,
.page-polityka p.text-policy,
.page-polityka span.number {
  font-size: 18px;
}

.page-polityka .text-content a {
  color: #2E3092;
  text-decoration: underline;
}

.page-polityka p.list-child {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 10px 0;
  padding-left: 29px;
}

.page-polityka p.text-policy {
  padding-left: 59px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 10px 0;
}

.page-polityka .list-child .number {
  font-size: 16px;
  line-height: normal;
  padding-top: 2px;
}

.page-polityka .title-privacy-policy {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.page-polityka ul {
  line-height: normal;
  font-size: 16px;
  text-align: left;
  margin: 0 0 10px 14px;
  padding-left: 45px;

}

.page-polityka ul li {
  display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
  color: #707070;
}

.page-polityka li::before {
  content: "\2022";
  color: #707070;
  font-weight: bold;
  display: flex;
  padding-right: 5px;
}

.page-polityka sup {
  font-size: 10px;
  line-height: 1;
}

.page-polityka h1 {
  margin-bottom: 10px;
}

.page-polityka .subtitle-policy {
  font-size: 20px;
  margin-bottom: 30px;
  color: #40C0F0;
}

footer li a {
  font-size: 14px;
  color: #2e3092;
}

/*popup*/
.popup {
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  z-index: 10000;
  text-align: center;
  position: fixed;
  width: auto;
  max-width: 870px;
  margin: 0 auto;
  font-family: var(--mainfontmedium);
  width: 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.mfp-wrap.mfp-ready .mfp-content .popup.active {
  visibility: visible;
}

.popup .popup-image {
  background-size: cover;
  height: auto;
  min-height: 315px;
  width: 60%;
  background-position: center;
}

.popup .popup-text {
  width: 40%;
  height: auto;
}

.popup .popup-content {
  display: flex;
  border-radius: 10px;
  overflow: hidden;
}

.popup .popup-text {
  background-color: #1D99DC;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.popup .popup-link {
  background-color: #ffffff;
  font-size: 24px;
  color: #C1903B;
  text-transform: uppercase;
  padding: 8px 5px;

}

.popup .popup-tresc {
  padding: 39px 22px 28px;
  font-size: 45px;
  line-height: 52px;
  text-transform: uppercase;
  word-break: break-word;
  color: #ffffff;
  height: 100%;
  display: flex;
  align-items: center;
}

.popup .popup-link:hover {
  color: #ffffff;
  background-color: #C1903B;
}

.mfp-wrap.mfp-ready .mfp-content .popup.active {
  opacity: 1;
}

.mfp-bg.mfp-ready {
  background-color: #32240b;
}

/* Animation CSS */
/* overlay at start */
.mfp-fade.mfp-bg {
  opacity: 0;
  -webkit-transition: all 0.7s ease-out;
  -o-transition: all 0.7s ease-out;
  transition: all 0.7s ease-out;
}

/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready {
  opacity: 0.8;
}

/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}

/* content at start */
.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;
  -webkit-transition: all 0.7s ease-out;
  -o-transition: all 0.7s ease-out;
  transition: all 0.7s ease-out;
}

/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}

/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}

.popup .mfp-close {
  background: #a78700;
  color: #ffffff;
  right: 5px;
  top: 5px;
  color: white;
  border-radius: 100%;
  font-size: 40px;
  width: 37px;
  height: 37px;
  line-height: 37px;
}


@media(min-width:768px) {
  .footer__container ul li:first-child {
    text-align: left;
  }

  .footer__container ul li:last-child {
    text-align: right;
  }
}

footer ul li {
  color: #2e3092;
  font-size: 14px;
  font-family: var(--mainfontregular);
  padding: 10px 0;
  flex-wrap: wrap;
}

@media(max-width:1150px) {
  .page-polityka main .content {
    padding: 0 25px;
  }

  .page-polityka ul {
    padding-left: 37px;
  }

  .page-polityka p.list-child {
    padding-left: 19px;
  }

  .page-polityka p.text-policy {
    padding-left: 48px;
  }

  footer .footer__container ul,
  header {
    padding: 0 20px;
  }
}

@media(min-width:768px) {
  .menu-desktop {
    display: block;
  }

  .menu-mobile {
    display: none;
  }

}

@media(max-width:767px) {
  .contact-section-with-title {
    margin-left: 0px;
  }

  body:not(.home) .container100 .contact h1,
  .contact ul+p,
  h1 {
    font-size: 24px;
  }

  body:not(.home) .container100 .title h1 {
    font-size: 20px;
  }

  .formularz-kontatkowy h2 {
    font-size: 22px;
  }

  .menu-desktop {
    display: none;
  }

  .menu-mobile {
    display: block;
  }

  header .container nav img {
    max-width: 170px;
  }

  nav {
    padding: 10px 0 8px;
  }

  .page-polityka ul {
    padding: 0 10px 0 38px;
  }

  .total-mobile-menu-wrapper.open {
    left: 0;
  }

  .total-mobile-menu-wrapper {
    left: 100%;
    display: flex;
    justify-content: center;
    -webkit-transition: all .3s ease-out;
    transition: all .3s ease-out;
    position: fixed;
    height: calc(100vh - 80px);
    top: 80px;
    width: 100%;
    overflow: scroll;
    background: #ffffff;
    z-index: 2;
    box-shadow: inset 0 32px 25px -14px rgba(0, 0, 0, 0.2);
  }

  .total-mobile-menu-wrapper,
  .menu-mobilne,
  .menu-menu-mobilne {
    width: 100%;
  }

  .menu-mobile .total-mobile-menu-wrapper ul li {
    margin-top: 20px;
    padding: 5px 0;
    width: 200px;
    border-top: 1px solid #2E3092;
    border-bottom: 1px solid #2E3092;
  }

  .switcher {
    display: flex;
    margin-right: 80px;
  }

  :lang(pl-PL) .lang-item-4 a,
  :lang(en-GB) .lang-item-7 a {
    color: #2E3092;
    font-weight: bold;
  }

  nav .menu-mobile ul li.lang-item-4 {
    margin-right: 5px;
    border-right: 1px solid #2E3092;
    padding-right: 5px;
  }

  .icons {
    justify-content: center;
  }

  footer .footer__container ul {
    grid-template-columns: 1fr
  }

  body footer .footer__container ul li {
    text-align: center;
    padding: 5px 0;
  }

  .page-contact .container {
    grid-template-columns: 1fr;
  }

  .contact-section,
  .contact-section:nth-of-type(3) {
    display: block;
    justify-self: center;
  }

  .contact-section h3,
  .contact-section h3+p {
    text-align: center;
  }

  .formularz-kontatkowy h2 {
    text-align: center;
  }

  .wrapper50 .contact-section h2,
  .wrapper50 .contact-section h3,
  .wrapper50 .contact-section h4,
  .wrapper50 .contact-section p {
    text-align: center;
  }

  .contact-section.contact-sales {
    display: flex;
    flex-direction: column;
  }

  .contact-section.contact-sales .icon {
    order: 3;
    padding: 10px 0;
  }

  .contact-section.contact-sales h4 {
    order: 1;
  }

  .contact-section.contact-sales p:first-of-type {
    order: 2;
  }

  .contact-section.contact-sales p:nth-of-type(2) {
    order: 4;
  }

  .contact-section.contact-small-section {
    margin-left: 0;
  }

  .contact-section.last-section-contact img {
    padding-left: 0px;
  }

  .contact-small-section p {
    padding: 10px 0;
  }

}

@media(max-width:1024px) {
  .popup {
    max-width: 90%;
  }

}

@media(max-width:767px) and (orientation:portrait), (max-width:932px) and (orientation:landscape) {
  .popup .popup-content {
    flex-direction: column;
  }

  .popup .popup-image,
  .popup .popup-text {
    width: 100%;
  }

  .popup .popup-tresc {
    font-size: 36px;
    line-height: 38px;
  }
}

@media(max-width:903px) {
  .contact-section-with-title {
    margin-left: 5px;
  }
}

@media(max-width:767px) and (orientation:portrait), (max-width:932px) and (orientation:landscape) {
  .popup {
    max-width: 90%;
    width: 90%;
    overflow-y: auto;
    max-height: 80vh;
  }

  .popup .popup-content {
    flex-direction: column;
  }

  .popup .popup-image,
  .popup .popup-text {
    width: 100%;
  }

  .popup .popup-tresc {
    font-size: 36px;
    line-height: 38px;
  }
}

@media(max-width:926px) and (orientation:landscape) {
  .text {
    width: 100%;
  }

  .wrapper50 {
    margin: 0 10px;
  }

  .wpcf7-form-control-wrap {
    display: flex;
  }

  .popup {
    transform: translate(-50%, -43%);
  }

  .popup-content {
    max-width: 80%;
    margin: 0 auto;
  }

  .popup .popup-image {
    min-height: 160px;
  }

  .popup .popup-tresc {
    font-size: 22px;
    line-height: 16px;
  }

}

.error-404 {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}