.q-lr-diagnostic {
    background: #fff;
    left: 10px;
    top: 150px;
    font-size: 12px;
    position: fixed;
    z-index: 2000000;
    border: none;
    box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.2), 0 2px 16px 0 rgba(0, 0, 0, 0.1);
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
    width: 350px;
    max-width: 98vw;
    border-radius: 0;
    height: auto;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    overflow-x: hidden;
    display: none;
    font-family: sans-serif !important;
}
.q-lr-diagnostic * {
    font-family: sans-serif !important;
}

@media (min-width: 320px) {
    .q-lr-diagnostic {
        display: block;
    }
}

.q-lr-diagnostic a,
.q-lr-diagnostic a:hover,
.q-lr-diagnostic a:active,
.q-lr-diagnostic a:visited,
.q-lr-diagnostic a:focus {
    color: inherit;
    text-decoration: underline;
}

.q-lr-diagnostic h3 {
    margin: 0;
    margin-top: 10px;
    padding: 10px;
    border-top: 1px solid #666;
}

.q-lr-diagnostic.minimal {
    color: transparent;
    width: 50px;
    height: 50px;
    overflow: hidden;
    box-shadow: none;
    cursor: pointer;
    background: #fff;
}

.q-lr-diagnostic .row {
    pointer-events: none;
    box-sizing: border-box;
    margin-left: 10px !important;
    margin-right: 10px !important;
    padding: 5px 10px;
}

.q-lr-diagnostic>.row.positive.active {
    border: 2px dashed #22aa22;
}

.q-lr-diagnostic>.row.negative.active~.row.positive.active,
.q-lr-diagnostic>.row.positive.active~.row.positive.active {
    border: none;
}

.q-lr-diagnostic>.row.negative.active {
    border: 2px dashed #aa2222;
}

.q-lr-diagnostic>.row.negative.active~.row.negative.active {
    border: none;
}

.q-lr-diagnostic.minimal .row {
    opacity: 0;
}

.q-lr-diagnostic:after {
    width: 46px;
    text-align: center;
    content: "lang";
    color: #000;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transform: translateY(-200%);
    transform: translateY(-200%);
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
    opacity: 1 !important;
}

.q-lr-diagnostic.minimal:after {
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

.q-lr-diagnostic .closeCustom {
    position: absolute;
    top: -8px;
    left: 355px;
    font-size: 28px;
    font-weight: 200;
    cursor: pointer;
    font-family: "Benton Sans", "Helvetica", sans-serif !important;
    opacity: 0.9 !important;
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
    color: #fff;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    -webkit-user-select: none;
    /* Chrome all / Safari all */
    -moz-user-select: none;
    /* Firefox all */
    -ms-user-select: none;
    /* IE 10+ */
    user-select: none;
    /* Likely future */
    z-index: 4;
}

.q-lr-diagnostic .closeCustom:hover {
    opacity: 1 !important;
}

.q-lr-diagnostic.minimal .closeCustom {
    color: #222;
    top: 4px;
    left: 50px;
    -webkit-transform: translate3d(-100%, 0, 0) rotate(45deg);
    transform: translate3d(-100%, 0, 0) rotate(45deg);
}

.q-lr-diagnostic .row.diagnostic-row-header {
    position: relative !important;
    margin: 0 !important;
    background-color: rgba(0, 0, 0, 0.9) !important;
    color: #fff;
    padding: 10px 20px !important;
    z-index: 1;
    height: 50px;
}

.q-lr-diagnostic .row.diagnostic-row-header:before,
.q-lr-diagnostic .row.diagnostic-row-header:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(45deg,
        rgba(0, 0, 0, 0.25),
        rgba(0, 0, 0, 0.25) 15px,
        rgba(0, 0, 0, 0.2) 15px,
        rgba(0, 0, 0, 0.2) 30px);
    z-index: -1;
}

.q-lr-diagnostic .row.diagnostic-row-header:before {
    background: #000;
    /*background: -moz-linear-gradient(-60deg,
        #21dbaa 0,
        #21dbaa 4%,
        #00b4ef 34%,
        #01a7ec 41%,
        #0487e4 53%,
        #0768dd 62%,
        #5f1ae5 96%,
        #5f1ae5 100%);
    background: -webkit-linear-gradient(-60deg,
        #21dbaa 0,
        #21dbaa 4%,
        #00b4ef 34%,
        #01a7ec 41%,
        #0487e4 53%,
        #0768dd 62%,
        #5f1ae5 96%,
        #5f1ae5 100%);
    background: linear-gradient(120deg,
        #21dbaa 0,
        #21dbaa 4%,
        #00b4ef 34%,
        #01a7ec 41%,
        #0487e4 53%,
        #0768dd 62%,
        #5f1ae5 96%,
        #5f1ae5 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#21dbaa', endColorstr='#5f1ae5', GradientType=1);*/
    z-index: -1;
}

/* Infobar */

#lang-infobar.custom-infobar {
    -webkit-transition: max-height 750ms ease;
    -o-transition: max-height 750ms ease;
    transition: max-height 750ms ease;
    overflow: hidden;
    height: auto;
    max-height: 0;
    color: #FFF;
    background: #000;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 105;
}

#lang-infobar.custom-infobar.infobar-absolute{
    position: absolute;
}

.custom-infobar-inner {
    padding: 6px;
    z-index: 20;
    font-size: 15px;
    font-weight: 700;
    font-family: "Benton Sans", "Helvetica", sans-serif !important;
}

.custom-infobar-inner .infobar-content {
    position: relative;
    padding-right: 50px;
}

.custom-infobar-inner .infobar-content>span,
.custom-infobar-inner .infobar-content>button,
.custom-infobar-inner .infobar-content>a {
    color: inherit;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 5px 10px 5px 0;
}

.custom-infobar-inner .close-x {
    position: absolute;
    right: -18px;
    width: 28px;
    line-height: 26px;
    text-align: center;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    font-weight: 100;
    font-size: 40px;
    cursor: pointer;
    margin: 0;
}

.q-lr-diagnostic .q-xm-btn,
.custom-infobar-inner .q-xm-btn {
    font-size: 11px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    border: solid white 2px;
    border-radius: .6rem;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0;
    display: inline-block;
    line-height: 1;
    padding: 8px 9px 6px 9px !important;
    vertical-align: middle;
    cursor: pointer !important;
    -webkit-transition: all 200ms ease;
    transition: all 200ms ease;
}

.q-lr-diagnostic .q-xm-btn,
.custom-infobar-inner .q-xm-btn.q-xm-btn-white.q-secondary {
    color: #000;
    background: #FFF;
}

.q-lr-diagnostic .q-xm-btn,
.custom-infobar-inner .q-xm-btn.q-xm-btn-white,
.q-lr-diagnostic .q-xm-btn,
.custom-infobar-inner .q-xm-btn.q-xm-btn-white.q-secondary:hover {
    background: #000;
    color: #FFF;
}

.q-lr-diagnostic .q-xm-btn,
.custom-infobar-inner .q-xm-btn.q-xm-btn-white:hover {
    background: #FFF;
    color: #000;
}

.custom-infobar-inner .q-xm section {
    opacity: 1;
}

.custom-infobar-inner .q-xm section .messaging {
    line-height: 1.2;
    display: inline-block;
    padding-bottom: 0;
    padding-right: 26px;
}

#lang-infobar.custom-infobar:not(.active) {
    display: none;
}

/*#lang-infobar.custom-infobar .q-xm-btn {
	margin: 2px 0 8px 0;
}
*/
.custom-infobar-inner .q-xm section .q-xm-btn-white {
    border: none;
}

#lang-infobar.custom-infobar.active~#page #main-nav {
    position: relative !important;
}

@media(min-width:768px) AND (max-width:1023px) {
    #lang-infobar.custom-infobar.infobar-absolute .custom-infobar-inner .infobar-content{
        padding-right:0!important;
    }
    #lang-infobar.custom-infobar .custom-infobar-inner .close-x{
        right:-27px;
    }
}
@media(max-width:640px) {
    #lang-infobar.custom-infobar.infobar-absolute .custom-infobar-inner .infobar-content{
        padding-right:0!important;
    }
    #lang-infobar.custom-infobar .custom-infobar-inner {
        font-size:12px;
        min-height:50px;
    }
    #lang-infobar.custom-infobar .custom-infobar-inner .q-xm-btn{
        font-size: 10px!important;
        padding:5px 6px 4px 6px!important;
        margin:0!important;
        margin-right:2px!important;
        margin-bottom:2px!important;
    }
}
@media(max-width:639px) {
    #lang-infobar.custom-infobar .custom-infobar-inner .infobar-content > span.messaging{
        width:100%!important;
        display:block!important;
    }
}