.form-check-input[type=checkbox] {
    border-color:cornflowerblue;
}
.szoveg-page .editor-host {
    width: 100%;
}

.szoveg-page .ck.ck-editor {
    width: 100%;
}

.szoveg-page .ck.ck-editor__main > .ck-editor__editable {
    min-height: 520px;
    max-height: 70vh;
}

.szoveg-page .ck.ck-toolbar {
    flex-wrap: wrap !important;
    gap: .25rem;
}

.szoveg-page .ck.ck-content {
    font-size: 14px;
    line-height: 1.6;
}

.szoveg-page .ck,
.szoveg-page .ck * {
    box-sizing: border-box;
}

    .szoveg-page .ck button {
        line-height: 1.2 !important;
    }

.szoveg-page .custom-variable-dropdown-panel {
    min-width: 280px;
    max-width: 340px;
    padding: 0 !important;
    overflow: hidden;
    border-radius: 12px !important;
    border: 1px solid #d0d7de !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12) !important;
    background: #ffffff !important;
}

    .szoveg-page .custom-variable-dropdown-panel > .custom-variable-item {
        display: flex !important;
        width: 100% !important;
        justify-content: flex-start !important;
        align-items: center !important;
        text-align: left !important;
        border: 0 !important;
        border-bottom: 1px solid #eef2f7 !important;
        border-radius: 0 !important;
        background: #ffffff !important;
        color: #1f2937 !important;
        padding: 10px 14px !important;
        min-height: 42px;
        margin: 0 !important;
        box-shadow: none !important;
    }

        .szoveg-page .custom-variable-dropdown-panel > .custom-variable-item:last-child {
            border-bottom: 0 !important;
        }

        .szoveg-page .custom-variable-dropdown-panel > .custom-variable-item:hover {
            background: #f3f6fb !important;
            color: #0f172a !important;
        }

        .szoveg-page .custom-variable-dropdown-panel > .custom-variable-item.ck-on,
        .szoveg-page .custom-variable-dropdown-panel > .custom-variable-item:focus {
            background: #e8f0fe !important;
            color: #0b57d0 !important;
            outline: none !important;
        }

    .szoveg-page .custom-variable-dropdown-panel .ck-button__label {
        display: block !important;
        width: 100%;
        white-space: normal !important;
        text-align: left !important;
        font-size: 14px !important;
        line-height: 1.35 !important;
        overflow: visible !important;
        text-overflow: unset !important;
    }

    .szoveg-page .custom-variable-dropdown-panel .ck-icon {
        display: none !important;
    }

@media (max-width: 991.98px) {
    .szoveg-page .ck.ck-editor__main > .ck-editor__editable {
        min-height: 380px;
        max-height: none;
    }

    .szoveg-page .custom-variable-dropdown-panel {
        min-width: 240px;
        max-width: 280px;
    }
}

.needs-choice {
    border-color: rgba(220,53,69,.7) !important; /* bootstrap danger árnyalat */
    box-shadow: 0 0 0 .2rem rgba(220,53,69,.15) !important;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-6px);
    }

    40% {
        transform: translateX(6px);
    }

    60% {
        transform: translateX(-4px);
    }

    80% {
        transform: translateX(4px);
    }
}

.shake {
    animation: shake .35s ease-in-out;
}
button[disabled] {
    cursor: not-allowed;
}
@media (min-width: 992px) { /* lg */
    .summary-sticky {
        position: sticky;
        top: 16px; /* ha van fixed navbar, ezt emeld (pl. 80px) */
    }
}
.form-check-input.is-invalid ~ .form-check-label {
    color: #dc3545;
}

/* Összefoglaló érték frissülés animáció */
.summary-flash {
    animation: summaryFlash 0.6s ease-out;
}

@keyframes summaryFlash {
    0% {
        background-color: rgba(13, 110, 253, 0.15); /* bootstrap primary halvány */
    }

    100% {
        background-color: transparent;
    }
}

/* hogy szebb legyen */
.summary-value {
    border-radius: 6px;
    padding: 2px 4px;
    transition: background-color 0.3s ease;
}

/* Betöltő overlay */
.loading-overlay {
    position: relative;
}

    .loading-overlay::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255,255,255,0.6);
        z-index: 10;
    }

.spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin: -25px 0 0 -25px;
    border: 4px solid transparent;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 20;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.btn-light.active:focus {
    box-shadow: none;
}
.btn-light.active{
    color:black;
    background-color:#0d6efd;
}
h3.big {
    font-size: 29px;
    font-weight: 500;
    color: black;
}
.brand-bg-color {
    background-color: #16498C;
}
.menu-text {
    white-space: nowrap;
    color: #fff;
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
}

/*Pictures*/
.grid-item {
    padding: 10px;
}

    .grid-item img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
.custom-modal-dialog {
    max-width: 80vw; /* adjust as needed */
}

.container-custom-color {
    background-color: #0366d6;
}
.col-form-label {
    color: white;
    font-family: 'Lato-Black';
    font-size: 25px;
}

.col-form-label-blue {
    color: darkblue;
    font-family: 'Lato-Black';
    font-size: 15px;
}

.col-form-label-blue-xs {
    color: darkblue;
    font-family: 'Lato-Black';
    font-size: 10px;
}

.col-form-label-lg {
    color: white;
    font-family: 'Lato-Black';
    font-size: 20px;
}

.col-form-label-lg-blue {
    color: darkblue;
    font-family: 'Lato-Black';
    font-size: 20px;
}

.custom-modal-content {
    background-color: #fff;
    border: 5px solid black;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.custom-modal-body {
    padding: 0;
    text-align: center;
}

.custom-modal-header {
    border-bottom: 1px solid #dee2e6;
    background-color: #f8f9fa;
    color: #212529;
}

.custom-modal-title {
    font-size: 1.25rem;
    font-weight: 500;
}

.carousel-item img {
    height: 150px;
    object-fit: cover;
    width: 100%;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    /*height: 100px;
    width: 100px;*/
    outline: black;
    background-size: 100%, 100%;
    border-radius: 50%;
    border: 1px solid black;
    background-image: none;
}
.scrollable-col {
    max-height: 80vh; /* maximum height, adjust as needed */
    overflow-y: auto; /* enable vertical scrolling */
}
    .carousel-control-next-icon:after {
        content: '>';
        font-size: 20px;
        font-weight:bold;
        color: red;
    }

    .carousel-control-prev-icon:after {
        content: '<';
        font-size: 20px;
        font-weight: bold;
        color: red;
    }
.close {
    font-size: 1.5rem;
}

.col-12 img {
    opacity: 0.7;
    cursor: pointer;
    margin: 2rem;
    width: 100%;
}

    .col-12 img:hover {
        opacity: 1;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    }
/*end Pictures*/

.form-floating-white .form-control {
    background-color: #0366d6;
    color: white;
    font-size: 0.75rem;
    border-color: cornflowerblue;
    padding-bottom: 0px;
    height: 38px;
    padding-top: 16px;
    border-radius: 0.5rem;
}

.form-floating-white .form-select {
    background-color: white;
    color: black;
    font-size: 0.75rem;
    border-color: cornflowerblue;
    padding-bottom: 0px;
    height: 38px;
    padding-top: 16px;
    border-radius: 0.5rem;
}

.form-floating .form-select {
    background-color: white;
    color: black;
    font-size: 0.75rem;
    border-color: cornflowerblue;
    padding-bottom: 0px;
    height: 38px;
    padding-top: 16px;
    border-radius: 0.5rem;
}

.form-floating-blue .form-select {
    background-color: white;
    color: black;
    font-size: 0.75rem;
    border-color: cornflowerblue;
    padding-bottom: 0px;
    height: 38px;
    padding-top: 16px;
    border-radius: 0.5rem;
}

.form-floating-blue-dashed .form-select {
    background-color: white;
    color: black;
    font-size: 0.75rem;
    border-color: cornflowerblue;
    padding-bottom: 0px;
    height: 38px;
    padding-top: 16px;
    border-radius: 0.5rem;
    border-style: dashed;
}

.form-floating > label {
    color: white;
    font-size: small;
    padding: 0.5rem 0.5rem;
    left: 0.75em;
}

.form-floating-white > label {
    color: white;
    font-size: small;
    padding: 0.5rem 0.5rem;
    left: 0.75em;
}

.form-floating-blue > label {
    color: #0366d6;
    font-size: small;
}

.border-dashed {
    border-style: dashed;
}

.form-floating-blue-dashed > label {
    color: #0366d6;
    font-size: small;
}

.form-floating.form-floating-blue .form-control {
    background-color: white;
    color: black;
    font-size: small;
}
.form-floating .form-control {
    background-color: #0366d6;
    color: white;
    font-size: 0.75rem;
    border-color: cornflowerblue;
    padding-bottom: 0px;
    height: 38px;
    padding-top: 16px;
    border-radius: 0.5rem;
}
.row-sm {
    font-size: 0.8rem;
    /* padding-bottom:20px;*/
    height: 3rem;
    align-items: center;
}

.row-sm-0 {
    font-size: 0.8rem;
    /* padding-bottom:20px;*/
    /*height: 3rem;*/
    align-items: center;
}

.btn-light.active:focus {
    box-shadow: none;
}
.btn-custom-color {
    background-color: white;
    border-radius: 1.5rem;
    font-size: 0.75rem;
    color: #0366d6;
    font-family: 'Lato-Black';
    font-weight: bold;
    padding-bottom: 3px;
    padding-top: 3px;
    width: auto;
}

.btn-custom-color-lite {
    background-color: cornflowerblue;
    border-radius: 1.5rem;
    font-size: 0.75rem;
    color: white;
    font-family: 'Lato-Black';
    font-weight: bold;
    padding-bottom: 3px;
    padding-top: 3px;
    width: auto;
}

.btn-custom-color-white {
    background-color: white;
    border-radius: 1.5rem;
    font-size: 0.75rem;
    color: cornflowerblue;
    border-color: cornflowerblue;
    font-family: 'Lato-Black';
    font-weight: bold;
    padding-bottom: 3px;
    padding-top: 3px;
    width: auto;
}

.btn-light-blue {
    background-color: #0366d6;
    border-color: #0366d6;
    color: white;
    margin: 0px;
    height: 38px;
}

.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    margin-left: 0px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.btn-custom-color-red {
    background-color: red;
    border-radius: 1.5rem;
    font-size: 0.75rem;
    color: white;
    border-color: red;
    font-family: 'Lato-Black';
    font-weight: bold;
    padding-bottom: 3px;
    padding-top: 3px;
    width: auto;
}
.btn-custom-color-green {
    background-color: limegreen;
    border-radius: 1.5rem;
    font-size: 0.75rem;
    color: white;
    border-color: black;
    font-family: 'Lato-Black';
    font-weight: bold;
    padding-bottom: 3px;
    padding-top: 3px;
    width: auto;
}

.list-group-item-sidenav {
    position: relative;
    display: block;
    padding: 0.5rem 1rem;
    color: #212529;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.list-group-item,
.list-group-item-sidenav {
    border: 0px;
}

    .list-group-item-sidenav.active,
    .list-group-item.active {
        border-radius: 2rem;
        z-index: 2;
        color: #212529;
        border-color: #0d6efd;
    }


    .list-group-item-sidenav.active {
        background-color: #e9ecef;
    }

.list-group-item-normal.active {
    border-radius: 0rem;
}
.list-group-item.active {
    z-index: 2;
    color: #212529;
    background-color: #ccc;
    border-color: #0d6efd;
}
.list-group-item {
    border: 0px;
}

    .list-group-item.active {
        border-radius: 2rem;
    }

.list-group-item-normal.active {
    border-radius: 0rem;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}
main{
    margin-top:100px;
}