/*@import url(https://fonts.googleapis.com/css?family=Open+Sans:700,400&subset=latin);*/

body {
  /*background-image: url(img/bg.png);*/
  background-color: #262626;
  margin: 0;
  padding:0;
}

main {
  width: 990px;
  margin: 20px auto;
  float: none;
  background: #fff;
  box-shadow: 0px 0px 15px #000;
  border: 7px solid white;
  padding:0px;
  font-family: 'Open Sans', Arial;
}

header a{
  color: #fff;
}

header, footer, section {
  width:100%;
  display: block;
  padding: 20px;
  box-sizing: border-box;
}

header, footer {
  background: linear-gradient(to right, #353535, #686868);
  color: #fff;
}

footer h3{
  color: #fff;
}

.textcols a{
  display: block;
  color: #fff;
  background: #444;
  width: 306px;
  float: left;
  margin: 5px;
  padding: 5px;
  box-sizing: border-box;
  text-decoration: none;
  border-bottom: 0px;
  text-align: center;
}

.textcols a:hover{
  background: #000;
}

.textcols p.month {
    display: block;
    color: #fff;
    background: #eee;
    width: 294px;
    float: left;
    margin: 1px;
    padding: 5px;
    box-sizing: border-box;
    text-decoration: none;
    border-bottom: 0px;
    text-align: center;
    font-size: 15px !important;

}

header h1{
  width: 50%;
  display: inline;
  float: left;
  margin-left: 20px;
  margin-top: 10px;
  text-shadow: 1px 1px 1px #465856;
}

header h1 span {
  color: #CCCCCC;
  font-weight: normal;
}

header .header_img{
display: inline;
    float: right;
    max-height: 180px;
    width: 47%;
}

header .header_img img{
  position: relative;
  top: -45px;
  height: 294px;
}

header .menu{
  margin-left: 20px;
  font-size: 18px;
  margin-bottom:10px;
  ext-shadow: 1px 1px 1px #465856;
}

img#comp_view{display: block;}
img#mobile_view{display: none;}

table {
  margin: 0px auto;
}

.img_right {
  width: 300px;
  margin: 0 0 20px 20px;
  float: right;
}

.img_left {
  width: 300px;
  margin: 0 20px 20px 0;
  float: left;
}


table tr:nth-of-type(odd) {
    background: #f6f7fb;
}

table td {
    font-size: 16px;
    padding: 0.9em;
    border: 1px solid #eaeaea;
    vertical-align: top;
    word-break: normal;
}

h3{
  color: #415453;
  text-align: center;
}

a{
  color: #000;
  border-bottom: 1px solid grey;
}

a.request{
  display: block;
  border: 1px solid #b9b9b9;
  width: 280px;
  margin: 0px auto;
  padding: 10px;
  box-sizing: border-box;
  text-decoration: none;
  background: linear-gradient(to right, #dddddd, #eeeeee);
}

a.request:hover{
  background: linear-gradient(to right, #999, #bbb);
  color: #fff;
}

img.gallery_preview {
  float: left;
  margin: 10px;
  width: 280px;
  box-shadow: 0 0 7px rgba(0,0,0,0.5);
  border: 1px solid #3e3e3e;
}


#first {
  padding: 40px;
  box-sizing: border-box;
  background: linear-gradient(to right, #dddddd, #eeeeee);
}

#first h2{
  color: #415453;
  text-align: center;
}

#first p{
  font-size: 18px;
  line-height: 24px;
  text-align: justify;
  color: #777777;
}

  #second_expand, #third_expand {
    display: none;
  }

#second {
  padding: 40px;
  box-sizing: border-box;
}

#second h2{
  color: #415453;
  text-align: center;
}

#second p, #second li{
  font-size: 18px;
  line-height: 24px;
  text-align: justify;
  color: #777777;
}

#third {
  padding: 40px;
  box-sizing: border-box;
  background: linear-gradient(to right, #dddddd, #eeeeee);
}

#third h2{
  color: #415453;
  text-align: center;
}

#third p{
  font-size: 18px;
  line-height: 24px;
  text-align: justify;
  color: #777777;
}


#fourth {
  padding: 40px;
  box-sizing: border-box;
}

#fourth h2{
  color: #415453;
  text-align: center;
}

#fourth p, #fourth li{
  font-size: 18px;
  line-height: 24px;
  text-align: justify;
  color: #777777;
}

#fifth {
  padding: 40px;
  box-sizing: border-box;
  background: linear-gradient(to right, #dddddd, #eeeeee);
}

#fifth h2{
  color: #415453;
  text-align: center;
}

#fifth p, #fifth li{
  font-size: 18px;
  line-height: 24px;
  text-align: justify;
  color: #777777;
}

#fifth li{
  margin-bottom: 10px;
}

#fifth ul {
  list-style: none;
}

#fifth ul li:before {
  content: "—"; position: relative; left: -25px;
}

#sixth {
  padding: 40px;
  box-sizing: border-box;
}

#sixth h2{
  color: #415453;
  text-align: center;
}

#sixth p{
  font-size: 18px;
  line-height: 24px;
  text-align: justify;
  color: #777777;
}

#seventh {
  padding: 40px;
  box-sizing: border-box;
  background: linear-gradient(to right, #dddddd, #eeeeee);
}

#seventh h2{
  color: #415453;
  text-align: center;
}

#seventh p{
  font-size: 18px;
  line-height: 24px;
  text-align: justify;
  color: #777777;
}



#eigth {
  padding: 40px;
  box-sizing: border-box;
}

#eigth h2{
  color: #415453;
  text-align: center;
}

#eigth p{
  font-size: 18px;
  line-height: 24px;
  text-align: justify;
  color: #777777;
}


/* 2024.10 BLOCK */



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

  main{
    width:740px;
  }

  header, footer, section {
    padding: 10px;
  }

  header .header_img img {
    top: -28px;
    height: 259px;
  }

  #first, #second, #third, #fourth, #fifth, #sixth, #seventh, #eigth {
    padding: 20px;
    box-sizing: border-box;
  }

}

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

  main{
    width:340px;
    font-family: Arial;
  }

  header, footer, section {
    padding: 7px;
  }

  header h1 {
    width: 100%;
    text-align: center;
    margin-left: 0px;
  }

  header .menu{
    display: inline-block;
    width: 100%;
    text-align: center;
    margin-left: 0px;
  }

  header .header_img {
    max-height: none;
    width: 100%;
  }

  header .header_img img {
    top: -6px;
    height: 230px;
  }

  img#comp_view{display: none;}
  img#mobile_view{display: block;max-width: 150px;max-height: 102px;margin: 0px auto;}



  .img_right {
    width: 310px;
    margin: 20px 0 20px 0;
    float: right;
  }

  .img_left {
    width: 310px;
    margin: 20px 0 20px 0;
    float: left;
  }

  #first, #second, #third, #fourth, #fifth, #sixth, #seventh, #eigth {
    padding: 15px;
    box-sizing: border-box;
  }

  #second_hide, #third_hide {
    display: none;
  }

  #second_expand, #third_expand {
    display: block;
  }



}




#topsep2 {
  margin: 0 auto;
  box-sizing: border-box;
  background: #fff; padding:10px;box-shadow: 0px 5px 10px #777;
  margin-bottom: 30px;
}

#topsep2_map img {
  width: 100%;
}

/* Стиль по умолчанию для телефона (до 767px) */
#topsep2 {
  width: 310px;
  display: block;
}

#topsep2_logo,
#topsep2_map {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 10px;
}

/* Планшет (768px - 1000px) */
@media (min-width: 768px) and (max-width: 1000px) {
  #topsep2 {
    width: 700px;
    display: flex;
    gap: 10px;
  }

  #topsep2_logo,
  #topsep2_map {
    width: 50%;
    margin-bottom: 0;
  }
}

/* Компьютер (от 1001px и выше) */
@media (min-width: 1001px) {
  #topsep2 {
    width: 910px;
    display: flex;
    gap: 10px;
  }

  #topsep2_logo,
  #topsep2_map {
    width: 50%;
    margin-bottom: 0;
  }
}
