/* Brand: #312783 (match v2 / qcreative.css) */

::selection {
    background: rgba(49, 39, 131, 0.82) !important;
}

.ajax-preloader:before {
    border-bottom-color: #312783 !important;
}

.blockquote-element {
    margin-bottom: 40px !important;
    margin-right: 40px;
    font-size: 20px !important;
}

blockquote {
    padding: 0 40px 0 40px;
    /* margin: 0 20px 20px !important */
}

.text-black {
    color: black !important;
}

.margin-left {
    padding: 0 30px 0 11px;
}

.blockquote-subtitle {
    margin: 0 20px 40px;
}

.p-0 {
    padding: 0 !important;
}

.text-white {
    color: white;
}

.style-mine,
.btn-read-more {
    background: transparent !important;
    border: 2px solid #ffffff;
}

.style-mine:hover {
    border-color: #312783;
    color: #312783 !important;
}

#survey label {
    font-weight: 200;
}

#survey .col-md-12 {
    padding: 10px 10px !important;
}

.btn-read-more:visited {
    background: #312783 !important;
    color: white !important;
}

ul.redcircle li:before {
    background-color: #312783 !important;
}

.heading-image {
    height: 565.5px !important;
    background-position-y: inherit !important;
}

.icon-briefcase:before {
    color: #312783;
}

.loaders-aboutus {
    margin-top: -30px;
}

.font-19 {
    font-size: 18px !important;
}

.font-17 {
    font-size: 17px !important
}

.font-21 {
    font-size: 21px !important;
}

.m-left {
    margin-left: 63px;
}

.image-box .image-box--image {
    width: 50.3% !important;
}

.ajax-preloader .loader:after {
    background: #312783 !important;
}

.top-0 {
    top: 0 !important;
}

.content-small-padding {
    padding: 30px 30px 30px 30px !important;
}

.heading-small {
    font-size: 45px !important;
}

.heading-medium {
    font-size: 40px !important;
    margin-bottom: 12px !important;
}

.row-margin-medium {
    margin-bottom: 40px !important;
}

.qcreative-pricing-table a.signup-button:hover {
    background-color: #312783 !important;
}

.row-margin-small {
    margin-bottom: 20px !important;
}

.under-heading {
    margin-bottom: 30px;
    font-size: 22px;
    text-transform: uppercase;
}

.btn-read-more.color-highlight {
    background-color: #312783 !important;
}

.dzs-tabs.skin-qcre.is-toggle .tabs-menu .tab-menu-con.active .tab-menu {
    background-color: #312783 !important;
}

.opinion {
    height: 350px !important;
}

.dzs-tabs.skin-qcre .tabs-menu .tab-menu-con .tab-menu {
    color: #404040 !important;
}

.dzs-tabs.skin-qcre .tabs-menu .tab-menu-con.active .tab-menu {
    color: white !important;
}

.footer-social-icon:hover .icon-label {
    color: #312783 !important;
}

.footer-social-icon:hover .circle-icon {
    background-color: #312783 !important;
}

.qcreative--520-nav-con .dzs-select-wrapper-head .nav-wrapper-head {
    background-color: #312783 !important;
}

.qcreative--520-nav-con .custom-responsive-menu .custom-menu li:hover>a {
    background-color: #312783 !important;
}

.qcreative--520-nav-con .custom-responsive-menu .custom-menu li:active>a {
    background-color: #312783 !important;
}

.ul.style-angle>li:hover {
    color: #312783 !important;
}

ul.style-angle>li:hover {
    color: #312783 !important;
}

ul.style-angle>li:hover:before {
    color: #312783 !important;
}

ul.style-angle>li>a:hover {
    color: #312783 !important;
}

.social-icons i:hover {
    color: #312783 !important;
    cursor: pointer;
}

.btn-full-white:hover,
.portfolio-link-con .portfolio-link--title:hover,
.portfolio-link-con .portfolio-link--toback.center-td:hover {
    background-color: #312783 !important;
}

/* Lightbox offer content */
.services-lightbox.bullet-feature {
    cursor: pointer;
}

.lightbox-offer-text {
    text-align: left;
    line-height: 1.65;
    font-size: 15px;
    color: #333;
}

.lightbox-offer-text p {
    margin: 0 0 1em;
    white-space: normal;
    font-family: inherit;
}

.lightbox-offer-text h6 {
    margin: 1.4em 0 0.6em;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.lightbox-checklist,
.lightbox-offer-box ul,
.lightbox-offer-box ol {
    margin: 0 0 1.2em;
    padding-left: 1.25em;
}

.lightbox-checklist li,
.lightbox-offer-box li {
    margin-bottom: 0.45em;
}

.lightbox-offer-box {
    margin-top: 1.5em;
    padding: 1.1em 1.25em;
    background: #f6f5fb;
    border-left: 4px solid #312783;
}

.lightbox-cta {
    margin-top: 1.5em !important;
}

.lightbox-cta .btn-read-more {
    display: inline-block;
}

.services-lightbox-content pre {
    font-family: inherit;
    white-space: pre-wrap;
    word-wrap: break-word;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    font-size: inherit;
    line-height: 1.65;
    color: inherit;
}

/* Survey form — white single-column content sheet */
.survey-form-sheet {
    margin-bottom: 40px;
}

.survey-form {
    max-width: 100%;
}

.survey-form .survey-section {
    margin: 0 0 28px;
    padding: 0 0 22px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.survey-form .survey-section:last-child,
.survey-form .survey-section--submit {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.survey-form .survey-section > h5 {
    margin: 0 0 14px;
    color: #222 !important;
    font-size: 16px;
    font-weight: 700;
}

.survey-form .survey-section > h6 {
    margin: 16px 0 10px;
    color: #444 !important;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.survey-form input.input-style-sharp[type=text],
.survey-form .input-style-sharp {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 0 10px !important;
    color: #333 !important;
    background: #fff !important;
    border: 1px solid #222 !important;
    padding: 12px 15px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.survey-form textarea.input-style-sharp {
    display: block !important;
    width: 100% !important;
    min-height: 140px !important;
    margin: 0 0 10px !important;
    color: #333 !important;
    background: #fff !important;
    border: 1px solid #222 !important;
    padding: 12px 15px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    resize: vertical;
}

.survey-form textarea.input-style-sharp.survey-textarea-short {
    min-height: 90px !important;
    height: 90px !important;
}

.survey-form .survey-options {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 8px;
    margin: 0 0 8px;
}

.survey-form .survey-option {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    margin: 0 !important;
    padding: 10px 12px !important;
    background: #f7f7f7 !important;
    border: 1px solid #e5e5e5 !important;
    color: #333 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.4;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.survey-form .survey-option:hover {
    background: #f0f0f0 !important;
    border-color: #ccc !important;
}

.survey-form .survey-option.is-checked,
.survey-form .survey-option:has(input:checked) {
    background: #efeaf8 !important;
    border-color: #312783 !important;
}

.survey-form .survey-option input {
    margin-top: 3px;
    flex: 0 0 auto;
}

.survey-form .survey-option--consent {
    margin-bottom: 18px !important;
    background: #fff !important;
    border-color: #ddd !important;
}

.survey-form .survey-hint {
    margin: 8px 0 14px;
    color: #777 !important;
    font-size: 13px;
    line-height: 1.45;
}

.survey-form .survey-submit-button {
    display: inline-block;
    border: 0;
    cursor: pointer;
}

.survey-form .survey-feedback,
#survey-status.survey-feedback {
    display: none;
    margin-top: 16px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.survey-form .survey-feedback.active,
#survey-status.survey-feedback.active {
    display: block;
    background: #e8f5e9;
    color: #1b5e20;
}

.survey-form .survey-feedback.active.is-error,
#survey-status.survey-feedback.active.is-error {
    background: #ffebee;
    color: #b71c1c;
}

.survey-form .input-style-sharp.needs-attention {
    background-color: #ff9999 !important;
    color: #fff !important;
}

#selected-offer[hidden] {
    display: none !important;
}

#selected-offer .call-to-action h3 {
    margin-bottom: 0;
}

/* Legal pages: regulamin / polityka prywatności */
.legal-doc {
    text-align: left;
    max-width: 820px;
    margin: 0 auto;
    color: #222;
    font-size: 15px;
    line-height: 1.65;
}

.legal-doc .legal-meta {
    margin: 0 0 28px;
    font-size: 13px;
    color: #666;
}

.legal-doc h5 {
    margin: 28px 0 12px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: #111;
}

.legal-doc p {
    margin: 0 0 10px;
}

.legal-doc ul {
    margin: 0 0 14px;
    padding-left: 1.25em;
}

.legal-doc li {
    margin-bottom: 6px;
}

.legal-doc a {
    color: #312783;
    text-decoration: underline;
}

/* --- Contact form: 3 equal fields above message --- */
.form-overlay .contact-fields-row {
    margin-left: -8px !important;
    margin-right: -8px !important;
}

.form-overlay .contact-fields-row:before,
.form-overlay .contact-fields-row:after {
    content: " ";
    display: table;
}

.form-overlay .contact-fields-row:after {
    clear: both;
}

.form-overlay .contact-fields-row > [class*="col-"] {
    padding-left: 8px !important;
    padding-right: 8px !important;
    margin-top: 0 !important;
    float: left !important;
    box-sizing: border-box !important;
}

@media (min-width: 768px) {
    .form-overlay .contact-fields-row > .col-sm-4,
    .form-overlay .contact-fields-row > .col-md-4 {
        width: 33.33333333% !important;
    }
}

.form-overlay input.input-for-name,
.form-overlay input.input-for-email,
.form-overlay input.input-for-phonenumber {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 10px 0 !important;
    box-sizing: border-box !important;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.1);
}

.form-overlay input.input-for-phonenumber:hover,
.form-overlay input.input-for-phonenumber:focus {
    background-color: rgba(0, 0, 0, 0.3);
}

.form-overlay input.input-for-phonenumber.needs-attention,
.form-overlay input.input-for-name.needs-attention,
.form-overlay input.input-for-email.needs-attention,
.form-overlay textarea.input-for-feedback.needs-attention {
    background-color: #ff9999 !important;
    color: #fff !important;
}

.form-overlay textarea.input-for-feedback {
    width: 100% !important;
    box-sizing: border-box !important;
    clear: both;
}

.form-hp {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.form-overlay .contact-consent {
    display: block;
    margin: 12px 0 0;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

.form-overlay .contact-consent input {
    margin-right: 8px;
    vertical-align: middle;
}

.form-overlay .contact-consent a {
    color: #ffffff;
    text-decoration: underline;
}

.form-overlay .contact-submit-btn:disabled,
.form-overlay .contact-submit-btn.is-sending,
.survey-form .survey-submit-button:disabled,
.survey-form .survey-submit-button.is-sending {
    opacity: 0.7 !important;
    cursor: wait !important;
    pointer-events: none !important;
}

/* --- Logos: keep nav / footer circle from overflowing --- */
body.menu-type-14 nav.qcreative--nav-con .logo-con img.the-logo {
    display: block !important;
    max-height: 56px !important;
    max-width: 120px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

.footer-logo-link img.the-logo,
.footer-logo-link img {
    max-width: 64px !important;
    max-height: 64px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

/* --- Content sheet spacing above footer (do NOT zero .the-content padding) --- */
.the-content-con > .the-content {
    padding-bottom: 30px !important;
}

body.page-normal .the-content-sheet:last-child,
.the-content-inner > .the-content-sheet:last-of-type {
    margin-bottom: 40px !important;
}

.the-content-con > h1:first-of-type {
    color: #222222;
}

/* Flush footer to the bottom of the page */
footer.lower-footer {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    padding-bottom: 20px !important;
}

html,
body,
.main-container {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
