main > .container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

a.bage
{
    color: white;
    font-weight: normal;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}

.smallfont { font-size: 11px;}


/* moved from zend project*/
.boldfont {
    font-weight: bold;
}
.redfont {
    color: red;
}
.bluefont {
    color: #003399;
}
.grayfont {
    color: gray;
}
.greenfont {
    color: green;
}
td.tabletdbold, .tabletdbold td {
    font-weight: bold;
}
.tablebordercollapse {
    border-collapse: collapse;
}
td.tabletdnoborder, .tabletdnoborder td {
    border-style: none !important;
}
td.tabletdborder, .tabletdborder td {
    border: solid 1px black;
}
td.tabletdpadding, .tabletdpadding td {
    padding: 2px;
}
td.tabletdvaligntop, .tabletdvaligntop td,
td.tblVtop, .tblVtop td{
    vertical-align: top;
}

td.tabletdvalignbottom, .tabletdvalignbottom td {
    vertical-align: bottom;
}
td.tabletdbgcolorblue, .tabletdbgcolorblue td {
    background-color: #AACCEE !important;
}
td.tabletdbgcolorgray, .tabletdbgcolorgray  td {
    background-color: #EEEEEE;
}
td.tabletdalignright, .tabletdalignright td {
    text-align: right;
}
td.tabletdalignleft, .tabletdalignleft td {
    text-align: left;
}
td.tabletdvalignmiddle, .tabletdvalignmiddle td {
    vertical-align: middle;
}
.company-title {
    background-color: #FFDAAF;
}
.founded {
    background-color: yellow !important;
}

.bbz-passport.table-bordered, .bbz-passport.table-bordered td, .bbz-passport.table-bordered th {
    border: 1px solid #000;
}

.bbz-passport.table td a.ag {
    color: #1111FF;
    text-decoration: none;
}

.bbz-passport.table td a.ad {
    color: #882233;
    text-decoration: none;

}

.bbz-passport thead td,
.bbz-passport tbody td {
    text-align: center;
}

.bbz-passport tbody td.align-left {
    text-align: left;
}

.bbz-passport.table > :not(caption) > * > * {
    padding: 0.1rem 0.1rem;
}

/* access granted */
.bbz-passport.table td.urc-g {
    color: #77BF77;
}

/* access denied */
.bbz-passport.table td.urc-d {
    color: #EF9595;
}

.table.bbz-passport.table-hover tr.sect-hdr:hover {
    background-color: #cccccc;
}

.bbz-passport.table.table-striped>tbody>tr:nth-child(even):hover {
    background-color: #e4ffe4;
}

.bbz-passport.table thead tr.cmphdr td:nth-child(1) {
    width: 15px;
    min-width: 15px;
    max-width: 15px;
}

.bbz-passport.table thead tr.cmphdr td:nth-child(2) {
    width: 35px;
    min-width: 35px;
    max-width: 35px;
}
.bbz-passport.table thead tr.cmphdr td:nth-child(3) {
    width: 30px;
    min-width: 300px;
    max-height: 300px;
}

ul.bbz-columns-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(20, 1fr);
    grid-auto-flow: column;
}

ul.bbz-columns-list li {
    list-style: none;
    position: relative;
    margin-bottom: 0.2rem;
    font-size: 11px;
}

ul.bbz-columns-list.regions {
    padding-left: 0;
    line-height: 1.2rem;
}
ul.bbz-columns-list.regions li {
    font-size: 16px;
    margin-bottom: 0;
}

[data-bs-toggle="collapse"].collapsed .if-not-collapsed {
    display: none;
}
[data-bs-toggle="collapse"]:not(.collapsed) .if-collapsed {
    display: none;
}

.bbz-companies-selector {
    padding: 1rem;
}

label input.form-check-input {
    margin-bottom: 0.25rem;

}

fieldset.bbz-passport {
    display: block;
    padding: .35em .625em .75em;
    margin: 0 2px;
    margin-inline-start: 2px;
    margin-inline-end: 2px;
    padding-block-start: 0.35em;
    padding-inline-start: 0.75em;
    padding-inline-end: 0.75em;
    padding-block-end: 0.625em;
    min-inline-size: min-content;
    border-width: 2px;
    border-style: groove;
    border-color: rgb(192, 192, 192);
    border-image: initial;
}

label.cpl,
table#mtable label,
table.pfs-list label {
    display: block;
    font-size: 12px;
}

table#mtable td {
    font-size: 60%;
    border: gray 1px solid;
}

table#goods th, table#goods td{
    padding: 5px;
    font-size: 12px;
}
table#goods th{
    background: #AACCEE;
    text-align: center;
}

table#mtable tr.bgTrnsp {
    background-color: transparent;
}
table#mtable tr.bgStrip {
    background-color: #E1E1F2;
}
table#mtable tr.bgClosed,
table.pfs-list label.bgClosed {
    background-color: #C4BEBE;
}

.sticky {
    position: fixed;
    top: 0;
    /*width: 100%*/
}
.stickySecond{
    height: 90px;
}

/*************** BUTTONS *************************/
/* text ob Buttons */
.btn-white-label-b{
    color:#fff;
    font-weight: bolder;
}
.btn-white-label{
    color:#fff;
}

/** Green btn **/
.btn-green {
    background: linear-gradient(#20c997, #106149);
    border: 1px solid #106149;
    border-radius: 5px;
    width: 300px;
    height: 40px;
    box-shadow: 0 2px 2px 0 #333;
    position: relative;
}
.btn-green:hover{
    background: #3f9f82;
}
.btn-green:active{
    box-shadow: none;
    top: 1px;
}

/** Blue btn **/
.btn-blue {
    background: linear-gradient(#228BE6, #10436E);
    border-bottom: 1px solid #10436E;
    border-right: 1px solid #10436E;
    border-top: 1px solid #228BE6;
    border-left: 1px solid #228BE6;
    border-radius: 5px;
    width: 300px;
    height: 40px;
    box-shadow: 0 2px 2px 0 #10436E;
    position: relative;
}
.btn-blue:hover{
    background: #228BE6;
}
.btn-blue:active{
    box-shadow: none;
    top: 1px;
}
/** Grey btn **/
.btn-grey {
    background: linear-gradient(#d2cece, #6a6868); /*#e7e2e2*/
    /*  border-bottom: 1px solid #6a6868;
      border-right: 1px solid #6a6868;
      border-top: 1px solid #e7e2e2;
      border-left: 1px solid #e7e2e2; */
    border: 1px solid #6a6868;
    border-radius: 5px;
    width: 300px;
    height: 40px;
    box-shadow: 0 2px 2px 0 #333;
    position: relative;
}
.btn-grey:hover{
    background: #6a6868;
}
.btn-grey:active{
    box-shadow: none;
    top: 1px;
}

/** Lightblue btn **/
.btn-lightblue {
    background: linear-gradient( #a2c8eb, #1a6cb7 );
    border: 1px solid #516a81;
    border-radius: 5px;
    width: 300px;
    height: 40px;
    box-shadow: 0 2px 2px 0 #10436E;
    position: relative;
}
.btn-lightblue:hover{
    background: #a2c8eb;
}
.btn-lightblue:active{
    box-shadow: none;
    top: 1px;
}

/** darkblue btn **/
.btn-darkblue {
    background: linear-gradient( #3d85c6, #1D2939 );
    border: 1px solid #1D2939;
    border-radius: 5px;
    width: 300px;
    height: 40px;
    box-shadow: 0 2px 2px 0 #333;
    position: relative;
}
.btn-darkblue:hover{
    background: #3d85c6;
}
.btn-darkblue:active{
    box-shadow: none;
    top: 1px;
}

td.tabletdaligncenter, .tabletdaligncenter td,
td.tblCenter, .tblCenter td{
    text-align: center;
}

.ptr12 {
    cursor:pointer;font-size:12px;
}

.ptrRight {
    float:right;cursor:pointer;
}
.redClsd {
    color:red;font-size:0.9em;
}
.subTitle {
    padding: 0.5rem;
}
.btn-xsm {
    padding: 0.1rem 0.2rem;
    font-size: 0.8rem;
}

h5 {
    margin-top: 0.5rem;
}

.label-default {
    background-color: #777
}

.label-default[href]:hover,.label-default[href]:focus {
    background-color: #5e5e5e
}

.label-primary {
    background-color: #428bca
}

.label-primary[href]:hover,.label-primary[href]:focus {
    background-color: #3071a9
}

.label-success {
    background-color: #5cb85c
}

.label-success[href]:hover,.label-success[href]:focus {
    background-color: #449d44
}

.label-info {
    background-color: #5bc0de
}

.label-info[href]:hover,.label-info[href]:focus {
    background-color: #31b0d5
}

.label-warning {
    background-color: #f0ad4e
}

.label-warning[href]:hover,.label-warning[href]:focus {
    background-color: #ec971f
}

.label-danger {
    background-color: #d9534f
}

.label-danger[href]:hover,.label-danger[href]:focus {
    background-color: #c9302c
}

body {
    font-family: 'Roboto', sans-serif;
    font-size:16px;
    font-weight: 400;
    color: #000;
    background-color: #fff;
    min-width: 320px;
}
/*to keep img in the element where it was put:*/
img {
    max-width: 100%;
    height: auto;
}
section {
    padding: 10px;
}
a {
    color: #111;
}
a:hover {
    color: #555;
}

/*Header - menu */
.navbar-nav .nav-link{
    color: #111;
    font-weight: 500;
    /* text-transform: uppercase; */
}
/*BS dropdown getting to right even out of the page. fixin it: */
.navbar-nav .dropdown-menu {
    right: 0;
    left: auto;
}
#user-drop {
    right: 0;
    left: auto;
}

/*  menu end */

body.dealers-tpl {
    font-size: 14px;
}

.dealers-list .label {
    display: inline;
    padding: .2em .6em .3em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
}

.has-error .help-block {
    color: #ffffff;
    background-color: #c9302c;
    max-width: fit-content;
    padding: .2em .6em .3em;
    font-size: 85%;
    font-weight: 700;
    border-radius: .25em;
}
.bbz-passport.table td.admin-flag {
    color: white;
    background-color: green !important;
    font-weight: bold;
}
td.a-l-w250  {
    width: 250px;
    text-align: left !important;
    padding-left: 5px !important;
}
td.w250 {
    width: 250px;
}
.yaorders-menu .btn a,
.service-menu .btn a {
    text-decoration: none;
    color: #fff;
}
.yaorders-menu .btn,
.service-menu .btn {
    cursor: auto;
}


fieldset {
    padding: 0 0.5rem 0 0.5rem !important;
}

legend {
    font-size: 1rem;
    padding: 0 0.5rem;
}

form  label {
    font-size: 12px;
}

.bs5-bage {
    background-color: lightgray;
    padding: 1px 4px;
    border-radius: 4px;
}

.w870 {
    width: 870px;
}
.w100 {
    width: 100px;
}
.f12 {
    font-size: 12px;
}
.bolder {
    font-weight: bolder;
}

.w100c {
    width: 100px;
    text-align: center;
}

.bbz-bage.bage-big {
    font-size: 14px !important;
    padding: 6px;
    text-transform: lowercase;

}
a.bbz-bage {
    text-decoration: none;
    font-weight: normal;
    background-color: orange;
    color: white;
    padding: 2px 4px;
    margin-left: 6px;
    border-radius: 5px;
    font-size: 10px;
    text-transform: uppercase;
}
a.bbz-bage.bbz-hdnoco {
    background-color: orange;
}
a.bbz-bage.bbz-yaorders {
    background-color: cornflowerblue;
}
a.bbz-bage.bbz-zebr {
    background-color: green;
}
a.bbz-bage.bbz-sklad {
    background-color: yellowgreen;
}
a.bbz-bage.bbz-service {
    background-color: palevioletred;
}

.c-u-l {
    vertical-align: middle;
}
table.bbz-passport.table-hover tr:hover {
    background-color: #e4ffe4;
}

tr.cmphdr td  {
    padding: 10px 0 !important;
}
.sect-hdr {
    color: #000000;
    background-color: #cccccc;
    font-weight: bold;
}

.r-f-menu-active {
    padding: 0 4px;
    background-color: #999;
    color: white;
}
.foundTerm {
    background-color: lightgreen;
}