/* MODAL CSS START */
.modal {
    --bs-modal-border-radius: 20px;
}
.modal-close {
    position: absolute;
    right: 20px;
    height: 20px;
    margin-top: auto;
    margin-bottom: auto;
    top: 0;
    bottom: 0;
    color: var(--theme-color);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease-out; -moz-transition: all 0.3s ease-out; -webkit-transition: all 0.3s ease-out; -o-transition: all 0.3s ease-out;
}
.modal-close:hover {
    color: var(--theme-color);
    color: var(--color-dark);
}
.modal-title {
    font-weight: 500;
    font-size: 28px;
}
.modal-title span {
    font-weight: 700;
    color: var(--theme-color);
}
.modal-body .modal-header h2 {
    width: 100%;
    font-size: 30px;
    padding-bottom: 15px;
    margin-bottom: 15px;
}
.modal-header h3 {
    width: 100%;
    font-size: 21px;
    padding-bottom: 15px;
    margin-bottom: 15px;
}
.modal-body .modal-header {
    padding: 0;
    padding-top: 20px;
    border-bottom: none;
}
.modal-header .close {
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1;
}
.modal-body .modal-header .close {
    position: absolute;
    right: 0;
    top: 25px;
    z-index: 1;
}
.service .modal-dialog {
    overflow: visible;
}
.theme-close-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    border: 2px solid var(--color-middlegray);
    color: var(--color-middlegray);
    background: transparent;
    transition: all 0.3s ease-out; -moz-transition: all 0.3s ease-out; -webkit-transition: all 0.3s ease-out; -o-transition: all 0.3s ease-out;
}
.theme-close-btn:hover {
    border: 2px solid var(--theme-color);
    color: var(--theme-color);
}
.theme-close-btn span {
    font-size: 26px;
    margin-top: -5px;
}
.sidebar-content .close {
    position: absolute;
    right: 0px;
    top: 0px;
    z-index: 1;
}
.modal-header, .modal-body, .modal-footer {
    padding: 20px;
}
.video-modal .modal-body {
    padding: 0px;
}
.modal-body .nice-select .list {
    height: 300px;
    overflow-y: scroll;
}
.modal-title {
    position: relative;
    color: var(--color-dark);
    font-weight: 500;
    line-height: 1.3;
    margin: 0px;
}
.modal-title::before {
    position: absolute;
    content: '';
    z-index: 0;
    background: var(--color-lightgray);
    width: 100%;
    height: 2px;
    border-radius: 1px;
    bottom: 1px;
    left: 0;
}
.modal-title::after {
    position: absolute;
    content: '';
    z-index: 0;
    width: 40px;
    height: 4px;
    border-radius: 2px;
    left: 0px;
    background-color: var(--theme-color);
    bottom: 0;
}
.modal-body {
    padding-top: 0px;
}
.modal-header {
    border-bottom: none;
    padding-bottom: 0px;
    display: block;
    position: relative;
}
.modal-body .one-box-area {
    padding-top: 0px;
    padding-bottom: 0px;
}
.modal-body .modal-header h2 {
    text-align: left;
}
.modal-body .bhp-ribbon-area {
    position: absolute;
    top: 0px;
    right: -13px;
    width: 100%;
}
.modal-body .ribbon-1 {
    position: relative;
    float: right;
    width: auto;
    text-align: center;
    --f: 10px;
    --r: 20px;
    --t: -12px;
    inset: var(--t) 0px auto auto;
    padding: 2px 30px calc(2px + var(--f)) calc(20px + var(--r));
    clip-path: polygon(0 0,100% 0,100% calc(100% - var(--f)),calc(100% - var(--f)) 100%, calc(100% - var(--f)) calc(100% - var(--f)),0 calc(100% - var(--f)), var(--r) calc(50% - var(--f)/2));
    box-shadow: 0 calc(-1*var(--f)) 0 inset #0005;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-right: 2px;
    z-index: 5;
    border-top-right-radius: 20px;
}
.c-box {
    position: relative;
    float: left;
    display: block;
    background: var(--theme-bg-light);
    border-radius: 15px;
    padding: 20px;
    padding-bottom: 0px;
    margin-bottom: 15px;
    height: 100%;
    width: 100%;
}
.more-cookie-settings {
    text-align: center;
}
#cookies-consent-modal .modal-dialog {
    position: relative;
    width: auto;
    margin: auto;
    top: 20vh;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
}
#cookies-consent-modal .modal-header {
    border-bottom: none;
    padding-bottom: 0px;
    display: block;
    position: relative;
}
#cookies-consent-modal .modal-body {
    padding-top: 0px;
}
#cookies-consent-modal .footer-widget-title {
    margin-bottom: 15px;
}
#cookies-consent-modal .c-box {
    background: var(--color-lightgray);
    padding-bottom: 20px;
}
#szerviz-szoveges-ertekelesek .modal-body {
    padding-bottom: 70px
}
/* MODAL CSS END */
#cookies-consent-modal .footer-widget-title {
    margin-bottom: 15px;
}
#cookies-consent-modal .c-box {
    background: var(--color-lightgray);
    padding-bottom: 20px;
}
#cookies-consent-modal .form-check {
    position: relative;
}
#cookies-consent-modal .form-check label {
    color: var(--color-dark);
    font-weight: 600;
}
#cookies-consent-modal .form-check-input {
    left: -10px;
    top: 12px;
    width: 22px;
    height: 22px;
}