/*!
Theme Name: ALL AMERICAN SECURITY
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: aas
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

AAS 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.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/


.reviews-block br{
    display: none;
}


.reviews-swiper {
    overflow: hidden;
}

.reviews-swiper .swiper-wrapper {
    align-items: stretch;
}

.reviews-swiper .swiper-slide {
    height: auto;
    display: flex;
    flex-direction: column;
}

.review-copy-wrapper {
    overflow: hidden;
    transition: height 400ms ease;
}

.review-copy {
    margin: 0;
}

.read-more {
    cursor: pointer;
    transition: opacity 200ms ease;
}

.read-more:hover {
    opacity: 0.7;
}

.read-more[hidden] {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .review-copy-wrapper {
        transition: none;
    }
}


/*Home form*/

/* Form layout */
.quote-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.quote-form-group {
    width: 100%;
    min-width: 0;
}

.quote-form-group label {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    color: #121417;
}

.quote-form-row {
    display: flex;
    gap: 8px;
}

.quote-form-row .quote-form-group {
    flex: 1;
    min-width: 0;
}

.quote-optional {
    float: right;
    font-weight: 400;
    color: #6b7280;
}

/* Contact Form 7 wrappers */
.quote-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* Inputs */
.quote-form input[type="text"],
.quote-form input[type="tel"],
.quote-form input[type="email"],
.quote-form textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #9ca3af;
    border-radius: 6px;
    background: #fff;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 600;
    color: #121417;
    outline: none;
    transition: border-color 300ms ease,
    box-shadow 300ms ease;
}

.quote-form input[type="text"],
.quote-form input[type="tel"],
.quote-form input[type="email"] {
    height: 44px;
}

.quote-form textarea {
    height: 80px;
    min-height: 80px;
    padding: 12px;
    resize: vertical;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
    color: #9ca3af;
    opacity: 1;
}

/* Focus */
.quote-form input:focus,
.quote-form textarea:focus {
    border-color: #b42e1e;
    box-shadow: 0 0 0 2px rgba(180, 46, 30, 0.12);
}

/* Submit */
.quote-form-submit {
    width: 100%;
}

.quote-form input[type="submit"] {
    display: block;
    width: 100%;
    height: 56px;
    padding: 0 16px;
    border: none;
    border-radius: 6px;
    background-color: #b42e1e;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer!important;
    transition: background-color 300ms ease;

}
.wpcf7-submit{
    cursor: pointer!important;
}
.quote-form input[type="submit"]:hover {
    background-color: #991b1b;
}

/* Validation */
.quote-form .wpcf7-not-valid {
    border-color: #dc2626 !important;
}

.quote-form .wpcf7-not-valid-tip {
    margin-top: 4px;
    font-size: 12px;
    color: #dc2626;
}

#quote-form-container .wpcf7-spinner {
    display: block;
    margin: 10px auto 0;
    position: absolute!important;
}

/* Mobile */
@media (max-width: 639px) {
    .quote-form-row {
        flex-direction: column;
        gap: 16px;
    }
}
