/* TermsFeed cookie banner + preferences — kontakti.lv
   Loaded after TermsFeed so these overrides win the cascade. */

.cc-open-prefs-hook {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

html body .termsfeed-com---nb,
html body .termsfeed-com---nb-simple,
html body .termsfeed-com---nb-headline {
    font-family: "Inter", sans-serif !important;
    position: fixed !important;
    z-index: 100000 !important;
    left: 16px !important;
    right: 16px !important;
    bottom: 16px !important;
    top: auto !important;
    width: auto !important;
    max-width: 1472px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    overflow: visible !important;
}

html body .termsfeed-com---nb::before,
html body .termsfeed-com---nb::after,
html body .termsfeed-com---nb .cc-nb-main-container::before,
html body .termsfeed-com---nb .cc-nb-main-container::after {
    content: none !important;
    display: none !important;
}

html body .termsfeed-com---nb .cc-nb-main-container {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    background: #fff !important;
    color: #000 !important;
    border: 2px solid #000 !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16) !important;
    padding: 18px 22px 16px !important;
    position: relative !important;
}

html body .termsfeed-com---nb .cc-nb-title-container,
html body .termsfeed-com---nb .cc-nb-text-container,
html body .termsfeed-com---nb .cc-nb-buttons-container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    float: none !important;
}

html body .termsfeed-com---nb .cc-nb-title,
html body .termsfeed-com---palette-light .cc-nb-title {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: #000 !important;
    margin: 0 !important;
}

html body .termsfeed-com---nb .cc-nb-text,
html body .termsfeed-com---nb .cc-nb-text p,
html body .termsfeed-com---palette-light .cc-nb-text {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    color: #333 !important;
    margin: 0 !important;
}

html body .termsfeed-com---nb .cc-nb-text a,
html body .termsfeed-com---palette-light .cc-nb-text a {
    color: #000 !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    text-underline-offset: 2px;
}

html body .termsfeed-com---nb .cc-nb-buttons-container {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 4px !important;
}

html body .termsfeed-com---nb .cc-nb-changep,
html body .termsfeed-com---palette-light .cc-nb-changep {
    order: 1 !important;
}

html body .termsfeed-com---nb .cc-nb-reject,
html body .termsfeed-com---palette-light .cc-nb-reject {
    order: 2 !important;
}

html body .termsfeed-com---nb .cc-nb-okagree,
html body .termsfeed-com---palette-light .cc-nb-okagree {
    order: 3 !important;
}

html body .termsfeed-com---nb .cc-nb-okagree,
html body .termsfeed-com---nb .cc-nb-reject,
html body .termsfeed-com---nb .cc-nb-changep,
html body .termsfeed-com---palette-light .cc-nb-okagree,
html body .termsfeed-com---palette-light .cc-nb-reject,
html body .termsfeed-com---palette-light .cc-nb-changep {
    font-family: "Inter", sans-serif !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    height: 40px !important;
    padding: 0 18px !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    box-shadow: none !important;
    text-transform: none !important;
    margin: 0 !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
}

html body .termsfeed-com---nb .cc-nb-okagree,
html body .termsfeed-com---palette-light .cc-nb-okagree,
html body .termsfeed-com---nb .cc-nb-reject,
html body .termsfeed-com---palette-light .cc-nb-reject {
    background: #fff !important;
    background-color: #fff !important;
    color: #000 !important;
    border: 2px solid #000 !important;
}

html body .termsfeed-com---nb .cc-nb-okagree:hover,
html body .termsfeed-com---palette-light .cc-nb-okagree:hover,
html body .termsfeed-com---nb .cc-nb-reject:hover,
html body .termsfeed-com---palette-light .cc-nb-reject:hover {
    background: #FFBE23 !important;
    background-color: #FFBE23 !important;
    border-color: #FFBE23 !important;
    color: #000 !important;
}

html body .termsfeed-com---nb .cc-nb-changep,
html body .termsfeed-com---palette-light .cc-nb-changep {
    background: #FFBE23 !important;
    background-color: #FFBE23 !important;
    color: #000 !important;
    border: 2px solid #FFBE23 !important;
}

html body .termsfeed-com---nb .cc-nb-changep:hover,
html body .termsfeed-com---palette-light .cc-nb-changep:hover {
    background: #E6AB20 !important;
    background-color: #E6AB20 !important;
    border-color: #E6AB20 !important;
}

html body .termsfeed-com---nb .cc-nb-okagree:focus,
html body .termsfeed-com---nb .cc-nb-reject:focus,
html body .termsfeed-com---nb .cc-nb-changep:focus,
html body .termsfeed-com---nb .cc-nb-text a:focus,
html body .termsfeed-com---palette-light .cc-nb-okagree:focus,
html body .termsfeed-com---palette-light .cc-nb-reject:focus,
html body .termsfeed-com---palette-light .cc-nb-changep:focus,
html body .termsfeed-com---palette-light .cc-nb-text a:focus {
    outline: none !important;
    box-shadow: 0 0 0 2px #FFBE23 !important;
}

html body .termsfeed-com---pc-overlay {
    background: rgba(0, 0, 0, 0.6) !important;
    z-index: 100010 !important;
    backdrop-filter: blur(2px);
}

html body .termsfeed-com---pc-dialog {
    font-family: "Inter", sans-serif !important;
    z-index: 100020 !important;
}

html body .termsfeed-com---pc-dialog .cc-pc-container,
html body .termsfeed-com---palette-light .cc-pc-container {
    background: #fff !important;
    color: #000 !important;
    border-radius: 16px !important;
    border: 2px solid #000 !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2) !important;
    overflow: hidden !important;
}

html body .termsfeed-com---pc-dialog .cc-pc-head,
html body .termsfeed-com---palette-light .cc-pc-head {
    background: #fff !important;
    color: #000 !important;
    border-bottom: 1px solid #E6E6E6 !important;
}

html body .termsfeed-com---pc-dialog .cc-pc-head-title-headline,
html body .termsfeed-com---palette-light .cc-pc-head-title-headline {
    font-family: "Inter", sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #000 !important;
}

html body .termsfeed-com---pc-dialog .cc-pc-head-title-text,
html body .termsfeed-com---palette-light .cc-pc-head-title-text {
    font-family: "Inter", sans-serif !important;
    font-size: 14px !important;
    color: #444 !important;
}

html body .termsfeed-com---pc-dialog .cc-pc-head-lang select,
html body .termsfeed-com---palette-light .cc-pc-head-lang select {
    font-family: "Inter", sans-serif !important;
    border: 2px solid #000 !important;
    border-radius: 10px !important;
    height: 36px !important;
    padding: 0 10px !important;
    background: #fff !important;
    color: #000 !important;
}

html body .termsfeed-com---pc-dialog .cc-pc-head-close,
html body .termsfeed-com---palette-light .cc-pc-head-close {
    background: #fff !important;
    color: #000 !important;
    border: 2px solid #E6E6E6 !important;
    border-radius: 10px !important;
}

html body .termsfeed-com---pc-dialog .cc-pc-head-close:hover,
html body .termsfeed-com---palette-light .cc-pc-head-close:hover {
    background: #FFBE23 !important;
    border-color: #FFBE23 !important;
}

html body .termsfeed-com---pc-dialog .cc-pc-head-close:active,
html body .termsfeed-com---pc-dialog .cc-pc-head-close:focus,
html body .termsfeed-com---palette-light .cc-pc-head-close:active,
html body .termsfeed-com---palette-light .cc-pc-head-close:focus {
    border: 2px solid #FFBE23 !important;
    box-shadow: 0 0 0 2px #FFBE23 !important;
}

html body .termsfeed-com---pc-dialog .cc-cp-body,
html body .termsfeed-com---palette-light .cc-cp-body {
    background: #fff !important;
    color: #111 !important;
}

html body .termsfeed-com---pc-dialog .cc-cp-body-tabs,
html body .termsfeed-com---palette-light .cc-cp-body-tabs {
    background: #F5F5F5 !important;
    color: #000 !important;
}

html body .termsfeed-com---pc-dialog .cc-cp-body-tabs-item,
html body .termsfeed-com---palette-light .cc-cp-body-tabs-item {
    background: #F5F5F5 !important;
    color: #000 !important;
    border-right: 1px solid #E6E6E6 !important;
    border-bottom: 1px solid #E6E6E6 !important;
}

html body .termsfeed-com---pc-dialog .cc-cp-body-tabs-item-link,
html body .termsfeed-com---palette-light .cc-cp-body-tabs-item-link {
    font-family: "Inter", sans-serif !important;
    color: #333 !important;
    background: transparent !important;
}

html body .termsfeed-com---pc-dialog .cc-cp-body-tabs-item[active="true"],
html body .termsfeed-com---palette-light .cc-cp-body-tabs-item[active="true"],
html body .termsfeed-com---pc-dialog .cc-cp-body-tabs-item[active=true],
html body .termsfeed-com---palette-light .cc-cp-body-tabs-item[active=true] {
    background: #FFBE23 !important;
    color: #000 !important;
}

html body .termsfeed-com---pc-dialog .cc-cp-body-tabs-item[active="true"] button,
html body .termsfeed-com---palette-light .cc-cp-body-tabs-item[active="true"] button,
html body .termsfeed-com---pc-dialog .cc-cp-body-tabs-item[active=true] button,
html body .termsfeed-com---palette-light .cc-cp-body-tabs-item[active=true] button {
    color: #000 !important;
}

html body .termsfeed-com---pc-dialog .cc-cp-body-content,
html body .termsfeed-com---palette-light .cc-cp-body-content {
    background: #fff !important;
    color: #111 !important;
}

html body .termsfeed-com---pc-dialog .cc-cp-body-content-entry-title,
html body .termsfeed-com---palette-light .cc-cp-body-content-entry-title {
    font-family: "Inter", sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #000 !important;
}

html body .termsfeed-com---pc-dialog .cc-cp-body-content-entry-text,
html body .termsfeed-com---palette-light .cc-cp-body-content-entry-text {
    font-family: "Inter", sans-serif !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    color: #333 !important;
}

html body .termsfeed-com---pc-dialog .cc-cp-body-content-entry a,
html body .termsfeed-com---palette-light .cc-cp-body-content-entry a,
html body .termsfeed-com---reset a {
    color: #000 !important;
}

html body .termsfeed-com---pc-dialog .cc-cp-foot,
html body .termsfeed-com---palette-light .cc-cp-foot {
    background: #fff !important;
    border-top: 1px solid #E6E6E6 !important;
}

html body .termsfeed-com---pc-dialog .cc-cp-foot-save,
html body .termsfeed-com---palette-light .cc-cp-foot-save {
    font-family: "Inter", sans-serif !important;
    background: #000 !important;
    background-color: #000 !important;
    color: #fff !important;
    border: 2px solid #000 !important;
    border-radius: 12px !important;
    height: 40px !important;
    padding: 0 18px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    opacity: 1 !important;
    cursor: pointer !important;
}

html body .termsfeed-com---pc-dialog .cc-cp-foot-save:hover,
html body .termsfeed-com---palette-light .cc-cp-foot-save:hover {
    background: #404040 !important;
    background-color: #404040 !important;
    border-color: #404040 !important;
}

html body .termsfeed-com---pc-dialog input[type="checkbox"].cc-custom-checkbox + label:before,
html body .termsfeed-com---pc-dialog input[type=checkbox].cc-custom-checkbox + label:before {
    background: #fff !important;
    background-color: #fff !important;
    border: 2px solid #000 !important;
}

html body .termsfeed-com---pc-dialog input[type="checkbox"].cc-custom-checkbox + label:after,
html body .termsfeed-com---pc-dialog input[type=checkbox].cc-custom-checkbox + label:after {
    background: #fff !important;
    background-color: #fff !important;
    border: 2px solid #000 !important;
}

html body .termsfeed-com---pc-dialog input[type="checkbox"].cc-custom-checkbox:checked + label:before,
html body .termsfeed-com---pc-dialog input[type=checkbox].cc-custom-checkbox:checked + label:before {
    background: #000 !important;
    background-color: #000 !important;
    border-color: #000 !important;
}

html body .termsfeed-com---pc-dialog input[type="checkbox"].cc-custom-checkbox:checked + label:after,
html body .termsfeed-com---pc-dialog input[type=checkbox].cc-custom-checkbox:checked + label:after {
    background: #FFBE23 !important;
    background-color: #FFBE23 !important;
    border-color: #000 !important;
}

html body .termsfeed-com---pc-dialog .cc-pc-head-lang select:focus,
html body .termsfeed-com---palette-light .cc-pc-head-lang select:focus,
html body .termsfeed-com---pc-dialog .cc-pc-head-close:focus,
html body .termsfeed-com---palette-light .cc-pc-head-close:focus,
html body .termsfeed-com---pc-dialog .cc-cp-body-content-entry a:focus,
html body .termsfeed-com---palette-light .cc-cp-body-content-entry a:focus,
html body .termsfeed-com---pc-dialog .cc-cp-foot-byline a:focus,
html body .termsfeed-com---palette-light .cc-cp-foot-byline a:focus,
html body .termsfeed-com---pc-dialog .cc-cp-foot-save:focus,
html body .termsfeed-com---palette-light .cc-cp-foot-save:focus,
html body .termsfeed-com---pc-dialog .cc-cp-body-tabs-item-link:focus,
html body .termsfeed-com---palette-light .cc-cp-body-tabs-item-link:focus {
    outline: none !important;
    box-shadow: 0 0 0 2px #FFBE23 !important;
    border-color: #000 !important;
}

html body .termsfeed-com---reset {
    font-family: "Inter", sans-serif !important;
}

html body .termsfeed-com---reset button {
    border-radius: 12px !important;
}

@media (max-width: 767px) {
    html body .termsfeed-com---nb,
    html body .termsfeed-com---nb-simple,
    html body .termsfeed-com---nb-headline {
        left: 12px !important;
        right: 12px !important;
        bottom: 12px !important;
        max-width: none !important;
    }

    html body .termsfeed-com---nb .cc-nb-main-container {
        padding: 16px !important;
    }

    html body .termsfeed-com---nb .cc-nb-buttons-container {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    html body .termsfeed-com---nb .cc-nb-okagree,
    html body .termsfeed-com---nb .cc-nb-reject,
    html body .termsfeed-com---nb .cc-nb-changep {
        display: flex !important;
        width: 100% !important;
        margin: 0 !important;
        height: 44px !important;
    }
}
