body {
  background: white;
  font-family: "Open Sans";
}

.border-blue {
  border: 1px solid #97c2e6;
}

.border-green {
  border: 2px solid #78b834;
}

.bg-image {
  background: url("../hatter.jpg");
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

.bg-header {
  background: url("../header_bg.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.bg-dark-turquoise {
  background-color: #13425c;
}

.bg-contact-blue {
  background: #1090cf;
}

.bg-yellow {
  background-color: #ecd137;
}

.bg-grey {
  background-color: #f1f2f3;
}

.bg-white {
  background-color: white;
}

.bg-light-blue {
  background: #e0f6ff 100%;
}

.bg-matte {
  background: #ebf5ff;
}

.bg-gradient-blue {
  background: linear-gradient(to top, #52a1c8 0%, #def0fd 100%);
}

.bg-gradient-blue--reverse {
  background: linear-gradient(to bottom, #52a1c8 0%, #def0fd 100%);
}

.bg-gradient-yellow {
  background: linear-gradient(to top, #52a1c8 0%, #fcfdde 100%);
}

.bg-gradient-yellow--reverse {
  background: linear-gradient(to bottom, #82cbf0 0%, #fcfdde 100%);
}

.bg-gradient-blue-ltr {
  background: linear-gradient(to right, #196397 0%, #1b8699 100%);
}

.bg-gradient-grey {
  background: linear-gradient(145deg, #dddedf 0%, #f1f2f3 75%);
}

.bg-gradient-light-blue {
  background: linear-gradient(135deg, #87ceeb 0%, #b8dff0 50%, #e0f6ff 100%);
}

.bg-gradient-light-blue-reverse {
  background: linear-gradient(225deg, #87ceeb 0%, #b8dff0 50%, #e0f6ff 100%);
}

.bg-gradient-turquoise {
  background: linear-gradient(to top, #90c1bd 50%, #18789f 100%);
}

.bg-gradient-darkblue {
  background: linear-gradient(to bottom, #689ad3 10%, #214079 100%);
}

.bg-gradient-skyblue {
  background: linear-gradient(to bottom, #133d85 10%, #39a4c6 100%);
}

.bg-transparent-white {
  background: rgba(255, 255, 255, 0.25);
}

.bg-transparent-green {
  background: rgba(75, 195, 199, 0.25);
}

.bg-orange {
  background: #fce3ae;
}

.bg-solid-blue {
  background: #d8f2ff;
}

.bg-green {
  background-color: #deeba4;
}

.bg-dark-green {
  background-color: #cfe384;
}

.text-burgundy {
  color: #990328;
}


.text-red {
  color: #f33a0c;
}

.text-bg-yellow {
  background-color: #f2c94c;
  padding: 0 10px;
}

.text-blue {
  color: #05517a;
}

.text-skyblue {
  color: #1380bb;
}

.text-green {
  color: #1f7a33;
}

/* Szövegbuborék animációk */
.position-absolute .bg-white {
  animation: float 3s ease-in-out infinite;
}

.position-absolute:nth-child(2) .bg-white {
  animation-delay: -0.5s;
}

.position-absolute:nth-child(3) .bg-white {
  animation-delay: -1s;
}

.position-absolute:nth-child(4) .bg-white {
  animation-delay: -1.5s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

.text-white {
  color: white;
}

.button-bg-red {
  background-color: #d8262e;
  color: white;
  border-radius: 8px;
  font-size: 1.5rem;
}

.button-bg-red:hover {
  background-color: #bd151d;
  color: white;
}

.x-icon {
  width: 24px;
  height: 24px;
}

.x-big-icon {
  width: 32px;
  height: 32px;
}

.circle {
  width: 40px;
  height: 40px;
  min-width: 40px;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Safari flexbox alapok */
.safari-flex-fix {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.safari-flex-column {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}

.safari-flex-grow {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.safari-align-center {
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

.safari-justify-center {
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}

/* Kártyák egyenlő magasság */
.card-equal-height {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  height: 100%;
}

.card-body-flex {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.flex-grow-safari {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.extra-info {
  min-height: 100px;
}

.margin-top-auto {
  margin-top: auto !important;
}

/* Equal height sorok */
.row-equal-height {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.row-equal-height>[class*="col-"] {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

/* Tanfolyam kártyák Safari fix */
.tanfolyam-card-safari {
  display: -webkit-box !important;
  display: -webkit-flex !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  height: 100%;
}

.tanfolyam-image-safari {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  height: 250px;
  margin-bottom: 1rem;
}

/* Tripla tanfolyamok Safari fix */
.tripla-card-safari {
  display: -webkit-box !important;
  display: -webkit-flex !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  height: 100%;
  min-height: 200px;
}

.tripla-image-safari {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  height: 100px;
  margin-bottom: 1rem;
}

.tripla-text-safari {
  margin-top: auto;
}

/* Vélemény kártyák Safari fix */
.velemenyek-safari {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}

@media (min-width: 768px) {
  .velemenyek-safari {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
  }
}

/* Lista elemek Safari fix */
.list-item-safari {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
  -ms-flex-align: start;
  align-items: flex-start;
}

/* MEGRENDELEM gombok hover effektjei */
/* Alap árnyék és kattintás állapot */
.megrendelem-btn {
  box-shadow: 0 13px 20px rgba(0, 0, 0, .18), 0 8px 6px rgba(0, 0, 0, .12);
}

.megrendelem-btn:hover {
  box-shadow: 0 18px 25px rgba(0, 0, 0, .28), 0 13px 11px rgba(0, 0, 0, .22);
}

/* Arany gomb hover effektje */
.megrendelem-gold:hover {
  background-color: #be9904 !important;
  border-color: #97700e !important;
  color: white !important;
}

/* Arany gomb hover effektje */
.megrendelem-grey:hover {
  background-color: #474747 !important;
  border-color: #6b6b6b !important;
  color: white !important;
}

/* Kék gomb hover effektje */
.megrendelem-blue:hover {
  background-color: #1f7bac !important;
  border-color: #1a6994 !important;
  color: white !important;
}

/* Zöld gomb hover effektje */
.megrendelem-green:hover {
  background-color: #26943f !important;
  border-color: #1e7e34 !important;
  color: white !important;
}

/* Figyelmeztető szekció sárga-fekete diagonális csíkozott belső keret */
.warning-border {
  position: relative;
  border-radius: 0.75rem;
  padding: 2rem;
}

.warning-border::before,
.warning-border::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 10px;
  background: repeating-linear-gradient(135deg, #ffe600 0 15px, #000 15px 35px);
  z-index: 2;
}

.warning-border::before {
  top: 0;
  border-radius: 0.75rem 0.75rem 0 0;
}

.warning-border::after {
  bottom: 0;
  border-radius: 0 0 0.75rem 0.75rem;
}

.warning-border .warning-side {
  position: absolute;
  top: 10px;
  bottom: 10px;
  width: 10px;
  background: repeating-linear-gradient(135deg, #ffe600 0 15px, #000 15px 35px);
  z-index: 2;
}

.warning-border .warning-side.left {
  left: 0;
}

.warning-border .warning-side.right {
  right: 0;
}

.warning-border .alert {
  position: relative;
  z-index: 3;
}

.img-logo {
  width: 100px;
  height: auto;
}

/* Mobil optimalizálás */
@media (max-width: 578px) {
  .img-logo {
    width: 75px;
    height: auto;
  }
}

/* Szalag a csomagon */
/* Prémium ribbon */
.ribbon {
  transform: scale(1.5);
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 1;
  overflow: hidden;
  width: 93px;
  height: 93px;
  text-align: right;
}

@media (max-width: 578px) {
  .ribbon {
    transform: scale(1.2);
    right:4px;
    top: 3px;
  }
}

.ribbon span {
  font-size: 0.7rem;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  font-weight: bold;
  line-height: 32px;
  transform: rotate(45deg);
  width: 125px;
  display: block;
  background: #79a70a;
  background: linear-gradient(#9bc90d 0%, #79a70a 100%);
  box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
  position: absolute;
  top: 17px;
  right: -29px;
}

.ribbon span::before {
   content: '';
   position: absolute; 
   left: 0px; top: 100%;
   z-index: -1;
   border-left: 3px solid #79A70A;
   border-right: 3px solid transparent;
   border-bottom: 3px solid transparent;
   border-top: 3px solid #79A70A;
}
.ribbon span::after {
   content: '';
   position: absolute; 
   right: 0%; top: 100%;
   z-index: -1;
   border-right: 3px solid #79A70A;
   border-left: 3px solid transparent;
   border-bottom: 3px solid transparent;
   border-top: 3px solid #79A70A;
}

.red span {
  background: linear-gradient(#f70505 0%, #8f0808 100%);
}
.red span::before {
  border-left-color: #8f0808;
  border-top-color: #8f0808;
}
.red span::after {
  border-right-color: #8f0808;
  border-top-color: #8f0808;
}

.blue span {
  background: linear-gradient(#2989d8 0%, #1e5799 100%);
}
.blue span::before {
  border-left-color: #1e5799;
  border-top-color: #1e5799;
}
.blue span::after {
  border-right-color: #1e5799;
  border-top-color: #1e5799;
}

.burgundy span {
  background: linear-gradient(#7b1113 0%, #b91d1f 50%, #d12b2e 100%);
  color: #fffbea;
  box-shadow: 0 4px 12px -5px rgba(0, 0, 0, 0.8);
  border-top: 1px solid rgba(255,255,255,0.2);
  border-bottom: 1px solid rgba(0,0,0,0.3);
}

.burgundy span::before {
  border-left-color: #7b1113;
  border-top-color: #7b1113;
}

.burgundy span::after {
  border-right-color: #7b1113;
  border-top-color: #7b1113;
}
