@media (max-width: 992px) {
  .custom-page {
    margin-top: 25px;
  }
}

@media (min-width: 768px) and (max-width: 1177px) {
  .custom-page {
    padding: 0px 24px 0px 24px !important;
  }
}

.custom-page .h {
  color: #ff6600;
}

.custom-page .h2 {
  display: block;
  font-size: 44px;
  line-height: 1.1 !important;
  margin-bottom: 15px;
}

.custom-page .h.h2 {
  font-size: 28px;
  font-weight: 700;
}

.custom-page .h3 {
  font-size: 22px;
  font-weight: 700;
}

.custom-page p,
.custom-page li,
.custom-page span,
.custom-page b,
.custom-page strong,
.custom-page ul {
  line-height: 1.5 !important;
}

.custom-page h1 {
  font-size: 56px;
}

.custom-page .p-title.with-icon img {
  width: 40px;
}

.custom-page h2 {
  font-size: 44px;
}

.custom-page #head-row .p-title {
  font-size: 40px;
  line-height: 1.2 !important;
}

.custom-page .p-title {
  line-height: 1.1 !important;
}

.custom-page #us div:first-of-type {
  margin-bottom: 40px;
}

.custom-page #head-row .img-column,
.custom-page #us .img-column {
  text-align: right;
}

@media (min-width: 993px) {
  .custom-page #head-row .img-column img,
  .custom-page #us .img-column img {
    max-width: 80%;
  }
}

.custom-page strong.h {
  font-size: 19px;
}

/*=== Priority ===*/

.custom-page .priority {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.custom-page .priority-column {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex: 1 1 30%;
  margin: 10px;
  min-width: 300px;
  box-sizing: border-box;
}

.custom-page .prioriy-img {
  flex-shrink: 0;
  margin-right: 15px;
}

.custom-page .prioriy-img img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.custom-page .priority-text,
.custom-page .process-info-text {
  flex: 1;
}

.custom-page .priority-text .h,
.custom-page .process-info-text .h {
  margin-bottom: 5px;
}

.custom-page .priority-text p {
  margin-top: 5px !important;
  margin-bottom: 5px !important;
  font-size: 18px;
}

.custom-page .process-info-text .h {
  font-size: 19px;
}

.custom-page .process-info-text {
  margin-top: 15px;
}

.custom-page .process-info-text p {
  margin-top: 5px !important;
  margin-bottom: 5px !important;
  font-size: 16px;
}

@media (max-width: 992px) {
  .custom-page .priority-column {
    flex-direction: column;
  }
}

/*=== Konec Priority ===*/

/*Process*/

.custom-page .process-info {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.custom-page .process-info-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 30%;
  margin: 10px;
  box-sizing: border-box;
  text-align: center;
}

@media (max-width: 992px) {
  .custom-page .process-info {
    flex-direction: column;
  }
}

.custom-page .process-info-img {
  flex-shrink: 0;
  z-index: 2;
}

.process-info-column {
  position: relative;
}

@media (min-width: 993px) {
  .custom-page .process-info {
    flex-wrap: nowrap;
    gap: 50px;
  }
  .process-info-column:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateY(-25%);
    width: 120%;
    height: 1px;
    background-color: #ff6600;
    z-index: 1;
  }
}

@media (min-width: 768px) and (max-width: 992px) {
  .custom-page .process-info-column {
    flex: 1 1 35%;
  }
  .custom-page .process-info {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.custom-page .process-info-img img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  z-index: 2;
}

.custom-page p,
.custom-page ul li,
.custom-page b {
  font-size: 18px;
}
.custom-page p,
.custom-page ul li {
  font-weight: 500;
}

.position-box-title {
  font-size: 22px;
  font-weight: 700;
}

.custom-page .position-box-hide {
  display: none;
}

.custom-page #position p,
.custom-page #position ul li {
  font-weight: normal;
}

#position .position-flex-box {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.custom-page #position .btn {
  margin-top: 30px;
  margin-bottom: 30px;
}

@media (max-width: 767px) {
  #position .position-flex-box {
    flex-direction: column;
    gap: 30px;
  }
}

@media (max-width: 992px) {
  /*
  .custom-page .text-column {
    padding: 0 24px 0 24px !important;
  }
    */
  .custom-page .row > :not(.img-column):not(.column),
  .custom-page .text-column {
    padding: 0 24px 0 24px !important;
  }
  .custom-page .text-column .text-column {
    padding: 0 !important;
  }
  /*
    .custom-page .text-column ul {
        padding: 0 !important
    }
    */
  .custom-page .text-column {
    margin-bottom: 40px;
  }
  .custom-page .text-column .text-column {
    margin-bottom: 0px;
  }
}

@media (min-width: 993px) {
  .custom-page #priority .p-title,
  .custom-page #process-info .p-title {
    margin-bottom: 50px;
  }
  .custom-page #us .p-title {
    margin-bottom: 30px;
  }
}

.custom-page h1,
.custom-page h2,
.custom-page h3 {
  margin-top: 5px;
  margin-bottom: 15px;
}

.custom-page .btn-href {
  color: #fff;
  background-color: #ff6600;
  padding: 10px 15px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
}

.custom-page .btn-href:hover {
  background-color: #eebf2f;
  color: #000;
}

.custom-page p {
  margin-top: 5px;
  margin-bottom: 5px;
}

.custom-page > div {
  margin-bottom: 80px;
}

@media (max-width: 992px) {
  .custom-page > div {
    margin-bottom: 40px;
  }
}

.custom-page ul {
  margin-bottom: 15px;
  margin-top: 15px;
}

.custom-page ul li {
  line-height: 1.7;
}

.custom-page .row {
  display: flex;
  flex-direction: column;
}

.custom-page .column {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.custom-page .row .border {
  box-shadow: 0 0 0 0.5px #cfcfcf;
  border-radius: 8px;
  padding: 25px 15px;
}

@media (min-width: 768px) {
  .custom-page .row > .text-column.border:first-child {
    margin-right: 15px;
  }
}

.custom-page .column div {
  width: 100%;
}

.custom-page .column .img-column.header-img {
  width: auto;
}
.custom-page .column .img-column.header-img img {
  display: inline;
  margin-left: auto;
  margin-right: auto;
  float: unset;
  width: 150px;
}
@media (min-width: 768px) {
  .custom-page .column .img-column.header-img img {
    display: inline;
    margin-left: auto;
    margin-right: auto;
    float: unset;
    width: 150px;
    margin-right: 100px;
  }
}

@media (max-width: 767px) {
  .custom-page .column:has(.img-column.header-img) {
    flex-direction: column;
  }
  .custom-page .column .img-column.header-img img {
    margin-bottom: 25px;
  }
}
@media (min-width: 768px) {
  .custom-page .column:has(.img-column.header-img) {
    flex-direction: row;
  }
  .custom-page .row.column .img-column {
    width: 85%;
  }
  .custom-page .row.column .img-column {
    width: auto;
  }
}

/*
.custom-page .text-column {
    flex: 1;
}

.custom-page .img-column {
    flex-shrink: 0;
}
*/

.custom-page .img-column img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 992px) {
  .custom-page .row {
    text-align: left;
  }
  .custom-page .column {
    flex-direction: column;
    text-align: left;
  }
  .custom-page .row .priority {
    text-align: center;
  }
  .custom-page .text-column,
  .custom-page .img-column {
    max-width: 100%;
  }
  .custom-page ul {
    text-align: left;
    padding: 0 24px 0 24px !important;
    margin: 0 !important;
  }
  .custom-page #position ul {
    margin-top: 15px !important;
    margin-bottom: 15px !important;
  }
  .custom-page span {
    max-width: 100% !important;
  }
  .custom-page .text-icon {
    text-align: left;
  }
  #head-row .img-column img,
  #us .img-column img {
    max-width: 100%;
  }
  #head-row .img-column,
  #us .img-column {
    text-align: center;
  }
}

.custom-page .h {
  color: #ff6600;
}

.custom-page .p-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}

.custom-page #us .h2 {
  font-size: 26px;
}

.custom-page .text-icon {
  position: relative;
  padding-left: 40px;
  line-height: 1.5;
}

.custom-page .text-icon::before {
  content: "";
  position: absolute;
  left: 0;
  /*
    top: 50%;
    transform: translateY(-50%);
    */
  width: 24px;
  height: 24px;
}

.custom-page .text-icon.ok-icon:before {
  background-image: url("/user/documents/upload/kariera_img/ok_icon.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.custom-page .text-icon.left-ok:before {
  background-image: url("https://www.mojedilna.cz/user/documents/upload/stranky/check_icon.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.custom-page #us.row {
  align-items: unset;
}

.custom-page #us ul {
  margin-top: 0px !important;
}

.custom-page #position .position-box {
  padding-bottom: 20px;
  box-shadow: inset 0 -10px 0 0 white, 0 1px 0 #e6e6e6;
  margin-bottom: 20px;
}

.custom-page #position .position-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.custom-page #info span.h.h3 {
  max-width: 80%;
}

.custom-page #position b {
  text-decoration: underline;
  cursor: pointer;
}

.custom-page #position a {
  text-decoration: none;
}

.custom-page #contact p:first-of-type,
body.type-page span:has(#formContact) > p:first-of-type {
  display: none;
}

body.type-page #formContact fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.type-page #formContact fieldset div:nth-of-type(1),
body.type-page #formContact fieldset div:nth-of-type(2) {
  flex: 1;
  min-width: 200px;
}

body.type-page #formContact fieldset div:nth-of-type(n + 3) {
  flex-basis: 100%;
}

.custom-page .position-box-hide {
  margin-top: 25px;
}

@media (max-width: 992px) {
  .custom-page h1 {
    font-size: 34px;
    margin-bottom: 25px;
  }
  .custom-page h2 {
    font-size: 30px;
  }
  .custom-page .h2 {
    font-size: 24px;
  }
  .custom-page .p-title,
  .custom-page .position-box-title {
    margin-bottom: 25px;
  }
  .custom-page .btn {
    font-size: 14.4px;
  }
  .custom-page #info .h.h3 {
    display: block;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 18px;
  }
  .custom-page .prioriy-img {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .custom-page .priority-text strong.h {
    font-size: 25px;
  }
  .custom-page .priority-text p {
    font-size: 18px;
  }
  .custom-page .p-title {
    font-size: 30px;
  }
  .custom-page #position .position-link {
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 10px;
  }
  .custom-page #position b {
    width: 50%;
    line-height: 1.2 !important;
  }
  /*Order linků pozic*/
  .position-link .h {
    order: 2;
  }
  .position-link .custom-tag {
    order: 1;
  }
  .position-link .info-link {
    order: 3;
  }
}

@media (min-width: 993px) {
  .info-link {
    margin-left: auto;
  }
}

.custom-page #formContact {
  margin-top: 40px;
}

.info-link {
  font-style: normal;
  display: flex;
  align-items: center;
  font-weight: bold;
}

.info-link::after {
  content: "\e90e";
  font-family: shoptet;
  display: inline-block;
  padding: 4px 8px;
  font-size: 16px;
  color: #000000;
  line-height: 1;
  text-decoration: none;
}

/*=== Tagy ===*/

.custom-tag {
  align-items: center;
}

.custom-tag::before {
  content: "";
  display: inline-block;
  padding: 8px;
  font-size: 14px;
  font-weight: bold;
  font-style: normal;
  color: white;
  border-radius: 4px;
  line-height: 1;
  text-decoration: none;
}

@media (min-width: 993px) {
  .custom-tag::before {
    margin-left: 16px;
  }
}

.custom-page a {
  text-decoration: underline;
}

.custom-page a:hover {
  text-decoration: none;
}
/*
.custom-page a {
  display: inline-block;
  align-items: center;
  font-weight: bold;
  transition: color 0.3s ease;
}

.custom-page a::after {
  content: "\e910";
  font-size: 14px;
  font-family: shoptet;
  margin-left: 8px;
  font-weight: bold;
  transition: transform 0.3s ease;
  text-decoration: none !important;
  color: #1a1937;
  display: inline-block;
}
*/

.custom-page ul li:has(a.btn.btn-href):before {
  display: none !important;
}
.custom-page a.no-arrow::after {
  content: "" !important;
  display: none !important;
}

/* Definice základních proměnných pro barvy a texty podle názvu třídy */

.custom-tag {
  --bg-color: transparent;
  --cs-text: "";
  --sk-text: "";
}

/* Obecná pravidla pro všechny tagy */

.custom-tag::before {
  content: var(--cs-text);
  /* Výchozí jazyk */
  background-color: var(--bg-color);
  display: inline-block;
  padding: 5px 10px;
  border-radius: 5px;
  color: white;
}

/* Přizpůsobení textu podle jazyka */

html[lang="cs"] .custom-tag::before {
  content: var(--cs-text);
}

html[lang="sk"] .custom-tag::before {
  content: var(--sk-text);
}

.custom-tag.tag-new {
  --bg-color: #8cc63f;
  --cs-text: "Nové";
  --sk-text: "Nové";
}

.custom-tag.tag-free {
  --bg-color: #8cc63f;
  --cs-text: "Volné";
  --sk-text: "Volné";
}

.custom-tag.tag-occupied {
  --bg-color: #ce4d56;
  --cs-text: "Obsazené";
  --sk-text: "Obsazené";
}

@media (max-width: 767px) {
  .custom-page .column.mobile-reverse {
    flex-direction: column-reverse;
  }
}

@media (min-width: 768px) {
  .custom-page .row .img-column img {
    width: 65%;
    position: relative;
    float: right;
  }
  .custom-page .row.mobile-reverse .img-column img {
    float: left;
  }
}

body:has(.no-title) [itemprop="headline"] {
  display: none;
}

body:has(#vyhody) [itemprop="headline"] {
  display: none;
}

.four-icons-banner-advantages-title {
  text-align: center;
  font-size: 24px;
  margin: 35px 0 !important;
}

.four-icons-banner p {
  font-size: 16px;
}

.four-icons-banner p.advantages {
  margin: 0 0 10px !important;
  font-size: 18px;
}

.fib-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.fib-item {
  align-items: center;
  display: flex;
  flex: 1 1 100%;
  margin-bottom: 15px;
  overflow: hidden;
  cursor: pointer;
}
@media (max-width: 767px) {
  .fib-item {
    max-width: 50%;
  }
}
@media (min-width: 480px) {
  .fib-item {
    flex: 0 0 50%;
    width: 50%;
  }
}
@media (min-width: 992px) {
  .fib-item {
    flex: 1 1 25%;
  }
}

.fib-link {
  margin: 0 auto;
  align-items: center;
  display: flex;
}

.fib-content {
  overflow: hidden;
  padding-right: 10px;
  word-break: break-word;
}
