/* STARTER */

@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");

body {
  font-family: "Roboto", sans-serif;
}

h5 {
  font-size: 18px;
  font-weight: 500;
}

/** HEADER **/

/* LOGO  */
@font-face {
  font-family: "Akrobat";
  src: url("https://example.com/fonts/Akrobat-Regular.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
}

a.nav-link[href="/"] {
  color: transparent;
  position: relative;
  font-family: "Akrobat", sans-serif;
  display: inline-block;
  height: 28px; /* prispôsob výške fontu */
}

/* "LEPŠIA" – svetlosivá */
a.nav-link[href="/"]::before {
  content: "LEPŠIA";
  color: #ef7114;
  position: absolute;
  left: 0;
  top: -10px;
  font-family: "Akrobat", sans-serif;
  font-size: 38px;
  font-weight: 900;
}

/* "PRÁCA.sk" – čierna, bez medzery */
a.nav-link[href="/"]::after {
  content: "PRÁCA.sk";
  color: black;
  position: absolute;
  left: 100px; /* jemne doladiť podľa reálnej šírky "LEPŠIA" */
  top: -10px;
  font-family: "Akrobat", sans-serif;
  font-size: 38px;
  font-weight: 900;
}

/* HEADER MENU */

/* NAV BAR */

.navbar-expand .navbar-nav .nav-link {
  font-size: 16px;
}

.navbar-expand .navbar-nav .nav-link:hover {
  text-decoration: underline;
}

a.nav-link[href="/login"] {
  color: #ef7114 !important;
}

.navbar-bg {
  background: #fff;
  border-bottom: 8px solid #ef7114;
  box-shadow: none;
  padding-bottom: 0px;
  height: 100px;
  border-radius: 0px 0px 20px 20px;
  padding: 30px;
  padding-bottom: 35px;
}

.content {
  padding: 0;
  /* background-color: rgba(0, 0, 0, 0.2);*/
  min-height: 100vh; /* ✅ Ensure it fills the screen height */
  padding-bottom: 20px;
}

/* SELECTED FILTERS */

button.btn.btn-sm.btn-outline-primary.me-1.mb-1 {
  border-radius: 5px;
  border: 1px solid #13587c;
  color: #13587c;
  font-size: 13px;
}

button.btn.btn-sm.btn-outline-primary.me-1.mb-1:hover {
  background-color: #ef7114;
  color: white;
  border-color: transparent;
}

/* KRAJ */

/* CARD */

.card {
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15);
}

.card .text-primary {
  font-weight: 500;
  color: #ef7114 !important;
}

h5.text-primary:hover {
  text-decoration: underline;
}

small.d-block {
  font-size: 14px;
}

/*.col-12 .mb-1 {
  font-weight: 600;
  border: 1px solid #ababab;
  padding: 5px 8px;
  display: inline-block;
  border-radius: 5px;
}*/

.text-muted.d-block {
  font-size: 13px;
}

/** JOB OFFERS DETAIL **/

/* BODY BACKGROUND */
.main {
  min-height: 100vh; /* ✅ Ensure it fills the screen height */
}

.card-body {
  padding: 30px;
}

.card-body h1 {
  color: #495057;
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 50px;
  margin-top: 20px;
}

.card-body strong,
.card-body h3 {
  color: #ef7114;
  font-size: 16px;
  font-weight: 600;
}

.card-body p,
.offer-benefits,
.offer-desc,
.offer-requirements,
.offer-what-we-offer,
.offer-additional-info {
  color: #495057;
  font-size: 16px;
  line-height: 1.6rem;
  margin-bottom: 15px;
}

/* padding - info */

.offer-main-info,
.offer-benefits,
.offer-desc,
.offer-requirements,
.offer-what-we-offer,
.offer-additional-info,
.offer-images,
.offer-organization {
  padding: 10px;
}

/* OFFER - MAIN INFO */

.offer-main-info {
  background-color: #f1f1f1;
  border-radius: 10px;

  /* display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 30px;
  column-gap: 50px; */
  display: flex;
  justify-content: space-around;
  padding: 0px;
}

.offer-benefits,
.offer-desc,
.offer-requirements,
.offer-what-we-offer,
.offer-additional-info {
  border-bottom: 1px solid #c3c3c5;
}

.offer-main-info {
  margin-bottom: 20px;
}

/* BUTTON */

/*.mb-2 {
  margin-bottom: 0.5rem !important;
  width: 50%;
  margin: 0 auto;
  margin-top: 50px !important;
  margin-bottom: 50px !important;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}*/

.btn.offer-reaction-btn {
  padding: 10px 8px;
  font-size: 18px;
  border: 1px solid #ef7114;
  color: #ef7114;
  background-color: transparent;
  border-radius: 5px;
}

.btn.offer-reaction-btn:hover {
  background-color: #ef7114;
  color: white;
}

.btn.offer-share-btn {
  padding: 10px 8px;
  font-size: 18px;
  border: 1px solid #495057;
  color: #495057;
  background-color: transparent;
  border-radius: 5px;
}

.btn.offer-share-btn:hover {
  background-color: #495057;
  color: white;
}

/* REACTION OFFER - TAB */

/* BUTTON */

#job_application_form_submit {
  padding: 10px 16px;
  font-size: 18px;
  border: 1px solid #ef7114;
  color: #ef7114;
  background-color: transparent;
  border-radius: 5px;
  margin-top: 20px;
  margin-bottom: 20px;
}

#job_application_form_submit:hover {
  background-color: #ef7114;
  color: white;
}

.text-danger {
  color: #ef7114 !important;
}

.apply-job-offer-submit .mb-3 {
  display: grid;
  width: 200px;
  margin: 0 auto;
}

.navbar-logo {
  height: 38px;
}

@media (max-width: 576px) {
  .navbar-logo {
    height: 28px;
  }
}

.quill-editor ul,
.quill-editor li,
.quill-editor ol,
.quill-editor span,
.quill-editor h4,
.quill-editor em,
.quill-editor strong,
.quill-editor p {
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: #495057 !important;
  font-size: 16px !important;
  line-height: 1.6rem !important;
}

/*.quill-editor br {
	display: none !important;
}*/

/* Headings */
.quill-editor h4 {
  font-size: 18px !important;
  font-weight: bold !important;
  margin: 1em 0 0.5em !important;
}

/* MAIN HEAD */
.main-menu-header {
  padding: 20px;
  border-radius: 0px 0px 20px 20px;
  border-bottom: 10px solid #ef7114;
}
/*  OFFER REACTION BUTTON  */
.offer-reaction-buttons {
  display: flex;
  width: 35%;
  margin: 0 auto;
}
/* SEARCH BUTTON */
#job-search-form .btn-primary {
  background-color: #ef7114;
  border-color: #ef7114;
}
/* PAGINATION */
.bg-white .btn-primary {
  border: 1px solid #13587c;
  color: #fff;
  background-color: #13587c;
}
.btn-outline-primary {
  border-color: #13587c;
  color: #13587c;
}
.btn-outline-primary:hover {
  background-color: #13587c;
  color: #ffff;
  border-color: #13587c;
}
.main {
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.badge-job-search {
  background-color: transparent !important;
  border: 1px solid #297dca;
  color: #297dca;
}
button#user_register_form_submit {
  background-color: #ef7114;
  border-color: #ef7114;
}
/*.pagination-detail .btn{
	background-color: #fff;
}*/

/** OFFER **/
.offer-main-info-icon {
  max-width: 20%;
  margin: 0 auto;
}

.offer-secondary-info-title {
  color: #ef7114 !important;
}

/* OFFER IMAGES */

.offer-images-item {
  width: 250px;
  height: 250px;
  object-fit: contain;
  align-content: center;
}

.offer-org-label,
.offer-contact-person-label,
.offer-org-website-label {
  color: #ef7114 !important;
}

/*
*
*
*
*
*
*
*
*
*/

/* MEDIAQUERIES */
@media (max-width: 750px) {
  .offer-main-info-icon {
    max-width: 50%;
    margin: 0 auto;
  }

  .offer-main-info-item {
    width: 50%;
  }
}

.offer-main-info-icon {
  max-width: 25%;
  margin: 0 auto;
}

/* MEDIAQUERIES */
@media (max-width: 750px) {
  .offer-main-info-icon {
    max-width: 50%;
    margin: 0 auto;
  }

  .offer-main-info-item {
    width: 50%;
  }
}

/* ADDED NEW CSS */

/* OFFER IMAGES */

.offer-images-item {
  width: 250px;
  height: 280px;
}

.existing-images {
  background-color: white;
  gap: 10px;
  margin-top: 20px;
}

.offer-images-item {
  background-color: #f3f3f3;
  border-radius: 10px;
  border: 1px solid #e6e6e6;
}

.img-thumbnail {
  background-color: transparent;
  padding: 0px;
  border-color: transparent;
}

/* EXISTING - IMAGES */

.offer-org-images-item {
  width: 250px;
  height: 280px;
  object-fit: contain;
  align-content: center;
}

.offer-org-images-item {
  background-color: #f3f3f3;
  border-radius: 10px;
  border: 1px solid #e6e6e6;
}

.offer-org-images {
  background-color: white;
  gap: 10px;
}

/* ADRESA */

.offer-org-adress-label {
  color: #ef7114 !important;
}

/* OFFER CONTAC PERSON */

.offer-contact-person {
  display: flex;
  flex-wrap: wrap;
}

.offer-contact-person-email {
  width: 100%;
}

.offer-contact-person-phone {
  width: 100%;
}

.offer-contact-person-name {
  font-weight: 600;
}

/* OFFER REACTION BUTTON */

.offer-reaction-buttons {
  background-color: #f3f3f3;
  width: 40%;
  height: 100px;
  align-content: space-around;
  border-radius: 10px;
  box-shadow: 8px -9px 24px -12px rgba(0, 0, 0, 0.75);
  justify-content: space-evenly;
}

/*.justify-content-center {
  width: 50%;
}*/

/*.d-flex {
  justify-content: center;
}*/

.btn.offer-reaction-btn {
  background-color: #ef7114;
  color: white;
  border-radius: 10px;
  padding: 10px 15px;
}

.btn.offer-share-btn {
  background-color: #13587c;
  color: white;
  border-radius: 10px;
  padding: 10px 15px;
}

.btn.offer-share-btn:hover {
  background-color: #13587c;
  color: white;
}

.offer-reaction-buttons {
  position: fixed;
  z-index: 1000;
  bottom: 0px;
  left: 50px;
  right: 50px;
}

/* OFFER MAIN INFO */

.offer-main-info {
  margin-top: 20px;
}

/* OFFER HEADER */

.offer-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

/*strong {
  display: block;
}*/

.offer-organization,
.offer-desc,
.offer-requirements,
.offer-what-we-offer,
.offer-additional-info,
.offer-images {
  padding: 0px;
}

/* MEDIAQUERIES */
@media (max-width: 768px) {
  .existing-images {
    justify-content: center;
  }

  /* BUTTONS */
  .offer-reaction-buttons {
    width: 85%;
    height: 75px;
    justify-content: space-evenly;
    left: 20px;
    right: 20px;
  }

  .btn.offer-reaction-btn,
  .btn.offer-share-btn {
    font-size: 15px;
    line-height: 1rem;
  }

  /*.flex-column {
    flex-direction: row !important;
  }*/

  .btn.offer-share-btn {
    align-content: center;
  }
}

/* New additions 24.7.2025 */
.main-page-hero-text {
  margin-right: 100px;
  width: 500px;
}

.main-page-hero-text h1 {
  font-size: 64px;
  margin-bottom: 20px;
}

.main-page-second-header {
  font-size: 64px;
  font-weight: 800;
  color: #ffff;
  text-align: center;
}

/* HOMEPAGE */
.main-page-hero-text-secondary {
  border-radius: 20px 20px 0px 0px !important;
  background-color: #ef7114 !important;
  color: white !important;
  text-align: center;
}

.main-page-hero-text {
  margin-right: 100px;
  width: 500px;
  display: grid;
  justify-content: center !important;
  align-items: center;
  position: absolute;
  bottom: 0px;
  right: 50px;
}

.main-page-hero-text h1 {
  text-align: center;
}

.hero-section {
  border-radius: 20px;
}

.main-page-second-header {
  margin-top: 20px;
  margin-bottom: 20px;
}

/* CARDS */

.main-page-websites-icons {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-bottom: 0px;
  margin-top: 31px;
}

img.main-page-websites-kariera-icon {
  width: 33.3%;
  display: flex;
  padding: 20px;
}
img.main-page-websites-profesia-icon {
  width: 33.3%;
  display: flex;
  padding: 20px;
}
img.main-page-websites-fb-icon {
  width: 33.3%;
  display: flex;
  padding: 20px;
}

/* VIAC KANDIDATOV */

.main-page-more-candidates-icon {
  width: 40%;
  margin: 0 auto;
}

.main-page-more-candidates-header {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  color: #ef7114;
}

.main-page-more-candidates-text {
  text-align: center;
  line-height: 1.4em;
  font-size: 18px;
  font-weight: 500;
  margin-top: 20px;
}

/* JEDNODUCHSIE A RYCHLEJSIE */
.main-page-faster-icon {
  width: 40%;
  margin: 0 auto;
}

.main-page-faster-header {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  color: #ef7114;
}

.main-page-faster-text {
  text-align: center;
  line-height: 1.4em;
  font-size: 18px;
  font-weight: 500;
  margin-top: 20px;
}

/* LACNEJŠIE */
.main-page-cheaper-icon {
  width: 40%;
  margin: 0 auto;
}

.main-page-cheaper-header {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  color: #ef7114;
  margin-bottom: 50px;
}

.main-page-cheaper-text {
  text-align: center;
  line-height: 1.4em;
  font-size: 18px;
  font-weight: 500;
  margin-top: 20px;
  margin-bottom: 89px;
}

/* MARGIN-TOP SEARCH */
.main-page-search-section {
  margin-top: 50px;
}

/* MEDIAQUERY */
@media (min-width: 768px) {
  .main-page-hero-text-secondary {
    font-size: 36px;
    line-height: 1.2em;
    padding-top: 40px !important;
    padding-bottom: 40px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .line-2,
  .line-3,
  .line-4 {
    font-weight: 900;
  }
}

/* PONUKA PRACE - additional styles */

.job-offer-card-org-name {
  font-weight: 600;
}

.job-offer-card-salary {
  font-weight: 600;
}

.job-offer-card-empl-type {
  font-weight: 300;
}

.job-offer-card-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: space-between;
}

.job-offer-card-org-logo {
  position: relative;
  left: 250px;
}

/* MOBILE SIZE - MEDIAQUERY */

@media (max-width: 768px) {
  .job-offer-card-item {
    display: block;
  }

  .job-offer-card-org-logo {
    left: auto;
    position: relative;
    left: 100px;
  }
}

.main {
  background-size: cover;
  background-position: center;
  position: relative;
}

.overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 0;
  pointer-events: none;
}

.main > *:not(.overlay):not(.modal) {
  position: relative;
  z-index: 1;
}

/** HOMEPAGE ADDED CSS STYLES **/

.line-5 {
  font-weight: 900;
}

.main-page-search-seaction-title {
  text-align: center;
  font-size: 32px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 15px;
}

.main-page-second-header {
  font-size: 48px;
  font-weight: 800;
  color: #ffff;
  text-align: center;
  display: block;
  max-width: 50%;
  margin: 0 auto;
  line-height: 1.2em;
  margin-top: 75px;
  margin-bottom: 50px;
}

.main-page-more-candidates-header,
.main-page-faster-header,
.main-page-cheaper-header {
  font-size: 24px;
}

.main-page-cheaper-header {
  margin-bottom: 0px;
}

.main-page-higher-quality-icon {
  width: 120px;
  height: 83px;
  margin: 0 auto;
}

.main-page-higher-quality-header {
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  color: #ef7114;
}

p.main-page-more-candidates-text {
  margin-bottom: 65px;
}

.job-search-form-position {
  display: flex;
  flex-flow: nowrap;
}

a.btn.more-job-offers-btn {
  border: 1px solid;
}

footer.main-footer {
  margin-top: 50px;
  text-align: center;
  background-color: #ffffff7d;
  max-width: 68%;
  margin: 0 auto;
  border-radius: 20px 20px 0px 0px;
  /* padding-top: 30px; */
  padding-top: 30px;
  padding-bottom: 30px;
  margin-top: 50px;
  line-height: 2.5em;
  z-index: 0;
}

footer.main-footer a {
  color: #ef7114;
}

.footer-links {
  display: flex;
  gap: 5px;
  justify-content: center;
}

/** HOMEPAGE - MOBILE SIZE - MEDIAQUERIES **/

@media (max-width: 768px) {
  .job-search-form-position {
    flex-direction: column;
  }

  .main-page-hero-text {
    margin-right: 0px;
    width: 100%;
    justify-content: center !important;
    align-items: center;
    position: absolute;
    bottom: 0px;
    right: 0px;
  }

  .main-page-hero-text h1 {
    font-size: 28px;
    margin-bottom: 20px;
    margin-left: 34px;
  }

  .hero-section {
    height: 330px !important;
  }

  .main-page-hero-text-secondary {
    background-color: #ef7114c2 !important;
    line-height: 1.4rem;
  }

  .main-page-search-seaction-title {
    font-size: 20px;
    line-height: 1.5rem;
  }

  .job-search-form-btns {
    margin: 0 auto;
    margin-top: 30px;
  }

  .main-page-second-header {
    font-size: 28px;
    max-width: 85%;
    line-height: 1.2em;
    margin-top: 50px;
    margin-bottom: 50px;
  }

  footer.main-footer {
    max-width: 90%;
  }

  .footer-links {
    display: flex;
    line-height: 1rem;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }

  .footer-copyright {
    line-height: 1.5rem;
  }

  /* PONUKA PRÁCE */

  .job-offer-card-org-logo {
    left: 0px;
    text-align: center;
  }

  .card {
    margin-top: 20px;
  }
}

/* ADDED CUSTOM STYLES - NEW */

footer.main-footer {
  background-color: white;
}

@media (max-width: 768px) {
  .line-2,
  .line-3,
  .line-4,
  .line-5 {
    font-weight: 800;
    letter-spacing: 0.1rem;
    font-size: 20px;
    line-height: 1.7rem;
  }

  .line-1 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .main-page-hero-text {
    width: 70%;
  }
  .line-1 {
    padding-top: 10px;
  }
  .line-5 {
    padding-bottom: 10px;
  }

  .main-page-hero-text h1 {
    margin-left: 0px;
    margin-bottom: 10px;
  }

  .main-page-hero-text {
    right: 10px;
  }

  .hero-section {
    height: 310px !important;
  }
}

/*loga firiem - desktop */

.job-offer-card-org-logo img {
  box-sizing: border-box;
  max-width: 120px;
  max-height: 35px;
}

.job-offer-card-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.job-offer-card-org-logo {
  position: relative;
  /* left: 0px; */
}

/*loga firiem - mobil */

@media (max-width: 768px) {
  .job-offer-card-header {
    display: grid;
    grid-template-columns: 3fr 1fr;
  }
  .job-offer-card-org-logo img {
    box-sizing: border-box;
    max-width: 80px;
    max-height: 25px;
  }

  .job-offer-card-org-logo {
    position: relative;
    padding-left: 5px;
  }
}

/* PAGINATION */

.pagination-container-wrapper {
  position: relative;
  max-width: 25%;
  border-radius: 10px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .pagination-container-wrapper {
    max-width: 50%;
    bottom: 0px;
  }
}

.filters-sidebar-wrapper {
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15);
}

.filters-sidebar-wrapper h5 {
  font-weight: 600;
  font-size: 16px;
}

/* PONUKA - DETAIL */

@media (max-width: 768px) {
  .offer-header {
    display: flex;
    flex-direction: column-reverse;
    gap: 20px;
  }

  .offer-organization-logo {
    margin-top: 20px;
  }

  .card-body h1 {
    font-size: 28px;
  }
}
.job-offer-card-header a {
	text-decoration: none;
}