/*!
 * Start Bootstrap - Scrolling Nav HTML Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

body {
    width: 100%;
    background-image: url('/images/old_wall.png');
}

html {
    width: 100%;
    background-image: url('/images/ps_neutral.png');
}

@media(min-width:767px) {
    .navbar {
        padding: 20px 0;
        -webkit-transition: background .5s ease-in-out,padding .5s ease-in-out;
        -moz-transition: background .5s ease-in-out,padding .5s ease-in-out;
        transition: background .5s ease-in-out,padding .5s ease-in-out;
    }

    .top-nav-collapse {
        padding: 0;
    }
}

/* Demo Sections - You can use these as guides or delete them - the scroller will work with any sort of height, fixed, undefined, or percentage based.
The padding is very important to make sure the scrollspy picks up the right area when scrolled to. Adjust the margin and padding of sections and children 
of those sections to manage the look and feel of the site. */

.section {
    /*min-height: 100%;*/
    padding-top: 50px;
    padding-bottom: 50px;
    text-align: center;
    background: #fff url('/images/ps_neutral.png');
}

.passport-section,
.photo-section,
.sign-section
{
    background: rgba(240, 240, 240, 1) url('/images/old_wall.png');
}

.requestFromWork-section,
.driverLicense-section,
.snils-section,
.permission-section
{

}

.passport-section,
.requestFromWork-section,
.driverLicense-section,
.sign-section,
.photo-section,
.snils-section,
.permission-section
{
    /* margin-top: -29px;*/
}

.footer-info {
    /*background-color: #f5f5f5;*/
    padding: 15px 0;
    color: #444;
    background-image: url('/images/ps_neutral.png');
}


.section input[type="text"][readonly] {
    background-color: white;
}


.fill-form{
    height: 100%;
}

.section .btn-lg.page-scroll{
    margin-top: 15px;
}

.section h1{
    margin-bottom: 25px;
}

.top-pusher{
    height: 40px;
    width: 100%;
}

#home{
    /*height: 100%;*/
    padding-top: 90px;
    margin-bottom: 0;

    padding-left: 0;
    padding-right: 0;

    background: rgba(0, 0, 0, 0) url('/images/old_wall.png');

    color: black;
    text-align: left;
}

#home h1{
    color: #9f753c;
    font-weight: bold;
    line-height: 100%;
    font-size: 52px;
}

#home p.arrow{
    box-sizing: border-box;
    border-radius: 3px;
    padding: 0 25px 0 15px;

    text-shadow: white 0 0 10px;

    /*background-color: rgba(50,50,50,0.3);*/

    margin-left: 7px;

    border: none;

    border-style: solid;
    border-width: 0 0 16px 21px;

    -moz-border-image: url("/bundles/drivercard/images/arrow.png") 0 27 16 21 stretch round;
    -webkit-border-image: url("/bundles/drivercard/images/arrow.png") 0 27 16 21 stretch round;
    -o-border-image: url("/bundles/drivercard/images/arrow.png") 0 27 16 21 stretch round;
    border-image: url("/bundles/drivercard/images/arrow.png") 0 27 16 21 fill stretch round;
    
    text-align: left;
    font-size: 16px;

    position: relative;
}

#home > .container > p:after{
    /*content: "";
    position: absolute;
    left: -11px;
    margin-top: 5px;
    top: 100%;

    display: block;

    width: 20px;
    height: 12px;

    border-style: solid;
    border-width: 12px 0 0;
    -moz-border-image: url("/bundles/drivercard/images/arrow_down.png") 12 0 0 round repeat;
    -webkit-border-image: url("/bundles/drivercard/images/arrow_down.png") 12 0 0 round repeat;
    -o-border-image: url("/bundles/drivercard/images/arrow_down.png") 12 0 0 round repeat;
    border-image: url("/bundles/drivercard/images/arrow_down.png") 12 0 0 round repeat;*/
}

#home p b{
    display: block;
    margin-top: 20px;
    text-transform: uppercase;
}

#home .btn {
    margin-top: 30px;
    vertical-align: top;
    padding: 16px 16px;
}


.privateEditLink{
    display: inline-block;
    word-break: break-all;
    max-width: 100px;
}


@media(max-height:480px), (max-width:480px) {
    .crop_preview_content .btn-group .btn {
        font-size: 12px;
        padding: 3px;
    }
}
@media(max-width:359px) {
    .crop_preview_content .btn-group .btn i {
        display: none;
    }
}

@media(max-width:1279px) {
    .navbar-nav > li > a{
        padding: 15px 5px;
    }
}

@media(max-width:999px) {
    .navbar .container{
        width: 100%;
    }
    .driver-license-menu-item-small{
        display: inline;
    }
    .driver-license-menu-item-large{
        display: none;
    }
}
@media(min-width:1000px) {
    .driver-license-menu-item-small{
        display: none;
    }
    .driver-license-menu-item-large{
        display: inline;
    }
}

@media(max-width:829px) {
    .navbar-nav > li > a > .fa-user,
    .navbar-nav > li > a > .fa-list-ul,
    .navbar-nav > li > a > .fa-bus,
    .navbar-nav > li > a > .fa-file-image-o,
    .navbar-nav > li > a > .fa-pencil,
    .navbar-nav > li > a > .fa-indent,
    .navbar-nav > li > a > .fa-envelope{
        display: none;
    }
}

@media(max-height:730px){
    #home{
        padding-top: 100px;
        padding-bottom: 50px;
    }

    #home p{
        line-height: 100%;
        padding: 0 0 0 5px;

        /*border: none;*/
    }
}

@media(max-height:480px), (max-width:480px) {

    .navbar{
        padding-top: 0;
        padding-bottom: 0;
    }

    #home{
        height: auto;
        padding-top: 40px;
        padding-bottom: 50px;
        background-color: #d6f1ff;
        background-image: none;
    }

    #home h1{
        font-size: 28px;
    }

    #home p{
        line-height: 100%;
        padding: 0;
        border: none;
    }

    #home > .container > p:after{
        display: none;
    }

    #home p b{
        margin-top: 10px;
    }
}
