@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

:root {
  --orange: rgb(246, 138, 15);
  --orange-hover: rgba(246, 138, 15, 0.8);
  --orange-bg: #ffeedb;
  --blue: rgb(49, 87, 106);
  --blue-hover: rgba(49, 87, 106, 0.8);
  --blue-hover-2: rgba(49, 87, 106, 0.1);
  --blue-bg-1: #f5f7f8 /*rgba(49, 87, 106, 0.05)*/;
  --blue-bg-2: #eaeef0 /*rgba(49, 87, 106, 0.1)*/;
  --blue-bg-3: #c1cdd2 /*rgba(49, 87, 106, 0.3)*/;
  --blue-light: #98abb4;
  --dark-grey: #4e4e4e;
}

body,
html {
  width: 100vw;
  height: 100vh;
  background-color: white;
  scroll-behavior: smooth;
  overflow: auto;
  position: relative;
  font-size: 15.5px;
}
body {
  background-image: url(../img/background.svg);
  background-position: fixed;
  background-size: cover;
}

body * {
  font-family: "Inter", sans-serif !important;
  font-size: 15.5px;
}
.h1 {
  color: var(--blue);
  font-size: 36px;
  font-weight: 600;
  line-height: normal;
}
.h3 {
  color: var(--blue);
  font-size: 28px;
  font-weight: 600;
  line-height: normal;
}
.h4 {
  color: var(--blue);
  font-size: 20px;
  font-weight: 600;
  line-height: normal;
}
.p {
  color: var(--dark-grey);
  font-size: 18px;
}
b {
  font-weight: 600 !important;
}
@media screen and (max-width: 480px) {
  .h1 {
    font-size: 32px;
  }
  .p {
    font-size: 16px;
  }
}
a.link {
  color: var(--orange);
  text-decoration: underline;
}
a.link:hover {
  opacity: 0.8;
}

li:not(.breadcrumb li):not(.menu li) {
  margin-left: 2rem;
  list-style: disc;
}
ul.decimal li {
  list-style: decimal !important;
}

/* top panel and nav bar ----------------------------------------  */
.top-panel {
  background-color: white !important;
}
.top-panel .container {
  padding-top: 2rem;
  padding-bottom: 2rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.logo-cont {
  height: 4rem;
}
.logo-cont a {
  height: 100%;
}
.logo-cont img {
  max-height: 100%;
  object-fit: contain;
}
.logo-cont .divider {
  height: 100%;
  width: 1px;
  background-color: var(--blue-light);
  margin-right: 2.2rem;
  margin-left: 2.2rem;
}
.contacts ion-icon {
  margin-right: 0.7rem;
  font-size: 1.3rem;
  --ionicon-stroke-width: 40px;
  color: var(--orange);
}
.contacts a span {
  padding-bottom: 2px;
  font-weight: 500;
  color: var(--blue);
}
.contacts a span:hover {
  color: var(--orange);
}
.contacts .divider {
  height: 20px;
  width: 1px;
  background-color: var(--blue-light);
  margin-right: 1.5rem;
  margin-left: 1.5rem;
}
.menu-cont {
  display: none;
  padding: 0 1rem;
}
.menu-cont:hover {
  cursor: pointer;
}
.menu-cont ion-icon {
  color: var(--orange);
  font-size: 2rem;
}
.menu-cont:hover ion-icon {
  color: var(--blue);
}
.nav-panel {
  background-color: var(--orange);
}
.nav-panel .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-panel a {
  display: block;
  font-weight: 600;
  color: white;
  padding: 1rem 1rem;
}
.nav-panel a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
.nav-panel .right {
  background-color: var(--blue);
}
.nav-panel .right a {
  padding: 1rem 1.2rem;
}
.nav-panel .right .divider {
  background-color: var(--blue-light);
  width: 1px;
  height: 16px;
}
@media screen and (max-width: 1024px) {
  .top-panel .contacts {
    display: none;
  }
  .top-panel {
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  }
  .top-panel .container {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .nav-panel {
    display: none;
  }
  .logo-cont {
    transform: scale(0.8) translateX(-1.5rem);
  }
  .menu-cont {
    display: flex;
  }
}
@media screen and (max-width: 480px) {
  .logo-cont .divider {
    display: none;
  }
  .logo-cont .cal-logo {
    display: none;
  }
  .logo-cont {
    transform: scale(0.7);
  }
  .top-panel .container {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
}

/* side menu ---------------------------------------- */
.side-menu {
  z-index: 10;
  position: fixed;
  right: 0;
  top: 0;
  width: 18rem;
  transition: all 400ms ease;
  transform: translateX(19rem);
  height: 100vh;
  background-color: var(--orange);
  padding: 1.5rem;
  box-shadow: rgba(99, 99, 99, 0.4) 0px 0px 20px 0px;
}
.close-cont:hover {
  cursor: pointer;
  opacity: 0.5;
}
.close-cont {
  padding: 0.5rem;
}
.close-cont ion-icon {
  color: white;
  font-size: 1.8rem;
}
.side-menu a {
  padding: 0.5rem 1rem;
  display: block;
  font-weight: 600;
  color: white;
}
.side-menu a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
.side-menu .section-title {
  padding: 0.5rem 1rem;
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}
.side-menu .divider {
  width: calc(100% - 1rem);
  height: 1px;
  margin: 0.8rem 0.5rem;
  background-color: rgba(255, 255, 255, 0.4);
}

/* footer ---------------------------------------- */
footer {
  background-color: var(--blue);
}
footer .features img {
  height: 4.5rem;
}
@media screen and (max-width: 480px) {
  footer .features img {
    height: 4rem;
  }
}
footer .features p {
  font-size: 18px;
  font-weight: 700;
  color: white;
  padding-top: 1.5rem;
}
footer .features {
  transition: all 200ms ease;
}
footer .features:hover {
  transform: scale(1.05);
  cursor: pointer;
}
footer .features:hover p {
  color: var(--orange);
}
footer .divider {
  width: 100%;
  height: 1px;
  margin: 4rem 0;
  background-color: rgba(255, 255, 255, 0.2);
}
footer .link {
  justify-content: flex-start;
  padding-top: 0.5rem;
}
footer .link ion-icon {
  margin-right: 0.8rem;
  font-size: 1.3rem;
  --ionicon-stroke-width: 40px;
  color: var(--orange);
}
footer .link a {
  color: white;
  font-weight: 500;
}
footer .link a:hover {
  color: var(--orange);
}
footer .section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--orange);
  padding-bottom: 1rem;
}
footer .footer-section a {
  display: block;
  color: white;
  padding-top: 0.3rem;
}
footer .footer-section a:hover {
  color: var(--orange);
}
@media screen and (max-width: 768px) {
  footer .first {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  footer .first .link {
    justify-content: center;
  }
  footer .footer-section {
    text-align: center;
  }
  footer .section-title {
    padding-top: 1rem;
  }
}
footer .bottom {
  justify-content: space-between;
  color: white;
}
footer .bottom p {
  font-size: 14px;
}
footer .bottom a {
  font-size: 14px;
  color: white;
  text-decoration: underline;
}
footer .bottom a:hover {
  color: var(--orange);
}
@media screen and (max-width: 1215px) {
  footer .bottom {
    flex-direction: column;
  }
  footer .bottom p {
    padding-bottom: 0.5rem;
    text-align: center;
  }
}

/* modals ---------------------------------------- */
.modal-cont {
  background-color: white;
  padding: 2.5rem;
}
.modal-cont .top {
  display: flex;
  justify-content: space-between;
}
.modal-title {
  color: var(--blue);
  font-size: 26px;
  font-weight: 600;
  line-height: 130%;
}
.close {
  background-color: var(--orange);
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  align-items: center;
}
.close ion-icon {
  color: white;
  font-size: 1.5rem;
  --ionicon-stroke-width: 40px;
}
.close:hover {
  background-color: var(--blue);
  cursor: pointer;
}
.modal-text {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  text-align: left !important;
  align-items: start !important;
}
.modal-text a {
  color: var(--orange);
}
.modal-text a:hover {
  color: var(--blue);
}
.modal-text p {
  padding-bottom: 0.5rem;
}

/* buttons --------------------------------- */
.btn {
  display: flex;
  align-items: center;
  padding: 0.7rem 1.4rem;
  color: white;
  font-weight: 800;
  border-radius: 0;
  border: none;
  width: fit-content;
  height: fit-content;
}
.btn:hover {
  color: white;
  cursor: pointer;
}
.btn ion-icon {
  flex-shrink: 0;
  font-size: 1.2rem;
  --ionicon-stroke-width: 40px;
}
.btn.icon-right ion-icon {
  margin-left: 0.7rem;
}
.btn.icon-left ion-icon {
  margin-right: 0.7rem;
}
.btn.big {
  min-height: 55px;
}
.btn.medium {
  min-height: 50px;
}
.btn.orange {
  background-color: var(--orange);
}
.btn.orange:hover {
  background-color: var(--orange-hover);
}
.btn.blue {
  background-color: var(--blue);
}
.btn.blue-light {
  background-color: var(--blue-bg-2);
  color: var(--blue) !important;
}
.btn.blue-light:hover {
  background-color: var(--blue-bg-1);
}
.btn.blue:hover {
  background-color: var(--blue-hover);
}
@media screen and (max-width: 480px) {
  .btn.big {
    height: 52px;
  }
}

/* form --------------------------------- */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
}
input[type="text"],
input[type="password"],
input[type="number"],
input[type="email"],
textarea {
  border: 1px var(--blue-bg-3) solid;
  font-weight: 500;
  color: var(--blue);
  border-radius: 0;
}
input[type="text"]::placeholder,
input[type="password"]::placeholder,
input[type="number"]::placeholder,
input[type="email"]::placeholder {
  color: var(--blue);
}
input[type="text"].medium,
input[type="password"].medium,
input[type="number"].medium,
input[type="email"].medium {
  padding: 0.8rem 0.8rem;
  height: 50px;
  font-size: 16px;
}
input[type="text"].small,
input[type="password"].small,
input[type="number"].small,
input[type="email"].small {
  padding: 0.8rem 0.8rem;
  height: 40px;
  font-size: 16px;
}
input[type="text"].smaller,
input[type="password"].smaller,
input[type="number"].smaller,
input[type="email"].smaller {
  padding: 0.8rem 0.8rem;
  height: 35px;
  font-size: 16px;
}

input[type="radio"] {
  flex-shrink: 0;
  appearance: none;
  background-color: #fff;
  margin: 0;
  color: var(--orange);
  width: 20px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 20px;
  display: grid;
  place-content: center;
}
input[type="radio"]::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 10px;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  background-color: var(--orange);
}

input[type="radio"]:checked::before {
  transform: scale(1);
}
input[type="checkbox"] {
  flex-shrink: 0;
  appearance: none;
  background-color: #fff;
  margin: 0;
  color: var(--orange);
  width: 20px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 7px;
  display: grid;
  place-content: center;
}
input[type="checkbox"]::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  background-color: var(--orange);
}

input[type="checkbox"]:checked::before {
  transform: scale(1);
}
.radio {
  color: var(--blue);
  font-weight: 500;
  display: flex;
  gap: 0.8rem;
  align-items: center;
  line-height: 110%;
  margin: 0 !important;
}
.radio span {
  padding-top: 0.1rem;
}
.radio:hover {
  color: var(--blue);
}
.radios {
  display: flex;
  align-items: center;
}
.radios.horizontal {
  flex-direction: row;
  gap: 1rem;
}
.radios.vertical {
  flex-direction: column;
  gap: 0.8rem;
  align-items: flex-start;
}
.radios.vertical.paragraph {
  gap: 1rem;
}
.radios.vertical.paragraph .radio {
  gap: 1.2rem;
  align-items: flex-start;
}
.img-radios {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.img-radios .radio {
  width: calc((100% - 1.5rem) / 4);
  flex-direction: column;
}
.img-radios .radio img {
  width: 90%;
  height: 90%;
}
.select-cont {
  background-color: white;
  background-image: url("../img/icons/select.svg");
  background-repeat: no-repeat;
  background-position: top right;
  background-size: 3.2rem 3.2rem;
  height: 3.2rem;
  padding: 0rem 1rem;
  display: flex;
  align-items: center;
}
.select-cont span {
  font-size: 17px;
  height: 24px;
  flex: 1;
  color: var(--blue);
  font-weight: 500;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  padding-right: 3.7rem;
  -webkit-box-orient: vertical;
}
.select-cont:hover {
  background-color: var(--blue-bg-2);
  cursor: pointer;
}
select {
  outline: none !important;
  appearance: none;
  /*  safari  */
  -webkit-appearance: none;
  /*  other styles for aesthetics */
  width: 100%;
  display: block;
  flex: 1;
  height: 100%;
  font-size: 17px;
  font-weight: 500;
  line-height: 130%;
  padding-right: 3.7rem;
  background-color: transparent;
  border: none;
  color: var(--blue);
  cursor: pointer;
}
@media screen and (max-width: 480px) {
  .select-cont {
    background-size: 2.8rem 2.8rem;
    height: 2.8rem;
  }
}
/* tab-nav ---------------------------------------- */
.tab-nav {
  display: flex;
  align-items: center;
  background-color: var(--blue-bg-2);
  padding: 0.8rem;
}
.tab {
  display: flex;
  align-items: center;
  padding: 0rem 1.2rem;
  color: var(--blue);
  height: 52px;
  margin-right: 0.5rem;
}
.tab:not(.is-active):hover {
  background-color: var(--blue-hover-2);
  cursor: pointer;
}
.tab img:not(.warning) {
  margin-right: 0.8rem;
  height: 1.5rem;
  filter: invert(29%) sepia(30%) saturate(688%) hue-rotate(155deg)
    brightness(96%) contrast(89%);
}
.warning {
  height: 1.5rem !important;
  margin-left: 0.8rem;
}
.tab span {
  font-weight: 500;
}
.tab .num {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 0.5rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 1rem;
  background-color: var(--orange);
  color: white;
  font-weight: 700;
  font-size: 14px;
}
.tab.is-active {
  background-color: var(--blue);
  color: white;
}

.tab.is-active span {
  font-weight: 600 !important;
}

.tab.is-active img:not(.warning) {
  filter: invert(100%) sepia(0%) saturate(7491%) hue-rotate(210deg)
    brightness(96%) contrast(103%);
}
@media screen and (max-width: 825px) {
  .tab-nav {
    flex-direction: column;
  }
  .tab {
    width: 100%;
    margin-right: 0;
  }
  .tab-nav:not(:last-child) {
    margin-bottom: 0.5rem;
  }
}

/* helpers ---------------------------------------- */
.orange-color {
  color: var(--orange);
}
.orange-bg {
  background-color: var(--orange-bg) !important;
}
.lines-1 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
}
.lines-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.lines-3 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}

.full-width {
  width: 100% !important;
}
.full-height {
  height: 100% !important;
}
.max-width-70 {
  max-width: 70rem;
  width: 100%;
}
.max-width-60 {
  max-width: 60rem;
  width: 100%;
}
.max-width-50 {
  max-width: 50rem;
  width: 100%;
}
.max-width-40 {
  max-width: 40rem;
  width: 100%;
}
.max-width-35 {
  max-width: 35rem;
  width: 100%;
}
.max-width-30 {
  max-width: 30rem;
  width: 100%;
}
.max-width-25 {
  max-width: 25rem;
  width: 100%;
}

.flex-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  /*align-items: center;*/
}

.flex-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.space {
  padding: 7.5rem 1.5rem;
}
.space-smaller {
  padding: 3.5rem 1.5rem 5rem 1.5rem;
}
@media screen and (max-width: 480px) {
  .space {
    padding: 1.5rem 1.8rem;
  }
  .space-smaller {
    padding: 4rem 0.5rem 5rem 0.5rem;
  }
}

.hide {
  display: none !important;
}


/* ADD VYHNALEK */

#zmenit_cenu_div, #alternativni_vypocet_div, div.hidden {
	display: none;
}

#pozadi_okna {
	display: none;
	position: absolute;
	z-index: 100;
	height: 4000px;
}

* html #pozadi_okna {
	width: 95%;
	margin-top: 0px;
}

#pozadi_okna_br {
	display: none;
	position: absolute;
	z-index: 200;
	height: 4000px;
}

* html #pozadi_okna_br {
	width: 95%;
	margin-top: 0px;
}


#loading {
	position: fixed;
	display: block;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	text-align: center;
	opacity: 0.8;
	background-color: #fff;
	z-index: 1199;
}

#loading-image {
	position: absolute;
	width: 50px;
	height: 50px;
	top: 10px;
	left: 10px;
	z-index: 11100;
}

div.okno_strany {
	display: none;
	z-index: 100;
}

div.atyp_detail {
	display: none;
}

div.hidden_box {
	display: none;
	position: absolute;
	border: 2px solid var(--blue); 
	/*border-radius: 8px 8px 8px 8px;*/
	background: white;
	max-width: 500px;
	z-index: 1000;
	color: black;
	padding: 4px;
	border-radius: 8px 8px 0 0;
}

span.delka_strany_title {
  font-size: 22px !important;
}
@media screen and (max-width: 480px) {
  span.delka_strany_title {
    font-size: 20px !important;
  }
}


#modal_main_image {
  float: left;
  height: 500px;
  margin-right: 20px !important;
  margin-bottom: 20px !important;
  
}

.w-100 {
  width: 100%;
}

.sum * {
  font-size: 18px !important;
  white-space: nowrap !important;
}

.doporucujeme {
  float: right;
}

.kartoteka {
  border-radius: 18px 18px 0 0 !important;  
  margin-right: 0 !important;
  margin-left: 0 !important;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
  min-height: 50px;
}

.inactive {
  background-color: rgb(246, 188, 15) !important;  
  opacity: 0.8 !important;
  transform: scale(0.8);
  transform-origin: bottom;
  min-height: 50px;
}
.selected {
  opacity: 1 !important;
  min-height: 50px;
}

.flex-row-left {
  display: flex;
  align-items: flex-end;
  
}
