/* Mulish */
@font-face {
    font-family: "Mulish";
    src: url("/fonts/Mulish-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Mulish";
    src: url("/fonts/Mulish-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Mulish";
    src: url("/fonts/Mulish-Italic.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "Mulish";
    src: url("/fonts/Mulish-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Mulish";
    src: url("/fonts/Mulish-BoldItalic.woff2") format("woff2");
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}
/* Libre Baskerville */
@font-face {
    font-family: "Libre Baskerville";
    src: url("/fonts/LibreBaskerville-Bold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Libre Baskerville";
    src: url("/fonts/LibreBaskerville-Italic.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
:root {
	--primary: #004587;
	--secondary: #f7e7cd;
	--txt-send: #d0be89;
	--txt-brown: #c07c39;
	--light: #f7f6f2;
	--green: #00bdce;
	--send: #c4ad82;
	--silver: #f1f0f1;
	--sz-xl: 30px;
	--sz-l: 20px;
	--sz-m: 16px;
	--sz-s: 14px;
	--sz-xs: 13px;
}
body, input, select, textarea {
	font-family: "Mulish", serif;
	font-weight: 400;
	font-style: normal;
}
h1, h2, h3, h4, .moto {
	font-family: "Libre Baskerville", serif;
	font-weight: 600;
	font-style: normal;
}
.fix {
    max-width: 1800px;
    padding: 0 25px;
}
bold, b, strong {
  font-weight: 700;
}
@keyframes later {
  from {
  opacity: 0;
  }  
  to {
  opacity: 1;
  }
}
.self-photo  {
    background: linear-gradient(
286deg, #070a0e, #00274a);
    text-align: right;
    /* padding-right: 3vw; */
}
.bg-primary  {
    background: var(--primary) !important;
}
.bg-secondary  {
    background: var(--secondary) !important;
}
.bg-light {
    background: var(--light) !important;
}
.clr-primary {
    color: var(--primary);
}
.tag.clr-green  {
    color: #00a106 !important;
    background: #22b12714;
}
.tag.clr-brown {
    color: var(--txt-brown);
    background: #ff00000f;
}
/* html */
html {
    font-size: 16px;
}
body {
	margin: 0;
	padding: 0;
	color: #111111;
	background: white;
}
a {
    color: #3d5d98;
    text-decoration: none;
    transition: all 0.3s;
}
a:hover {
    color: var(--green);
}
a.link-external:after {
    content: "";
    background-image: url(/img/external-link.png);
    display: inline-block;
    width: 16px;
    height: 18px;
    margin-left: 5px;
    vertical-align: middle;
}
h1 {
    margin: 0;
    padding: 2em 0 0.4em;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary);
}
h1 span {
    font-size: var(--sz-l);
    color: var(--txt-brown);
    font-family: "Mulish", serif;
    position: relative;
    bottom: 1px;
}
h2 {
    font-size: 1.612rem;
    letter-spacing: 0.01em;
    font-weight: 600;
    margin: 2em 0 1em;
    line-height: 1.2;
    position: relative;
    color: var(--primary);
}
h3 {
    font-size: 1.3rem;
    letter-spacing: 0.01em;
    font-weight: 600;
    color: var(--primary);
    margin: 2em 0 1em;
    line-height: 1.2;
}
h4 {
    font-size: 1.25rem;
    font-weight: normal;
    line-height: 1.2;
    margin: 1em 0 0.7em;
}
big {
	font-size: var(--sz-l);
}
p {
    margin: 1.3em 0;
}
p:first-child {
    margin-top: 0;
}
p:last-child {
    margin-bottom: 0;
}
section {
    transition: all 0.3s;
    padding: 1px;
}
.fnt-bold,.fnt-strong {
    font-weight: 500
}
.sz-xs {
    font-size: var(--sz-s);
    letter-spacing: 0.05em;
}
.sz-s, small {
    font-size: var(--sz-s);
}
.size-m {
    font-size: 16px !important;
}
.sz-l {
    font-size:  var(--sz-l);
}
.sz-xl {
    font-size: var(--sz-xl) !important;
}
h1 a, h2 a, h3 a, h4 a, h5 a {
    color: inherit;
}
td, th {
	text-align: left;
	padding: 5px 7px;
	border: 1px solid var(--txt-send);
}
th {
    font-weight: 400;
    letter-spacing: 0.03em;
}
form {
    margin: 0;
}
img {
    vertical-align: middle;
}
.col {
    column-gap: 53px;
    -webkit-columns: 12em;
    columns: 12em;
    margin: 0;
    padding: 0;
}
hr {
	height: 1px;
	border: 0;
	border-bottom: solid 1px #d4d4d4;
	max-width: 450px;
	margin: 35px auto 30px 0;
}
img[align="left"], img[style*="left"]  {
    margin: 0 25px 15px 0;
}
img[align="right"], img[style*="right"]  {
    margin: 0 0 15px 25px;
}
/* inputs */
input[type="text"], input[type="tel"], input[type="email"], input[type="number"], input[type="password"], input[type="date"], input[type="search"], input[type="url"], select, textarea {
	font-weight: 400;
	border: 1px solid gray;
	margin: 2px;
	vertical-align: middle;
	box-sizing: border-box;
	padding: 0.37em 0.5em;
	max-width: 100%;
	display: inline-block;
	background: white;
}
input::placeholder {
  color: #111111;
}
/* buttons */
input[type="submit"], input[type="button"], button, .button, .btn {
    padding: 10px 26px;
    margin-bottom: 0;
    background: var(--primary);
    border-radius: 4px;
    letter-spacing: 1px;
    color: #ffffff;
    line-height: 22px;
    font-weight: 600;
    font-size: var(--sz-s);
    transition: all 0.3s;
    border: solid 1px #00000000;
}
input[type="submit"].btn-primary, input[type="button"].btn-primary, button.btn-primary, .button.btn-primary, .btn.btn-primary {
    border-color: var(--green);
    background: var(--green);
    color: #ffffff;
}
input[type="submit"].btn-secondary, input[type="button"].btn-secondary, button.btn-secondary, .button.btn-secondary, .btn.btn-secondary {
    border-color: #7f9cb8;
    background: transparent;
    color: var(--primary);
}
.btn.btn-light, button.btn-light, input[type="submit"].btn-light, input[type="button"].btn-light {
    background: transparent;
    color: white;
}
.btn.btn-s, button.btn-s, input[type="submit"].btn-s, input[type="button"].btn-s {
    padding: 5px 15px;
    letter-spacing: 0.05em;
    white-space: nowrap;
    border-width: 1px;
    text-transform: none;
    font-size: var(--sz-xs);
}
.btn.btn-xs{
    padding: 4px 18px;
    font-size: var(--sz-xs);
    text-transform: none;
    letter-spacing: 0.1em;
}
.btn.prihlasit {
	width: 180px;
	margin: 5px 0 0;
}
/* hover */
input[type="submit"]:hover, input[type="button"]:hover, button:hover, .button:hover, .btn:hover {
    background-color: var(--green);
}
input[type="submit"].btn-secondary:hover, input[type="button"].btn-secondary:hover, button.btn-secondary:hover, .button.btn-secondary:hover, .btn.btn-secondary:hover {
    color: white;
    border-color: var(--green);
}
/* sharebuttons */
#shareButtons {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
}
#shareButtons a.poslat {
    padding: 10px 3px 0 2px;
    text-align: center;
    margin-left: 9px;
    font-size: 11px;
    letter-spacing: 0.02em;
    font-weight: 600;
    color: transparent;
    background: #9eaed5 url(/img/ico-email-white.png) no-repeat center;
    border: solid 1px rgb(0 0 0 / 0%);
    border-radius: 50%;
    width: 39px;
    height: 39px;
}
#shareButtons .clipboard {
    padding: 0;
    color: transparent;
    font-size: 11px;
    background: #b6bfab url(/img/ico-copy-white.png) no-repeat center;
    border: solid 1px rgb(0 0 0 / 0%);
    border-radius: 50%;
    width: 39px;
    height: 39px;
}
#shareButtons a.poslat:hover, #shareButtons .clipboard:hover {
    color: #fff !important;
    background-image: none;
}
#shareButtons .fb:before {
    content: "";
    background: #2d88ff url(/img/fb-white.svg) no-repeat center;
    background-size: 22px;
    display: inline-block;
    width: 39px;
    height: 39px;
    line-height: 39px;
    color: white;
    text-align: center;
    margin-left: 9px;
    vertical-align: middle;
    border-radius: 50%;
}
.fb:hover:before {
    background-color: #0f235d;
}
/* ico */
.ico {
    display: inline-block;
    background-color: var(--primary);
    width: 39px;
    height: 39px;
    text-align: center;
    line-height: 39px;
    border-radius: 50%;
    transition: all 0.3s;
    vertical-align: middle;
    margin-bottom: 3px;
}
.ico:hover {
    background-color: var(--green);
    transform: translateY(-4px);
}
.ico.fb {
    background: var(--primary) url(/img/fb-white.svg) no-repeat center;
    background-size: 25px;
}
details[open] .ico {
    transform: rotate(-180deg);
    margin-bottom: 1em;
}
/* header*/
.logo {
	margin: 0;
	padding: 0;
	color: var(--txt-send);
	line-height: 1;
}
.logo span {
	font-size: 37px;
	color: var(--txt-send);
	line-height: 25px;
	font-weight: normal;
	position: relative;
	bottom: -2px;
}
.pg-header, .item-header {
    background-color: var(--secondary);
    background-position: right bottom;
    background-repeat: no-repeat;
    color: var(--primary);
}
.pg-header {
    padding-bottom: 3rem; 
}
.pg-header .flex div {
    background-color: transparent !important;
    border: 0 !important;
    color: var(--primary);
    padding: 0 !important;
}
/* screen menu */
.menu {
	font-family: "Libre Baskerville", serif;
	align-self: end;
}
.menu ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
}
.menu a {
	margin: 0 15px 0;
	color: var(--primary);
	font-size: var(--sz-xs);
	letter-spacing: 0.1em;
	font-weight: 700;
	position: relative;
	text-transform: uppercase;
}
.menu a:after {
	position: absolute;
	left: 0;
	bottom: -4px;
	width: 0px;
	height: 3px;
	content: '';
	background: #e3c8b9;
	transition: width 0.3s;
}
.menu a:hover:after {
	width: 100%;
}
.page {
  overflow-x: hidden;
}
.pg-home .page {
  color: var(--primary);
} 
.little {
    text-transform: uppercase;
    font-style: normal;
    font-size: 12px;
    letter-spacing: 0.2em;
    display: inline-block;
    width: 67px;
    font-weight: 700;
}
.text, .pg-header .flex div {
    position: relative;
    margin: 4em 0 2rem;
}
.text + .text, .pg-header .flex div +  div {
    margin-top: 0;
}
.text > h1:first-child, .text > h3:first-child, .pg-header .flex div > h1:first-child, .pg-header .flex div > h3:first-child {
    padding-top: 0;
    margin-top: 0;
}
header {
    background-color: var(--light);
    padding: 15px 0;
    position: relative;
}
.pg-home header {
    background-color: var(--secondary);
}
/* sections */
.hero {
    background-color: var(--primary);
    color: var(--light);
}
.hero-grid {
    display: grid;
    grid-template-columns: 100%;
}
.hero-img {
    height: 19.75rem;
    position: relative;
    overflow: hidden;
}
.hero-img img {
    object-fit: cover;
    height: 106%;
    object-position: 74.35%;
}
.hero-moto {
    display: flex;
    flex-direction: column;
    align-self: center;
    padding: 40px 25px;
}
.moto {
    font-style: italic;
    font-weight: 400;
    font-size: 19px;
    margin-bottom: 3rem;
    letter-spacing: 1px;
    text-shadow: 0 0 15px var(--primary);
}
.fix.flex {
    flex-direction: column;
}
.date {
    color: var(--txt-brown);
    margin-bottom: 0.5em !important;
    font-weight: bold;
}
.date i {
    font-weight: 400;
    color: var(--txt-send);
    padding: 0 5px;
    font-style: normal;
}
.pg-header ul {
    list-style: none;
    padding-left: 0;
}
.pg-header li {
    margin-bottom: 0.3em;
    margin-left: 19px;
}
.pg-header li:before {
    content:"";
    display: inline-block;
    background: var(--txt-brown);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    vertical-align: middle;
    margin-right: 11px;
    margin-left: -18px;
}
/*kurzy*/
.tbl-kurzy {
    border-collapse: separate;
    border-spacing: 0 6px;
    color: #525252;
    width: 100%;
    max-width: 980px;
}
.tbl-kurzy td {border-left: 0;border-right: 0;background: white;padding: 14px 5px 12px;font-size: var(--sz-s);}
.tbl-kurzy .td-vice {border-right: solid 1px var(--txt-send);border-radius: 0 4px 4px 0;padding-right: 20px;}
.tbl-kurzy th {border-right: 0;background: white;border-radius: 4px 0 0 4px;padding: 14px 7px 12px 16px;/* white-space: nowrap; */}
.tbl-kurzy th a {font-size: var(--sz-m);font-weight: 700;padding-right: 10px;white-space: nowrap;}
.pg-home .tbl-kurzy .td-termin {display: none;}
.tag {
    background: #ebeff7;
    color: var(--primary);
    border-radius: 8px;
    padding: 2px 11px;
    position: relative;
    top: -1px;
    font-size: var(--sz-xs);
    font-weight: 600;
    white-space: nowrap;
    font-style: normal;
}
.tag.o {
    background: #fbedb8;
    color: var(--txt-brown);
}
.item-kurz-header .tag {
    background: rgb(255 255 255 / 70%);
    font-size: var(--sz-xs);
    padding: 5px 20px;
    margin-right: 8px;
}
.pg-home .tbl-kurzy td, .pg-home .tbl-kurzy th {
    border: 0 !important;
}
.input-block .btn {
	margin-top: 5px;
}
/* fulltext kurzy */
.item-header.kurz-full {
    position: relative;
    overflow: hidden;
    /* background-color: var(--send); */
}
.item-header.kurz-full .img-full-box {
    position: absolute;
    inset: 0;
    z-index: 0;
    padding-right: 0;
    max-width: 100%;
}
.item-header.kurz-full .img-full-box img {
    display: block;
    width: 100%;
    height: 100%;
    object-position: right;
    margin-left: 6rem;
}
.item-header.kurz-full .fix {
    position: relative;
    z-index: 1;
}
.item-kurz-header {
    padding-top: 1rem;
    min-height: 200px;
    background: linear-gradient(90deg, var(--secondary) 43%, rgb(247 231 205 / 0%) 93%);
    max-width: 600px;
    margin: -1px;
}
.line-row {
    color: var(--primary);
    padding: 7px 0;
    font-weight: 700;
    margin-left: 102px;
}
.field-label {
    font-weight: normal;
    display: inline-block;
    width: 102px;
    margin-left: -102px;
}
.swiper {
    position: relative;
    visibility: visible;
    margin-left: auto;
    margin-right: auto;
    touch-action: pan-y;
    z-index: 1;
}
.swiper .items {
    position: relative;
    width: 100%;
    z-index: 1;
    display: flex;
}
.pg-home .swiper .item  {
    flex: 0 0 538px;
    padding: 1em 3em 3em 0;
}
.swiper .item p {
    content: "\201E";
    margin-bottom: 0.5em;
}
.swiper .item p:before, .swiper .item p:after  {
    content: "\201E";
    color: var(--txt-brown);
    font-size: 2rem;
    line-height: 1;
    margin-right: 7px;
    display: inline-block;
}
.swiper .item p:after  {
    margin-left: 2px;
    transform: rotate(180deg) translate(0, -3px);
    position: absolute;
}
.swiper strong {
    font-size: var(--sz-s);
}
.swiper-button-prev, .swiper-button-next {
    width: 65px;
    height: 39px;
    background: url(/img/ico-arrow.svg) no-repeat center;
    background-size: 20px;
    position: absolute;
    bottom: 30px;
    right: 2rem;
    z-index: 316;
    cursor: pointer;
}
.swiper-button-prev {
    right: 98px;
    transform: rotate(180deg);
    border-left: solid 1px var(--txt-send);
    padding-left: 17px;
}
.swiper-button-next.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled {
    opacity: 0;
    cursor: auto;
    pointer-events: none;
}
.swiper-button-prev:hover, .swiper-button-next:hover {
    border-color: var(--clr-text-gold);
}
.fb-page {
    width: 100%;
    height: auto;
}
.fb-page:after {
    content:"";
    display: block;
    height: 4rem;
}
.items {
    margin-right: 0;
}
.item {
    padding: 0 0 4rem;
}
.item h3 {
    margin-block: 1em 0.5em;
    font-size: 1.1rem;
}
#top-item article {
    background: #f47e36;
    padding: 1.5rem 2rem;
    border: 1px solid #ffffff73;
    color: rgb(255 255 255 / 91%);
}
#top-item strong a {
    color: #ffffff;
    font-size: 1.3rem;
    letter-spacing: 0.1em;
}
#akce .item .item-img {
    overflow: hidden;
    aspect-ratio: 3 / 2;
}
#akce .item img {   
    transition: transform 0.5s;
    aspect-ratio: 3 / 2;
}
#akce .item:hover img {
    color: var(--primary);
    transform: scale(1.05);
}
/* fulltext */
aside {
    order: 1;
    margin: 0 0 5rem;
}
aside h3 {
    margin-top: 0;
    font-size: var(--sz-l);
}
.pg-nase-akce aside {
    display: none;
}
.pg-o-nas .item .date {
    /* display: none; */
}
.pg-o-nas .item h3 {
    font-size: var(--sz-m);
    font-family: 'Mulish';
    margin-top: 18px;
}
.pg-o-nas .item-abstr {
    font-size: var(--sz-s);
    margin-bottom: 0;
}
.fulltext {
    max-width: 1060px;
    margin: 4rem auto 8rem;
    line-height: 1.8;
}
.full {
    line-height: 1.8;
}
.main-text {
    margin: 4rem 0;
}
.obsazeno {
    background: var(--light);
    padding: 1.3rem 2rem;
    margin-block: 2rem;
    border-left: solid 15px #e91e63;
    color: var(--primary);
}
.img-full-box img {
    object-fit: cover;
}
.aa-picture {
    display: flex;
    height: 100%;
}
.item-header.kurz-full .aa-picture {
    display: flex;
    height: 200px;
}
.field-row {
    margin-bottom: 1em;
    font-weight: 700;
}
summary {
    cursor: pointer;
    display: inline-block;
    margin-top: 3rem;
}

body > footer {
	padding: 4rem 0 1rem;
	color: #b3bfd3;
	background: var(--primary);
	font-size: var(--sz-s);
}
body > footer article {
	margin-bottom: 4em;
}
footer a {
    display: inline-block;
    color: white;
}
footer h2 {
    font-size: var(--sz-m);
    font-weight: 600;
    margin: 0;
    padding: 0;
    color: white;
    font-family: "Mulish", serif;
}
footer ul {
    padding-left: 14px;
}
footer .ico.fb {background-image: url(/img/fb-blue.svg);background-color: white;}
footer img {
    margin-left: -13px;
    margin-top: -16px;
}
.copyright {
    padding-top: 1rem !important;
    border-top: solid 1px #7386b1;
    font-size: var(--sz-xs);
}
/* screen */
@media (min-width: 768px) {
  :root {
    --sz-xl: 30px;
    --sz-l: 22px;
    --sz-m: 18px;
    --sz-s: 16px;
    --sz-xs: 14px;
  }
  h1 {
  	font-size: 40px;
  	position: relative;
  }
  html {
  	font-size: 18px;
  	font-weight: 300;
  } 
  .fix {
    padding: 0 6rem;
  }
  input[type="submit"], input[type="button"], button, .button, .btn {
    padding: 10px 30px;
  }
  .hero-grid {
    grid-template-columns: 3fr 6fr;
    max-width: 1800px;
    margin: auto;
    max-height: 650px;
    min-height: 535px;
    height: 31vw;
  }
  .hero-img {
    order: 2;
    height: 31vw;
    max-height: 650px;
    min-height: 535px;
    position: absolute;
    right: 0;
  }
  .hero-img img {
    object-position: right;
    height: 100%;
  }
  .hero-moto {
    padding-left: 6rem;
    position: relative;
  }
  .logo img {
    margin: 0 40px 0 -11px;
  }
  .logo span {
	font-size: 52px;
	bottom: -3px;
  }
  .sz-xs {
    letter-spacing: 0.1em;
  }
  .text {
    margin: 5em 0 3rem;
  }
  .item-header.kurz-full .aa-picture {
    height: 323px;
  }
  .pg-home h1 + p {
    margin-top: 0.7rem;
  }
  .item-kurz-header {
    padding-top: 4rem;
    min-height: 323px;
}
  .fb-page {
    width: 370px;
  }
  .line-row {
    margin-left: 118px;
}
  .field-label {
    width: 118px;
    margin-left: -118px;
}
  .input-block.krz {
    margin-left: 185px;
    position: relative;
    z-index: 1;
  }
  details.prihlaska {
    position: relative;
    top: -49px;
  }	
  /* items screen */
  #akce .items {
    display: flex;
    flex-wrap: wrap;
    margin-right: -2rem;
  }
  .item {
    flex: 0 0 50%;
    padding: 0px 2rem 4rem 0;
  }
  .pg-home .item {
    flex: 0 0 25%;
   }
  body > footer {padding-top: 6rem;}
}

/* tablet-laptop */
@media (min-width: 768px) and (max-width: 1180px) {
  .fix {
        padding: 0 30px;
  }
  .img-full-box {
        margin: 0 -30px;
  }
  .kurz-full .img-full-box {
        margin: 0;
  }
  .hero-grid {
    grid-template-columns: 4fr 5fr;
    min-height: 383px;
    height: 25vw;
  }
  .hero-img {
    height: 25vw;
    min-height: 383px;
    right: -16vw;
  }
  .menu a {
    padding-top: 10px;
  }
  .logo img {
    width: 114px;
    padding-left: 16px;
    margin-right: 20px;
  }
  .logo span {
    font-size: 38px;
    bottom: 0;
  }
  .hero-moto {
    padding-left: 30px;
    background: radial-gradient(circle, rgba(0, 69, 135, 1) 0%, rgba(0, 69, 135, 0) 70%);
  }
  .menu {
	align-self: start;
	margin-top: 15px;
	margin-left: -11px;
  }
  aside {
    width: 370px;
    order: 1;
  }
}

/* vice nez 1180 */
@media  (min-width: 1180px) {
  .fix.flex {align-items: baseline;flex-direction: row;}
  .item-header .fix.flex {flex-wrap: nowrap;align-items: stretch;}
  .text, .pg-header .flex div {
    position: relative;
    margin: 4em 0 2rem;
  }
   .main-text {
    margin-right: 5vw;
    flex: 1;
    max-width: 69%;
  }
   .pg-nase-akce .main-text {
    margin-right: 0;
  }
  .main-text > h2:first-child {
    margin-top: 0;
  }
  aside {
    margin-top: 4rem;
    flex: 0 1 27%;
    max-width: 370px;
  }
  .text + .text, .pg-header .flex div +  div {
    margin-top: 0;
  }
  .flex .text:first-child {
    flex: 1 1 33.3%;
  }
  .flex .text:last-child {
    flex: 1 1 66.7%;
    max-width: 930px;
  }
  .flex .text:first-child {
	  padding-right: 3rem;
  }
  .flex .text + .text:last-child {
	  padding-left: 0rem;
	 }
  .pg-header .flex > div:first-child {
    flex: 0 0 45%;
    padding-right: 3rem !important;
  }
  .pg-header .flex > div:last-child {
    flex: 0 0 70%;
    padding-left: 0 !important;
    margin-bottom: 0 !important;
  }
	.pg-header .flex > div + div {
    flex: 0 0 50% !important;
  }
  .text > h1:first-child, .text > h3:first-child, .pg-header .flex div > h1:first-child {
    padding-top: 0;
  }
  #main .fix {
    display: flex;
    justify-content: space-between;
    padding-bottom: 8rem;
  }
  .item-header-perex {
    flex: 0 1 600px;
  }
  .pg-header {
    background-size: 700px;
    min-height: 440px;
    background-image: url(/img/img-zed.webp);
  }
  .pg-header .fix.flex {
    padding-right: 20rem;
  }
  .pg-kurzy .pg-header {
    background-image: url(/img/lachish.webp)
  }
  .pg-o-nas .pg-header {
   background-image: url(/img/ulpan-hodina-1955.webp);
   background-size: auto;
  }
  .pg-nase-akce .pg-header {
    background-image: url(/img/img-zed.webp)
  }
  .pg-faq .pg-header {
    background-image: url(/img/pismenka.webp);
    background-size: contain;
  }
   .pg-o-nas .pg-header:after {
   content: "Ulpan 1955";
   position: absolute;
   right: 0;
   bottom: 0;
   font-size: var(--sz-xs);
   letter-spacing: 0.01em;
   color: #000000;
   background: rgb(255 255 255 / 45%);
   box-shadow: 0 0 37px white;
   padding: 5px 17px;
  }
  .img-full-box {
    padding-right: 4rem;
    min-width: 400px;
    max-width: 847px;
  }
  #top-item {
    position: absolute;
    z-index: 1;
    width: 100%;
    text-align: center;
    bottom: -20px;
  }
  #top-item article {display: inline-block;max-width: 1000px;margin: 0 auto 0 auto;box-shadow: 0 0 30px #000000;font-size: 1.1rem;}
}
/* vice nez 1600 */
@media  (min-width: 1650px) {
  .item-header.kurz-full .img-full-box img {
    object-fit: contain;
  }
}
/* mobile */
@media (max-width: 767px) {
  .mobilmenu {
	padding-top: 1px;
	}
  .mobilmenu nav {
    margin: 0 3em 0 3em;
  }
  .mobilmenu nav ul {
    margin: 6% 0 0 0;
  }
  .mobilmenu li {
      margin: 0;
  }
  .customary-menu li {
    border: 0;
    padding: 0;
    margin: 0;
  }
  .mobilmenu.white-menu a.ico {
    background-color: #333333;
    color: white;
  }
  .mobilmenu.white-menu .ico-menu {
    margin-right: 12px;
    margin-top: 16px;
    line-height: 33px;
    font-size: 26px;
    color: var(--primary);
  }
  .ico-menu:after {
    content: "\2630";	
  }	
  .logo img {
    width: 94px;
    margin-right: 20px;
  }
  footer img {
    width: 95px;
    margin-left: -10px;
    margin-top: -12px;
  }
  .tbl-kurzy,
  .tbl-kurzy tbody {
    display: block;
    width: 100%;
  }
  .tbl-kurzy tr {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 13px;
    border: solid 1px var(--txt-send);
    border-radius: 4px;
    background: white;
    flex-direction: column;
    position: relative;
  }
  .tbl-kurzy th,
  .tbl-kurzy td {
    box-sizing: border-box;
    border: 0;
  }
  .tbl-kurzy th {
    flex: 0 0 100%;
    width: 100%;
    padding-left: 10px;
    padding-top: 17px;
    border-radius: 4px;
  }
  .tbl-kurzy td {
    display: block;
    align-items: center;
    border-radius: 4px;
    position: relative;
    padding: 3px 0 3px 10px;
  }
  .tbl-kurzy .td-vice {
    padding-right: 10px;
    display: block;
    border: 0;
  }
  .tbl-kurzy td.td-stav {
    position: absolute;
    right: 10px;
    top: 17px;
  }
  .tbl-kurzy .td-vice .btn {
    position: absolute;
    right: -1px;
    bottom: -1px;
  }
  .pg-home .tbl-kurzy tr {
    border: 0;
  }
  .pg-home .tbl-kurzy .td-cas, .pg-home .tbl-kurzy .td-rozsah, .pg-home .tbl-kurzy .td-cena {
    flex: 0 0 33.3333%;
    width: 33.3333%;
  }
  .pg-home .tbl-kurzy .td-termin {
    display: none;
  }
  .pg-home .tbl-kurzy .td-stav,
  .pg-home .tbl-kurzy .td-vice {
    flex: 0 0 50%;
    width: 50%;
    padding-left: 10px;
  }
  .pg-home .tbl-kurzy .btn {
    background: var(--primary);
	border-color: var(--primary);
	color: white;
  }
  .pg-home .swiper .item {
    flex: 0 0 85%;
 }
  .item-header .img-full-box {
    margin: 0 -25px;
  }
.kurz-full .img-full-box {
    margin: 0;
  }
}


.old {display: none;}
/* text from editor */
.editor-text *[style] {
    font-family: "Mulish", sans-serif !important;
    font-size: 1rem !important;
}
.editor-text p[style] {
    margin: 1.3em 0 !important;
}
