:root {
  --color-error: #f32b2a;
  --color-warning: #f57c00;
  --color-info: #1e88e5;
  --color-success: #558b2f;
  --color-baners: #7f9fbe;
  --color-default-bg: #314465;

  --baner-max-height: 250px;
  --panel-width: 380px;
}

body {
  font-family: Arial;
  margin: 0;
}

p {
  margin-block-start: 0;
  margin-block-end: 0;
}

.login-page {
  display: flex;
  flex-wrap: nowrap;
  height: 100vh;
  background-color: white;
}

.login-iframe {
  width: 100%;
  border-width: 0;
  height: 100%;
  background-color: white;
}

#main {
  flex: auto;
  background-size: 100% auto !important;
  background-repeat: no-repeat !important;
  display: block;
  position: relative;
}

#main.default {
  background: url(../img/bg.jpg) var(--color-default-bg);
}

.side {
  flex: 0 0 var(--panel-width);
  position: relative;
  padding: 1em;
  box-sizing: border-box;
  overflow-y: auto;
  font-size: 13px;
  background: #f5f5f5;
}

div.option > div.option {
  padding: 0 !important;
}

div.option {
  margin: 10px 0px;
  padding: 0 10px;
}

div.option a {
  text-decoration: none;
}

.form-group .control-label {
  display: none;
}

.form-group {
  text-align: center;
  margin: 10px 0px;
  padding: 0 10px;
  position: relative;
  box-sizing: border-box;
}

.form-control {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
}

.input.form-control:focus {
  outline: none !important;
}

input.form-control:-internal-autofill-selected,
input.form-control:-webkit-autofill {
  background-color: transparent !important;
}

div#kc-info-wrapper {
  margin: 10px 0px;
  padding: 0 10px;
}

.side a {
  color: inherit;
}

.dynamic-content {
  box-sizing: border-box;
  height: auto;
}

.description-container .dynamic-content {
  padding: 1em;  
}

.iframe-container .dynamic-content {
  height: calc(100% - 24px);
}

.dynamic-container {
  display: none;
  background: white;
  position: fixed;
  left: var(--panel-width);
  top: 0;
  bottom: 0;
  z-index: 2;
  overflow-y: auto;
  scrollbar-width: thin;
}

.description-container {
  animation: scaleX 0.3s ease-out;  
  transform-origin: left;
  width: var(--panel-width);
  background: #eeeeee;
}

.iframe-container {
  animation: none;
  width: calc(100% - var(--panel-width));
}

.dynamic-container.opened {
  display: block;
}

#langs {
  display: flex;
}

@media screen and (max-width: 768px) {
  .dynamic-container {
    left: 0;
    right: 0;
    width: 100% !important;
    min-width: 100% !important;
  }

  .side {
    width: 100%;
    flex: 1 0 100%;
  }

  #main {
    display: none;
  }

  .login-hint {
    max-width: 90vw;
    right: 10%;
    left: 10% !important;
    margin-top: -5px !important;
  }

  .login-hint:before {
    border-width: 0px 10px 15px 10px !important;
    border-color: transparent transparent #f6f6f6 transparent !important;
    left: 10px !important;
    top: -15px !important;
  }
}

#resetPasswordAllowed {
  display: none;
}
#kc-locale {
  position: absolute;
  height: auto;
  top: 0px;
  right: 0px;
  z-index: 2;
}
.login-header {
  position: absolute;
  top: 10px;
  right: 10px;
}
#kc-locale > #kc-locale-wrapper {
  display: flex;
}
#kc-locale > #kc-locale-wrapper > .kc-dropdown {
  margin: 0 auto;
}
.kc-dropdown-item:hover {
  opacity: 0.8;
}

.kc-dropdown-item {
  height: 32px;
  width: 32px;
  cursor: pointer;
}

.kc-dropdown-item.init {
  display: initial;
}

#langs.opened .kc-dropdown-item:not(.init) {
  display: block;
}

#langs.opened .kc-dropdown-item.init {
  display: none;
}

#langs.opened {
  display: block;
  background: whitesmoke;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  position: absolute;
  right: 0;
  top: 0;
  border-bottom-left-radius: 21px;
  border-bottom-right-radius: 21px;
  z-index: 1;
}

#langs.opened div.kc-dropdown-icon-selected {
  background: url(../img/done.png) no-repeat;
  width: 16px;
  height: 16px;
  float: right;
}

/*menu jezyka*/
#kc-locale .kc-dropdown-item {
  margin: 5px;
  z-index: 2;
}
#kc-locale .kc-dropdown-item:not(.init) {
  float: left;
  display: none;
}

.center {
  text-align: center;
}

.ehurtownia-title {
  display: flex;
  align-items: center;
  font-size: 32px;
  margin-bottom: 1em;
}

img#logoOfOwnerImg {
  margin-right: 5px;
  width: 40px;
  height: 40px;
}

img#logoOfCustomerImg.displayed {
  visibility: visible;
  transform: scale(1);
  transition: transform 0.25s ease-in;
}

img#logoOfCustomerImg {
  visibility: hidden;
  transform: scale(0.7);
  max-height: 150px;
  max-width: 80%;
  height: auto;
  width: auto;
}

.btn {
  cursor: pointer;
  border-radius: 2px;
  padding: 10px 0;
  border: none;
}

.btn:hover {
  opacity: 0.8;
}

.btn-large {
  width: 100%;
}
.checkbox > label {
  display: flex;
  align-items: center;
}

.btn-close-div {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  position: sticky;
  top: 1em;
  padding: 0 1em;
  box-sizing: border-box;
}

.btn-close-icon {
  background: url(../img/x.png) no-repeat;
  width: 24px;
  height: 24px;
  display: block;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.btn-close-icon:hover {
  transform: rotate(90deg);
}

.message-box {
  display: flex;
  align-items: stretch;
  border: 1px solid #ced4da;
  margin: 10px;
  border-radius: 0.25rem;
}

.message-prefix:after {
  left: 100%;
  top: 50%;
  border: solid transparent;
  content: ' ';
  position: absolute;
  border-left-color: #f32b2a;
  border-width: 7px;
  margin-top: -7px;
}

span.message-icon {
  width: 18px;
  height: 18px;
  background-size: contain;
}

/* error */
.message-prefix-error {
  background: var(--color-error);
}
.message-prefix-error:after {
  border-left-color: var(--color-error);
}
.message-box-error {
  border-color: var(--color-error);
}

/* warning */
.message-prefix-warning {
  background: var(--color-warning);
}
.message-prefix-warning:after {
  border-left-color: var(--color-warning);
}
.message-box-warning {
  border-color: var(--color-warning);
}

/* info */
.message-prefix-info {
  background: var(--color-info);
}
.message-prefix-info:after {
  border-left-color: var(--color-info);
}
.message-box-info {
  border-color: var(--color-info);
}

/* success */
.message-prefix-success {
  background: var(--color-success);
}
.message-prefix-success:after {
  border-left-color: var(--color-success);
}
.message-box-success {
  border-color: var(--color-success);
}

.message-prefix {
  flex: 0 0 50px;
  margin-right: 10px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.message-text {
  flex: 1 1 100%;
  padding: 10px;
}

input[type='checkbox'] {
  margin: 0 5px;
}

input#password-hint {
  position: absolute;
  top: 12px;
  right: 16px;
  background: url(../img/show.png);
  width: 16px;
  height: 16px;
  border: none;
  cursor: pointer;
}

input#password-hint:focus {
  outline: none;
}

input#password-hint.hide {
  background: url(../img/hide.png);
}

::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 10px;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  -webkit-border-radius: 10px;
  border-radius: 10px;
  background: #f32a2a;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}

::-webkit-scrollbar-thumb:window-inactive {
  background: #f32a2a;
}

::-webkit-scrollbar-track-piece {
  background-color: var(--color-info);
}

button#register-button{
  margin: 10px 0;
}

div.contact-form-div {
  margin-top: 5px;
}

img.side-baner {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

div#baner-container {
  width: 100%;
  max-height: var(--baner-max-height);
  position: absolute;
  bottom: 0;
}

.baner-container-slider {
  width: 100%;
  height: 100%;
  display: inline-flex;
  text-align: center;
  align-items: center;
  flex-direction: row;
  justify-content: center;
}

img.baner-container-image {
  position: relative;
  max-width: 100%;
  max-height: var(--baner-max-height);
  width: auto;
  height: auto;
  display: inline-block;
  animation: fade 1s ease-in-out;
}

img.baner-container-image-pointer {
  cursor: pointer;
}

.baner-container-button {
  height: 13px;
  width: 13px;
  border: white solid 2px;
  box-sizing: border-box;
  border-radius: 50%;
  cursor: pointer;
  margin: 5px;
}

.baner-container-button.active {
  background: white;
  border: none;
}

.baner-container-buttons-top {
  position: absolute;
  display: flex;
  top: 0px;
  width: 100%;
  z-index: 1;
  justify-content: center;
}

.baner-container-buttons {
  padding: 2px 5px;
  width: fit-content;
  display: flex;
  justify-content: center;
  background-color: var(--color-baners);
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

/* left baner */
div#id-baner {
  text-align: center;
}

.login-hint {
  position: fixed;
  left: calc(var(--panel-width) + 5px);
  background: #f5f5f5;
  z-index: 100;
  padding: 10px;
  margin-top: -45px;
  border-radius: 2px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.1);
}

.login-hint:before {
  content: "";
  border-style: solid;
  border-width: 10px 15px 10px 0;
  border-color: transparent #f6f6f6 transparent transparent;
  position: absolute;
  left: -15px;
  z-index: 1;
}

.btn-close-icon.login-hint-close {
  position: absolute;
  right: 10px;
}

.przycisk-szary{appearance: push-button;
    user-select: none;
    white-space: pre;
    align-items: flex-start;
    text-align: center;
    cursor: pointer;
    background-color: -internal-light-dark(rgb(239, 239, 239), rgb(59, 59, 59));
    box-sizing: border-box;
    border-width: 2px;
    border-image: initial;
    background: #efefef;
    font-weight: 300;
    padding: 10px !important;
    width: 100%;
}
.przycisk-szary:hover{
    opacity: 0.8;
}
.przycisk-szary *{
        font-weight: 300 !important;
}