

blockquote {
    margin: 15px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.75);
    background: #FFF4E0;
    color: #474C4F;
    padding: 30px;
    position: relative;
    text-align: center;
    text-transform: uppercase;
    font-family: 'Lato', sans-serif;
    text-align: center;
}

blockquote p {

    text-align: center !important;
}

blockquote:before {
    content: "©";
    position: absolute;
    z-index: 2;
    left: 50%;
    transform: translateX(-50%);
    top: 14px;
    color: #474C4F;
    font-size: 20px;
    background: #FFF4E0;
    padding: 0 15px;
}

blockquote:after {
    content: "";
    position: absolute;
    left: 15px;
    top: 20px;
    right: 15px;
    height: 4px;
    border-top: 1px dotted #474C4F;
    border-bottom: 1px dotted #474C4F;
}


.data {
    display: table;
    height: 60px;
    float: left;
    width: 49%
}

#cell {
    display: table-cell;
    vertical-align: middle;
}

.view img {
    width: 350px;
    float: right;
    display: -webkit-inline-box;
    margin: 10px;
}

.view {
    float: right;
    display: block;
    height: 60px;
    width: 49%
}

.view img {
    width: 350px;
    float: right;
    display: -webkit-inline-box;
    margin: 10px;
}


@media (max-width: 591px) {
    .data {
        text-align: center;
        width: 100%
    }

    .view {
        width: 100%;
        text-align: center;
    }

    .view img {
        float: none;
        margin: 0 auto;
        width: 100%;

    }
}

* label:active {
    background: #d0d0d0;
}

.instructions td {
    background: none !important;
    border: none;
    width: 100%;
    font-size: 20px;
}

.item .photo img {
    max-width: none !important;
}

.content_img p {
    color: #656565;
    font-weight: 500;
    margin-bottom: 30px;
}

.spisok {
    margin: 30px;
}

.spisok li {
    font-size: 15px;
    list-style: inside;
    margin: 13px;
}


#quiz {
    min-height: 50vh;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 50px;
    background: #f9f9f9;
}

#quiz_form {
    width: 100%;
}

#step0,
#step1,
#step2,
#step3,
#step4,
#step5,
#step6,
#step7,
#step8,
#step9,
#step10,
#other_steps,
#last_step {
    display: none;
}

#step0 {
    display: block;
    text-align: center;
}

#step1 h2,
#step2 h2,
#step3 h2,
#last_step h2 {
    text-align: center;
    margin-bottom: 50px !important;
}

#other_steps {
    text-align: center;
}

.step>small {
    text-align: center;
    margin-bottom: 30px;
    display: block;
}

.quiz_buttons {
    display: flex;
    justify-content: center;
}

#quiz .btn {
    cursor: pointer;
    background: #54a8fb;
    padding: 7px 30px;
    display: inline-block;
    border-radius: 3px;
    font-size: 1rem;
    color: #fff;
    border: 1px solid #fff;
    box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    margin: 0 15px;
}

#quiz .btn:hover {
    background: #4195e8;
}

#quiz .btn.back_btn {
    background: #ccc;
}

#quiz .btn.back_btn:hover {
    background: #aaa;
}

.step-quest {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
    justify-content: center;
}

.step-quest>* {
    width: 50%;
    padding: 0 15px;
    margin-bottom: 30px;
}

.step-quest>* label {
    display: block;
    border: 2px solid #eee;
    padding: 15px 30px;
    border-radius: 5px;
    height: 100%;
}

.step-quest>* label.checked {
    border: 2px solid #54a8fb;
    box-shadow: 1px 1px 12px #ccc;
}

.step-quest>* label input {
    margin-right: 15px;
    display: none;
}

.step-quest>* label input#price_input {
    display: block;
    width: 100%;
    border-radius: 3px;
    pointer-events: none;
    font-size: 1.2rem;
    text-align: center;
}

.step-quest>* img {
    margin-bottom: 15px;
}


.step-quest>div>input {
    padding: 15px 0px;
    width: 100%;
    border: 1px solid #eee;
    border-radius: 5px;
    font-size: 1.3rem;
    text-align: center;
}



#last_step {
    text-align: center;
}

#contact_fields {
    justify-content: center;
    margin-bottom: 15px;
}

#contact_fields>* {
    width: 51%;
    margin-bottom: 15px;
}

#acceptance-line {
    margin-bottom: 30px;
}


#progress_bar {
    height: 5px;
    width: 100%;
    background: rgba(84, 168, 251, 0.2);
}

#progress_in {
    width: 0%;
    height: 100%;
    background: #54a8fb;
    transition: all 0.3s ease;
    -o-transition: all 0.3s;
    -webkit-transition: all 0.3s ease 0s;
}

#curr_step {
    margin-bottom: 15px;
    margin-top: 40px;
}



@media screen and (max-device-width: 1024px) {
    #quiz h2 {
        margin-bottom: 50px !important;
    }

    .step-quest {
        margin-bottom: 15px;
    }

    #type-home>*,
    #type-repair>* {
        width: 50%;
        text-align: left;
        margin-bottom: 15px;
    }

    .step-quest>* {
        margin-bottom: 15px;
    }

    .step-quest>* label {
        display: flex;
        align-items: center;
        padding: 15px;
        justify-content: center;
    }

    .step-quest>* img {
        width: 30%;
        margin-bottom: 0;
        margin-right: 20px;
    }

    #contact_fields>* {
        width: 70%;
    }

    .step-quest>div>input {
        padding: 10px 30px;
        font-size: 1.1rem;
    }
}


@media screen and (max-device-width: 800px) {
    #quiz {
        padding: 0 15px;
    }

    #quiz h2 {
        font-size: 1.8rem;
    }

    .step-quest>* img {
        display: none;
    }

    .step-quest>* label {
        text-align: center;
        padding: 10px 15px;
    }

    #contact_fields>* {
        width: 90%;
    }

    .step>small {
        margin-bottom: 15px;
    }
}

@media screen and (max-device-width: 480px) {
    #quiz h2 {
        margin-bottom: 40px !important;
    }

    .step-quest>*,
    #type-home>*,
    #type-repair>* {
        width: 90%;
    }
}

@media screen and (max-device-width: 380px) {
    #quiz h2 {
        font-size: 1.6rem;
    }

    .step-quest>*,
    #type-home>*,
    #type-repair>*,
    #contact_fields>* {
        width: 100%;
    }

    .quiz_buttons {
        justify-content: space-between;
    }

    .quiz_buttons p {
        width: 45%;
        margin-bottom: 20px;
    }

    #quiz .btn {
        width: 100%;
        margin: 0;
    }

    #step1 .quiz_buttons {
        justify-content: center;
    }
}

input:invalid:after {
    content: "1111111111111111111";
}

input:valid {
    background: #cff4cf;
}

/* blocks/b-dropdown-button/b-dropdown-button.css: end */
/**/
.fancybox-margin {
    margin-right: 0px;
}

#eventno {
    pointer-events: none !important;
}