*,
*:before,
*:after {
    outline: none;
}

html {
    font-family            : 'Roboto';
    font-size              : 16px;
    font-weight            : 400;
    line-height            : 1.6em;
    color                  : #212121;
    background-color       : #fff;
    -webkit-font-smoothing : auto;
    -moz-osx-font-smoothing: auto;
}

h1,
h2,
h3,
h4,
h5 {
    margin: 20px 0;
}

h1 {
    font-size  : 38px;
    font-weight: 500;
    line-height: 1.1em;
}

h2 {
    font-size  : 32px;
    line-height: 1.1em;
}

h3 {
    font-size  : 26px;
    line-height: 1.1em;
}

.btn,
input[type="submit"] {
    color          : #fff !important;
    font-size      : 15px;
    font-weight    : 500;
    text-transform : uppercase;
    text-decoration: none;
    padding        : 14px 24px 12px;
    background     : #D00000;
    border         : 0;
    border-radius  : 0;
    cursor         : pointer;
    transition     : all .3s;
}

a:hover,
.btn:hover,
input[type="submit"]:hover {
    color  : #fff;
    opacity: 0.7;
}











/**
 * Content.
 */
.inner {
    max-width: 1140px;
    margin   : 40px auto;
}

@media (max-width:1140px) {
    .inner {
        padding: 0 10px;
    }
}














/**
 * Password Generator.
 */
.pass_gen {
    display: flex;
}

.pass_gen .error {
    font-size  : 18px;
    font-weight: 500;
    text-align : center;
    border     : 1px solid #D00000;
    padding    : 20px;
}

.pass_form {
    width       : 50%;
    text-align  : center;
    margin-right: 20px;
}

.pass_form .switch {
    --width  : 50px;
    --height : 25px;
    position : relative;
    width    : var(--width);
    min-width: var(--width);
    height   : var(--height);
    cursor   : pointer;
}

.pass_form .switch input {
    position  : relative;
    z-index   : 1;
    appearance: none;
}

.pass_form .switch span {
    position     : absolute;
    top          : 0;
    left         : 0;
    width        : 100%;
    height       : 100%;
    background   : #D00000;
    border-radius: var(--height);
    transition   : 0.5;
}

.pass_form .switch input:checked~span {
    background: #05be05;
}

.pass_form .switch span i {
    position     : absolute;
    width        : calc(var(--height) - 8px);
    aspect-ratio : 1;
    background   : #fff;
    border-radius: 50%;
    left         : 4px;
    top          : 4px;
    transition   : all 0.3s;
}

.pass_form .switch span i:before {
    content       : "x";
    position      : absolute;
    top           : 50%;
    left          : 50%;
    transform     : translate(-50%, -50%);
    color         : #D00000;
    text-transform: uppercase;
    font-weight   : bold;
    font-style    : normal;
    font-size     : 13px;
    transition    : all 0.3s;
}

.pass_form .switch input:checked~span i {
    left: calc((var(--width) - var(--height)) + 4px);
}

.pass_form .switch input:checked~span i:before {
    content: "✓";
    color  : #05be05;
}

.pass_option {
    margin-bottom: 10px;
}

.pass_option label {
    display        : flex;
    align-items    : center;
    justify-content: space-between;
    border         : 1px solid #E5E5E5;
    padding        : 8px 10px;
    cursor         : pointer;
    transition     : all .3s;
}

.pass_option label:hover {
    border-color: #E5E5E5;
    box-shadow  : 0px 0px 15px 0px rgb(0 0 0 / 8%);
}

.pass_option label .label {
    font-size   : 18px;
    font-weight : 400;
    margin-right: 20px;
}


.qty_btn {
    width             : 30px;
    height            : 100%;
    text-align        : center;
    border            : 1px solid #DEE2E6;
    border-radius     : 4px;
    cursor            : pointer;
    transition        : all .3s;
    -moz-user-select  : none;
    -khtml-user-select: none;
    user-select       : none;
}

.qty_btn:hover {
    border-color: #D00000;
}



.pass_option input::-webkit-outer-spin-button,
.pass_option input::-webkit-inner-spin-button {
    display           : none;
    -webkit-appearance: none;
    margin            : 0;
}

.pass_option input[type=number] {
    font-weight    : bold;
    border         : 1px solid #DEE2E6;
    border-radius  : 4px;
    text-align     : center;
    margin         : 0 5px;
    -moz-appearance: textfield;
}

.pass_option .num_input {
    display    : flex;
    align-items: center;
}




.pass_result {
    width      : 50%;
    text-align : end;
    max-height : 328px;
    overflow-y : auto;
    margin-left: 20px;
}

.pass_result .pass_ready {
    width: 100%;
}


.pass_result::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color  : #F5F5F5;
}

.pass_result::-webkit-scrollbar {
    width           : 6px;
    background-color: #F5F5F5;
}

.pass_result::-webkit-scrollbar-thumb {
    background-color: #D00000;
}

.pass_result .password {
    display    : flex;
    align-items: center;
}

.pass_result .password:not(:last-child) {
    margin-bottom: 10px;
}

.copy_pass {
    width     : 40px;
    text-align: center;
    position  : relative;
}

.copy_pass .copy_done {
    position        : absolute;
    z-index         : 10;
    opacity         : 0;
    color           : #05BE05;
    background-color: #fff;
    transition      : all .3s;
}

.copy_pass .copy_done.active {
    opacity: 1;
}

.copy_pass svg {
    width     : 22px;
    cursor    : pointer;
    transition: all .3s;
}

.copy_pass:hover svg {
    color: #05BE05;
}


@media (max-width:1024px) {
    .pass_option label .label {
        font-size   : 14px;
        margin-right: 10px;
        text-align  : left;
    }
}

@media (max-width:768px) {
    .pass_gen {
        flex-wrap: wrap;
    }

    .pass_form {
        width       : 100%;
        text-align  : center;
        margin-right: 0;
    }

    .pass_result {
        width      : 100%;
        text-align : end;
        max-height : unset;
        overflow-y : hidden;
        margin-top : 20px;
        margin-left: 0;
    }
}












/**
 * hex to filter Generator.
 */

.pixel {
    display         : inline-block;
    background-color: #000;
    width           : 50px;
    height          : 50px;
}

.filterDetail {
    font-family: "Consolas", "Menlo", "Ubuntu Mono", monospace;
}







/**
 * BRIEF
 */
.page-brief #shortSurvey label {
    cursor: pointer;
}

.page-brief .inner._brief {
    max-width: 680px;
}

/**
 * other CF7
 */

.wpcf7-list-item {
    display: block;
    margin : 0 0 10px 0;
}

















/**
 * Modal Popup.
 */
.animated-modal {
    max-width    : 550px;
    border-radius: 6px;
    padding      : 20px;
    transform    : translateY(-50px);
    transition   : .7s;
}

.animated-modal h2 {
    font-size    : 28px;
    font-weight  : 500;
    text-align   : center;
    margin       : 0;
    margin-bottom: 10px;
}

.animated-modal .subtitle {
    font-size    : 18px;
    text-align   : center;
    margin-bottom: 30px;
}

.animated-modal h2,
.animated-modal .content,
.animated-modal .subtitle {
    color     : #111;
    transform : translateY(50px);
    opacity   : 0;
    transition: .5s;
}

.fancy-active .animated-modal,
.fancy-active .animated-modal h2,
.fancy-active .animated-modal .content,
.fancy-active .animated-modal .subtitle {
    transform: translateY(0);
    opacity  : 1;
}

.fancy-active .animated-modal h2 {
    transition-delay: .1s;
}

.fancy-active .animated-modal .subtitle {
    transition-delay: .3s;
}

.fancy-active .animated-modal .content {
    transition-delay: .5s;
}

.animated-modal .carousel__button.is-close {
    position        : absolute;
    top             : 10px;
    right           : 10px;
    background-color: #878787;
    padding         : 2px;
    width           : 22px;
    height          : 22px;
    border-radius   : 50%;
    display         : flex;
    align-items     : center;
    justify-content : center;
    transition      : .3s;
}

.animated-modal .carousel__button svg {
    width: 12px;
    color: #fff;
}



/**
* Forms Style
*/
.__fields-wrapper {
    display  : flex;
    flex-wrap: wrap;
    gap      : 20px;
}

.form-row-first,
.form-row-last {
    width: calc(50% - 10px);
}

.form-row-wide {
    width: 100%;
}

.form-row {
    position: relative;
}

.form-row.checkboxes label {
    position: relative;
}

.form-row:not(.checkboxes) label:not(.woocommerce-form__label-for-checkbox) {
    position   : absolute;
    opacity    : 0.5;
    left       : 10px;
    top        : 10px;
    width      : auto;
    line-height: 1.7;
    transition : .25s ease-out;
    z-index    : 10;
}

.focused.form-row:not(.checkboxes) label:not(.woocommerce-form__label-for-checkbox),
.address-field.form-row label,
.form-row.notes label {
    -webkit-transform: translateY(-50%);
    transform        : translateY(-50%);
    opacity          : 1;
    font-size        : 12px;
    white-space      : nowrap;
    color            : #D1D1D1;
}

.red {
    color: red;
}


.form-row input::-webkit-input-placeholder {
    color: #8D8D8D;
}

.form-row input:-moz-placeholder {
    color: #8D8D8D;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    color        : #333;
    border-radius: 0;
    border       : 1px solid #E5E5E5;
    padding      : 18px 10px 11px;
}

.animated-modal .send7 {
    text-align: center;
}

.animated-modal .send7 .btn {
    width  : fit-content;
    margin : auto;
    padding: 10px 20px;
}

.wpcf7-not-valid {
    border-bottom: 1px solid red !important;
}

.wpcf7-not-valid-tip,
.wpcf7-spinner {
    display: none;
}

.policy_check {
    width        : 100%;
    margin-top   : 20px;
    margin-bottom: 10px;
    font-size    : 12px;
    color        : #676767;
}

.policy_check label {
    display    : flex;
    align-items: center;
    line-height: 1.3;
}

.policy_check a {
    font-size      : 12px;
    color          : #676767;
    text-decoration: underline;
}




/**
 * checkboxes and radio
 */

.si {
    --color-label          : #232323;
    --color-default        : #dee5f2;
    --color-active         : #114B97;
    --rotate-default       : 180deg;
    --rotate-active        : 40deg;
    --border-size-checkmark: 2px;
    --border-size-box      : 1px;
    --input-size           : 14px;
    --guter                : 22px;

    cursor  : pointer;
    position: relative;
}

.si .si-label {
    display     : inline-block;
    padding-left: var(--guter);
}

.si label>input {
    display: none;
}

.si label>input[type=checkbox],
.si label>input[type=radio] {
    clip-path: polygon(0 0);
}

.si .si-label::after,
.si .si-label::before {
    transition: all .2s ease-in-out;
}

.si .si-label::before {
    content  : '';
    display  : block;
    width    : var(--input-size);
    height   : var(--input-size);
    border   : var(--border-size-box) solid var(--color-default);
    position : absolute;
    top      : 0;
    bottom   : 0;
    margin   : auto;
    left     : 0;
    transform: rotate(0) scale(1);
}

.si .si-label:hover::before {
    border-color: var(--color-active);
}

/* checkbox square */
.si.checkboxes .si-label::before {
    border-radius: var(--border-size-checkmark);
}

/* checkbox checkmark */
.si.checkboxes .si-label::after {
    content     : '';
    display     : block;
    width       : 8px;
    height      : 12px;
    border-width: 0 var(--border-size-checkmark) var(--border-size-checkmark) 0;
    border-style: solid;
    border-color: transparent var(--color-active) var(--color-active) transparent;
    position    : absolute;
    top         : 2px;
    left        : 0;
    transform   : rotate(var(--rotate-default)) scale(0);
}

/* checkbox square */
.si.checkboxes label>input:checked+.si-label::before {
    transform: rotate(var(--rotate-active)) scale(0);
}

/* checkmark */
.si.checkboxes label>input:checked+.si-label::after {
    left     : 5px;
    transform: rotate(var(--rotate-active)) scale(1);
}

/* circles, alignment */
.si.radio .si-label::before,
.si.radio .si-label::after {
    border-radius: 100%;
    top          : -2px;
}

/* radio bullet circle */
.si.radio .si-label::after {
    content : '';
    display : block;
    position: absolute;
    width   : 8px;
    height  : 0;
    top     : 100%;
    left    : 4px;
}

.si.radio label>input:checked+.si-label::after {
    background-color: #fff;
    height          : 8px;
    top             : 7px;
    left            : 3px;
}

.si.radio label>input:checked+.si-label::before {
    background-color: var(--color-active);
}