/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */
main {
  background-image: url(https://www.grindugama.lt/themes/topgridlistes/assets/img/bg_header_gg.jpg);
  background-repeat: repeat-x;
  background-position: 0 -15px;
  font-family: Arial,Helvetica,sans-serif;
}

p {
  line-height: 1.6;
}

a {
  color: #777777;
  text-decoration: none;
}

a:hover, a:focus {
  color: #515151;
  text-decoration: underline;
}

#_desktop_logo a {
  min-height: 51px;
  display: block;
  background-color: black;
  line-height: 51px;
}

#header {
  background: none;
  color: #484848;
}

#header .header-nav {
  background-color: #fff;
}

#header .menu,
#header .menu>ul>li {
  display: list-item;
  float: left;
  list-style: none;
  margin-left: 1px;
}

#header #top-menu li a {
  background: none repeat scroll 0 0 rgba(255, 255, 255, 0.6);
  border-bottom: 2px solid;
  color: #484848;
  display: block;
  font: 18px/22px Verdana, sans-serif;
  padding: 14px 13px 13px;
  text-transform: none;
}

#header #top-menu li.current a,
#header #top-menu li:hover a,
#header #top-menu li:active a {
  background-image: url(https://www.grindugama.lt/themes/topgridlistes/assets/img/menu_bg_slite.jpg);
  background-repeat: repeat;
  border-bottom: 2px solid;
}

#header #top-menu .sub-menu li a {
  background: none repeat scroll 0 0 rgba(255, 255, 255, 1);
  border-bottom: 1px solid;
  color: #484848;
  display: block;
  font: 16px/16px Verdana, sans-serif;
  padding: 10px 5px 6px;
  text-transform: none;
}

#header #top-menu ul[data-depth="0"] .sub-menu li.current a,
#header #top-menu ul[data-depth="0"] .sub-menu li:hover a,
#header #top-menu ul[data-depth="0"] .sub-menu li:active a {
  background-image: url(https://www.grindugama.lt/themes/topgridlistes/assets/img/menu_bg_slite.jpg);
  background-repeat: repeat;
}

#header #top-menu :not(ul[data-depth="0"]) .sub-menu li.current a,
#header #top-menu :not(ul[data-depth="0"]) .sub-menu li:hover a,
#header #top-menu :not(ul[data-depth="0"]) .sub-menu li:active a {
  background-color: #f1f1f1;
}

#header #top-menu :not(ul[data-depth="0"]) a {
  white-space: normal;
}

#header .header-top .menu {
  padding-left: 0px;
}

#header .header-top a[data-depth="0"] {
  text-transform: none;
}

.search-widget form input[type=text] {
  border: none;
  padding: 10px;
  min-width: 255px;
  color: #7a7a7a;
  border: 1px solid rgba(0, 0, 0, .25);
  border-bottom: 2px solid black;
  height: 51px;
}

.search-widget form button[type=submit] {
  background: #333333;
  display: block;
  position: absolute;
  bottom: 0;
  top: 0;
  right: 0;
  border: none;
  color: white;
  width: 50px;
  text-align: center;
  padding: 12px 0 13px 0;
}

#wrapper {
  background: #ffffff;
  box-shadow: none;
  padding-top: 15px;
}

.footer-container {
  background-color: #333333;
  border-top: 5px solid rgba(255, 255, 255, 0.6);
}

.footer-container .h3,
.footer-container .h3 a {
  font: 600 18px/22px Verdana, sans-serif;
  color: white !important;
  margin: 0 0 20px 0;
  text-transform: none;
}

.footer-container li {
  color: #7a7a7a;
  font-size: .875rem;
  font-weight: bold;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4);
}

.footer-container li a {
  cursor: pointer;
}

.footer-container li a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-container .float-xs-right .material-icons {
  color: white;
}

.block-categories {
  box-shadow: none;
  background: none;
  padding: 0;
}

.block-categories .title_block{
  font: 600 18px/22px Verdana, sans-serif;
  color: #555454;
  background: rgba(255, 255, 255, 0.6);
  border-top: 5px solid #333333;
  text-transform: uppercase;
  padding: 14px 5px 17px 20px;
  margin-bottom: 0px;
}

.block-categories .category-sub-menu li[data-depth="0"]>a {
  margin: 0;
  font-weight: bold;
  color: #333333;
  display: block;
  font-size: 13px;
  line-height: 30px;
  padding: 0 30px 0 19px;
  border-bottom: 1px solid #d6d4d4;
}

.block-categories .active_category,
.block-categories li a:hover {
  background-image: url(https://www.grindugama.lt/themes/topgridlistes/assets/img/menu_bg_sslite.jpg);
  background-repeat: repeat;
}

.block-categories .category-sub-menu {
  border-top: 1px solid #d6d4d4;
  margin-top: 0;
}

.block-category.card,
.featured-products .card,
.page-header .card {
  border-top: 5px solid #333333;
  color: #555454;
  line-height: 19px;
  margin: 0 0 10px 0;
  box-shadow: none;
  border-left: none;
  border-bottom: none;
  border-right: none;
  min-height: auto;

  background-color: rgba(255, 255, 255, 0.6) !important;
  padding: 2px 0 10px 20px
}

.block-category .h1,
.featured-products .card .h2,
.page-header .card h1 {
  color: #555454;
  font: 600 30px/42px Verdana, sans-serif;
  margin: 5px 0 9px;
  padding: 0;
  text-align: left;
}

.breadcrumb {
  display: inline-block;
  padding: 0 11px;
  border: 1px solid #d6d4d4;
  font-weight: bold;
  font-size: 12px;
  line-height: 24px;
  min-height: 6px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

#wrapper .breadcrumb li {
  position: relative;
  padding-right: 10px;
  padding-left: 15px;
}

#wrapper .breadcrumb li a {
  color: #777777;
}

#wrapper .breadcrumb li a:hover {
  text-decoration: underline;
}

#wrapper .breadcrumb li:after {
  content: "";
}

#wrapper .breadcrumb {
  background: #f6f6f6;
}

#wrapper .breadcrumb li.with-after {
  background-color: #ffffff;
  display: inline-block;
}

#wrapper .breadcrumb li.with-after:after {
  display: inline-block;
  content: ".";
  position: absolute;
  right: -15px;
  top: -2px;
  width: 18px;
  height: 18px;
  background: white;
  border-right: 1px solid #d6d4d4;
  border-top: 1px solid #d6d4d4;
  border-radius: 2px;
  text-indent: -5000px;
  z-index: 1;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.breadcrumb .fa-home {
  height: 17px;
  vertical-align: sub;
  margin-left: 0px;
}

.tabs {
  box-shadow: none;
}

.tabs .nav-tabs {
  border: none;
}

.tabs .nav-tabs .nav-link {
  background: none repeat scroll 0 0 #fbfbfb;
  border: 1px solid #d6d4d4;
  color: #333333;
  font-family: Verdana, sans-serif;
  font-size: 12px;
  font-weight: 600;
  margin: 0 0 20px;
  padding: 10px 20px;
  position: relative;
  text-transform: none;
}

.tabs .nav-tabs .nav-link.active,
.tabs .nav-tabs .nav-link:hover {
  color: #fff;
  background: #333333;
  border-bottom-color: #000000;
}

.product-flags li.product-flag {
  background-color: #f13340;
}

.product-price {
  color: #333333;
}

.images-container .product-images>li.thumb-container {
   border: 1px solid #dbdbdb;
   display: inline-block;
   margin: 0 3px 3px 0;
}

.images-container .product-images>li.thumb-container>.thumb {
   margin: 0;
   border: 3px solid #ffffff;
}
.product-images>li.thumb-container>.thumb.selected,
.product-images>li.thumb-container>.thumb:hover {
  border-color: #dbdbdb;
}

.block-product-description {
   border-top: 3px solid #333333;
   margin: 15px 0 10px 0;
   box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, .1);
   border-left: none;
   border-bottom: none;
   border-right: none;
   padding: 10px 0 10px 10px;
}

#products .products,
.featured-products .products,
.product-accessories .products,
.product-miniature .products {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.mx--20px {
  margin-left: -20px;
  margin-right: -20px;
}

.with-box-shadow {
  box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, .2);
}

/* add media queries */
:not(.popover) .top-menu[data-depth="1"] {
  column-count: 1;
}

.top-menu .sub-menu ul[data-depth="1"]>li {
  float: none;
}

#main .page-cms h1,
#main .page-cms h2,
#main .page-cms h3,
#main .page-cms h4,
#main .page-cms h5 {
  color: #555454;
}

#main .page-cms li {
  color: #7a7a7a;
  list-style: disc;
  margin-left: 20px;
  line-height: 1.6;
}

#header, #header .header-top {
  background-color: transparent;
}

#search_widget form {
  width: 100%;
}

#search_widget form i {
  position: relative;
  padding: 0;
}

#search_widget form input[type=text] {
  min-width: inherit;
  width: 100%
}

#header #search_widget {
  float: right
}

@media (min-width:768px) {
  :not(.popover) .top-menu[data-depth="1"] {
    column-count: 2;
  }

  #search_widget {
    float: none
  }
  
  #search_widget form {
    margin: 0 auto
  }
  
  #search_widget form input[type=text] {
    min-width: inherit;
    background: #fff;
    border-radius: 0;
    padding-left: 8px;
    border-bottom: 2px solid #484848;
  }
}

@media (min-width: 992px) {
  :not(.popover) .top-menu[data-depth="1"] {
    column-count: 3;
  }

  #header #top-menu .sub-menu.level-0 {
    max-width: 500px;
    min-width: 500px;
    margin-left: 50%;
  }
  #header #top-menu :not(ul[data-depth="0"]) {
    max-width: 500px;
  }

  #search_widget {
    min-width: 8rem;
  }
}

@media (min-width: 1200px) {
  #header #top-menu li a {
    padding: 14px 20px 13px;
  }

  #search_widget {
    min-width: 16.5rem;
  }
}

@media (max-width: 576px) {
  .row {
    margin-left: 0;
    margin-right: 0;
  }

  #header #search_widget {
    width: 100%
  }
}

@media (max-width: 991px) and (min-width: 768px) {
  #search_widget form input[type=text] {
    display: none;
  }

  #header #search_widget {
    min-width: inherit
  }
}

.search-widget form button[type=submit] {
  height: 51px;
}

.pagination a {
  border-radius: 0;
  color: #777676;
  font-weight: 400;
}

.show-all {
  text-transform: none;
  background-color: #fff;
}

.pagination .current a {
  color: #000000;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
}

.pagination a:not(.previous):not(.next) {
  letter-spacing: normal;
}

#product-description-short p {
  color: #232323;
}

#custom-text {
  margin-bottom: 0;
  padding: 15px 0 0 0;
}