html, body {
  height: 100%;
  margin: 0;
  padding: 0
}

body {
  background-color: white;
  color: #333333;
  margin: 0 auto;
  font-size: 12px;
  font-family: 'Open Sans', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  font-weight: 400;
  font-style: normal;
  position: relative;
  width: 100%;
  min-height: 100%;
}

p {
  line-height: 20px;
}

a {
  text-decoration: none;
  color: #fa6060;
}
a:hover {
  text-decoration: underline;
  color: #333333;
}


a.button {
  background-color: #fa6060;
  border-radius: 5px;
  color: white;
  padding: 5px 20px 6px 20px;
  margin-right: 5px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-transition-duration: 0.1s; /* Safari */
  transition-duration: 0.1s;
}
a.button:hover {
  background-color: #d9231c;
  color: white;
}

input, select, textarea {
  display: inline-block;
  outline: 0;
  border: 1px solid #D1D1D1;
  background-color: #ffffff;
  border-radius: 3px;
  padding: 8px;
  font-size: 13px;
  font-family: 'Open Sans', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  font-weight: 300;
  font-style: normal;
}

input:read-only {
  background-color: #F9F9F9;
}
.input_error {
  border-color: red !important;
}


input.button {
  background-color: #fa6060;
  border-radius: 5px;
  color: white;
  padding: 5px 20px;
  margin-right: 5px;
  margin-bottom: 5px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-transition-duration: 0.1s; /* Safari */
  transition-duration: 0.1s;
}
input.button:hover {
  background-color: #d9231c;
  color: white;
}

input.button_gray {
  background-color: #F3F3F3;
  border-radius: 5px;
  color: black;
  padding: 5px 20px;
  margin-right: 5px;
  margin-bottom: 5px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-transition-duration: 0.1s; /* Safari */
  transition-duration: 0.1s;
}
input.button_gray:hover {
  background-color: silver;
  color: black;
}

/* Własny checkbox */
.checkcontainer {
  display: inline-block;
  position: relative;
  margin-top: 7px;
  padding-left: 25px;
  line-height: 20px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
/* Hide the browser's default checkbox */
.checkcontainer input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
/* Create a custom checkbox */
.checkcontainer .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #eeeeee;
}
/* When the checkbox is checked, add a blue background */
.checkcontainer input:checked ~ .checkmark {
  background-color: #fa6060;
}
/* Create the checkmark/indicator (hidden when not checked) */
.checkcontainer .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
/* Show the checkmark when checked */
.checkcontainer input:checked ~ .checkmark:after {
  display: block;
}
/* Style the checkmark/indicator */
.checkcontainer .checkmark:after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}


.small-text             {font-size: 11px !important;}
.big-text               {font-size: 16px !important;}
.capitalized-text       {text-transform: capitalize !important;}
.content-center         {margin: 0 auto; padding: 0 !important;}
.float-left             {float: left !important;}
.float-right            {float: right !important;}
.align-left             {text-align: left !important;}
.align-right            {text-align: right  !important;}
.align-center           {text-align: center !important;}

/* Szerokości */
.width-20               {width: 20px;}
.width-25               {width: 25px;}
.width-30               {width: 30px;}
.width-35               {width: 35px;}
.width-40               {width: 40px;}
.width-50               {width: 50px;}
.width-60               {width: 60px;}
.width-70               {width: 70px;}
.width-80               {width: 80px;}
.width-90               {width: 90px;}
.width-100              {width: 100px;}
.width-110              {width: 110px;}
.width-120              {width: 120px;}
.width-150              {width: 150px;}
.width-200              {width: 200px;}
.width-250              {width: 250px;}
.width-300              {width: 300px;}
.width-350              {width: 350px;}
.width-400              {width: 400px;}
.width-450              {width: 450px;}
.width-500              {width: 500px;}
.width-700              {width: 700px;}
.width-2000             {width: 2000px;}
.width-20p              {width: 50%;}
.width-50p              {width: 50%;}
.width-90p              {width: 90%;}
.width-95p              {width: 95%;}
.width-100p             {width: 100%;}

.info-error {
  height: 20px;
  line-height: 20px;
  color: #ff0000;
}
.info-ok {
  height: 20px;
  line-height: 20px;
  color: #1E90FF;
}
.info-ok2 {
  height: 20px;
  line-height: 20px;
  color: #32CD32;
}



/* Formularze */
legend {
  font-size: 16px;
  font-weight: 300;
  padding-bottom: 5px;
  margin-bottom: 15px;
  border-bottom: 1px solid #e5e5e5;
  clear: both;
  width: 700px;
}

.icon_opened:before {
  vertical-align: -15%;
  display: inline-block;
  font: normal normal normal 1.33333333em/.75em FontAwesome;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  content: "\f106";
}
.icon_closed:before {
  vertical-align: -15%;
  display: inline-block;
  font: normal normal normal 1.33333333em/.75em FontAwesome;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  content: "\f107";
}

.form-row {
  min-height: 40px;
  clear: both;
  overflow: hidden;
}
.form-row-separator {
  height: 15px;
  clear: both;
}
.form-caption {
  float: left;
  padding: 2px 4px;
  font-size: 13px;
  font-weight: 500;
  min-height: 38px;
  line-height: 38px;
}
.form-input {
  float: left;
  padding: 2px 4px;
  min-height: 38px;
  line-height: 38px;
}
.form-input-select2 {
  float: left;
  padding: 7px 4px 2px 4px;
}


/* Nawigacja */
#nav-bar {
  float: left;
  width: 100%;
  top: 5px;
}

ul.navbar {
  display: block;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

ul.navbar li {
  position: relative;
  z-index: 5;
  display: block;
  float: left;
  margin: 0;
  padding: 0;
  border: 0;
}

ul.navbar>li>a {
  padding: 0 10px;
  margin: 0 auto;
  position: relative;
  display: block;
  height: 30px;
  line-height: 30px;
  color: black;
}

ul.navbar>li>a, ul.navbar>li>a:link, ul.navbar>li>a:visited, ul.navbar>li>a.active, ul.navbar>li>a:hover {
  font-size: 14px;
  font-weight: 500;
  font-style: normal;
  text-decoration: none;
  text-align: left;
  display: inline-block;
  vertical-align: middle;
  overflow: hidden;
}

ul.navbar>li>a.notfirst:before {
  font: normal normal normal 14px/normal FontAwesome;
  content: "\f105";
  position: relative;
  left: -5px;
}

ul.navbar>li>a.active {
  font-weight: 600;
}


/* Wrapper */
#mainwrapper {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  min-width: 1150px;
  max-width: 1850px;
}


/* Header */
#mainheader {
  background-color: white;
  height: 100px;
  width: 100%;
  min-width: 1150px;
  position: fixed;
  top: 0px;
  left: 0px;
  -webkit-box-shadow: 0 0 7px 4px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 0 7px 4px rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 7px 4px rgba(0, 0, 0, 0.3);
  z-index: 99;
}

#mainlogo {
  position: absolute;
  top: 10px;
  left: 10px;
}



/* MENU GŁÓWNE */
#menu-bar {
  position: absolute;
  right: 0;
  top: 50px;
  display: block;
}

ul.menubar {
  display: block;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

ul.menubar li {
  position: relative;
  z-index: 5;
  display: block;
  float: left;
  background: none;
  margin: 0;
  padding: 0;
  border: 0;
}

ul.menubar>li>a {
  padding: 0 12px;
  margin: 0 auto;
  position: relative;
  display: block;
  height: 37px;
  line-height: 37px;
  cursor: pointer;
  text-decoration: none;
  color: black;
  text-align: center;
}

ul.menubar>li>a, ul.menubar>li>a:link, ul.menubar>li>a:visited, ul.menubar>li>a.active, ul.menubar>li>a:hover {
  font-size: 16px;
  font-family: 'Open Sans', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  font-weight: 500;
  text-transform: uppercase;
  font-style: normal;
  text-decoration: none;
  text-align: left;
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow: hidden;
  letter-spacing: 0px;
}

ul.menubar>li>a:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  right: 50%;
  bottom: 0;
  background: #D52D28;
  height: 1px;
  -webkit-transition-property: left, right;
  transition-property: left, right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

ul.menubar>li>a:hover:before, ul.menubar>li>a.active:before {
  left: 15px;
  right: 15px;
}



/* Main content */
#maincontent {
  padding: 115px 10px 10px 10px;
  min-height: calc(100% - 165px);
  min-width: 1100px;
}
#maincontent:after {
  content: "";
  display: table;
  clear: both;
}

#col1 {
  float: left;
  width: 190px;
  padding: 5px;
}
#col2 {
  float: left;
  width: calc(100% - 410px);
  padding: 5px;
}
#col3 {
  float: left;
  width: 190px;
  padding: 5px;
}

#col1-modal {
  float: left;
  width: 10px;
}
#col2-modal {
  float: left;
  width: calc(100% - 20px);
  padding-top: 5px;
  padding-bottom: 5px;
}
#col3-modal {
  float: left;
  width: 10px;
}


/* Stopka */
#mainfooter {
  clear: both;
  height: 35px;
  width: 100%;
  min-width: 1100px;
  border-top: 1px solid rgba(0,0,0,0.1);
}

#foot1 {
  padding-top: 10px;
  padding-left: 10px;
  padding-right: 10px;
  float: left;
}



/* BOX */
.box {
  margin-bottom: 10px;
  background-color: #fff;
  border: 1px solid silver;
  border-radius: 7px;
}

.boxtitle {
  font-size: 14px;
  font-family: 'Open Sans', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  font-weight: 500;
  text-transform: uppercase;
  text-align: left;
  padding: 8px 10px 7px 15px;
  border-bottom: 1px solid #d9231c;
  background-color: #F3F3F3;
  border-radius: 7px 7px 0px 0px;
}
.boxtitle:before {
  font: normal normal normal 14px/normal FontAwesome;
  content: "\f105";
  position: relative;
  left: -5px;
}

.boxcontent {
  font-size: 13px;
  font-family: 'Open Sans', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  font-weight: 400;
  text-align: left;
  padding: 5px 5px 10px 9px;
}

.icon_opened:before {
  vertical-align: -10%;
  display: inline-block;
  font: normal normal normal 1.33333333em/.75em FontAwesome;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  content: "\f106";
}
.icon_closed:before {
  vertical-align: -10%;
  display: inline-block;
  font: normal normal normal 1.33333333em/.75em FontAwesome;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  content: "\f107";
}


/* Logowanie */
.box-login {
  position: fixed;
  top: 45%;
  left: 50%;
  margin-left: -175px;
  margin-top: -200px;
  width: 350px;
  padding-bottom: 47px;
}
.box-login-logo {
  padding: 10px;
}
.box-login-wide {
  position: fixed;
  top: 45%;
  left: 50%;
  margin-left: -225px;
  margin-top: -250px;
  width: 450px;
  padding-bottom: 47px;
}




/* Tabela zwykła */
.table {
  display: table;
  width: 100%;
  border: 1px solid silver;
}
.table_nofull {
  display: table;
  border: 1px solid silver;
}
.table_noborder {
  display: table;
  width: 100%;
}

.table-row-header {
  display: table-row;
  background-color: #F0F0F0;
}
.table-cell-header {
  display: table-cell;
  padding: 10px 5px ;
  text-align: center;
  font-weight: 500;
  border-right: 1px solid #ffffff;
  border-bottom: 1px solid #D52D28;
}
.table-cell-header-sortable {
  display: table-cell;
  position: relative;
  padding: 10px 5px;
  text-align: center;
  font-weight: 500;
  border-right: 1px solid #ffffff;
  border-bottom: 1px solid #D52D28;
}
.table-cell-header-sortable:before {
  font: normal normal normal 12px/normal FontAwesome;
  content: "\f0dc";
  position: absolute;
  left: 5px;
  top: 14px;
}
.table-cell-header > a, .table-cell-header-sortable > a {
}

.table-row-filters {
  display: table-row;
}
.table-cell-filters-noborder {
  display: table-cell;
  padding: 5px;
  text-align: center;
  vertical-align: middle;
}
.table-cell-filters {
  display: table-cell;
  padding: 5px;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid #f0f0f0;
}

.table-row, .table-row-nohover {
  display: table-row;
  transition: 0.2s;
}
.table-row:hover {
  background-color: #e0e0e0;
}
.table-cell {
  display: table-cell;
  padding: 10px 5px;
  vertical-align: middle;
}
.table-cell-vtop {
  display: table-cell;
  padding: 10px 5px;
  vertical-align: top;
}


/* Tabala flex-grid */
.flex-table {
}
.flex-table-inline {
  display: inline-flex;
  flex-direction: column;
  flex-wrap: nowrap;
}

.flex-table-header-row {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  background-color: #F0F0F0;
}
.flex-table-header-cell {
  padding: 10px 5px ;
  text-align: center;
  font-weight: 500;
  border-right: 1px solid #ffffff;
  border-bottom: 1px solid #D52D28;
}
.flex-table-header-cell-sortable {
  position: relative;
  padding: 10px 5px ;
  text-align: center;
  font-weight: 500;
  border-right: 1px solid #ffffff;
  border-bottom: 1px solid #D52D28;
}
.flex-table-header-cell-sortable:before {
  font: normal normal normal 12px/normal FontAwesome;
  content: "\f0dc";
  position: absolute;
  left: 5px;
  top: 14px;
}
.flex-table-header-cell > a, .flex-table-header-cell-sortable > a {
  color: white;
}

.flex-table-filters-row {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  padding: 5px;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid #f0f0f0;
}

.flex-table-row {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  transition: 0.2s;
}
.flex-table-row:hover {
  background-color: #e0e0e0;
}
.flex-table-row-2line {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  transition: 0.2s;
  min-height: 53px;
}
.flex-table-row-2line:hover {
  background-color: #e0e0e0;
}
.flex-table-cell {
  padding: 10px 5px;
  vertical-align: middle;
  border-right: 1px solid #ffffff;
}




/* Tabala - wspólne */
.row-odd, .cell-odd {
  background-color: #F7F7F7;
}
.row-status1, .cell-status1 {
  background-color: #bdf5bd;
}
.row-status2, .cell-status2 {
  background-color: #ffbeb3;
}
.row-clickable {
  cursor: pointer;
}
.row-noactive {
  color: silver;
}
.tablelink {
  color: #515151;
}
.tablelink:focus {
  outline: none;
}


/* Box - kategorie */
.box-kat {
}
.box-kat .thumbnail {
  margin-right: 5px;
  margin-bottom: 5px;
  padding: 10px;
  width: 270px;
  overflow: hidden;
  float: left;
  border: 1px solid silver;
  border-radius: 7px;
  cursor: pointer;
}
.box-kat .thumbnail:hover {
  border: 1px solid #D52D28;
}
.box-kat .img-container {
  height: 200px;
}
.box-kat .img-container img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  max-height: 200px;
  height: auto;
  position: relative;
}
.box-kat .caption-container {
  margin-top: 10px;
  margin-bottom: 10px;
  height: 30px;
  overflow: hidden;
  font-size: 18px;
  font-weight: 500;
  color: #333;
  text-align: center;
  text-transform: uppercase;
}


/* Lista towarów - inne*/
#imgpreview {
  position: absolute;
  border: 1px solid #FA6060;
  background-color: #FA6060;
  padding: 5px;
  display: none;
  color: white;
}

.plus-minus {
  display: inline;
}
.plus-minus-input {
  width: 25px;
  text-align: center;
  border-radius: 0px;
}

.button-minus {
  width: 20px;
  height: 33px;
  border-radius: 4px 0px 0px 4px;
  padding-bottom: 1px;
  border-left: 1px solid #e1e1e1;
  border-top: 1px solid #e1e1e1;
  border-bottom: 1px solid #e1e1e1;
  display: inline-block;
  text-align: center;
  font-size: 13px;
  text-decoration: none !important;
  letter-spacing: 1px;
  line-height: 34px;
  cursor: pointer;
  background-color: white;
  }
.button-minus:hover {
  background-color: #EEEEEE;
}
.button-minus:active {
  background-color: #CE0000;
  color: white;
}

.button-plus {
  width: 20px;
  height: 33px;
  border-radius: 0px 4px 4px 0px;
  padding-bottom: 1px;
  border-right: 1px solid #e1e1e1;
  border-top: 1px solid #e1e1e1;
  border-bottom: 1px solid #e1e1e1;
  display: inline-block;
  text-align: center;
  font-size: 13px;
  text-decoration: none !important;
  letter-spacing: 1px;
  line-height: 34px;
  cursor: pointer;
  background-color: white;
}
.button-plus:hover {
  background-color: #EEEEEE;
}
.button-plus:active {
  background-color: #009900;
  color: white;
}


/* Lista towarów - kafelki*/
.box-tow {
}
.box-tow .thumbnail {
  margin-right: 5px;
  margin-bottom: 5px;
  padding: 10px;
  min-width: 190px;
  overflow: hidden;
  float: left;
  border: 1px solid silver;
  border-radius: 7px;
}
@media screen and (min-width: 500px) {
  .box-tow .thumbnail {
    width: calc(100%/3 - 27px);
  }
}
@media screen and (min-width: 1320px) {
  .box-tow .thumbnail {
    width: calc(100%/4 - 27px);
  }
}
@media screen and (min-width: 1550px) {
  .box-tow .thumbnail {
    width: calc(100%/5 - 27px);
  }
}

.box-tow .thumbnail:hover {
  border: 1px solid #D52D28;
}
.box-tow .img-container {
  height: 100px;
}
.box-tow .img-container img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  max-height: 100px;
  height: auto;
  position: relative;
}
.box-tow .caption-container {
  margin-top: 20px;
  margin-bottom: 10px;
  height: 50px;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.2;
  color: #333;
  text-align: center;
}
.box-tow .caption-container a {
  color: #333;
}
.box-tow .price-container {
  margin-bottom: 10px;
  height: 32px;
  overflow: hidden;
  font-size: 22px;
  font-weight: 600;
  color: #333;
  text-align: center;
  line-height: 1;
}
.box-tow .unit-container {
  margin-bottom: 10px;
  height: 40px;
  overflow: hidden;
  font-size: 14px;
  color: #333;
  text-align: left;
  line-height: 18px;
  margin-left: 20px;
  width: calc(50% - 25px);
  float: left;
}
.box-tow .availability-container {
  margin-bottom: 10px;
  height: 40px;
  overflow: hidden;
  font-size: 14px;
  color: #333;
  text-align: right;
  line-height: 1;
  line-height: 18px;
  margin-right: 20px;
  width: calc(50% - 25px);
  float: right;
}
.box-tow .action-container {
  height: 60px;
  overflow: hidden;
  text-align: center;
}


/* Dostawy - rezerwacja */
.jm1 {
  display: none !important;
}
.jm1 + label {
  cursor: pointer;
}
.jm1:checked + label {
  color: red;
}
.jm1:checked + label img {
  content: url("../images/package_add.png");
}

.jm2 {
  display: none !important;
}
.jm2 + label {
  cursor: pointer;
}
.jm2:checked + label {
  color: red;
}
.jm2:checked + label img {
  content: url("../images/pair_add.png");
}
