
 @font-face {
  font-family: 'MyCustomFont';
  src: url("CarotSans-ExtraLight.otf") 
}
  @font-face {
    font-family: 'MyCustomFontItalic';
    src: url("CarotSans-ExtraLightItalic.otf")
   
}


html {
height: 100%;
width: 100%;
font-size: 100%;
margin: 0;
}   
body {
font-size: 1.1em;
font-family: 'MyCustomFont', Verdana, sans-serif;
color: white;
width: 100%;
height: 100%;
padding: 0em 0em 0em 0em;
margin: 0em 0em 0em 0em;
background-color: #272525;
line-height: 150%;
overflow-x: hidden;
}
body a {
color: white;
text-decoration: underline;
}
.fotomax img {
width: 100%;
height: auto;
}

a:hover {
color: red;
}
.foto {
  width: 60%;
  height: auto;
  float: left; 
  margin: 0em 1em 0em 0em;
}
.foto img {
  width:100%;
  height: auto;

}
h1 {
font-size: 1.8em;
font-weight: bold;
font-family: 'MyCustomFont', Verdana, sans-serif;
text-align: left;
line-height: 150%;
}
h2 {
font-size: 1.4em;
font-family: 'MyCustomFont', Verdana, sans-serif;
text-align: left;
color: #005174;
line-height: 150%;
}
.textvpravo {
 margin-right: 1%;
  text-align: right;

  }

.clear {
clear: both;
height: 1px;
font-size: 1px;
line-height: .1;
}
nav {
width: 8em;
height: auto;
padding: 0.2em 0em 0.2em 0em;
margin: 0em 0em 0em 0em;
text-align: left;
float: left; 
background-color: #5D45C7;
} 
nav ul {
list-style-type: none;
margin: 0em 0em 0em -2.6em;
}
nav li {
font-size: 1.5em;
font-family: 'MyCustomFont', Verdana, sans-serif;
text-align: center;
padding: 0.3em 0em 0.3em 0em;
margin: 0em 0em 0.2em 0em;
text-align: center;
opacity: 0.8;
}
nav a {
color: #F9F7FA;
padding: 0.3em 0.3em 0.3em 0.3em;
text-decoration: none;
border: none;
}
nav ul a:hover {
background: #858585;
color: #F9F7FA;
text-decoration: none;
}
article {
  width: 100%;
  height: auto;
  padding: 0em 0em 0em 0em;
  margin: 0em 0em 0em 0em;
  text-align: justify;
  background-image: none;
  }
input[type="submit"] {
background: #858585;
color: black;
text-align: left;
padding: 0.7em  0.7em 0.7em 0.7em;
margin:  0.5em auto;
font-weight: bold;
display: block;
border: 0;
opacity: 0.8;
}
input[type="submit"]:hover {
background: #AE6A6D;
color: black;
cursor: pointer;
opacity: 0.8;
}
input[type="text"], input[type="email"], input[type="password"] {
width: 250px;
border: 1px solid #aaaaaa;
padding: 0.3em;
}
input[type="file"] {
  width: 450px;
  border: 2px solid #050505;
  padding: 0.3em;
  }
.message {
width:100%;
border: 2px solid #05fc63;
color: black;
background: #a2f0cf;
padding: 3px;
margin: 0em 0em 1em 0em;
}

#frm-uploadForm {
  width: 50%; 

}
#frm-contactForm {
width: 90%; 
height: auto;
font-size: 0.9em; 
padding: 0.3em  0.3em 0.3em 0.3em;
border: 2px solid #5D45C7;
}
#frm-contactForm textarea {
width: 95%; 
height: auto;
}
#navigace_editace {
height: auto;
border-top: 2px solid red;     
}
#end_navigace_editace {
height: auto;
margin-top: 5em;
border-bottom: 2px solid red;
     
}
#navigace_editace ul {
list-style-type: none;
text-indent: 0%;
}
#navigace_editace li {
float: left;
margin: 0em 0.3em 1em 0em;
list-style-position: inside;
text-indent: 0%;
}
#navigace_editace a {
background: #2aa1fc;
color: black;
padding: 0.3em 0.3em 0.3em 0.3em;
text-decoration: none;
border: none;
}
#navigace_editace a:hover {
background: #797979;
color: black;
text-decoration: none;
}
table {
width: 100%;
margin-left: auto; 
margin-right: auto;
border-collapse: collapse;
}
table, th, td {
padding: 0.3em 0.3em 0.3em 0.3em;
}
td {
width: 50%;
}


#footer {
text-align: center;
font-size: 1em;
width: 100%;
height: auto;
padding: 0.3em 0.3em 0em 0.3em;
margin: 0.3em auto;
border-top: 2px solid #5D45C7;  
}
#logo {
width: 1.2em;
height: auto;
margin: 0.7em 0em 0em 0em;
padding: 0em auto;
}
#socky {
text-align: left;
width: 100%;
height: auto;
margin: 0em 3em 0em -12em;
padding: 0em auto;
}


 @media only screen and ( max-width: 1200px ) {
  html {
    font-size:90%;
      }   

   


     
 } 
 @media only screen and ( max-width: 800px )  {
nav {
  width: 100%;
  float: none;
  padding: 0.2em 0em 0.2em 0em;
  margin: 0em 0em 0em 0em;
  }  

.foto {
  width: 100%;
  height: auto;
  float: none; 
  margin: 0em 0em 0em 0em;
}
#logo {
  display: none;
  }
nav ul {
display: none;
}


#footer {
width: 95%;
margin: 0em auto 0em auto;
}
.message {
width: 98%;
}
input[type="text"], input[type="email"], input[type="number"], input[type="password"] {
width: 96%;
height: 1.5em;
border: 1px solid #5D45C7;
padding: 0.3em;
}
textarea {
width: 96%;
height: 30em;
border: 1px solid #5D45C7;
padding: 0.3em;
}


} 
