/*
Theme Name: Twenty Twenty-Two Child Theme
Theme URI: https://wordpress.org/themes/twentytwentytwo/
Description:    Twenty Twenty-Two Child Theme
Author:         WordPress
Author URI:     WordPress.org
Template:       twentytwentytwo
Version:        1.0.0
*/

/*20-05-2022*/

/* * {
    box-sizing: border-box;
}

html,body {
    overflow-x: hidden !important;
} */

/* #no-recommend {
    height: auto !important;
} */

#recommend-image {
    display: block !important;
    width: 100% !important;
    height: 366px !important;
    margin: 0 auto;
    max-width: 655px;
    pointer-events: auto;
}

.ui-dialog .ui-dialog-buttonpane button {
    margin: 0 !important;
}

.recommend-email-button {
    position: absolute !important;
    bottom: 20% !important;
    left: 50% !important;
    width: 100% !important;
    font-size: 31px !important;
    font-weight: 800 !important;
    transform: translate(-50%, 0);
    background: #f8a51b !important;
    border: none !important;
    color: #fff !important;
    max-width: 440px;
    padding: 6px 10px !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 0 !important;
}

.ui-dialog .ui-dialog-titlebar-close:before {
    content: "X";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 13px;
    color: #000;
    font-weight: bold;
}

.ui-widget.ui-widget-content {
    text-align: center;
}

input[type="radio"] {
    width: auto;
}

.ui-widget-content {
    border: none !important;
}

#navigation a:hover {
    background: #000 !important;
    border: none;
}

.ui-dialog .ui-dialog-title,
.ui-dialog .ui-dialog-buttonpane {
    text-align: center;
}

#wpcf7-f4876-p4881-o1 select {
    width: 317px;
}

#wpcf7-f4876-p4881-o1 #model_number {
    margin-bottom: 20px;
}

/*  Star Rating*/

.star-rating__stars {
    position: relative;
    height: 3rem;
    width: 15rem;
    background: url(off.svg);
    background-size: 3rem 3rem;
}

.star-rating__label {
    position: absolute;
    height: 100%;
    background-size: 3rem 3rem;
}

.star-rating__input {
    margin: 0;
    position: absolute;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}

.star-rating__stars .star-rating__label:nth-of-type(1) {
    z-index: 5;
    width: 20%;
}

.star-rating__stars .star-rating__label:nth-of-type(2) {
    z-index: 4;
    width: 40%;
}

.star-rating__stars .star-rating__label:nth-of-type(3) {
    z-index: 3;
    width: 60%;
}

.star-rating__stars .star-rating__label:nth-of-type(4) {
    z-index: 2;
    width: 80%;
}

.star-rating__stars .star-rating__label:nth-of-type(5) {
    z-index: 1;
    width: 100%;
}

.star-rating__input:checked + .star-rating__label,
.star-rating__input:focus + .star-rating__label,
.star-rating__label:hover {
    background-image: url(on.svg);
}

.star-rating__label:hover ~ .star-rating__label {
    background-image: url(off.svg);
}

.star-rating__input:focus ~ .star-rating__focus {
    position: absolute;
    top: -0.25em;
    right: -0.25em;
    bottom: -0.25em;
    left: -0.25em;
    outline: 0.25rem solid lightblue;
}

label.star-rating__label {
    margin: 0;
    padding-bottom: 0 !important;
    padding-top: 0 !important;
}

button.recommend-email-button.ui-button.ui-widget.ui-state-default.ui-corner-all.ui-button-text-only:not(.ui-dialog .recommend-email-button) {
    padding: 8px 28px !important;
    width: 260px !important;
    margin: 12px 40px !important;
}

.field_box p {
    display: inline;
}

.field_box {
    margin-bottom: 15px;
}

/* .field_box fieldset {
    margin-top: -25px;
} */

.ui-widget.ui-widget-content {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
    z-index: 9999;
    max-width: 700px;
    width: 100% !important;
    padding: 0 15px;
}

/* ----- Product Survey CSS Start ----- */

.generaltitle h1 {
    text-transform: uppercase;
    color: #298072;
    font-size: 36px;
    line-height: 46px;
    letter-spacing: -1.3px;
    margin: 60px 0 44px 0;
}

.product-survey-form .wpcf7-form .field_box label {
    display: block;
}

.product-survey-form .wpcf7-form-control-wrap {
    position: relative;
    display: block;
    margin-bottom: 15px;
}

.product-survey-form .wpcf7-form-control-wrap input[type="text"],
.product-survey-form .wpcf7-form-control-wrap input[type="email"],
.product-survey-form .wpcf7-form-control-wrap input[type="tel"],
.product-survey-form .wpcf7-form-control-wrap select {
    margin: 0;
    background: #f7f7f7;
    border: none;
    height: 40px;
    padding: 10px 16px;
    width: 100%;
    color: #000;
    border: 1px solid #e3e3e3;
}

.product-survey-form .wpcf7-form-control-wrap input::placeholder {
    color: #000;
}

input:focus,
button:focus,
a:focus,
textarea:focus,
select:focus {
    outline: none !important;
}

.field_submit .wpcf7-submit {
    color: #fff;
    background: #b25d5c;
}

.product-survey-form .radio-btn-list input[type="radio"] {
    width: 20px;
    height: 20px;
    color: #332e20;
    border: 1px solid #b25d5c;
    border-radius: 50%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: 0;
    cursor: pointer;
    transition: 0.3s;
    vertical-align: middle;
    cursor: pointer;
    margin: 0;
    position: relative;
}

.product-survey-form .radio-btn-list input[type="radio"]::before {
    content: "";
    position: absolute;
    display: block;
    top: 4px;
    left: 4px;
    width: 10px;
    height: 10px;
    transition: 0.3s;
    opacity: 0;
    border-radius: 50%;
    background: #fff;
}

.product-survey-form .radio-btn-list input[type="radio"]:checked {
    color: #363839;
    background: #b25d5c;
    border-color: #b25d5c;
}

.product-survey-form .radio-btn-list input[type="radio"]:checked::before {
    opacity: 1;
    transition: 0.3s;
}

/* ----- Product Survey CSS End ----- */

@media (max-width: 767px) {
    #recommend-image {
        height: 316px !important;
    }
    .recommend-email-button {
        font-size: 1.3em !important;
        bottom: 21% !important;
    }
}

@media (max-width: 600px) {
    #recommend-image {
        height: 286px !important;
    }
    .recommend-email-button {
        font-size: 1.3em !important;
        bottom: 21% !important;
        max-width: 70%;
    }
}

@media (max-width: 400px) {
    #recommend-image {
        height: 235px !important;
    }
    .recommend-email-button {
        font-size: 0.9em !important;
        bottom: 22% !important;
        max-width: 72%;
    }
}
