/* Base styles */
.ajax-block-product {
  text-align: left;
  margin-top: 15px;
}

.eshop-cart-area {
  display: none;
}

@media (max-width: 767px) {
  .row-fluid [class*=span], 
  .uneditable-input[class*=span], 
  [class*=span] {
    float: left !important;
  }

  .checkbox, .radio {
    padding-left: 2px !important;
  }

  .eshop-info-block h5 {
    font-weight: 500 !important;
  }

  div.eshop-next-nav, div.eshop-pre-nav {
    width: 50% !important;
    font-size: 0.8em;
  }
}

.btn:focus, 
.btn:active, 
.btn.active, 
.btn.disabled, 
.btn[disabled] {
  color: #add6f7 !important;
}

.tm-sidebar {
  min-width: 2px !important;
}

.img-polaroid {
  padding: 20px 0;
  background: #fff;
  border: none!important;
  -webkit-box-shadow: none!important;
  -moz-box-shadow: none!important;
  box-shadow: none!important;
}

.eshop-container h1 {
  color: #17428c;
}

.span12 p {
  text-align: left;
  background: none;
}

b {
  margin: auto 4px;
}

.eshop-buttons p {
  text-align: left;
}

.eshop-sub-categories-list .eshop-category-wrap {
  margin: 10px;
  height: 50px;
}

.eshop-sub-categories-list .eshop-category-wrap .eshop-info-block {
  background: #fff;
  height: 50px;
}

.eshop-sub-categories-list .eshop-category-wrap li {
  color: #17428c;
  list-style: none;
}

.ajax-block-product {
  margin-top: 15px;
}

.eshop-info-block {
  font-size: 0.85em;
  position: relative;
  text-align: left;
  padding: 0;
  background: #fff;
  box-sizing: border-box;
  display: block;
  width: 250px;
  height: 180px;
}

.eshop-info-block p {
  padding: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  transition: max-height 0.25s ease-in;
}

.eshop-info-block-toggle {
  height: 100%;
}

.iframe-text-container {
  display: flex;
  flex-direction: column; /* column kept as final version */
}

.cat-text-container {
  width: 100%;
  margin-right: 0;
}

.eshop-buttons {
  right: auto;
}

.eshop-info-block h5 {
  display: block;
}

#products-list .eshop-image-block, 
#products-list .eshop-info-block {   
  text-align: left;
}

p {
  text-align: left;
}

.eshop-product-show, 
.eshop-product-sorting {
  float: none;    
  margin: 10px 0;
}

.product-info .nav-tabs > li > a {
  border: none;
  padding: 0;
  margin-bottom: 1px;
}

.nav-tabs > li.active > a, 
.nav-tabs > li.active > a:hover, 
.nav-tabs > li.active > a:focus,
.nav-tabs > .active > a, 
.nav-tabs > .active > a:hover, 
.uk-tab > .uk-active > a {
  border: none;
}

.product-info .tab-content {
  border: none;
}

table.zebra thead tr td, 
table.zebra thead th {
  font-size: 0.7em;
}

tfoot {
  font-size: 0.8em;
}

a.pull-left, a.pull-right {
  font-size: 12px !important;
}

div.eshop-pre-nav {
  float: left;    
}

div.eshop-next-nav {
  float: right;
}

.eshop-next-nav, .eshop-pre-nav {
  margin-bottom: 20px;
}

.zebra th {
  text-align: left !important;
  height: 35px !important;
}

select, textarea, 
input[type="text"], 
input[type="password"], 
input[type="datetime"], 
input[type="datetime-local"], 
input[type="date"], 
input[type="month"], 
input[type="time"], 
input[type="week"], 
input[type="number"], 
input[type="email"], 
input[type="url"], 
input[type="search"], 
input[type="tel"], 
input[type="color"], 
.inputbox { 
  border: none;
}

/* eshop edit */
.eshop-categories-list .eshop-category-wrap, 
.eshop-sub-categories-list .eshop-category-wrap {
  padding-bottom: 20px;
  border: none;
}
/* end eshop edit */

.list .eshop-info-block {
  margin-bottom: 50px;
}

.uk-checkbox:not(:disabled), 
.uk-radio:not(:disabled), 
input[type=checkbox]:not([class*=uk-]):not(:disabled), 
input[type=radio]:not([class*=uk-]):not(:disabled) {
  margin-right: 5px;
}

.uk-checkbox, .uk-input, .uk-radio, .uk-select, .uk-textarea, .uneditable-input:not([class*=uk-]), input[type=checkbox]:not([class*=uk-]), input[type=color]:not([class*=uk-]), input[type=date]:not([class*=uk-]), input[type=datetime-local]:not([class*=uk-]), input[type=datetime]:not([class*=uk-]), input[type=email]:not([class*=uk-]), input[type=month]:not([class*=uk-]), input[type=number]:not([class*=uk-]), input[type=password]:not([class*=uk-]), input[type=radio]:not([class*=uk-]), input[type=search]:not([class*=uk-]), input[type=tel]:not([class*=uk-]), input[type=text]:not([class*=uk-]), input[type=time]:not([class*=uk-]), input[type=url]:not([class*=uk-]), input[type=week]:not([class*=uk-]), select:not([class*=uk-]), textarea:not([class*=uk-]){
  margin: unset;
}

.radio input[type="radio"], .radio-inline input[type="radio"], .checkbox input[type="checkbox"], .checkbox-inline input[type="checkbox"]{
  position: relative;
}

.btn-primary {
  background: #17428c;
  color: #fff;
  text-shadow: none;
  background-image: none;
}

.btn-primary:hover {
  background: #fff;
  color: #17428c;
  text-shadow: none;
}

.edocman-page-heading {
  color: #17428c;
}

/* To top button eshop */
.back-to-top {
  display: none;
  position: fixed; 	
  bottom: 10%;
  right: 5%;
  width: auto;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s ease-out;
  background-color: #17428cF5;
  color: #fff;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #fff;
  text-align: center;
}

@media only screen and (max-width: 1024px) {
  .back-to-top {
    position: inherit;
  }
}

.back-to-top:hover {
  background-color: #fff;
  color: #17428c;
}