/* Основа*/
@import url('https://fonts.googleapis.com/css?family=Exo+2');
@import url('https://fonts.googleapis.com/css?family=Oswald');
@import url('https://fonts.googleapis.com/css?family=Roboto');



* {
  margin: 0;
  padding: 0;
}
body,html {
  width: 100%;
  height: 100%;
}

body {
  background-color: #16557e;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #2b2429;
}

ul {
  margin: 0.5em 0 1em;
  padding: 0;
  list-style-type: none;
}

a {
  color: rgb(58, 62, 41);
  text-decoration: none;
  transition: all.6s ease;
  -ms-transition: all.6s ease;
  -o-transition: all.6s ease;
  -moz-transition: all.6s ease;
  -webkit-transition: all.6s ease;
}

a:hover {
  color: #b02099;
  text-decoration:underline;
  transition: all.6s ease;
  -ms-transition: all.6s ease;
  -o-transition: all.6s ease;
  -moz-transition: all.6s ease;
  -webkit-transition: all.6s ease;
}

img {
  max-width: 100%;
  height: auto;
  width: auto/9;
}



/*Конец основы */

/*Шапка сайта */
header {
  font-family: 'Exo 2', sans-serif;
  width: 90%;
  margin-left: 4.3%;
  padding: 7px 0.3%;
  background-color: #ffffff;
  border-bottom: 4px solid rgb(53, 97, 252);
  float: left;
  -ms-transition: all.6s ease-out;
  -o-transition: all.6s ease-out;
  -moz-transition: all.6s ease-out;
  -webkit-transition: all.6s ease-out;
  border-radius: 15px 50px;
}

header>div#logo {
  float: left;
}


header>div#logo>a>img {
    width: 250px;
    height: 90px;
}


header>#silki>div {
  margin-top: 30px;
  float: left;
}

header>#silki>div>a {
  color: rgb(64, 141, 238);
  text-align: center;
}

header>#silki>div>a:hover {
  color: rgb(5, 18, 106);
  text-align: center;
}

@media (min-width:1060px) {
  header>div#logo {
    margin-left: 5%;
  }

  header>#silki>div {
    margin-left: 5%;
  }

  header>#silki>div>a {
    font-size: 1.3em;
  }

  header>#silki>div>a:hover {
    font-size: 1.45em;
  }
}

@media (max-width:1059px) {
  header>div#logo {
    margin-left: 2%;
  }

  header>#silki>div {
    margin-left: 4%;
  }

  header>#silki>div>a {
    font-size: 1.2em;
  }

  header>#silki>div>a:hover {
    font-size: 1.3em;
  }
}

.fixed {
  position: fixed;
  top: 0;
  padding: 3px 0.3%;
  width: 99.3%;
  float: left;
  margin-left: 0;
  border-radius: 0px;
}

.fixed>#silki>div {
  margin-top: 18px;
  margin-left: 7%;
}

.fixed>#silki>div>a {
  font-size: 1.2em;
}

.fixed>div#logo>a>img {
  width: 190px;
  height: 60px;
}
/* Конец шапки*/

/* осноная часть сайта*/
#wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#content {
  flex: 1 0 auto;
}

/* конец основной яасти сайта*/

/*Меню */
.menu {
  margin: 10px 5px;
  float: left;
  background-color: #cfdafc;
  padding: 3px 5px;
  border-radius: 5px;
}

.menu>div.menu_infa {
  font-family: 'Roboto', sans-serif;
  float: left;
}


@media (min-width:1126px) {
  .menu>div.menu_image {
    float: right;
    margin-right: 5px;
    margin-top: 1%;
  }
  .menu>div.menu_image_l {
  float: left;
  margin-left: 5%;
  margin-top: 5px;
  }
  .menu>div.menu_infa {
    width: 75%;
  }
}

@media (max-width:1125px) {
  .menu>div.menu_image {
    float: left;
    margin-left: 1px;
    margin-top: 1%;
  }
  .menu>div.menu_image_l {
  float: left;
  margin-left: 3px;
  margin-top: 1%;
  }
  #tabl>.red {
    font-family: 'Exo 2', sans-serif;
    float: left;
    font-size: 0.8em;
  }
  .menu>div.menu_infa {
    width: 99.8%;
  }
}
.menu>div.menu_image>img {
  width: 320px;
  height: 250px;
  border: 2px solid #f0faf2;
}

.menu>div.menu_image_l>img{
  width: 350px;
  height: 280px;
  border: 2px solid #f0faf2;
}

.menu a {

  color: black;
  text-decoration: none;
}
#tabl {
  margin-top: 10px;
  width: 100%;
  float: left;
}

#tabl>.red {
  font-family: 'Exo 2', sans-serif;
  margin-left: 5%;
  float: left;
}
/* Конец меню */

/* Футер сайта */

footer {
  font-family: 'Exo 2', sans-serif;
  width: 99.3%;
  padding: 0.3%;
  background-color: #0f0f0f;
  border-top: 4px solid rgb(53, 97, 252) ;
  float: left;
}

footer>div#site_name{
  float: right;
  margin-right: 5%;
  margin-top: 1%;
  margin-bottom: 2%;
}

footer>div#site_name>span {
font-size: 2em;
color: white;
}

footer>div#infa {
  float: left;
  margin-left: 5%;
  margin-top: 1%;
  border-bottom: 10%;
}

footer>div#infa>span {
  color: white;
  font-size: 1.3em;
}
