@media screen and (max-width: 1600px) {
  /* Hlavne menu: polozky sa nelamu v slove, pod 1600px sa zalamuju cele do druheho riadku */
  .header .navbar-nav.mx-auto {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0;
    column-gap: 0.5rem;
    padding: 0 0.5rem;
  }
  .header .navbar-nav .nav-link {
    font-size: 0.9375rem;
  }
  .hero .hero-content {
    padding: 3rem;
  }
  .hero .hero-learning .hero-learning-content {
    padding: 2.5rem 1.5rem 2rem;
  }
}
@media screen and (max-width: 1366px) {
  .hero .hero-content {
    padding: 2.5rem;
  }
  .hero .hero-learning .hero-learning-content {
    padding: 2rem 1rem 1.5rem;
  }
}
@media screen and (max-width: 1200px) {
  .reviews .section-text {
    max-width: 100%;
  }
  .sidebar{ flex-direction: row;}
  .sidebar-photo,
  .summary-card{ width: 50%;}
  .sidebar-item{ width: 50%; height: 100%;}
  .sidebar-photo-recap{ width: 100%;}
  .service-details .sidebar-contact{ height: fit-content;}
  .license-title{ font-size: 1.125rem;}
  .courses-list .sidebar,
  .post-container .sidebar{ flex-direction: column;}
  .courses-list .sidebar-item{
    width: 100%; height: fit-content;
  }
  .header .navbar-nav{ flex-wrap: wrap; justify-content: center;}
  .navbar>.container{ flex-direction: column;}
  .navbar-expand-lg .navbar-collapse{ gap: .75rem;}

}
@media screen and (max-width: 991px) {
	.branches ul {
		justify-content: flex-start;
	}

	.hero .hero-video {
		min-height: 576px;
	}

	.hero .hero-video .hero-video-content {
		padding: 2rem 2rem 2rem;
	}

	.hero .hero-content {
		padding: 5rem 2rem 2rem;
	}

	.breadcrumb-wrapper .breadcrumb-content {
		min-height: 164px;
	}

	.about .about-image {
		aspect-ratio: 16/10;
	}

	.license-title {
		font-size: 1rem;
	}

	.navbar>.container {
		flex-direction: row;
	}

	/* navbar */
	#hamburgerTogglerBtn {
		display: flex;
		flex-direction: column;
		gap: 5px;
		cursor: pointer;
	}

	#hamburgerTogglerBtn span {
		display: block;
		width: 24px;
		height: 2px;
		background: var(--black);
		transition: all 0.3s ease;
	}

	.mobile-menu {
		display: flex;
		flex-direction: column;
	}

	.mobile-menu-content {
		display: flex;
		flex-direction: column;
		justify-content: space-between;

		padding: 2rem 1rem 2rem;
		height: 100%;
	}

	.mobile-menu.active {
		right: 0;
		visibility: visible;
		transition: right 0.3s ease, visibility 0s linear 0s;
	}

	.close-toggler {
		position: absolute;
		top: 1.5rem;
		right: 1rem;
		font-size: 2rem;
		background: transparent;
		border: none;
		cursor: pointer;
		line-height: 1;
		color: #000;
		transition: opacity 0.2s;
	}

	.mobile-menu-logo {
		padding: 1rem 1rem 0;
	}

	.mobile-menu-logo img {
		width: 180px;
		height: auto;
	}

	.close-toggler:hover {
		opacity: 0.7;
	}

	.submenu,
	.mobile-menu-wrp {
		list-style: none;
		margin: 0;
		display: flex;
		flex-direction: column;
		gap: 1.5rem;
		padding: 0;
	}

	.has-submenu {
		display: flex;
		align-items: center;
		gap: 1rem;
	}

	.has-submenu,
	.mobile-menu-item {
		transition: all 0.3s ease;
		font-size: 1.25rem;
		font-weight: 600;
		text-decoration: none;
		color: var(--black);
	}

	.has-submenu:hover,
	.mobile-menu-item:hover,
	.mobile-menu-item:focus {
		color: var(--primary);
		border-bottom: 1px solid var(--primary);
	}

	.has-submenu li a,
	.mobile-menu-wrp li a {
		text-decoration: none;
		color: #000;
		font-size: 1.25rem;
		transition: all 0.3s ease-in-out;
	}

	.has-submenu li a:hover,
	.mobile-menu-wrp li a:hover {
		color: var(--primary);
	}

	.mobile-menu-btn {
		padding: .5rem 1rem;
		background: var(--primary);
		border: 1px solid var(--primary);
		border-radius: 24px;
		color: var(--white) !important;

		display: flex;
		align-items: center;
		gap: .5rem;
		width: 100%;
		justify-content: center;
	}

	.header .lang {
		justify-content: start;
	}

	.header .lang a.langbtn {
		font-size: 1.25rem;
		font-weight: 400;
	}

	.mobile-menu-wrp li {
		display: flex;
	}

	.mobile-menu-bottom {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}

	.mobile-menu-content {
		max-height: 100vh;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	.submenu {
		margin-bottom: 5rem;
	}

	.back-toggler {
		padding: 10px;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: .5rem;
		font-size: 1rem;
		font-weight: 700;
	}

	.all-menu-item {
		color: var(--primary);
	}

	/* END navbar */
	#post-carousel .splide__arrow {
		width: 59px;
		height: 42px;
	}

	.courses-list .sidebar {
		gap: 0;
	}
}
@media screen and (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  .breadcrumb-wrapper .breadcrumb-content {
    padding: 2rem 2rem 1.5rem;
  }
  .breadcrumb-wrapper .breadcrumb-content h1 {
    font-size: 1.875rem;
  }
  .service-detail-section h1 {
    font-size: 1.875rem;
    line-height: 2.5rem;
  }
  .service-detail-section h2 {
    font-size: 1.5rem;
    line-height: 2rem;
  }
  .service-detail-section h3 {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
  .service-detail-section h4 {
    font-size: 1rem;
    line-height: 1.5rem;
  }
  .service-detail-section h5 {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
  .service-detail-section h6 {
    font-size: 0.75rem;
    line-height: 1rem;
  }
  .sidebar{ flex-direction: column;}
  .sidebar-photo,
  .summary-card{ width: 100%;}
  .sidebar-item{ width: 100%; height: 100%;}
  .thank-you .inner-content{ padding: 1.	5rem;}
  .service-title h1{
	font-size: 1.5rem;
	line-height: normal;
  }
  .service-title{
	padding-bottom: 1.5rem;
  }
  .service-config{
	padding: 1rem 0;
	gap: 1.5rem;
  }
  .other-courses,
  .service-detail{
	padding: 2rem 0;
  }
  .service-detail-button{
	padding: 1.25rem;
  }
  .service-detail-title{
	font-size: 1.25rem;
	line-height: normal;
  }
  .service-cart,
  .service-detail-content{
	gap: 1rem;
  }
  .service-cart{
	flex-wrap: wrap;
  }
  .service-detail-content ul li,
  .service-detail-content p{
	font-size: 14px;
	line-height: normal;
  }
  .service-detail-info-wrp{
	gap: 2rem;
  }
  /* .courses-list .course-card {
    max-height: 38rem;
  } */
}
@media screen and (max-width: 576px) {
  .section-title {
    font-size: 1.75rem;
  }
  .section-padding {
    padding: 2.5rem 0;
  }
  .header .header-top-left {
    gap: 1rem;
  }
  .hero .hero-learning .hero-learning-content h6 {
    font-size: 4rem;
    line-height: 3.5rem;
  }
  .cart-table-wrapper {
    padding: 1.5rem 1.25rem;
  }
  .branches {
    margin: 0 0.75rem;
  }
  .hero .hero-content{ padding: 2rem;}
  .custom-arrow{ bottom: -3.5rem; top: unset; transform: unset;}
  .custom-arrow.custom-arrow-next{ right: 40%; transform: translateX(50%);}
  .custom-arrow.custom-arrow-prev{ left: 40%; transform: translateX(-50%);}
  .branches>.container{ padding: 2rem;}
  .footer-logo{ justify-self: center;}
  .footer-item{ padding: 0 2rem;}
  .footer .footer-copyright p{ text-align: center;}
  .footer .footer-copyright ul{ justify-content: center;}
  .cart-btn-wrp{ flex-direction: column; align-items: center; gap: 10px;}
  .form-card{ padding: 20px;}
  .steps-btn-wrp{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
  }
  .service-downloads{ padding: 2rem;}
  .service-downloads ul li{ flex-direction: column;}
  #backToTopBtn{ right: 10px; bottom: 10px;}
  #cart-steps .btn-remove{ padding: 0 .5rem;}
  .header .header-top-left{ justify-content: space-between;}
  #shopForm h5{ line-height: 28px;}
  #post-carousel .splide__arrow--next{ right: 0; }
  #post-carousel .splide__arrow--prev{ left: 0;}
  .thank-you .inner-content{ padding: 1.25rem;}
  .conditions-wrp h1{ font-size: 1.5rem;}
  .conditions-wrp li,
  .conditions-wrp p{ font-size: 14px;}
  .conditions-wrp ul, .conditions-wrp ol{ padding-left: 1rem;}
  .other-courses,
  .service-detail{
	padding: 1rem 0;
  }
  .service-detail .container{
	gap: 1rem;
  }
  .service-detail-button{
	padding: 1rem;
	font-size: 14px;
  }
}
@media screen and (max-width: 480px) {
  .contact-section .contact-person {
    flex-direction: column;
    align-items: center;
  }
  .service-detail-button{
	padding: .75rem;
	font-size: 12px;
  }
  .number-picker{
	width: 80px;
	height: 50px;
  }
  .number-controls{
	gap: 0;
  }
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1800px;
    }
}

@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1600px;
    }
}
/* Bocne odsadenie obsahu, kym sa 1600px kontajner dotyka okrajov okna (do 1680px) */
@media (min-width: 992px) and (max-width: 1679.98px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
}