/*!
Theme Name: CBD
Theme URI: https://www.cbwebsitedesign.co.uk/
Author: Creative Brand Design
Author URI: https://www.cbwebsitedesign.co.uk/
Description: Creative Brand Design
Version: 04.12.24
Text Domain: cbd
*/

/* Changes */
.raw-content .wp-block-heading {
    color: var(--color-green);
}

/* Private Pages */

.post-password-form {
    height: 70vh;
    height: 70svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.post-password-form > p {
    width: 100%;
    text-align: center;
    font-size: 115%;
}

.post-password-form label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.post-password-form input[type=password] {
    padding: 0.75rem 1.5rem;
    background: none;
    border: 1px solid #fff;
    border-radius: 0.3rem;
}

.post-password-form input[type=submit] {
    padding: 0.75rem 1.5rem;
    background: #fff;
    border: 1px solid #fff;
    border-radius: 0.3rem;
    color: #000;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s opacity;
    margin-top: 1.5rem;
}

.post-password-form input[type=submit]:hover {
    opacity: 0.7;
}

.flex-row {
    flex-direction: row;
}

/* Form */
.gform_heading {
	display: none;
}

.gform_required_legend {
    display: none;
}

.gform_fields {
	display: flex;
	flex-direction: column;
	column-gap: 1.5rem;
	row-gap: 3rem;
}

@media (min-width: 600px) {
	.gform_fields {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
}

.full-length {
    grid-column: 1 / 3;
}

textarea {
    width: 100%;
    width: var(--spacing-full);
    border: var(--color-green);
    border-width: 1px;
    border-style: solid;
    border-radius: 2em;
    padding-inline: calc(var(--spacing) * 8);
    padding-block: calc(var(--spacing) * 6);
    color: var(--color-green);
    font-size: 90%;
}

.gfield--type-consent .gfield_label {
    display: none;
}

.gfield--type-consent .ginput_container {
    display: flex;
    align-content: center;
    flex-wrap: wrap;
}

.gfield--type-consent input {
    height: 15px;
    width: 15px;
}

form {
    position: relative;
}

.gform_footer {
    margin-top: 1.5rem;
}

@media (min-width: 600px) {
    .gform_footer {
        margin-top: 0;
        position: absolute;
        bottom: 0;
        right: 0;
    }
}

.gform_footer button {
    transition: background-color .2s,color .2s,border-color .2s,padding .2s;
    cursor: pointer;
}

.gform_footer button:hover {
    background-color: var(--color-green);
    color: white;
}

.gform_submission_error {
    font-size: 2em !important;
    margin-bottom: 1em;
    color: #d34242;
}

.gfield_description.validation_message {
    color: #d34242;
    font-weight: 700;
    padding-left: 1em;
}

/* Pagination */
.gap-10 {
    gap: 2.75rem;
}

.w-15 {
    width: 15px;
}

.h-15 {
    height: 15px;
}

.pagination-block {
    color: var(--color-green);
}

.pagination-numbers.current {
    color: #F4B1C1;
}

.pagination-numbers {
    font-size: 2.5rem;
}

.rotate-180 {
    transform: rotateY(180deg);
}

.testimonials-carousel .swiper-slide.swiper-slide-active .card {
    background-color: var(--color-green);
    color: var(--color-white);
}

.testimonials-carousel .swiper-slide.swiper-slide-active .card .content {
    color: var(--color-pink);
}

.gfield--type-honeypot {
	height: 0;
	visibility: hidden;
	position: absolute;
	left: 9999px;
}