@import "colors.css";
@import "nav.css?v2";
@import "segments.css?v=5";

@font-face {
  font-family: 'raleway2';
  src: url('../font/Raleway-Regular.ttf');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'raleway2';
  src: url('../font/Raleway-Bold.ttf');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'raleway2';
  src: url('../font/Raleway-Italic.ttf');
  font-weight: normal;
  font-style: italic;
}

.linear-grad{
  background-image: linear-gradient(to left, #2ca8d4, #2cd2d4);
}

div.linear-grad, hr.linear-grad{
  clear: both;
  width: 100%;
  height: 2px;
}

hr.linear-grad{
  height: 1px;
}

@keyframes item_show{
  from {filter: opacity(0%)}
  to {filter: opacity(100%)}
}

body{
  font-family: raleway2, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  margin: 0px;
  padding: 0px;
  top: 0px;
  text-align: left;
  height: 100%;
  color: rgb(25%, 25%, 25%);
  background-image: url('/images/graphics/bg.png');
}

html{
  text-align:center;
  height: 100%;
  scroll-behavior: smooth;
}

/* Width */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background-color: rgb(90%,90%,90%);
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/*-------------------------------------------------------------------------*/

.box_content {
  width: calc(100% - 80px);
  padding: 0px 40px;
  max-width: 1100px;
  /*min-width: 1100px;*/
  margin: 0 auto;
  position: relative;
  background-color: white;
}

#logo_in_header{
  background-image: url("/images/graphics/logo_color.svg");
  background-size: contain;
  background-position: left center;
  background-repeat: no-repeat;
  margin-top: 27px;
  margin-bottom: 0px;
  width: 250px;
  display: inline-block;
  height: 30px;
}

#header{
  background-color: white;
}

#header .box_content{
  height: 83px;
  position: relative;
}

#header .linear-grad{
  position: absolute;
  bottom: 0px;
  width: calc(100% - 80px);
}

#headline{
  background-image: url('/images/slideshow/industrial-hall.jpg');
  background-position: top;
  padding: 20px 0;
}

#headline .box_content{
  background-color: transparent;
}

#content{
  padding-top: 40px;
  padding-bottom: 40px;
  min-height: calc(100vh - 728px);
  background-color: rgb(98%, 98%, 98%);
}

#footer{
  background-color: rgb(95%, 95%, 95%);
  text-align: center;
  padding-top: 25px;
  padding-bottom: 35px;
}

#footer img{
  height: 30px;
  margin: 0 20px 20px 20px;
}

#footer a img{
  height: 20px;
  margin-bottom: 0;
  display: inline;
  vertical-align: middle;
}

#footer h3{
  font-weight: normal;
  font-size: 16px;
}

#footer .loga{
  display: inline-block;
  text-align: left;
  margin-right: 80px;
}

#footer .loga:last-of-type{
  margin-right: 0px;
}

#footer .loga img:first-of-type{
  margin-left: 0px;
}

/*#footer .loga:nth-of-type(1), #footer .loga:nth-of-type(2){
  display: inline-block;
  vertical-align: top;
  width: 50%;
  max-width: 300px;
  margin-bottom: 20px;
}*/

/*--------------------------------------------------------------------------------*/

.square{
   margin: 10px 10px 0px 0px;
   width: calc(25% - 7.5px);
   display: inline-block;
   text-decoration: none;
   overflow: hidden;
   vertical-align: top;
 }

.square:nth-of-type(4n){
  margin-right: 0px;
}

.inner-square{
  filter: opacity(100%);
  transition: transform .4s;
  width: 100%;
  padding-top: 100%;
  background-position: center center;
  background-size: cover;
}

.inner-square:hover{
  filter: opacity(100%);
  transform: scale(1.1);
}

/*----------------------------------------------------------------------------*/
/* other styles */

#main img{
  max-width: 100% !important;
  height: auto !important;
  border-style: none;
}

hr{
  width: 100%;
  margin-top: 40px;
  margin-bottom: 40px;
  height: 2px;
  border-width:0;
  clear: both;
  background-color: rgb(80%, 80%, 80%);
}

#content a, #content a:hover, #content a:visited{
  color: var(--d-blue);
}

a:hover{
  text-decoration: none;
}

.table_scroll{
  overflow: auto;
  max-width: 100%;
}

td, th{
  padding: 5px;
  vertical-align: top;
}

h1 {
  font-size: 30px;
  color: white;
  font-weight: bold;
  background-color: rgba(0,0,0, 0.6);
  display: inline-block;
  padding: 20px 40px;
  margin: 0 0 0 -40px;
}

h2{
  text-decoration: none;
  font-size: 22px;
  font-weight: bold;
  margin-top: 25px;
  margin-bottom: 25px;
}

h3 {
  font-size: 18px;
  font-weight: bold;
  line-height: 150%;
}

h4 {
  font-size: 15px;
  font-weight: normal
}

h1, h2, h3 {
  line-height: 150%;
  font-family: raleway2, sans-serif;
}

p, li {
  line-height: 140%;
  text-align: justify;
}

p{
  margin: 10px auto;
}

.youtube {
  width: 100%;
  height: 51vw;
}

@media screen and (min-width: 1150px) {
  .youtube {
    height: 500px;
  }
}

#content ul{
  list-style-type: none;
  padding-left: 10px;
}

#content li{
  margin-bottom: 5px;
}

#content ul li:before{
  background-color: var(--d-cyan);
  content: "";
  display: inline-block;
  margin-right: 15px;
  margin-bottom: 2px;
  height: 7px;
  width: 7px;
}

#content ol{
  padding-left: 25px;
  margin-top: 5px;
  margin-bottom: 0px;
}

strong, b{
  font-weight: 600;
}

.responsive-table{
  width: 100%;
  max-width: 100%;
  overflow: auto;
  margin: 30px auto;
  padding-bottom: 3px;
}

.responsive-table table.styled-table{
  margin: 0px;
}


table.styled_table, table{
  border-collapse: collapse;
}

table.styled_table{
  border-radius: 3px;
  border: 1px solid rgb(44, 168, 212);
  background-color: white;
  border-collapse: separate !important;
  border-spacing: 0;
}

table.styled_table tbody{
  border-radius: 3px;
}

/*table tr:first-child th:first-child{
  border-top-left-radius: 6px;
}

table tr:first-child th:last-child{
  border-top-right-radius: 6px;
}

table tr:last-child td:first-child {
  border-bottom-left-radius: 6px;
}

table tr:last-child td:last-child {
  border-bottom-right-radius: 6px;
}*/

table.styled_table td, table.styled_table th{
  padding: 7px 15px;
  vertical-align: middle;
}

table, table td, table th{
  border: none;
  text-align: left;
}

table.styled_table th{
  padding: 17px 15px;
}

table.styled_table tr:first-of-type{
  border-radius: 3px 3px 0 0;
}

table.styled_table tr:not(:last-of-type) td, table.styled_table tr:not(:last-of-type) th{
  border-bottom: 1px solid rgb(70%, 70%, 70%);
}

table.vypis_testu, table.otazky_list{
  min-width: 100%;
}

table.vypis_testu tr td:nth-of-type(1), table.vypis_testu tr td:nth-of-type(4), table.vypis_testu tr td:nth-of-type(5), table.vypis_testu tr td:nth-of-type(6){
  text-align: right;
  white-space: nowrap;
}

table.vypis_testu tr td:nth-of-type(2){
  min-width: 200px;
}

table.vypis_testu tr th{
  white-space: nowrap;
}

table.otazky_list{
  margin-bottom: 20px;
}

table.otazky_list tr th:last-of-type, table.otazky_list tr td:last-of-type{
  width: 36px;
  text-align: center;
}

table.otazky_list tr td:first-of-type{
  min-width: 200px;
}

table.otazky_list tr td:nth-of-type(2){
  width: 80px;
}

table.otazka_table, table.odpovedi_table{
  min-width: 100%;
}

table.odpovedi_table tr td:nth-of-type(2), table.odpovedi_table tr th:nth-of-type(2){
  text-align: right;
  width: 80px;
}

table.otazka_table td, table.otazka_table th, table.odpovedi_table td, table.odpovedi_table th{
  /*border: 1px solid #e0e0e0;
  padding: 7px 15px;*/
}

table.otazka_table th{
  white-space: nowrap;
}

table.blok_komentare{
  min-width: 300px;
}

table.blok_komentare td{
  vertical-align: middle;
}

table.blok_table{
  min-width: 400px;
}

table ul{
  margin: 0;
}

.circle {
  border-radius: 50%;
  width: 30px;
  height: 30px;
}

li.not_selected{
  text-decoration: line-through;
}