@font-face {
    font-family: OpenSans-Regular;
    src: url(../fonts/OpenSans-Regular.ttf);
   }
@font-face {
    font-family: OpenSans-Light;
    src: url(../fonts/OpenSans-Light.ttf);
   }
@font-face {
    font-family: lato-semibold;
    src: url(../fonts/lato-semibold.ttf);
   }
@font-face {
    font-family: Lato-Light;
    src: url(../fonts/Lato-Light.ttf);
   }
@font-face {
    font-family: Lato-Regular;
    src: url(../fonts/Lato-Regular.ttf);
   }
@font-face {
    font-family: latobold;
    src: url(../fonts/LatoBold.ttf);
   }
@font-face {
    font-family: bebas_neue_regular;
    src: url(../fonts/bebas_neue_regular.otf);
   }


.ff_ops_r{
 font-family: OpenSans-Regular;
}
.ff_ops_l{
 font-family: OpenSans-Light;
}
.ff_lato-s{
  font-family: lato-semibold;
}
.ff_Lato-L{
  font-family: Lato-Light;
}
.ff_Lato-R{
  font-family: Lato-Regular;
}
.ff_Lato-B{
  font-family: Lato-Bold;
}
.ff_beb-r{
  font-family: bebas_neue_regular;
}
.top_log{
  background-color: #E3001B;
}
.top_log img{
  float: left;
}
.top_log p{
  text-transform: uppercase;
  color: #fff;
  font-family: bebas_neue_regular;
  font-size: 30px;
  padding-top: 17px;
}

.mobi{
  background-image: url(../images/fon1.png);
  padding-bottom: 32px;
}
.mobi1{
  background-image: url(../images/fon3.png);
}
.mobi h1{
  color: #E3001B;
  font-family: 'Lato', sans-serif;
  font-weight: bold;
  font-size: 58px;
  margin-top: 38px;
  margin-left: 42px;
}
.mobi h2{
  color: #E3001B;
  font-family: 'Lato', sans-serif;
  font-size: 24px;
  margin-left: 44px;
  line-height: 31px;
  margin-top: 27px;
}
.mobi h3{
  color: #E3001B;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 24px;
  margin-top: 64px;
  margin-bottom: 19px;
  margin-left: 45px;
}
.mobi1 h2{
  color: #E3001B;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 30px;
  margin-top: 42px;
  margin-bottom: 42px;
  text-align: center;
}
.mobi img{
  margin-top: 46px;
  width: 105%;
}
.mobi a img{
  margin-top: 0;
  /* width: 210px; */
  width: auto;
}
.mobi a img.google{
  margin-left: 46px;
}
.el_book{
  background-image: url(../images/fon22.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position-y: 76%;

}
.el_book .description h3{
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 30px;
  color: #FFFFFF;

}
.el_book .description p{
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #FFFFFF;
  margin-top: 25px;
}
.el_book .button_pod .bto{
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 16px;
  padding: 12px 23px 12px 27px;
  background-color: #E3001B;
  border-radius: 5px;
  box-shadow: 0px 3px #CC0119;
  text-decoration: none;
}
.button_pod{
  margin-top: 35px;
  margin-bottom: 51px;
}
.el_book .button_pod .bto:hover{
  background-color: #CC0119;
  box-shadow: 0px 3px #E3001B;
}
.description{
  padding: 7px 68px 34px 36px;
  background-color: #E3001B;
  margin-top: 40px;
  width: 94%;
  line-height: 23px;
}
.el_book img{
margin-bottom: 45px;
width: 100%;
}
.book h2{
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 30px;
  color: #E3001B;
  margin: 0 176px;
  background-color: #fff;
  text-align: center;
  margin-bottom: -17px;
}
.book img{
width: 100%;
margin-bottom: 30px;
}
.book .bor_bot{
  margin-bottom: 0;
}
.bor_bot{
  border-bottom: 1px solid #ccc;
  margin-top: 44px;
  margin-bottom: 50px;
}
.textbook{
  position: relative;
  margin: 0 auto;
  list-style: none;
  margin-bottom: 28px;
  overflow: hidden;
  -ms-overflow-style: none;
}
.textbook img{
  width: 100%;
  /*height: 422px;*/

}
.capt{
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 10px;
  width: 100%;
  background-color: rgba(227, 0, 27, 0.75);
  max-height: 153px;
  min-height: 91px;
  line-height: 20px;
}
.capt p{
  font-family: OpenSans-Regular;
  font-weight: bold;
  color: #fff;
  font-size: 18px;
}
.capt span{
  font-family: OpenSans-Regular;
  color: #fff;
  font-size: 18px;
}
.a_bloc{
  text-align: center;
}
.a_bloc a{
  color: #E3001B;
  text-decoration: underline;
  font-size: 18px;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
}
.mg_bot_40{
  margin-bottom: 40px;
}
.forma label{
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 24px;
  color: #4c4c4c;
}
.forma{
  margin: 0 auto;
  width: 371px;
}
.forma .form-control{
  height: 54px;
  font-size: 24px;
  color: #2E2E2E;
  border: 1px solid #fff;
  box-shadow: none;
}
.forma .btn-default, .btn-default:hover, .btn-default:focus, .btn-default:active{
  font-size: 21px;
  color: #fff;
  background-color: #E3001B;
  border-color: rgba(204, 204, 204, 0);
  outline: none;
}
.tex_cen{
  text-align: center;
}

.mobi1 p{
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: #7a7a7a;
  text-align: center;
  margin-top: 28px;
  margin-bottom: 20px;
}
.preim h2{
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 30px;
  color: #E3001B;
  margin: 0 333px;
  background-color: #fff;
  text-align: center;
  margin-bottom: -17px;
}
.pre_op{
  text-align: center;
  width: 212px;
  margin: 0 30px;
  display: inline-block;
  vertical-align: top;
}
.pre_op img{
  width: 128px;
  border-radius: 50%;
  margin-bottom: 20px;
  margin-top: 4px;
}
.pre_op p{
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: #666666;
}
.pre_op span{
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #666666;
}
.foot a{
  color: #fff;
  text-decoration: underline;
  font-size: 18px;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
}
.foot{
  background-color: #E3001B;
  padding: 20px 0;
  text-align: center;
}
.foot_info p{
  font-size: 11px;
  margin: 0;
}
.foot_info ul{
  margin: 0;
  padding: 0;
}

.foot_info{
 margin: 30px auto;
}
.foot_menu li{
  display: inline-block;
  list-style-type: none;
  color: #428BCA;
  margin-left: 5px;
}
.foot_menu{
  float: right;
}
.mob_book_list{
  margin-top: 50px;
}
.foot_menu a{
  margin-right: 9px;
  text-decoration: none;
  border-bottom: 1px dotted #428bca;
  padding: 0;
}

.foot_menu a:hover{
  cursor: pointer;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .preim h2 {
      margin: 0 151px;
      margin-bottom: -17px;
  }
  .pre_op {
      width: 173px;
  }
  .mobi h2 {
    margin-left: 43px;
    text-align: left;
    font-weight: 700;
  }
  .el_book {
      background-position: 83%;
      background-repeat: no-repeat;
      margin-bottom: 20px;

  }
  .mob_book_list {
      margin-top: 12px;
  }
  .book .bor_bot{
    margin-bottom: 26px;
  }
  .bor_bot {
      margin-top: 23px;
  }
  .mobi h3 {
      margin-top: 23px;
  }
 }
@media (max-width: 768px){
  .mobi h1 {
    margin-top: 62px;
    margin-left: 0px;
    text-align: left;
  }
  .book .bor_bot{
    margin-bottom: 50px;
  }
  .book img {
      width: 100%;
  }
  .tex_cen_mob{
    text-align: center;
  }
  .foot_info p {
      font-size: 14px;
  }
  .foot_menu li {
      font-size: 15px;
  }
  .mobi a img.google {
      margin-left: 0px;
  }
  .mobi img {
      margin-top: 10px;
  }
  .tex_lef{
    text-align: left;
  }
  .mob_logo{
    text-align: left;
    padding-left: 0;
  }
  .tex_lef img{
    text-align: center;
  }

  .mob_book_list {
      margin-top: 0px;
  }
  .el_book {
      background-position: 75%;
      background-repeat: no-repeat;
      background-size: cover;
  }
  .mobi {
      margin-bottom: 0px;
      background-size: cover;
  }
  .mobi h3 {

    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 0;
  }
  .foot_menu {
      float: none;
      text-align: center;
  }
  .mobi {
    text-align: center;
  }
  .mobi a img {
    margin-bottom: 20px;
  }
  .textbook {
    height: 100% !important;
  }
  .book h2 {
    margin: 0 137px;
    margin-bottom: -17px;
  }
  .preim h2 {
    margin: 0 160px;
    margin-bottom: -17px;
  }
  .forma {
    margin: 0 20px;
    width: auto;
  }
  .pre_op {
    width: 212px;
    margin: 0 10px;
    margin-bottom: 20px;
    vertical-align: top;
  }
  .capt p {
    font-size: 12px;
    margin: 0;
    line-height: 18px;
  }
  .capt span {
    font-size: 12px;
  }
  .capt {
    max-height: 100px;
    min-height: 76px;
  }
  .mobi h2 {
      font-size: 22px;
      margin-left: 0px;
      margin-top: 27px;
      text-align: left;
      font-weight: 700;
  }
}
@media (max-width: 1200px){
  .textbook {
    height: 270px;
  }
}
@media (min-width: 1200px){
  .textbook {
    height: 333px;
  }
  .el_book {
      background-position: 50%;
      background-color: #a1b5b9;
      background-size: auto;
  }
}
@media (max-width: 480px){
.book h2 {
  margin: 0 0px;
  margin-bottom: -17px;
 }
 .preim h2 {
   margin: 0 1px;
   margin-bottom: -17px;
 }
 .el_book .description h3 {
  text-align: left;
  margin-top: 0px;
  margin-bottom: 20px;
 }
 .description {
   margin-bottom: 40px;
    padding-right: 0px;
    padding: 20px;
    margin-top: 33px;
    width: 100%;
 }
}
@media (max-width: 335px){
  .textbook img {
    /*height: 178px;*/
  }
}

.nev_book{
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 10px;
}
.nev_book img{
  width: 200px;
  height: 70px;
}

/* Modal windows */


.md-content-scroll {
    padding: 1em;
    overflow: auto !important;
    height: 400px;
    /*background-color: #E3001B;*/
}

.md-content div {
    padding-bottom: 1em;
}

.md-content h3 {
    background-color: #E3001B;
    opacity: 1;
    color: white;

}

.md-footer {
    background-color: #EBEBEB;
}

.md-footer .md-close{
    background-color: #E3001B;
    color: white;
    border-radius: 5px;
    padding: 0.8em 1.5em;

    border: none;
    display: inline-block;

    display: block;
    margin: 0 auto;
    font-size: 1em;
}