*{
	padding: 0;
	margin: 0;
}
body{
	font-family: arial;
}
h1{
    text-align: center;
    color: white;
    border-radius: 1em;
    padding: 0.5em;
    font-size: 2.6em;
}
h2{
    font-size: 2.5em;
    text-align: center;
    padding-top: 1%;
    padding-bottom: 1%;
}
a{
	text-decoration: none;
}
header{
	display: flex;
	justify-content: space-around;
	align-items: center;
	padding:0.2em;
	font-size: 1.5em;
	background: #9dcde4;
}
.logo{
	display: flex;
	justify-content: space-around;
	align-items: center;
	width: 30%;
	color: #1a5080;
}
.osnova{
	background: url(img/osnova.jpg);
	background-size: 100%;
	padding-bottom: 20.7%;
	color: white;
	    padding-top: 5%;
	        display: flex;
    justify-content: center;
    align-items: center;
}
.menu {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-self: center;
    justify-content: center;
    background: #1a5080;
}
.menu a {
    color: white;
    border: 0;
    text-align: center;
    font: 14px/42px 'SMD';
    font-size: 2em;
    padding: 0.4em;
    font-family: monospace;
}
.menu a:hover{
	background: #1f5690;
	color: white;
	transition: 0.7s;
}
.menu a:not(:hover){
	transition: 0.7s;
}
.zag {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 40em;
    height: 21em;
    background: #1a5080ad;
    border-radius: 16em;
    text-align: center;
}
.onas p{
    font-size: 1.5em;
    padding-bottom: 1%;
}
.onas ul{
	margin-left: 2%;
	font-size: 1.5em;
	    margin-bottom: 1%;
}
.onas a{
    color: white;
}
.usl{
	background: #e5ffe8;
	    padding-bottom: 1%;
}
.head {
	padding-bottom: 3%;
	    color: white;
}
.head h4 {
    padding-top: 6%;
    padding-left: 5%;
    font-size: 1.8em;
}
.flex{
	display: flex;
	justify-content: space-around;
	align-items: center;
	margin-bottom: 3%;
}
.flex div{
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	align-items: center;
	text-align: center;
	width: 30%;
	font-size: 1.2em;
	background: rgba(255, 255, 255, 0.29);
	padding: 0.3em;
    border-radius: 1em;
}
table {
  font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
  border-collapse: collapse;
      width: 90%;
}
caption {
  padding: 10px;
  color: white;
  background: #1a5080;
  font-size: 18px;
  text-align: left;
  font-weight: bold;
}
th {
  border-bottom: 3px solid #2b4584;
  padding: 10px;
  text-align: left;
}
td {
  padding: 10px;
}
tr:nth-child(odd) {
  background: white;
}
tr:nth-child(even) {
  background: #1a50803b;
}
td:nth-child(even) {
  text-align: center;
}
th:nth-child(even) {
  text-align: center;
}
.tflex{
	display: flex;
    justify-content: space-around;
        padding-bottom: 4%;
}
.t1{
	width: 48%;
	display: flex; 
	justify-content: space-around;     
	flex-direction: row-reverse;
} 
.t2{
	width: 48%;
} 
.pep{
	padding-left: 5%;
    font-size: 1.3em;
    width: 34%;
    margin-top: 2%;
}
.amar{
	margin-left: 4.4%;
	    margin-bottom: 7%;
}
.kontakt{
	background: url(img/map.png);
	background-size: 100%;
    padding-bottom: 16%;
    padding-top: 4%;
    color: white;

}
.banrkont{
	    width: 34%;
    background: #1a5080;
    border-radius: 0em 8em 0em 9em;
    margin-left: 1%;
    padding: 1em;
        padding-bottom: 4%;
    padding-top: 3%;
}
.banrkont a{
	color: white;
	font-size: 1.3em;
}
.banrkont p{
	font-size: 1.3em;
	text-align: center;
}
.banrkont h2{
    font-size: 2em;
    text-align: center;
    padding-top: 1%;
    padding-bottom: 1%;
}
.banrkont h3{
	font-size: 1em;
	    font-size: 1.5em;
    text-align: center;
}
footer{
	display: flex;
    flex-direction: column;
    align-items: center;
        background: #194361;
    color: white;
    font-size: 1.5em;
    padding: 1em;
}
.onas{
	background: #1a5080;
	color: white;
	    padding-left: 2%;
    padding-right: 0.5%;
    padding-bottom: 1%;
    padding-top: 1%;
}
.onas img{
    float: right;
    border-radius: 0em 8em 0em 9em;
}
.list{
	background: #edf3f9;
}
.onas h3{
	text-align: center;
	    font-size: 1.7em;
    padding-top: 2%;
}
.row {
    display: flex;
    justify-content: space-around;
    flex-direction: row;
        padding-bottom: 2%;
}
.row div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 20em;
    font-family: Comic Sans MS;
    padding: 0.5em;
    margin: 0.5em;
    color: #3d4677;
    background: #b4cad0;
    border-radius: 0em 8em 0em 9em;
    box-shadow: 12px 6px 0px #20325a;
}
.row div:hover{
	background: #6bbdd4;
	transition: 0.7s;
	
}
.row div:not(:hover){
	transition: 0.7s;
}
.row div img {
    max-height: 12em;
    max-width: 17em;
    border-radius: 0em 7em 0em 9em;
}
.row div p {
    font-size: 1.4em;
    font-family: Comic Sans MS;
    text-align: end;
        width: 94%;
    margin: auto;
}
.b1{
	display: flex; 
	flex-direction: column;
	width: 17em;
	margin-left: 5%;
}
.flexkak{
	display: flex;
	justify-content: space-around;
	margin-bottom: 1%;
}
footer a{
	color: white;
}
footer h3{
	font-size: 1.5em;
    margin-bottom: 1%;
}
.a404{
	    background: #1a5080;
	    color: white;
	    padding: 1em;
	    text-align: center;
}
.a404:hover{
	background: #1f5690;
	transition: 0.7s;
}
.a404:not(:hover){
	transition: 0.7s;
}
.osnov404{
	display: flex;
	    justify-content: center;
}
.text404{
	margin-left: 4%;
    font-size: 1.2em;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 57%;
}
.foto{
	background: white;
	display: flex;
}
.text404 h1{
    padding-bottom: 1%;
    padding-top: 1%;
    color: #1a5080;
    text-align: center;
    width: 116%;
}