body {
    font-family: 'Sora', sans-serif;
    font-size: 15px;
    line-height: 1.4;
}
a {
    color: #14a0cb;
    text-decoration: underline;
}
a:hover {
    color: #212529;
}
img.resp {
    width: 100%;
    max-width: 700px;
    height: auto;
    margin-top: 1em;
    margin-bottom: 2em;
}
.svetle-modra {
    background-color: #14a0cb;
    color: #fff;
}
.svetle-modra p {
    margin-top: 1em;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
}
.modra {
    color: #14a0cb;
}
.svetle-seda {
    background-color: #e8e7e9;
}
.svetle-seda p {
    margin-top: 1em;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
}
.ram-sm {
    border: 1px solid #14a0cb;
    padding: 2em;
    margin-bottom: 1em;
}

.partner {
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0.9em 1em;
}
.mp {
    text-align: right;
}
header .podklad {
    padding-top: 2.5em;
    padding-bottom: 2.5em;
}
header .podklad {
    background-image: url("/images/podklad.png");
    background-size: cover;
    background-position: center;
}
header img {
    width: 100%;
    max-width: 326px;
    height: auto;
}
@media only screen and (max-width: 991px) {
    .mp {
        text-align: center;
        margin-top: 2em;
    }   
    header .podklad {
        padding-top: 1em;
        padding-bottom: 1em;
    }   
    header img {
        width: 100%;
        max-width: 250px;
        height: auto;
    }    
}
@media only screen and (max-width: 767px) { 
    header .podklad {
        padding-top: 0;
        padding-bottom: 0;
    }    
    header img {
        width: 100%;
        max-width: 170px;
        height: auto;
    }     
}

nav {
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    font-size: 20px;
}

@media only screen and (max-width: 1200px) { 
    nav {
        font-size: 16px;
    }  
}

.nav-link {
    color: #000 !important;
    font-weight: bold;
    text-decoration: none;
    padding: 0.5rem 1rem 0.3rem 1rem;
}

.nav-item .nav-link  {
    border-bottom: 4px solid #fff;
}

.nav-item.active .nav-link, .nav-item .nav-link:hover  {
    color: #1499c8 !important; 
    border-bottom: 4px solid #1499c8;
}

.submenu {
    display: none;
    font-size: 17px;
    position: absolute;
    background-color: #1499c8;
    list-style: none;
    padding: 0.5em 0;
    margin: 0;
    border-bottom: 5px solid #ef7d2d;
}

@media only screen and (max-width: 1200px) { 
    .submenu {
        font-size: 15px;
    }
}

.submenu li {
    width: 100%;
}

.submenu li a {
    padding: 0.5em 1.5em !important;
}

.submenu .nav-link {
    color: #fff !important;
    padding: 0.5em 1em;
    border-bottom: 0;
}
.submenu .nav-link:hover {
    border-bottom: 0;
}

@media only screen and (max-width: 991px) {
    .submenu {
        display: block;
        background-color: #e1eef3;
        color: black !important;
        border-bottom: 0;
        margin-bottom: 1em;
    }  
    .submenu .nav-link {
        color: black !important;
    }     
}

.nav-item:hover .submenu {
    display: block;
}

.submenu .nav-link:hover {
    background-color: #ef7d2d !important;
    color: #fff !important;
}


.nav-item.active .nav-link {
    border-bottom: 4px solid #1499c8;
}

@media only screen and (min-width: 992px) {
    .nav-link {
        text-align: left;
        line-height: 2;
    }
    .navbar {
        position: relative; 
        z-index: 10;
    }    
    .navbar-brand {
        display: none;
    }
    .nav-item {
        margin-right: 1.4em;
    }
    .nav-item:last-child {
        margin-right: 0;
    }
}

@media only screen and (max-width: 991px) {
    .navbar {
        padding-top: 0.5em;
        padding-bottom: 0.5em;
    }
    .submenu {
        position: relative;
    }
}


.video {
    width: 100%;
    max-width: 640px;
    height: auto;
    border: 2px solid #14a0cb;
}

.videomax {
    width: 100%;
    height: auto;
    border: 2px solid #14a0cb;
}

.blue {
    color: #14a0cb;
}

h1 {
    font-size: 20px;
    font-weight: bold;
    color: #14a0cb;
    margin-bottom: 1em;
}

footer .row {
    margin-right: 0;
    margin-left: 0;
}

footer img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.col-lg-20 {
    flex: 0 0 20%;
    max-width: 20%;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 12px;
}
@media only screen and (max-width: 991px) {
    .col-lg-20 {
        flex: 0 0 33.3%;
        max-width: 33.3%;
    }
}
@media only screen and (max-width: 767px) {
    .col-lg-20 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

h3 {
    font-size: 15px;
    font-weight: bold;
    color: #14a0cb;
    margin-top: 1em;
}
h2 {
    font-size: 17px;
    font-weight: bold;
    color: #e2281a;
}

h2.nadpis {
    color: #14a0cb;
}


.btn {
    border: 0;
    padding: 0.425rem 2.75rem;
    font-size: 1.3rem;
    border-radius: 0;
}

.btn-primary {
    background-color: #14a0cb;
}


#overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.8);
    z-index: 1100;
}

#text{
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 50px;
    color: black;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
}

#text h3 {
    background-color: #14a0cb;
    margin-left: -25px;
    margin-right: -25px;
    padding: 10px 25px;
    color: #fff; 
    font-size: 1.75rem;
}

@media (max-width: 768px) {
	#text{
		left: 8%;
		top: 45%;
		width: 84%;
		transform: translate(0%,-50%);
        -ms-transform: translate(0%,-50%);
	}
}

#text div{
	background-color: white;
	padding: 0 0.5em;
	position: relative;
}

#text div p{
	padding: 0.5em 0;
	margin: 0;
	font-size: 0.29em;
}

#text h4 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 0.5em;
    margin-bottom: 1em;
}

@media (max-width: 768px) {
	#text div p{
		padding: 0.25em 0;
		font-size: 0.22em;
	}
}

@media (max-width: 600px) {
	#text h3{
		font-size: 0.45em;
	}
}

#text div .zavrit{
	position: absolute;
	top: 16px;
	right: 10px;
	width: 20px;
	height: auto;
	cursor: pointer;
}

#text .btn-success {
	background-color: #14a0cb;
    margin-top: 1em;
    margin-bottom: 1em;
}

#text label {
    display: flex;
    align-items: center;
    font-size: 15px;
    line-height: 15px;
    margin: 1em 0;
}
@media (max-width: 500px) {
    #text label {
        font-size: 13px;
        line-height: 13px;
        margin: 0.5em 0;
    }
}

#text input[type="checkbox"] {
    margin-right: 10px;
}

#text input[type="email"], #text input[type="text"] {
    height: 35px;
    width: 80%;
    font-size: 16px;
    border: 1px solid #14a0cb;
}
.email {
    display: inline-block !important;
    margin-right: 15px !important;
}

.inputfields  {
    padding-left: 0 !important;
    font-size: 20px;
    margin-bottom: 1.5em;
    max-width: 500px;
}
.inputfields label {
    width: 100px;
}
.inputfields input {
    max-width: 330px;
}


input[type=checkbox] {
	-moz-appearance:none;
	-webkit-appearance:none;
	-o-appearance:none;
	outline: none;
	content: none;	
}

input[type=checkbox]:before {
	font-family: "FontAwesome";
    content: "\f00c";
    font-size: 16px;
    color: transparent !important;
    background: #fff;
    display: block;
    width: 18px;
    height: 18px;
    border: 1px solid #14a0cb;
    margin-right: 7px;
}

input[type=checkbox]:checked:before {

	color: #14a0cb !important;
}

.podrobnosti {
    font-size: 12px !important;
}

.podrobnosti a {
    font-weight: bold;
    color: black;
}

/* experti – drží stejný poměr a ořez */
.expert-img {
  width: 100%;
  height: 150px;          
  object-fit: cover;
  object-position: center;
}

/* drobné doladění témat */
.topic-box p { line-height: 1.5; }
@media (min-width: 992px) {
  .experts .expert-img { height: 200px; }
}


/* tlačítka "více…" */
.btn-topic {
  font-size: 0.9rem;   
  padding: 0.25rem 0.6rem;  
  color: #fff;     
  background: #14a0cb;
  transition: all 0.2s ease-in-out;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

/* hover efekt */
.btn-topic:hover {
  background: #ef7d2d;
  color: #fff;
}

figcaption strong {
	color: #14a0cb;
}


.video-wrap video { max-height: 58vh; object-fit: contain; }

/* Playlist */
.playlist {
  max-height: 70vh;
  overflow-y: auto;
  background: #fff;
}
.playlist-item {
  border: 1px solid #e4e9f1;
  padding: .6rem .6rem;
  margin-bottom: .6rem;
  cursor: pointer;
  position: relative;
}
.playlist-item:hover {
  border-color: #17a2b820; /* jemný hover */
  box-shadow: 0 0 0 2px rgba(23,162,184,0.08) inset;
}
.playlist-item.active {
  border-color: #14a0cb;        
  box-shadow: 0 0 0 2px rgba(13,110,253,.12) inset;
}
.playlist-item .title {
  font-weight: 700;
  font-size: .92rem;
  line-height: 1.05rem;
  color: #14a0cb;
  margin-bottom: .25rem;
}
.playlist-item .meta {
  font-size: .7rem;
  color: #000;
}
.playlist-controls .btn { padding: .35rem .35rem; line-height: 1; }

/* kulaté šipky nahoru/dolů jako ve screenu */
.playlist-controls .btn { border-radius: 999px; }

/* na menších displejích ať je vše nad sebou */
@media (max-width: 991.98px) {
  .video-wrap video { max-height: 40vh; }
  .playlist { max-height: none; }
}

.btn-outline-primary {  
  color: #fff;
  background-color: #14a0cb;
  border-color: #14a0cb;
}

.btn-outline-primary:hover {
  color: #14a0cb;
  border-color: #fff;
  background-color: #fff; 
}

/* schovat svislý scrollbar, ale nechat programově posouvat */
.playlist {
  max-height: 70vh;
  overflow-y: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;   /* IE/Edge */
  scrollbar-width: none;      /* Firefox */
}
.playlist::-webkit-scrollbar { display: none; } /* Chrome/Safari/Opera */

.playlist-item:first-child { margin-top: .25rem; }

.zpet {
	  background-color: #14a0cb;
	  color: #fff;
	  text-decoration: none;
	  margin-top: 2em;
	  margin-bottom: 2em;
	}
	
.zpet:hover {
	  background-color: #ef7d2d;
	  color: #fff;
	}	