/* Vzhlad webu sunset24.eu nad Bootstrap 5 (farby a charakter podla povodneho webu) */

:root {
	--sunset-red: #ef2a2d;
	--sunset-red-dark: #d62427;
	--sunset-red-darker: #a21b1e;
	--sunset-brown: #3f3434;
	--sunset-brown-light: #523c3c;
	--sunset-bg-light: #f9f9f9;
	--sunset-border: #e8e8e8;
	--sunset-border-dashed: #e2e2e2;
	--sunset-blue: #0eb8ec;
	--sunset-green: #2dce0a;

	--bs-body-font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
	--bs-body-font-size: 1rem;
	--bs-body-color: var(--sunset-brown);
	--bs-link-color: var(--sunset-red);
	--bs-link-color-rgb: 239, 42, 45;
	--bs-link-hover-color: var(--sunset-red-darker);
	--bs-link-hover-color-rgb: 162, 27, 30;
}

body {
	background: #fff;
}

.btn-danger {
	--bs-btn-bg: var(--sunset-red);
	--bs-btn-border-color: var(--sunset-red);
	--bs-btn-hover-bg: var(--sunset-red-dark);
	--bs-btn-hover-border-color: var(--sunset-red-dark);
	--bs-btn-active-bg: var(--sunset-red-darker);
	--bs-btn-active-border-color: var(--sunset-red-darker);
}

.btn-primary,
.btn-dark {
	--bs-btn-bg: var(--sunset-brown);
	--bs-btn-border-color: var(--sunset-brown);
	--bs-btn-hover-bg: #000;
	--bs-btn-hover-border-color: #000;
	--bs-btn-active-bg: #000;
	--bs-btn-active-border-color: #000;
}

.btn-outline-danger {
	--bs-btn-color: var(--sunset-red);
	--bs-btn-border-color: var(--sunset-red);
	--bs-btn-hover-bg: var(--sunset-red);
	--bs-btn-hover-border-color: var(--sunset-red);
}

.icon {
	width: 1em;
	height: 1em;
	vertical-align: -0.125em;
}

/* Hlavicka */
.site-header {
	background: var(--sunset-red);
	position: sticky;
	top: 0;
	z-index: 1030;
}

.site-header .navbar {
	min-height: 80px;
}

.site-header .navbar-brand img {
	width: 170px;
	height: auto;
}

.site-header .nav-link {
	color: #fff;
	text-transform: uppercase;
	font-size: 0.82rem;
	font-weight: 300;
	padding: 0.75rem 0.8rem;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus {
	color: #fff;
	background: var(--sunset-red-dark);
}

/* Zvyraznene polozky menu (Volne pracovne miesta, Registracia) */
.site-header .nav-item.link-button .nav-link {
	border: 1px solid #fff;
	margin: 0 0.25rem;
}

.site-header .nav-item.link-button .nav-link:hover {
	background: #fff;
	color: var(--sunset-red);
}

.site-header .dropdown-menu {
	min-width: 5rem;
}

.site-header__phone {
	color: #fff;
	font-weight: bold;
	text-decoration: none;
}

/* Pas vyhod */
.advantages {
	border-bottom: 1px solid var(--sunset-border);
}

.advantages__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	list-style: none;
	margin: 0;
	padding: 1.25rem 0;
}

.advantages__item {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 1.05rem;
	position: relative;
}

.advantages__icon {
	max-height: 32px;
	width: auto;
}

.advantages__badge {
	background: var(--sunset-green);
	position: absolute;
	top: -0.9rem;
	right: -0.5rem;
	font-size: 0.65rem;
}

/* Tri boxy: profil, pocet ponuk, vyhladavanie */
.register-panel {
	background: var(--sunset-bg-light);
	border-bottom: 1px solid var(--sunset-border);
}

.register-panel__col {
	padding: 1.5rem 1rem;
	border-right: 1px dashed var(--sunset-border-dashed);
}

.register-panel__col:last-child {
	border-right: 0;
}

.register-panel__title {
	font-size: 1.25rem;
	font-weight: normal;
	text-align: center;
	margin-bottom: 1rem;
}

.register-panel__profile,
.register-panel__count,
.register-panel__search {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
}

.register-panel__checks {
	list-style: none;
	margin: 0;
	padding: 0;
}

.register-panel__checks li {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0.25rem 0;
}

.register-panel__checks .icon {
	color: var(--sunset-red);
	width: 1.1em;
	height: 1.1em;
}

.register-panel__button {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	text-align: left;
	padding: 0.9rem 1.2rem;
	font-size: 1.05rem;
}

.register-panel__button .icon {
	width: 2rem;
	height: 2rem;
}

.register-panel__count p {
	margin: 0;
	text-align: center;
	font-size: 0.9rem;
}

.register-panel__circle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 4.5rem;
	height: 4.5rem;
	border-radius: 50%;
	background: var(--sunset-red);
	color: #fff;
	font-size: 1.6rem;
	text-decoration: none;
	flex-shrink: 0;
}

.register-panel__circle:hover {
	background: var(--sunset-red-dark);
	color: #fff;
}

.register-panel__field {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.register-panel__field .form-label::first-letter,
.jobs__filter::first-letter {
	text-transform: uppercase;
}

.register-panel__field .form-label {
	margin: 0;
	white-space: nowrap;
	font-size: 0.9rem;
}

.register-panel__search-button {
	color: var(--sunset-red);
	padding: 0;
	border: 0;
}

.register-panel__search-button .icon {
	width: 3rem;
	height: 3rem;
}

.register-panel__search-button:hover {
	color: var(--sunset-red-darker);
}

/* Banner na uvode */
.home-banner {
	position: relative;
	background: var(--sunset-bg-light);
}

.home-banner__image {
	height: 360px;
	background-size: cover;
	background-position: center;
}

.home-banner__text {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 360px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.home-banner__title {
	color: var(--sunset-red);
	font-size: 3rem;
	font-weight: bold;
	text-transform: uppercase;
	max-width: 520px;
	line-height: 1.05;
}

.home-banner__title,
.home-banner__description {
	text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.home-banner__description {
	max-width: 520px;
	font-weight: bold;
	text-shadow: 0 0 6px #fff;
}

.home-banner .register-panel {
	background: rgba(249, 249, 249, 0.92);
}

/* Nadpis stranky */
.page-title {
	padding-top: 2.5rem;
}

.page-title .container {
	display: flex;
	align-items: baseline;
	gap: 1rem;
	flex-wrap: wrap;
}

.section-title {
	color: var(--sunset-red);
	font-weight: bold;
	text-transform: uppercase;
	font-size: 2rem;
	margin: 0 0 1rem;
}

.page-title__back {
	color: #777;
	text-decoration: none;
}

.content-section {
	padding-top: 1.5rem;
	padding-bottom: 3rem;
}

.rich-text img {
	max-width: 100%;
	height: auto;
}

.rich-text h2,
.rich-text h3 {
	color: var(--sunset-red);
	text-transform: uppercase;
	font-weight: bold;
	font-size: 1.5rem;
	margin-top: 1.5rem;
}

.rich-text iframe {
	max-width: 100%;
}

/* Zoznam ponuk */
.jobs {
	--bs-table-striped-bg: transparent;
	font-size: 0.85rem;
	text-transform: uppercase;
	vertical-align: middle;
}

.jobs thead th {
	background: var(--sunset-border);
	font-weight: normal;
	white-space: nowrap;
}

.jobs__place img {
	margin-right: 0.4rem;
}

.jobs__place a {
	color: inherit;
	text-decoration: none;
}

.jobs__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.6rem;
	height: 1.6rem;
	border-radius: 3px;
	color: #fff;
	margin-right: 0.3rem;
}

.jobs__icon--male {
	background: var(--sunset-blue);
}

.jobs__icon--female {
	background: #ff4c40;
}

.jobs__icon--any {
	background: linear-gradient(90deg, var(--sunset-blue) 50%, #ff4c40 50%);
}

.jobs__icon--neutral {
	background: #eef6fb;
	color: var(--sunset-blue);
}

.jobs__bonus-badge {
	background: var(--sunset-red);
	text-transform: none;
}

.jobs__more {
	text-align: right;
}

.jobs__next {
	padding: 0.4rem 1.4rem;
}

.jobs__filter {
	background: var(--sunset-bg-light);
	padding: 0.75rem 1rem;
}

/* Detail ponuky */
.job-detail__tabs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 0.25rem;
	margin-bottom: 1.5rem;
}

.detail-box {
	border: 1px solid var(--sunset-border);
	background: var(--sunset-bg-light);
	padding: 1.25rem;
	margin-bottom: 1.5rem;
	scroll-margin-top: 100px;
}

.detail-box__title {
	text-transform: uppercase;
	font-size: 1.25rem;
	font-weight: bold;
}

.detail-box__title--red {
	color: var(--sunset-red);
}

.detail-list {
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: 0.15rem 0.5rem;
	margin: 0 0 0.75rem;
	font-size: 0.95rem;
}

.detail-list dt {
	font-weight: bold;
}

.detail-list dd {
	margin: 0;
}

.map-placeholder {
	border: 1px dashed var(--sunset-border-dashed);
	padding: 2rem;
	text-align: center;
}

.map-placeholder iframe {
	width: 100%;
	height: 450px;
	border: 0;
}

/* Formulare */
.form-box {
	border: 1px solid var(--sunset-border);
	background: var(--sunset-bg-light);
	padding: 1.25rem;
}

.form-box__title {
	color: var(--sunset-red);
	text-transform: uppercase;
	font-weight: bold;
	font-size: 1.5rem;
}

.registration-form__fields {
	background: var(--sunset-bg-light);
	border: 1px solid var(--sunset-border);
	padding: 1rem;
}

.registration-form__footer {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
	flex-wrap: wrap;
	margin-top: 1.25rem;
}

.consent-check .form-check-label p {
	display: inline;
	margin: 0;
}

.consent-check__more {
	font-size: 0.85rem;
	margin-left: 0.25rem;
	vertical-align: baseline;
}

.flash-modal__icon {
	font-size: 3rem;
	line-height: 1;
	margin-bottom: 1rem;
}

.flash-modal--success .flash-modal__icon {
	color: #0ac711;
}

.flash-modal--danger .flash-modal__icon {
	color: #c71100;
}

/* Ponuka, referencie, FAQ, blog, kontakt */
.offer__category {
	color: var(--sunset-red);
	text-transform: uppercase;
	font-weight: bold;
	font-size: 1.5rem;
	margin: 1rem 0;
}

.offer__image {
	width: 100%;
	height: auto;
	margin-bottom: 1rem;
}

.offer__title {
	font-size: 1.3rem;
	font-weight: bold;
}

.review {
	display: flex;
	gap: 1.25rem;
	margin: 0;
}

.review__photo {
	border-radius: 50%;
	flex-shrink: 0;
}

.review__text {
	margin: 0 0 0.5rem;
}

.review__author {
	font-weight: bold;
	color: var(--sunset-red);
}

.faq .accordion-button {
	font-weight: bold;
}

.faq .accordion-button:not(.collapsed) {
	color: var(--sunset-red);
	background: var(--sunset-bg-light);
}

.faq__image {
	float: right;
	max-width: 200px;
	margin: 0 0 1rem 1rem;
}

.blog-item {
	border-bottom: 1px dashed var(--sunset-border-dashed);
	padding: 1.5rem 0;
}

.blog-item__title {
	font-size: 1.4rem;
	font-weight: bold;
}

.blog-item__title a {
	color: var(--sunset-brown);
	text-decoration: none;
}

.blog-item__date,
.article__date {
	color: #848484;
	font-size: 0.9rem;
}

.article__perex {
	font-weight: bold;
}

.pagination {
	--bs-pagination-active-bg: var(--sunset-red);
	--bs-pagination-active-border-color: var(--sunset-red);
	--bs-pagination-color: var(--sunset-red);
}

.branch-card {
	border: 1px solid var(--sunset-border);
	background: var(--sunset-bg-light);
	padding: 1.25rem;
	height: 100%;
}

.branch-card__name {
	font-size: 1.3rem;
	font-weight: bold;
	text-transform: uppercase;
}

.branch-map iframe {
	width: 100%;
	min-height: 350px;
	border: 0;
}

.contact-person {
	display: flex;
	gap: 0.75rem;
	font-size: 0.9rem;
}

.contact-person__photo {
	object-fit: cover;
}

.error-page__code {
	font-size: 5rem;
	color: var(--sunset-red);
	font-weight: bold;
	margin: 0;
}

/* Paticka */
.site-footer {
	background: var(--sunset-brown);
	color: #fff;
	padding: 4rem 0 2rem;
}

.site-footer a,
.site-footer .btn-link {
	color: #fff;
	text-decoration: none;
}

.site-footer__logo {
	width: 200px;
	height: auto;
	margin-bottom: 1.5rem;
}

.site-footer__panel img {
	max-width: 100%;
	height: auto;
}

.site-footer__menu,
.site-footer__legal {
	list-style: none;
	padding: 0;
	margin: 1.5rem 0 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 1.5rem;
}

.site-footer__menu {
	text-transform: uppercase;
}

.site-footer__menu .nav-link {
	padding: 0;
}

.site-footer__legal,
.site-footer__legal .btn-link {
	font-size: 0.9rem;
	color: #aaa;
}

/* Cookie lista */
.consent {
	position: fixed;
	left: 1rem;
	bottom: 1rem;
	right: 1rem;
	z-index: 1080;
	max-width: 650px;
}

.consent__box {
	background: #fff;
	border: 1px solid #d8d8d8;
	box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
	padding: 1.25rem;
}

.consent__title {
	font-size: 1.25rem;
	font-weight: bold;
}

.consent__text {
	font-size: 0.9rem;
	margin-bottom: 1rem;
}

.consent__text ul,
.consent__text p {
	margin-bottom: 0.5rem;
}

.consent__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: flex-end;
}

/* Mobil */
@media (max-width: 1199.98px) {
	.site-header .navbar-collapse {
		background: var(--sunset-brown);
		margin: 0 calc(var(--bs-gutter-x) * -0.5);
		padding: 0.5rem 1rem;
	}

	.site-header .nav-item.link-button .nav-link {
		margin: 0.25rem 0;
	}
}

@media (max-width: 991.98px) {
	.register-panel__col {
		border-right: 0;
		border-bottom: 1px dashed var(--sunset-border-dashed);
	}

	.home-banner__title {
		font-size: 2rem;
	}

	/* Zoznam ponuk ako karty */
	.jobs thead {
		display: none;
	}

	.jobs,
	.jobs tbody,
	.jobs tr,
	.jobs td {
		display: block;
		width: 100%;
	}

	.jobs__row {
		border: 1px solid var(--sunset-border);
		margin-bottom: 0.75rem;
		padding: 0.5rem 0.75rem;
		position: relative;
	}

	.jobs__row:nth-child(odd) {
		background: var(--sunset-bg-light);
	}

	.jobs td {
		border: 0;
		padding: 0.15rem 0;
	}

	.jobs td[data-label]::before {
		content: attr(data-label) ": ";
		font-weight: bold;
	}

	.jobs__place {
		font-size: 1rem;
		font-weight: bold;
	}

	.jobs__more {
		position: absolute;
		top: 0.5rem;
		right: 0.75rem;
		width: auto !important;
	}
}

@media (max-width: 575.98px) {
	.advantages__list {
		justify-content: flex-start;
	}

	.home-banner__image,
	.home-banner__text {
		height: 240px;
	}

	.section-title {
		font-size: 1.6rem;
	}

	.consent__buttons .btn {
		flex: 1 1 45%;
	}
}
