@font-face {
  font-family: "SegoeScript";
  src: url(fonts/Segoe_Script.eot);
}

@font-face {
  font-family: "SegoeScript";
  src: url(fonts/Segoe_Script.ttf);
}

.body{
  /*background: url('/images/fon.png') repeat scroll 0 0 #EEEEEE;*/
  /*font-family: "Courier New";*/
  color: black;
  font-weight: lighter;
  font-family: "Century Schoolbook";
  margin: 0;
  padding: 0;
}

div{
  /*border: 1px solid darkslategray;*/
}

b{
font-weight:bold;
}

.main{
  width:100%;
  height: 100%;
  padding: 0;
  margin: 0 0 5% 0;
  /*min-height: 100vh;*/
}

.header{
  margin-top: 2%;
  /*width:100%;*/
  /*display: flex;*/
  /*display: -webkit-flex;*/
  /*flex-direction: row;*/
}

.logo {
  box-sizing:border-box;
  -moz-box-sizing:border-box;
  -webkit-box-sizing:border-box;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo img{
  width: 60%;
  box-sizing:border-box;
  -moz-box-sizing:border-box;
  -webkit-box-sizing:border-box;
}

.logo .text{
  font-family: SegoeScript;
  font-weight: bold;
  font-size: 18px;
  color:#27418E;
  width: 50%;
  text-align: center;
  letter-spacing: 3px;
}

.top-menu{
  width: 100%;
  margin: 3% 0 3% 0;
  padding: 0;
  background-color: #FFECCC;
  display: flex;
  justify-content: center;
}

.top-menu ul {
  width: 60%;
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-between;
}

.top-menu ul li{
   /* width: 100%; */
   display: inline;
   text-align: center;
   /*margin: 1%;*/
   line-height: 2;
 }

.top-menu ul li:hover{
  /* width:100%; */
  display: inline;
  text-align: center;
  /*margin: 1%;*/
  background-color: white;
}

.top-menu ul li a{
  font-size: 24pt;
  color:#102D70;
  font-weight: bold;
  text-decoration: none;
  letter-spacing: 1px;
}

.content{
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: justify;
}

.content-data{
  width: 60%;
}

.content-data span{
  font-size: 14pt;
  line-height: 1.5;
}

#main img{
  float: left;
  width: 20%;
  margin-right: 2%;
}

#main .text-about{
  display: block;
}

#main .text-news{
  display: block;
  margin-top: 2%;
  /*font-weight: bold;*/
  text-align: center;
  background-color: #FFECCC;
  padding: 2% 1% 2% 1%;
}

#about .text{
  line-height: 2;
}

#payments ul {
  list-style: none;
}

#payments ul li:before {
  content:  "-";
  position: relative;
  left:     -5px;
}

.map{
  width: 70%;
}

#contacts{
  text-align: center;
}

#contacts span{
  display: block;
}

#contacts iframe{
  display: block;
}

#contacts img
{
  width: 70%;
}

#recall img {
  width: 30%;
}

.blockquote {
  font-style: italic;
  margin-bottom: 5%;
}

.blockquote img{
  border-radius: 10px;
  float: left;
  margin-right: 1%;
}

.blockquote cite {
  font-style: normal;
}




@media screen and (max-width: 1600px) {

  .logo img{
    width: 60%;
  }

  .top-menu ul{
    width: 60%;
  }

  .content-data{
    width: 60%;
  }
  .top-menu ul li a{
    font-size: 20pt;
    color:#27418E;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 2px;
  }
}

@media screen and (max-width: 1400px) {
  .logo img{
    width: 70%;
  }

  .top-menu ul{
    width: 70%;
  }

  .content-data{
    width: 70%;
  }
  .top-menu ul li a{
    font-size: 18pt;
    color:#27418E;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 2px;
  }
}

@media screen and (max-width: 1300px) {
  .logo img{
    width: 70%;
  }

  .top-menu ul{
    width: 70%;
  }

  .content-data{
    width: 70%;
  }
  .top-menu ul li a{
    font-size: 16pt;
    color:#27418E;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 1px;
  }
}

@media screen and (max-width: 1200px) {
  .logo img{
    width: 80%;
  }

  .top-menu ul{
    width: 80%;
  }

  .content-data{
    width: 80%;
  }
  .top-menu ul li a{
    font-size: 14pt;
    color:#27418E;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 1px;
  }
}

@media screen and (max-width: 1024px) {
  .logo img{
    width: 80%;
  }

  .top-menu ul{
    width: 80%;
  }

  .content-data{
    width: 80%;
  }
  .top-menu ul li a{
    font-size: 12pt;
    color:#27418E;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 1px;
  }
}

@media screen and (max-width: 1024px) {

  .logo img{
    width: 80%;
  }

  .top-menu ul{
    width: 80%;
  }

  .content-data{
    width: 80%;
  }

  top-menu ul {
    width: 60%;
  }
  .top-menu ul li a{
    font-size: 12pt;
    color:#27418E;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 1px;
  }
}

@media screen and (max-width: 830px) {

  .logo img{
    width: 80%;
  }

  .top-menu ul{
    width: 80%;
  }

  .content-data{
    width: 80%;
  }


  top-menu ul {
    width: 53%;
  }
  .top-menu ul li a{
    font-size: 10pt;
    color:#27418E;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 1px;
  }
}

@media screen and (max-width: 700px) {

  .logo img{
    width: 90%;
  }

  .top-menu ul{
    width: 90%;
  }

  .content-data{
    width: 90%;
  }


  .top-menu{
    width: 100%;
    padding: 0;
    background-color: #FFECCC;
  }

  .top-menu ul {
    width: 53%;
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
  }

  .top-menu ul li{
    width:100%;
    text-align: center;
    line-height: 2;
  }

  .top-menu ul li:hover{
    width:100%;
    text-align: center;
    background-color: white;
  }

  .top-menu ul li a{
    font-size: 12pt;
    color:#102D70;
    font-weight: bold;
    text-decoration: none;
  }


  .content-data span{
    font-size: 12pt;
  }

  #contacts iframe{
    width: 70%;
    height: 250px;
  }

  #recall img {
    width: 50%;
    margin-top: 1%;
    margin-right: 3%;
  }
  

}
