@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');

@media only screen and (max-width: 512px) {
    .login_col1 {
        padding-top: 0px;
    }

    .table {
        max-width:512px !important;
    }
    .simplepay_logo,
    .saferpay_logo {
        width: 50%;
        padding-left: 10px;
        padding-bottom: 10px;
    }
    .bigfish_logo {
        width: 50%;
        padding-right: 10px;
        padding-bottom: 10px;
    }
    nav a {
        color: var(--fxWhite);
        font-size: 1.2rem;
    }
    html, body {
        font-size: 1rem;
    }
    .link_text,
    .menu_name_text {
        font-size: 1.2rem;
    }
}
@media only screen and (min-width: 513px) {
    .login_col1 {
        padding-top: 7rem;
    }
    .simplepay_logo,
    .saferpay_logo {
        width: 25%;
        padding-left: 10px;
        padding-bottom: 10px;
    }
    .bigfish_logo {
        width: 25%;
        padding-right: 10px;
        padding-bottom: 10px;
    }
    html, body {
        font-size: 1.1rem;
    }
    .link_text,
    .menu_name_text {
        font-size: 1.4rem;
    }
}


html, body {
    font-family: "Open Sans";
    font-weight: 400;
    height: 100%;
}

body {
    border: 0px;
    /*display: flex;
    flex-direction: column;*/
}
/*
#browser_data_area {
  flex: 1;
}
*/
h4 {
    padding-top: 0.4rem;
}

main {
    color: var(--fxBlack);
    background: var(--fxWhite1);
    background-size: 100%;
    background-repeat: no-repeat;
}

input[type=number] {
  -moz-appearance: textfield;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: auto; /* Chrome/Edge/Safari: spinner engedélyezése */
  margin: 0;
}

.dropleft .dropdown-menu {
    right: -100%;
}


.spback_image {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 300px;
}

.spback_image_background {
    color: var(--fxWhite);
    background-color: var(--fxDarkGray);
}

header {
    background: var(--fxBrownLight1);
    padding: 15px 0;
}

.header_text_center {
    text-align: center;
    color: var(--fxWhite);
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
}
.fti_flexys {
    font-family: SourceSansPro-Black !important;
    font-weight: 1000;
}
.fti_me {
    font-style: italic;
}
.fti_pay {
    color: var(--fxYellow);
    font-weight: 800;
}
.button_big {
    font-size: 2rem;
}

a {
    cursor: pointer;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
a:hover {
    -webkit-transition: scale(1.05);
    transition: scale(1.05);
}

.colorBgOldGold {
    background: var(--fxBrownLight1);
    background-image: linear-gradient(var(--fxBrownLight1), var(--fxBrownLight2), var(--fxBrownLight1));
}

#table_rendeles_table th {
    border: 0;
    padding: 0;
    background-color: inherit;
    color: inherit;
}
#table_rendeles_table tr {
    border: 0;
    padding: 0;
}
#table_rendeles_table td {
    padding: 0;
    background-color: inherit;
    color: inherit;
}
/*
#table_rendeles_table td a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 10px;
    text-decoration: none;
    background-color: inherit;
    color: inherit;
}
*/
#table_rendeles_table .menu_tetelek {
    padding: 2px;
    border: 2px solid var(--fxLightGray2);
}}

/*.fxtable_header .photo_th {*/
.photo_th {
    margin: 0;
    padding: 0;
    height: 0;
}
/*.fxtable_header .menu_name_text_th {*/
.menu_name_text_th {
    margin: 0;
    padding: 0;
    height: 0;
}

.photo_tetel_button,
.photo_menu_button {
    vertical-align: middle;
    margin: auto;
}
.photo_tetel_button img,
.photo_menu_button img {
    vertical-align: middle;
    max-width: 100px;
    min-width: 100px;
}

.menutetel_button {
}

.menu_name_text {
    text-align: left;
}
.menu_name_text span {
  padding-left: 20px;  /* Itt állítsd be a kívánt távolságot */
  padding-right: 10px; /* Érdemes a jobb oldalra is tenni egy kicsit */
  display: block;      /* Biztosítja, hogy a padding minden sorra vonatkozzon */
  line-height: 1.4;    /* Segít a több soros szöveg olvashatóságában */
}

.full-cell {
  padding: 0;
  display: flex;
  align-items: stretch; /* Teljes magasság kitöltése */
  /*height: auto;          Példa magasság */
  min-height: 3rem;

  border-radius: 15px;
  overflow: hidden;     /* Ez vágja le a belső linkek sarkait a kerekítésnél */
  /*border: 1px solid #ccc;   */
}

/* Közös alapstílus a linkeknek */
.link_image, .link_text {
  display: flex;
  flex: 0 0 100px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
}

/* Fix szélességű link a képnek */
.link_image {
  flex: 0 0 100px;      /* Nem nyúlik, nem megy össze, pontosan 100px */
  overflow: hidden;
}

.link_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;    /* Kitölti a 100px-es keretet torzítás nélkül */
}

/* Rugalmas szélességű link a szövegnek */
.link_text {
  flex: 1;              /* Elfogyasztja az összes maradék szélességet */
  padding: 0 15px;      /* Hogy ne érjen a szöveg a széléhez/képhez */
  justify-content: flex-start; /* A szöveg balra zárt maradjon a cellán belül */
}



.fa, .fas {
    font-size: 1.2rem;
}

#lang_english,
#lang_deutsch,
#lang_magyar {
    float: right;
    margin: 0.5rem!important;
}
.language_image {
    text-align: right;
    display: block;
    color: var(--fxWhite);
    width: 30px;
}

/************************/
.main_table {
    border: 0px;
    width: 100%;
}

.table th, .table td {
    vertical-align: middle;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.fxtable {
    border-collapse: separate;
    border-spacing: 0 2px;
    border: 0px;    /*1px solid var(--fxLightGray2);*/
    width: 100%;
    margin-left: 2px;
    margin-right: 2px;
}

.fxtable th a {
    font-size: 1.1rem;
    color: var(--fxBlack);
    background-color: var(--fxWhite);
    border: 0px;
    opacity: 0.9;
}

.fxtable th {
    font-size: 1.1rem;
    color: var(--fxBlack);
    background-color: var(--fxWhite);
    border: 1px solid var(--fxLightGray);
    opacity: 0.9;
}

.fxtable td {
    /*border: 1px solid var(--fxLightGray);
    padding: 5px;*/
}

.rounded-row {
    background-color: #f2f2f2; /* Szürke háttér a sornak */
}
.rounded-row td:first-child {
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}
.rounded-row td:last-child {
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}
/* Opcionális: "láthatatlan" keret */
/*
.rounded-row td {
    border: 1px solid transparent;
    padding: 10px;
}
*/
/*
.fxtable tr:nth-child(odd) {
    color: var(--fxBlack);
    background-color: var(--fxWhite);
}
.fxtable tr:nth-child(even) {
    color: var(--fxBlack);
    background-color: var(--fxLightGray);
}
*/
.fxtable_header,
.fxtable_header tr {
    margin: 0;
    padding: 0;
    border: 0;
}

.fxtable_header button {
    min-width: 2.5rem;
}

.fxtable_header .headertext {
    /*font-size: 1.2rem;*/
    margin-top: 0.3rem;
    margin-bottom: 0.3rem;
    margin-left: 0.3rem;
    text-align: center;
    vertical-align: middle;
}

.table_menu_color0 {
    color: var(--fxBlack);
    background: var(--fxWhite);
}

.table_menu_color1 {
    color: var(--fxBlack);
    background: var(--fxWhite1);

}

.fxtable .active {
    color: var(--fxBlack);
    background: var(--fxLightGray1);
}

/************************/
nav {
    background: var(--fxBrownLight1);
    padding: 15px 0;
}
nav a {
    color: var(--fxDarkGray);
    font-size: 1rem;
}
nav a:hover {
    color: var(--fxBlack);
}

/************************/
footer {
    background: var(--fxDarkGray);
}
.footer-text {
    color: var(--fxLightGray2);
}
footer a {
    color: var(--fxBrown);
}
footer a:hover {
    color: var(--fxGray);
}


.tooltip-inner {
    max-width: 100%;
    text-align: left;
}

.table_sorted_active {
    background: var(--fxLightGray2);
}

.carousel_text {
    color: black;
}

.text-secondary {
    color: var(--fxWhite) !important;
    background: var(--fxBrown) !important;
}

.termekinfo {
    padding: 0rem;
    margin-right: 0.5rem;
    font-size: 1.5rem;
    border: 1px solid var(--fxBrown);
    border-radius: 1rem;
    /*color: var(--fxBrown) !important;
    background: var(--fxWhite) !important;*/
}

.etelfoto img {
    vertical-align: top;
    margin: auto;
}

/*********************** Vezérlők ***********************/

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

.card_disabled {
    text-decoration: line-through;
    color: red;
}

#login_button_felejtes,
#login_button_regisztracio {
    color: var(--fxBrown);
    text-decoration: underline;
    cursor: pointer;
}
a:hover#login_button_felejtes,
a:hover#login_button_regisztracio {
    color: var(--fxBlack);
}

.spinner {
    display: inline-flex;
    align-items: center;
    /*border: 1px solid var(--fxLightBorder);*/
    border: 0px;
    border-radius: 0.2rem;
    overflow: hidden;
    margin: 5px;
}

.spinner input {
    border: none;
    text-align: center;
    font-size: 1rem;
    outline: none;
}

.spinner_number {
    display: block;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}
.centered {
    float: none;
    margin-right: auto;
}

/*
.spinner button {
    background-color: #0d6efd;
    color: white;
    border: none;
    padding: 0.5rem 0.8rem;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background-color 0.2s;
}

.spinner button:hover {
    background-color: #0b5ed7;
}

.spinner button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}
*/

.modal {
    /*position: relative;*/
}

.modal-content {
    border: 3px solid var(--fxBrown);
    border-radius: 0.2rem;
    /*min-width: 80%;*/
}
/*
#yesno_modal .button_megsem,
#yesno_modal .button_rendben {
    border: 1px solid var(--fxBrown);
    border-radius: 0.2rem;
    color: var(--fxWhite);
    background: var(--fxBrown);
}
#yesno_modal .button_megsem:hover,
#yesno_modal .button_rendben:hover {
    border: 1px solid var(--fxBrown);
    border-radius: 0.2rem;
    color: var(--fxWhite);
    background: var(--fxBrownLight1);
}

.alert button {
    padding: 6px;
    border: 1px solid var(--fxBrown);
    border-radius: 0.2rem;
    color: var(--fxBlack);
    background: var(--fxBrown);
}
.alert button:hover {
    border: 1px solid var(--fxBrown);
    border-radius: 0.2rem;
    color: var(--fxBlack);
    background: var(--fxBrownLight1);
}

.alert-danger {
    border: 3px solid var(--fxBrown);
    border-radius: 0.2rem;
    color: var(--fxAlertDanger);
    background: var(--fxAlertDangerBg);
}
.alert-success {
    border: 3px solid var(--fxBrown);
    border-radius: 0.2rem;
    color: var(--fxAlertSuccess);
    background: var(--fxAlertSuccessBg);
}
.alert-warning {
    border: 3px solid var(--fxBrown);
    border-radius: 0.2rem;
    color: var(--fxAlertWarning);
    background: var(--fxAlertWarningBg);
}
*/
.menu_button_tetel,
.menu_button_tetel:focus {
    box-shadow: none;
    border-color: var(--fxBrown);
    border-radius: 0.2rem;
    color: var(--fxWhite);
    background: var(--fxBrown);
    width:99%;
}
.menu_button_tetel:disabled, .menu_button_tetel.disabled,
.menu_button_tetel:not(:disabled):not(.disabled):active:focus,
.menu_button_tetel.focus,
.menu_button_tetel:focus,
.menu_button_tetel:hover {
    box-shadow: none;
    border-color: var(--fxBrown);
    color: var(--fxWhite);
    background: var(--fxBrownLight1);
    width: 99%;
}

.common_button_tetel,
.common_button_tetel:focus {
    box-shadow: none;
    border-color: var(--fxBrown);
    border-radius: 0.2rem;
    color: var(--fxWhite);
    background: var(--fxBrown);
}
.common_button_tetel:disabled, .common_button_tetel.disabled,
.common_button_tetel:not(:disabled):not(.disabled):active:focus,
.common_button_tetel.focus,
.common_button_tetel:focus,
.common_button_tetel:hover {
    box-shadow: none;
    border-color: var(--fxBrown);
    color: var(--fxWhite);
    background: var(--fxBrownLight1);
}
/*
.btn-danger {
    box-shadow: none;
    border-color: var(--fxDangerBorder);
    border-radius: 0.2rem;
    color: var(--fxDanger);
    background: var(--fxDangerBg);
}
.btn-danger:disabled, .btn-danger.disabled,
.btn-danger:not(:disabled):not(.disabled):active:focus,
.btn-danger.focus,
.btn-danger:focus,
.btn-danger:hover {
    box-shadow: none;
    border-color: var(--fxDangerBorder);
    color: var(--fxDanger);
    background: var(--fxDangerBgHover);
}

.btn-success {
    box-shadow: none;
    border-color: var(--fxSuccessBorder);
    border-radius: 0.2rem;
    color: var(--fxSuccess);
    background: var(--fxSuccessBg);
}
.btn-success:disabled, .btn-success.disabled,
.btn-success:not(:disabled):not(.disabled):active:focus,
.btn-success.focus,
.btn-success:focus,
.btn-success:hover {
    box-shadow: none;
    border-color: var(--fxSuccessBorder);
    color: var(--fxSuccess);
    background: var(--fxSuccessBgHover);
}

.btn-primary {
    box-shadow: none;
    border-color: var(--fxPrimaryBorder);
    border-radius: 0.2rem;
    color: var(--fxPrimary);
    background: var(--fxPrimaryBg);

}
.btn-primary:disabled, .btn-primary.disabled,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary.focus,
.btn-primary:focus,
.btn-primary:hover {
    box-shadow: none;
    border-color: var(--fxPrimaryBorder);
    color: var(--fxPrimary);
    background: var(--fxPrimaryBgHover);
}

.btn-light {
    box-shadow: none;
    border-color: var(--fxLightBorder);
    border-radius: 0.2rem;
    color: var(--fxLight);
    background: var(--fxLightBg);
}
.btn-light:disabled, .btn-light.disabled,
.btn-light:not(:disabled):not(.disabled):active:focus,
.btn-light.focus,
.btn-light:focus,
.btn-light:hover {
    box-shadow: none;
    border-color: var(--fxLightBorder);
    color: var(--fxLight);
    background: var(--fxLightBgHover);
}
*/
.kosar_button_remove {
    padding: 0.3rem;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    border: 1px solid var(--fxBrown);
    border-radius: 1rem;
    /*color: var(--fxBrown) !important;
    background: var(--fxWhite) !important;*/
}
.kosar_button_remove .glyphicon{
    /*color: var(--fxBrown) !important;
    background: var(--fxWhite) !important;*/
}

.glyphicon {
    color: var(--fxBlack);
}
nav .glyphicon-user {
    color: var(--fxBrown);
    background: var(--fxWhite);
}
.glyphicon-user-text {
    color: var(--fxBlack);
}

.haveItem {
    background: var(--fxBrownLight2);
}
.haveItem:hover {
    background: var(--fxBrownLight3);
}

#modalblock_data_area,
#profil_data_area,
#kosar_data_area,
#others_data_area,
#archiv_data_area,
#passw_data_area,
#simplepay_data_area {
    background: var(--fxWhite);
}

#kosar_data_area {
    /*overflow-x: auto;*/
}

.form-control {
    color: var(--fxBlack);
    border-color: var(--fxBlack);
    border-radius: 0.4rem;
}

/*
.row {
    margin-left: 0px;
    margin-right: 0px;
}
.col, .col-lg-1, .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-lg-10, .col-lg-11, .col-lg-12 {
    padding-left: 0px;
    padding-right: 0px;
}
*/
.card {
    color: inherit;
    background-color: inherit;
    filter: brightness(1.1);
}

.card-img {
    width: auto;
}
.custom-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(max(200px, calc(25% - 0.5rem)), 1fr));
    gap: 0.5rem;
    align-items: stretch; /* Soron belüli egyenlő magasság kikényszerítése */
    color: inherit;
    background-color: inherit;
}

.custom-card {
    display: flex !important;
    flex-direction: column;
    height: 100%; /* Kitölti a grid cella teljes magasságát */
    margin: 0;
}

.img-container {
    height: 240px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden;
    padding: 0px;
}

.img-container img {
    max-width: 100%;
    max-height: 100%;
    width: 240px;
    height: auto;
    object-fit: contain;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

/* A gomb az aljára kerüljön */
.mt-auto {
    margin-top: auto !important;
}
