/*
 Theme Name:     kozosmuhely
 Author:         kozosmuhely
 Template:       calafate
 Version:        1.0
*/


/* testimonial slider fix */

@media screen and (max-width: 480px) {
    .calafate-slider .flickity-page-dots {
        display: block !important;
    }
}

.calafate-slider .flickity-page-dots {
	top: -3rem;
	z-index: -1;

}

.flickity-viewport {
	margin-top: 3rem;
}

.calafate-slider .flickity-slider .carousel-cell img {
	border-radius: 50%;
}

/* underlined links fix */
a .underlined-heading {
	font-weight: 500!important;
	color: #0a0a0a!important;
}


/* shop cover page fix */

.page-template-template-cover .cover-item h3,
.page-template-template-cover .cover-item #respond .form-submit #submit,
#respond .form-submit .page-template-template-cover .cover-item #submit {
	font-size: 1.25rem;
	line-height: 1rem;
}
.page-template-template-cover .cover-item {
	padding: 8px 0;
}
.page-template-template-cover .cover-item:last-of-type {
	margin-top: 4rem;
}
h2.covers-title {
	font-style: italic;
}
.covers-holder > .bg::before,
.page-template-template-cover .covers-background::before,
.page-template-template-cover .covers-background > .image::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 66.6%;
	height: 100%;
	background: linear-gradient(to right, rgba(0, 0, 0, 0.666), rgba(0, 0, 0, 0));
	pointer-events: none; /* Allows interactions through the overlay */
}


/* privacy policy headline fix */

.privacy-policy h2.wp-block-heading,
.page-id-2622 h2.wp-block-heading{
	margin: 4rem 0 2rem 0;
}


/* form fields fix */

input[type="submit"]:hover {
	color: #b5eace;
}

.wpcf7 input,
.wpcf7 textarea, 
.mc4wp-form-fields input,
.mc4wp-form-fields textarea {
    color: #0a0a0a;
    background-color: #ffffff;
	border: 1px solid lightgray;
	font-size: 1rem;
	line-height: 1.25rem;
}
.wpcf7 input[type="submit"],
.mc4wp-form-fields input[type="submit"]{
	border: none;
	padding: 0;
	font-size: 2.5rem;
	line-height: 2.75rem;
}
.wpcf7 input[type="file"] {
	border: none;
}
.wpcf7 label>span {
	margin: 8px 0;
}
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 textarea {
	padding: 0 20px;
}
.wpcf7 textarea {
	padding-top: 20px;
}
.file-upload input {
	padding: 1rem;
}

.wpcf7-validation-errors,
div.wpcf7-validation-errors,
div.wpcf7-acceptance-missing,
div.wpcf7-response-output {
	background-color: #b5eace!important;
	width: 100%!important;
}

a.no-style-link {
	color: black!important;
	font-weight: 400!important;
}

a.no-style-link:hover,
a.no-style-link:focus {
	color: black!important;
}


/* captcha fix */

.grecaptcha-badge {
	display: none;
	visibility: hidden;
	opacity: 0;
	width: 0;
	height: 0;
}

/* magazine gallery adjustments */
h2.magazin-h2 {
	margin-bottom: 8px!important;
    margin-top: 24px!important;
    line-height: 1.1!important;
	font-size: 20px!important;
}

.calafate-gallery.magazine .calafate-gallery--item:not(:first-child) {
    display: none;
}
/*
.calafate-gallery.magazine .calafate-gallery--item:first-child {
    width: 100%;
} */

.fancybox-button.fancybox-button--thumbs,
.fancybox-caption {
	display: none;
}
.fancybox-button--close {
	top: 3vw!important;
	display: flex;
	width: 100%;
	justify-content: flex-end;
	padding-right: 5vw;
}
.fancybox-button--close > svg {
	width: auto;
}


/* follow fix */
@media screen and (max-width: 769px) {
.insta-container {
	margin-top: -2rem;
}
}