body.page-template-configlightconfiglight-php #popup {
  display: none !important;
}

body {
      margin: 0;
      font-family: sans-serif;
      background-color: #721172;
      min-height: 100vh;
      margin-bottom: 1cm;
      overflow: auto !important;
}
.device_type {
      overflow: auto !important;
}
.group {
    display: flex;
    flex-wrap: wrap;
}
.controls {
    background: #00000087;
    overflow: hidden;
    margin-bottom: 1cm;
}
body * {
      box-sizing: unset !important;
}
hr {
    clear: both;
}
#top_gradient,
#kapcsolat,
#header,
#footer {
  display: none !important;
}


.flex-line {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 10px 0;
}

.controls label {
    background-color: #d859ac;
    color: white;
    border: none;
    padding: 4px 10px;
    margin: 0;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.4s;
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    min-height: 24px;
}
  .controls label:active {
  background-color: #7e3464;
}
    .lap,.lap2,.lap3,.lap4 {
      position: relative;
      width: 240mm;
      height: 240mm;
      border: 0px solid #333;
      box-sizing: border-box;
      background-image: url('ledpanelhatter.png');
      background-size: cover;
      background-position: center;
      background-position: center;
      margin: 0 auto 0 auto;
      overflow: hidden;
    }

    .lap {
      margin-left: 0.5cm;
      float: left;
    }
    .lap2 {
      margin-left: 0.5cm;
      float: left;
    }
    .lap3 {
      margin-left: 0.5cm;
      float: left;
    }

    .pont {
      position: absolute;
      width: 3.5mm;
      height: 3.5mm;
      transform: translate(-50%, -50%);
      box-shadow: 0 0 4px rgba(0,0,0,0.2);
      animation-duration: 2.5s;
      animation-timing-function: ease-in-out;
      animation-iteration-count: infinite;
    }


    .piros,
    .piros::after {
      background-color: red;
    }

    .kek,
    .kek::after {
      background-color: blue;
    }

    .zold,
    .zold::after {
      background-color: green;
    }

    .lila,
    .lila::after{
      background-color: purple;
    }
    .lila2,
    .lila2::after {
      background-color: purple;
    }

    .vilagos-kek,
    .vilagos-kek::after {
      background-color: rgb(11, 170, 214);
    }

    /*
    .pont::after {
      content: '';
      width: 14mm;
      height: 14mm;
      display: block;
      border-radius: 360px;
      left: -5.25mm;
      top: -5.25mm;
      position: absolute;
      opacity: 0.3;
    }
      */



    .fekete {
      background: black;
      box-shadow: 0 0 4px rgba(0, 0, 0, 0.4), 0 0 10px rgba(0, 0, 0, 0.6);
      width: 17mm;
      height: 7mm !important;
    }
    .csavarfej {
      background: #333;
      box-shadow: 0 0 4px rgba(98, 98, 98, 0.4), 0 0 10px rgba(127, 127, 127, 0.6);
      border-radius: 10px
    }


    .ellenallas_allo,
    .ellenallas_fekvo {
      background: yellow;
      box-shadow: 0 0 4px rgba(98, 98, 98, 0.4), 0 0 10px rgba(127, 127, 127, 0.6);
    }



    .panels-wrap {
      display: grid;
      gap: 20px;
      align-items: start;
      justify-content: start;
      margin: 0 20px 0 20px;
    }

    .panels-wrap.layout-horizontal {
      grid-template-columns: repeat(3, max-content);
    }

    .panels-wrap.layout-vertical {
      grid-template-columns: 1fr;
    }

    .panels-wrap.layout-grid {
      grid-template-columns: repeat(2, max-content);
    }

    .panels-wrap .panel-box {
      float: none !important;
      margin: 0 !important;
      display: block;
      position: relative;
    }

    .panels-wrap.layout-grid #lapContainer4 {
      grid-column: 1 / 4;
    }

    .panels-wrap.layout-grid #lapContainer3 {
      grid-column: 1 / 3;
    }

    .panels-wrap.layout-grid #lapContainer2 {
      grid-column: 2 / 3;
    }

    .panels-wrap.layout-grid #lapContainer {
      grid-column: 1 / 2;
    }

    .panels-scroll {
      width: 100%;
      /*
      overflow-x: auto;
      overflow-y: visible;
      -webkit-overflow-scrolling: touch;
      */
      margin-bottom: 30px;
    }

    .panels-wrap {
      display: grid;
      gap: 20px;
      align-items: start;
      justify-content: center;
      justify-items: center;
      width: max-content;
      min-width: 100%;
      padding: 20px;
    }

    .panels-wrap.layout-horizontal {
      grid-template-columns: repeat(4, max-content);
    }

    .panels-wrap.layout-vertical {
      grid-template-columns: 1fr;
      width: max-content;
      min-width: 100%;
    }

    .panels-wrap.layout-grid {
      grid-template-columns: repeat(2, max-content);
    }

    .panels-wrap .panel-box {
      float: none !important;
      margin: 0 !important;
      display: block;
      position: relative;
      flex: 0 0 auto;
    }

.lap,
.lap2,
.lap3,
.lap4,
.panel-box {
  position: relative;
  overflow: visible;
}

  .panels-wrap .lap,
  .panels-wrap .lap2,
  .panels-wrap .lap3, 
  .panels-wrap .lap4 {
    float: none !important;
    clear: none !important;
    margin: 0 !important;
    display: block;
    position: relative;
  }


    .rejtett {
      display: none;
    }
    .grid-line {
      position: absolute;
      z-index: 0;
    }
    .grid-horizontal {
      height: 1px;
      width: 100%;
      background-color: rgba(255, 105, 180, 0.5);
    }
    .grid-vertical {
      width: 1px;
      height: 100%;
      background-color: rgba(255, 105, 180, 0.5);
    }
    .grid-horizontal.bold, .grid-vertical.bold {
      background-color: rgba(255, 20, 147, 0.9);
      height: 2px;
      width: 2px;
    }
    .grid-container {
      position: absolute;
      inset: 0;
      pointer-events: none;
      overflow: visible;
      z-index: 5;
    }

   .grid-label {
      position: absolute;
      width: 12px;
      height: 12px;
      box-sizing: border-box !important;
      padding: 0;
      margin: 0;
      text-align: center;
      line-height: 12px;
      font-size: 11px;
      color: #fff;
      background: rgba(255, 24, 220, 0.8);
      border-radius: 3px;
      z-index: 20;
      pointer-events: none;
      font-weight: 700;
      white-space: nowrap;
    }

    .grid-label-x {
      transform: translateX(-50%);
    }

    .grid-label-y {
      transform: translateY(-50%);
    }

button {
  background-color: #d859ac;  /* kék háttér */
  color: white;               /* fehér szöveg */
  border: none;               /* nincs keret */
  padding: 8px 16px;          /* belső térköz */
  font-size: 14px;            /* betűméret */
  cursor: pointer;            /* kézkurzor */
  transition: background-color 0.3s;
}
button:active {
  background-color: #7e3464;
}
select::placeholder,
input::placeholder,
textarea::placeholder {
  color: whitesmoke; /* your color */
  opacity: 1; /* ensures consistent appearance across browsers */
}
input{
  background-color: #8f8f8f;  /* kék háttér */
  color: white;               /* fehér szöveg */
  border: none;               /* nincs keret */
  padding: 8px 16px;          /* belső térköz */
  margin: 0;                /* külső térköz */
  font-size: 14px;            /* betűméret */
  cursor: pointer;            /* kézkurzor */
  transition: background-color 0.3s;
}
input:active {
  background-color: #7e3464;
}
select {
    background-color: #d859ac;
    color: white;
    border: none;
    padding: 4px 10px;
    margin: 0;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.4s;
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}
input#jsonInput {
    padding: 5px 10px;
}
select#colorSelector {
    height: 24px;
}

form.post-password-form {
    min-height: 100vh;
    color: white;
}
.post-password-form input[type="password"] {
    background: #ffffff96 !important;
}