/*===========================*/
/*  BUY.BOX Stylesheet 2019  */
/*===========================*/
/*===== WIDGET MAIN CONTAINER ======*/
.bb-widget{
    display: none;
}

#bb-widget-container-buybox-588i {
    left: 50% !important;
    transform: translateX(-50%);
}

.buybox-widget {
  max-width: 800px;
  border-width: 0px;
  border-style: solid;
  padding: 0;
  margin: 10px auto;
  font-size: 13px;
  font-family: arial, sans-serif;
  font-weight: 400;
  line-height: 100%;
}

/* Logotypu sklepow */

.bb-cell.bb-store{
    width: 200px !important;
    height: 30px;
}

.bb-store img, .bb-store span{
    display: none;
}

.bb-row .bb-store{
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: left center;
}

.bb-store-152 .bb-store{
    background-image: url(/wp-content/uploads/sites/5/2020/06/rtveuroagd_200x50px.png);
}
.bb-store-184 .bb-store{
    background-image: url(/wp-content/uploads/sites/5/2020/06/alsen_200x50px.png);
}
.bb-store-274 .bb-store{
    background-image: url(/wp-content/uploads/sites/5/2020/06/avans_200x50px.png);
}
.bb-store-240 .bb-store{
    background-image: url(/wp-content/uploads/sites/5/2020/06/cyfrowepl_200x50px.png);
}
.bb-store-140 .bb-store{
    background-image: url(/wp-content/uploads/sites/5/2020/06/electro_200x50px.png);
}
.bb-store-185 .bb-store{
    background-image: url(/wp-content/uploads/sites/5/2020/06/zadowolenie_200x50px.png);
}
.bb-store-201 .bb-store{
    background-image: url(/wp-content/uploads/sites/5/2020/06/vobis_200x50px.png);
}
.bb-store-415 .bb-store{
    background-image: url(/wp-content/uploads/sites/5/2020/06/tophifi_200x50px.png);
}
.bb-store-420 .bb-store{
    background-image: url(/wp-content/uploads/sites/5/2020/06/energa_200x50px.png);
}
.bb-store-203 .bb-store{
    background-image: url(/wp-content/uploads/sites/5/2020/06/neo24_200x50px.png);
}
.bb-store-204 .bb-store{
    background-image: url(/wp-content/uploads/sites/5/2020/06/neonet_200x50px_v2.png);
}
.bb-store-163 .bb-store{
    background-image: url(/wp-content/uploads/sites/5/2020/06/oleole_200x50px.png);
}
.bb-store-176 .bb-store{
    background-image: url(/wp-content/uploads/sites/5/2020/06/mycenter_200x50px.png);
}
.bb-store-79 .bb-store{
    background-image: url(/wp-content/uploads/sites/5/2020/06/mediamarkt_200x50px.png);
}
.bb-store-316 .bb-store{
    background-image: url(/wp-content/uploads/sites/5/2020/06/maxelektro_200x50px.png);
}
.bb-store-139 .bb-store{
    background-image: url(/wp-content/uploads/sites/5/2020/06/mediaexpert_200x50px.png);
}
.bb-store-78 .bb-store{
    background-image: url(/wp-content/uploads/sites/5/2020/06/logo-78_empik.png);
}
.bb-store-550 .bb-store{
    background-image: url(/wp-content/uploads/sites/5/2020/06/logo-550_allegro.png);
}
.bb-store-567 .bb-store{
    background-image: url(/wp-content/uploads/sites/5/2020/06/logo-567_erdom_250x50.png);
}

.button.button-buy {
    margin: 20px auto;
    color: #0090ff;
}

/*=============================*/
/*===== COLORS ======*/
/** Widget box border color **/
.bb-popover-container {
    border-radius: 8px;
    box-shadow: 0 24px 70px 0 rgba(0,0,0,0.5) !important;
    margin: 15px 0px 0px 15px;
    padding: 0px 15px;
}

.buybox-widget {
  border-color: red;
  width: 550px; 
}

/** Text color **/
.buybox-widget .bb-row {
  color: #222;
}

/** Price **/
.buybox-widget .bb-table-content .bb-price span {
  color: #444;
  font-weight: 400;
}

/** Go to store text **/
.buybox-widget .bb-table-content .bb-go-to-store span {
  color: #00aeef;
}

/** Table row background color **/
.buybox-widget .bb-row:hover {
  background: #f8f8f8;
  border-radius: 5px;
    
}

/**  Table row background highlight color on hover **/
.buybox-widget .bb-table-content a:hover,
.buybox-widget .bb-table-content a.active {
  color: #00aeef;
}

/** Table Rows border color **/
.buybox-widget .bb-row,
.buybox-widget .bb-table-footer,
.buybox-widget .bb-table-heading {
  border-bottom-color: #eee;
}

/** Table Head and Footer row text color **/
.buybox-widget .bb-table-footer,
.buybox-widget .bb-table-heading {
  color: #a6a6a6;
}

/** Tabs color **/
.buybox-widget .bb-table-content, .buybox-widget .bb-table-content a {
  color: #a6a6a6;
}

/** Widget main title color **/
.buybox-widget .bb-header {
  color: #222;
}

/** Widget footer text color BUY.BOX **/
.buybox-widget .bb-table-footer {
  color: #a6a6a6;
  padding: 10px 0px !important;  
}

/** Show more button **/
.buybox-widget .bb-show-more {
  background-color: #00aeef;
  color: #fff;
}

/*=============================*/
/*===== WIDGET HEADER ======*/
.buybox-widget .bb-header {
  display: none;
  margin: 0;
  font-size: 16px;
  font-weight: bold;
  padding: 6px 0;
}

/*=============================*/
/*===== TABLE ======*/
/** Table styles **/
.buybox-widget .bb-table {
  padding: 5px 0;
}

/** Rows **/
.buybox-widget .bb-row,
.buybox-widget .bb-table-footer,
.buybox-widget .bb-table-heading {
  border-bottom-width: 1px;
  border-bottom-style: solid;
  padding: 21px 6px;
  display: block;
  min-height: 16px;
  box-sizing: unset;
  height: 30px;
}

.buybox-widget .bb-table-footer{
    height: auto !important;
}

.buybox-widget .bb-table-heading {
  padding: 3px 6px 6px 6px;
  display: none;
}

/** Cells **/
.buybox-widget .bb-cell {
  float: left;
  font-size: 18px;
  line-height: 30px;
}
.buybox-widget .bb-table-content a {
  text-decoration: none;
}

/** Header cells **/
.buybox-widget .bb-table-heading .bb-cell {
  text-align: right;
  font-size: 11px;
}

/** Cells special behaviours **/
.buybox-widget .bb-table-heading .bb-type {
  text-align: left;
}
.buybox-widget .bb-table-heading .bb-store {
  text-align: center;
}
.buybox-widget .bb-table-content .bb-store {
  text-align: left;
  font-weight: 400;
}
.buybox-widget .bb-price {
  text-align: right;
}
.buybox-widget .bb-go-to-store {
  text-align: right;
  float: right;
}

/** Header cells sizes **/
.buybox-widget .bb-store {
  width: 30%;
}
.buybox-widget .bb-type {
  display: none;
  width: 20%;
}
.buybox-widget .bb-price {
  width: 30%;
}
.buybox-widget .bb-go-to-store {
  width: 30%;
}
.buybox-widget .bb-table-heading div:last-child {
  width: 30%;
}

/** Content cells sizes **/
.buybox-widget.bb-buybox-noformat .bb-store {
  width: 40%;
}
.buybox-widget.bb-buybox-noformat .bb-type {
  width: 0%;
}
.buybox-widget.bb-buybox-noformat .bb-price {
  width: 30%;
}

/** Store logo **/
.buybox-widget .bb-store img {
  float: left;
  padding: 0px;
  margin: 0px 6px 0px 0px !important;
  border: 0px;
  box-shadow: 0 0 0 #fff;
  width: 24px;
  height: 24px;
}

/*=============================*/
/*=====  TBAS UNDER THE TABLE ======*/
.buybox-widget .bb-tabs {
  font-size: 11px;
}
.buybox-widget .bb-tabs a {
  text-decoration: none;
  margin-left: 13px;
  background: none;
  font-size: 11px;
  cursor: pointer;
}
.buybox-widget .bb-tab.active,
.buybox-widget .bb-tab:hover {
  color: #00aeef;
}
.buybox-widget .bb-tab,
.buybox-widget .bb-tab-desc {
  position: relative;
}
.buybox-widget .bb-tab-desc {
  display: inline;
}
.buybox-widget .bb-tab.bb-fade:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 29px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5) 0, white 100%);
  bottom: 0;
}

/*=============================*/
/*=====  WIDGET FOOTER ======*/
.buybox-widget .bb-footer {
  padding: 3px 10px 3px;
  text-align: right;
  font-size: 9px;
}
.buybox-widget .bb-footer a {
  color: #a6a6a6;
  text-decoration: none;
}
.buybox-widget .bb-footer a:hover {
  text-decoration: underline;
}

/*=============================*/
/*=====  SHOW MORE BUTTON ======*/
.buybox-widget .bb-show-more {
  text-align: center;
  padding: 10px;
  cursor: pointer;
}

/*=============================*/
/*===== MOBILE TABLE SIZES ======*/
@media only screen and (max-width: 719px) {
.buybox-widget {
    margin: 10px 0;
}
.buybox-widget .bb-store {
    width: 50%;
}
.buybox-widget .bb-type {
    width: 0%;
}
.buybox-widget .bb-price {
    width: 50%;
}
.buybox-widget .bb-go-to-store {
    display: none;
}
}

/*=============================*/
/*===== * PLEASE DO NOT CHANGE * SPECIAL WIDGET BEHAVIOUR * PLEASE DO NOT CHANGE * ======*/
.bb-hidden, .bb-widget-progress {
  display: none !important;
}
.bb-shown {
  display: block !important;
}

/*=============================*/
@media screen and (max-width: 769px) {
    #bb-widget-container-buybox-588i{
        left: 50% !important;
        transform: translateX(-50%);
    }
    .bb-popover-container {
        margin: 15px 0px 15px 0px;
    }
}
@media screen and (max-width: 719px) {
    .buybox-widget {
      width: auto; 
    }
    .bb-cell.bb-store {
    width: 100% !important;
    height: 30px;
    }
}
@media screen and (max-width: 450px) {
    .bb-popover-container {
        min-width: 80%;
    }
    .bb-row .bb-store {
        background-position: center !important;
    }
    .buybox-widget .bb-price, .bb-cell.bb-store {
        width: 100%;
        text-align: center;
    }
    .buybox-widget .bb-row, .buybox-widget .bb-table-footer, .buybox-widget .bb-table-heading {
        height: 55px;
    }
}