#mainbanner {
  width: 753px;
  height: 400px;
  margin-bottom: 1em;
  overflow: hidden;
  position: relative;
}
#mainbanner ul {
  width: 753px;
  height: 400px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
}
#mainbanner ul li {
  width: 753px;
  height: 400px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
}
#maintext {
  margin-bottom: 1em;
}
#maintext ul {
  margin: 0 0 1em 0;
  padding: 0;
  list-style: none;
  height: 1.5em;
  overflow: hidden;
}
/* GALLERY */
#gallery {
  width: 753px;
  margin-top: 30px;
  background: #ffffff;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}
#gallery a {
  color: #472d1f;
}
#galleryTabs {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
  font-size: 1.3em;
}
#galleryTabs li {
  float: left;
  /*background-color: #E1C6AF;*/
  padding: 0;
}
#galleryTabs li div.tab {
  border-right: 1px solid #e6cdb8;
  padding: 0.4em 0;
}
#galleryTabs li.last div.tab,
#galleryTabs li.noborder div.tab {
  border-right: none;
  margin-right: 2px;
}
#galleryTabs li div.tab a {
  display: block;
  padding: 0.6em 6.9em 0.6em 6.9em;
}
/* Aktivna zalozka */
#galleryTabs li.active {
  background: #e6cdb8;
  margin-top: 0em;

  -moz-border-radius: 5px 5px 0 0;
  -webkit-border-radius: 5px 5px 0 0;
  border-radius: 5px 5px 0 0;
}
#galleryTabs li.active a {
  color: #be0602;
  font-weight: bold;
}
#galleryTabs li.active div.tab {
  border-right: none;
  margin-right: 2px;
}

#gallery div.sliderContainer {
  background-color: #e6cdb8;

  -moz-border-radius: 0 5px 5px 5px;
  -webkit-border-radius: 0 5px 5px 5px;
  border-radius: 0 5px 5px 5px;
}
#gallery div.sliderContainer-hide {
  position: absolute;
  top: 0px;
  left: -10000px;
}
/*#gallery div.sliderContainer-t {
	
}*/
#gallery div.sliderContainer-b {
  padding: 40px 0 40px 0px;
}
#gallery div.descr {
  padding: 0em 10px;
  width: 120px;
  float: left;
}
#gallery div.descr p {
  padding: 0em;
  margin: 0em;
}

#favorite {
  margin: 40px 0 0 0;
}
#favorite .fav-title {
  background-color: #f0e6db;
  float: center;
  margin-top: 0.3em;
  /*background: url("images/tabs-bg-active.png") no-repeat scroll left top #C20100;*/
  margin-top: 0;
  padding: 2em 1em 0.3em 5.8em;
  font-size: 1.7em;
  -moz-border-radius: 5px 5px 0 0;
  -webkit-border-radius: 5px 5px 0 0;
  border-radius: 5px 5px 0 0;
  font-weight: bold;
  text-transform: uppercase;
}
#favorite .fav-text {
  padding: 0 0 15px 0;
}
#favorite .fav-text p {
  margin: 0;
}
#favorite div.sliderContainer {
  background-color: #f0e6db;

  -moz-border-radius: 0 5px 5px 5px;
  -webkit-border-radius: 0 5px 5px 5px;
  border-radius: 0 5px 5px 5px;
}
#favorite div.sliderContainer-hide {
  position: absolute;
  top: 0px;
  left: -10000px;
}
/*#favorite div.sliderContainer-t {
	//background: url(images/slider-bgt.png) no-repeat left top;
}*/
#favorite div.sliderContainer-b {
  /*background: url(images/slider-bgb.png) no-repeat left bottom;*/
  padding: 20px 35px 10px 35px;
}

/* Slidery */
#gallery .slider {
  width: 580px;
  margin-left: 10px;
  margin-top: 15px;
  position: relative;
  font-size: 0.9em;
  float: left;
  min-height: 560px;
  _height: 540px;
}
#gallery .slider .move {
  display: none;
  width: 15px;
  height: 180px;
  background: url(images/slider-actions.png) no-repeat top left #e1c6af;
  position: absolute;
  top: 0px;
}
#gallery .slider .move a {
  display: block;
  width: 27px;
  height: 112px;
}
#gallery .slider .move a span {
  display: none;
}
#gallery .slider .move-left {
  left: 0px;
  background-position: 0px 0px;
}
#gallery .slider .move-left-disabled {
  background-position: 0px -180px;
}
#gallery .slider .move-right {
  right: 0px;
  background-position: -15px 0px;
}
#gallery .slider .move-right-disabled {
  background-position: -15px -180px;
}
#gallery .slider .sliderArea {
  width: 510px;
  height: 100%;
  overflow: hidden;
  position: absolute;
  top: 0px;
  left: 34px;
}

#gallery .slider .sliderArea .sliderContent {
  position: absolute;
  top: 0px;
  left: 0px;
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
}

#gallery .slider .sliderArea .sliderItem {
  width: 170px;
  float: left;
  text-align: center;
  position: relative;
  margin: 4px 0px;
}

#gallery .slider .sliderArea .sliderItem .title a {
  color: #005d9f !important;
}

#gallery .slider .sliderArea .sliderItem div.image {
  height: 122px;
  overflow: hidden;
  position: relative;
}
#gallery .slider .sliderArea .sliderItem div.image div.imageHolder {
  width: 170px;
  position: absolute;
  left: 0;
  bottom: 0;
}
#gallery .slider .sliderArea .sliderItem div.artist a {
  color: #a10c11;
}
/*zmena laci*/
#gallery .slider .sliderArea .sliderItem div.price {
  text-align: center;
  color: #44281c;
}
#gallery .slider .sliderArea .sliderItem div.price .amount {
  font-weight: bold;
}
#gallery .slider .sliderArea .sliderItem div.oldprice {
  text-align: center;
  color: #999999;
}
#gallery .slider .sliderArea .sliderItem div.oldprice .amount {
  text-decoration: line-through;
}
#gallery .slider .sliderArea .sliderItem div.icostar {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 87px;
  height: 87px;
}
#gallery .slider .sliderArea .sliderItem div.icostar-new {
  display: none;
}
#gallery .slider .sliderArea .sliderItem div.icostar-new span {
  display: none;
}
#gallery .slider .sliderArea .sliderItem div.icostar-sale {
  background: url(images/akcia1.png) no-repeat 100% 0;
}
#gallery .slider .sliderArea .sliderItem div.icostar-sale span {
  display: none;
}

#favorite .sliderItem {
  width: 170px;
  float: left;
  text-align: center;
  position: relative;
  margin-bottom: 20px;
}

/*Laci*/
#favorite .sliderItem .title a {
  color: #005d9f !important;
}

#favorite .sliderItem div.image {
  height: 122px;
  overflow: hidden;
  position: relative;
}
#favorite .sliderItem div.image div.imageHolder {
  width: 170px;
  position: absolute;
  left: 0;
  bottom: 0;
  margin: 0px 0px 8px 0px;
}
#favorite .sliderItem div.artist a {
  color: #a10c11;
}
#favorite .sliderItem div.price {
  text-align: center;
  color: #44281c;
}
#favorite .sliderItem div.price .amount {
  font-weight: bold;
}
#favorite .sliderItem div.oldprice {
  text-align: center;
  color: #999999;
}
#favorite .sliderItem div.oldprice .amount {
  text-decoration: line-through;
}
#favorite .sliderItem div.icostar {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 87px;
  height: 87px;
}
#favorite .sliderItem div.icostar-new {
  display: none;
}
#favorite .sliderItem div.icostar-new span {
  display: none;
}
#favorite .sliderItem div.icostar-sale {
  background: url(images/akcia1.png) no-repeat 100% 0;
}
#favorite .sliderItem div.icostar-sale span {
  display: none;
}

@media screen and (max-width: 991px) {
  #mainbanner {
    margin-top: 2em;
  }
  #mainbanner,
  #mainbanner ul {
    width: auto;
    height: auto;
  }
  #mainbanner ul li {
    width: 100%;
    height: auto;
    text-align: center;
  }
  #mainbanner ul li img {
    max-width: 753px;
    width: 100%;
    height: auto;
  }
  .homepagetext {
    padding: 0 1em;
  }
  .nova_ponuka_container {
    text-align: center;
  }
  #gallery {
    margin: 30px auto 0;
    max-width: 753px;
    width: 100%;
    background-color: #f7f4ed;
  }
  #favorite .fav-title {
    text-align: center;
  }
  #favorite div.sliderContainer-b {
    max-width: 684px;
    width: 100%;
    margin: 0 auto;
  }
  #galleryTabs li div.tab a {
    text-align: center;
  }
  #favorite .fav-title {
    padding: 2em 1em 1em;
  }
}

@media screen and (max-width: 767px) {
  .homepagetext table {
    margin: 0 auto;
  }
  .homepagetext table:first-of-type tr:first-of-type,
  .homepagetext table:nth-of-type(2) tr td:nth-of-type(2),
  #gallery div.descr,
  #favorite div.sliderContainer-b .fav-text,
  #favorite div.sliderContainer-b .cleaner {
    display: none;
  }
  .homepagetext table tr {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2em;
  }
  .homepagetext table tr td {
    width: 100% !important;
  }
  #galleryTabs li {
    float: unset;
    text-align: center;
  }
  #gallery .slider,
  #gallery .slider .sliderArea,
  #gallery .slider .sliderArea .sliderContent {
    width: auto !important;
  }
  #gallery .slider {
    margin: 0;
    float: unset;
  }
  #gallery .slider .sliderArea {
    overflow: unset;
    position: initial;
  }
  #gallery .slider .sliderArea .sliderContent {
    position: initial;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2em 0;
  }
  #gallery .slider .sliderArea .sliderItem {
    float: unset;
    margin: 0 auto;
  }
  #favorite div.sliderContainer-b {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2em 0;
    padding: 2em 0;
  }
  #favorite .sliderItem {
    margin: 0 auto;
  }
  #gallery div.sliderContainer,
  #favorite div.sliderContainer {
    border-radius: 5px;
  }
  .homepagetext table:nth-of-type(2) tr td h3 {
    margin-top: 0;
  }
}

@media screen and (max-width: 599px) {
  #gallery .slider .sliderArea .sliderContent,
  #favorite div.sliderContainer-b {
    grid-template-columns: repeat(2, 1fr);
  }
  #mainbanner .innerfade {
    height: 305px !important;
  }
}

@media screen and (max-width: 479px) {
  .homepagetext table:nth-of-type(2) tr {
    grid-template-columns: repeat(1, 1fr);
  }
  .homepagetext table tr td,
  .homepagetext table tr td p,
  .homepagetext table tr td h3 {
    text-align: center !important;
  }
  #mainbanner .innerfade {
    height: 250px !important;
  }
}

@media screen and (max-width: 389px) {
  .homepagetext table tr {
    grid-template-columns: repeat(1, 1fr);
  }
  #mainbanner .innerfade {
    height: 200px !important;
  }
}
