.header {

    .header-top {
        height: 100vh;
        position:relative;
        display: flex;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        background-attachment: fixed;

        &:after{
            .after_block;
           .img-bg-darknes-fon;
        }



            &>.row{ width: 100%;
                display: flex;}

        @media (max-width: 768px){
            background-size: cover;
        }

        .logo-img {
                text-align: center;
                margin: auto;

                @media (max-width: 414px){
                    width: 100% !important;
                    text-align: right;
                }

                a {position: relative;
                    z-index: 3;
                     
                    #logo {
                       
                        padding: 0;
                        display: inline-block;
                        width: 49.6%;
                       
                        .media-desktop({
                            width: 60%;
                        });

                        .media-tablet({
                            width: 70%;
                        });

                        .media-mobile({
                            width: 96%;
                            margin-top: 66px;
                            margin-bottom: 80px;
                        });


                    }
                }

            .media-mobile({

                text-align: center;

            });
        }

        .overlay-header {
            position: absolute;
            z-index: 9999;
            pointer-events: none;
            
            .soc {
                @media (max-width: 414px){
                    width: 100% !important;
                }
            }
        }
    }
    
    .site-title {
        line-height: 1.2em;
    }
    .contact-info {
        margin: 50px 0 0 0;
        @media (max-width: 1024px){
            text-align: center;
        }
        i {
            display: inline-block;
            font-size: 1.5em;
            color: @yellow;
            @media (max-width: 1024px){
                display: block;
            }
        }
        p {
            display: inline-block;
            padding: 0 0 0 10px;
            font-size: 1.2em;
            color: @green-dark;
            font-weight: 700;
        }
    }
}

.top-up {
        position: fixed;
        right: 25px;
        top: 77vh;
        z-index: 999;
        margin: 0;
        padding: 5px 20px;
        text-decoration: none;
        .transition;
        opacity: 0.5;


        .media-tablet({

            a&{top: 80vh;}

        });

    @media (max-width: 736px){
            top: 75vh;
        }
    @media (max-width: 414px){
            top: 50vh;
        }

        .media-mobile({

            a&{top: 50vh;}

        });


      &:hover {
         background: @text-color2;
        .transition;
        opacity: 1;
      }
      &:hover i {
        .transition;
        color: @white;
      }
      i {
        font-weight: 900;
        .transition;
        font-size: 3em;
        color: @text-color2;
      }
    }
.label-site {
    background: url(images/os.png) no-repeat;
    width: 150px;
    height: 150px;
    position: absolute;
    left: 0;
    right: 0;
    top: 30%;
    margin: 0 auto;
}
#header-main {
    margin: 0;
    .header-top {
        height: 250px;
        #social {
            text-align: center;
            margin: 5px 0 0 0;
        }
    }
}




#social {
    ul {
        list-style: none;
        margin-bottom: 0px;
        text-align: left;

         li {

            a {
                padding: 15px;
                text-transform: uppercase;
                font-weight: 700;
                .border-radius;
                .transition;
                text-decoration: none;
                .base_block_for_effect;


                &:hover{
                    &:before{
                        display: block;
                        .animation(soc_icons-effect-3,0.3s); 
                    }
                }

            }
            .facebook {
                //background: #43609C;
                padding: 15px 18px;
            }
            .twitter {
                //background: #00ACEC;
            }
            .skype {
               // background: #00AFF0;
               padding: 15px 16px;
            }
            .soundcloud {
                //background: #FD4000;
                padding: 15px 13px;
            }
            .dribbble {
                //background: #FD4000;
            }
            .google {
                //background: #3F85F4;
            }
            .vimeo {
                //background: #FD4000;
            }
            .flickr {
                //background: #FD4000;
            }
            .youtube {
                //background: #DE2C28;
            }
            .instagram {
                //background: #FD4000;
            }
            .linkedin {
                //background: #FD4000;
                padding: 15px 16px;
            }
         }
    }

    .media-tablet({

       ul{ text-align: center;}

           
     });

    .media-tablet-and-max-mobile({

                ul li a{ padding: 15px 9px;}

    });

}
.for-modal {
    text-align: center;
    .button-about {
        .button;
        border: 4px double @white;
        color: @white;
        z-index: 1;
        &:after {
            content: '';
            position: absolute;
            z-index: -1;
            height: 100%;
            width:0%;
            top: 0;
            left: 0;
            background: @white;
            .transition;
        }
        &:hover {
            color: @black;
            text-decoration: none;
        }
    }
}

.overlay {
    top: 0;
    right: 0;
    bottom: 0;
    left: -1px;
    z-index: 10;
    display: none;
    background-color: rgba(0, 0, 0, 0.65);
    position: fixed;
    cursor: default;
    color: @black;
}

.overlay:target {
    display: block;
}

.popup {
    top: -100%;
    right: 0;
    left: 50%;
    font-size: 14px;
    z-index: 20;
    margin: 0;
    width: 85%;
    min-width: 320px;
    max-width: 600px;
    position: fixed;
    padding: 15px;
    border: 1px solid #383838;
    background: #fefefe;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -moz-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -ms-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -webkit-transform: translate(-50%, -500%);
    -ms-transform: translate(-50%, -500%);
    -o-transform: translate(-50%, -500%);
    transform: translate(-50%, -500%);
    -webkit-transition: -webkit-transform 0.6s ease-out;
    -moz-transition: -moz-transform 0.6s ease-out;
    -o-transition: -o-transform 0.6s ease-out;
    transition: transform 0.6s ease-out;
    text-align: justify;
}

.overlay:target+.popup {
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    top: 20%;
}

.close {
    top: -10px;
    right: -10px;
    width: 22px;
    height: 22px;
    position: absolute;
    padding: 0;
    border: 1px solid #ccc;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    border-radius: 15px;
    background-color: rgba(61, 61, 61, 0.8);
    -webkit-box-shadow: 0px 0px 10px #000;
    -moz-box-shadow: 0px 0px 10px #000;
    box-shadow: 0px 0px 10px #000;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
}
.close:before {
    color: rgba(255, 255, 255, 0.9);
    content: "\f00d";
    font-family: FontAwesome;
    font-size: 20px;
}

.popup img {
    width: 100%;
    height: auto;
}

.pic-left,
.pic-right {
    width: 25%;
    height: auto;
}
.pic-left {
    float: left;
    margin: 5px 15px 5px 0;
}
.pic-right {
    float: right;
    margin: 5px 0 5px 15px;
}

.popup embed,
.popup iframe {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display:block;
    margin: auto;
    min-width: 320px;
    max-width: 600px;
    width: 100%;
}
.popup h2 {
    margin: 0;
    color: #008000;
    padding: 5px 0px 10px;
    text-align: left;
    text-shadow: 1px 1px 3px #adadad;
    font-weight: 500;
    font-size: 1.4em;
    line-height: 1.3;
}

.popup p {margin: 0; padding: 5px 0}


#header-main .logo-img a #logo  { width: 30.6%;}