/*
Theme Name: UnderStrap
Theme URI: http://understrap.com
Author: Holger Koenemann
Author URI: http://www.holgerkoenemann.de
GitHub Theme URI: https://github.com/understrap/understrap
Description: Combination of Automattic´s _s theme and Bootstrap 4. Made as a solid starting point for your next theme project and WordPress website. Use it as starter theme or as a parent theme. It is up to you. Including Font Awesome support, built-in widget slider and much more you need for basic websites. IMPORTANT: All developer dependencies are not bundled with this install file. Just download the .zip, extract it and run "npm install" and "gulp copy-assets" inside the extracted /understrap folder. 
That downloads everything and moves it in place so that you can recompile your CSS and JS files;
A developer version (with Gulp/node and Sass sources) is available on gitHub: https://github.com/understrap/understrap
A child theme is available on Github, too: https://github.com/understrap/understrap-child;
Version: 0.8.6
License: UnderStrap WordPress Theme, Copyright 2013-2017 Holger Koenemann
UnderStrap is distributed under the terms of the GNU GPL version 2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: understrap
*/
cookie-consent button::after, cookie-consent .button::after, cookie-consent input[type=submit]::after{
	display:none !important;
}
.wpcf7-acceptance label input{
	align-self:flex-start;
	position:relative;
	top: 6px;
}
.header__nav ul li.wide-menu ul{
    top: 135px;
    transform: translateX(-50%);
    left: 50%;
    position: fixed;
}
.content__header {
    padding-right: 18vw;
}
.sidemenu {
    top: 32px;
}
.single__menu ul li a{
	max-width:325px;
}
.header__nav ul li ul li a {
    line-height: 1.4;
}
.header--black {
	background-color: rgba(255, 255, 255, 1);
}
.header--black:not(.scrolled) .btn-black:hover {
	border-radius: 99px;
}
.header--black:not(.scrolled) .btn-black:not(:hover) {
	background-color: #1D1D1B;
	color: #FFFFFF;
}
.header--black:not(.scrolled) .btn-black:not(:hover):after {
  filter: invert(1) brightness(2);
}

.header--black:not(.scrolled) .menu-chevron svg path {
	stroke: #50504F;
}
.header--black .hamburger  span {
	background-color: #50504f;
}
.header {
	position: absolute;
}

@keyframes bounceUp {
  0% {
    bottom: 35px;
  }
  50% {
    bottom: 28px;
  }
  100% {
    bottom: 35px;
  }
}
.wrapper--home .wallpaper__inner .btn-white {
	    padding: 24px 62px 24px 34px;
}
.wrapper--home .wallpaper__inner .btn-white:after {
	animation: bounceUp 1.5s ease-in-out infinite;
}
.single-post {
	overflow: hidden;
}
.single-post__image {
	position: relative;
}
.single-post__image::before {
    content: "";
    position: absolute;
    left: -100px;
    top: 50%;
    transform: translateY(-50%);
    height: 284px;
	max-height: 80%;
    width: 100vw;
    background-color: #eff1f4;
}
.single-post__image img {
    position: relative;
}
.about {
    margin: 320px 0 112px;
}
.content__text h4 {
	margin: 64px 0 32px 0;
}
.content__text h5 {
	margin-top: 24px;
}
.content__text ul {
	margin: 8px 0;
}
.content__text p {
	margin: 0 0 8px 0;
}
.content__text ol {
	padding-left: 15px;
}

.numbered-heading {
	display: flex;
	  align-items: flex-start;
	  gap: 4px;
	line-height: 1.5;
}
.numbered-heading__number {
  flex-shrink: 0;
  white-space: nowrap;
}
.numbered-heading__text {
  flex: 1;
}

.content__text--faq {
	padding: 32px 18vw 96px 150px;
}
.content__text--pricing {
	padding: 32px 10vw 74px 150px;
}
.content__text--pricing h6 {
	min-width: 200px;
	text-align: right;
	padding-left: 20px;
}
.wrapper--pricing .single__content  {
	padding-right: 0;
}
.pricing__text {
	padding-top: 0;
}
.content__image {
	margin-top: 16px;
	padding: 0 100px 0 150px;
    margin-bottom: 16px;
}
.content__text h4:first-child{
	margin-top:0;
}

.select2-results__option {
	padding: 14px 16px;
}
.select2-container {
	width: calc(100% - 30px);
}
.blog {
	overflow: hidden;
}

.wrapper--contact .content__text {
	padding: 32px 15px 32px 150px;
}
.footer__contact__single {
	gap: 8px;
}
.footer__copy p, .footer__copy a {
	color: #898988;
}
.footer__copy a:hover {
	color: #50504f;
}
.footer--cold-bg {
    background-color: #EFF1F4;
}


form input::placeholder, form input, 
form textarea::placeholder, form textarea {
	color: #50504F;
}
form input:focus::placeholder, form input:focus,
form textarea:focus::placeholder, form textarea:focus {
	color: #1D1D1B;
}

.date-input-icon {
	position: absolute;
	right: 32px;
    top: 18px;
	pointer-events: none; /* important */
	width: 24px;
	height: 24px;
	background: #ffffff;
}
.cf7-date-switch {
	padding-right: 22px !important;
}

.contact__info {
	width: 300px;
	margin-right: 10%;
}

.contact__form {
	max-width: 750px;
	width: 60%;
}
.contact-map {
	margin: 0;
	width: 100%;
}
.contact-map__link {
	width: 100%;
}
.contact-map img {
	width: 100%;
	height: 650px;
	object-fit: cover;
}
.contact__content {
	padding: 0;
}
.metamorphoses__single__content .short-text p {
    max-width: 420px;
  }
.bg-section .bg-section__content p {
	max-width: 600px;
}

.cf7-date-switch {
	background-image: url('../img/arrow-black.svg');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

.wrapper--home .big-photo {
	position: sticky;
    top: 0;
	padding-bottom: 80px;
    margin-bottom: 0;
}

.wrapper--home .big-photo__inner {
	background: none;
}
.wrapper--home .big-photo__inner img {
	display: block;
	height: 100%;
	width: 100%;
	object-fit: cover;
}

.white-bg {
	background: #fff;
	position: relative;
}

.wrapper--home section.headline {
	padding-top: 80px;
	margin-top: 0;
}

.single__menu ul li a svg path  {
	transition: .3s;
}
.single__menu ul li a:hover svg path  {
	stroke: #c0c0bf;
}

.faq__button {
    margin-top: 16px;
}
.faq__button button span {
	margin-right: 5px;
}
.single-post__links .single-post__meta h6 {
	overflow: hidden;
   display: -webkit-box;
   -webkit-line-clamp: 3;
           line-clamp: 3; 
   -webkit-box-orient: vertical;
}

.single-post__links a svg path  {
	transition: .3s;
}
.single-post__links a:hover svg path  {
	stroke: #c0c0bf;
}

.appointment {
	margin-bottom: 30px;
}

.team__title--mobile {
	display: none;
}
.wallpaper-page h1{
	color:#fff;
}

@media (max-width: 1681px) and (min-width: 1201px) {
	.header__nav ul li.wide-menu ul li a {
		padding: 12px 10%;
	}
	.header__nav ul li.wide-menu ul.sub-menu {
		width: 75vw;
    left: 50%;
	}
	.lekarz__certyfikaty__photos {
		width: calc(100% - 150px);
		margin-left: 75px;
	}
}


@media (max-width: 1200px) {
	.header {
  		position: fixed;
	}
	.header.scrolled {
		box-shadow: 0px 4px 4px 0px #00000026;
	} 
	.header--black {
		box-shadow: 0px 4px 4px 0px #00000026;
	}
    .doctor {
        margin-top: 32px;
		margin-bottom:16px;
    }
	.contact-form-section > .row {
		flex-direction: column-reverse;
	}
    .contact-form-section__image {
        display: block;
		padding: 15px 15px 0;
    }
	.lekarz__photo {
		order: 2;
		margin-bottom: 48px;
		padding: 0 40px;
	}
	.wrapper--single-usluga .lekarz__photo{
		order:-1;
	}
	.lekarz__photo img {
		height: 340px;
		max-width: 270px;
		margin: 0 auto;
		display: block;
	}
	.lekarz__info {
		order: 1;
		padding: 0 0 24px 0;
	}
	.lekarz__znany  {
		order: 3;
		padding: 0 0 24px 0;
	}
	.lekarz__info h6 {
		margin-bottom: 20px;
	}
	.lekarz__certyfikaty  {
		order: 4;
		margin-top: 0;
		padding: 0 0 64px 0;
	}
	.lekarz__certyfikaty__photos {
		margin-top: 24px;
	}
	.metamorphoses__content {
    	padding: 0;
	}
	.bg-section {
		margin-top: 64px;
		position: relative;
	}
	.single-post {
		margin-top: 70px;
		padding: 0 15px;
	}
	.contact__content {
		padding: 0;
	}
	.contact__info {
		width: 100%;
		margin-right: 0;
	}

	.contact__form {
		max-width: 750px;
		width: 100%;
	}
	.about {
        margin: 64px 0;
    }
	.team {
		padding-bottom: 48px;
	}

}

@media (max-width: 991px) {
	.wallpaper__inner h4{
		margin-bottom:0;
	}
		section {
 	 	margin: 32px 0;
	}
	.wallpaper-page {
    	height: 400px;
	}
	.wallpaper-page h1 {
		font-size: 31px;
		margin-bottom: 74px;
	}
	
	.single__content  {
		padding-left: 0;
		padding-right: 0;
	}
	.content__header {
		padding: 17px 15px;
	}
	.content__text,
	.content__text--faq,
	.content__text--pricing {
		padding: 24px 15px;
	}
	.content__text--pricing h6 {
		min-width: 119px;
		max-width: 180px;
	}
	.single__content .content__text--faq  {
		padding-bottom: 0;
	}
	.content__text h4 {
		margin: 32px 0 24px 0;
		font-size: 20px;
	}
	.content__text ul li {
		color: #1D1D1B;
	}
	
	.content__image {
		padding: 0 15px;
		margin: 20px 0;
	}
	
	.faq__single__title {
		padding: 16px 8px;
	}
	.faq__button {
    	text-align: center;
		margin-top: 24px;
	}
	
	.faq__button button span {
		text-transform: capitalize;
	}
	.faq__button .faq__button--hidden {
		display: none;
	}
	.faq--pricing h4 {
		font-weight: 400;
	}
	.faq--pricing {
		margin-bottom: 40px;
	}
	
    .wrapper:not(.wrapper--home) .contact-form-section__header {
        text-align: left;
    }
	.wrapper:not(.wrapper--home) .contact-form-section__header h3 {
	    font-size: 20px;
		line-height: 1.6;
		font-weight: 700;
		margin-bottom: 8px;
	}	

	.about-page {
	    padding: 0 15px;
	}
	.about-page__content {
		padding: 24px 0;
	}
	.about-page__image {
		padding: 0;
	}
	.about2 {
    	padding: 32px 0 32px;
		position: relative;
		top: unset;
	}
	 .about2__content {
		padding: 0 15px 8px;
	}
	.about2 > .row {
		flex-direction: column-reverse;
	}
	.about-page__image img {
		height: auto;
		max-height: 500px;
	}
	.about-page__image::before {
		width: 100vw;
		height: 100px;
		right: -15px;
	}
	.headline--about h1 {
		font-size: 31px;
		padding: 0;
	}
	.headline--about {
		margin: 64px 0;
	}
	.team {
		padding: 32px 0;
	}
	.team__title {
		margin-bottom: 0;
		display: none;
	}
	.team__title--mobile {
		display: block;
	}
	.wrapper--about .team {
		padding-top: 0;
	}

	.metamorphoses__text {
		padding: 32px 15px;
	}
	.metamorphoses__single {
		margin-top: 48px;
		padding-bottom: 48px;
		position: relative;
	}
	
	.metamorphoses__single:not(:last-of-type):after {
		width: calc(100% - 30px);
		height: 2px;
		bottom: 0;
		left: 15px;
		content: '';
		position: absolute;
		background-color: #DBDDE0;
	}
	.metamorphoses__single__content button {
		position: relative;
		bottom: unset;
		right: unset;
		margin: 16px auto 0;
		display: block;
	}
	.metamorphoses__single__content {
		padding: 24px 15px;
	}
	.metamorphoses__single h4 {
		font-size: 20px;
	}
	
	.metamorphoses__single__slider .splide__arrow {
		width: 75px;
		height: 75px;
	}
	.metamorphoses__single__slider  .splide__arrow--prev {
		left: 8px;
	}
	.metamorphoses__single__slider  .splide__arrow--next {
		right: 8px;
		left: unset;
	}
	.metamorphoses__single__slider  .splide__arrow {
		bottom: unset;
		top: 50%;
		transform: translateY(-50%);
	}
	.metamorphoses__single__slider__slide {
		height: 196px;
	}
	svg.metamorphoses-popup__close  {
		fill: #FFFFFF;
	}
	svg.metamorphoses-popup__close  path:not(:first-child) {
		stroke: #1D1D1B;
	}
	.metamorphoses-popup__content .metamorphoses__single__slider__slide {
		height: 55vw;
		max-height: 300px;
	}
	.metamorphoses-popup__container {
		max-width: 500px;
	}
	.metamorphoses-popup__content .metamorphoses__single__slider__slide::after,
	.metamorphoses-popup__content .metamorphoses__single__slider__slide:nth-child(even)::after {
/* 	content: unset;	 */
	}
	.metamorphoses-popup__content .metamorphoses__single__content {
		padding: 16px 8px;
	}
	
	.bg-section {
	    padding: 0;
		margin: 0 0 0;	
	}
	.bg-section .row {
		padding: 24px 15px;
		background-color: #eff1f4;
	}
	.bg-section__content {
		padding: 24px 10px;
		margin-bottom: 24px;
	}
	.bg-section__image {
		padding-right: 0;
	}
	.bg-section__image img {
    	height: 250px;
	}
	.wrapper--metamorphoses .opinions {
    	margin-top: 110px;
		padding-bottom: 24px;
	}
	.wrapper--metamorphoses .opinions::before {
    	content: unset;
	}
	.single-post {
		padding: 0;
	}
	.single-post__content {
		margin: 32px 0;
	}
	.single-post__content h4 {
		font-size: 20px;
	}
	.single-post__link--prev .single-post__meta h6, 
	.single-post__link--next .single-post__meta h6 {
		display: none;
	}
	.single-post__links a {
		flex-direction: column;
		align-items: flex-end;
	}
	.single-post__links a:first-child {
		flex-direction: column-reverse;
		align-items: flex-start;
	}
	.single-post__links {
		margin-top: 16px;
		padding: 24px 0 32px;
	}
	.single-post__thumb {
		flex: 0 0 auto;
		padding: 0 0 8px 0;
		width: 132px;
		height: 122px;
	}
	.blog__content  {
		padding: 0; 
		margin-bottom: 0;
	}
	.blog .row:nth-child(2) {
		width: 100%;
		margin-left: 0;
	}
	.blog__single {
		padding: 48px 0;
		border-bottom: 2px solid #DBDDE0;
	}
	.blog__single:last-of-type {
		border-bottom: none;
	}
	.blog__single::before {
		content: unset;
	}
	.blog__single__inner {
    flex-direction: column;
	}
	
	.blog__single__image {
		margin-bottom:8px;
	}
	.blog__single__content {
		padding: 0;
	}
	.blog__single__content h4 {
		font-size: 20px;
	}
	.wrapper--blog .pagination-links {
		margin: 0 0 64px;
	}
	.wrapper--faq .content__text--faq {
		padding-bottom: 64px;
	}
	.wrapper--contact .content__text {
		padding: 32px 0 0;
	}
	.contact__info {
		padding: 0 15px;
	}
	.appointment__znany {
		padding: 0;
		margin-top: 48px;
	}
	.appointment__content  {
		padding: 0;
	}
	.contact-map img {
		height: 345px;
	}
	.pricing__text {
		padding-top: 0;
		padding-bottom:20px;
	}
	
	.footer__copy {
		margin-top: 48px;
	}
	.footer__menu  {
		margin-top: 24px;
	}
	.footer__menu ul li a {
		margin: 0;
	}
	.footer__copy p {
        line-height: 1.6;
	}
	.opinions__header h3 {
		font-size: 20px;
		font-weight: 700;
		padding: 0 23px;
		line-height: 1.6;
	}

	.opinions__header {
		height: 92px;
	}
	
	.index h3 {
		font-size: 20px;
		font-weight: 700;
		line-height: 1.5;
	}
	
	.wrapper--single-usluga .content__image img {
		height: auto;
		max-height: 300px;
	}
	.wrapper--single-usluga .content__image:before {
		height: 100px;
		width: 100vw;
		right: 0;
	}
	.wrapper--single-usluga .content__image {
		margin-bottom: 0;	
	}

}

@media (max-width: 620px) {
	.faq--pricing h4 {
		max-width: 240px;
	}
	
	.metamorphoses-popup__container {
		max-width: 90vw;
	}

}
@media (max-width: 420px) {
	.team .doctor {
		width: 100%;
	}
}