.form-group:first-child {
    margin-bottom: 0px !important;
}

.sidebar .nav-link.active {
    color: #007bff;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */

    line-height: 60px; /* Vertically center the text there */
    background-color: #f5f5f5;
}

a:link, a:visited {
    /*color: #447e9b;*/
    text-decoration: none;
}

#submit-btn {
    margin-bottom: 20px;
}

li .link-list {
    font-weight: 500;
    color: #333;
    font-size: 14px;
    line-height: 19px;
}

a.nav-link.nav-parent-item.link-list {
    font-size: 17px;
    padding-right: 0;
    margin-right: 0;
    padding-left: 0;
}

form {
    margin: 0;
}

/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

body > .container {
    padding: 60px 15px 0;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

code {
    font-size: 80%;
}

.form-group {
    margin-bottom: 0px !important;
}

.form-signin {
    margin-top: 80px;
}

a {
    margin-right: 10px;
}

.checkbox {
    margin-top: 20px;
}

.please {
    margin-bottom: 20px;
}

.copy {
    margin-top: 40px;
}

.profile__descriptions {
    margin-top: 30px;
    border: 1px solid darkgrey;
    border-radius: 8px;
    width: 100% !important;
    height: 100% !important;
}

.profile__descriptions h1 {
    margin-left: 30px;
    font-size: 32px;
}

.profile__descriptions p {
    display: inline;
    font-size: 18px;
    margin-top: 40px;
    margin-left: 60px;
    color: grey;
}

.profile__descriptions span {
    font-size: 20px;
    margin-left: 60px;
}

.table__info th:nth-child(1), .table__info th:nth-child(2) {
    min-width: 40px;
}

.table__info th:nth-child(3), .table__info th:nth-child(4), .table__info th:nth-child(5) {
    min-width: 140px;
}

.table__info th:nth-child(4) {
    min-width: 0px;
}

.table__info td, .table__info th {
    padding: 10px;
}

.card_document_pagination a {
    color: #6c757d;
    text-decoration: none;
    font-size: 20px;
}

.profile__descriptions h1 {
    margin-left: 30px;
    font-size: 35px;
}

.profile__descriptions li {
    font-size: 20px;
    margin-top: 20px;
    margin-left: 60px;
    color: grey;
}

.text-muted {
    margin-bottom: 0 !important;
}

.main__menu a {
    text-decoration: none;
}

#date_time .form-group label {
    margin-bottom: 0;
    color: #6c757d !important;
}

.calendarbox {
    z-index: 1060;
    width: 260px !important;
}

.calendarbox .calendarnav-previous, .calendarbox .calendarnav-next {
    bottom: 66px;
    top: auto;
}

small {
    display: none !important;
}

.container {
    padding-top: 5px !important;
}

.invalid-feedback {
    color: red;
    font-weight: bold;
}

.options {
    display: none !important;
}

input[type="checkbox"]:not(:checked) + .options {
    display: block !important;
}

.dropbtn {
    padding: 5px;
    cursor: pointer;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    width: 140px;
}

.dropbtn {
    background: url('http://icons.iconarchive.com/icons/custom-icon-design/flag-3/16/Russia-Flag-icon.png') no-repeat left center;
    padding-left: 25px;
    width: 40px;
}

.dropbtn::after {
    background: rgba(0, 0, 0, 0) url("https://cdn3.iconfinder.com/data/icons/google-material-design-icons/48/ic_keyboard_arrow_down_48px-16.png") no-repeat scroll center center;
    content: "";
    height: 16px;
    position: absolute;
    right: 0;
    top: 7px;
    width: 16px;
}

.dropdown-content a:first-child {
    background: url('http://icons.iconarchive.com/icons/custom-icon-design/flag-3/16/Russia-Flag-icon.png') no-repeat left center;
}

.dropdown-content a:last-child {
    background: url('http://www.miru-mir.info/images/en.gif') no-repeat left center;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 2px 0 2px 25px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #f1f1f1
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

.error {
    color: red;
    font-size: 12px;
}

.errorlist {
    margin-left: 0; /* Отступ слева в браузере IE и Opera */
    padding-left: 0;
}

.errorlist li {
    list-style-type: none;
}

div .radio {
    display: inline;
    margin-right: 36px;
}

.required label:after {
    content: "*";
}

.btn-link {
    padding: 0;
    font-size: 15px;
}

.border {
    padding: 10px 15px;
    border: 1px solid grey;
}

.add-waybill-btn button {
    width: 100%;
}

.fp-unknown-block {
    padding-bottom: 100px;
}

h4.client-code {
    font-size: 20px;
    display: inline;
    margin-right: 5px;
}

.customer_name {
    font-size: 15px;
}

div.container.registration-main {
    padding-bottom: 125px;
}

div.fp-wrapper {
    width: 100%;
}

span.supplier_name.text-danger {
    float: left;
}

.btn-group-toggle {
    margin-top: 38px;
}

.waybill_add_form {
    margin-top: 50px;
}

.del-button {
    float: right;
}

.product-table td {
    white-space: nowrap;
}

div.start-info {
    margin-top: 30px;
    margin-bottom: 30px;
    font-size: 20px;
    text-align: center;
}

div.wb-start-info {
    margin-top: 30px;
    margin-bottom: 30px;
    font-size: 20px;
    text-align: center;
}

.plus .input-group-append .input-group-text {
    padding: 0px;
    border: none;
}

.plus .input-group-append .btn {
    height: 100%;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

.label-required:after {

    content: ' *';
}