
*{
  box-sizing: border-box;
}
html,body{
  width: 100%;
  height: 100%;
}
body{
  height: auto;
  /*display: flex;*/
 justify-content: space-between;
  align-items: center;
 flex-direction: column;
  background: #bbb;
}
#page{
  max-width: 1000px;
min-width:260px;
  background: white;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
  margin: 0.1em;
}
header{
 /* display: flex;*/
  justify-content: space-around;
  align-items: center;
  text-align: center;
  padding: 1em;
  background: #167F92;
}
#title{
  font-size: 2.1em;
  color: white;
}
h1{
  font-size: 1.3em;
  font-family: Arial;
}

section{
  display: flex;
  flex-direction: column;
  padding: 1em;
  text-align: justify;
}
hr{
  margin: 1em;
}
footer{
  display: flex;
  justify-content: center;
  padding: 0.3em;
  font-size: 1em;
  font-family: Arial;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
  background: #167F92;
  
}
img{
  width: 100%;
  height: auto;
}
.zvyrazni {color:#346978;font-weight: 600;}
@media (max-width: 650px){
  header{
    flex-direction: column;
  }
  
  #title{
    margin: 0.5em;
  }
}
.responstable {
  margin: 1em 0;
  width: 100%;
  overflow: hidden;
  background: #FFF;
  color: #024457;
  border-radius: 10px;
  border: 1px solid #167F92;
}
.responstable tr {
  border: 1px solid #D9E4E6;
}
.responstable tr:nth-child(odd) {
  background-color: #EAF3F3;
}
.responstable th {
  display: none;
  border: 1px solid #FFF;
  background-color: #167F92;
  color: #FFF;
  padding: 1em;
}
.responstable th:first-child {
  display: table-cell;
  text-align: center;
}
.responstable th:nth-child(2) {
  display: table-cell;
}
.responstable th:nth-child(2) span {
  display: none;
}
.responstable th:nth-child(2):after {
  content: attr(data-th);
}
@media (min-width: 660px) {
  .responstable th:nth-child(2) span {
    display: block;
  }
  .responstable th:nth-child(2):after {
    display: none;
  }
}
.responstable td {
  display: block;
  word-wrap: break-word;
  max-width: 7em;
}
.responstable td:first-child {
  display: table-cell;
  text-align: center;
  border-right: 1px solid #D9E4E6;
}
@media (min-width: 660px) {
  .responstable td {
    border: 1px solid #D9E4E6;
  }
}
.responstable th, .responstable td {
  text-align: left;
  margin: .5em 1em;
}
@media (min-width: 660px) {
  .responstable th, .responstable td {
    display: table-cell;
    padding: 1em;
  }
}

body {
  padding: 0 2em;
  font-family: Arial, sans-serif;
  color: #024457;
  background: #f2f2f2;
}

h11 {
  font-family: Verdana;
  font-weight: bold;
font-size:1.7 em
  color: #024457;
}
h11 span {
  color: #167F92;
}

.mezera{height:2 em;}

       .divI {
    display: none;
}
   
a:hover + .divI {
    display: block;
}
.video-container {
  position: relative;
  height: 0;
  padding-bottom: 56.25%;
}
.video-container > * {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

/* unvisited link */
a.one:link {
  color: #167f92; text-decoration: none;
}

/* visited link */
a.one:visited {
  color: #167f92; text-decoration: none;
}

/* mouse over link */
a.one:hover {
  color: red;text-decoration: none;background-color:yellow;
}

/* selected link */
a.one:active {
  color: #167f92; text-decoration: none;
}

/* unvisited link */
a.twoo:link {
  color: #167f92; text-decoration: none;
}

/* visited link */
a.twoo:visited {
  color: #167f92; text-decoration: none;
}

/* mouse over link */
a.twoo:hover {
  color: red;text-decoration: none;/*background-color:yellow;*/
}

/* selected link */
a.twoo:active {
  color: #167f92; text-decoration: none;
}


@keyframes slidy {
0% { left: 0%; }
20% { left: 0%; }
25% { left: -100%; }
45% { left: -100%; }
50% { left: -200%; }
70% { left: -200%; }
75% { left: -300%; }
95% { left: -300%; }
100% { left: -400%; }
}
figure { 
  /*margin: 0;*/ background: #101010;
  font-family: Istok Web, sans-serif;
  font-weight: 100;
}
div#captioned-gallery { 
  width: 100%; overflow: hidden; 
}
figure.slider { 
  position: relative; width: 500%;
  font-size: 0; animation: 60s slidy infinite; 
}
figure.slider figure { 
  width: 20%; height: auto;
  display: inline-block;  position: inherit; 
}
figure.slider img { width: 100%; height: auto; }
figure.slider figure figcaption { 
  position: absolute; bottom: 0;
  background: rgba(0,0,0,0.4);
  color: #fff; width: 100%;
  font-size: 2rem; padding: .6rem; 
}

