/*
 Theme Name:   GeneratePress Faddi Erika
 Theme URI:    https://generatepress.com
 Description:  faddierika.hu GeneratePress child theme
 Author:       Csaba Szurmik
 Author URI:   https://csabaszurmik.com
 Template:     generatepress
 Version:      0.1
*/
:root {
	--color-pink: #d98ca1;
	--color-tan: #ca9172;
	--color-tan-light: #edd3c4;
  }
body {
	overflow-x: hidden;
}

.mb-0 {
	margin-bottom: 0 !important;
}

h1, h3 {
    color: var(--color-pink);
}

h2 {
    color: var(--color-tan);
}



li::marker {
    color: var(--color-pink);   
}

a[href^="tel:"] {
	color: var(--contrast);
	text-decoration: none;
}
a[href^="tel:"]:hover {
	color: var(--contrast);
	text-decoration: none;
}

.displaynone {
	display: none !important;
}
.header-container .gb-shapes {
	z-index: 1;
}

.separate-containers .site-main {
    margin: 0;
}

.site-content {
	margin: 0 20px;
}

.gb-container.header-container{
	background-attachment: initial;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background-position-y: 0px;
	background-size: 150%;
}
@media screen and (min-width: 500px) {
	.gb-container.header-container{
		background-size: 120%;
	}
}
@media screen and (min-width: 767px) {
	.gb-container.header-container{
		background-size: cover;
	}
}
.dermatology .gb-container.header-container{
	/* background-position-y: -50px; */
}
.gb-container.header-container .header-text {
	min-height: 20vw;
	display: flex;
    align-items: center;
}


/* @media screen and (max-width: 1024px) {
	.gb-container.header-container{
		height: 35vh;
	}
}
@media screen and (max-width: 767px) {
	.gb-container.header-container{
		height: 25vh;
		background-position-y: 0;
	}
} */

.gb-container.header-container > .gb-inside-container{
	margin: 0 20px;
	height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.gb-container.header-container nav {
	margin-top: 2rem;
}
.wp-block-navigation__container {
	gap: 1.5em;
}
@media screen and (max-width: 767px) {
	.gb-container.header-container nav {
		margin-top: 1rem;
	}
}
.wp-block-navigation__responsive-container.is-menu-open {
    padding: 1rem 2rem;
}
/*
@media screen and (max-width: 767px) {
	.gb-container.header-container{
		background-position-y: 0px;
		background-size: auto 200%;
	}
} */

.no-last-margin .gb-inside-container p:last-child {
	margin-bottom: 0;
}

.grid-container {
    max-width: 980px;
}


.wp-block-navigation__responsive-container {
	display: none !important;
}
.wp-block-navigation__responsive-container.is-menu-open {
	display: flex !important;
}

@media screen and (min-width: 950px) {
	.wp-block-navigation__responsive-container {
		display: block !important;
	}
}
.wp-block-navigation__responsive-container-open {
	display: flex !important;
}
@media screen and (min-width: 950px) {
	.wp-block-navigation__responsive-container-open {
		display: none !important;
	}
}

ul.wp-block-navigation__submenu-container {
	background: transparent;
	min-width: 220px;
}

.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) {
    background-color: inherit;
    color: inherit;
    position: absolute;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: normal;
    opacity: 0;
    transition: all .15s linear;
    visibility: hidden;
    width: 0;
    height: 0;
    overflow: hidden;
    left: -1px;
    top: 100%;
}


.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
    background-color: transparent;
    color: #000;
    border: none;
	padding: 10px 10px 0;
}

@media screen and (min-width: 782px) {
	ul.wp-block-navigation__submenu-container::before,
	.wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container) .wp-block-navigation__submenu-container:before {
		content: "";
		width: 100%;
		height: calc(100% - 10px);
		background: white;
		position: absolute;
		left: 0;
		top: 0;
		margin-top: 10px;
	}
}
.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container {
	margin-top: -10px;
}

.wp-block-navigation .has-child:where(:not(.open-on-click)):hover>.wp-block-navigation__submenu-container {
    visibility: visible;
    overflow: visible;
    opacity: 1;
    width: auto;
    height: auto;
    min-width: 220px;
}

button.wp-block-navigation__submenu-icon.wp-block-navigation-submenu__toggle {
    margin-right: 10px;
}

ul.wp-block-navigation__submenu-container li {
	transition: all .15s linear;
	margin-left: -10px;
	margin-right: -10px;

}
ul.wp-block-navigation__submenu-container li:hover {
	background-color: rgba(217, 140, 161, 0.2);
	/* background: radial-gradient(circle, rgba(255,255,255,5) 0%, rgba(255,255,255,0) 100%); */
}

.separate-containers .inside-article {
	padding-top: 0;
}




.gb-grid-wrapper .wp-block-image {
	text-align: center;
}
.gb-container .wp-block-image img {
	max-width: 500px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}







/* .gb-button-wrapper .gb-button {
	background-color: var(--color-pink);
	position: relative;
}
.gb-button-wrapper .gb-button:hover::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color:  rgba(0,0,0,.4);
} */








.price_container {
	background-color: #fbfafa;
	max-width: 800px;
    margin: auto;
    padding: 20px 40px 10px 40px;
}
@media screen and (max-width: 767px) {
	.price_container {
		padding: 20px 20px 10px 20px;
	}
}
.price_container h2{
	color:#000;
	font-weight: 600;
}
.price_container .wp-block-table table {
	border: none;
}
/* .price_container .wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
	background-color: #f7edf0;
}
.price_container .wp-block-table.is-style-stripes tbody tr:nth-child(even) {
	background-color: #fff;
} */
.price_container .wp-block-table.is-style-stripes tbody tr {
	background-color: transparent;
}
.price_container .wp-block-table.is-style-stripes tbody tr td {
	font-size: 14px;
	padding: 8px 15px;
}
.price_container .wp-block-table.is-style-stripes tbody tr td:first-child::first-line {
	font-size: 18px;
}
.price_container .wp-block-table.is-style-stripes tbody tr td:last-child {
	font-size: 18px;
	font-weight: 300;
	white-space: nowrap;
}

.price_container .gb-grid-wrapper > .gb-grid-column > .gb-container {
	margin-left: 15px;
}

.price_container .gb-inside-container .gb-grid-wrapper .gb-grid-column:last-child .gb-headline {
	font-weight: 300;
}






























.treatments * {
transition: .3s all ease-in-out;
}
.treatments .treatment.gb-container{
    background-color: rgba(255, 255, 255, 0.8);
	border-radius: 10px;
	overflow: hidden;
}
.treatments .treatment > .gb-inside-container {
	height: 100%;
    display: flex;
    flex-direction: column;
}
.treatments .treatment > .gb-inside-container > .gb-button-wrapper{
	margin-top: auto;
	margin-bottom: 0;
}
.treatments .treatment > .gb-inside-container > .gb-button-wrapper .gb-button{
	width: unset;
	margin: auto;
}
.treatments .treatment .treatment-image {
	position: relative;
	border-radius: 10px;
    overflow: hidden;
	background-size: 100%;
	/* box-shadow: 1px 1px 1px 0px rgb(193 193 193 / 54%); */
	border-radius: 10px 10px 0 0;
}
@media screen and (max-width: 1100px) {
	.treatments .treatment .treatment-image {
		min-height: 220px;
	}
}
@media screen and (max-width: 900px) {
	.treatments .treatment .treatment-image {
		min-height: 180px;
	}
}
@media screen and (max-width: 500px) {
	.treatments .treatment .treatment-image {
		min-height: 190px;
	}
}
@media screen and (max-width: 410px) {
	.treatments .treatment .treatment-image {
		min-height: 180px;
	}
}
@media screen and (max-width: 380px) {
	.treatments .treatment .treatment-image {
		min-height: 160px;
	}
}
.treatments .treatment.inviewport .treatment-image, 
.treatments .treatment:hover .treatment-image{ 
	background-size: 105%;
}
.treatments .treatment .treatment-image::before {
  	background-color: rgb(255,255,255);
	background-color: rgb(233, 218, 210);
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	mix-blend-mode: color;
	position: absolute;
	top: 0;
	left: 0;
	transition: .2s all ease-in-out;
}
.treatments .treatment.inviewport .treatment-image::before,
.treatments .treatment:hover .treatment-image::before {
	opacity:0
}

.treatments .treatment .treatment-image h2{
	color: #d98ca1;
	background-color: rgba(255, 255, 255, 0.6);
	padding-top: 5px;
	padding-bottom: 5px;
	font-weight: 600;
	font-size: 30px;
	border-radius: 5px 5px 0 0;
}
@media screen and (max-width: 990px) {
	.treatments .treatment .treatment-image h2{
		font-size: 25px;
	}
}
@media screen and (max-width: 767px) {
	.treatments .treatment .treatment-image h2{
		font-size: 22px;
	}
}
.treatments .treatment.inviewport .treatment-image h2,
.treatments .treatment:hover .treatment-image h2{
	color: #fff;
	background-color: rgba(0,0,0,.4);
	padding-top: 10px;
	padding-bottom: 10px;
}



.surgeries * {
transition: .3s all ease-in-out;
}

.surgeries .surgery {
	position: relative;
	border-radius: 20px;
    overflow: hidden;
	background-color: #f3e6df;
}
.surgeries .surgery.inviewport,
.surgeries .surgery:hover {
	background-color: #f3e6df;
}
.surgeries .surgery .surgery-image {
	position: relative;
}
.surgeries .surgery .surgery-image::before {
  background-color: rgb(255,255,255);
	background-color: rgb(233, 218, 210);
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  mix-blend-mode: color;
  position: absolute;
  top: 0;
  left: 0;
}
.surgeries .surgery.inviewport .surgery-image::before,
.surgeries .surgery:hover .surgery-image::before {
	opacity:0
}

.surgeries .surgery .surgery-image{ 
	background-size: 100%;
}
.surgeries .surgery.inviewport .surgery-image, 
.surgeries .surgery:hover .surgery-image{ 
	background-size: 105%;
}

.surgeries .surgery .surgery-image {
	min-height: 230px;
}

@media screen and (max-width: 1100px) {
	.surgeries .surgery .surgery-image {
	min-height: 190px;
}
}
@media screen and (max-width: 1000px) {
	.surgeries .surgery .surgery-image {
	min-height: 140px;
}
}


.surgeries .surgery > .gb-inside-container > {
	background-color: #f3e6df;
}
.surgeries .surgery.inviewport,
.surgeries .surgery:hover {
	background-color: #f9f1ed;
	
}
.surgeries .surgery h2{
	color: inherit;
}
.surgeries .surgery.inviewport h2,
.surgeries .surgery:hover h2{
	color: #d98ca1;
}









.me figure {
	max-width: 250px;
	max-height: 250px;
	width: 100%;
	height: 100%;
	
}
.me img {
	position: relative;
	max-width: 100%;
	max-height: 100%;
}
.me > .gb-inside-container > .gb-container {
	position: relative;
}
.me > .gb-inside-container > .gb-container::before {
  background-color: rgb(255,255,255);
	background-color: rgb(233, 218, 210);
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  mix-blend-mode: color;
  position: absolute;
  top: 0;
  left: 0;
	transition: .3s all ease-in-out;
}
.me.inviewport > .gb-inside-container > .gb-container::before,
.me:hover > .gb-inside-container > .gb-container::before {
	opacity:0
}



#wpforms-233,
#wpforms-674 {
	max-width: 500px;
}
#wpforms-form-233 input.wpforms-field-medium,
#wpforms-form-674 input.wpforms-field-medium {
	max-width: 100%;
}

#photouploadform {
	max-width: 500px;
	margin: auto;
}

.form-item {
	padding: 10px 0;
}

.form-item label{
	display: block;
    font-weight: 700;
    font-size: 16px;
    float: none;
    line-height: 1.3;
    margin: 0 0 4px 0;
    padding: 0;
    word-break: break-word;
    word-wrap: break-word;
}
.form-item label .required{
	display: inline-block;
	color: #ff0000;
	margin-left: 5px;
}
.form-item input[type="text"]{
	background-color: #fff;
    box-sizing: border-box;
    border-radius: 2px;
    color: #333;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    display: block;
    float: none;
    font-size: 16px;
    font-family: inherit;
    border: 1px solid #ccc;
    padding: 6px 10px;
    height: 38px;
    width: 100%;
    line-height: 1.3;
}
.form-item textarea{
	background-color: #fff;
    box-sizing: border-box;
    border-radius: 2px;
    color: #333;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    display: block;
    font-size: 16px;
    border: 1px solid #ccc;
    padding: 6px 10px;
    min-height: 80px;
    width: 100%;
    line-height: 1.3;
}

.form-item.error .small {
	font-size: 80%;
	color: #ff0000;
}
/* .form-item.error .small:first-of-type {
	margin-top: 5px;
} */
.form-item.error > .small {
    margin-top: 5px;
}

.form-item.error > .small ~ .small {
    margin-top: 0;
}
.form-item.kepek.error .small {
	text-align: center;
    /* margin-top: 20px; */
}



#upload-preview label{
	margin-top: 30px;
}
#upload-preview .images {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	margin-left: -5px;
	margin-right: -5px;
}
#upload-preview .image-preview {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 240px;
	height: 240px;
	padding: 5px;
	margin: 5px;
	background-color: #f4efe9;
}
@media screen and (max-width: 600px) {
	#upload-preview .image-preview {
		width: calc(50vw - 20px - 15px);
		height: calc(50vw - 20px - 15px);
	}
}

#upload-preview .image-preview img {
	max-width: 100%;
	max-height: 100%;
}
#fileToUploadBtn,
#photouploadsubmit {
	margin: auto;
	display: block;
}
#photouploadsubmit {
	margin-top: 20px;
}


.loader-spinner {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: block;
  /* border-top: 4px solid #d98ca1; */
  border-top: 4px solid var(--color-tan-light);
  border-right: 4px solid transparent;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
  margin: 20px auto 30px auto;
}
.loader-spinner::after {
  content: '';  
  box-sizing: border-box;
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border-bottom: 4px solid var(--color-pink);
  border-left: 4px solid transparent;
}
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
} 


.header-container h1 {
	text-transform: capitalize;
}
.featured-image.page-header-image {
	display: none;
}




.modal_backdrop {
    display: none;
    background-color: rgba(0, 0, 0, 0.347);
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    z-index: 100;
}
.modal_backdrop .modal_body {
    background-color: #fff;
    box-shadow: 0px 4px 40px #444;
    border-radius: 0;
    max-width: 450px;
    width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    padding: 40px;
}
.modal_backdrop .modal_body .modal_content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    flex-grow: 1;
}
.modal_backdrop .modal_body .modal_title {
    font-size: 28px;
    line-height: 42px;
    margin-bottom: 20px;
	align-self: center;
	/* margin-left: 0;
	margin-right: auto; */
} 
.modal_backdrop .modal_body p {
    font-size: 18px;
    line-height: 26px;
} 
.modal_backdrop .modal_body p:last-child {
    margin-bottom: 0;
}
.modal_backdrop .modal_body p.important {
    font-weight: 700;
	font-size: 70%;
    line-height: 15px;
    padding-left: 30px;
	position: relative;
}
.modal_backdrop .modal_body p.important::before {
	content: "ⓘ";
	position: absolute;
	left: 0;
	top: calc(50% - 8px);
    font-size: large;
    font-weight: 900;
}
.modal_btns {
    margin-top: 30px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: 0;
}




#gmap_canvas {
	width: 100%;
	margin: auto;
	height: 500px;
}


