@font-face{
  font-family: sitka;
  src: url('/font/Sitka.ttc');
  font-weight: normal;
}

@font-face{
  font-family: sitka;
  src: url('/font/SitkaB.ttc');
  font-weight: bold;
}

@font-face{
  font-family: sitka;
  src: url('/font/SitkaI.ttc');
  font-weight: normal;
  font-style: italic;
}

html, select, button, input{
  font-family: sitka;
}

body, html{
  background-image: url("/img/sveraz2.svg");
  background-size: auto 70vh;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: calc(95vw - 14vh) 15vh;
}

html{
  padding: 0px;
  margin: 0px;
  background-position: 5vw 15vh;
  background-color: rgb(0,119,234);
}

#main{
  background-color: white;
  border-radius: 5px;
  color: rgb(40,40,40);
  text-align: center;
  width: 89%;
  padding: 30px 5%;
  max-width: 700px;
  margin: 0px auto;
  box-shadow: 0px 0px 5px rgba(200, 200, 200, .6);
}

/*---------------------------------------------------*/

.route-point{
  display: inline-block;
  margin: 10px 5px;
  padding: 10px 20px;
  font-weight: bold;
  font-size: 14px;
  border-radius: 5px;
  border: 1px solid #0077ea;
  background-color: #0077ea;
  color: white;
}

.route-point.small{
  padding: 7px 10px;
  margin: 3px;
  font-size: 12px;
}

.route-point.light{
  background-color: white;
  color: rgb(40,40,40);
}

.fu{
  font-size: 9px;
  font-weight: normal;
  display: block;
}

#postup{
  display: none;
}

.edge{
  font-size: 12px;
}

.edge:last-of-type{
  font-size: 14px;
  font-weight: bold;
  margin-top: 5px;
}

.info-uzly{
  font-weight: normal;
  margin-top: 10px;
}

.method{
  display: inline-block;
  width: 29%;
  padding: 5px 2%;
  margin-top: 20px;
  margin-bottom: 20px;
  border-left: 1px solid rgb(200, 200, 200);
}

.method:nth-of-type(3n+3), .method:first-of-type{
  border-left: none ;
}

/*---------------------------------------------------*/

.cil{
  display: inline-block;
  width: 200px;
  text-align: center;
  padding: 20px 20px 30px calc(49.5% - 240px);
}

.cil:nth-of-type(2){
  padding: 20px calc(49.5% - 240px) 30px 20px;
}

.cil label{
  display: block;
}

button{
  padding: 14px 20px;
  border-radius: 5px;
  background-color: #0077ea;
  border: none;
  color: white;
  font-weight: bold;
}

select{
  font-size: 14px;
  padding: 12px 20px 16px 20px;
  border-radius: 5px;
  background-color: white;
  border: 1px solid #0077ea;
}

label{
  margin-bottom: 10px;
  font-weight: bold;
}

/*-----------------------------------------------------*/

a, a:visited, a:hover{
  color: rgb(40,40,40);
  text-decoration: none;
}

img{
  border-radius: 5px;
  width: 100%;
  max-width: 700px;
}

p{
  font-size: 14px;
  line-height: 160%;
}

#main p:first-of-type{
  font-size: 18px;
}

#postup p:first-of-type{
  font-size: 14px;
}

hr{
  width: 100%;
  margin-top: 40px;
  margin-bottom: 40px;
  height:1px;
  border-width:0;
  background-color: rgba(200, 200, 200, .6);
  clear: both;
}

h3{
  font-size: 16px;
  margin-top: 0px;
}

@media screen and (max-width: 805px) {
  .method{
    width: 45%;
  }

  .method:nth-of-type(3){
    border-left: none;
    margin-top: 35px;
  }
}

@media screen and (max-width: 565px) {
  .cil, .cil:nth-of-type(2){
    margin: 0 auto;
    display: block;
    width: auto;
    padding: 10px 0px 20px 0;
  }

  .cil:nth-of-type(2){
    padding-bottom: 35px;
  }
}

@media screen and (max-width: 530px) {
  .method{
    display: block;
    width: 100%;
    padding-left: 0px;
    padding-right: 0px;
    border-left: none;
    margin-top: 40px;
  }

  .method:nth-of-type(3){
    border-left: none;
    margin-top: 40px;
  }
}