.hdr {
    margin-top: 0;
    -webkit-transition: margin-top .3s ease-out;
    transition: margin-top .3s ease-out;
}
  
.has-editorial-bar #editorial-bar {
    height: 56px; /* in RESP SASS defined as variable: $editorial-bar-height; */
    position: fixed;
}
  
#editorial-bar {
    font-family: "Roboto", Arial, sans-serif;
    font-weight: 300;
    top: 0;
    width: 100%;
    height: 0;
    background-color: #fafafa;
    z-index: 1099;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24);
    overflow: hidden;
    -webkit-transition: height .3s ease-out;
    transition: height .3s ease-out;
    text-align: left;
    -webkit-font-smoothing: auto;
    -webkit-text-stroke: .1px; /* chrome tweak to avoid too light font caused by different antialiasing method */
}
  
.skiptranslate:not([style^="display"]) + #editorial-bar {
    top: 39px;
}
  
#editorial-bar .container {
    display: block !important;
    position: relative;
    width: 100%;
    max-width: 1256px;
    padding: 6px;
    margin: 0 auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    opacity: 1;
    -webkit-transition: opacity .3s ease-in-out;
    transition: opacity .3s ease-in-out;
}
  
#editorial-bar .col-global-actions, #editorial-bar .col-title {
    max-width: 100%;
    white-space: nowrap; 
    text-overflow: ellipsis;
    min-height: 1px;
    float: left;
}
#editorial-bar .col-global-actions {
    width: 255px;
    float: left;
    display: flex;
}
#editorial-bar .col-title {
    padding-left: 15px;
    max-width: calc( 100% - 705px );
}
#editorial-bar .col-user-actions {
    float: right;
    width: 450px;
}
#editorial-bar .text-right {
    text-align: right;
}
#editorial-bar .show-mobile {
    display: none;
}
#editorial-bar .btn {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    height: 28px;
    line-height: 18px;
    border: none;
    padding: 6.66667px 10px;
    border-radius: 3px;
    color: #fff;
    -webkit-transition: background-color .3s ease-in-out;
    transition: background-color .3s ease-in-out;
    outline: none;
    display: inline-block;
    vertical-align: middle;
    text-decoration: none;
    cursor: pointer;
    margin-top: 8px;
    -webkit-text-stroke: 0;
}
#editorial-bar .btn.btn-primary {
    background: #186c97;
}
#editorial-bar .link-cms-report-bug {
    margin-left: 5px;
}
#editorial-bar .link-cms-search, #editorial-bar .link-cms-report-bug {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
#editorial-bar .btn.btn-primary:focus {
    background: #186c97;
}
#editorial-bar .btn.btn-primary:hover, #editorial-bar .btn.btn-primary:active {
    background: #1385bf;
}
#editorial-bar .btn.btn-success {
    background: #83ab4b;
}
#editorial-bar .btn.btn-success:focus {
    background: #83ab4b;
}
#editorial-bar .btn.btn-success:hover, #editorial-bar .btn.btn-success:active {
    background: #425626;
}
#editorial-bar .btn.btn-danger {
    background: #d12430;
}
#editorial-bar .btn.btn-danger:focus {
    background: #d12430;
}
#editorial-bar .btn.btn-danger:hover, #editorial-bar .btn.btn-danger:active {
    background: #540e13;
}
#editorial-bar .btn.btn-muted {
    background: #bdbdbd;
}
#editorial-bar .btn.btn-muted:focus {
    background: #bdbdbd;
}
#editorial-bar .btn.btn-muted:hover, #editorial-bar .btn.btn-muted:active {
    background: #757575;
}
#editorial-bar .btn.btn-icon > .icon {
    vertical-align: middle;
    display: inline-block;
    margin-right: 2px;
}
#editorial-bar .btn.btn-icon > .icon > svg {
    fill: #fff;
    height: 10px;
    width: 10px;
}
#editorial-bar .btn.disabled {
    background: #bdbdbd;
    color: #ddd;
    cursor: default;
    pointer-events: none;
}
#editorial-bar .btn.disabled:focus, #editorial-bar .btn.disabled:hover, #editorial-bar .btn.disabled:active {
    background: #bdbdbd;
}
#editorial-bar .btn-sm {
    padding: 5px 7px;
    font-size: 13px;
}
#editorial-bar .btn-switch {
    padding: 0;
    background: #bdbdbd;
    border: solid 2px #bdbdbd;
    border-radius: 3px;
    line-height: 1.9;
}
#editorial-bar .btn-switch span {
    padding: 2px 4px;
    border-radius: 2px;
}
#editorial-bar.is-not-cached .btn-switch .off {
    background: #d12430;
}
#editorial-bar.is-not-cached .btn-switch:hover .off, #editorial-bar.is-not-cached .btn-switch:active .off {
    background: #540e13;
}
#editorial-bar.is-cached .btn-switch .on {
    background: #83ab4b;
}
#editorial-bar.is-cached .btn-switch:hover .on, #editorial-bar.is-cached .btn-switch:active .on {
    background: #425626;
}
#editorial-bar .user-block {
    display: inline-block;
    height: 44px;
    float: right;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px #e6e6e6 solid;
    position: relative;
}
#editorial-bar .user-block:hover .user-carret .icon svg {
    fill: #444;
}
#editorial-bar .user-avatar {
    width: 44px;
    height: 44px;
    cursor: pointer;
    border: 1px #e0e0e0 solid;
    border-radius: 50%;
    float: left;
    margin-right: 10px;
    background-size: cover;
}
#editorial-bar .user-info {
    height: 44px;
    float: left;
    cursor: pointer;
}
#editorial-bar .user-nickname {
    padding-top: 11px;
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    -webkit-transition: color .3s;
    transition: color .3s;
    -webkit-text-stroke: 0;
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}
#editorial-bar .user-carret {
    float: left;
    margin-right: 10px;
    cursor: pointer;
}
#editorial-bar .user-carret .icon {
    height: 44px;
    width: 12px;
    padding-top: 11px;
    padding-bottom: 15px;
    margin-left: 10px;
}
#editorial-bar .user-carret .icon svg {
    width: 12px;
    height: 12px;
    fill: #bdbdbd;
    -webkit-transition: fill .3s;
    transition: fill .3s;
}
#editorial-bar .user-menu {
    width: 100%;
    min-width: 150px;
    background-color: #fafafa;
    position: absolute;
    right: 0;
    top: 50px;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24);
    display: none;
}
#editorial-bar .user-menu ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
#editorial-bar .user-menu ul li {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
}
#editorial-bar .user-menu ul li a {
    color: #444;
    padding: 15px 10px;
    display: block;
    text-decoration: none;
    font-size: 13px;
    -webkit-transition: all .3s;
    transition: all .3s;
}
#editorial-bar .user-menu ul li a:hover {
    background-color: #f3f3f3;
}
#editorial-bar.user-menu-opened {
    overflow: visible;
}
#editorial-bar.user-menu-opened .user-menu {
    display: block;
}
#editorial-bar .last-update-block {
    padding-top: 11px;
    font-size: 13px;
    line-height: 24px;
    text-align: center;
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis;
}
#editorial-bar .last-update-block .last-update-date, #editorial-bar .last-update-block .last-update-user-nickname {
    font-weight: 500;
    -webkit-text-stroke: 0;
}
#editorial-bar .cache-title {
    float: right;
    line-height: 45px;
    margin-right: 10px;
    font-size: 13px;
    text-transform: uppercase;
}
#editorial-bar.logging-out .container {
    opacity: 0;
    pointer-events: none;
}
#editorial-bar.logging-out:after {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    content: "Logging out from CMS";
    color: #bdbdbd;
    font-size: 13px;
    text-align: center;
    padding: 19px;
}
  
@media (max-width: 1020px) {
    #editorial-bar .hide-tablet {
        display: none;
    }
    #editorial-bar .col-user-actions {
        width: 315px;
    }
    #editorial-bar .user-avatar {
        margin-right: 0;
    }
}
@media (max-width: 640px) {
    #editorial-bar .hide-mobile {
        display: none;
    }
    #editorial-bar .btn {
        padding-left: 3px;
        padding-right: 3px;
    }
    #editorial-bar .btn-switch {
        padding: 0;
    }
    #editorial-bar .col-global-actions {
        width: 34px;
    }
    #editorial-bar .col-title {
        left: 46px;
    }
}
@media (max-width: 400px) {
    #editorial-bar .hide-xs {
        display: none;
    }
    #editorial-bar .col-user-actions {
        width: auto;
    }
    #editorial-bar .cache-title {
        display: none;
    }
}
@media (max-width: 320px) {
    #editorial-bar .user-block {
        margin-left: 6px;
        padding-left: 6px;
    }
}
