@import url(http://fonts.googleapis.com/css?family=Roboto:400,900,700,500,300,100&subset=cyrillic-ext,latin-ext,cyrillic,latin);

html,
body {
    height: 100%;
}

#wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 100px 0 60px;
}

#footer {
    height: 60px;
    text-align: center;
    font-size: 12px;
}

@media(max-width:767px) {

    .navbar-static-side {
        margin-bottom: 30px;
    }

    .navbar-form .form-control {
        width: inherit;
        display: inline-block;
    }

    .navbar-form .btn-default {
        vertical-align: inherit;
    }

    .gerbs {
        text-align: center;
        margin-bottom: 10px !important;
    }

    .gerbs .pull-right {
        float: inherit !important;
    }
    
    .jhead img {
        width: 50%;
    }

    .jhead {
        text-align: center;
    }

}

@media(max-width:991px) {
    .navbar-right {
        float: left !important;
    }
    
    #tab_logic_docs_jd .form-group,
    #tab_logic_docs_jb .form-group {
        margin-bottom: 0;
    }
    
    #tab_logic_docs label {
        margin-top: 0;
    }
    
    .gerbs {
        margin-top: 50px;
    }
}

.bv-form .help-block {
    margin-bottom: 0;
}
.nav-tabs li.bv-tab-success > a {
    color: #3c763d;
}
.nav-tabs li.bv-tab-error > a {
    color: #a94442;
}

/* Sidebar Menu Styles */

.navbar-static-side {
    position: relative;
    width: 100%;
    display: table;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.navbar-static-side .fa {
    margin-right: 10px;
    width: 1.2857142857142858em;
    text-align: center;
    color: #637f9d;
}

.navbar-static-side ul li {
    background-color: #fff;
    border-bottom: 1px solid #f5f5f5;
}

.navbar-static-side ul li:last-child {
    border-bottom: none;
}

.navbar-static-side ul li a {
    color: #333;
}

.navbar-static-side ul li a:hover,
.navbar-static-side ul li a.active {
    padding-left: 30px;
    background-color: #88BADB;
    color: #fff;
    border-left: 10px solid #EC8B81;
    -webkit-transition: all .1s ease-in-out;
    -moz-transition: all .1s ease-in-out;
    -o-transition: all .1s ease-in-out;
    -ms-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;  
}

.navbar-static-side ul li a:hover .fa, 
.navbar-static-side ul li a.active .fa {
    color: #fff;
}

.sidebar-search {
    padding: 15px;
}

.arrow {
    float: right;
}

.fa.arrow:before {
    content: "\f107";
}

.active > a > .fa.arrow:before {
    content: "\f106";
}

.nav-second-level li,
.nav-third-level li {
    border-bottom: none !important;
}

.nav-second-level li a {
    padding-left: 37px;
}

.nav-third-level li a {
    padding-left: 52px;
}

@media(min-width:768px) {
    .navbar-static-side {
        z-index: 1;
        margin-bottom: 30px;
    }

    .navbar-top-links .dropdown-messages,
    .navbar-top-links .dropdown-tasks,
    .navbar-top-links .dropdown-alerts {
        margin-left: auto;
    }
}

.news-block {
    padding: 30px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.news-block h2 {
    margin-top: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    font-weight: 300;
}

.news-block .well {
    padding-bottom: 20px;
}

.news-block .well img {
    width: 100%;
    margin-bottom: 20px;
}

.news-block .well h3 {
    margin-top: 0;
    margin-bottom: 5px;
}

.news-block .well h3 a:hover {
    text-decoration: none;
}

.news-block .well .date {
    color: #888;
    font-size: 10px;
}

.hi-there {
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    padding: 20px 30px;
    margin-bottom: 30px;
}

.hi-there h3 {
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    font-weight: 300;
}

.hi-there p {
    line-height: 22px;
    margin-bottom: 20px;
}

.btn-default:hover {
    background-color: #88BADB;
    color: #fff;
    border-color: #88BADB;
}

.navbar-form .btn-default {
    border-color: transparent;
}

.jhead {
    padding-top: 1px;
    background: #eee;
    margin-bottom: -85px;
/*    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);*/
}

.jhead .row {
    background: #eee;
    padding: 15px 0;
    margin-top: -1px;
}

.jhead ul img {
    height: 45px;
}

.dno {
    margin-top: 110px;
}

.map {
    width: 100%;
    margin-bottom: 30px;
}

.contacts {
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 30px;
}

.contacts h1 {
    font-size: 30px;
    font-weight: 300;
    margin-top: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.contacts .table > thead > tr > th {
    border-bottom: none;
}

.contacts .table > tbody > tr > td {
    border-color: #fff;
}

.navbar-form .form-control {
    border-color: transparent;
}

.feedback {
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 30px;
}

.feedback img {
    margin-top: 20px;
}

.feedback h3 {
    font-size: 30px;
    font-weight: 300;
    margin-top: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.contet-article {
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 30px;
}

.contet-article p {
    line-height: 1.7;
    margin-bottom: 20px;
}

.contet-article h1 {
    font-size: 32px;
    font-weight: 300;
    margin-top: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.help-article {
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 30px;
}

.help-article h1 {
    margin-bottom: 5px;
    font-size: 32px;
}

.help-article h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
}

.help-article h3 {
    margin-top: 40px;
    margin-bottom: 0;
    font-size: 20px;
}

.help-article .btn {
    margin-top: 20px;
}

.h3-margin {
    margin-bottom: 20px !important;
}

.help-article label {
    margin-top: 20px;
}

.else-label {
    margin-top: 0 !important;
    font-weight: normal;
}

.label-qw label {
    font-size: 12px;
}

.p-small {
    font-size: 12px;
    margin-bottom: 20px;
}

.useless-links {
    text-align: center;
}

.useless-links img {
    margin-bottom: 20px;
}

.ww {
    white-space: normal;
}

.gerbs {
    margin-bottom: 250px;
}

.gerbs img {
    margin-bottom: 30px;
}

.poyain label {
    margin-top: 0;
    font-weight: normal;
}

.addhead {
    font-weight: 700;
}

.addhead, 
#tab_logic_docs > .row input {
    margin-bottom: 20px;
}

.addrembtns {
    margin-top: -20px;
    margin-bottom: 40px;
}

.num {
    margin-right: 5px;
}

.btns-mar {
    margin-top: 0;
}

.helpresult span {
    display: block;
    margin-left: 20px;
}

.spnomar span {
    margin-left: 0;
}

.tablesmall {
    font-size: 12px;
}

.helpresult .alert {
    margin-bottom: 0;
    margin-top: 20px;
}

.btn-request {
    width: 100%;
    margin-bottom: 20px;
}