/*! HTML5 Boilerplate v5.0.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*::selection {
    background: #b3d4fc;
    text-shadow: none;
}*/

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

.fl {float: left;}
.fr {float: right;}
.mr_l {
  margin-right: -15px;
  margin: 0 auto;
  margin-left: -15px;
}
h1, h2, h3, h4, h5, h6 {
    margin: 0;
}
* {
  margin: 0;
  padding: 0;
  outline: 0;
  border: 0 none;
  font-size: 100%;
  font-style: inherit;
  font-family: inherit;
  font-weight: inherit;
  vertical-align: baseline;
  }
.container {
  width: 960px;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
body {
  color: #000;
  font-size: 24px;
  font-weight: 300;
  font-family: 'PT Sans', sans-serif;

  letter-spacing: -0.3px;

  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
   box-sizing: border-box;

   background: url(../img-bal/bg_fon.png) 100% 100% repeat;
}
.color {color: #ff5916;}

a {
  text-decoration: none;
}
p {
  margin: 0;
}
ul {
  list-style-type: none;
  margin: 0;
  padding: 6px;
}
input {
  outline: none;
  border: none;
}

/*=====header=====*/
.header {
  width: 100%;
  height: 150px;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  position: relative;
  box-shadow: 0 4px 4px #e1e0e0;

  background: rgb(236,236,236);

  background: -webkit-linear-gradient(rgb(236,236,236) 0%, rgb(238,237,238) 0%, rgb(243,243,243) 44%, rgb(253,253,253) 72%);
  background: linear-gradient(rgb(236,236,236) 0%, rgb(238,237,238) 0%, rgb(243,243,243) 44%, rgb(253,253,253) 72%);
}
.logo {
  width: 405px;
  height: 82px;
  margin-top: 15px;
  position: absolute;
  text-indent: -9999px;
  background:  url(../img-bal/head_logo.png) 0 0 no-repeat;
}
.head_contact {
  width: 300px;
  height: 85px;
  line-height: 1;
  margin-top: 15px;
  text-align: center;
}
.head_contact p {
  color: #717171;
  font-size: 35px;
  line-height: 27px;
  font-weight: bold;
}
.head_contact span {
  font-size: 16px;
  font-weight: normal;
}
.head_contact a.popup_btn {
  width: 188px;
  height: 25px;
  color: #fff;
  border: none;
  line-height: 1;
  outline: none;
  font-size: 20px;
  padding: 2px 5px;
  border-radius: 5px;
  background: #ff5916;
  box-shadow: 0px 2px 2px #717171;
}
.line {
  width: 100%;
  height: 1px;
  z-index: 1;
  top: 115px;
  position: absolute;
  background: #cecece;
}
.head_nav {
  width: 100%;
  height: 35px;
  z-index: 1;
  top: 115px;
  position: absolute;
}
.nav {
  height: 100%;
  margin: 0 auto;
}
.nav ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-around;
  -ms-flex-pack: distribute;
          justify-content: space-around;
}
.nav li {
  font-size: 16px;
  padding-top: 5px;
  float: left;
}
.nav a {
    color: #686868;
    font-size: 20px;
    letter-spacing: 0;
}
.nav a:hover {
  color: #ff5916;
  text-decoration: underline;
}
/* =====block1===== */
.block1 {
  width: 100%;
  height: 742px;
}
.balcon {
  top: 44px;
  transition: all .5s;
  position: relative;
}
.balcon input[type="radio"] {
  display: none;
}
.balcon_area {
  margin-top: -68px;
  margin-bottom: 50px;
}
.balcon_area h2 {
  top: -10px;
  right: 31px;
  font-size: 28px;
  position: absolute;
}
.balcon label {
  color: #fff;
  font-size: 18px;
  padding-right: 2px;
  padding-left: 20px;
  text-align: center;
  position: relative;
  display: inline-block;
}
.balcon label span {
  font-size: 24px;
  font-weight: bold;
}
#cool_balcon:checked ~
[for="cool_balcon"] {
  z-index: 1;
}
/* .btn2:active ~ .balcon_area .cool_balcon_inner {
  opacity: 1;display: block;
} */
#cool_balcon:checked ~
.balcon_area .cool_balcon_inner {
  opacity: 1;
  display: block;
}
#hot_balcon:checked ~
.balcon_area .hot_balcon_inner {
  opacity: 1;
  display: block;
}
#hot_balcon:checked ~
[for="hot_balcon"] {
  z-index: 1;
}
.cool_balcon img,
.hot_balcon img {
  float: left;
  padding-left: 8px;
}
.cool_balcon_inner,
.hot_balcon_inner {
  opacity: -1;
  display: none;
}
.balcon_area:after,
.cool_balcon_inner:after {
  content: '';
  clear: both;
  display: block;
}
.chek_balcon {
  width: 220px;
  height: 60px;
  top: 150px;
  left: 65px;
  z-index: 1;
  margin-top: 0px;
  position: absolute;

  background: rgb(54, 175, 225);
  background: linear-gradient(left, rgb(54, 175, 225) 50%, rgb(243, 63, 67) 50%);
  background: -webkit-linear-gradient(left, rgb(54, 175, 225) 50%, rgb(243, 63, 67) 50%);
}
.checkBlue{
  background:rgb(54, 175, 225);
}
.termometr_icon {
  width: 43px;
  height: 95px;
  left: 82px;
  top: -18px;
  position: absolute;
}
.toggle {
  width: 350px;
  height: 145px;
  top: 39px;
  right: 0;
  margin: 0 auto;
  position: absolute;
}
.hot_img {
  width: 89px;
  height: 56px;
  top: -23px;
  left: -10px;
  position: absolute;
}
.cool_img {
  width: 75px;
  height: 56px;
  top: -18px;
  right: 77px;
  position: absolute;
}
.btn {
  padding: 0;
  left: 20px;
  bottom: 12px;
  outline: none;
  color: #FF5916;
  padding: 2px 10px;
  border-radius: 6px;
  position: absolute;
  border: 1px solid #FF5916;
  background: rgba(255, 255, 255, 0);
  cursor: default;
}
.btn2 {
  right: 20px;
  bottom: 12px;
  outline: none;
  color: #3792CB;
  padding: 2px 10px;
  border-radius: 6px;
  position: absolute;
  border: 1px solid #3792CB;
  background: rgba(255, 255, 255, 0);
  cursor: default;
}
.switch {
  top: 82px;
  z-index: 1;
  display: block;
  margin-left: 730px;
  position: relative;
}
.cmn-toggle {
  position: absolute;
  margin-left: -9999px;
  visibility: hidden;
}
.cmn-toggle + label {
  display: block;
  outline: none;
  cursor: pointer;
  position: relative;
  user-select: none;
}
.toggle input [type="checkbox"] {
  padding: 0;
  opacity: -1;
  box-sizing: border-box;
}
input.cmn-toggle-round + label {
  padding: 2px;
  width: 89px;
  height: 35px;
  border-radius: 60px;
  background-color: #dddddd;
}
input.cmn-toggle-round + label:before,
input.cmn-toggle-round + label:after {
  top: 1px;
  left: 1px;
  bottom: 1px;
  content: "";
  display: block;
  position: absolute;
}
input.cmn-toggle-round + label:before {
  right: 1px;
  border-radius: 60px;
  background-color: #ff6448;
  transition: background 0.4s;
}
input.cmn-toggle-round + label:after {
  width: 36px;
  border-radius: 100%;
  transition: margin 0.4s;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
input.cmn-toggle-round:checked + label:before {
  background-color: #0060ab;
}
input.cmn-toggle-round:checked + label:after {
  margin-left: 60px;
}
.sliad {
  width: 200px;
  height: 200px;
  border: 1px solid #000;
}
.cool, .hot {
  position: absolute;
  visibility: hidden;
}
.cool + label, .hot + label {
  display: block;
  position: relative;
  cursor: pointer;
}
.silad input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
  opacity: 1;
}
.txt {
  width: 320px;
  height: 125px;
  right: 10px;
  bottom: -4px;
  position: absolute;
  border-top: 1px solid #686868;
  border-bottom: 1px solid #686868;
  padding-bottom: 34px;
}
.txt p {
  margin: 0;
  color: #686868;
  font-size: 15px;
  padding: 8px 0px;
  line-height: 18px;
}
.vector {
  width: 325px;
  height: 145px;
  right: 0;
  bottom: 0;
  bottom: 210px;
  position: absolute;
}
.vector ul li {
  float: left;
  clear: both;
  display: block;
  padding-top: 5px;
}
.vector ul li img{
  float: left;
  /*width: 32px;*/
}
.vector p {
  font-size: 16px;
  padding-left: 49px;
}
.preiskurant {
  width: 317px;
  height: 50px;
  right: 0;
  bottom: 118px;
  border-radius: 6px;
  background: #cecece;
  position: absolute;
  display: none;
}
.p1{
  display: block;
}

.preiskurant p {
  margin-top: 9px;
  color: #656565;
  padding-left: 15px;

}
.preisk_green {
  width: 161px;
  height: 50px;
  margin-top: -42px;
  border-radius: 6px;
  background: #52a73c;
}
.preisk_green p {
  color: #fff;
  text-decoration: none;
}
.block1 a.popup_btn {
  width: 125px;
  height: 35px;
  color: #fff;
  right: 117px;
  bottom: 72px;
  border: none;
  outline: none;
  font-size: 22px;
  text-align: center;
  border-radius: 7px;
  position: absolute;
  background: #ff5916;
  box-shadow: 2px 2px 2px #717171;
}
.block1 a.popup_btn:active {
  transform: translate(2px, 2px);
  -webkit-transform: translate(2px, 2px);
}
.balcon_bottom h2 {
  left: 33px;
  bottom: 82px;
  float: left;
  font-size: 24px;
  position: absolute;
}
.balcon_bottom input[type="radio"] {
  display: none;
}
.balcon_bottom label {
  width: 33px;
  height: 33px;
  margin-left: 25px;
  border-radius: 5px;
  border: 1px solid #000;
  position: relative;
  transition: transform .5s;
  float: left;
  top: 261px;
  left: 335px;
  right: 0;
  cursor: pointer;
  z-index: 1;
}
#color1:checked~ .balcon_bottom .balcon_bottom_color {
  background:  url(../img-bal/white_balcon.png) no-repeat;
}
[for="color1"] {
  background: #f7f7f7;
  border: 1px solid #cecece;
}
[for="color2"] {
  background: #b43a38;
}
[for="color3"] {
  background: #e3ba2d;
}
[for="color4"] {
  background: #6ec757;
}
[for="color5"] {
  background: #4f94c4;
}
.balcon_bottom {
  transition: all .5s;
}
.balcon_bottom_color {
  position: absolute;
  top: 350px;
  left: 10px;
}
.cool_balcon_inner{
  width: 621px;
  height: 366px;
  opacity:1;
  background: url(../img-bal/cool_balcon.png) no-repeat;
}
#cmn-toggle-1:checked ~ .balcon_area .cool_balcon_inner{
  width: 621px;
  height: 366px;
  background: url(../img-bal/hot_balcon.png) no-repeat;
}
.balcon_bottom {
  transition: all .5s;
  margin-bottom: 26px;
}
.balcon_bottom_color {
  top: 365px;
  left: 10px;
  display:none;
  position: absolute;
}
#bal-col1{
  display: block;
}
.balcon_bottom a{
  width: 40px;
  height: 40px;
  z-index:1;
  border-radius: 6px;
  position: relative;
  display: inline-block;
  border: 1px solid #717171;
  box-shadow: 1px 1px 8px #717171;
}
.balcon_bottom a:nth-of-type(1){
  margin-left: 330px;
  background: #4f94c4;
  margin: 235px 0 0 343px;
}
.balcon_bottom a:nth-of-type(2){
  margin: 0px;
  background: #6ec757;
}
.balcon_bottom a:nth-of-type(3){
  margin: 0;
  background: #b43a38;
}
.balcon_bottom a:nth-of-type(4){
  margin: 0;
  background: #e3ba2d;
}
.balcon_bottom a:nth-of-type(5){
  margin: 0;
  background: #f7f7f7;
}
/* =====block2===== */
.block2 {
  width: 100%;
  height: 360px;
  margin-top: -45px;
  background: #ff5916;
  transition: background 1s;
}
.background-color{
  background: #0060ab!important;
}
.block2 h2 {
  color: #fff;
  font-size: 35px;
  padding-top: 25px;
  text-align: center;
}
.slider span {
  z-index: 1;
  color: #fff;
  bottom: -43px;
  display: block;
  font-size: 16px;
  padding-left: 38px;
  text-align: center;
  position: absolute;
}
.block2 a.block2_btn {
  border: none;
  outline: none;
   width: 160px;
  display: block;
   margin: 0 auto;
  color: #ff5916;
  font-size: 22px;
  background: #fff;
  line-height: 1px;
  padding: 16px 20px;
  border-radius: 6px;
  box-shadow: 2px 2px 2px #717171;
  text-align: center;
  position: relative;
}
/* =====block3===== */
.block3 {
  width: 100%;
  height: 275px;
  border-bottom: 1px solid #cecece;
}
.right, .left {
  width: 50%;
  margin-top: 30px;
}
.ruletka_icon {
  width: 100%;
}
.ruletka_img {
  width: 201px;
  height: 194px;
  float: left;
  margin-right: -4px;
  background:  url(../img-bal/rulet.png) 0 0 no-repeat;
}
.ruletka_txt,
.cash_txt {
  float: left;
  display: flex;
  margin-left: 15px;
  border-bottom: 1px solid #ff5916;
}
.ruletka_txt h2,
.cash_txt h2 {
  color: #ff5916;
  font-size: 30px;
  padding-bottom: 0px;
  letter-spacing: -1px;
}
.ruletka_icon p {
  color: #717171;
  font-size: 18px;
  padding-left: 214px;
}
.cash_icon {
  width: 100%;
}
.cash_icon p {
  color: #717171;
  font-size: 18px;
  padding-top: 45px;
  padding-left: 213px;
}
.cash_txt {
  margin-left: 35px;
}
.cash_img {
  width: 186px;
  height: 199px;
  float: left;
  background:  url(../img-bal/cash.png) 0 0 no-repeat;
}
/* =====block4===== */
.block4 {
  width: 100%;
  height: 435px;
  border-bottom: 1px solid #cecece;
}
.block4 h2 {
  font-size: 35px;
  margin-top: 30px;
  text-align: center;
}
.share {
  width: 570px;
  height: 230px;
  float: left;
  position: relative;
}
.tabl_img {
  width: 411px;
  height: 194px;
  margin: 0 auto;
  position: relative;
  background:  url(../img-bal/tabl.png) 0 0 no-repeat;
}
.info p {
  bottom: 15px;
  right: 140px;
  color: #717171;
  font-size: 12px;
  text-align: center;
  position: absolute;
}
.big {
  width: 155px;
  height: 123px;
  bottom: 14px;
  padding-top: 20px;
  margin-left: 50px;
  border-radius: 6px;
  position: absolute;
  background: #ff5916;
}
.small {
  width: 155px;
  height: 100px;
  top: 55px;
  padding-top: 25px;
  margin-left: 240px;
  position: absolute;
  border-radius: 6px;
  background: #52a73c;
}
.big h2,
.small h2 {
  margin: 0;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
}
.big p,
.small p {
  color: #fff;
  font-size: 18px;
  padding-top: 15px;
  text-align: center;
}
.year, .year1 {
  font-size: 30px;
  line-height: 0.8;
  font-weight: bold;
  text-align: center;
}
.year {
  width: 70px;
  height: 55px;
  left: 0px;
  top: 80px;
  color: #656565;
  position: absolute;
}
.year1 {
  width: 70px;
  height: 55px;
  right: 0;
  top: 80px;
  color: #ff5916;
  position: absolute;
}
.numb {
  width: 370px;
  height: 75px;
  float: left;
  margin-left: 10px;
  margin-top: 55px;
  border: 5px solid #52a73c;
}
.numb p {
  color: #717171;
  font-size: 28px;
  text-align: center;
}
.numb p span {
  color: #ff5916;
}
.numb p.quest {
  display: block;
  width: 250px;
  margin: -25px auto 0;
  background: rgba(255, 255, 255, 0) url(../img-bal/bg_fon.png) repeat;
}
.timer {
  height: 75px;
  float: left;
}
.timer h3 {
  float: left;
  line-height: 1;
  font-size: 28px;
  text-align: center;
}
.time {
  width: 210px;
  height: 70px;
  float: left;
  padding-left: 10px;
}
.time_txt {
  width: 172px;
  height: 20px;
  top: 0px;
  left: 2px;
  display: flex;
  position: relative;
  justify-content: space-around;
}
.time span.time_h,
.time span.time_min,
.time span.time_sec {
  padding: 2px;
  color: #717171;
  font-size: 12px;
  background: rgba(255, 255, 255, 0) url(../img-bal/bg_fon.png);
}
.form {
  height: 65px;
  bottom: 5px;
  float: right;
  position: relative;
}
.form p {
  font-size: 20px;
  text-align: center;
}
.form input[type="text"] {
  width: 160px;
  height: 35px;
  font-size: 18px;
  background: #d4d3d3;
  text-align: center;
  border-radius: 6px;
}
.form button {
  height: 35px;
  color: #fff;
  border: none;
  outline: none;
  font-size: 18px;
  padding: 5px 20px;
  border-radius: 6px;
  text-align: center;
  background: #52a73c;
  box-shadow: 2px 2px 2px #717171;

  text-transform:lowercase;
  transition:transform .125s;
}
.form button:active {
  transform: translate(2px, 2px);
  -webkit-transform: translate(2px, 2px);
}
@keyframes button_loading {
  0% {

  }
  20% {
    transform: scale(1,1);
    color: transparent;
  }
  40% {
    border-color: #ff5916;
    background: transparent;
    transform: scale(1,1);
  }
  60% {
    transform: scale(.7, 1.1);

  }
}
/* =====block5===== */
.block5 {
  width: 100%;
  height: 713px;
}
.block5 h2 {
  font-size: 35px;
  padding-top: 30px;
  font-weight: bold;
  text-align: center;
}
.heat, .cold, .within {
  width: 320px;
  /* height: 565px; */
  float: left;
}
.heat_icon, .cold_icon, .within_icon {
  width: 60px;
  height: 56px;
  margin: 0 auto;
}
.heat_icon{
  background:  url(../img-bal/heat_icon.png) 0 0 no-repeat;
}
.cold_icon {
  background:  url(../img-bal/cold_icon.png) 0 0 no-repeat;
}
.within_icon {
  background:  url(../img-bal/within_icon.png) 0 0 no-repeat;
}
.block5__item.active .heat_icon {
  background:  url(../img-bal/heat_icon_oranj.png) 0 0 no-repeat;
}
.block5__item.active .cold_icon {
  background:  url(../img-bal/cold_icon_oranj.png) 0 0 no-repeat;
}
.block5__item.active .within_icon {
  background:  url(../img-bal/within_icon_oranj.png) 0 0 no-repeat;
}
.block5__item.active .block5__btn {
  color: #fff;
  border: none;
  text-align: center;
  background: #ff5916;
}
.block5 .wrap {
   position: relative;
   padding-bottom: 20px;
}
/*.block5__btn {
  width: 215px;
  text-align: center;
  display: block;
  margin: 0 auto;
  text-decoration: none;
  color: #717171;
  border: 2px solid #717171;
  background: rgb(255, 255, 255, 0);
  padding: 10px;
  font-size: 20px;
  white-space: nowrap;
}*/
.heat button {
  color: #fff;
  text-align: center;
  background: #ff5916;
}

.block5__btn:hover {
  color: #fff;
  outline:none;
  border: none;
  background: #ff5916;
}
.heat_img, .cold_img, .within_img {
  margin: 0 auto;
  width: 960px;
  position: relative;

}
.heat_img img, .cold_img img, .within_img img {
  margin-top: 25px;
  /* position: absolute; */
}
/* =====block6===== */
.block6 {
  width: 100%;
  height: 560px;
  background: #ff5916;
}
.block6 h2 {
  color: #fff;
  font-size: 35px;
  text-align: center;
  font-weight: bold;
  padding-top: 30px;
}
.men_img {
  height: 215px;
  padding-top: 35px;
  margin: 0 auto;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-around;
  -ms-flex-pack: distribute;
  justify-content: space-around;
}
.men_row {
  width: 200px;
  height: 200px;
  overflow: hidden;
  border-radius: 100%;
  border: 3px solid #fff;
  box-shadow: 2px 2px  15px#717171;
}
.men_row img {
  cursor: pointer;
}
.men_row .img-active,
.men_row.active .img-notActive {
  display: none;
}
.men_row.active .img-active {
  display: block;
}
.coment {
  width: 737px;
  height: 200px;
  left: 0;
  right:0;
  display: none;
  margin: 0 auto;
  position: absolute;
}
.men_row.active .coment {
  display: block;
}
.coment p {
  color: #fff;
  line-height: 1;
  font-size: 20px;
}
.city {
  color: #fff;
  float: right;
  font-size: 20px;
  font-weight: bold;
}
/* =====block7===== */
.block7 {
  width: 100%;
  height: 525px;
}
.block7 h2 {
  font-size: 35px;
  padding-top: 30px;
  font-weight: bold;
  text-align: center;
}
.sert {
  width: 100%;
  height: 365px;
  padding-top: 20px;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-around;
  -ms-flex-pack: distribute;
  justify-content: space-around;
}
.sert_img {
  width: 267px;
  height: 360px;
}
/* =====block8===== */
.block8 {
  width: 100%;
  height: 700px;
  position: relative;
}
.map_contact {
  width: 450px;
  height: 580px;
  top: 60px;
  color: #fff;
  z-index: 1;
  padding-top: 0;
  position: absolute;
  background: #ff5916;
}
.map_contact h1 {
  padding-top: 35px;
  padding-left: 30px;
}
.phone, .adress {
  padding-left: 35px;
  padding-top: 40px;
}
.question {
  line-height: 1;
  padding-top: 65px;
  text-align: center;
}

.question a.question_btn {
  /* width: 345px; */
  /* height: 40px; */
  border: none;
  outline: none;
  color: #ff5916;
  padding: 5px;
  position: relative;
  top: 20px;
  background: #fff;
  /* margin-top: 20px; */
  border-radius: 6px;
  box-shadow: 2px 2px 2px #717171;
}
.map {
  height: 700px;
  bottom: 0;
  margin-top: -700px;
  position: relative;
}

/* =====footer===== */
.footer {
  width: 100%;
  height: 65px;
    padding: 10px 0;
}
.footer p  {
  font-size: 20px;
  padding-top: 20px;
  text-align: center;
}
.footer p img{
    width:145px;
    height: 54px;
    display: inline-block;
    margin-top: -20px;
}

#overlay{
  width: 2500px;
  height: 4482px;
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -1250px;
  opacity: .5;
  z-index: 1;
}

/* =====modal===== */
.overlay {
    background-color: rgba(0, 0, 0, 0.4);
    bottom: 0;
    cursor: default;
    left: 0;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    visibility: hidden;
    font-size: 16px;
    z-index: 100;
}
.overlay:target {
    visibility: visible;
    opacity: 1;
}
.popup {
    left: 50%;
    opacity: 0;
    padding-top: 0px;
    position: fixed;
    top: 20%;
    visibility: hidden;
    z-index: 10000;

    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);

    -webkit-transition: opacity .5s, top .5s;
    -moz-transition: opacity .5s, top .5s;
    -ms-transition: opacity .5s, top .5s;
    -o-transition: opacity .5s, top .5s;
    transition: opacity .5s, top .5s;
}
.overlay:target+.popup {
    top: 40%;
    opacity: 1;
    visibility: visible;
}
.popup a.close {
    height: 35px;
    position: absolute;
    right: 15px;
    top: 5px;
    width: 35px;
    opacity: 0.7;
    color: gray;
/*    background-image: url(../images/pop/close.png);
    background-repeat: no-repeat;*/
}
.popup a.close2 {
    position: absolute;
    right: 5px;
    top: 5px;
}
.popup-form {
    width: 290px;
    height: 290px;
    border-radius: 5px;
    background: url(../img-bal/bg_fon.png);
}
.popup-form .form3 {
    position: relative;
    width: 250px;
    margin: 0 auto;
    padding-top: 45px;
}
.popup-form .form3 input[type="submit"] {
  line-height: 1;
  padding: 10px 20px;
  background: #ff5916;
  color: #fff;
  border-radius: 6px;
  margin: auto;
  display: block;
  margin-top: 40px;
  font-size: 16px;
  box-shadow: 2px 2px 2px #cecece;
}
.popup-form .form3 input[type="text"] {
  width: 230px;
  padding-left: 5px;
  border: 1px solid #cdcdcd;
  line-height: 1;
  border-radius: 6px;
  padding: 10px;
  position: relative;
}
.popup-form .form3 label {
  position: relative;
  margin-bottom: 10px;
  display: inline-block;
}

.phone_number, .name {
  color: #cecece;
  font-size: 16px;
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 * http://juicystudio.com/article/screen-readers-display-none.php
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}


.link{
    display: flex;
  align-items: flex-end;
  justify-content: space-around;
}
.link a{
  margin: 0 auto;
  color: gray;
}
.link li:first-child a{
  color: rgb(255, 89, 22);
}
.link img{
  display: block;
  margin: 0 auto;
}

.heat_img {
  position: absolute;
  display: none;

}

.heat_img img{
    border: 3px solid rgb(255, 89, 22);
}
#tab1{
  display: block;
}
#link2 img.hid{
  display:block;
}
#link2 .not-hid{
  display:none;
}

img.hid{
  display: none;
}
#cold-ico{
  position: absolute;
  display: none;
}

.txt-p{
  display: none;
}
#hot-txt{
  display: block;
}
#clear-day{
  -webkit-animation: sun-rotate 10s linear infinite;
  animation: sun-rotate 10s linear infinite;
}
@-webkit-keyframes sun-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes sun-rotate {
  from {transform: rotate(0deg);  }
  to { transform: rotate(360deg); }
}
/*[class*="popup"]{
  transform: scale(0.9);
}*/
a{transition: all .2s;}
a.popup_btn:hover, a.question_btn:hover, a.block2_btn:hover{
  transform: scale(.9);
}
#hot-ico li:nth-of-type(2) img,
#hot-ico li:nth-of-type(3) img{
  width:30px;
}
#toTop{
    position:fixed;
    bottom: 100px;
    right: 20px;
    cursor:pointer;
    padding: 10px;
    border: 1px solid;
    color: rgba(0, 0, 0, .5);
    z-index: 5;
    text-transform: uppercase;
    border-radius: 5px;
    font-weight: bold;
    font-size:18px;
}