.topline{
    height: 60px;
    padding:20px 0 0 0;
    margin: 0 auto;
    font-family: 'PFDinDisplayProRegular';
    font-size: 14px;
}
.offices-link .firstlevel, .company-link .firstlevel {
    padding-left: 28px;
    padding-top: 6px;
    height: 27px;
    display: inline-block;
    line-height: 1.3;
}
.company-link {
    float: right;
    top: 15px;
}
.topline ul.nav {
    margin: 0;
    padding: 0;
}
.topline .nav li {
    float: left;
    display: block;
}
.company-link .nav li {
    margin-left: 23px;
}
.topline li>a, .topline a:visited {
    color: #222;
    text-decoration: none !important;
    line-height: 1.3;
}
.company-link a.company-link-about {
    background: url(../img/header-ico.png) no-repeat 0 -219px;
}
.company-link a.firstlevel {
    margin-left: 15px;
}
.topline .nav li:hover a {
    text-decoration: underline;
    margin-bottom: 15px;
    color: #3a7ac9;
    background-color: #fff;
}
.topline .nav ul {
    z-index: 600;
    list-style: none;
    position: absolute;
    left: -9999px;
    background: #fff;
    width: 170px;
    padding: 15px 25px;
    border-left: 1px solid #d2d3d5;
    border-right: 1px solid #d2d3d5;
    border-bottom: 3px solid #01ac4c;
    border-top: 3px solid #01ac4c;
    display: block;
}
.topline .nav ul li {
    padding-top: 1px;
    float: none;
}
.topline .nav li {
    float: left;
    display: block;
}
.company-link .nav li ul li {
    margin-left: 0px !important;
    font-family: 'Open Sans' !important;
    font-size: 13px;
}
.topline .nav li:hover ul a {
    text-decoration: none;
    margin-bottom: 5px;
}
.topline .nav ul a {
    display: block;
}
.topline .nav ul:after {
    border-bottom: 10px solid white;
    top: -17px;
}
.topline .nav ul:before, .topline .nav ul:after {
    content: '';
    position: absolute;
    left: 95px;
    top: -21px;
    border: 10px solid transparent;
    border-bottom: 10px solid #01ac4c;
}
.topline .nav li:hover ul {
    left: -30px;
    opacity: 1;
}
.company-link a.company-link-clients, .company-link span.company-link-clients {
    background: url(../img/header-ico.png) no-repeat 0 -160px;
}
.company-link a.company-link-bussines, .company-link span.company-link-bussines {
    background: url(../img/header-ico.png) no-repeat 0 -278px;
}
.company-link a.company-link-contacts, .company-link span.company-link-contacts {
    background: url(../img/header-ico.png) no-repeat 0 -332px;
}
.header {
    height: 90px;
    margin: 0 auto;
}
.logo {
    background: url(../img/logo2.png) left 0px top -3px/80% no-repeat;
    height: 70px;
    margin:0 0 20px 0;
}

.logo1 {
  background: url(../img/logo2.png) left 0px top 0px/31% no-repeat;
    height: 40px;
    /*margin: 0 0 20px 0;*/
}
.b1{
	margin:0 20px 20px 50px;
}
.b2{
	margin:0 0 20px 0;
}
.buttons{
	text-align:center;
}
.button{
	max-width:220px;
}
.buttons .button {
       height: 40px;
    border: 1px solid #2858b1;
    border-radius: 5px;
    font-family: 'PFDinDisplayProRegular';
    color: #2858b1;
    padding: 8px;
    display: inline-block;
}
.buttons .b1 span {
    padding: 0 0 4px 0;
    top: 10px;
    font-size: 16px;
    background: url(../img/header-ico.png) no-repeat 0 -48px;
    /*margin-left: 15px;*/
    padding-left: 28px;
}
.buttons .b2 span {
    padding: 0 0 4px 0;
    top: 10px;
    font-size: 16px;
    background: url(../img/header-ico.png) no-repeat 0 -2px;
   /* margin-left: 15px;*/
    padding-left: 34px;
}
.phone {
    height: 90px;
}
.phone .phone-number {
   font-family: 'PFDinDisplayProRegular';
    font-size: 20px;
    color: #2858b1;
    /* font-weight: bold; */
    line-height: 1.1;
    text-align: right;
}

.phone span {
font-weight: bold;
font-size: 25px;
}

.phone span {
font-weight: bold;
font-size: 22px;
line-height: 1.8;
}


.phone .phone-mode {
    font-family: 'PFDinDisplayProRegular';
    font-size: 14px;
    line-height: 1.1;
    text-align: right;
}
.header-menu {
    background-color: #3a7ac9;
    height:50px;
}
.navbar-default {
    background-color: #2858b1;
    border:none;
    border-radius:0px;
    height:50px;
}
.navbar-default .navbar-nav > li > a {
    color: #fff;
    font-size: 14px;
        font-family: 'Montserrat', sans-serif;
}
.navbar-default .navbar-nav > li > a:hover {
    color: #fff;
}
.navbar-default .navbar-nav > li > a:visited {
    color: #fff;
}
.colors_okna{
	background: #00ad4d;
	min-width:500px;
}
.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {
    color: #fff;
    background-color: #5dcb4e;
}
.drop_block{
padding:0 10px;
}
.line{
	border-right:1px solid gray;
}

.drop_block li{
	    padding: 10px;
}
.colors_okna li:hover{
	   background: #33bd71;
}
.drop_block a{
	color:#fff;
}
.drop_block a:hover{
	text-decoration: none;
}
.colors_balcon{
	min-width:200px;
	background-color: #5842b7;
}
.colors_balcon li:hover{
	background: #7968c5;
}
.colors_dveri{
	min-width:300px;
	background: #13895c;
}
.colors_dveri li:hover{
	background: #42a17d;
}
.colors_dizign{
	min-width:300px;
	background: #40bae0;
}
.colors_dizign li:hover{
	background: #66c8e6;
}
.colors_uslugs{
	min-width:200px;
	background: #44aa35;
}
.colors_uslugs li:hover{
	background: #69bb5d;
}
.colors_price{
	min-width:200px;
	background: #ff6955;
}
.colors_price li:hover{
	    background: #ff8777;
}
.colors_product{
	min-width:200px;
	background: #1a61b5;
}
.colors_product li:hover{
	background: #4881c4;
}
.colors_sale{
	min-width:200px;
	background: #e71580;
}
.colors_sale li:hover{
	background: #ec4499;
}
.navbar-default .navbar-collapse, .navbar-default .navbar-form {
    background: #3a7ac9;
}
.navbar .nav,
.navbar .nav > li {
  float:none;
  display:inline-block;
  *display:inline; /* ie7 fix */
  *zoom:1; /* hasLayout ie7 trigger */
  vertical-align: top;
}
.navbar {
  text-align:center;
}
.dropdown:hover > .dropdown-menu { 
    display: block; 
} 
.navbar {
    z-index: 1000;
}
.carousel {
    z-index: 999;
}
.b-front {
    padding: 40px 0;
}
.topdescription {
    background-color: #e3eff7;
}
.topdescription h1 {
 font-family: 'Montserrat', sans-serif;
    text-align: center;
    line-height: 1.3;
    margin: 0 auto 10px auto;
    font-size: 41px;
    line-height: 1.3;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 40px;
}
.marb-20 {
    margin-bottom: 20px !important;
}
.text {
    font-size: 16px;
    line-height: 1.5;
}
.bestdeal {
    background-color: #e3eff7;
}
.tabs-box {
    display: inline-block;
    position: relative;
    padding: 0;
    margin: 0;
    width: 100%;
}
ul.tabs {    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    float: left;
    list-style: none;
    height: 42px;
    border-bottom: 1px solid #00655c;
    width: 100%;
    background: #e7f6ea;
}
ul.tabs li {    text-align: center;
    width: 380px;
        float: left;
    margin: 0;
    cursor: pointer;
    padding: 0 21px;
    height: 42px;
    line-height: 42px;
    border-right: 1px solid #00b7a6;
    border-top: 1px solid #00b7a6;
    background-color: #fff;
    color: #000;
    overflow: hidden;
    position: relative;
    font-size: 16px;
    border-top-right-radius: 5px;
}

.tab_last {
    border-right: 1px solid #00655c;
}
ul.tabs li:hover {
    color: #ffffff;
    background-color: #2858b1;
    z-index: 3;
}
ul.tabs li.active {
	color: #ffffff;
    background-color: #2858b1;
    border-top: 2px solid #2858b1;
    display: block;
}

.tab_container {
    border: 1px solid #00655c;
    border-top: none;
    clear: both;
    float: left;
    width: 100%;
    background: #fff;
    overflow: auto;
}
.tab_content {
    display: none;
    background: #fff;
}
.tab_content p {
    margin-bottom: 10px
}
.tab_content img {
    /*width: 100%;*/
    height: auto;
    }
.video-responsive {
    margin: 20px;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    -moz-box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.video-responsive iframe,
.video-responsive object,
.video-responsive embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.tab_accordion {
    display: none;
}
.not_pad{
	padding-left:0px;
	padding-right:0px;
}
.tab_text{
	padding:50px;
}
.b-front.fivesteps {
       background: #2858b1;
    color: #ffffff;
}
.fivesteps .title-h1 {    font-family: 'Montserrat', sans-serif;
    text-align: center;
    line-height: 1.3;
}
.title-h1 {    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
    line-height: 1.3;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 40px;
}
.one{
	font-size: 80px;
}

.one-text{
        font-family: 'Montserrat', sans-serif;
}
.b-front.getdiscount {
    background: #ffcc52;
    background: radial-gradient(ellipse, #f2e552, #ffcc52);
}
#form-user-name, #form-phone-number, #emailer {
    height: 50px;
    border: solid 1px #9fa6ac;
    border-radius: 5px;
    padding: 0px 20px;
    margin-right: 20px;
    font-size: 16px;
}
button.form {
    height: 52px;
}
button.red {
    background-color: #e92229;
    color: #ffffff;
    border: 2px solid #e92229;
    font-size: 16px;
    text-decoration: none;
    padding: 8px 40px;
    border-radius: 5px;
}
.marb-30 {
    margin-bottom: 30px !important;
}
.b-front.aboutcompany {
    background-image: url(../img/2.jpg);
    display: block;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.box.green {
    background-color: #2858b1;
    color: #ffffff;
}
.box {
    text-align: center;
    float: left;
    position: relative;
    margin: 0;
    letter-spacing: normal;
    line-height: normal;
    vertical-align: top;
}
.item1 .inbox {
    margin: 65px 0 65px;
}
.item2 .inbox{
	    margin: 33px 0 33px;
}
.aboutcompany .box.item1 .ico {
    font-size: 56px;
    font-weight: 300;
    line-height: 100%;
}
.aboutcompany .box .ico {
    margin: 0 auto;
}
.aboutcompany .box.item1 .ico span {
    font-size: 80px;
}
.aboutcompany .box .text-box {
    font-size: 16px;
    line-height: 1.5;
}
.aboutcompany .box.green hr {
    border: 1px solid #ffffff;
}
.aboutcompany .box hr {
    width: 100px;
    margin: 15px auto;
}
.aboutcompany .box.white {
    background-color: #ffffff;
    color: #1a1a1a;
}
.aboutcompany .item2 .ico {
    background: url(../img/about-company.png) no-repeat -93px 0px;
    width: 160px;
    height: 105px;
}
.profit {
   background: #f9f9f9;
}
.profit .section.one, .profit .section.three {
    background: #e7f6ea;
}
.profit .section {
    display: block;
    letter-spacing: -5px;
}
.b-left, .two_left{
	margin-top: 35px;
}
.b-left img, .two_right img, .b-left_three img{
	width:100%;
}
.profit .section.one, .profit .section.three {
    background: #a5cde74d;
}
.profit .one .description, .profit .three .description {
    padding: 0px 0 35px 50px;
    position: relative;
}
.profit .section .title {    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 20px;
        letter-spacing: normal;
}
.thin {
    font-style: normal;
    font-weight: 300;
}
.profit .section .text-box {
    font-size: 16px;
    line-height: 1.5;
}
.profit .section .text-box p {
    margin-bottom: 10px;
    line-height: 1.5;
    letter-spacing: normal;
}
.profit .section.two {
   background: #f9f9f9;
}
.profit .section.four {
    background: #f9f9f9;
}
.profit .four .description {
    padding: 60px 40px 0 0;
}
.profit .item {
    display: block;
    display: inline-block;
    margin-bottom: 45px;
}
.profit .four .item .title {
    display: inline-block;
    width: 120px;
    text-align: right;
    margin-right: 20px;
    margin-bottom: 0px;
    vertical-align: middle;
    font-weight: bold;
    font-size: 42px;
    color: #2858b1;
}
.profit .four .item .text-box {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}
.color{
	letter-spacing: normal;
	color: #2858b1;
}
.b-front.getdiscount {
    background: #f9f9f9;

}
.honors .honor1 {
    background: url(../img/1.png) no-repeat 0 0;
}
.honors .img {
    height: 146px;
    width: 146px;
    display: block;
    margin: 0 auto;
    padding-bottom: 20px;
}
.honors .honor-box .name {
    line-height: 1.5;
}
.honors .name {
    line-height: 1.5;
    padding:5px 0;
}
.bottom {
    background: #414042;
    clear: left;
}
#footer {
    margin: 0 auto;
    padding: 40px 20px;
}
#footer .buttons .button {
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'PFDinDisplayProRegular';
    color: #ccc;
    padding: 8px;
    display: inline-block;
}
#footer .phone .phone-number {
    font-family: 'PFDinDisplayProRegular';
    font-size: 20px;
    color: #fff;
    line-height: 1.1;
}
#footer .phone-mode{
	color:#fff;
}
#footer .title {
    margin-bottom: 5px;
    font-size: 14px;
    color:#fff;
}
.bottom_link {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    margin-top: 8px;
    line-height: 1.3;
    cursor: pointer;
}
.bottom_link:hover {
    color: #fff;
}
.bottom .links {
    float: left;
    width: 250px;
    color: #fff;
}
.links .title {
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 1.3;
}
.b-social {
    margin: 15px 0 0 0;
}
.b-social .b1 {
    width: 47px;
    height: 47px;
    background: url(../img/social-icon.png) 0px 0px;
}
.b-social .b2 {
    width: 47px;
    height: 47px;
    background: url(../img/social-icon.png) 147px 0px;
}
.b-social .b3 {
    width: 47px;
    height: 47px;
    background: url(../img/social-icon.png) 97px 0px;
}
.b-social .b4 {
    width: 47px;
    height: 47px;
    background: url(../img/social-icon.png) 47px 0px;
    margin: 0 !important;
}
.b-social a {
    float: left;
    margin: 0 20px 0 0;
}
.hover {
    cursor: pointer;
}
.marg{
	margin-top:15px;
}
.bottom .links .title {
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 1.3;
}
#footer p{
	color:#fff;
}




@media screen and (max-width: 480px) {
    .tabs {
        display: none;
    }
    .tab_accordion {
        position: relative;
            background-color: #fff;
        font-weight: 400;
        font-size: 16px;
        color: #000;
        border-top: 1px solid #ccc;
        margin: 0;
        padding: 14px 20px;
        display: block;
        cursor: pointer;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    .tab_accordion:hover {
        background-color: #2858b1;
    }
    .tab_accordion:before {
        content: '';
        height: 8px;
        width: 8px;
        display: block;
        border: 2px solid #fefefe;
        border-right-width: 0;
        border-top-width: 0;
        -ms-transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
        position: absolute;
        right: 20px;
        top: 18px
    }
    .d_active {
        background-color: #2858b1;
        color: #fff;
    }
    .d_active.tab_accordion:before {
        border: 2px solid #fefefe;
        border-left-width: 0;
        border-bottom-width: 0;
        top: 18px
    }
    .topdescription h1{
    	font-size: 29px;
    }
}
@media (max-width:990px){
.phone .phone-number {
	text-align:center;
}
}
@media (max-width:542px){
.b1 {
    margin: 0 0 20px 0;
}
.title-h1{
	font-size: 26px;
}
}
@media (max-width:770px){
	.navbar .nav,
	.navbar .nav > li {
  		display:block;
	}
	.navbar {
  text-align:left;
}
.colors_okna, .colors_balcon, .colors_dveri, .colors_dizign, .colors_uslugs, .colors_price, .colors_sale, .colors_product{
	width:100%;
}
}
@media (max-width:362px){
	button.red{
		font-size: 21px;
	}
}
#up {
    position: fixed;
    z-index: 300;
    bottom: 20px;
    right: 20px;
    display: none;
    color: #FFFFFF;
    width: 38px;
    text-align: center;
    height: 38px;
    cursor: pointer;
    -webkit-transition: background-color 200ms ease-out;
    -moz-transition: background-color 200ms ease-out;
    -o-transition: background-color 200ms ease-out;
    transition: background-color 200ms ease-out;
    background: #2858b1;
    font-size: 32px;
    padding-top: 1px;
}

#up .fa {
    display: block;
}

.fa {
    display: inline-block;
      font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
em, i, .italic {
    font-style: italic;
}

#up:hover {
    background: #4D4D4D;
}

.grow:hover {
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}

p, p {line-height: 2.2;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: #424344;
    font-weight: 300;
    text-align: justify;
}

.ram p {line-height: 2;
    }

.line2 {

    border-top: 2px dashed #2858b1;
}
li {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
}
.element {
    margin: 10px 0px;
    color: #fff !important;
}
.bold {
    font-weight: 600;
}
.title-bg-green {
    font-family: 'Open Sans',Arial,sans-serif;
    font-size: 35px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 1px;
}
.index-template .main-column {
    margin-bottom: 80px;
}
.title-bg-green span {
    position: relative;
    display: inline-block;
    padding: 5px 10px;
    z-index: 1;
    color: #0DA1D1;
}
.work-list li {
    list-style: none;
    padding-left: 80px;
    color: #001921;
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
    position: relative;
    display: flex;
    align-items: center;
    height: 60px;
        margin-bottom: 10px;
}
.work-list li:before {
    left: 0;
    top: 0;
    height: 60px;
    width: 60px;
    border: 1px dotted #0da1d1;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}
.work-list li:before, .work-list li:after {
    content: "";
    display: block;
    position: absolute;
}

.work-list li:after {
    top: 20px;
    left: 20px;
    width: 20px;
    height: 21px;
    background: url(../img/work-check.png) no-repeat;
}
.work-list li:before, .work-list li:after {
    content: "";
    display: block;
    position: absolute;
}

.main-column {margin-bottom:50px;}
.item-active__text {
    position: absolute;
    /* right: 15%; */
    top: 50px;
    left: 100px;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
    text-align: left;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .6);}
    .item-active__text p {
        max-width:50%;
    }
.item-active__text h2 {
    line-height: 1.4;
    color: #629ce5;;
    font-weight: 700;
}
.block-text__title{
    font-size:25px;
}
.block-text__subTitle{
    margin-top:20px;
}
.infoBlock__colors{
    text-align:center;
    margin-bottom:50px;
}
.adress__header-text{
    text-align:right;
    line-height: 1.3;
}
@media screen and (max-width: 750px) { 
    .item-active__text{
        top:-14px;
        left:10px;
        max-width:226px;
    }
    .item-active__text h2 {
            line-height: 1;
        font-size:14px;
    }
    .logo{
        height: 90px;
    }
    .adress__header-text{
        text-align:center;
    }
    .phone .phone-mode{
        text-align:center;
    }
}

.whatsapp-button {
    position: fixed;
    left: 50px;
    bottom: 20px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    z-index: 9999;
    background-color: #25D366;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg role='img' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill='%23FFF' d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/%3e%3c/svg%3e");    
    background-size: 50%; 
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
.whatsapp-button:before,
.whatsapp-button:after {
    content: " ";
    display: block;
    position: absolute;
    border: 1px solid #25D366;
    left: -20px;
    right: -20px;
    top: -20px;
    bottom: -20px;
    border-radius: 50%;
    animation: border-animate 1.5s linear infinite;
    opacity: 0;
}
.whatsapp-button:after{
    animation-delay: .5s;
}
@keyframes border-animate
{
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.telegram-button {
    position: fixed;
    left: 190px;
    bottom: 20px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    z-index: 9999;
    background-color: #2CA5E0;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3cpath fill='%23FFF' d='M23.91 3.79L20.3 20.84c-.25 1.21-.98 1.5-2 .94l-5.5-4.07-2.66 2.57c-.3.3-.55.56-1.1.56-.72 0-.6-.27-.84-.95L6.3 13.7l-5.45-1.7c-1.18-.35-1.19-1.16.26-1.75l21.26-8.2c.97-.43 1.9.24 1.53 1.73z'/%3e%3c/svg%3e");
    background-size: 50%; 
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
.telegram-button:before,
.telegram-button:after {
    content: " ";
    display: block;
    position: absolute;
    border: 1px solid #2CA5E0;
    left: -20px;
    right: -20px;
    top: -20px;
    bottom: -20px;
    border-radius: 50%;
    animation: border-animate 1.5s linear infinite;
    opacity: 0;
}
.telegram-button:after{
    animation-delay: .5s;
}
@keyframes border-animate
{
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.viber-button {
    position: fixed;
    left: 120px;
    bottom: 20px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    z-index: 9999;
    background-color: #665CAC;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg role='img' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill='%23FFF' d='M11.398.002C9.473.028 5.331.344 3.014 2.467 1.294 4.177.693 6.698.623 9.82c-.06 3.11-.13 8.95 5.5 10.541v2.42s-.038.97.602 1.17c.79.25 1.24-.499 1.99-1.299l1.4-1.58c3.85.32 6.8-.419 7.14-.529.78-.25 5.181-.811 5.901-6.652.74-6.031-.36-9.831-2.34-11.551l-.01-.002c-.6-.55-3-2.3-8.37-2.32 0 0-.396-.025-1.038-.016zm.067 1.697c.545-.003.88.02.88.02 4.54.01 6.711 1.38 7.221 1.84 1.67 1.429 2.528 4.856 1.9 9.892-.6 4.88-4.17 5.19-4.83 5.4-.28.09-2.88.73-6.152.52 0 0-2.439 2.941-3.199 3.701-.12.13-.26.17-.35.15-.13-.03-.17-.19-.16-.41l.02-4.019c-4.771-1.32-4.491-6.302-4.441-8.902.06-2.6.55-4.732 2-6.172 1.957-1.77 5.475-2.01 7.11-2.02zm.36 2.6a.299.299 0 0 0-.3.299.3.3 0 0 0 .3.3 5.631 5.631 0 0 1 4.03 1.59c1.09 1.06 1.621 2.48 1.641 4.34a.3.3 0 0 0 .3.3v-.009a.3.3 0 0 0 .3-.3 6.451 6.451 0 0 0-1.81-4.76c-1.19-1.16-2.692-1.76-4.462-1.76zm-3.954.69a.955.955 0 0 0-.615.12h-.012c-.41.24-.788.54-1.148.94-.27.32-.421.639-.461.949a1.24 1.24 0 0 0 .05.541l.02.01a13.722 13.722 0 0 0 1.2 2.6 15.383 15.383 0 0 0 2.32 3.171l.03.04.04.03.03.03.03.03a15.603 15.603 0 0 0 3.18 2.33c1.32.72 2.122 1.06 2.602 1.2v.01c.14.04.268.06.398.06a1.84 1.84 0 0 0 1.102-.472c.39-.35.7-.738.93-1.148v-.01c.23-.43.15-.841-.18-1.121a13.632 13.632 0 0 0-2.15-1.54c-.51-.28-1.03-.11-1.24.17l-.45.569c-.23.28-.65.24-.65.24l-.012.01c-3.12-.8-3.95-3.959-3.95-3.959s-.04-.43.25-.65l.56-.45c.27-.22.46-.74.17-1.25a13.522 13.522 0 0 0-1.54-2.15.843.843 0 0 0-.504-.3zm4.473.89a.3.3 0 0 0 .002.6 3.78 3.78 0 0 1 2.65 1.15 3.5 3.5 0 0 1 .9 2.57.3.3 0 0 0 .3.299l.01.012a.3.3 0 0 0 .3-.301c.03-1.19-.34-2.19-1.07-2.99-.73-.8-1.75-1.25-3.05-1.34a.3.3 0 0 0-.042 0zm.49 1.619a.305.305 0 0 0-.018.611c.99.05 1.47.55 1.53 1.58a.3.3 0 0 0 .3.29h.01a.3.3 0 0 0 .29-.32c-.07-1.34-.8-2.091-2.1-2.161a.305.305 0 0 0-.012 0z'/%3e%3c/svg%3e");
    background-size: 50%; 
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
.viber-button:before,
.viber-button:after {
    content: " ";
    display: block;
    position: absolute;
    border: 1px solid #665CAC;
    left: -20px;
    right: -20px;
    top: -20px;
    bottom: -20px;
    border-radius: 50%;
    animation: border-animate 1.5s linear infinite;
    opacity: 0;
}
.viber-button:after{
    animation-delay: .5s;
}
@keyframes border-animate
{
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
    }
.vk-button {
position: fixed;
    left: 260px;
    bottom: 20px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    z-index: 9999;
    background-color: #0077ff;
    background-image: url(/images/icons8-vk-50-1.png);
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
.vk-button:before,
.vk-button:after {
    content: " ";
    display: block;
    position: absolute;
    border: 1px solid #0077ff;
    left: -20px;
    right: -20px;
    top: -20px;
    bottom: -20px;
    border-radius: 50%;
    animation: border-animate 1.5s linear infinite;
    opacity: 0;
}
.vk-button:after{
    animation-delay: .5s;
}
@keyframes border-animate
{
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

    
.modal {
    display: none;
    width: 560px;
    max-width: 100%;
    background: #fff;
    padding: 35px 25px 25px;
}

.modal {
  display: none;
  position: fixed;
  right: -400px;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  background-color: #ffffff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: right 0.5s ease-out;
}

.modal-content {
  padding: 20px;
}

.close {
  float: right;
  cursor: pointer;
}

/* Анимация выезда / уезда */
@keyframes slideIn {
  0% {
    right: -400px;
  }
  100% {
    right: 0;
  }
}

@keyframes slideOut {
  0% {
    right: 0;
  }
  100% {
    right: -400px;
  }
}

