﻿body {
  height: auto;
}

.top-navigation .navbar-brand {
  background: url(/content/_customization/springos/images/logo-springos.svg) no-repeat;
  background-position: center;
  background-size: contain;
  height: 55px;
  width: 200px;
  margin-left: 5px;
  padding: 0px;
}

.ibox-footer {
  height: 36px;
}

.position-kontrahent-kod {
  position: relative;
}

#x-partial-cart-mini .fa-shopping-cart {
  font-size: 2.2em;
  margin-top: 6px;
}

.checkbox label {
  padding-left: 0;
}

.amount-margin-top {
  margin-top: 4px;
}

#x-form-av {
  margin-left: 10px;
}

.kontrahent-kod-style {
  position: absolute;
  color: #163e73;
  top: 30px;
  left: 0;
  text-align: center;
  right: 0;
  display: flex;
  justify-content: center;
}
.kontrahent-kod-style b {
  max-width: 130px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
}

.x-input-name {
  padding-left: 5px;
}

.springos__footer {
  background-color: rgb(4, 4, 4);
}
.springos__footer--title {
  margin-top: 12px;
  color: white;
  text-transform: uppercase;
}
.springos__footer--content {
  color: #bcbcbc;
  margin-bottom: 10px;
}
.springos__footer--content p, .springos__footer--content a {
  margin: 0 0 2px;
}
.springos__footer--content i {
  margin-right: 5px;
}
.springos__footer--text {
  width: 300px;
  color: #bcbcbc;
  margin-bottom: 10px;
}
.springos__footer--text p, .springos__footer--text a {
  margin: 0px 5px 2px;
}
.springos__footer--link {
  color: #bcbcbc;
}
.springos__footer--link:hover {
  color: #bcbcbc;
}
.springos__footer--boxlink {
  line-height: 1.6;
}

#wrapper {
  overflow: hidden;
}

#page-wrapper {
  padding: 0px;
  height: auto;
  min-height: auto;
}
#page-wrapper .wrapper {
  min-height: calc(100vh - 215px);
}

.footer {
  min-height: 215px;
  position: relative;
}

.middle-box {
  min-height: 460px;
  padding: 10px 20px !important;
  background: rgba(255, 255, 255, 0.7);
  position: relative;
}

.panel-lang-box {
  position: absolute;
  top: 4px;
  right: 15px;
}
.panel-lang-box img {
  height: 15px;
  width: auto;
  padding: 2px;
}

body.login-bg {
  background-image: url("https://springos.pl/wp-content/uploads/2021/07/Springos-e-commerce.jpg");
  box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.5);
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.no-image-style {
  max-height: 300px;
  max-width: 300px;
  text-align: center;
  margin: 0 auto;
  float: none;
  width: 100% !important;
}

body .ibox-title {
  padding-bottom: 0;
}

.slider {
  padding: 20px 55px 5px 55px;
}

.category {
  padding: 20px 40px 20px 40px;
  min-height: 600px;
}
.category--item {
  height: 100% x;
  margin: 15px;
  position: relative;
  cursor: pointer;
}
.category--item img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
}
.category--item .img-dark {
  opacity: 0;
  transition: opacity 0.35s;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.category--item .img-dark .img-dark-title {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  color: white;
  text-transform: uppercase;
  padding: 0 10px;
}
.category--item .img-dark .img-dark-subtitle {
  font-size: 11px;
  text-align: center;
  color: #ddd;
  text-transform: uppercase;
  margin: 0 auto;
  display: block;
  padding: 0px 10px;
}
.category--item:hover .img-dark {
  background-image: radial-gradient(farthest-corner, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
  opacity: 1;
  transition: opacity 0.35s;
}

.top-navigation .navbar-search-form input[type=text] {
  margin-top: 20px;
}

.top-navigation .navbar-search-form button[type=submit] {
  margin-top: 20px;
}

.x-filter-remove {
  top: 32px;
}

.page-heading {
  padding: 0 10px 5px 10px;
}

.marg-left-sort {
  margin-bottom: 10px;
}

.total-price-padding {
  padding: 0 10px 0 0;
}

.price-margin-top {
  margin-top: 10px;
  margin-bottom: 10px;
  width: 99px;
}

.x-cart-delete {
  display: inline-block;
  padding: 4px 0;
}
.x-cart-delete i {
  color: #CC0000;
}
.x-cart-delete i:hover {
  color: #CC0000;
}

.delete-btn-box {
  display: flex;
  justify-content: flex-end;
}

.x-rwd-hight {
  width: 100%;
}
.x-rwd-hight .x-right-margin, .x-rwd-hight .x-width {
  margin: 8px 5px;
}

.box-price-flex {
  display: flex;
  justify-content: end;
}
.box-price-flex h4 {
  text-align: right;
  margin-right: 10px;
}

.hr-logout {
  border-top: 1px solid #e7eaec;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  left: -160px;
  top: -1px;
}

.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

.dropdown-submenu:hover > a:after {
  border-left-color: #fff;
}

.dropdown-submenu.pull-left {
  float: none;
}

.dropdown-submenu.pull-left > .dropdown-menu {
  left: -100%;
  margin-left: 10px;
}

.img-flag {
  height: 12px;
}

.box-price-flex s, .box-price-flex h3 {
  display: block;
  text-align: right;
  margin-right: 10px;
}

.avililable-style {
  margin-right: 10px;
}

.x-towar-list {
  padding-left: 20px;
}
.x-towar-list li {
  list-style-type: none;
}

.product-images .slick-dots {
  bottom: -60px;
}

#x-cart-summary h2 {
  text-align: end;
}
#x-cart-summary .x-amount-summary {
  text-align: end;
  display: block;
}

.x-circle-ilosc {
  position: relative;
  top: -3px;
}

.available-box {
  border: 1px solid #ccc;
  text-align: center;
  border-radius: 3px;
  position: relative;
  width: 98px;
  font-size: 12px;
  cursor: pointer;
}
.available-box input {
  position: absolute;
  top: calc(50% - 10px);
  left: -6px;
}
.available-box label {
  font-weight: normal;
  margin: 0;
  padding: 4px 5px;
}

td.details-control {
  cursor: pointer;
}

#moje-adresy .tb-buttons {
  margin: 10px 0;
}

.btn-group-style {
  margin: 15px;
}

.dt-buttons {
  margin-bottom: 15px;
}

.dataTables_length {
  margin-bottom: 10px;
}

.choose__box {
  margin: 10px 0 25px 0;
}
.choose__box--item {
  border: 1px solid #9c9c9c;
  padding: 10px;
  height: 100%;
  width: 100%;
  cursor: default;
  display: flex;
  margin-bottom: 20px;
}
.choose__box--item.active {
  border: 2px solid #163e73;
  padding: 9px;
}
.choose__box--text {
  width: calc(100% - 38px);
}
.choose__box--text p {
  margin-bottom: 0;
  color: #9c9c9c;
  font-size: 12px;
}
.choose__box--input {
  margin-right: 10px;
}
.choose__box--input input {
  margin: 3px 0 0;
}

.ibox-content h2.margin-top-price {
  margin-top: -18px;
}

.x-towar-dostawa {
  margin-top: 15px;
  margin-bottom: 0;
  color: #163e73;
}

.import-box {
  display: grid;
  column-gap: 1em;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  margin-bottom: 15px;
}

.import-panel {
  margin: 40px 0px;
}
.import-panel h4 {
  margin-bottom: 20px;
}

.import-item {
  padding: 15px;
  border: 1px solid #ced4da;
  display: flex;
  align-items: center;
  gap: 8px;
}
.import-item input {
  margin: 0;
}

.import-item.active {
  border: 2px solid #163e73;
  padding: 14px;
}

.import-zone {
  display: none;
  max-width: 583px;
  height: 200px;
}

.import-zone.active {
  display: block;
}

.import-btn {
  margin-top: 20px;
}

body .loginscreen.middle-box {
  width: 380px;
  padding: 10px 40px !important;
}

.towar-small-box {
  height: 45px;
}

body .item-list-size {
  max-height: 160px;
  max-width: 160px;
  margin-bottom: 15px;
}

body .price-size {
  font-size: 15px;
}

body .swal-button {
  background-color: #163e73;
}
body .swal-button:not([disabled]):hover {
  background-color: #143766;
}
body .swal-button--cancel {
  background-color: #efefef;
}

body .field-validation-error {
  color: #dc3545;
}

body .label-rozliczenia {
  margin-right: 8px;
  margin-bottom: 10px;
}
body .label-rozliczenia input {
  margin: 0 0 0 8px;
}

body #page-wrapper .wrapper.normal-height {
  min-height: auto;
}

.count-relative {
  position: relative;
}

.added-items {
  position: absolute;
  font-size: 23px;
  top: 44px;
  right: 10px;
  z-index: 1;
}
.added-items i {
  color: black;
  padding: 0;
  margin: 0;
  height: 0;
  width: 0;
}

.x-zarzadzanie-adresami {
  font-size: 14px;
  font-weight: 700;
}

body #x-adres-wybor .select2-container {
  width: 100% !important;
}

body .tooltip-inner {
  min-width: 50px;
}

.margin-exclamation i {
  font-size: 60px;
  margin: 20px;
}

body .middle-box {
  max-width: 100%;
}

.delivery-box {
  margin: 20px 10px;
}

.rozliczenia-box-flex {
  display: flex;
  justify-content: space-between;
  gap: 0px 5px;
  flex-wrap: wrap;
}
.rozliczenia-box-flex .ibox-content {
  height: 82px;
}
.rozliczenia-box-flex .ibox {
  width: 18%;
  min-width: 190px;
}
.rozliczenia-box-flex .ibox h1.no-margins {
  font-size: min(3vw, 20px);
  font-weight: 500;
}

#email-token .field-validation-error {
  display: none;
}

body .nav li.lang-flex {
  display: flex;
}
body .nav li.lang-flex a {
  padding: 15px 9px;
}
body .nav li.lang-flex img {
  height: 13px;
  border: 1px solid #ccc;
}

.x-slick-slider {
  padding: 0 20px;
}
.x-slick-slider .slick-prev {
  left: 5px;
  z-index: 5;
  background: white;
}
.x-slick-slider .slick-next {
  right: 5px;
  z-index: 5;
  background: white;
}
.x-slick-slider .slick-slider-link {
  outline: none;
}
.x-slick-slider .slick-slider-item {
  padding: 15px 0;
  border-right: 1px solid #bbb;
  height: 175px;
  border-bottom: 1px solid #bbb;
  box-sizing: border-box;
}
.x-slick-slider .slick-slider-item img {
  margin: 0 auto;
  width: 80px;
  height: 80px;
}
.x-slick-slider .slick-slider-item h6 {
  text-align: center;
  color: #163e73;
  font-weight: 700;
  font-size: 13px;
  margin: 15px 10px;
}
.x-slick-slider .ibox-content {
  padding: 0;
}
.x-slick-slider .ibox-content .slick-slider {
  margin-bottom: 0;
}
.x-slick-slider .ibox-content .slick-slide > div {
  height: 175px;
}

.x-koszyk-towar .x-max-width-input {
  max-width: 100px;
}

.x-zamowienie-adresy .field-validation-valid {
  line-height: 0;
  display: none;
}
.x-zamowienie-adresy .error {
  margin-bottom: 0;
}

/*special*/
.carousel-control {
  width: 10%;
}

body .carousel-control .glyphicon-chevron-right, .carousel-control .icon-next {
  right: 40%;
}

body .carousel-control .glyphicon-chevron-left, .carousel-control .icon-prev {
  left: 40%;
}

.filtr-box-input label {
  margin: 0;
  margin-left: 8px;
}

.x-filtr-style {
  display: flex;
  justify-content: end;
}

@media (max-width: 991px) {
  .x-cart-delete {
    margin-bottom: 5px;
  }
}
@media (max-width: 767px) {
  .x-margin-bottom {
    margin-bottom: 15px;
  }
}
@media (min-width: 768px) and (max-width: 980px) {
  .top-navigation .nav > li a {
    padding: 15px 8px;
  }
  .top-navigation .navbar-brand {
    width: 45px;
    background-size: cover;
    height: 55px;
    background-position: left;
  }
}
@media (max-width: 767px) {
  .kontrahent-kod-style {
    text-align: left;
    margin-left: 35px;
    justify-content: flex-start;
  }
}
@media (max-width: 549px) {
  .x-panel-count {
    margin: 0 auto;
  }
  .slider {
    padding: 20px 10px 0px 10px;
  }
}
@media (max-width: 490px) {
  .koszyk-style-rwd {
    position: relative;
  }
  .koszyk-style-rwd .col-xs-9 {
    width: 100%;
    padding-top: 3px;
  }
  .koszyk-icon-rwd {
    position: absolute;
    left: 13px;
    top: -13px;
  }
  .koszyk-mini-ilosc {
    display: none;
  }
  .x-tooltip.widget {
    padding: 15px 20px 10px 20px !important;
  }
  .x-tooltip.widget .font-bold {
    font-size: 15px;
    margin-top: 5px;
    display: inline-block;
  }
  .koszyk-ilosc-circle {
    background-color: black;
    padding: 1px 4px;
    border-radius: 67%;
    width: 20px;
    display: inline-block;
    text-align: center;
    margin-right: 10px;
  }
  .top-navigation .navbar-search-form input[type=text] {
    margin-top: 16px;
  }
  .top-navigation .navbar-search-form button[type=submit] {
    margin-top: 16px;
  }
  .x-filter-remove {
    top: 28px;
  }
}
@media (max-width: 439px) {
  .x-rwd-hight {
    display: inline-block;
  }
}
@media (pointer: coarse) {
  body .navbar-nav .dropdown-submenu > .dropdown-menu {
    display: flex;
    top: 0px;
    position: absolute;
    border: none;
    left: 0;
    background: white;
    width: 100%;
  }
}
