.public .hide-on-public,
.bodey .hide-on-public {
    display: none !important;
}

nav.navbar.navbar-static-top {
    display: flow-root;
}

.checkbox input[type=checkbox], .checkbox-inline input[type=checkbox], .radio input[type=radio], .radio-inline input[type=radio] {
    margin-top: 4px \9;
    margin-left: 10px;
    display: inline-block;
}

.w100 {
    width: 100%;
}

.dataTable.component-table th {
    background-color: #222d32c4;
    color: #fff;
}

.box .box-body {
    padding: 10px;
}

.box-image.box-image-type-1.col-md-3 {
    margin-top: 62px;
}

.box-image-up {
    display: inline-block;
}

.box-image-down {
    display: none;
}

.tooltipico .infobox {
    visibility: hidden;
    z-index: 1;
    position: absolute;
}

.tooltipico.fa-info-circle:before {
    content: "\f05a";
    font-family: FontAwesome;
    color: #f39c12;
    font-size: 20px;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.5);
}

.tooltipico.fa-info-circle {
    width: 20px;
    position: relative;
    height: 19px;
    vertical-align: middle;
    top: -16px;
    display: inline-block;
    text-align: right;
}

.tooltipico:hover .infobox {
    visibility: visible;
    z-index: 1;
    background: #f39c12;
    color: #ffffff;
    display: block;
    height: 90px;
    padding: 5px 15px;
    width: 230px;
    margin-left: -209px;
    z-index: 50;
    border-radius: 8px;
    position: absolute;
    top: 119px;
    display: block;
    white-space: initial;
    font-size: 14px;
    text-align: left;
    line-height: 1.1em;
}

.infobox {
    visibility: hidden;
    z-index: 1;
    background: #f39c12;
    color: #ffffff;
    display: block;
    height: 90px;
    padding: 5px 15px;
    bottom: 0;
    width: 230px;
    margin-top: -81px;
    margin-left: 21px;
    z-index: 50;
}

.infobox:after {
    content: '';
    position: relative;
    left: 184px;
    top: -93px;
    width: 0;
    height: 0;
    border: 20px solid transparent;
    border-right-color: #f39c12;
    border-left: 0;
    border-bottom: 0;
    display: none;
}

.myimagefullsize {
    width: 100%;
    height: auto;
    cursor: pointer;
}

.myimagefullsize:hover {
    cursor: pointer;
}

@media (max-width: 1000px) {
    .tooltipico:hover .infobox {
        visibility: visible;
        z-index: 1;
        background: #f39c12;
        color: #ffffff;
        display: block;
        height: 90px;
        padding: 5px 15px;
        width: 230px;
        margin-left: -100px;
        z-index: 50;
        border-radius: 8px;
        position: absolute;
        top: -21px;
        display: block;
        white-space: initial;
    }

    .infobox:after {
        content: '';
        position: relative;
        left: 36px;
        top: 15px;
        width: 0;
        height: 0;
        border: 20px solid transparent;
        border-right-color: #f39c12;
        border-left: 0;
        border-bottom: 0;
        display: inline-block;
        -ms-transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        display: none;
    }
}

@media (max-width: 995px) {
    .box-image.box-image-type-1.col-md-3 {
        margin-top: 0px;
    }
}

.bg-red {
    background: #c42c18 !important;
    vertical-align: middle;
}

.bg-green {
    background: #4caf50 !important;
    vertical-align: middle;
}

.bg-yellow {
    background: #f39c12 !important;
    vertical-align: middle;
}

.row.if-lath-distance-is-0 {
    font-weight: bold;
}

@media (max-width: 500px) {
    .box-image-up {
        display: none;
    }

    .box-image-down {
        display: inline-block;
    }

    .box .input-group .iga_135px, .box .input-group-addon {
        width: 135px;
        text-align: left;
        background: #ECEEEF;
        display: block;
    }
}

.ui-autocomplete {
    cursor: pointer;
    z-index: 30000 !important;
}

select.form-control.refresh-sections.only_material.btn-warning {
    color: #ffffff;
    font-size: 1.6rem !important;
}

select.form-control.refresh-sections.only_material.btn-warning option {
    color: #ffffff;
    font-size: 1.5rem !important;
    font-weight: bold;
}

div#fence-elements {
    overflow: hidden;
}

#element-sections .box-header.with-border {
    min-height: 35px;
}

.lds-ring {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
}

.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 51px;
    height: 51px;
    margin: 6px;
    border: 6px solid #4caf50;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #4caf50 transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.please-wait-popup {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    text-align: center;
    vertical-align: middle;
}

.pw-content {
    background: #f9f5f5;
    font-weight: 800;
    margin: auto;
    max-width: 300px;
    border-radius: 8px;
    padding: 25px;
    left: calc(50% - 150px);
    top: 120px;
    position: absolute;
    height: 170px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.pw-content h4 {
    font-weight: 600;
}

.row.first-step .col-md-6 {
    margin: 15px;
    width: 47%;
}

.table.table-subtotal {
    max-width: 550px;
}

.table {
    display: table;
}

.table-tr {
    display: table-row;
}

.table-td {
    display: table-cell;
}

.tbody {
    display: table-row-group;
}

#sum-block {
    max-width: 800px;
    margin-right: auto;
}

.row.first-step button, .row.first-step a {
    max-width: 500px;
    margin: 15px auto;
}

.table-th {
    display: table-cell;
    display: table-cell;
    font-weight: 700;
    padding: 5px;
}

button#new-offer-send-button {
    white-space: inherit;
}

@media (max-width: 990px) {
    .box-image > .row {
        display: inline-block;
        max-width: 50%;
        vertical-align: middle;
    }

    .box-image > .row.section-sizes {
        padding-left: 2rem;
    }

    .row.section-sizes h4, .row.section-sizes h3 {
        white-space: nowrap;
        font-size: 1.5rem;
    }
}

@media (max-width: 700px) {
    .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
        position: relative;
        min-height: 1px;
        padding-right: 5px;
        padding-left: 5px;
    }

    .col-xs-6 {
        width: 100%;
    }

    .h3, h3 {
        font-size: 16px;
    }

    .box-image .col-md-12 .row {
        display: block;
        max-width: 100%;
        padding: 0 15px;
        margin: 0;
    }

    .box-image .col-md-12 .row .col-md-4 {
        width: 110px;
        display: inline-block;
    }

    .box-image .col-md-12 .row .col-md-8 {
        width: calc(100% - 120px);
        display: inline-block;
    }

    .box-footer-section.row button {
        margin: auto;
    }

    button.btn.btn-success.btn-block.pull-right.add_section {
        width: 100%;
        margin-left: 0px;
        margin: auto !important;
        max-width: 100% !important;
    }

    .content {
        padding-left: 5px;
        padding-right: 5px;
    }

    .row {
        margin-right: -5px;
        margin-left: -5px;
    }

    #fence-elements {
        margin: -10px;
    }

    #sum-block {
        margin: -10px !important;
        width: auto !important;
    }

    .box-footer-section.row button.btn.btn-block.btn-info.duplicate-section {
        margin-bottom: 10px;
    }

    .table-td {
        display: block;
        max-width: 96%;
    }

    .table-th {
        display: block;
        /* margin: 5px -15px 5px -15px; */
        padding: 5px 15px;
        font-weight: 700;
    }

    .table-tr {
        display: block;
    }

    .table-tr {
        display: table-row;
    }

    .table-td, .table-th {
        display: table-cell;
        font-size: 85%;
    }

    .table-th .total {
        font-size: 1.5rem;
        white-space: nowrap;
    }

    .table-tr.total-line.box.box-success .table-th {
        font-size: 1.3rem;
        padding-left: 9px;
    }

    .price-cell {
        white-space: nowrap;
    }

    .box-body.table-responsive {
        padding: 15px 5px;
    }

    .table-tr.bg-gray-active.color-palette {
        margin: 5px -5px;
        padding: 5px;
    }

    .tbody.other-material-and-work-prices .table-th {
        display: table-cell;
        font-size: 14px;
    }

    .tbody.other-items {
        font-size: 14px;
    }

    .row.first-step .col-md-6 {
        width: 100%;
        font-size: 12px;
        max-width: 260px;
    }

    button.button.btn.btn-success.btn-block.btn-lg.last-step-btn {
        font-size: 18px;
        white-space: inherit;
    }

    tbody.other-items td {
        font-size: 14px;
        white-space: nowrap;
    }

}

.product-label {
    display: block;
}

.input-group .input-group-addon {
    background-color: #ebedef;
}

.nav-tabs-custom {
    background: transparent;
}

.table-responsive table.dataTable, .datatable_shipping.table.dataTable.no-footer {
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0;
}

table.table.table-bordered > tbody > tr > td {
    vertical-align: middle !important;
}

.close-button {
    font-size: 4rem;
    font-weight: bold;
    /* background-color: #f8f9fa; */
    color: #fff;
    /* border: 2px solid #ccc; */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.close-button:hover {
    color: #9b9b9b;
    transform: rotate(90deg);
}

.close-button:active {
    transform: scale(0.9);
}
#myimagefullsize {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Áttetsző fekete háttér */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1500; /* Mindig felül legyen */
}

/* Konténer a képhez és a bezáró gombhoz */
.full-image-block {
    position: relative;
    max-width: 90%;   /* A kép maximum szélessége (responsive) */
    max-height: 90%;  /* A kép maximum magassága (responsive) */
}

/* A kép középen */
.full-image-inblock img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
    border-radius: 5px;
    box-shadow: 5px 5px 12px rgba(0, 0, 0, 0.9);
    border: 1px solid #333 !important;
}
.clickable-image {
    cursor: pointer;
}
.close-button {
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 4rem;
    font-weight: bold;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
}

.close-button:hover {
    color: #9b9b9b;
    transform: rotate(90deg);
}
