body {
  font-family: 'articulat-cf', sans-serif;
  font-size: 14px;
  padding: 0px;
  margin: 0px;
  color: #090909;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  line-height: 140%;
}

h1, h2, h3, h4, h5, strong, b {
  font-family: 'articulat-heavy-cf', sans-serif;
  font-weight: 500;
  letter-spacing: -0.65px;
  margin-top: 26px;
  margin-bottom: 12px;
}

h1 {
  font-size: 24px;
  color: #3f3f3f;
}

h2 {
  margin-top: 16px;
  margin-bottom: 12px;
  font-size: 20px;
  color: #3f3f3f;
}


a {
	color: #006db7;
	text-decoration: none;
	cursor: pointer;
}

a:hover {
	text-decoration: underline;
}


.blue:hover {
	background-color: #407ec9;
	color: #fafafa
}

.orange:hover {
	background-color: #fd8024;
	color: #fafafa;
}

.gray:hover {
	background-color: GrayText;
	color: #fafafa;
}

.yellow:hover {
	background-color: #ffcf00;
	color: #666;
}

.yellow:hover .fa {
	color: #333 !important;
}


::placeholder {
  color: #999;
}

::-webkit-input-placeholder { /* edge */
  color: #999;
}



/* FORM */

label {
	padding: 4px 0px;
  display: inline-block;
  cursor: pointer;
  }


input[type=text], input[type=email], input[type=password], select, textarea {
	padding: 10px;
	border: 1px solid #ccc;
	font-family: 'articulat-cf', sans-serif;
	font-size: 15px;
	border-radius: 2px;
}

input[type=text]:focus, input[type=email]:focus, input[type=password]:focus, select:focus, textarea:focus {
  background-color: #fdfcff;
  box-shadow: 0 0 0 1px #999;
  border: 1px solid #666;
  outline: none;
}

input[type=checkbox], input[type=radio] {
	width: 18px;
	height: 18px;
	position: relative;
	cursor: pointer;
}

input[type=button], input[type=submit], input[type=reset], button {
	font-family: 'articulat-cf', sans-serif;
	font-size: 15px;
	font-weight: 500;
	color: white;
	text-decoration: none;
	background-color: #407dc8;
	border: 1px solid #407dc8;
	border-radius: 6px;
	padding: 12px 12px 8px;
	margin: 0px 4px 0px 0px;
	transition: 0.2s;
	cursor: pointer;
}

input[type=button]:hover, input[type=submit]:hover, input[type=reset]:hover, button:hover {
	background-color: #4e4e4e;
	border: 1px solid #4e4e4e;
}


.button-alt {
  background-color: GrayText;
  border: 1px solid #4e4e4e;
}

.button-alt:hover {
  background-color: #4e4e4e;
}

.button-alt2 {
	background-color: #ffcf00;
	border-color:#edbe0e;
}

.button-alt2:hover {
  background-color: #edbe0e;
}

.button-smaller {
  padding: 7px 8px 5px;
  font-size: 13px;
  /*float: right;*/
}

.button-smaller-alt {
  padding: 7px 8px 5px;
  font-size: 13px;
  background-color: GrayText;
  border: 1px solid #4e4e4e;
  float: right;
}

.button-smaller-alt:hover {
  background-color: #4e4e4e;
}

.button-smaller-alt2 {
  padding: 7px 8px 5px;
  font-size: 13px;
  background-color: #ffcf00;
  color: black;
  border: 1px solid #edbe0e;
}

.button-smaller-alt2:hover {
  background-color: #edbe0e;
}

.right {
	float: right;
	margin-left: 4px;
	margin-right: 0px;
}

.left {
	float: left;
	margin-right: 4px;
	margin-left: 0px;
}

.center {
	text-align: center;
}

/* do konternerów dla buttonów wywołujących akcje ajax */

.buttons-ajax {

}




#form input[type=text], #form input[type=email], #form input[type=password], #form select, #form textarea {
	width: 100%;
	box-sizing: border-box;
	margin: 6px 0px;
}

#form input[type=checkbox], #form input[type=radio] {
	width: 20px;
	height: 20px;
	top: 4px;
	margin-right: 10px;
}

#form label {
  padding: 18px 0 4px 0;
  display: inline-block;
  cursor: pointer;
  }



#item-search label {
  padding: 12px 0;
  display: inline-block;
  cursor: pointer;
}

#item-search input[type=text] {
  width: 85%;
  max-width: 460px;
  vertical-align: middle;
	padding: 12px;
	font-size: 16px;
	border-radius: 2px 0 0 2px;
}

#item-search button {
  margin: 0px;
  padding: 8.5px;
  vertical-align: middle;
  border-radius: 0 2px 2px 0;
	}

#item-search .button-smaller-alt {
	margin: 0px;
	margin-left: 4px;
  padding: 5px 6px !important;
  vertical-align: middle;
  border-radius: 2px;
	}

#item-search .question {
  margin-left: 8px;
  vertical-align: top;
}





/* TABLE WITH LISTS */

.table-select {

	margin-left: 8px;

}

.table-list {
  border-collapse: collapse;
  width: 100%;
  margin: auto;
  margin-top: 16px;
}

.table-list td {
  padding: 10px;
  border: 0px solid #ddd;
  font-size: 13px;
  text-align: left;
}

.table-list th {
  padding: 10px;
  padding-top:12px;
  border: 0px solid #ddd;
  font-size: 11px;
  background-color: GrayText;
  text-align: left;
  font-weight: bold;
  color: white;
  text-transform: uppercase;
  cursor: pointer;
  vertical-align: middle;
}

.table-list th.active {
  background-color: #407dc8;
  color: white;
}

.table-list .item-list-list th {
  background-color: #006db7 !important;
}

.table-list tr:not(:first-child) {border-bottom: 1px dotted #efefef; border-left: 1px dotted #efefef;}
.table-list tr:nth-child(even){background-color: #f6f6f6;}
.table-list tr:last-child {border-bottom: 1px solid #ccc;}
.table-list tr:hover {background-color: #e5f1fb;}

.table-list th:not(:first-child) {border-bottom: 1px dotted #efefef; border-left: 1px dotted #efefef;}

/*
#item-list td:nth-child(4) {text-align:right;}
*/


.list-deleted {
  background-color: #fff4f3 !important;
}

.list-exists {
  background-color: #f5feec !important;
}
.list-deleted:hover, .list-exists:hover  {
  background-color: #e5f1fb !important;
}


/* dla zbiorczych chceckboksów akcji na liście */
.item-list-checkbox, .action-alert {
}

.item-list-name {
    display: inline;
    margin-right: 3px;
    vertical-align: middle;
}
.item-list-ico {
    display: inline;
    padding-right: 3px;
}

.item-list-element {
    display: inline-block;
    margin-top: 3px;
}

.item-picture {
  width: 60px;
  height: 60px;
  padding: 0px;
  cursor: zoom-in;
}

.zoom-img {
  transition: transform .3s; /* animation */
  border: 1px solid #fff;
  padding: 0px;
}

.zoom-img:hover {
  transform: scale(1.8); /* (150% zoom - note: if the zoom is too large, it will go outside of the viewport) */
  border: 1px solid #f6f6f6;
  padding: 0px;
  position: relative;
  z-index: 2;
  background: white;
}

.notify, .notify-del {
	text-align: center !important;
}

/* dla pojedynczej akcji na liście */
.item-action {
 padding: 12px 0px;
}

.items-list-footer {
 padding: 12px 0px;
 text-align: left;
 width: 100%;
}

.items-list-footer label{
	padding: 6px 0px;
}

/* zbiorcze pod listą */
.items-list-actions {
  padding: 0px 6px 12px 6px;
}

.items-list-actions a {
	cursor: pointer;
	margin: 12px 16px 12px 0px;
	white-space: nowrap;
	}

.items-list-actions .fa {
  margin-right: 4px;
  margin-bottom: 16px;
  padding: 0px;
  position: relative;
  font-size: 17px;
}

/* legenda pod listą */
.list-legend {
  padding: 0px 6px 24px 6px;
  bottom: 32px;
}

.list-legend-info {
  display: inline-block;
  padding-right: 8px;
}

.list-legend-info .fa {
  margin-right: 2px;
  padding: 0px;
  position: relative;
  font-size: 17px;
  vertical-align: bottom;
}


/* nagłówek tabel */

.title-header {
	margin: auto;
}

H2.title-list {
	font-size: 22px;
}

.title-list .fa {
    font-size: 26px;
    margin: 0px;
    margin-right: 6px;
    margin-bottom: 8px;
    padding: 0px;
    color: #006db7;
    height: 28px;
    float: left;
}

.title-count {
    float: left;
    font-size: 16px;
    padding-top: 3px;
}

.title-buttons {
    padding: 0px 0px;
}





/* for new */
.badge-new::before {
 background-color: red;
 color: white;
 padding: 1px 3.5px;
 text-align: center;
 border-radius: 3px;
 font-size: 11px;
 content: "N";
 font-weight: bold;
}

/* for bestsellers */
.badge-bs::before {
  background-color: #ffd400;
  color: black;
  padding: 1.5px 4px;
  text-align: center;
  border-radius: 3px;
  font-size: 11px;
  content: "K";
  font-weight: bold;
}

/* for check in list */
.badge-check {
  background-color: #fd8024;
  margin: 1px -20px;
  padding: 1px;
  text-align: center;
  border-radius: 3px;
  position: absolute;
}





/* CONTAINERS */


#container {
  padding: 0px;
  margin-top: 80px;
}

.main {
  margin: 0px;
  padding: 0px;
  flex:1;
}

.greybox {
  width: 100%;
  padding: 0px;
  background-color: #efefef;
  border-bottom: 1px solid #e6e6e6;
  z-index: 1;
  margin-top: 55px;
  top: 0px;
  }

.content {
  max-width: 1240px;
  margin: auto;
  box-sizing: border-box;
  padding: 26px 0px;
  padding-bottom: 6px;

}

.content-table {
  max-width: 1240px;
  margin: auto;
  box-sizing: border-box;
  padding: 16px;
}

.footer {
  padding: 16px;
  margin-top: 16px;
  border-bottom: 1px solid #e6e6e6;
  background-color: #f6f6f6;
  bottom: 0px;
  width: 100%;
  box-sizing: border-box;
}

.forms {
  max-width: 800px;
  padding: 16px;
}



.filtr-system {
}

.filtr-system select {
	padding: 6px;
	vertical-align: middle;
}

.filtr-system label {
	padding: 12px 0;
	margin-right: 12px;
	vertical-align: middle;
}

.filtr-system input[type=checkbox] {
	margin: 1px;
	margin-right: 8px;
	width: 22px;
	height: 22px;
	top: -1px;
	vertical-align: middle;
}

.filter-ext {
	float: right;
	cursor: pointer;
	margin-top: 12px;
}

.filter-ext:hover {
	color: #006db7;
}

/*   DATE   */


.date-form {
	 font-family: 'articulat-cf', sans-serif;
	 font-size: 14px;
	 float :right;
	 margin-bottom: 8px;
}

.date-form label {
	 margin-left: 8px;
}

.date-form input[type=date] {
	padding: 10px;
	font-size: 16px;
	font-family: 'articulat-cf', sans-serif;
	font-size: 14px;
}


/* ICONS  */


.fa {
  font-size: 20px;
}

.fa-check-square {
  color: #fd8024;
}

.fa-sort {
  font-size: 14px;
}

.fa-sort-up {
  font-size: 14px;
  color: #ffcf00 !important;
}

.fa-sort-down {
  font-size: 14px;
  color: #ffcf00 !important;
}

.fa-check {
  color: white;
  font-size: 17px;
}

.fa-times {
  color: red;
}

.fa-square {
  color: ForestGreen;
  font-size: 16px;
}

.fa-check-circle {
  color: ForestGreen;
}

.fa-plus-square {
  color: GrayText;
  transition: 0.2s;
  padding: 12px;
}

.fa-trash, .fa-envelope, .fa-minus-square {
  color: #006db7;
  transition: 0.2s;
  padding: 12px;
}


.fa-chevron-circle-down, .fa-chevron-circle-up {
  color: LightGray;
  font-size: 28px;
  vertical-align: sub;
}

.fa-trash:hover, .fa-envelope:hover, .fa-plus-square:hover, .fa-minus-square:hover {
  color: #fd8024;
}

.fa-chevron-circle-down:hover, .fa-chevron-circle-up:hover {
  color: #006db7;
}


.fa-home {
  font-size: 24px;
  margin: -8px 2px;
  vertical-align: text-top;
}

.fa-picture-o, .fa-camera, .fa-camera-retro {
  font-size: 46px;
  color: LightGray;
  opacity: 0.5;
}

.button-smaller .fa, .button-smaller-alt .fa,
.button-smaller .fa:hover, .button-smaller-alt .fa:hover {
	font-size: 18px;
    color: #ffffff;
    padding: 0px;
}

.button-smaller-alt2 .fa, .button-smaller-alt2 .fa:hover {
	font-size: 18px;
    color: black;
    padding: 0px;
}


H1 .fa, H1 .fa:hover {
  font-size: 28px;
  color: #3f3f3f;
  padding: 0px;
  margin-right: 4px;
}

#item-search .fa-search {
  font-size: 26px;
}

#item-search .fa-refresh {
  font-size: 20px;
}


/* ICONS END */




/* ALERTS */

#response {
  /*max-width: 100%;*/
  margin: auto;
  padding-top: 6px;
  clear: both;
}

#response-modal {
  max-width: 100%;
  margin: auto;
  padding: 10px 0px;
}

.response-success {
  background-color: #e5f1fb;
  color: #006db7;
  padding: 10px;
  border: 1px solid #006db7;
  display: block;
  margin: 8px 0px 12px 0px;
}

.response-alert {
  background-color: #fff4f3;
  color: #cc0c2f;
  padding: 10px;
  border: 1px solid #cc0c2f;
  display: block;
  margin: 8px 0px 12px 0px;
}

.response-info {
  background-color: #fff5e5;
  color: #ec6e12;
  padding: 10px;
  border: 1px solid #ec6e12;
  display: block;
  margin: 8px 0px 12px 0px;
}

.tip-info {
  font-size: 14px;
  background-color: #ffcf00;
  color: #111;
  padding: 10px;
  border: 1px solid #ffcf00;
  display: block;
  text-align: justify;
}

.tip {
  clear: both;
  margin-top: 1px;
  border: 0px solid #ccc;
  padding: 0px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease-in-out;
}


/* ALERTS END */




.col-25 {
  float: left;
  width: 25%;
  margin-top: 6px;
}

.col-33 {
  float: left;
  width: 33%;
  margin-top: 6px;
}

.col-50 {
  float: left;
  width: 50%;
  margin-top: 6px;
}

.col-66 {
  float: left;
  width: 66%;
  margin-top: 6px;
}

.col-75 {
  float: left;
  width: 75%;
  margin-top: 6px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.row-buttons:before {
  padding-top: 20px;
  content: "";
  display: table;
  clear: both;
}



/*  NAVI TOP  */

.topnav {
  background-color: #fff;
  overflow: hidden;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1;
}

.topnav .menu {
  max-width: 1240px;
  margin: auto;
}

.topnav a {

  float: left;
  color: white;
  text-align: center;
  padding: 20px 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;

  color: #333;
  border-top: 5px solid #FFF;

  }


.topnav .active {
color: #407EC9;
border-color: #407EC9;
/*  text-decoration: underline;
  text-decoration-thickness: 3px;*/
}

.topnav a:hover {
color: #3A5DAE;
border-color: #3A5DAE;
/*  text-decoration: underline;
  text-decoration-thickness: 3px; */
}

.topnav a.brand {
padding: 16px 0px;
margin-right: 48px;
}
.topnav a.brand {
border: 0px;
}

.topnav a.split {
  float: right;
  background-color: #4e4e4e;
  color: white;
  padding: 12px;
  margin: 12px;
}

.topnav .icon-menu {
  display: none;
  float: left;
}

.topnav .icon-start {
  display: none;
  float: left;
}

.login-container {
  padding: 24px 24px;
  background-color: #eee;
  margin: 15% auto auto auto; /* 5% from the top, 15% from the bottom and centered */  border: 1px solid #888;
  width: 400px; /* Could be more or less, depending on screen size */
}

.login-navi {
  padding: 14px 0px;

}

.login-field {
  max-width: 300px;
  margin: 10px 0px;
}

.login-user {
  float: right;
  padding: 14px;
  color: #333;
}

.new-badge {
    position: absolute;
    padding: 2px 4px;
    border-radius: 10px;
    background: red;
    color: white;
    font-size: 12px;
    margin: -4px -4px;
    min-width: 10px;
    height: 14px;
}

.blueline {
background-color: rgb(64, 126, 201);
height: 32px;
margin-top: 40px;
}

/* TABS */

#filter-ext {
	margin-top: 8px;
	padding: 16px 0;
	border-top: 1px solid lightgray;
}

#filter-ext button {
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  font-size: 16px;
  width: 25% !important;
}

#filter-ext .tablink {
  background-color: #efefef;
  color: #777;
}
#filter-ext .tablink-active {
  background-color: #f7f7f7;
	color: black;
}

#filter-ext .tablink:hover {
  background-color: #006db7 !important;
  color: white;
}

.tabcontent {
  background-color: #f7f7f7;
  display: block;
  padding: 100px 20px;
  height: 100%;
}


/* MODALS */

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(255, 255, 255, 0.75);
  padding-top: 50px;
}

.modal-close {
  float: right;
  right: 35px;
  top: 15px;
  font-size: 40px;
  font-weight: bold;
  color: #f3f3f3;
}

.modal-close:hover,
.modal-close:focus {
  color: GrayText;
  cursor: pointer;
}

.modal-content {
  background-color: #f3f3f3;
  margin: 15% auto 15% auto;
  border: 1px solid #ccc;
  max-width: 520px;
}

.modal-header {
  padding: 1px 16px;
  background-color: #ffcf00;
  min-height: 48px;
}

.modal-body {
  padding: 16px;
}

.modal-footer {
  padding: 16px;
}

.modal-button {
  width:100%;
  background: none !important;
  border: 0px !important;
  text-align: left;
}

/* modals end */




/* OTHER */

#load{
	visibility: hidden;
    width: 100%;
    height: 50%;
    position: fixed;
    z-index: 1;
    background: url("/lego/images/719.png") no-repeat center center rgba(0,0,0,0)
}


.header-blue {
  color: #006db7;
}

.info {
	font-size: 13px;
}

.zoom {animation:animatezoom 0.4s}@keyframes animatezoom{from{transform:scale(0)} to{transform:scale(1)}}


.price::after {
	content: ""; /* zł */
}


.total {
	padding: 16px 0px;
	font-size: 14px;
	float: right;
}

.total-value {
	font-size: 22px;
	font-weight: bold;
}

.currency {
	font-size: 10px;
}


.update {
	font-size: 12px;
	margin: 6px 0px 12px 0px;
}

/* to top slide */
.up {
  display: none;
  padding: 0px 6px 20px;
  float: right;
}

.question {
  color: #ccc;
  margin-left: 6px;
}

.question:hover {
  color: #ec6e12;
  cursor: pointer;
}

.status-no {
	color: red;
}

.status-ok {
	color: ForestGreen;
}




/* Tooltip container */
.tooltip {
  position: relative;
  display: inline;
  padding-top: 4px;
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    background-color: #006db7;
    color: #fff;
    text-align: center;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 12px;
    position: absolute;
    z-index: 1;
    bottom: 120% !important;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
    width: 120px;
    left: 40%;
	transition-delay: 0.75s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -10px;
  border-width: 5px;
  border-style: solid;
  border-color: #006db7 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}



/* -------- RESPONSIVE --------- */


@media screen and (max-width: 600px) {

  body {
	font-size: 16px;
  }

  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 20px;
  }

  h1, h2, h3, h4, h5, strong, b {
    font-weight: 500;
    letter-spacing: -0.8px;
  }


  input[type=text], input[type=email], input[type=password], select, textarea {
	padding: 10px 6px;
	box-sizing: border-box;
	font-size: 16px;
  }

  #form input[type=checkbox], #form input[type=radio] {
	top: 1px;
  }

  #form label {
    padding: 18px 0 2 px 0;
  }



  #item-search input[type=text] {
    width: 75%;
  }

  #container {
	width: 100%;
	margin-top: 200px;
  }

  .col-25, .col-33, .col-50, .col-66, .col-75, input[type=submit] {
    width: 100%;
    margin-top: 0;
  }

  .content {
	padding: 8px;
    width: 100%;
    margin: auto;
  }

  .content-table {
	padding: 0px;
    width: 100%;
    margin: auto;
  }


  .fa-home {
    margin: -4px 2px;
    font-size: 26px;
  }

  .topnav.responsive .fa-home {
    font-size: 24px;
  }

  .fa-bars {
    font-size: 24px;
  }

  .topnav a {padding: 14px;}
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon-menu {
    font-size: 22px;
    float: left;
    display: block;
  }

  .topnav a.icon-start {
    padding: 18px 0px 16px 0px;
    float: left;
    display: block;
  }

  .topnav.responsive {
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 10;
  }

  .topnav.responsive .icon-menu {
	font-size: 22px;
  }
  .topnav.responsive a.icon-start {
    display: none !important;
  }

  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
	padding: 12px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .login-user {
    float: right;
    padding: 18px;
  }
  .login-container .login-field {
    max-width: 180px;
  }

  .list-legend-info {
	display: block;
    width: 100%;
	margin-top: 6px;
  }

  .title-list {
	font-size: 22px;
  }


  .price::after {
	content: "";
  }

  .new-badge {
	display: inline;
    margin: -1px 4px;
  }

  .item-picture {
    width: 50px;
    height: 50px;
  }

#filter-ext {
	margin-top: 8px;
	padding: 8px 0;
	border-top: 1px solid lightgray;
}

#filter-ext button {
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 7px 8px;
  font-size: 14px;
  width: 25% !important;
}


}