:root {
    --mainColor: #FFFFFF;
    --lightBg: #f4f4f4;
    --leftColor: #37474F;
    --markedLeftColor: #263238;
    --blue500: #03A9F4;
    --blue50: #E3F2FD;
    --borderColor: #c8c8c8;
    --leftPanelWidth: 15em;
    --grey100: #666666;
    --grey500: #333333;
    --wpHeaderHeight: calc(2.5em - 1px);
    --disabledColor: #888888;
}

@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url('../font/MaterialIcons-Regular.woff2');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../font/Roboto-Regular.ttf');
}

html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    outline-width: 0em;
    overflow: hidden;
    touch-action: manipulation;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family:  'Roboto', Arial, Helvetica Neue, Helvetica;
    margin: 0;
    padding: 0;
    color: #222222;
    background-color: var(--leftColor);
    min-height: 100%;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    cursor: default;
    z-index: 0;
    transform: translate3d(0, 0, 0);
}

.shadowScreen {
    position: absolute;
    top: 0em;
    left: 0em;
    width: 100%;
    height: 100%;
    background-color: #000000;
    z-index: 99999999999999;
    opacity: 0.05;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-thumb {
    border-color: #777;
    background-color: #aaa;
}

::-webkit-scrollbar-thumb:hover {
    border-color: #777;
    background-color: #777;
}

::-webkit-scrollbar-track {
}

::-webkit-input-placeholder {
    font-style: italic;
    font-size: 90%;
}

input, textarea, select {
    font-family: 'Roboto', Arial, Helvetica;
    outline: none;
    -webkit-transition: border 150ms ease-out;
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 1.5em;
    /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    /*opacity: 0.9;*/
    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;
    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;
    /* Support for IE. */
    font-feature-settings: 'liga';
    background-color: inherit;
    will-change: color;
    transition: color 100ms ease-out;
}

#blockScreen {
    position: absolute;
    top: 0em;
    left: 0em;
    width: 100%;
    height: 100%;
    z-index: 999999999999999;
}

.loadScreen {
    position: absolute;
    top: 0em;
    left: 0em;
    background-color: #ffffff;
    width: 100%;
    height: 100%;
    z-index: 999999999999998;
}

.blockScreen {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.invisible {
    display: none;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.fw600 {
    font-weight: 600 !important;
}

.logoBeerx {
    background-image: url('../img/logo_bw.png');
    margin-top: 1.2em;
    margin-left: 3.2em;
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    height: 2em;
    overflow: visible;
    transform: translate(0em, 0em) rotate(0deg) scale(1);
    will-change: transform, opacity;
    opacity: 1;
}

.logoBeerxShort {
    transform: translate(-8.95em, -1.7em) rotate(-90deg) scale(0.75) !important;
}

#leftPanel {
    position: absolute;
    width: var(--leftPanelWidth);
    height: 100%;
}

#mainBox {
    position: relative;
    width: calc(100% - var(--leftPanelWidth));
    transform: translateX(var(--leftPanelWidth));
    height: 100%;
    background-color: var(--lightBg);
    will-change: width, transform;
    transition: width 0.18s cubic-bezier(0.1, 0.8, 0.5, 1), transform 0.18s cubic-bezier(0.1, 0.8, 0.5, 1);
    box-shadow: 0 0 5em 0 rgba(0, 0, 0, 0.2), 0 0 5px 0 rgba(0, 0, 0, 0.2);
}

.mainBoxShort {
    width: calc(100% - 3.6em) !important;
    transform: translateX(3.6em) !important;
    transition: width 0ms ease, transform 0.2s cubic-bezier(0.1, 0.8, 0.5, 1) !important;
    height: 100%;
    box-shadow: none !important;
}

.workPanel {
    position: relative;
    float: left;
    height: 100%;
    background-color: #fff;
    border-right: 1px solid var(--borderColor);
    overflow: hidden;
}

.workPanelHeader {
    position: absolute;
    top: 0em;
    left: 0em;
    width: 100%;
    height: var(--wpHeaderHeight);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 10px 0 rgba(0,0,0,0.2),0 1px 4px 0 rgba(0,0,0,0.25);
    z-index: 8000000000;
}

.workPanelContent {
    position: absolute;
    width: 100%;
    height: calc(100% - var(--wpHeaderHeight));
    top: var(--wpHeaderHeight);
    left: 0em;
    overflow-y: auto;
}

.workPanelHeaderContent {
    display: grid;
}

.grid_01 {
    grid-template-columns: 1fr;
}

.grid_02 {
    grid-template-columns: 1fr 1fr;
    grid-gap: 1em;
}

.grid_03 {
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 0.6em;
}

.grid_04 {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 0.4em;
}

.colorBlack {
    color: #333333 !important;
}

.arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    cursor: pointer;
    top: 0.5em;
    width: 1.5em;
    height: 1.5em;
    background-color: #ffffff;
    border-radius: 3px;
    color: var(--blue500);
    border: 1px solid #eeee;
    z-index: 99999999999;
}


.arrow:hover {
    background-color: var(--blue50) !important;
}

.arrow:active {
    border-color: var(--blue500);
}

.leftArrow {
    left: 0.5em;
}

.rightArrow {
    right: 0.5em;
}

.fullscreenWindow {
    position: fixed;
    top: 0em;
    left: 0em;
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    z-index: 10000000000000;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.modalWindow {
    background-color: #ffffff;
    border-radius: 0.6em;
    overflow: hidden;
}

#loginSheet {
    will-change: opacity;
    transition: 0.300s cubic-bezier(0.1, 0.8, 0.5, 1);
}

.op0 {
    opacity: 0;
}

.authWindow {
    font-size: 1.3em;
    width: 13.5em;
    padding: 1.5em;
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1);
}

.loginField {
    float: left;
    width: 100%;
    border-radius: 5px;
    height: 2.8em;
    padding: 0.5em 0.5em 0.5em 0.5em;
    font-size: 0.8em;
    margin-top: 0.8em;
    margin-bottom: 1.1em;
}

.pass {
    letter-spacing: 0.2em;
}

.loginFieldLabel {
    float: left;
    font-size: 0.65em;
    margin-top: -6.5em;
    margin-left: 0.9em;
}

.button {
    height: 2.5em;
    display: flex;
    border-radius: 5px;
    align-items: center;
    justify-content: space-around;
    padding-left: 1.2em;
    padding-right: 1.2em;
    cursor: pointer;
}

.bttn:active {
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.08) !important;
}

.bg_blue500 {
    background-color: var(--blue500);
}

.w100 {
    width: 100%;
    margin-left: 0px !important;
    margin-right: 0px !important;
}

.width100p {
    width: calc(100% - 2.4em) !important;
}

.textCenter {
    text-align: center !important;
}

.mb1_9em {
    margin-bottom: 1.9em;
}

.mr0_5em {
    margin-right: 0.5em;
}

.dif_color:hover {
    opacity: 0.9;
}

.cbBlock {
    margin-top: 0.8em;
    margin-bottom: 0.1em;
}

.cbBlock:last-of-type {
    margin-bottom: 0.8em;
}

.cbOff{
    color: var(--grey500);
    cursor: pointer;
    margin-right: -0.1em;
}

.cbOn {
    color: var(--blue500);
    cursor: pointer;
    margin-right: -0.1em;
}

.disabled {
    pointer-events: none !important;
    cursor: none !important;
    color: var(--disabledColor) !important;
}

.disabled .cbOn {
    color: var(--disabledColor) !important;
}

.disabled .cbOff {
    color: var(--disabledColor) !important;
}

.inputField {
    display: block;
    width: 100%;
    float: left;
    font-size: 1.05em;
    font-weight: normal;
    padding: 0.4em 0.3em 0.4em 0.3em;
    margin-bottom: 0.3em;
    outline-width: 0em;
    color: #333333;
    border: 1px solid var(--borderColor);
    border-radius: 3px;
}

.inputField:active, .inputField:focus {
    border-color: #333333;
}

select:focus {
    border-radius: 3px 3px 0px 0px !important;
}

/*h4 {*/
/*    display: block;*/
/*    float: left;*/
/*    width: calc(100% - 0.4em);*/
/*    font-size: 0.9em;*/
/*    color: #888888;*/
/*    font-weight: normal;*/
/*    margin-top: 0.8em;*/
/*    margin-left: 0.4em;*/
/*    margin-bottom: 0.4em;*/
/*    padding: 0;*/
/*    outline-width: 0em;*/
/*}*/

h4 {
    display: block;
    float: left;
    width: calc(100% - 0.4em);
    font-size: 0.9em;
    font-weight: normal;
    margin-top: 0.8em;
    margin-bottom: 0.4em;
    padding: 0;
    outline-width: 0em;
}

h3 {
    display: block;
    float: left;
    font-size: 1.1em;
    font-weight: normal;
    margin: 0;
    padding: 0;
    outline-width: 0em;
}

.cp {
    cursor: pointer;
}

.param {
    width: calc(100% - 1.4em);
    margin-left: 0.7em;
    margin-right: 0.7em;
    float: left;
}

.param h3 {
    font-size: 1.05em;
}

.cbBlock h4 {
    width: auto;
    margin-top: 0.16em;
}

.mainMenuItem {
    width: calc(100% - 1em);
    float: left;
    padding-left: 1em;
    padding-top: 0.85em;
    padding-bottom: 0.95em;
    color: #ffffff;
    opacity: 0.6;
}

.mainMenuItem:hover {
    background-color: var(--markedLeftColor);
}

.mainMenuItem:active {
    background-color: var(--markedLeftColor);
    opacity: 1 !important;
}

.mainMenuActive {
    background-color: var(--markedLeftColor);
    opacity: 1 !important;
}

.mainMenuItem h3 {
    margin-top: 0.3em;
    font-size: 1em;
}

#mainMenu {
    width: 100%;
    margin-top: 4em;
}

.content {
    position: absolute;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 0px;
}

.product {
    position: relative;
    float: left;
    width: calc(100% - 0.2em);
    margin-top: -1px;
    padding-left: 0.2em;
    padding-top: 0.1em;
    padding-bottom: calc(0.3em + 1px);
    min-height: 2em;
    background-color: #ffffff;
    border-top: 1px solid var(--borderColor);
}

.product:first-of-type {
    margin-top: 0px;
}

.product:last-of-type {
    border-bottom: 1px solid var(--borderColor);
}

.product:hover {
    background-color: #f8f8f8 !important;
}

.product:active {
    background-color: #eeeeee !important;
}

.productActive {
    z-index: 2000000000;
    padding-bottom: 0.3em;
    cursor: default;
    border-top: 1px solid #333333 !important;
    border-bottom: 1px solid #333333 !important;
    background-color: #eeeeee !important;
}

.productActive:last-child{
    z-index: 2000000000;
    padding-bottom: calc(0.3 + 1em);
    cursor: default;
    border-top: 1px solid #333333 !important;
    border-bottom: 1px solid #333333 !important;
    background-color: #eeeeee !important;
}

.productActive:hover {
    background-color: #eeeeee !important;
}

.iconButton {
    opacity: 1 !important;
    margin-right: 0.2em;
    cursor: pointer;
    color: var(--blue500);
}

.iconButton:hover {
    opacity: 0.9 !important;
}

.iconButton:active {
    opacity: 1 !important;
}

.productsEditPanel {
    position: relative;
    float: left;
    margin-left: -0.2em;
    width: calc(100% - 0.3em);
    padding-top: 0.5em;
    padding-left: 0.5em;
    height: 2em;
    background-color: #eeeeee;
    border-top: 1px solid var(--borderColor);
}

.productsEditPanel span {
    margin-right: 0.5em;
}

.productName {
    width: calc(100% - 4em);
    line-height: 1.5;
    font-size: 1em;
    margin-bottom: 0.5em;
    margin-top: 0.5em;
    margin-left: 0.5em;
    margin-right: 3.5em;
}

.activeProductItemArrow {
    position: absolute;
    right: 0em;
    top: 0em;
    height: 100%;
    width: 5.7em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activeProductItemArrowContent {
    width: calc(100% - 0.5em);
    float: left;
    margin-right: 0.5em;
}

.tagLine {
    float: left;
    width: calc(100% - 0.5em);
    margin-left: 0.5em;
    padding-bottom: 0.5em;
}

.tagLineItem {
    float: left;
    min-width: 1em;
    height: 1em;
    height: 1.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5em;
}

.tagLineItem span {
    font-size: 1em !important;
}

.tagLineItem .material-icons {
    opacity: 0.7 !important;
}

.colorIcon {
    font-size: 0.9em;
    padding: 0.1em;
}

.acronym {
    padding-left: 0.5em !important;
    padding-right: 0.5em !important;
    border-radius: 3px;
}


.lds-dual-ring {
    display: inline-block;
    width: 80px;
    height: 80px;
}

.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 64px;
    height: 64px;
    margin: 8px;
    border-radius: 50%;
    border: 6px solid var(--blue500);
    border-color: var(--blue500) transparent var(--blue500) transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
