* {
/*  font-family: "<%= fontFamily %>", sans-serif;*/
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 1); /* X-offset, Y-offset, terjedelem, átlátszóság */
}

* {
/*margin: 0;*/
/*padding: 0;*/
box-sizing: border-box;
}

:root {
  --headerHeight: 53px;
  --animation_speed: 500ms;

  --desktop-navbar-padding: 14px;

  --navbar-background-color: rgba(0, 0, 0, 0.7);

  /* csak mobil beállitások */
  --slidebar-width: 255px;

  /*--side-dropdown-width: 250px;
  --mobile-navbar-height: 50px;
  --mobile-navbar-padding: 10px;
  --collapsed-panel-margin: 10px;*/
  
  font-size: 17px;
}

hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.desktop-navbar {
  display: none;

  background: linear-gradient(to bottom, #283244 0%, rgba(21, 26, 35, 0.5) 100%);
  background-color: rgba(0, 0, 0, 0.1);
  justify-content: space-between;
  
  position: relative; 
  top: 0;
  width: 100%;
  height: var(--headerHeight);
  z-index: 9999;

  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  -webkit-box-align: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;  
}

.navbar-menu {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
  padding: var(--desktop-navbar-padding);
}


/* mobil nézetben és desktop nézetben a max-width et külön venni, 
  desktopban jó a 100%
  mobilban függ a slide széleségétől !!!! */

.navbar-link,
.submenu-link {
  text-decoration: none;
  color: white;
  padding: 10px 20px;
  display: block;
  max-width: 100%;
}

/*.mobile-navbar submenu-link,
.mobile-navbar navbar-link {
  max-width: 200px;
}
.desktop-navbar .navbar-link,
.desktop-navbar .submenu-link {
  max-width: 100%;
}*/

.navbar-link {
  height: var(--headerHeight);
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-cart-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.user-cart-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.user-cart-link__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #dc3545;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
  transform: translateY(0);
  flex-shrink: 0;
}

.navbar-item a.toggled {
  background-color: rgba(0, 0, 0, 0.3);

  color: #fafafa;
}


.navbar-link:hover,
.submenu-link:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1), inset 0 0 1px rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.1);
  color: #00b6ff;
}

@media (max-width: 750px) {
  .desktop-navbar {
    display: none;
  }
  .mobile-navbar {
    min-width: 360px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
  }
}
@media (min-width: 751px) {
  .mobile-navbar {
    display: none;
  }
  .desktop-navbar {
    min-width: 360px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
  }

}

.navbar-item {
  position: relative;
}

.submenu {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  top: 100%;
  max-width: 250px;
  min-width: 200px;
  width: auto;
  left: 0;
  
  background: linear-gradient(to bottom, #283244 0%, rgba(21, 26, 35, 0.95) 100%);
  background-color: rgba(0, 0, 0, 0);
  z-index: 1;

  animation: slide-up var(--animation_speed) ease, fade-in var(--animation_speed) ease;
  transform-origin: bottom;
}

.submenu-right {
  right: 0;
  left: auto;
  /* További stílusok, ha szükséges */
}

.submenu-item {
  position: relative;
}

.navbar-item:hover .submenu {
  display: block;
}

.submenu-nested {
  display: none !important; /* Kezdetben rejtve van */
  position: absolute;
  top: 0;
  left: 100%; /* A subsubmenu jobbra jelenjen meg a submenu-tól */
  
  background-color: #283244; /* Háttérszín beállítása */

  max-width: 250px !important;
  width: 250px;
  animation: slide-left var(--animation_speed) ease;
}

.right .submenu-nested {
  left: auto;
  right: 100%; /* A subsubmenu balra jelenjen meg a submenu-tól */
  animation: slide-right var(--animation_speed) ease;
}

.submenu-item:hover .submenu-nested {
  display: block !important;/* Megjelenítse, amikor a felhasználó a szülő elemen van az egérrel */
}

.triangle-left {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 5px solid white; /* vagy bármilyen szín, amit szeretnél használni */
  position: absolute;
  left: 10px; /* padding hozzáadása */
  top: 50%;
  transform: translateY(-50%);
}

.triangle-right {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid white; /* vagy bármilyen szín, amit szeretnél használni */
  position: absolute;
  right: 10px; /* padding hozzáadása */
  top: 50%;
  transform: translateY(-50%);
}

.navbar-link:hover,
.submenu-link:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1), inset 0 0 1px rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.1);
  color: #00b6ff;
  transition: color var(--animation_speed), background-color var(--animation_speed), border-color var(--animation_speed);
}

.triangle-left:hover {
  border-right-color: #00b6ff; /* A háromszög színét megegyeztetjük a hover színével */
}

.triangle-right:hover {
  border-left-color: #00b6ff; /* A háromszög színét megegyeztetjük a hover színével */
}

/* Ha a submenu item hover állapotban van, akkor a triangle is változtatja a színét */
.submenu-item:hover .triangle-left {
  border-right-color: #00b6ff; /* A háromszög színét megegyeztetjük a hover színével */
}

.submenu-item:hover .triangle-right {
  border-left-color: #00b6ff; /* A háromszög színét megegyeztetjük a hover színével */
}


.Navbar-button {
  display: inline-block;
  position: relative;
  
  background-color: #0e86ca;
  background-color: rgba(14, 134, 202, 1);

  /*border: solid 1px #00aeff;*/
  color: #fff;
  /*white-space: nowrap;*/
  font-size: 16px;
  /*line-height: 1;*/
  padding: 10px 50px;
  width: 100%;
  
  cursor: pointer;
  overflow: visible;
  transition: color var(--animation_speed), background-color var(--animation_speed), border-color var(--animation_speed);

  display: flex;
  align-items: center;
  justify-content: center;
  /*text-align: center;*/
}

.Navbar-button:hover {
  background-color: #005c99;
  border-color: #0e86ca;
  text-decoration: none;
  color: #fff;
}

@keyframes slide-right {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide-left {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


@keyframes slide-down {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}




/*---------------------teljes becsúszás---------------------------*/


/*@keyframes slide-right {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes slide-left {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}*/

@keyframes rotateAnimation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(180deg);
  }
}


.mobile-navbar {
  min-width: 360px;
  background: linear-gradient(to bottom, #283244 0%, rgba(21, 26, 35, 0.5) 100%);
  background-color: rgba(0, 0, 0, 0.1);
  justify-content: space-between;
  align-items: center;
  position: relative;  
  top: 0;
  width: 100%;
  height: var(--headerHeight);
  z-index: 9999;
  
  padding: 0px 20px;
  
  -webkit-box-pack: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  -webkit-box-align: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;  
}

#overlay {
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(0, 0, 0, 0.5); /* Félátlátszó fekete háttér */
  z-index: 1; /* Biztosítja, hogy az overlay a tartalom felett jelenjen meg */
  backdrop-filter: blur(2px);
  transition: opacity var(--animation_speed) linear, visibility 0s linear var(--animation_speed); /* Itt a visibility 500ms késleltetéssel vált */
  opacity: 0;
}
#overlay.active {
  visibility: visible;
  opacity: 1;
  transition: var(--animation_speed) linear;
}

.slide-sidebar {
  position: fixed;
  width: 0;
  /*height: calc(100vh - var(--footerHeight) - var(--headerHeight) + var(--footerPadding) - 10px);*/
  height: 100%;
  /*background-color: rgba(0, 0, 0, 0.8);*/ /* FEKETE RÉGI */

  background: linear-gradient(to bottom, #283244 0%, rgba(21, 26, 35, 0.1) 100%);
  background-color: rgba(0, 0, 0, 0);

  border-style: inset;
  border-width: 1px;
  border-color: rgba(255, 255, 255, 0.1);
  overflow-x: hidden;
  /*transition: 0.7s;*/
  transition: var(--animation_speed);


  /*padding-top: 60px;  */
  /*z-index: 9000;      */
}

.slide-sidebar.active {
  width: var(--slidebar-width);
}

.left-sidebar {
  top: var(--headerHeight);
  left: 0;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.right-sidebar {
  top: var(--headerHeight);
  right: 0;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.right-icon svg,
.left-icon svg {
    height: 21px;
    vertical-align: middle;
    fill: #f2f2f2;
/*    margin: 25px;*/
}

.right-icon svg {
  margin-right: 25px !important;
}
.left-icon svg {
  margin-left: 25px !important;
}

.right-icon:hover svg,
.left-icon:hover svg {
    fill: #00b6ff;
}

.left-icon,
.right-icon {
    cursor: pointer;
}

.left-icon i,
.right-icon i {
    background-color: transparent;
    border: none;
    color: #f2f2f2;
    font-size: 18px;
}

.slide-sidebar .sidebar-menu {
  list-style-type: none;
  padding: 0;
  margin: 0;

  /*a szöveg tördelés ellen */
  width: var(--slidebar-width); /* vagy bármilyen más érték, amely megfelel a kívánt szélességnek */
  overflow: hidden;

}

.slide-sidebar .sidebar-menu li {
  width: 100%;
}

.slide-sidebar .sidebar-menu li a {
  display: block;
  /*padding: 10px;*/
  padding: 14px 35px;
  text-decoration: none;
  color: #f2f2f2;
  border-bottom: 1px solid transparent;
  font-size: 17px;
}

.slide-sidebar .sidebar-menu li a.toggled {
  background-color: rgba(0, 0, 0, 0.5);
}

.slide-sidebar .sidebar-menu li a:hover {
/*  background-color: rgba(173, 216, 230, 0.3); 
  border: 1px solid lightblue; 
*/

  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1), inset 0 0 1px rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.5);
  /*background-color: rgba(173, 216, 230, 0.05); */
  /*background-color: rgba(173, 216, 230, 0.5); */
  color: #00b6ff; 
}

.sidebar-submenu{
  /*box-shadow: 0px 8px 16px 0px rgba(255, 255, 255, 0.2);*/
  background-color: rgba(0, 0, 0, 0.5);
  list-style: none;
  padding: 0px;
  margin-left: 0px;
  margin-right: 2px;
  left: 0;
  width: calc(var(--slidebar-width) - 2px); /* a sortörés miatt */
  display: none;
  z-index: 1;  
  /*z-index: 9999;*/
  -webkit-box-pack: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  -webkit-box-align: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;  
}

/* ezzel mindkét a menü és a submenü is szinezve lesz, ez is jó de nem ezt akarom! talán majd másik weblapomon használom */
.opened {
  background-color: rgba(0, 0, 0, 0.7); /* vagy bármilyen más szín, amit szeretnél az "opened" állapothoz */

  /*background-color: red;*/
}


.sidebar-menu > li.opened > a {
  background-color: rgba(0, 0, 0, 0.6); /* vagy bármilyen más szín, amit szeretnél az "opened" állapothoz */
  color: #00aeff;
  font-size: 130%; /*:TODO elcsúszik a háromszög, de nem emiatt a az opened et nézd át*/ 
}

.sidebar-content {
}

/* Stílus a menüelemekhez, amelyeknek almenüjük van */
.has-submenu > a {
  padding-right: 15px; /* vagy bármilyen más érték, amely megfelelőnek tűnik */
  position: relative;
}

/* SVG háromszög stílusa */
/*.has-submenu > a > span > svg {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
}
.right-sidebar .has-submenu > a > span > svg {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
}

.sidebar-menu > li.opened > a > span > svg {
  position: absolute;
  /*right: 5px;*/
/*  top: 50%;
  transform: translateY(-50%);
}*/

/*
.menu-arrow {
  display: inline-block;
  margin-left: 5px;      
  transition: transform 0.3s;  
}
*/

/*.left-sidebar .has-submenu > a > span > svg {
  right: 15px; 
}

.right-sidebar .has-submenu > a > span > svg {
  left: 15px; 
}*/


.menu-arrow  {
  /*display: inline-block;*/
  width: 21px;
  height: 21px;
  opacity: 1;
  /*transition: transform 0.3s;*/
}

/* Bal oldali oldalsáv */
.left-sidebar .menu-arrow {
  position: absolute;
  right: 10px; /* A jobb szélétől balra 15px-re */
  top: 50%;
  transform: translateY(-50%);
}

/* Jobb oldali oldalsáv */
.right-sidebar .menu-arrow {
  position: absolute;
  left: 10px; /* A bal szélétől jobbra 15px-re */
  top: 50%;
  transform: translateY(-50%);
}

/*.right-sidebar:hover .menu-arrow,
.left-sidebar:hover .menu-arrow {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1), inset 0 0 1px rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.1);
  color: #00b6ff;
  transition: color var(--animation_speed), background-color var(--animation_speed), border-color var(--animation_speed);
}
*/

.slide-sidebar .sidebar-menu li a:hover .menu-arrow {
}
  
/*.slide-sidebar .sidebar-menu li a:hover svg {
  fill: #00b6ff; 
}*/
/*.slide-sidebar .sidebar-menu li a:hover,
.slide-sidebar .sidebar-menu li a:hover svg,
.slide-sidebar .sidebar-menu li a:hover svg path {
  color: #00b6ff;
  fill: #00b6ff;
}*/




input[type="checkbox"] + label:hover  {
  /*border: solid #00aeff;*/
  /*border-width: 1px;*/
  /*border: solid 1px #00aeff;*/
  /*background-color: #00aeff;*/

  /*color: rgba(255, 255, 255, 0.7);*/
  color: #00aeff !important;
}
