/* 
    Nissan nyári ajánlat
*/


.container-fin {
    background: linear-gradient(to bottom right, #ffffff 0%, #dddddd 40%, #bbbbbb 70%, #999999 100%);    
}

.container-fin .container {
  padding-top: 100px;
  padding-bottom: 100px;
}

.row-gombok-left {
	text-align: left;
	margin-top: 40px;
}

a.btn.btn-akcio.btn-akcio-kek {
	color:#fff;
	background:#0056FF;
}

a.btn.btn-akcio:hover {
	background:#033fb6;
	color:#fff;
}


.ny_hero-container {
	min-height: 500px;
	background-size: cover;
	background-position: center;
	position: relative;
      /* overflow: hidden;
display: flex;
  align-items: center;
  justify-content: center; */
}

.ny_overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(0,0,0,0.4), rgba(30,30,30,0.2));
  z-index: 1;
  pointer-events: none;
}

.ny_hero-container .container {
    z-index: 2;
	padding-top: 100px;
	padding-bottom: 100px;
}

.ny_hero-flekk {
	background-color: white;
	width: 300px;
	height: 100%;
	box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.15),
    8px 0 30px rgba(0, 86, 255, 0.1); /* kékes fény oldalról */
    border-radius: 6px;
}

.ny_hero-div {
    text-align: center;
    padding: 20px;
    background-color: white;
	box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.15),
    8px 0 30px rgba(0, 86, 255, 0.1); /* kékes fény oldalról */
    border-radius: 6px;
}

.ny_hero-div img {
	width:90%;
	margin:20px auto;
}

.ny_hero-div ul {
	margin: 0 auto;
	width:90%;
}

.ny_hero-div ul li a {
	font-size: 1.8rem;
	font-weight: 700;
	color:#0056FF;
	border: 3px solid #fff;
	margin-bottom: 10px;
    text-decoration: underline;

}

.ny_hero-div ul li a.active {
	font-weight: 700;
	color:#232323;
	border: 3px solid #232323;
    border-radius: 4px;
    text-decoration: none;
    cursor: default;
}


@media (max-width: 768px) {
    .ny_hero-div,
    .ny_hero-text {
        width: 90%;
        margin-left: 5%;
    }

    .ny_hero-text {
        margin-top: 20px;
    }
}

.ny_hero-text h1 {
  font-weight: 700;
  font-size: 3.6rem;
  line-height: 1.4;
  color: white;
text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.6),
    0 0 10px rgba(0, 0, 0, 0.3);
}

.ny_hero-text h2 {
  font-weight: 400;
  font-size: 2.2rem;
  line-height: 1.4;
  color: white;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.6),
    0 0 10px rgba(0, 0, 0, 0.3);
}


.ny_nav-valaszto li {
    background: #fff;
    padding: 20px 10px;
    margin:0 20px;
    border-radius: 4px;
}

.ny_nav-valaszto li a {
    font-size:2.2rem;
    text-decoration: underline;
    padding: 10px;
    display: block;
    color:#232323
}
/*
    Nissan nyári ajánlat toggle switch
*/
.toggle-wrapper {
  position: relative;
  width: auto;
  margin: 2rem auto;
}

#nissan-toggle {
	display: none;
}

.toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #e5e5e5;
  border-radius: 30px;
  padding: 10px 20px;
  cursor: pointer;
  position: relative;
  user-select: none;
  font-weight: bold;
}

.toggle .slider {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: 50%;
  background: #0056FF;
  color:white !important;
  border-radius: 25px;
  transition: all 0.3s ease;
  z-index: 0;
}

input[type="checkbox"]:checked + .toggle .slider {
  left: calc(50% + 5px);
}

.toggle span {
  z-index: 1;
  width: 50%;
  text-align: center;
  font-size: 2rem;
}