html { width:100%; height: 100%; }
body
{
  font-family: Trebuchet MS, sans-serif;
  font-size: 18px;
  background-color: #ffffff;
  padding: 0px;
  margin: 0px;
  vertical-align: top;
  text-align: center;
}
table
{
  border-collapse: collapse;
  width: 100%;
  margin: 0px;
  padding: 0px;
}
.group:after {
  content: "";
  display: table;
  clear: both;
}
td.tc {vertical-align: top; text-align: center;}
td.tl {vertical-align: top; text-align: left;}
td.tr {vertical-align: top; text-align: right;}
td.ml {vertical-align: middle; text-align: left;}
td.mc {vertical-align: middle; text-align: center;}
td.mr {vertical-align: middle; text-align: right;}
td.bl {vertical-align: bottom; text-align: left;}
td.bc {vertical-align: bottom; text-align: center;}
td.br {vertical-align: bottom; text-align: right;}
center {padding: 0px;margin: 0px;}
form {padding: 0px;margin: 0px;}
div {padding: 0px;margin: 0px;border-collapse: collapse;}
img {border: none;}
h1 {padding: 0px;margin: 0px; color: #E70008; font-size: 36px; font-weight: normal; padding: 14px 0px 22px 10px;}
h2 {padding: 0px;margin: 0px;}
p {padding: 0px;margin: 0px;}
a {text-decoration: none; color: #ffffff; font-size: 14px; text-decoration: underline;}
a:link {text-decoration: none; text-decoration: underline; color: #ffffff;}
a:visited { text-decoration: none; text-decoration: underline; color: #ffffff;}
a:active { text-decoration: underline; color: #ffffff;}
a:hover { text-decoration: underline; color: #ffffff;}
td
{
  border-collapse: collapse;
  margin: 0px;
  padding: 0px;

}

div.hat {width: 981px; min-height: 453px; background:url("images/hat.jpg") top right no-repeat; vertical-align: top; text-align: left; padding-left: 20px;}
div.hat h1 {padding: 0px;margin: 0px; color: #E70008; font-size: 36px; font-weight: normal; padding: 0px 0px 22px 10px;}

div.hat-tf a {font-size: 24px;text-decoration: none;color: #333;background: none;}
div.hat-tf {
  background:url("images/telnew.gif") no-repeat scroll left top transparent;
 /* height:69px; */
  padding:20px 0 0 77px;
  vertical-align:top;
  font-size: 24px;
}
font.blue {font-size: 24px; color: #006BCC; margin-right: 20px;}
font.blue a {color: #006BCC; text-decoration: none;font-size: 24px;}
font.blue span {font-size: 28px; color: #006BCC; margin-right: 20px;}
font.blue2 {font-size: 18px; color: #006BCC; margin-left: 15px;}
div.blue3 {font-size: 17px; color: #006BCC; margin-left: 15px;}

td.otlich {vertical-align: top; text-align: left; padding: 0px 0px 0px 12px; background:url("images/hat-arr.gif") top right no-repeat; width: 260px;}
td.otlich font.blue {font-size: 18px;}

td.otlich2 {vertical-align: top; text-align: left; color: #555555;  font-size: 18px;}

.menu {
  margin: 1rem 0;
}

.blue-grad {
  background: rgba(0,81,121,1);
  background: -moz-linear-gradient(top, rgba(0,81,121,1) 0%, rgba(0,85,130,1) 24%, rgba(0,96,165,1) 50%, rgba(0,102,191,1) 71%, rgba(0,106,205,1) 100%);
  background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0,81,121,1)), color-stop(24%, rgba(0,85,130,1)), color-stop(50%, rgba(0,96,165,1)), color-stop(71%, rgba(0,102,191,1)), color-stop(100%, rgba(0,106,205,1)));
  background: -webkit-linear-gradient(top, rgba(0,81,121,1) 0%, rgba(0,85,130,1) 24%, rgba(0,96,165,1) 50%, rgba(0,102,191,1) 71%, rgba(0,106,205,1) 100%);
  background: -o-linear-gradient(top, rgba(0,81,121,1) 0%, rgba(0,85,130,1) 24%, rgba(0,96,165,1) 50%, rgba(0,102,191,1) 71%, rgba(0,106,205,1) 100%);
  background: -ms-linear-gradient(top, rgba(0,81,121,1) 0%, rgba(0,85,130,1) 24%, rgba(0,96,165,1) 50%, rgba(0,102,191,1) 71%, rgba(0,106,205,1) 100%);
  background: linear-gradient(to bottom, rgba(0,81,121,1) 0%, rgba(0,85,130,1) 24%, rgba(0,96,165,1) 50%, rgba(0,102,191,1) 71%, rgba(0,106,205,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#005179', endColorstr='#006acd', GradientType=0 );

  -webkit-box-shadow: 0px 5px 15px 0px rgba(0,0,0,0.6);
  -moz-box-shadow: 0px 5px 15px 0px rgba(0,0,0,0.6);
  box-shadow: 0px 5px 15px 0px rgba(0,0,0,0.6);
}

.menu div, .portfolio-header {
  border-radius: 5px;
  color: white;
  display: inline;
  margin-right: 15px;
  padding: 8px 10px 8px 0;
}

.menu-red-circle {
  background: rgba(255,36,43,1);
  background: -moz-radial-gradient(center, ellipse cover, rgba(255,36,43,1) 0%, rgba(178,16,21,1) 41%, rgba(175,14,19,1) 83%, rgba(162,11,11,1) 100%);
  background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, rgba(255,36,43,1)), color-stop(41%, rgba(178,16,21,1)), color-stop(83%, rgba(175,14,19,1)), color-stop(100%, rgba(162,11,11,1)));
  background: -webkit-radial-gradient(center, ellipse cover, rgba(255,36,43,1) 0%, rgba(178,16,21,1) 41%, rgba(175,14,19,1) 83%, rgba(162,11,11,1) 100%);
  background: -o-radial-gradient(center, ellipse cover, rgba(255,36,43,1) 0%, rgba(178,16,21,1) 41%, rgba(175,14,19,1) 83%, rgba(162,11,11,1) 100%);
  background: -ms-radial-gradient(center, ellipse cover, rgba(255,36,43,1) 0%, rgba(178,16,21,1) 41%, rgba(175,14,19,1) 83%, rgba(162,11,11,1) 100%);

  border-radius: 50%;
  color: white;
  display: block;
  font-size: 34px;
  font-weight: bold;
  height: 45px;
  line-height: 42px;
  text-align: center;
  width: 45px;
}

.menu-gray-circle {
  background-color: #c9d5e5;
  border-top: thin solid #497b91;
  border-radius: 50%;
  box-sizing: border-box;
  display: inline-block;
  height: 56px;
  left: -10px;
  text-align: center;
  padding: 4px 6px;
  position: relative;
  width: 56px;
}

table.main {width: 996px;}
td.main-l {width: 675px; padding: 0px 5px 0px 30px; font-size: 12px; color: #555555; text-align: justify;}
td.main-r {width: 331px; text-align: left; vertical-align: top; padding-left: 7px;}
#td.main-r {position: absolute; top: -30px;}

b.bb {color: #0069C7;}
b.br {color: #CB1418;}

div.footer {background:url("images/footer2.gif") center center repeat-x; height: 127px; width: 100%;}
.footer-l a {font-size: 17px;text-decoration: none;}
table.footer-table {width: 996px; font-size: 17px; font-weight: normal;}
td.footer-l {width: 400px; color: #ffffff; text-align: left; vertical-align: top; padding-left: 12px;}
td.footer-r {color: #ffffff; text-align: left; vertical-align: top; font-size: 17px;}

div.oblasti {
  background: url("images/imgr2.gif") no-repeat scroll center bottom transparent;
  height: 136px;
  margin-left: 14px;
  text-align: right;
  vertical-align: top;
  width: 251px;
}
div.shvy {width: 120px; text-align: left; font-size: 14px; padding-top: 55px;}
div.gray {color: #666666; font-size: 19px; font-weight: normal; margin-left: 15px;}

.main-portfolio {
  -webkit-box-shadow: 0px 0px 10px 2px rgba(83,142,237,0.6);
  -moz-box-shadow: 0px 0px 10px 2px rgba(83,142,237,0.6);
  box-shadow: 0px 0px 10px 2px rgba(83,142,237,0.6);

  border-radius: 10px;
  margin-bottom: 2rem;
  padding: 2rem 0;
  text-align: center;
}

.main-portfolio img {
  -webkit-box-shadow: 0px 0px 10px 2px rgba(83,142,237,0.6);
  -moz-box-shadow: 0px 0px 10px 2px rgba(83,142,237,0.6);
  box-shadow: 0px 0px 10px 2px rgba(83,142,237,0.6);

  margin: 7px 11px;
}

.portfolio-header {
  padding-right: 8rem;
  position: relative;
  top: 20px;
}

.portfolio-header .menu-gray-circle {
  top: 6px;
}

div.bigopyt {padding: 0px;margin: 0px; color: #E70008; font-size: 18px; font-weight: normal; margin: 5px 0px 17px 15px;}

table.price {/*border: 4px solid #cccccc;*/ color:#555555;font-size:12px; border-top: 0px; border:1px solid #CCCCCC;}
table.price td {padding: 9px 10px; vertical-align: top; text-align: left;}
td.price_hat {color: #E70008; font-size: 18px; font-weight: normal; padding: 5px 0px 12px 10px; border-bottom: 4px solid #cccccc; border-left: 0px; border-right: 0px; border-top: 0px; }

div.rel {position: relative;}

div.vypoln {position: absolute; top: -25px; left: 10px; font-size: 14px; color: #555555; font-weight: normal; background:url("images/strelka.gif") left 3px no-repeat; padding-left: 20px;}

div.vypolr {position: absolute; top: -25px; left: 10px; font-size: 14px; color: #555555; font-weight: normal; background:url("images/strelkar.gif") left 3px no-repeat; padding-left: 20px;}


div.bk {
  background: url("images/menright.jpg") no-repeat scroll right top transparent;
  color: #FF0006;
  font-size: 22px;
  font-weight: bold;
  height: 156px;
  left: 0;
  padding-left: 15px;
  padding-top: 15px;
  width: 286px;
}
div.bk2 {
  background: url("images/bor.gif") no-repeat scroll center top transparent;
  color: #FF0006;
  font-size: 22px;
  font-weight: bold;
  height: 86px;
  left: 0;
  padding-left: 15px;
  padding-top: 15px;
  width: 286px;
}

div.obuchau {
  background: url("images/banner-2.png") no-repeat center center transparent;
  color: #005687;
  font-size: 16px;
  height: 124px;
  left: 0px;
  margin: 1rem 0;
  padding: 0;
  text-align: left;
  top: -44px;
  vertical-align: top;
  width: 655px;
}

div.obuchau span:first-child {
  display: block;
  padding-top: 37px;
  padding-left: 105px;
  margin-bottom: 3px;
}
div.obuchau span:last-child {
  display: block;
  padding-left: 105px;
}
div.obuchau div {
  color: #006CD0;
  font-size: 20px;
  margin: 47px 0 11px 0px;
  padding: 0;
}



div.obuchs {
  background: url("images/banner-5.png") no-repeat center center transparent;
  color: #005687;
  font-size: 16px;
  height: 124px;
  left: 0px;
  margin: 1rem 0;
  padding: 0;
  text-align: center;
  top: -44px;
  vertical-align: top;
  width: 655px;
}

div.obuchs span:first-child {
  display: block;
  padding-top: 37px;
  margin-bottom: 3px;
}
div.obuchs span:last-child {
  display: block;

}
div.obuchs div {
  color: #006CD0;
  font-size: 20px;
  margin: 47px 0 11px 0px;
  padding: 0;
}

.thermoblock {
    background: url("images/thermal_camera.jpg") no-repeat left top transparent;
    font-size: 26px;
    min-height: 74px;
    padding-left: 80px;
    padding-top: 2rem;
    text-align: right;
}

.orangeline {
    background: url("images/orange_line.jpg") no-repeat right bottom transparent;
    height: 10px;
    margin-bottom: 1rem;
}


.clear {clear: both;}

.banner_01 {
  background: url("images/banner_01.jpg") no-repeat right center transparent;
  color: #FF0006;
  font-size: 22px;
  font-weight: bold;
  height: 140px;
  left: 0;
  padding-left: 15px;
  padding-top: 90px;
  width: 286px;
  margin-bottom: 20px;
}

#to-top {
  bottom: 1rem;
  cursor: pointer;
  opacity: .8;
  position: fixed;
  right: 1rem;
  width: 100px;
}

#to-top.hidden {
  visibility: hidden;
}

#to-top:hover {
  opacity: 1;
}

.container {
    box-sizing: border-box;
    float: left;
    height: 0;
    padding-bottom: 28%;
    position: relative;
    width: 49%;
}

.container:first-child {
  margin-right: 2%;
}

.video {
  border: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


@media all and (max-width: 1050px) {
  .menu div {
    display: block;
    /* float: left; */
    line-height: 30px;
    height: 30px;
    margin: 2rem 0;
    padding: 0;
  }

  .menu-item .menu-gray-circle {
    float: left;
    top: -20px;
  }
}

@media all and (max-width: 1050px) and (min-width: 769px) {
  div.hat {
    width: 768px;
    box-sizing: border-box;
    background-size: 50%;
  }
  table.main {
    width: 768px;
  }
  div.hat-tf, font.blue, font.blue span {
    font-size: 22px;
  }
  td.main-l {
    width: 100%;
    display: block;
    box-sizing: border-box;
  }
  td.main-r {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  td.main-r .banner_01, td.main-r .bk {
    box-sizing: border-box;
    float: left;
    height: 210px;
    padding-top: 20px;
    width: 50%;
  }
  div.bk2 {
    clear: both;
  }
  table.footer-table {
    width: 100%;
  }
  td.footer-l, td.footer-r {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 10px 0;
    text-align: center;
  }
  .footer-r img {
    float: none!important;
    display: inline-block;
    vertical-align: middle;
  }
  div.footer {
    background-size: cover;
    height: auto;
  }
  div.obuchau, div.obuchs {
    width: 100%;
    background-size: 100%;
    top: 0;
    position: relative;
    height: 140px;
    box-sizing: border-box;
    padding: 7px 0 0 15px;
  }
}

@media all and (max-width: 768px) and (min-width: 481px) {
  div.hat {
    width: 480px;
    box-sizing: border-box;
    background-size: 50%;
    height: auto;
    padding: 0;
  }
  table.main {
    width: 480px;
  }
  div.hat-tf {
    padding-top: 10px;
  }
  div.hat-tf, div.hat-tf a, font.blue, font.blue span, font.blue a {
    font-size: 18px;
  }
  font.blue {
    display: block;
  }
  td.main-l {
    width: 100%;
    display: block;
    box-sizing: border-box;
    padding: 0;
  }
  td.main-r {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
  }
  td.main-r .banner_01, td.main-r .bk {
    box-sizing: border-box;
    float: left;
    height: 210px;
    padding-top: 20px;
    padding-right: 100px;
    width: 50%;
  }
  div.bk2 {
    clear: both;
  }
  table.footer-table {
    width: 100%;
  }
  td.footer-l, td.footer-r {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 10px 0;
    text-align: center;
  }
  .footer-r img {
    float: none!important;
    display: inline-block;
    vertical-align: middle;
  }
  div.footer {
    background-size: cover;
    height: auto;
  }
  div.hat h1 {
    font-size: 24px;
    padding-bottom: 0;
    padding-right: 230px;
  }
  div.obuchau, div.obuchs  {
    width: 100%;
    background-size: 100%;
    top: 0;
    position: relative;
  }
  table.price {
    width: 100%;
  }
  table.price td {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 5px 10px;
  }
  td.main-l img {
    max-width: 100%;
  }
  div.obuchau span {
    padding-left: 77px!important;
    font-size: 12px;
    line-height: 21px;
  }

    div.obuchs span {
    font-size: 12px;
    line-height: 21px;
  }

  .footer-l a {
    display: block;
  }



}

@media all and (max-width: 480px) {
  .portfolio-header {
    padding-right: 1rem;
  }
  div.hat {
    width: 300px;
    box-sizing: border-box;
    background-size: 50%;
    height: auto;
    padding: 0;
    background-position: right 55px;
  }
  table.main {
    width: 300px;
  }
  div.hat-tf {
    padding-top: 6px;
    background-size: 45px;
    padding-left: 49px;
    background-position: center left;
    height: auto;
  }
  div.hat-tf, div.hat-tf a, font.blue, font.blue span, font.blue a {
    font-size: 21px;
  }
  font.blue {
    display: block;
  }
  td.main-l {
    width: 100%;
    display: block;
    box-sizing: border-box;
    padding: 0;
  }
  td.main-r {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
  }
  td.main-r .banner_01, td.main-r .bk {
    float: left;
    box-sizing: border-box;
    width: 100%;
    height: 210px;
  }
  div.bk2 {
    clear: both;
  }
  table.footer-table {
    width: 100%;
  }
  td.footer-l, td.footer-r {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 10px 0;
    text-align: center;
  }
  .footer-r img {
    float: none!important;
    display: inline-block;
    vertical-align: middle;
  }
  div.footer {
    background-size: cover;
    height: auto;
  }
  div.hat h1 {
    font-size: 22px;
    padding-bottom: 0;
    padding-right: 60px;
    line-height: 22px;
    padding-top: 15px;
  }
  div.obuchau, div.obuchs {
    width: 100%;
    background-size: 100%;
    top: 0;
    position: relative;
    height: auto;
    padding: 14px 0;
  }
  table.price {
    width: 100%;
  }
  table.price td {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 5px 10px;
  }
  td.main-l img {
    max-width: 100%;
  }
  div.obuchau span {
    padding-left: 46px!important;
    font-size: 11px;
    line-height: 10px;
    padding-right: 105px;
  }

    div.obuchs span {
    font-size: 11px;
    line-height: 10px;
  }

  div.hat > table td {
    width: 100%;
    display: block;
    padding: 3px 10px;
  }
  div.obuchau span:first-child, div.obuchs span:first-child {
    padding-top: 0px;
    margin-top: -4px;
  }
  .footer-l a {
    display: block;
  }

  #to-top {
    bottom: 2px;
    right: 2px;
    width: 50px;
  }

  .container {
    float: none;
    margin-bottom: 1rem;
    padding-bottom: 56.25%;
    width: 100%;
  }
}

.fancybox-nav span {
  visibility: visible !important;
}

.red {
  color: #e70008;
}


p.top_mail {
   background: url("images/top_mail.gif") no-repeat left top;
   padding-left: 32px;
   height: 26px;
   line-height: 26px;
   font-size:16px;
   color: #006bcc;
   margin-bottom: 10px;
   margin-top: 10px;
 }

p.top_mail a {
  color: #006bcc;
  text-shadow: 2px 0 0 #fff, -2px 0 0 #fff, 0 2px 0 #fff, 0 -2px 0 #fff, 1px 1px #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff;
}

p.top_location {
  background: url("images/top_location.gif") no-repeat left top;
  padding-left: 32px;
  height: 26px;
  line-height: 26px;
  font-size:16px;
  color: #006bcc;
  margin-bottom: 10px;
  text-shadow: 2px 0 0 #fff, -2px 0 0 #fff, 0 2px 0 #fff, 0 -2px 0 #fff, 1px 1px #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff;
}


@media all and (max-width: 480px) {
  p.top_mail {
    background: none;
    padding-left: 0px;
    height: 26px;
    line-height: 26px;
    font-size: 16px;
    color: #006bcc;
    margin-bottom: 10px;
    margin-top: 10px;
  }


  p.top_location {
    background: none;
    padding-left: 0px;
    height: 26px;
    line-height: 26px;
    font-size: 16px;
    color: #006bcc;
    margin-bottom: 10px;
    text-shadow: 2px 0 0 #fff, -2px 0 0 #fff, 0 2px 0 #fff, 0 -2px 0 #fff, 1px 1px #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff;
  }
}
