/*!
Theme Name: yellowbox
Theme URI: http://yellowoxmarketing.co.uk
Author: Yellow Box Marketing
Author URI: http://yellowoxmarketing.co.uk
Description: Yellow Box Marketing Theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: yellowbox

yellowbox is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
	text-transform: unset !important;
}

.floating-header {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
}

.gform_wrapper.gravity-theme .gfield_label {
	font-weight: 500 !important;
}

.gform_wrapper.gravity-theme .ginput_container_image_choice .gchoice {
    inline-size: calc(50% - 16px) !important;
     max-inline-size: unset !important;
    min-inline-size: unset !important;
    cursor: pointer !important;
}

.gform_wrapper.gravity-theme .ginput_container_image_choice .gchoice:hover {
    opacity: 0.8;
    cursor: pointer !important;
}

.gform_wrapper.gravity-theme .ginput_container_image_choice .gchoice label {
	text-transform: uppercase;
	display: block !important;
	text-align: center;
	font-size: 12px;
	width: 100%;
	max-width: 100%;
}

.gform_wrapper.gravity-theme .ginput_container_image_choice .gchoice input {
	display: none;
}

.gform_wrapper.gravity-theme .ginput_container_image_choice .gchoice:where(:has(input:checked))::after {
    background-color: black !important;
    border-radius: 0 !important;
}

.gform_required_legend {
	display: none !important;
}

.gform-footer {
	padding-bottom: 0;
	margin-bottom: 0;
}

.checkbox-buttons .gchoice {
    z-index:1;
    position:relative;
    margin:0 0 10px 0;
    padding:0;
    height:70px;
    width: 100%!important;
}
.checkbox-buttons input.gfield-choice-input {
    z-index:2;
    appearance:none;
    margin:0;
    padding:0;
    width: 100%;
    border-radius: 0;
    height:100%;
    background: white;
    transition: .3s all ease-in-out;
    position:absolute;
    background:#FFFFFF;
    position:absolute;
		border: 1px solid #d0d0d0;
}
.checkbox-buttons input.gfield-choice-input:hover,
.checkbox-buttons .gchoice label:hover {
    cursor:pointer;
}
.checkbox-buttons input.gfield-choice-input:checked {
    background:#222222;
}
.checkbox-buttons input.gfield-choice-input:checked + label {
    color:white;
}
.checkbox-buttons .gchoice label {
    z-index:3;
    font-weight:400;
    color:#141c25;
    display:block;
    position: absolute;
    padding: 0 0 0 20px;
    top: 50%;
    transform: translateY(-50%);
    width:100%;
    overflow:visible;
}
.checkbox-buttons input.gfield-choice-input + label:after {
    content: "";
    position: absolute;
    right: -10px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #c5c9d2;
    z-index: 2;
    top: 50%;
    transition: .3s all ease-in-out;
    color: white;
    font-size: 22px;
    text-align: center;
    line-height: 14px;
    font-weight: 500;
}
.checkbox-buttons input[type="checkbox"].gfield-choice-input + label:after {
    border-radius: 0px;
}
.checkbox-buttons input[type="radio"].gfield-choice-input + label:after {
    border-radius:50px;
}
.checkbox-buttons input.gfield-choice-input:checked + label:after {
    content: "\00D7";
    border: 2px solid white;
}


#teamOffcanvas {
    width: 550px;
}

#teamOffcanvas .btn-close {
position: absolute;
    z-index: 5;
    top: 1rem;
    right: 1rem;
    height: 40px;
    width: 40px;
    background: rgba(0, 0, 0, 0.2);
    color: white !important;
    border-radius: 9999px;
    font-size: 20px;
    padding: 0;
}

.footer-newsletter .form-floating > .form-control:focus ~ label, .footer-newsletter .form-floating > .form-control:not(:placeholder-shown) ~ label, .footer-newsletter .form-floating > .form-control-plaintext ~ label, .footer-newsletter .form-floating > .form-select ~ label {
    opacity: 0.65;
    transform: scale(0.85) translateY(-0.75rem) translateX(-0.7rem);
    color: #a3a3a3;
}


.footer-newsletter button, .footer-newsletter .button {
    border-bottom: 1px solid #d0d0d0;
}

.footer-newsletter .gform_wrapper.gravity-theme .gform_fields {
    grid-column-gap: 0;
}

.footer-newsletter .gform_wrapper.gravity-theme .form-floating > .form-control, .footer-newsletter .gform_wrapper.gravity-theme .form-floating > .wpcf7-form-control-wrap > .form-control {
    background: none;
    border-width: 0;
    border-bottom-width: 1px;
    padding-left: 0 !important;
    padding-right: 0 !important;
    color: white;
}