/*------------------------------------------------
 Css Overwrite Style 
------------------------------------------------*/

/* Firefox specific zoom adjustment */
@supports (-moz-appearance: none) {
  body {
    zoom: 85%; /* Adjust the zoom level as needed */
  }
}

/* Global background color */
body {
  background-color: white;
}

/*------Popup Overwrtie style--------*/
/* Styling for the overlay */
.overlayC {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    /* Semi-transparent black */
    z-index: 9999;
    display: none;
    /* Initially hidden */
}

/* Styling for the popup */
.popupC {
    position: fixed;
    top: 10%;
    left: 20%;
    right: 20%;
    background-color: #fff;
    padding: 13px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 10 !important;
 }

  .CloseButton__ButtonElement-sc-79mh24-0 svg {
    color: black !important;
    background: white !important;
    border-radius: 10px !important;
  }

/* Styling for the image */
.popupC img {
    max-width: 100%;
    min-width: 100%;
    height: 520px;
    object-fit: scale-down;
}

/* Styling for previous/next buttons */
.prevC,
.nextC {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
}

.prevC {
    left: 10px;
}

.nextC {
    right: 10px;
}

.wp-block-gallery .wp-block-image img:hover {
    cursor: pointer;
}

.closeC {
    position: absolute;
    top: 15px;
    right: 30px;
    font-size: 25px;
    color: #289dcc;
    cursor: pointer;
}

.popupC {
  max-height: 600px;
  overflow: auto
}


.closeC:hover {
    font-weight: bold;
    cursor: pointer
}

/* Fixed unclosed comment below */
/*-----------------------end----*/

/*----LOGO Login----*/
#login h1 a {
  background-size: none !important;
  height: 85px !important;
  width: 100% !important;
}
/*------*/

/* ----- Extra from Costumise ----- */
.catheading {
    font-weight: bold !important;
}

.fibobackground {
    background-color: #f7f7f7;
    padding: 0px 20px;
}

.home-title {
    word-wrap: normal !important;
}

.category-reviews h2 {
  padding-top: 10px;
}

.comment img {
  display: none;
}

.gt-current-lang {
  background-color: white;
}

.fa-refresh:before {
  position: relative;
  top: 0px;
  right: -5px;
  color: #289dcc;
  padding-right: 10px;
}

.fa-refresh {
  /* Set the cursor style to pointer on hover (usually used for clickable elements) */
  cursor: pointer;
  transition: transform 0.2s;
  /* Add a smooth transition effect */
}

.fa-refresh:active::before {
  /* Apply a transform when the element is clicked to make it press down */
  transform: translateY(4px);
  color: lightblue;
}

.fa-refresh:after {
  content: "See more deals";
  font-size: 14px;
  color: #289dcc;
}

#refresh {
  float: none !important;
}

.directory-review {
  float: left;
  width: 35%;
}

.related,
.flex-control-nav {
  display: block !important;
}

.bx-viewport {
  height: auto;
}

p {
  margin-top: 15px;
}

body {
  background-color: white;
}

#sorter a {
  font-size: 10px;
}

.retailer-page .entry-content img {
  width: 100%;
}

.more-link {
  display: none !important;
}

#om-zobl5hnackik5drhd7hp {
  display: none !important;
}

.category-reviews h2 {
    padding-top: 10px;
}
/*-------------------end-----*/


/* ---- Homepage page CSS Overwrite ----*/ 
h2 {
  font-size: 24px;
  line-height: 1.2;
}

.search .status-publish:nth-child(2n) {
    clear: none;
}

.main-content-section {
    float: left !important;
}

.main-content-section .below-entry-meta {
  display: none !important;
}

.widget_beside_slider img {
  border-radius:
    10px !important;
}

.front-page-top-section .below-entry-meta {
  display: none !important;
}

.front-page-top-section .above-entry-meta {
  display: none !important;
}

.main-content-section .above-entry-meta {
  display: none !important;
}

.main-content-section .entry-content {
  display: none !important;
}

#content .post .article-content .below-entry-meta {
  padding-bottom: 0px;
}

.article-container .comments {
  display: none !important;
}

#content .post img {
  border-radius: 10px;
  padding: 5px;
}

.author-box {
  display: none !important;
}

.article-container h2 {
  font-size: 20px !important;
}

.entry-header {
  padding: 0px !important;
}

.article-container .entry-content p {
  display: none;
}

.wp-block-columns {
  margin-bottom: 0rem;
}

#block-41 {
  margin-top: 5px;
}

.post-views,
.tag-links {
  display: none;
}

.directory-review {
    float: left;
    width: 35%;
}

.retailer-page .entry-content img {
  width: 100%;
}

.more-link {
  display: none !important;
}

.article-container .comments {
  display: none !important;
}

#om-zobl5hnackik5drhd7hp {
  display: none !important;
}

.slb_data {
  display: none !important;
}

.slb_content {
  width: 800px !important;
  height: auto !important;
  object-fit: contain !important;
}

.slb_content img {
  max-width: 100%;
}

.pw-tag {
  padding-top: 20px;
  background-color: #fff
}

#custom_p2 {
  padding: 10px;
}

#block-36 {
  padding: 10px;
}

.slb_content {
  max-width: 100%;
}

#pbOverlay {
  z-index: 9999999999 !important;
}

hr {
  background-color: #289dcc;
  width: 100% !important;
}

.has-pale-cyan-blue-background-color {
  padding: 20px;
}

.crouch-powered-by {
  display: none !important;
}
/*-------- end ------------*/

/* ----- Comparesavego page ----*/
.top_nav {
  position: fixed;
  bottom: 0px;
  width: 121px;
  height: 45px;
  z-index: 9999999999999;
  background-color: red;
  padding: 6px;
  box-shadow: 2px 2px 3px gray;
}

#priceComparison {
  height: 1350px;
}

.previousDeals {
  display: none
}
/*-------- end ------------*/

/*------AD Css--------------- */
#leaderboard_atf {
  height: 250px;
  margin: 0 auto;
}

#leaderboard_atf {
  height: 250px !important;
}

.adbox-3 {
  text-align: center;
}

.adbox-6 {
  text-align: center;
}

.mobile {
  display: none !important;
}

.desktop {
  text-align: center !important;
  padding-bottom: 10px;
  width: 730px;
}

.pw-ad-scroll-container {
  display: none;
}

.pw-oop-right_rail {
  display: none!important;
}
/*--------------end----------*/

/* Extra from Customise on 6th November */
.above-entry-meta .below-entry-meta {
  display: none !important;
}

/* Fullwidth gallerys fitted to content, tim */
.wp-block-gallery {
    width: 100%;
    margin: 0 auto !important;
    padding: 10px 0;
}

.no-sidebar-full-width #primary .entry-content>.alignfull,
.no-sidebar #primary .entry-content>.alignfull {
    width: 100% !important;
    margin: 0 auto !important;
    padding: 10px 0;
}
/*------end-------*/

/* This request has been made by Andrew for cookies message be set to appear on top of other pop-ups */
/* it has been added on 10th July 2024 */
.eccles-campaign,
.Campaign,
.CampaignType--popup,
.Campaign--css {
  z-index: 999999 !important;
}

/*------Comment Overwrite CSS-----------------*/
.comment-list {
  border: 1px solid lightgray;
  box-shadow: 2px 2px 5px lightgray;
  padding: 10px;
}

.comment-author-link {
  color: #289dcc !important;
  font-weight: bold;
}

.comment-reply-link {
  color: #289dcc !important;
  font-weight: bold;
}

.lookingfor img:active {
  opacity: 90%;
  transform: translateY(4px);
}

.comment-list .fa {
  display: none !important;
}

.comment-permalink {
  display: none !important;
}

.comment-form textarea {
  border: 1px solid lightgray;
  background-color: white;
  box-shadow: 2px 2px 5px lightgray;
}

.comment-author-link {
  float: left;
  margin-left: 0px !important;
}

.comment-date-time {
  float: right;
}
/*------------end----- */

/*-------Search Result Page Extra Css from Dario----- */
.archive .article-container .post {
  height: 480px;
}

.search-results .article-container {
  width: 800px;
}

.search-results #secondary {
  display: none !important;
}

.search-results .article-container .post {
  height: 460px;
}

.search-results .adbox-2 {
  padding-left: 5px !important;
  padding-right: 0px !important;
}

.search-results .article-container .entry-content p {
  display: -webkit-box;
  /* max-width: 200px; */
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/*-------end----------------------- */

/*----Overwrite Css Page----*/
.page-id-167611 .entry-content a {
    font-family: "Legothick V2";
    font-weight: 300 !important;
    font-size: 30px !important;
}

.page-id-167611 .entry-title {
    background-color: black;
    padding-top: 20px
}

.page-id-167611 .entry-title {
    font-family: "Legothick V2";
    text-align: center;
    font-weight: 300 !important;
    font-size: 60px !important;
    color: gold;
}

/* Hide elements with class "YouTube" on post ID 167611, The /lego-sets/ page */
.page-id-167611 .youtube {
    display: none;
}

.page-id-167611 .entry-content {
    background-color: black;
    padding: 20px;
}

.page-id-167611 .entry-content a {
    color: gold;
    font-weight: bold;
    font-size: 30px
}
/*----------End-----*/

/* Added content to empty rules */
.article-container img {
    max-width: 100%;
}

/*----Stop post title from displaying on Post pages when logged in from Rob 27th November---- */
.edit-post-post-title__block {
  display: none !important;
}

.editor-document-bar {
  display: none !important;
  visibility: hidden !important;
}

/*------Fullwidth gallerys fitted to content, tim---- */
.wp-block-gallery {
  width: 100%;
  margin: 0 auto !important;
  padding: 10px 0;
}

.no-sidebar-full-width #primary .entry-content>.alignfull,
.no-sidebar #primary .entry-content>.alignfull {
  width: 100% !important;
  margin: 0 auto !important;
  padding: 10px 0;
}
/*--------------end-------*/

/*------Css ovewrite this page-----------*/

.page-id-167611 .entry-content a {
  font-family: "Legothick V2";
  font-weight: 300 !important;
  font-size: 30px !important;
}

.page-id-167611 .entry-title {
  background-color: black;
  padding-top: 20px
}

.page-id-167611 .entry-title {
  font-family: "Legothick V2";
  text-align: center;
  font-weight: 300 !important;
  font-size: 60px !important;
  color: gold;
}

/* Hide elements with class "YouTube" on post ID 167611, The /lego-sets/ page */
.page-id-167611 .youtube {
  display: none;
}

.page-id-167611 .entry-content {
  background-color: black;
  padding: 20px;
}

.page-id-167611 .entry-content a {
  color: gold;
  font-weight: bold;
  font-size: 30px
}
/*------------end----------*/

/*-------Menu and Input Overwrite-----*/
.dgwt-wcas-search-input {
  border: 0px !important;
}

.dgwt-wcas-search-submit {
  color: #444444 !important;
}

.dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit:before {
  display: none;
}

.dgwt-wcas-ico-magnifier {
  color: #444444;
}

.gt-current-lang,
.top_nav {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 9999999999;
}

.main-navigation ul ul {
  display: block !important;
  z-index: 9999999999999 !important;
}

.main-navigation ul li:hover>ul.sub-menu,
.main-navigation ul li.current-menu-item>ul.sub-menu,
#menu-item-81 ul.sub-menu {
  position: absolute;
  top: 100%;
  left: 0%;
  right: 0;
  border: none;
  height: 25px !important;
  width: 100%;
  background-color: #444444 !important;
}

.menu-item:nth-child(10) {
  background-color: rgb(204, 12, 57);
}

.sub-menu .menu-item:nth-child(10) {
  background-color: white;
  color: #289dcc;
}

.sub-menu li {
  min-width: 100px;
}

.main-navigation .sub-menu a {
  float: left;
  padding-top: 10px !important;
  color: white !important;
  font-size: 12px !important;
  overflow: hidden !important;
  width: 100% !important;
  white-space: nowrap;
  text-overflow: ellipsis;
  height: 40px !important;
  background-color: #232323!important;
}

.main-navigation .sub-menu a {
    background-color: #232323 !important;
}

.sub-menu a:hover {
  color: white !important;
}

.sub-menu-custom {
   border: none;
   height: 25px!important;
   width: 100%;
   background-color: #444444!important;
}

.sub-menu-custom li {	
	position: relative;
	left: 0px;
	float: left;
	margin: 0 0px;	
}

.sub-menu-custom a {
	font-size: 12px!important;
	color: white;
	font-weight: bold;
	z-index: 9999999999999999;
}

.tg-mobile-close {
    display:none;
}

/*------------------Tim SubMenu---*/
#site-navigation-sub-menu-tim {
  background-color: #444444 !important;
  height: 2;
}

#sub-menu {
  background-color: #444444 !important;
}

#sub-menu a {
  background-color: #444444 !important;
  text-transform: none !important;
  padding: 5px 12px;
}

.menu-item-99999999311783,
.menu-item-99999999323672,
.menu-item-99999999321349,
.menu-item-99999999321780 {
  display: block !important;
}
/*--------------end-----------------*/

/*----------------Woocommerce Overwrite CSS-----------------------*/
.woocommerce-active .products .columns-4 {
  display: flex !important;
  flex-wrap: wrap !important;
}

.woocommerce-active .woocommerce ul.products li.product a img {
  height: 220px !important;
  box-shadow: none !important;
  object-fit: scale-down !important;
}

.columns-4 .woocommerce-loop-product__title {
  border-top-right-radius: 0px;
  background-color: #289DCC !important;
  padding: 0.9em 0.9em !important;
  color: gold !important;
  font-size: 14px !important;
  text-align: center !important;
  text-transform: uppercase !important;
}

.woocommerce ul.products li.product img {
  transform: none !important;
  transition: none !important;
  border: 0px solid white !important;
}

.woocommerce .woocommerce-breadcrumb {
  margin: 0 0 2em;
  padding: 0;
  height: 32px;
  background: #289DCC !important;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) .woocommerce-breadcrumb a {
  color: white !important;
}

.woocommerce .woocommerce-breadcrumb a {
  background: #289DCC !important;
}

.woocommerce .woocommerce-result-count {
  background: #289DCC !important;
  color: #fff;
  text-transform: uppercase;
  font-size: 14px !important;
  padding: 7px 10px !important;
  font-family: Cera Pro, sans-serif;
  text-align: center;
  border-radius: 0px !important;
  font-weight: 600;
  height: 37px;
  width: 250px;
}

.woocommerce .woocommerce-ordering select {
  background: #289DCC !important;
  color: #fff;
  text-transform: uppercase;
  font-size: 14px !important;
  padding: 7px 10px !important;
  font-family: Cera Pro, sans-serif;
  font-weight: 600;
  text-align: center;
  border-radius: 0px !important;
  height: 37px !important;
}

.aws-container .aws-search-form {
  height: 32px !important;
}

.aws-container .aws-search-form .aws-search-btn_icon {
  color: white !important;
}

.aws-container .aws-search-form .aws-form-btn {
  background: #289DCC !important;
}

.woocommerce nav.woocommerce-pagination ul {
  margin-top: 37px;
}

nav.woocommerce-pagination ul li span.current {
  background: #289DCC !important;
}

.woocommerce-page h1 {
  font-family: Cera Pro, sans-serif;
  padding: 5px;
  font-size: 26px;
}

.woocommerce-notices-wrapper {
  padding-top: 30px;
}

.woocommerce-breadcrumb {
  background-image: url('https://www.brickfanatics.com/wp-content/uploads/2023/04/Brick-Headers-Yellow.png');
  background-position: right;
  background-color: black;
  background-size: contain;
  background-repeat: no-repeat;
  text-transform: uppercase;
  font-size: 14px !important;
  padding: 5px 10px !important;
  font-family: Cera Pro, sans-serif;
}

.woocommerce .woocommerce-breadcrumb a {
  color: white !important;
  background: transparent !important;
  font-weight: bold;
  text-transform: inherit;
  text-decoration: underline;
  font-family: Cera Pro, sans-serif;
}

.woocommerce .woocommerce-breadcrumb {
  color: white !important;
}

figure {
  margin: 0;
  text-align: unset;
}

.bestpagelatest img {
  float: left;
  display: inline !important;
}

.woocommerce-result-count {
  position: relative !important;
  top: -10px !important;
  width: 270px;
}

.left-sidebar #primary {
  float: left !important;
  width: 100%;
}

.dgwt-wcas-sf-wrapp input[type=search] {
  background-color: yellow !important;
}

.dgwt-wcas-sf-wrapp {
  width: 250px;
  position: relative;
  top: 30px;
  left: 600px;
}

.woocommerce .woocommerce-ordering,
.woocommerce-page .woocommerce-ordering {
  width: 250px;
  position: relative;
  top: -10px;
  left: -550px;
}

.woocommerce .woocommerce-ordering select {
  font-weight: bold;
  height: 40px;
  background-color: black;
  color: white;
  border: none;
  border-radius: 2px;
}

.woocommerce .woocommerce-ordering {
  padding-right: 3px !important;
}

.orderby {
  padding: 3px !important;
}

.woocommerce-ordering {
  height: 40px;
}

/*----- Product Category pages Overwrite CSS ----------*/

.woocommerce ul.products li.product img {
  width: 260px !important;
  height: 245px !important;
  object-fit: contain !important;
  border: 1px solid lightgray;
  margin: 0px !important;
  padding: 10px;
}

.fc-consent-root {
  display: none;
}

.columns-4 .button {
  display: none !important;
}

#tableCode th:nth-child(2) {
  width: 225px;
}

.ywcca_widget_title {
  background-color: #444444 !important;
  color: white !important;
  font-size: 20px !important;
  padding: 5px !important;
}

.store-faqs {
  background-color: #444444;
  color: white;
  text-decoration: none;
  padding: 5px;
  font-size: 17px;
  font-weight: bold;
  border-left: 5px solid #289dcc;
}

.store-faqs-wrapper {
  background-color: #f7f7f7;
  padding-left: 5px;
  border-left: 5px solid #289dcc;
}

.store-faqs a {
  color: white;
}

.tb {
  width: 100%;
}

nav.woocommerce-pagination a {
  color: black !important;
}

.page-id-99999999302426 .main-navigation ul li ul li a {
  color: white !important;
  background-color: #001f42 !important;
}

.ywcca-menu {
  background-color: #289dcc;
}

.ywcca-menu a {
  padding-left: 5px;
}

.woocommerce-product-gallery .flex-control-thumbs li {
  border: 2px solid #289dcc;
  width: 120px !important;
  margin: 5px !important;
  padding: 5px;
}

nav.woocommerce-pagination ul li span.current {
  background-color: #444444 !important;
  color: white !important;
}

.columns-4 .button {
  color: white !important;
}

.woocommerce-result-count {
  color: black;
}

.woocommerce-loop-product__title {
  width: 100%;
}

.columns-4 .woocommerce-loop-product__title {
  width: 100%;
  min-height: 60px;
  margin: 0 auto;
  color: black;
  font-size: 15px !important;
  text-align: left;
  padding-left: 10px !important;
}

.woocommerce ul.products li.product .button {
  display: none !important;
}
/*------------end-----------------*/

/*-----Lego Sets Page---------------- */
.page-id-167611 .entry-content {
  background-color: white;
}

.page-id-167611 .wp-block-image figcaption {
  color: #555;
  font-size: 13px;
  text-align: center;
  background-color: #289dcc;
  border-radius: 3px;
  color: #fff;
  font-size: 12px;
  padding: 3px 10px;
  line-height: 1.37;
}

.page-id-167611 .wp-block-image img:hover {
  filter: color(50%);
  transform: scale(1.1);
}

.page-id-167611 .entry-title {
  background-color: #289dcc;
}

.page-id-167611 .entry-header {
  padding: 20px !important;
}
/*------------end---------------------*/

/*--------Best Deals Page Overwrite---------- */
.thirstylink:nth-child(n+3) {
  text-decoration: none!important;
}

.bestdeals {
  width: 250px;
  height: 250px;
  padding: 10px 5px 0 0;
  margin: 0 10px 10px 10px;
  background-color: white;
  float: left;
}

.bestdeals h3 {
  position: relative;
  top: -20px;
  left: 170px;
  font-size: 16px;
  color: black;
}

.bestdeals h6 {
  position: relative;
  top: -10px;
  font-size: 16px;
  background-color: #289dcc;
  color: white;
  padding: 3px;
}

.bestdeals h4 {
  position: relative;
  top: -100px;
  left: -10px;
  width: 50%;
  margin: 0 0 0 10px;
  background-color: orange;
  color: white;
  padding: 5px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.bestdeals h5 {
  position: relative;
  top: -78px;
  left: 0px;
  width: 100%;
  font-size: 16px;
  background-color: #F8D753;
  color: #232F3E;
  text-align: center;
  padding: 3px;
}

.thirstybold {
  font-weight: bold !important;
}

body.page-id-99999999302426 {
  padding-left: 10px;
  color: white;
}

.sandlake-c-canvas {
  top: 200px !important;
}

.display_title {
  color: white;
}

#shopwp-storefront h3 {
  color: white;
}

body.page-id-99999999302426 #header-text-nav-wrap {
  background-color: white;
}

body.page-id-99999999302426 #rank-math-faq {
  background-color: white;
}

body.page-id-99999999302426 #rank-math-faq p {
  color: black;
  background-color: white;
}

body.page-id-99999999302426 {
  width: 100%;
  margin: 0 auto;
}

body.page-id-99999999302426 .inner-wrap {
  margin: 0 auto;
  max-width: 100%;
  background-color: #001f42;
}
/*------------end*/

/*----Table------------*/
.row-header {
  border-bottom: 3px solid #282A35 !important;
}
.row-10,
.row-8,
.row-6,
.row-4,
.row-2 {
  background: lightgray !important;
}
/*------------end------------*/

/*---------Brick deals page v2 -------- */
.bdv2 {
  width: 100%;
  max-width: 350px;
  height: 116px;
  border-radius: 5px;
  padding-top: 3px;
  border: 1px solid transparent !important;
  box-shadow: 1px 0px 6px 0 rgba(0, 0, 0, 0.3);
  float: left;
  margin: 5px 0;
}

.bdv2_img {
  position: relative;
  top: 6px;
  left: 7px;
  float: left;
  border-radius: 5px;
  width: 110px;
  background-color: white;
  height: 98px;
  width: 100px;
  border: 1px solid transparent !important;
  box-shadow: 1px 0px 6px 0 rgba(0, 0, 0, 0.3);
}

.bdv2_img img {
  position: relative;
  top: 12px;
  left: 3px;
  width: 80px;
  max-height: -webkit-fill-available;
}

.bdv2_title {
  position: relative;
  top: 5px;
  left: 15px;
  width: 65%;
  overflow: hidden;
  max-height: 30px !important;
  padding-right: 6px;
}

.bdv2 h3 {
  font-size: 0.8rem;
  font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue";
  font-weight: bold;
  color: white;
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
}

.bdv2_discount {
  position: relative;
  top: 8px;
  left: 115px;
  height: 16px;
  font-weight: bold;
  border-radius: 5px;
  padding-left: 2px;
  width: 70px;
  background-color: #ff0000;
}

.bdv2_discount_text {
  position: relative;
  top: -74px;
  left: 6px;
  color: white;
  font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue";
  font-size: 9pt;
  text-transform: uppercase;
}

.bdv2_retailer {
  position: relative;
  top: -50px;
  float: right;
  width: 70px;
  height: 25px;
  padding-top: 6px;
  background-color: white;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.bdv2_price {
  position: relative;
  left: 14px;
  font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue";
  font-size: 1.5rem;
  color: white;
}

.bdv2_old_price {
  position: relative;
  top: -33px;
  left: 105px;
  font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue";
  font-size: 0.8rem;
  color: white;
  text-decoration: line-through;
}

.bdv2_buy {
  position: relative;
  top: -25px;
  left: 115px;
  height: 24px;
  width: 70px;
  background-color: #F8D753;
  border-radius: 5px;

}

.bdv2_buy a {
  position: relative;
  top: -1px;
  left: 8px;
  font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue";
  font-size: 0.7rem;
  font-weight: bold;
  color: black;
}

.bdv2 {
  background-image: none;
  border: 1px solid #f1f1f1;
  box-shadow: 2px 2px 3px gray;
}

.bdv2_price,
.bdv2_old_price {
  color: #444
}

.bdv2_img {
  border: 1px solid gray;
}

.bdv2_img img {
  top: 11px !important;
}

.bdv2_title h3 {
  color: #444
}
/*-------------end-------------------*/

/*-----Shop home--------------------------- */
.post-99999999302426 h1 {
  font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue" !important;
}

.wps-items-wrapper {
  background-color: white;
  margin-bottom: 20px;
  border-radius: 5px;
  font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue" !important;
}

.wps-products-title {
  font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue" !important;
  font-weight: bold !important;
}

.wps-items-wrapper h2 {
  font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue" !important;
  font-weight: bold !important;
  padding: 5px;
}

.wps-product-individual-price {
  padding: 5px !important;
  border-radius: 5px;
  background-color: #289dcc !important;
  color: white !important;
}

.css-pitd24-PaginationItemsCSS {
  gap: 0 !important;
}

.wps-items-list .wps-item {
  border: 1px solid lightgray;
  margin: 10px;
  padding: 20px;
  box-shadow: 1px 2px 5px grey;
}

.css-15smrxm-headingCSS.css-15smrxm-headingCSS {
  background-color: #444444 !important;
  border-left: 5px solid #289dcc !important;
  color: white;
  border-radius: 0px !important;
}

.wps-collections-link img {
  padding-top: 50px;
}

.wps-item {
  float: left;
  width: 100%;
}

.wps-items {
  width: 100%;
}

.wps-collections-link h2 {
  width: 100%;
  background-color: #289dcc;
  padding: 5px;
  color: white;
}

.wps-items-list .wps-collection-title {
  font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue";
  padding-left: 5px;
}

.css-1xj18r6-buttonCSS-addToCartCSS-AddButton.css-1xj18r6-buttonCSS-addToCartCSS-AddButton {
  background-color: #289dcc !important;
  color: white;
}

.wps-item .wps-thumbnails-wrapper img {
  display: none;
}

.shop-home-themes {
  display: inline-block;
  width: 100%;
}

.shop-home-themes img {
  width: 150px;
  float: left;
}

.shop-home-themes a {
  width: 150px;
  float: left;
  margin: 0px 5px 10px 5px;
  text-align: center;
  background-color: #289dcc;
  color: white;
}

.wps-storefront-sidebar {
  overflow-y: hidden;
}

.theme-shop-top {
  width: 25%;
  height: 100px;
}

.theme-shop-top-over {
  border: 1px solid lightgray;
  box-shadow: 1px 2px 5px grey;
}

.theme-shop-top-over td {
  border: none;
}

.theme-shop-top img {
  display: block;
  margin: auto;
}

.theme-shop-top a {
  display: block;
  text-align: center;
  color: #444444;
  background-color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue";
  border: 1px solid lightgray;
  box-shadow: 1px 2px 5px grey;
}

.breadcrumb_link {
  color: white;
  background-color: #289dcc;
  padding: 5px;
  border-radius: 5px;
}

#searchResults {
  margin-top: -55px !important;
}
/*--------end------*/

/*-----Collapsible Table Rob-----*/
.collapsible {
  background-color: transparent;
  color: black;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 22px;
}

.content {
  padding: 0 18px;
  display: none;
  overflow: hidden;
  background-color: #f1f1f1;
}

.collapsible:after {
  margin-left: 14px;
  top: 3pt;
  content: "";
  display: inline-block;
  width: 0.4em;
  height: 0.4em;
  border-right: 0.2em solid #289dcc;
  border-top: 0.2em solid #289dcc;
  transform: rotate(400deg);
}

.arrow:after {
  transform: rotate(0.37turn);
  margin-left: 14px;
  top: 3pt;
  content: "";
  display: inline-block;
  width: 0.4em;
  height: 0.4em;
  border-right: 0.2em solid #289dcc;
  border-top: 0.2em solid #289dcc;
}
/*--------end------*/

/*----------- Mobile CSS-------------------------------------*/
@media only screen and (max-width: 1000px) {
    
  /* Homepage Mobile  */
  .above-entry-meta {
    display: none !important;
  }
  
  div.article-content.clearfix>div.below-entry-meta>span.byline>span {
    display: none !important;
  }

  .fa-calendar-o {
    display: none !important;
  }

  div.article-content.clearfix>div.below-entry-meta>span.reading-time {
    display: none !important;
  }

  .inner-wrap {
    width: 100%;
  }

  .below-entry-meta {
    padding-left: 10px;
  }

  .entry-title {
    padding: 8px !important;
    width: 100% !important;
  }

  .entry-content {
    padding: 6px !important;
  }

  #main {
    padding-top: 0px;
  }

  .front-page-top-section {
    height: 180px;
  }

  #header-logo-image img {
    margin-left: 10px;
  }

  .front-page-top-section wp-post-image {
    height: 100% !important;
  }

  .entry-header h1 {
    font-weight: bold;
  }
}

@media only screen and (max-width: 845px) {

  .wps-item {
    width: 350px !important;
    display: inline-block !important;
    margin: auto !important;
  }

  .wps-btn-next-page {
    float: left;
  }
}

@media (min-width: 810px) and (max-width: 819px) {
    /* Media query for screens between 810px and 819px */
    /* Empty rule - add styles as needed */
}

@media only screen and (max-width: 600px) {
    
  .article-content {
    max-width: 100%;
  }
  
  #main {
    max-width: 100%;
    height: auto;
  }

  #site-navigation {
    max-width: 100%;
    height: auto;
  }

  .single-article img {
    max-width: 100%;
    height: auto;
  }
  
  /* Menu Mobile */
  .menu-primary-container .sub-menu {
      background: #289dcc;
   }
   
   .main-small-navigation li {
     background-color: #289dcc !important;
   }
   
  .sub-toggle .fa {
     color: #fff !important;
    }
    
  #corner_top-docked_parent_container {
       z-index: 1!important;
   }
    
  /* Table mobile*/ 
  #tableCode th:nth-child(1),
  th:nth-child(5),
  th:nth-child(3) {
    display: block;
  }
  #tableCode td:nth-child(1),
  td:nth-child(5),
  td:nth-child(3) {
    display: block;
  }
  #tableCode th {
    font-size: 14px;
    min-width: 70px;
  }
  #tableCode td {
    font-size: 14px;
    min-width: 70px;
  }
      
 /* Comparesavego page */
  #priceComparison {
    height: 2650px;
  }
  
 /* Sub menu mobile */
  .sub-menu a {
    margin-bottom: 5px;
    padding-top: 2px !important;
    color: black !important;
    font-size: 12px !important;
    overflow: hidden !important;
    text-overflow: ellipsis;
    z-index: 9999999999 !important;
  }
  
 /* Cookies */
  .cky-consent-container {
    z-index: 999999 !important;
  }

  .cky-overlay {
    z-index: 1 !important;
  }

 /*Pop up*/
  .eccles-campaign,
  .Campaign,
  .CampaignType--popup,
  .Campaign--css {
    z-index: 888888 !important;
  }
  
   /* Button Close Mobile Menu */
  .tg-mobile-close {
     display: none;
     position: absolute;
     top: -5px;
     left: 280px;
     background-color: #fff;
     color: #289dcc;
  }
}

@media screen and (min-width: 500px) {
    /* Media query for screens wider than 500px */
    /* Empty rule - add styles as needed */
}

/* ----- PopupC ----*/
@media only screen and (max-width: 768px) {
    .popupC {
        top: 30%;
        left: 10%;
        right: 10%;
    }
}
/* ----- end ----*/

/*---Product Page Woocommerce Mobile Different Devices Screen ------*/
/*Iphone SE*/
@media (min-width: 375px) and (max-width: 424px) {

  .flickity-viewport {
    height: 315px !important;
  }

  .middle-container,
  .last-container {
    display: inline-block !important;
  }

  .main-info-smiliar-sets {
    margin: 1rem;
    display: flex !important;
  }

  .image-similar-set {
    width: 157px !important;
    margin-left: 0px !important;
    height: auto !important;
    background-image: url('https://www.brickfanatics.com/wp-content/uploads/2023/04/Brick-Headers-Yellow.png') !important;
  }

  .set-similar-h2 {
    width: 153px !important;
    margin-right: 10px !important;
  }

  .bdv2_price {
    left: -42px !important;
  }

  .bdv2_old_price {
    top: -35px;
    left: 5px;
  }
}

/*Iphone XR*/
@media (min-width: 414px) and (max-width: 415px) {

  .bdv2_price {
    left: -73px !important;
  }

  .image-similar-set {
    width: 190px !important;
  }
}

/*Iphone 12 Pro*/
@media (min-width: 390px) and (max-width: 391px) {

  .bdv2_old_price {
    left: -10px !important;
  }

  .bdv2_price {
    left: -60px !important;
  }

  .image-similar-set {
    width: 170px !important;
  }
}

/*Pixel 5*/
@media (min-width: 393px) and (max-width: 394px) {

  .bdv2_old_price {
    top: -35px;
    left: -12px !important;
  }

  .bdv2_price {
    left: -78px !important;
  }
}

/*Galaxy s8*/
@media (min-width: 360px) and (max-width: 361px) {

  .middle-container,
  .last-container {
    display: inline-block !important;
  }

  .bdv2_old_price {
    color: white;
    top: -35px;
    left: 5px !important;
  }

  .main-info-smiliar-sets {
    margin: 1rem;
    display: flex !important;
  }

  .image-similar-set {
    width: 140px !important;
    margin-left: 0px !important;
    height: auto !important;
  }

  .set-similar-h2 {
    width: 153px !important;
    margin-right: 10px !important;
  }

}

/*Galaxy s20*/
@media (min-width: 412px) and (max-width: 413px) {

  .middle-container,
  .last-container {
    display: inline-block !important;
  }

  .image-similar-set {
    width: 190px !important;
  }

  .bdv2_old_price {
    top: -35px;
    left: -27px !important;
  }

  .bdv2_price {
    left: -70px !important;
  }
}

/* Air Pad*/
@media (min-width: 820px) and (max-width: 821px) {

  .woocommerce ul.products li.product {
    margin: 11px !important;
  }

  .bdv2_price {
    left: -65px !important;
  }

  .item .quick-buy {
    width: 29% !important;
  }

}

/*Ipad Air and IPad Pro 11"" inches*/
@media (min-width: 820px) and (max-width: 835px) {

  #tablet ul.products li.product {
    margin: 15px 20px !important;
    width: 315px !important;
  }

  .woocommerce section.related ul.products li.product a img {
    margin: 0 1.7em 1em !important;
  }

  .item .quick-buy {
    width: 29% !important;
  }
}

/*Ipad IpadOS*/
@media (min-width: 810px) and (max-width: 819px) {}

/*IPad Pro */
@media (min-width: 1024px) and (max-width: 1030px) {

  #tablet ul.products li.product {
    margin: 15px 20px !important;
    width: 440px !important;
  }

}

@media screen and (max-width:600px) {

  .middle-container,
  .last-container {
    display: inline-block !important;
  }

  .woocommerce h1 {
    display: none !important;
  }
}
/*------------------end------------------------*/

/*------- Category Page Mobile Different Screens -----*/
/*Iphone SE*/
@media (min-width: 375px) and (max-width: 410px) {

  .woocommerce ul.products li.product {
    margin: 0px !important;
    height: auto !important;
  }

  .woocommerce ul.products li.product a img {
    margin: 0 1.9em 1em !important;
  }

  .woocommerce .woocommerce-ordering,
  .woocommerce-page .woocommerce-ordering {
    float: none !important;
    left: -10px !important;
  }

  .aws-container {
    margin-left: 1rem !important;
    width: 90% !important;
    margin-top: 3rem !important;
  }

  .woocommerce-result-count {
    margin-left: 3.4rem !important;
  }

  .woocommerce .woocommerce-ordering,
  .woocommerce-page .woocommerce-ordering {
    margin-left: 4rem !important;
  }

  .orderby select option {
    background: #fff !important;
  }

  #lego-set-padding {
    padding: 15px;
  }
}

/*Iphone XR*/
@media (min-width: 414px) and (max-width: 415px) {

  .woocommerce ul.products li.product {
    height: auto !important;
  }

  .woocommerce ul.products li.product a img {
    margin: 0 3em 1em !important;
  }

  .woocommerce .woocommerce-ordering,
  .woocommerce-page .woocommerce-ordering {
    float: left !important;
    left: 60px !important;
  }

  .aws-container {
    margin-left: 1rem !important;
    width: 90% !important;
  }

  .woocommerce-result-count {
    margin-left: 4rem !important;
  }

  #lego-set-padding {
    padding: 15px;
  }
}

/*Iphone 12 Pro*/
@media (min-width: 390px) and (max-width: 391px) {

  .woocommerce ul.products li.product {
    height: auto !important;
  }

  .woocommerce ul.products li.product a img {
    margin: 0 2.3em 1em !important;
  }

  .woocommerce .woocommerce-ordering,
  .woocommerce-page .woocommerce-ordering {
    float: left;
    left: 0px !important;
  }

  .aws-container {
    margin-left: 1rem !important;
    width: 90% !important;
  }

  .woocommerce-result-count {
    margin-left: 4rem !important;
  }

  #lego-set-padding {
    padding: 15px;
  }
}

/*Iphone 14 Pro*/
@media (min-width: 430px) and (max-width: 435px) {

  .woocommerce ul.products li.product {
    height: auto !important;
  }

  .woocommerce ul.products li.product a img {
    margin: 0 3.4em 1em !important;
  }

  .woocommerce .woocommerce-ordering,
  .woocommerce-page .woocommerce-ordering {
    float: left !important;
    left: 70px !important;
  }

  .aws-container {
    margin-top: 1rem !important;
    margin-left: 1rem !important;
    width: 90% !important;
  }

  .woocommerce-result-count {
    margin-left: 4.5rem !important;
  }

  #lego-set-padding {
    padding: 15px;
  }
}

/*Pixel 7*/
@media (min-width: 412px) and (max-width: 415px) {

  .woocommerce ul.products li.product a img {
    margin: 0 3em 1em !important;
  }

  .woocommerce ul.products li.product {
    height: auto !important;
  }

  .woocommerce .woocommerce-ordering,
  .woocommerce-page .woocommerce-ordering {
    float: left;
    left: 62px !important;
  }

  .aws-container {
    margin-left: 1rem !important;
    width: 90% !important;
  }

  .woocommerce-result-count {
    margin-left: 4rem !important;
  }

  #lego-set-padding {
    padding: 15px;
  }
}

/*Galaxy s8*/
@media (min-width: 360px) and (max-width: 361px) {

  .woocommerce nav.woocommerce-pagination ul {
    display: flex !important;
  }

  .woocommerce ul.products li.product a img {
    margin: 0 1.4em 1em !important;
  }

  .woocommerce ul.products li.product {
    height: auto !important;
  }

  .woocommerce .woocommerce-ordering,
  .woocommerce-page .woocommerce-ordering {
    float: left !important;
    left: 40px !important;
  }

  .aws-container {
    margin-left: 1rem !important;
    width: 90% !important;
  }

  .woocommerce-result-count {
    margin-left: 2.7rem !important;
  }

  #lego-set-padding {
    padding: 15px;
  }
}

/*Galaxy s20*/
@media (min-width: 412px) and (max-width: 413px) {

  .woocommerce ul.products li.product {
    height: auto !important;
  }

  .woocommerce ul.products li.product a img {
    margin: 0 3em 1em !important;
  }

  .woocommerce .woocommerce-ordering,
  .woocommerce-page .woocommerce-ordering {
    float: left !important;
    left: 62px !important;
  }

  .aws-container {
    margin-left: 1rem !important;
    width: 90% !important;
  }

  .woocommerce-result-count {
    margin-left: 4rem !important;
  }

  .page-description {
    padding: 5px;
  }

  #lego-set-padding {
    padding: 15px;
  }
}

/* Galaxy Z Fold 5 */
@media (min-width: 344px) and (max-width: 345px) {

  .woocommerce .woocommerce-result-count {
    margin-left: 30px !important;
  }

  .woocommerce-page .woocommerce-ordering {
    left: -45px !important;
  }
}

/*Ipad Air and IPad Pro 11"" inches*/
@media (min-width: 820px) and (max-width: 835px) {

  #lego-set-padding {
    padding: 15px;
  }

  .page-description {
    padding: 5px;
  }

  ul.products {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
  }

  .woocommerce ul.products li.product {
    margin: 10px !important;
    height: auto !important;
    width: 30% !important;
  }

  .aws-container {
    padding: 10px;
  }

  .woocommerce-page h1 {
    padding: 5px 15px;
  }

  .category-text-page {
    padding: 20px;
  }

  #tablet ul.products li.product {
    margin: 15px 20px !important;
    width: 320px !important;
  }

  #tablet .first {
    display: none !important;
  }

  #tablet .last {
    display: none !important;
  }

  .woocommerce .woocommerce-ordering,
  .woocommerce-page .woocommerce-ordering {
    float: left !important;
    left: 0px !important;
  }

  .woocommerce .woocommerce-result-count,
  .woocommerce-page .woocommerce-result-count {
    float: right !important;
  }
}

/*Ipad IpadOS*/
@media (min-width: 810px) and (max-width: 819px) {

  .woocommerce ul.products li.product a img {
    margin: 0 1em 0em !important;
  }

  ul.products {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
  }

  .woocommerce ul.products li.product {
    margin: 10px !important;
    height: auto !important;
    width: 30% !important;
  }

  #lego-set-padding {
    padding: 15px;
  }

  .page-description {
    padding: 5px;
  }

  .aws-container {
    padding: 10px;
  }

  .woocommerce-page h1 {
    padding: 5px 15px;
  }

  .category-text-page {
    padding: 20px;
  }

  #tablet ul.products li.product {
    margin: 15px 20px !important;
    width: 340px !important;
  }

  #tablet .first {
    display: none !important;
  }

  #tablet .last {
    display: none !important;
  }

  .woocommerce .woocommerce-ordering,
  .woocommerce-page .woocommerce-ordering {
    float: left !important;
    left: 0px !important;
  }

  .woocommerce .woocommerce-result-count,
  .woocommerce-page .woocommerce-result-count {
    float: right !important;
  }
}

/*Ipad Air*/
@media (min-width: 820px) and (max-width: 821px) {

  .woocommerce ul.products li.product {
    margin: 11px !important;
  }

  .woocommerce .woocommerce-ordering,
  .woocommerce-page .woocommerce-ordering {
    left: 0px !important;
  }

  .woocommerce .woocommerce-result-count,
  .woocommerce-page .woocommerce-result-count {
    float: right;
  }

  .woocommerce .woocommerce-ordering,
  .woocommerce-page .woocommerce-ordering {
    float: left;
  }
}

/*IPad Pro */
@media (min-width: 1024px) and (max-width: 1030px) {

  .woocommerce ul.products li.product a img {
    margin: 0 0em 1em !important;
  }

  .woocommerce ul.products li.product {
    margin: 10px !important;
    height: auto !important;
  }

  .woocommerce .woocommerce-ordering,
  .woocommerce-page .woocommerce-ordering {
    float: left !important;
    left: 0px !important;
  }

  .woocommerce .woocommerce-result-count,
  .woocommerce-page .woocommerce-result-count {
    float: right !important;
  }

  #lego-set-padding {
    padding: 15px;
  }

  .page-description {
    padding: 5px;
  }

  .aws-container {
    padding: 10px;
  }

  .woocommerce-page h1 {
    padding: 5px 15px;
  }

  .category-text-page {
    padding: 20px;
  }

  #tablet ul.products li.product {
    margin: 15px 20px !important;
    width: 440px !important;
  }

  #tablet .first {
    display: none !important;
  }

  #tablet .last {
    display: none !important;
  }
}

/*Surface Pro 7*/
@media (min-width: 912px) and (max-width: 913px) {
  .woocommerce ul.products li.product {
    margin: 13px !important;
  }

  .woocommerce ul.products li.product {
    height: 330px !important;
  }

  .woocommerce .woocommerce-ordering,
  .woocommerce-page .woocommerce-ordering {
    float: right;
    left: 0px !important;
  }
}

/*Samsung Galaxy A51/71*/
@media (min-width: 914px) and (max-width: 915px) {

  #lego-set-padding {
    padding: 15px;
  }
}

/*425px  Mobile General*/
@media (max-width: 601px) {

  .woocommerce ul.products li.product {
    margin: 10px 0px !important;
  }

  .woocommerce ul.products {
    margin: 2em 1em 1em !important;
  }

  .woocommerce ul.products[class*=columns-] li.product,
  .woocommerce-page ul.products[class*=columns-] li.product {
    width: 100% !important;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    text-align: center !important;
  }

  .columns-4 .woocommerce-loop-product__title {
    padding: 1.5em 0.9em !important;
  }

  .category-text-page {
    margin-top: 45px;
    padding: 0px 20px;
  }

  #site-navigation-sub-menu-tim .main-navigation ul {
    display: block !important;
  }

  .mobile-show {
    display: block !important;
  }

  #lego-set-padding img {
    height: auto;
    width: 100%;
    padding: 15px;
  }
}

/*Tablet General*/
@media (min-width: 768px) and (max-width: 770px) {

  .woocommerce ul.products {
    left: 50px !important;
    position: relative !important;
  }

  .columns-4 .woocommerce-loop-product__title {
    width: 80% !important;

  }
}
@media (min-width: 667px) and (max-width: 668px) {
  .woocommerce ul.products li.product {
    margin: 0px !important;
  }
}

/*--- Landscape---*/
@media screen and (orientation:landscape) {

  .woocommerce ul.products li.product {
    margin: 12px !important;
  }

  .woocommerce .woocommerce-ordering,
  .woocommerce-page .woocommerce-ordering {
    left: 0px !important;
  }
}

/*Galaxy s8 Landscape*/
@media (min-width: 740px) and (max-width: 741px) {

.woocommerce ul.products li.product {
    margin: 0px !important;
  }
}
/*----------end--------------*/

/*-- Widget bedside slider mobile different screen ------>*/
@media screen and (max-width: 760px) {

  html,
  body {
    overflow-x: hidden;
  }

  .widget_beside_slider {
    display: none !important;
  }
}

@media screen and (-webkit-device-pixel-ratio: 3) {

  html,
  body {
    overflow-x: hidden;
  }

  .widget_beside_slider {
    display: none !important;
  }
}

@media only screen and (max-width: 601px) {

  #block-38 img {
    margin-left: 75px !important;
  }

  #med_rect_atf {
    max-width: 600px !important;
  }

  #site-navigation-sub-menu-tim {
    display: -webkit-inline-box !important;
  }

  #main {
    padding-top: px !important;
  }

}
/*---------end------------*/

/* Search Result Page Extra Css from Dario for Mobile and Tablet different screen*/
@media (min-width: 765px) and (max-width: 770px) {

  .search .status-publish:first-child {
    display: none !important;
  }

  .tg-site-layout--2-sidebars #primary {
    width: 70% !important;
  }

  .search-results .article-container {
    width: 100% !important;
  }

  .tg-site-layout--2-sidebars #tertiary {
    width: 30% !important;
  }
}

@media (min-width: 810px) and (max-width:815px) {

  .tg-site-layout--2-sidebars #tertiary {
    width: 30% !important;
  }

  .search-results .article-container {
    width: 100% !important;
  }

  .tg-site-layout--2-sidebars #primary {
    width: 70% !important;
  }
}

@media (min-width: 819px) and (max-width:821px) {
    
  .tg-site-layout--2-sidebars #tertiary {
    width: 30% !important;
  }

  .search-results .article-container {
    width: 100% !important;
  }

  .tg-site-layout--2-sidebars #primary {
    width: 70% !important;
  }
}

@media (min-width: 834px) and (max-width:836px) {

  .tg-site-layout--2-sidebars #tertiary {
    width: 30% !important;
  }

  .search-results .article-container {
    width: 700px;
  }

  .tg-site-layout--2-sidebars #primary {
    width: 70% !important;
  }
}

@media only screen and (max-width: 600px) {
  .search-results .article-container {
    width: 100%;
  }
}

@media (min-width: 1000px) and (max-width: 1190px) {

  .inner-wrap {
    width: 100% !important;
  }

  .tg-site-layout--2-sidebars #tertiary {
    padding-right: 0px !important;
    margin-right: 0px !important;
  }
}
/*------end---------*/

/* Ad banner desktop overwrite from dario */
@media only screen and (min-width: 900px) {

  .desktop img {
    width: 712px !important;
  }
}
/*-------end---------*/

/* Tim has requested to hidden the sidebar on Ipad tablet */
@media (min-width: 810px) and (max-width: 1023px) {

  #tertiary {
    display: none !important;
  }

  .tg-site-layout--2-sidebars #primary {
    width: 100% !important;
  }
}
/*---------end----------*/

/*---------Post Changes Mobile --------------*/
@media (min-width: 1024px) {
  .post-bd .bdv2 {
    width: 175px;
    margin: 5px;
    height: 280px;
    padding: 0px;
    background-color: #d9d9d9;
    box-shadow: none;
    border-radius: 20px;
    font-weight: normal !important;
  }

  .post-bd .bdv2_img {
    width: 150px;
    height: 200px;
    padding: 0px;
    border: none !important;
    box-shadow: none;
    background-color: #d9d9d9;
  }

  .post-bd img {
    position: relative;
    left: 5px;
    width: 150px;
    height: 200px;
    overflow-x: hidden;
    max-height: 140px;
    margin: 0 auto;
    opacity: 0.9;
    /* Adjust opacity as needed */
    mix-blend-mode: multiply;
  }

  .post-bd .bdv2_title {
    width: 175px;
    height: 30px;
    position: relative;
    top: -35px;
    left: 5px;
    font-weight: 400 !important;
  }

  .post-bd .bdv2_buy {
    position: relative;
    top: -43px;
    left: 5px;
    border-radius: 40px;
    color: #151515;
    width: 160px;
    background-color: white;
    border: 1px solid #151515;
    z-index: 9999999;
    background-color: #d9d9d9;
    text-align: center;
  }

  .post-bd a {
    font-weight: 400;
  }

  .post-bd .bdv2_buy a {
    font-weight: 410;
    color: #151515;
  }

  .post-bd .bdv2_price {
    border-top: 1px solid black;
    border-bottom: 1px solid #151515;
    width: 135px;
    position: relative;
    top: -35px;
    left: 5px;
    font-weight: 400 !important;
    font-size: 20px;
  }

  .post-bd .bdv2_old_price {
    position: relative;
    top: -65px;
    left: 95px;
    color: #151515;
    font-weight: 400 !important;
  }

  .post-bd .bdv2_discount {
    position: relative;
    top: -1px;
    left: 95px;
    width: 45px;
    display: none;
  }

  .post-bd .bdv2_retailer {
    display: none;
  }
}

@media screen and (min-width: 800px) {
  .article-container {
    width: 800px;
  }

  .article-container .post {
    display: inline !important;
    float: left !important;
    width: 230px !important;
    height: 275px;
    margin: 5px;
    clear: none !important;
  }
}
/*------------end----------------*/

/*------- AD Css mobile different screen-----*/
@media only screen and (max-width: 601px) {

  .desktop {
    display: none !important;
  }

  .adbox-3 {
    display: block !important;
  }
  
  .adbox-1 {
    display: none !important;
  }
  
  .mobile {
    display: block !important;
    text-align: center;
    margin: 25px 0 10px 0;
  }

  .slider-featured-image .above-entry-meta {
    display: none;
  }

  #pw-oop-bottom_rail {
    display: none;
  }

  #tyche_trendi_parent_container {
    position: relative;
    z-index: 1;
  }

  #mobile_homepage_below_slider,
  #mobile_custom_p2 {}

  #homepage_below_slider {}

  #mobile_homepage_below_slider img {
    max-width: 100%;
    height: auto;
  }

  .mobile_only img {
    max-width: 100%;
    height: auto;
  }

  #block-57 {
    display: none !important;
  }
}

@media only screen and (min-width: 768px) {

  #homepage_below_slider,
  #custom_p2 {
    display: none;
  }

  #mobile_homepage_below_slider,
  #mobile_custom_p2 {}
}

@media (min-width: 605px) and (max-width: 768px) {
  .adbox-3 {
    margin-top: 10rem !important;
  }
}

@media only screen and (max-width: 736px) {
  .desktop_only {
    display: block;
  }
}
/*-------end--------------*/

/*-------CSS for Sub-menu on mobile from Dario-----*/
@media screen and (max-width: 768px) {
  .sub-toggle {
    display: block !important;
  }
}
/*----------end-------------*/

/*----CSS for close button mobile popup different screen--------*/
@media screen and (max-width: 600px) {
  .CloseButton__ButtonElement-sc-79mh24-0 svg {
    color: black !important;
    background: white !important;
    border-radius: 10px !important;
  }
}

@media screen and (max-width: 1190px) {
  .inner-wrap {
    width: 100%;
  }
}

@media screen and (max-width: 600px) {
  .page-id-167611 .entry-content {
    padding: 20px !important;
  }

  .page-id-167611 .entry-header h1 {
    background-color: #289dcc !important;
    color: gold !important;
  }
}
/*-------end-----*/

/*-----New Homepage Mobile Side Css Style----*/
@media screen and (max-width: 600px) { 
 .post_grid .vc_gitem-post-data-source-post_excerpt {
      display:none; 
   }
  .post_grid .vc_btn3-container {
      display:none;   
   }
  .post_grid_trending .vc_gitem-post-data-source-post_excerpt  {
      display:none!important;  
    }
  .post_grid {
      margin-bottom: 0px!important;
    }
  .post_grid .vc_gitem-zone-mini {  
      background: #fff!important;  
    } 
  .post_grid_trending .vc_gitem-zone-mini {  
      background: #fff!important;  
    }       
  .post_grid .vc_gitem-zone img {
        height: 120px!important;
    }
  .post_grid h4 {
      font-weight: bold;
      font-size:18px;
      padding-bottom: 0px;
    }
   #row-two-posts {
      display: flex!important;
    }
   #slider .flex-control-nav {
      display:none!important; 
    }
  #slider .flex-direction-nav a {
     top: 22%!important;
     width: 45px!important;
     height: 45px!important;
   }
  #slider .flex-direction-nav a:before {
    border-radius: 20px!important;
    border:1px solid #fff!important;
    width: 40px!important;
    color: white!important;
    text-align: center!important;
   }
  .post_grid_trending .vc_btn3-container.vc_btn3-left {
     display: none!important;
  }
  .banner {
     padding: 20px;
     text-align: center;
     background: #009FE3 !important;
   }
  .more_stories .vc_gitem-zone{
      width: 200px;
   }
   .more_stories .vc_gitem_row .vc_gitem-col {
      padding: 0px 8px!important;
   }
   .more_stories .vc_grid-item-mini {
       display: inline-flex!important;
   }
   .more_stories .vc_gitem-post-data-source-post_excerpt {
      display:none!important; 
   }
   .more_stories .vc_btn3-container  {
      display:none!important; 
   }
   .more_stories .vc_gitem-zone-img {
     height: 100px;
   }
   .more_stories .vc_grid-item {
     border-bottom: 1px solid #289dcc;
     margin-top: 10px;
     margin-bottom: 15px;
     background: #fff!important;
   }
   .more_stories h4 {
     font-size: 15px;
     font-weight: bold;
    }
}