/*
  Shopello ADMIN css
  */
form * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
h4 em {
  font-weight: normal;
  color: #111111;
}
.form-table {
  width: 100%;
}
.form-table.compact tr td {
  padding-right: 20px;
  width: auto;
}
.form-table.compact tr td:first-child {
  width: 200px;
}
.form-table.compact tr td label {
  display: inline-block;
  width: 200px;
}
.form-table.compact tr td input[type="text"] {
  max-width: 400px;
  width: 100%;
}
.form-table.compact tr td .sync_status em.valid {
  color: green;
}
.form-table.compact tr td .sync_status em.invalid {
  color: #cc0000;
}
.form-table.lists td input[type="text"] {
  width: 300px;
  max-width: 100%;
}
#preview_box {
  margin: 10px 0;
}
#preview_box .shopello_paging ul li a {
  padding: 2px 6px;
  border-right: 1px #ccc dotted;
  text-decoration: none;
}
#preview_box .shopello_paging ul li a:hover {
  background: #fefefe;
}
#preview_box .shopello_paging ul li.active a {
  font-weight: bold;
  cursor: default;
}
#preview_box .shopello_paging ul li.active a:hover {
  background: none;
}
#preview_box .shopello_paging ul li.disabled a {
  opacity: 0.7;
  background: none;
  cursor: default;
}
#preview_box .shopello_paging ul li:last-child a {
  border: none;
}
.leftcol {
  max-width: 30%;
  float: left;
  border-right: 1px #e0e0e0 solid;
  width: 250px;
  padding-right: 20px;
}
.filters .item {
  margin: 0.5em 0;
  padding: 0.6em 0;
  border-bottom: 1px #ccc solid;
  /*
	&.filter-categories {
	  ul ul {
		margin-left:20px;
		display:none;
	  }
	  & > ul {
	  display:block;
	  }
	}
	*/
}
.filters .item > * {
  max-width: 100%;
}
.filters .item h4 {
  margin: 0;
}
.filters .item .filter-hint {
  font-size: 11px;
}
.filters .item input:not([type="checkbox"]):not([type="radio"]),
.filters .item select,
.filters .item label,
.filters .item h4,
.filters .item textarea,
.filters .item button {
  margin-bottom: 0.5em;
}
.filters .item input:not([type="checkbox"]):not([type="radio"]),
.filters .item select,
.filters .item textarea,
.filters .item button {
  background: #f1f1f1;
  width: 100%;
  color: #111111;
}
.filters .item select {
  width: 100%;
}
.filters .item #save_button {
  margin-top: 10px;
}
.filters .item input,
.filters .item select,
.filters .item option,
.filters .item label {
  color: #111111;
}
.filters .item input[type="range"] {
  width: 100%;
}
.filters .item select {
  padding: 2px;
  line-height: 1.6em;
  height: 28px;
  vertical-align: middle;
}
.filters .item .colors input[type=radio].color {
  visibility: hidden;
  height: 1px;
  width: 1px;
  position: fixed;
  top: -200em;
  left: -200em;
}
.filters .item .colors input[type=radio].color + label {
  background: #f1f1f1;
  border: 1px solid #ffffff;
  line-height: 1.6em;
  height: 16px;
  width: 16px;
  margin: 2px;
  display: inline-block;
  outline: none;
  box-sizing: border-box;
  border-radius: 50%;
  border-radius: none;
  text-indent: -1000em;
  cursor: pointer;
  box-shadow: 0 -2px 2px rgba(0, 0, 0, 0.1) inset, 0 2px 2px rgba(255, 255, 255, 0.1) inset;
}
.filters .item .colors input[type=radio].color.vit + label {
  background: #ffffff;
  border-color: #cccccc;
}
.filters .item .colors input[type=radio].color.svart + label {
  background: #000000;
}
.filters .item .colors input[type=radio].color.gra + label {
  background: #666666;
}
.filters .item .colors input[type=radio].color.bla + label {
  background: #2f7dff;
}
.filters .item .colors input[type=radio].color.gron + label {
  background: #6ad600;
}
.filters .item .colors input[type=radio].color.gul + label {
  background: #ffea00;
}
.filters .item .colors input[type=radio].color.orange + label {
  background: #ff900c;
}
.filters .item .colors input[type=radio].color.rod + label {
  background: #ff0c0c;
}
.filters .item .colors input[type=radio].color.rosa + label {
  background: #fc23ff;
}
.filters .item .colors input[type=radio].color.lila + label {
  background: #a500fb;
}
.filters .item .colors input[type=radio].color[data-checked="true"] + label {
  box-shadow: 0 -2px 2px rgba(255, 255, 255, 0.1) inset, 0 2px 2px rgba(0, 0, 0, 0.1) inset;
  border: 3px rgba(255, 255, 255, 0.8) solid;
  position: relative;
}
.filters .item .colors input[type=radio].color[data-checked="true"] + label:before {
  display: none;
}
.filters .item.filter-sort select {
  width: 49%;
}
.filters .item.filter-categories .scrollable {
  max-height: 200px;
  overflow: auto;
  border: 1px #ccc solid;
  background: #f1f1f1;
  padding: 0.6em;
  border-radius: 3px;
}
.filters .item.filter-categories .scrollable a {
  color: #111111;
  cursor: pointer;
}
.filters .item.filter-categories .scrollable .row {
  width: 100%;
  text-indent: 0px;
  position: relative;
  margin: 0;
}
.filters .item.filter-categories .scrollable .row input[type="checkbox"] {
  position: absolute;
  top: 7px;
  left: 0;
}
.filters .item.filter-categories .scrollable .row label {
  margin: 0;
  text-indent: 0px;
  vertical-align: middle;
  color: #111111;
  padding-left: 1em;
  line-height: 18px;
  white-space: nowrap;
}
.filters .item .cb_list input {
  float: left;
  clear: left;
  vertical-align: middle;
  margin: 0 0.5em 0.5em 0;
}
.filters .cb_list label {
  float: left;
  clear: right;
  vertical-align: middle;
  margin: 0 0.5em 0  0;
}
.maincol {
  float: left;
  width: 70%;
  padding-left: 20px;
}
#sapi_api_endpoint,
#sapi_api_key {
  width: 350px;
}
.form-table.lists {
  background: white;
  border: none;
  border-radius: 3px;
}
.form-table.lists tr td {
  border-bottom: 1px #eee solid;
  padding: 0.6em;
}
.form-table.lists tr td .sc_name,
.form-table.lists tr td .sc_code {
  width: 100%;
}
.form-table.lists tr:last-child td {
  border: none;
}
.form-table.lists tr td:last-child {
  width: 50px;
  text-align: right;
}
#new {
  padding: 40px 0 0 0;
}
.wrap div.update-nag,
.wrap div.updated,
.wrap div.error {
  width: 100%;
  margin: 5px 0 15px;
  box-sizing: border-box;
}
.wrap .update-nag p {
  margin: 0;
}
.swp_modal {
  display: block;
  position: fixed;
  margin-left: -200px;
  margin-top: -40px;
  left: 50%;
  top: 50%;
  width: 400px;
  height: 80px;
  font-size: 16px;
  text-align: center;
  padding: 5px 20px;
  border: 10px solid #efe;
  background-color: #fff;
  z-index: 1002;
  border-radius: 3px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}
.swp_modal.loader {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border-width: 5px;
  border-color: white;
  margin-left: -35px;
  margin-right: -35px;
  padding: 4px 0 0 0;
}
.swp_modal #publishing-action {
  float: none;
  text-align: center;
}
.swp_modal #publishing-action .spinner {
  float: none;
  display: inline-block;
  width: 30px;
  height: 30px;
}
#test-spinner {
  float: none;
  display: inline-block;
  padding-top: 2px;
}
#test-spinner .spinner {
  text-align: left;
  float: none;
}
#test-spinner.working .spinner {
  display: block;
}
.settings_status {
  display: inline-block;
  float: none;
  padding-top: 4px;
}
.settings_status .good-label,
.settings_status .bad-label {
  display: none;
}
.settings_status.tested .good-label {
  display: none;
  color: green;
}
.settings_status.tested .bad-label {
  display: block;
  color: darkred;
}
.settings_status.tested.good .good-label {
  display: block;
}
.settings_status.tested.good .bad-label {
  display: none;
}
.hidden {
  display: none;
}
/*
	Resultatlista
 */
.shopello_result {
  clear: both;
  float: none;
  display: inline-block;
  width: 100%;
}
.shopello_result_title {
  margin: 0 0 10px 0;
  font-style: italic;
}
.clearfix {
  float: none;
  clear: both;
}
ul.shopello_product_list {
  max-width: 100%;
  width: 100%;
  padding: 0;
  list-style: none;
  margin: 0;
  float: left;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
ul.shopello_product_list li {
  width: 25%;
  list-style: none;
  margin: 0;
  float: left;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
ul.shopello_product_list li .product {
  padding: 10px;
  border: 1px #f9f9f9 solid;
  border-radius: 4px;
  margin: 1%;
  background: #fff;
  cursor: pointer;
  display: block;
  width: 98%;
}
ul.shopello_product_list li .product .product_image_wrap {
  padding: 0;
  height: 130px;
  text-align: center;
  vertical-align: middle;
  margin-bottom: 10px;
  line-height: 130px;
}
ul.shopello_product_list li .product .product_image_wrap img {
  height: auto;
  max-width: 100%;
  max-height: 100%;
  vertical-align: middle;
}
ul.shopello_product_list li .product .description {
  overflow: hidden;
  height: 40px;
}
ul.shopello_product_list li .product .price_wrap {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 18px;
  text-align: center;
}
ul.shopello_product_list li .product .price_wrap .price {
  color: #333;
  font-size: inherit;
}
ul.shopello_product_list li .product .price_wrap .price.sales {
  color: red;
}
ul.shopello_product_list li .product .price_wrap .price.old_price {
  text-decoration: strike-through;
  color: #999;
  font-size: 12px;
  margin-left: 10px;
}
ul.shopello_product_list li .product h3 {
  font-size: 14px;
  margin: 10px 0 5px 0;
  height: 18px;
  font-weight: bold;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
ul.shopello_product_list li .product .text {
  font-size: 12px;
}
ul.shopello_product_list li .product .checkout_button {
  padding: 0px;
}
ul.shopello_product_list li .product .checkout_button a {
  text-align: center;
  display: block;
  background: #ccc;
  border-radius: 3px;
  color: white;
  font-weight: bold;
  text-decoration: none;
  padding: 5px;
  font-size: 12px;
  text-transform: uppercase;
}
ul.shopello_product_list li .product a {
  color: #333;
  text-decoration: none;
}
ul.shopello_product_list li .product:hover {
  border-color: #ccc;
}
ul.shopello_product_list li .product:hover a {
  color: #4194c0;
}
ul.shopello_product_list li .product:hover .checkout_button a {
  color: #fff;
  background: rgba(65, 148, 192, 0.8);
}
ul.shopello_product_list li:last-child .product {
  margin-right: 0;
}
/*
	Sökfält
 */
.shopello_api.shopello_search {
  width: 100%;
  margin: 0 0 1em 0;
  clear: both;
  float: none;
  line-height: 1em;
}
.shopello_api.shopello_search label {
  display: inline-block;
  width: 100%;
  line-height: 20px;
  margin-bottom: 0.5em;
}
.shopello_api.shopello_search form {
  width: 100%;
  display: block;
  line-height: inherit;
  height: 3.2em;
  position: relative;
}
.shopello_api.shopello_search form input[type="text"] {
  padding-right: 80px;
  position: absolute;
  line-height: inherit;
  width: 100%;
  height: inherit;
}
.shopello_api.shopello_search form input[type="submit"] {
  line-height: inherit;
  position: absolute;
  right: 0px;
  top: 0px;
  padding: 5px 20px;
  height: inherit;
  text-align: center;
  display: block;
  background: #4194c0;
  border-radius: 0 3px 3px 0;
  color: white;
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
}
.shopello_result_message {
  padding: 0 0 1em 0;
  width: 100%;
  border-bottom: 1px #eee solid;
  margin-bottom: 1em;
}
.shopello_paging {
  width: 100%;
  text-align: center;
}
.shopello_paging .pagination {
  margin: 10px 0;
}
.shopello_paging .pagination li {
  display: inline-block;
}
