/*
Theme Name: Positivus
Author: Gábor Pintér
Description: Example project
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: positivus
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

:root :where(.is-layout-flow) > :first-child {
    margin-block-start: 0rem;
}
:root :where(.is-layout-flow) > :last-child {
    margin-block-start: 0rem;
}
:root :where(.is-layout-flow) > * {
	margin-block-start: 0rem;
}

/* ANCHOR HIDE FOR MOBILE & DESKTOP */

@media (max-width: 781px) {
	.hide-for-mobile {
		display: none;
	}
}

@media (min-width: 782px) {
	.hide-for-desktop {
		display: none;
	}
}

.responsive-flex {
    display: flex;
    flex-wrap: nowrap; /* Desktop: no wrap */
}

@media (max-width: 768px) {
    .responsive-flex {
        flex-wrap: wrap; /* Mobile: wrap */
    }
}

/* HOME TITLE */
.home-title {
	margin-top: 10rem;
	margin-bottom: 4rem;
	font-size: 18px;
}

.home-title-background {
	border-radius: 7px;
	padding: 5px;
}

.home-title h2 {
	font-size: 40px;
	
}

.home-title p {
	max-width: 600px;
	font-size: 18px;
}

@media (min-width: 769px) {
	.home-title p {
		margin-left: 40px;
	}
}

/* ANCHOR HOME HERO */
.home-hero .hero-title {
	font-weight: 500;
	
}

/* ANCHOR CLIENT LOGOS */

.client-logos-gallery {
	justify-content: space-between;
}

.client-logos-gallery figure.wp-block-image {
	filter: grayscale(1);
	
}
.client-logos-gallery figure.wp-block-image img {
	object-fit: contain !important;
}

.client-logos-gallery figure {
	width: 125px !important;
	max-width: 125px !important;
}


/* ANCHOR SERVICES */

.services-grid {
	display:grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
}

@media (max-width: 781px) {
	.services-grid {
		grid-template-columns: 1fr;
	}
}

.services-grid .service-item h3 {
	line-height: 1.2;
}

.services-grid > .service-item-container:nth-child(1) > .service-item {
	background-color: #f7f7f7;
}
.services-grid > .service-item-container:nth-child(2) > .service-item {
	background-color: #b9ff66;
}
.services-grid > .service-item-container:nth-child(3) > .service-item {
	background-color: #191A23;
}
.services-grid > .service-item-container:nth-child(4) > .service-item {
	background-color: #f7f7f7;
}
.services-grid > .service-item-container:nth-child(5) > .service-item {
	background-color: #b9ff66;
}
.services-grid > .service-item-container:nth-child(6) > .service-item {
	background-color: #191A23;
}

.services-grid > .service-item-container:nth-child(1) h3 > span {
	background-color: #b9ff66;
}
.services-grid > .service-item-container:nth-child(2) h3 > span {
	background-color: #fff;
}
.services-grid > .service-item-container:nth-child(3) h3 > span {
	background-color: #fff;
}
.services-grid > .service-item-container:nth-child(4) h3 > span {
	background-color: #b9ff66;
}
.services-grid > .service-item-container:nth-child(5) h3 > span {
	background-color: #fff;
}
.services-grid > .service-item-container:nth-child(6) h3 > span {
	background-color: #fff;
}

.services-grid > .service-item-container:nth-child(1) .service-learn-more-button a .dashicons {
	color: #b9ff66;
}

.services-grid > .service-item-container:nth-child(2) .service-learn-more-button a .dashicons {
	color: #b9ff66;
}

.services-grid > .service-item-container:nth-child(3) .service-learn-more-button a .dashicons {
	background-color: white;
	color: #000;
}

.services-grid > .service-item-container:nth-child(4) .service-learn-more-button a .dashicons {
	color: #b9ff66;
}

.services-grid > .service-item-container:nth-child(5) .service-learn-more-button a .dashicons {
	color: #b9ff66;
}

.services-grid > .service-item-container:nth-child(6) .service-learn-more-button a .dashicons {
	background-color: white;
	color: #000;
}


.services-grid > .service-item-container:nth-child(3) .service-learn-more-button a {
	color: #fff;
}

.services-grid > .service-item-container:nth-child(6) .service-learn-more-button a {
	color: #fff;
}

.service-item {
	border: 1px solid black;
	box-shadow: 0px 5px 0px black;
}

.service-item .wp-block-image {
	height: 210px;
}

.service-item-content {
	display: flex;
	flex-flow: column nowrap;
	justify-content: space-between;
}

.service-item .wp-block-image img {
	object-fit: contain;
	object-position: center center; /* or just "center" */
	width: 210px;
    height: 100%;
    
}

.service-learn-more-button a {
	display: flex;
	align-items: center;
	background-color: transparent;
	text-decoration: none;
	color: black;
	padding: 0rem;
}

.service-learn-more-button .dashicons-arrow-right-alt {
	transform: rotate(-45deg);
    display: block; /* Required for transform to work */
	color: white;
	background-color: black;
	padding: 15px;
	border-radius: 999px;
	margin-right: 1rem;
	font-size: 2rem;
	display: flex;
	justify-content: center;
	align-items: center;
}

.no-gap {
	gap: 0;
}


/* ANCHOR CALL TO ACTION */

.call-to-action {
	background-color: #F3F3F3;
	border-radius: 45px;
	padding: 60px;
	margin-top: 6rem;
	margin-top: 6rem;
}

.image-column {
	display: flex;
	justify-content: center;
}

@media (min-width: 782px) {
	.call-to-action img {
		max-height: 200px;
		transform: scale(2.2) translateY(10px);
	}
}

@media (max-width: 781px) {
	.call-to-action {
		padding: 2rem;
	}
}



/* ANCHOR CASE STUDIES */

.case-studies {
	background-color: #191A23;
	color: #fff;
	padding-top: 70px;
	padding-bottom: 70px;
	border-radius: 45px;
	font-size: 18px;
}

@media (min-width: 782px) {
	.case-studies .wp-block-column:nth-child(2) {
		border-left: 1px solid white;
		border-right: 1px solid white;
	}
}
.case-studies .wp-block-column {
	padding-left: 60px;
	padding-right: 60px;
}



.case-studies .wp-block-button a {
	color: #b9ff66;
	background-color: transparent;
	padding: 0rem;
	display: flex;
	align-items: center;
	margin-top: 20px;
}

.case-studies .dashicons {
	transform: rotate(-45deg);
    font-size: 2rem;
	margin-left: .5rem;
}

/* ANCHOR OUR WORKING PROCESS */
.our-working-process .process-step {
	background-color: #F3F3F3;
	padding: 41px;
	border-radius: 45px;
	border: 1px solid black;
	box-shadow: 0px 5px 0px black;
	margin-bottom: 30px;
}
.our-working-process .process-step:first-child {
	background-color: #b9ff66;
}

.our-working-process .step-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	
}

.our-working-process .step-header .step-left {
	display: flex;
	align-items: center;
}
.our-working-process .step-header .step-number {
	font-size: 60px;
	margin-right: 25px;
}
.our-working-process .step-header .step-title {
	display: 30px;
}
.our-working-process .step-header .dashicons {
	display: 30px;
	background-color: #F3F3F3;
	border: 1px solid black;
	color: black;
	font-size: 1.2rem;
	border-radius: 999px;
	padding: 1rem;
	display: flex;
	justify-content: center;
	align-items: center;
}

.our-working-process .step-content {
	margin-top: 30px;
	padding-top: 30px;
	font-size: 18px;
	border-top: 1px solid black;
}

/* ANCHOR TEAM */

.team-grid {
	display:grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 2rem;
}

@media (max-width: 781px) {
	.team-grid {
		grid-template-columns: 1fr;
	}
}

.team-grid .team-item-container {
	border-radius: 45px;
	border: 1px solid black;
	box-shadow: 0px 5px 0px black;
	padding: 40px;
	font-size: 18px;
}

.team-grid .team-item-header {
	display: flex;
	align-content: center;
	border-bottom: 1px solid black;
	margin-bottom: 1rem;
	padding-bottom: 1rem;
}

.team-grid .team-item-header-avatar {
	margin-right: 1rem;
}

.team-grid .team-item-header-social-and-name {
	display: flex;
	flex-flow: column nowrap;
	flex-grow: 1;
}

.team-grid .team-item-header-social img {
	display: block;
    margin-right: 0;
    margin-left: auto;
}

.team-grid .team-item-header-name h4 {
	font-weight: bold;
}

.see-all-team-members-button {
	margin-block-start: 2rem !important;
	margin-top: 2rem;
	display: flex;
	justify-content: flex-end;
}

.testimonials {
	background-color: #191A23;
	border-radius: 45px;
	padding-bottom: 60px;
	padding-top: 0px;
	overflow: hidden;
}

.testimonials-content {
	position: relative;
	height: 625px;
}

.testimonials-row {
	display: flex;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);

}

.testimonial-item {
	color: white;
	margin:0rem 2rem;
}


.testimonial-bubble-container {
	width: 606px;
	
}

@media (max-width: 1029px) {

	.testimonial-bubble {
		background-image: none !important;
		padding: 0rem !important;
	}

	.testimonials-row {
		width: 100%;
	}

	.testimonial-item:first-child, .testimonial-item:last-child  {
		display: none;
	}

	.testimonial-bubble-container {
		width: auto;
	}
}

.testimonial-bubble {
	background-image: url("./assets/images/bubble.png");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
	height: 266px;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: auto;
	padding: 48px;
	padding-bottom: 80px;
	font-size: 18px;
}

.testimonial-author {
	margin-top: 20px !important;
	font-size: 18px;
	display: block;
}

.testimonial-author-name {
	font-weight: bold;
	color: #b9ff66;
}

.testimonials .dashicons {
	color: white;
	margin: 0rem 1rem;
}

.pagination-arrow {
	transform: scale(2);
}

.pagination-arrow--disabled {
	opacity: .3;
}

.testimonials-pagination {
	display: flex;
	margin: auto;
	justify-content: center;
	align-items: center;
	height: 14px;
}

@media (min-width: 1030px) {
	.testimonials-pagination {
		gap: 189px;
	}
}



.testimonials-pagination-pages {
	display: flex;
	align-items: center;
	gap: 19px;
}

.testimonials-pagination-pages > span:first-child {
	color: #b9ff66;
}

.testimonials-pagination-pages .pagination-dot:not(:first-child) img {
	filter: invert(1);
}

.testimonials-pagination > .dashicons {
	font-size: 2rem;
	margin: 0rem 8rem;
	display: block;
	
}

.pagination-dot a {
	width: 20px;
	padding: 0rem;
}

.home-contact {
	background-color: #F3F3F3;
	padding: 60px;
	border-radius: 60px;
}

@media (max-width: 782px) {
	.home-contact {
		padding: 0rem;
	}

	.home-contact form {
		margin: 60px;
		margin-top: 30px !important;
	}

	.home-contact img {
		display: none;
	}
}

.home-contact form p {
	display: inline-block;
}

.home-contact input[type="text"], 
.home-contact input[type="email"],
.home-contact textarea {
	display: block;
	padding: 18px;
	border: 1px solid black;
	background-color: white;
	border-radius: 14px;
	width: -webkit-fill-available;
	margin-bottom: 25px;
}
.home-contact input[type="checkbox"] {
	display: inline-block;
	border: 1px solid red;
	margin-bottom: 0rem;
}
.home-contact button {
	display: block;
}

.home-contact figure {
	text-align: right;
}

.home-contact {
	padding-right: 0rem;
	overflow: hidden;
}

.home-contact figure img {
	transform: translateX(48%);
}

.wp-element-button {
	border-radius: 14px;
}

.home-footer-content {
	border-top-left-radius: 40px;
	border-top-right-radius: 40px;
}

.footer-logo-title {
	display: flex;
	align-items: center;
}

.home-footer .custom-logo {
	filter: invert(1);

}

.home-footer .wp-block-social-links {
	justify-content: flex-end;
}

@media (max-width: 781px) {
	.home-footer .wp-block-social-links {
		justify-content: flex-start;
	}
}

.home-footer .wp-social-link {
	color: #191A23 !important;
    background-color: white !important;
}

.home-footer .nav-container {
	align-items: center;
	height: 100%;
}

.home-footer .subscribe-form {
	background-color: #292A32;
	padding: 40px;
	border-radius: 14px;
	display: flex;
}



.home-footer .subscribe-form-input {
	padding: 20px;
	font-size: 18px;
	border: white 1px solid;
	background: transparent;
	border-radius: 14px;
}

.home-footer .subscribe-form-button {
	background-color: #b9ff66;
	color: #292A32;
	padding: 20px;
	font-size: 20px;
	border-radius: 14px;
	border: 0px;
	outline: none;
	margin-left: 20px;
}

@media (max-width: 1080px) {
	.home-footer .subscribe-form {
		flex-flow: column nowrap;
	}

	.home-footer .subscribe-form-button {
		margin-top: 1rem;
		margin-left: 0rem;
	}
}

.home-footer .contact-information {
	border-bottom: 1px solid white;
}

.home-footer .contact-us-label {
	background-color: #b9ff66;
	display: inline-block;
	color: #292A32;
	padding: 4px;
	border-radius: 4px;
	margin-bottom: 12px;
	font-weight: bold;
}

.home-header .request-a-quote-button {
	border: 1px solid black;
	border-radius: 14px;
}

@media (max-width: 1029px) {
    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: block;
    }
}

@media (min-width: 1030px) {
    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: none;
    }
}

@media (max-width: 1029px) {
    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none !important;
	}
}

@media (min-width: 1030px) {
    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: block !important;
	}
}

.home-announcement {
	margin-top: 0rem;
	text-align: center;
	font-size: .8em;
	padding: .5rem;
}