/* Shared site header – login, client, admin, auth pages */
.headerbg {
    background: #ff0000;
    padding: 5px 0;
    width: 100%;
    margin: 0;
    float: left;
}

body.login-page .headerbg {
    float: none;
    flex-shrink: 0;
    width: 100%;
    margin: 0;
}

.headerbg .container {
    width: 98% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.headerbg .container,
.headerbg .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    position: relative;
}

.headerbg .col-sm-2.logonews {
    width: 12%;
    flex-shrink: 0;
    z-index: 99;
    position: relative;
    background-color: white;
    border-radius: 5px;
    padding-left: 4px;
}

.headerbg .logonews img {
    max-width: 100%;
    height: auto;
}

.headerbg .col-sm-10,
.headerbg .col-sm-10.menuitems {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.headerbg .col-sm-10 img,
.headerbg .col-sm-10.menuitems img {
    max-height: 40px;
}

.headerbg .col-sm-2.cataloglogo {
    width: 12%;
    flex-shrink: 0;
    position: relative;
    z-index: 99;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.headerbg .col-sm-2.cataloglogo img {
    max-width: 100%;
}

@media only screen and (min-width: 200px) and (max-width: 760px) {
    .headerbg .logonews img {
        max-width: 100% !important;
    }

    .headerbg .col-sm-2.logonews,
    .headerbg .col-sm-2.cataloglogo {
        width: 20% !important;
    }
}
