@font-face {
    font-family: 'Sylfaen';
    src: url('../fonts/Sylfaen.eot');
    src: url('../fonts/Sylfaen.woff') format('woff'), url('../fonts/Sylfaen.ttf') format('truetype'), url('../fonts/Sylfaen.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}
body {
    margin: 0;
    background: #000;
    color: #ffffff;
    font-size: 24px;
    font-family: Sylfaen;
}


.wrapper {
    position: relative;
    z-index: 1;
}

a {
    color: #ffffff;
    text-decoration: underline;
    transition: all 0.27s cubic-bezier(0, 0, 0.58, 1) 0s;
    -webkit-transition: all 0.27s cubic-bezier(0, 0, 0.58, 1) 0s;
}
a:hover, a:focus {
    color: #ffffff;
    text-decoration: underline;
}

.active a {
    color: #ffffff;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    width: auto\9; /* ie8 */
}

video {
    position: fixed;
    top: -3px;
    left: 0%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;

    background-size: cover;
    transition: 1s opacity;
}

video.v-main {
    background: url('/assets/images/main.jpg') no-repeat;
}

video.v-about {
    background: url('/assets/images/about.jpg') no-repeat;
}

video.v-serv {
    background: url('/assets/images/serv.jpg') no-repeat;
}

video.v-part {
    background: url('/assets/images/part.jpg') no-repeat;
}
video.v-cont {
    background: url('/assets/images/cont.jpg') no-repeat;
}

.v-overlay {
    position: fixed;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    background-color: #000000;
    opacity: 0.2;
}

#service_page .v-overlay {
    opacity: 0.4;
}

header {
    padding-top: 30px;
    font-size: 26px;
}

header .container-fluid {
    padding-right: 30px;
}

.nav > li {
    margin-right: 9px;
}

.inner .nav > li {
    margin-right: 11px;
}

.nav > li > a {
    padding: 3px 13px;
    border: 1px solid transparent;
}

.nav-pills > li.active > a, .nav-pills > li.active > a:focus, .nav-pills > li.active > a:hover {
    background-color: transparent;
    border: 1px solid rgba(255,255,255,0.5);
}

.nav-pills > li > a:focus, .nav-pills > li > a:hover {
    background-color: transparent;
    border: 1px solid rgba(255,255,255,0.5);
}

.navs {
    display: inline-block;
    padding-top: 23px;
}

.nav-lang {
    display: inline-block;
    margin-right: 32px;
}
.nav-main {
    display: inline-block;
}

.logo {
    display: inline-block;
    float: right;
    width: 327px;
}

footer {
    background-color: #000000;
    font-size: 16px;
    opacity: 0.3;
    padding: 20px 85px 15px;
    width: 100%;
    margin-top: 10px;
    /*position: fixed;
    left: 0;
    bottom: 0;*/
}

.copyright {
    display: inline-block;
}

.socicons {
    display: inline-block;
    float: right;
    font-size: 20px;
}

.socicons a:hover {
    color: #3b5998;
}

section {
    padding-top: 23px;
}

.inner {
    /*position: absolute;*/
}

#contacts_page .inner {
    max-width: 580px;
    padding-top: 20px;
}

#contacts_page .inner .pretext {
    opacity: 0.7;
    margin-bottom: 32px;
}
.preupload {
    font-size: 18px;
    opacity: 0.7;
    margin-bottom: 15px;
}
#contacts_page .inner form {
    margin-bottom: 30px;
}

#result-s, #result-e {
    display: none;
}

#contacts_page .inner form .form-group {
    margin-bottom: 17px;
}

#contacts_page .inner form .form-control {
    background: rgba(0,0,0,0.2);
    border-color: rgba(225,232,238,0.3);
    height: 58px;
    color: #fff;
    font-size: 16px;
}

label.for-phone {
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    margin-top: 17px;
    padding-right: 0;
}

#phone {
    padding-left: 35px;
}

textarea {
    height: auto!important;
    resize: none;
}

button {
    transition: all 0.27s cubic-bezier(0, 0, 0.58, 1) 0s;
    -webkit-transition: all 0.27s cubic-bezier(0, 0, 0.58, 1) 0s;
}

.btn-send {
    background-color: transparent;
    color: #fff;
    font-size: 24px;
}

.file-input-wrapper {
    background-color: transparent;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
}

.file-input-name {
    font-size: 18px;
    opacity: 0.7;
}

.content {
    display: block;
    background-color: rgba(0,0,0,0.2);
    max-width: 760px;
    color: rgba(237,237,237,0.7);
    line-height: 32px;
    padding: 30px 40px;
    border-radius: 5px;
    text-align: justify;
    margin-top: 28px;
}

@media screen and (max-width: 1100px) {
    header {
        padding-top: 5px;
        font-size: 18px;
    }
    .logo {
        width: 200px;
    }
    .navs {
        padding-top: 11px;
    }
    .nav-lang {
        margin-right: 0;
    }
    .nav-inner {
        font-size: 18px;
    }
    .inner {
        margin-left: inherit!important;
        padding: 0 58px;
    }
    .content {
        font-size: 18px;
        line-height: 26px;
        max-width: 100%;
    }
}

/*@media screen and (max-device-width: 800px) {*/
@media screen and (max-width: 800px) {
    html.h-main body { background: url('/assets/images/main.jpg') #000 no-repeat center center fixed; background-size: cover; }
    html.h-about body { background: url('/assets/images/about.jpg') #000 no-repeat center center fixed; background-size: cover; }
    html.h-serv body { background: url('/assets/images/serv.jpg') #000 no-repeat center center fixed; background-size: cover; }
    html.h-part body { background: url('/assets/images/part.jpg') #000 no-repeat center center fixed; background-size: cover; }
    html.h-cont body { background: url('/assets/images/cont.jpg') #000 no-repeat center center fixed; background-size: cover; }
    #bgvid { display: none; }
}

@media screen and (max-width: 700px) {

    body {
        font-size: 14px;
    }

    header {
        font-size: 14px;
    }

    footer {
        font-size: 14px;
    }

    .logo {
        display: block;
        float: none;
        margin: 0 auto;

    }
    .navs {
        display: block;
    }
    .nav-main {
        float: right;
        padding-top: 15px;
    }

    .nav-lang {
        position: absolute;
        top: 21px;
        right: 10px;
    }

    .nav > li > a {
        padding: 1px;
    }

    .nav-inner {
        font-size: 14px;
    }

    .inner {
        margin-left: 0!important;
        padding: 0!important;
    }

    .content {
        font-size: 14px;
        line-height: 18px;
        padding: 10px;
    }

    .form-control {
        font-size: 14px !important;
        height: 44px !important;
        padding: 3px 8px;
    }

    textarea.form-control {
        height: auto !important;
    }

    #contacts_page .inner form .form-group {
        margin-bottom: 12px;
    }

    .preupload {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .file-input-wrapper {
        font-size: 14px;
    }

    .btn-send {
        float: none !important;
        font-size: 18px;
    }
    .btnswrap {
        text-align: center;
    }
    #phone {
        padding-left: inherit;
    }

}

@media screen and (max-width: 500px) {
    html {
        -webkit-text-size-adjust: none;
    }
    footer {
        /*position: relative;*/
        padding: 20px 15px 15px;
    }
    footer > div > div {
        display: block;
    }
}
