/**
 * Webkul Software.
 *
 * @category  Webkul
 * @package   Webkul_FormBuilder
 * @author    Webkul
 * @copyright Copyright (c) Webkul Software Private Limited (https://webkul.com)
 * @license   https://store.webkul.com/license.html
 */
/*New css start here*/
#wk-form-id input[type="text"],
#wk-form-id input[type="password"],
#wk-form-id input[type="url"],
#wk-form-id input[type="tel"],
#wk-form-id input[type="search"],
#wk-form-id input[type="number"],
#wk-form-id input[type="datetime"],
#wk-form-id input[type="email"] {
    width: 50%;
}

.catalog-product-view .wk-title{
width: 100%;
}

.fieldset {
    width: 100%;
}
.input-select {
    width: 50%;
}
.wk-tiny {
    width: 50%;
}
.wk-textarea{
    width: 50%;
}

.form {
    margin: 0 1.5rem;
}

.wk-title{
    margin-top: 0px;
    float: left;
    margin-left: 20px;
}
.mage-error-formbuilder{
    color: #c8102e;
    font-size: 1.2rem;
    margin-top: 7px;
}
#wk-form-id *[tooltip] {
    position: relative;
}
#wk-form-id .tooltip-element {
    visibility: visible;
    color: #fff;
    background: #000;
    width: 16px;
    height: 16px;
    border-radius: 8px;
    display: inline-block;
    text-align: center;
    line-height: 16px;
    margin: 0 5px;
    font-size: 12px;
    cursor: default;
}
#wk-form-id *[tooltip]:hover:before {
    border: solid;
    border-color: #222 transparent;
    border-width: 6px 6px 0;
    bottom: 17px;
    content: '';
    left: 2px;
    position: absolute;
    z-index: 99;
    cursor: default;
}
#wk-form-id *[tooltip]:hover:after {
    background: rgba(0,0,0,0.9);
    border-radius: 5px 5px 5px 0;
    bottom: 23px;
    color: #fff;
    content: attr(tooltip);
    padding: 10px 5px;
    position: absolute;
    z-index: 98;
    left: 2px;
    width: 230px;
    text-shadow: none;
    font-size: 12px;
    line-height: 1.5em;
    cursor: default;
}

/* Form builder Argento Breeze */

.rider-support-form-wrap #wk-form-id input[type="text"],
.rider-support-form-wrap #wk-form-id input[type="password"],
.rider-support-form-wrap #wk-form-id input[type="url"],
.rider-support-form-wrap #wk-form-id input[type="tel"],
.rider-support-form-wrap #wk-form-id input[type="search"],
.rider-support-form-wrap #wk-form-id input[type="number"],
.rider-support-form-wrap #wk-form-id input[type="datetime"],
.rider-support-form-wrap #wk-form-id input[type="email"],
.rider-support-form-wrap #wk-form-id select,
.rider-support-form-wrap #wk-form-id textarea {
    width: 100%;
}
.rider-support-form-wrap #wk-form-id input.field-dob,
.rider-support-form-wrap #wk-form-id input.test-field-class,
.rider-support-form-wrap #wk-form-id input.input-breeze-calendar {
    width: 180px !important;
}


.rider-support-form-wrap .formbuilder-success-message {
    margin-top: 20px;
    font-size: 1.2rem;
    color: green;
}

/* Base field style */
.rider-support-form-wrap #wk-form-id .form-group,
.rider-support-form-wrap #wk-form-id .field,
.rider-support-form-wrap #wk-form-id .wk-field {
    box-sizing: border-box;
    width: 100%;
    padding: 0;
}

/* Responsive wrapper */
.rider-support-form-wrap .form-fields-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem 0;
}

.rider-support-form-wrap .form-fields-wrapper .field > label {
    display: inline-block;
    font-weight: 700;
}

.rider-support-form-wrap .form-fields-wrapper .field ~ .field {
    margin-top: 0 !important;
}

/* Tablet (2 columns) */
@media (min-width: 600px) {

    /* Custom Grid */
    .rider-support-form-wrap.custom-grid .form-fields-wrapper {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        align-items: stretch; 
        gap: 1rem;
    }

    /* falback to make sure widths are equal */
    .rider-support-form-wrap.custom-grid .form-fields-wrapper > * {
        grid-column: span 12;
    }

    /* 1 items per row */
    .rider-support-form-wrap.custom-grid .form-fields-wrapper > *:nth-child(1) {
        grid-column: span 12;
    }    

    /* 2 items per row */
    .rider-support-form-wrap.custom-grid .form-fields-wrapper > *:nth-child(2),
    .rider-support-form-wrap.custom-grid .form-fields-wrapper > *:nth-child(3),
    .rider-support-form-wrap.custom-grid .form-fields-wrapper > *:nth-child(4),
    .rider-support-form-wrap.custom-grid .form-fields-wrapper > *:nth-child(5),
    .rider-support-form-wrap.custom-grid .form-fields-wrapper > *:nth-child(6),
    .rider-support-form-wrap.custom-grid .form-fields-wrapper > *:nth-child(7),
    .rider-support-form-wrap.custom-grid .form-fields-wrapper > *:nth-child(8),
    .rider-support-form-wrap.custom-grid .form-fields-wrapper > *:nth-child(9),
    .rider-support-form-wrap.custom-grid .form-fields-wrapper > *:nth-child(16),
    .rider-support-form-wrap.custom-grid .form-fields-wrapper > *:nth-child(17),
    .rider-support-form-wrap.custom-grid .form-fields-wrapper > *:nth-child(18),
    .rider-support-form-wrap.custom-grid .form-fields-wrapper > *:nth-child(19),
    .rider-support-form-wrap.custom-grid .form-fields-wrapper > *:nth-child(20),
    .rider-support-form-wrap.custom-grid .form-fields-wrapper > *:nth-child(21) {
        grid-column: span 6;
    }    

    .rider-support-form-wrap.custom-grid .form-fields-wrapper > *:nth-child(19) textarea {
        height: 42px;
    }

    .rider-support-form-wrap.custom-grid .form-fields-wrapper > *:nth-child(20) .label,
    .rider-support-form-wrap.custom-grid .form-fields-wrapper > *:nth-child(21) .label {
        min-height: 48px;
    }

    /* 3 items per row */
    .rider-support-form-wrap.custom-grid .form-fields-wrapper > *:nth-child(10),
    .rider-support-form-wrap.custom-grid .form-fields-wrapper > *:nth-child(11),
    .rider-support-form-wrap.custom-grid .form-fields-wrapper > *:nth-child(12),
    .rider-support-form-wrap.custom-grid .form-fields-wrapper > *:nth-child(13),
    .rider-support-form-wrap.custom-grid .form-fields-wrapper > *:nth-child(14),
    .rider-support-form-wrap.custom-grid .form-fields-wrapper > *:nth-child(15) {
        grid-column: span 4;
    }

    /* 1 item per row */
    .rider-support-form-wrap.custom-grid .form-fields-wrapper > *:nth-child(22),
    .rider-support-form-wrap.custom-grid .form-fields-wrapper > *:nth-child(23),
    .rider-support-form-wrap.custom-grid .form-fields-wrapper > *:nth-child(24),
    .rider-support-form-wrap.custom-grid .form-fields-wrapper > *:nth-child(25),
    .rider-support-form-wrap.custom-grid .form-fields-wrapper > *:nth-child(26) {
        grid-column: span 12;
    }

}

.rider-support-form-wrap #wk-form-id .form-fields-wrapper {
    margin: 0 auto;
    max-width: 60rem;
}

/* Submit button styling */
.rider-support-form-wrap #wk-form-id #save-btn {
    display: block;
    margin: 0 auto;
}