#box-custom-header {
  overflow: hidden;
  width: 100%;
  padding: 5px;
}
.polovicne {
font-size:80%;
}
#box-custom-header #logo-1 {
  float: left;
  width: 150px; 
  height: 150px
}
.menu-zoznam li {
margin-top:10px;
}

#box-custom-header #logo-2 {
  float: right;
  height: 150px;
}

#motivtext {
  margin-left: 10%; 
  text-align: center; 
  float:left;
  font-size: 200%; 
  font-weight: 400;
  max-width: 50%;
  color: #006197;
  font-style: italic;
  padding-top: 2%;
}

img {
max-width:100%;
}
.tutorialvideo {
  float: left;
  padding: 10px;
}

table.bezci {
  border-collapse: collapse;
  width:100%;
  margin:auto;
}

table.bezci td{
  border: 1px solid #111111;
  padding:5px;
}

video, .videosubor{
  max-width: 100%;
  display:block;
  width:704px;
  height:400px;
}

footer #footer-content {
  display: none;
}

main p {
  padding-top:5px;
}

#bar-poweredby {
  display:none;
}

body#index .navbar {
  margin-bottom: 20px;
}

@media (max-width: 1140px) {
#motivtext {
  margin-left: 1%; 
}
}

@media (max-width: 780px) {
#motivtext {
   max-width: 40%;
}
}

@media (max-width: 400px) {
  #box-custom-header {
  padding: 5px;
}
  #box-custom-header #logo-2, #box-custom-header #logo-1 {
  float: none;
  margin: 5px auto;
}
  #box-custom-header div {
  text-align: center;
}
#motivtext {
  margin: auto;
  float:none;
  max-width: 100%;
}
video, .videosubor{
  height:220px;
}
}