/*
Theme Name: the7dtchild
Author: Dream-Theme
Author URI: http://dream-theme.com/
Description: The7 is perfectly scalable, performance and SEO optimized, responsive, retina ready multipurpose WordPress theme. It will fit every site – big or small. From huge corporate portals to studio or personal sites – The7 will become a great foundation for your next project!
Version: 1.0.0
License: This WordPress theme is comprised of two parts: (1) The PHP code and integrated HTML are licensed under the GPL license as is WordPress itself.  You will find a copy of the license text in the same directory as this text file. Or you can read it here: http://wordpress.org/about/gpl/ (2) All other parts of the theme including, but not limited to the CSS code, images, and design are licensed according to the license purchased. Read about licensing details here: http://themeforest.net/licenses/regular_extended
Template: dt-the7
*/


/*Site wide styles - HEADER*/
div#phantom.show-phantom div.ph-wrap.with-logo div.logo-box a img.preload-me
{width:50px!important;height:50px!important;}

div#phantom.masthead
div.ph-wrap.with-logo div.widget-box div.mini-widgets 
div.mini-login
{display:none!important;}

div#phantom.masthead 
div.menu-box ul.main-nav.underline-decoration.l-to-r-line.outside-item-remove-margin div#mega-menu-wrap-primary
{padding-top:10px;}

/*END*/
.variation-Back-ordered
{
  font: 900 18px/27px "Roboto",Helvetica,Arial,Verdana,sans-serif !important;color:#85868c !important;
   width:100%; padding-left:8px; border-left: 2px solid red;
}

dd.variation-Back-ordered p
{
  font: normal 14px/27px "Roboto",Helvetica,Arial,Verdana,sans-serif; color:#000000!important;
  
}
.backorder_notification
{display:none;}
.stock.available-on-backorder
{
  font: 900 18px/27px "Roboto",Helvetica,Arial,Verdana,sans-serif !important;color:#85868c !important;
   width:100%; padding-left:8px; border-left: 2px solid red;
}



div#search-3.widget.widget_search form.searchform input.field.searchform-s
{background:transparent;border-radius:5px;border: 2px solid #ccc;color:#333;clear:right;height:40px;}
div#search-3.widget.widget_search form.searchform input.field.searchform-s:hover
{border: 2px solid #2B8540;}
div#search-3.widget.widget_search form.searchform a.submit{top:-10px;}
.mini-widgets div.text-area.show-on-desktop.near-logo-first-switch.in-menu-second-switch.last p a.top-contact
{text-decoration-line: none;color:#666;}
section#presscore-custom-menu-1-2.widget.widget_presscore-custom-menu-1 li ul
{display:none;}
figure.woocom-project figcaption.woocom-list-content h4.entry-title a
{min-height:55px; margin:0px;padding:0px;display:inline-block;}
/*AFTER MENU 4 columns CSS*/
.post-menu-wrap
{width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 20px 0 0;
height: auto;}
.post-menu-col1,.post-menu-col2,.post-menu-col3,.post-menu-col4
{float: left;
text-align: left;
font-size: 18px;
font-family: "roboto";
font-weight: 700;
background-repeat: no-repeat;
height: 33px;
background-size: 40px;
padding: 5px 0 10px 4.5%;
width: 28.5%;}
.post-menu-col1{  background-image: url("https://www.drugs-cabinets.co.uk/wp-content/uploads/2019/01/made-in-britain.png"); background-size: auto 42px;background-position: 0px 4px;}
.post-menu-col2{  background-image: url("https://www.drugs-cabinets.co.uk/wp-content/uploads/2018/04/tick.jpg");}
.post-menu-col3{  background-image: url("https://www.drugs-cabinets.co.uk/wp-content/uploads/2018/04/truck.jpg");}
.post-menu-col4{  background-image: url("https://www.drugs-cabinets.co.uk/wp-content/uploads/2018/04/rosette.jpg");}
/*Remove sales badge*/
span.onsale{display:none;}
div.woocommerce-product-details__short-description h2
{font-size:24px;line-height:1em;}
div.woocommerce-product-details__short-description h3
{font-size:18px;line-height:1em;}
@media only screen and (max-width: 970px) {
.post-menu-wrap
{display:none;}
}
@media only screen and (max-width: 1205px) {
ul#primary-menu li.menu-item a
  {margin: 18px 2px;padding: 4px 4px} 
  .classic-header .navigation .mini-widgets, .classic-header .widget-box .mini-widgets 
  {padding: 0px 0px 0px 0px;} 
}


small, sub, sup {
    font-size: 100% !important;}

/*UPDATED COLOUR SCHEME  2021*/

/*General fixes*/
.star-rating {background:#ffffff;position:absolute!important;top:0px;padding:10px 20px;float:left!importnat;}

/*site wide category colours*/

/*category headers*/
.tax-product_cat .page-title .page-title-head h1
{border-left: solid 10px;padding:0 15px!important;}
.top-parent-id-38 .page-title .page-title-head h1{border-color:#FFCE00!important;}
.top-parent-id-83 .page-title .page-title-head h1{border-color:#FFA047!important;}
.term-83 .page-title .page-title-head h1{border-color:#FFA047!important;}
.top-parent-id-39 .page-title .page-title-head h1{border-color:#85DB98!important;}
.top-parent-id-40 .page-title .page-title-head h1{border-color:#A30054!important;}
.top-parent-id-41 .page-title .page-title-head h1{border-color:#FA8EC6!important;}
.top-parent-id-42 .page-title .page-title-head h1{border-color:#95A3FF!important;}
.parent-pageid-3265 .page-title .page-title-head h1{border-color:#95A3FF!important;border-left: solid 10px;padding:0 15px!important}

/*YELLOW - Pharmacy equipment*/
.page-id-2700 .entry-title a:hover {color:#FFCE00!important;}

.top-parent-id-38 .page-title .wf-wrap::after {border-bottom: 2px solid #FFCE00!important;}
.top-parent-id-38 .entry-title a:hover, .top-parent-id-38 .breadcrumbs.text-small li a span {color:#FFCE00!important;}

.top-parent-id-38 .textwidget form input,
.top-parent-id-38 div.price_slider_amount button.button
{background:#FFCE00!important;}
.top-parent-id-38 #content p a
{color:#FFCE00!important;}

.top-parent-id-38 .accent-gradient .widget_price_filter .ui-slider .ui-slider-handle::before,
.top-parent-id-38 .accent-gradient .widget_price_filter .ui-slider .ui-slider-range,
.top-parent-id-38 .accent-gradient .product .onsale 
{background: #FFCE00!important;}

.top-parent-id-38 .price_slider.ui-slider span.ui-slider-handle.ui-state-default::before,
.top-parent-id-38 .price_slider .ui-slider-range.ui-corner-all.ui-widget-header
{background: #FFCE00!important;}


/*ORANGE - Controld Drugs Cabs*/


.term-83 .page-title .wf-wrap::after, .top-parent-id-83 .page-title .wf-wrap::after {border-bottom: 2px solid #FFA047!important;}
.term-83 .breadcrumbs.text-small li a span, .term-83 .entry-title a:hover, .top-parent-id-83 .entry-title a:hover,.top-parent-id-83 .breadcrumbs.text-small li a span {color:#FFA047!important;}

.top-parent-id-83 .textwidget form input, .term-83  .textwidget form input,
.top-parent-id-83 div.price_slider_amount button.button, .term-83 div.price_slider_amount button.button
{background:#FFA047!important;}
.top-parent-id-83 #content p a, .term-83 #content p a
{color:#FFA047!important;}

.term-83 .accent-gradient .widget_price_filter .ui-slider .ui-slider-handle::before,
.term-83 .accent-gradient .widget_price_filter .ui-slider .ui-slider-range,
.term-83 .accent-gradient .product .onsale 
{background: #FFA047!important;}
.top-parent-id-83 .accent-gradient .widget_price_filter .ui-slider .ui-slider-handle::before,
.top-parent-id-83 .accent-gradient .widget_price_filter .ui-slider .ui-slider-range,
.top-parent-id-83 .accent-gradient .product .onsale 
{background: #FFA047!important;}

.term-83 .price_slider.ui-slider span.ui-slider-handle.ui-state-default::before,
.top-parent-id-83 .price_slider.ui-slider span.ui-slider-handle.ui-state-default::before,
.term-83 .price_slider .ui-slider-range.ui-corner-all.ui-widget-header,
.top-parent-id-83 .price_slider .ui-slider-range.ui-corner-all.ui-widget-header
{background: #FFA047!important;}


/*green - Medicing Storage*/
.page-id-2493 .entry-title a:hover {color:#85DB98!important;}

.top-parent-id-39 .page-title .wf-wrap::after {border-bottom: 2px solid #85DB98!important;}
.top-parent-id-39 .entry-title a:hover, .top-parent-id-39 .breadcrumbs.text-small li a span {color:#85DB98!important;}

.top-parent-id-39  .textwidget form input,
.top-parent-id-39 div.price_slider_amount button.button
{background:#85DB98!important;}
.top-parent-id-39 #content p a
{color:#85DB98!important;}

.top-parent-id-39 .accent-gradient .widget_price_filter .ui-slider .ui-slider-handle::before,
.top-parent-id-39 .accent-gradient .widget_price_filter .ui-slider .ui-slider-range,
.top-parent-id-39 .accent-gradient .product .onsale 
{background: #85DB98!important;}

.top-parent-id-39 .price_slider.ui-slider span.ui-slider-handle.ui-state-default::before,
.top-parent-id-39 .price_slider .ui-slider-range.ui-corner-all.ui-widget-header
{background: #85DB98!important;}


/*burgendy - MSD drug trolley*/
.page-id-2073 .entry-title a:hover {color:#A30054!important;}

.top-parent-id-40 .page-title .wf-wrap::after {border-bottom: 2px solid #A30054!important;}
.top-parent-id-40 .entry-title a:hover, .top-parent-id-39 .breadcrumbs.text-small li a span {color:#A30054!important;}

.top-parent-id-40  .textwidget form input,
.top-parent-id-40 div.price_slider_amount button.button
{background:#A30054!important;}
.top-parent-id-40 #content p a
{color:#A30054!important;}

.top-parent-id-40 .accent-gradient .widget_price_filter .ui-slider .ui-slider-handle::before,
.top-parent-id-40 .accent-gradient .widget_price_filter .ui-slider .ui-slider-range,
.top-parent-id-40 .accent-gradient .product .onsale 
{background: #A30054!important;}

.top-parent-id-40 .price_slider.ui-slider span.ui-slider-handle.ui-state-default::before,
.top-parent-id-40 .price_slider .ui-slider-range.ui-corner-all.ui-widget-header
{background: #A30054!important;}

/*pink - fridges*/
.page-id-2255 .entry-title a:hover {color:#FA8EC6!important;}

.top-parent-id-41 .page-title .wf-wrap::after {border-bottom: 2px solid #FA8EC6!important;}
.top-parent-id-41 .entry-title a:hover, .top-parent-id-39 .breadcrumbs.text-small li a span {color:#FA8EC6!important;}

.top-parent-id-41  .textwidget form input,
.top-parent-id-41 div.price_slider_amount button.button
{background:#FA8EC6!important;}
.top-parent-id-41 #content p a
{color:#FA8EC6!important;}

.top-parent-id-41 .accent-gradient .widget_price_filter .ui-slider .ui-slider-handle::before,
.top-parent-id-41 .accent-gradient .widget_price_filter .ui-slider .ui-slider-range,
.top-parent-id-41 .accent-gradient .product .onsale 
{background: #FA8EC6!important;}

.top-parent-id-41 .price_slider.ui-slider span.ui-slider-handle.ui-state-default::before,
.top-parent-id-41 .price_slider .ui-slider-range.ui-corner-all.ui-widget-header
{background: #FA8EC6!important;}


/*purple - Hospital Furniture*/
.parent-pageid-3265 .entry-title a:hover,
.top-parent-id-39 .entry-title a:hover,
.page-id-3265 .entry-title a:hover {color:#95A3FF!important;}

.parent-pageid-3265 .page-title .wf-wrap::after,
.top-parent-id-39 .page-title .wf-wrap::after,
.top-parent-id-42 .page-title .wf-wrap::after {border-bottom: 2px solid #95A3FF!important;}


.top-parent-id-42 .entry-title a:hover, .top-parent-id-39 .breadcrumbs.text-small li a span,
.parent-pageid-3265.entry-title a:hover, .parent-pageid-3265 .breadcrumbs.text-small li a span,
.parent-pageid-3265.entry-title a:hover, .parent-pageid-3265 .breadcrumbs.text-small li a span
 {color:#95A3FF!important;}

.top-parent-id-42  .textwidget form input,
.top-parent-id-42 div.price_slider_amount button.button,
.parent-pageid-3265  .textwidget form input,
.parent-pageid-3265 div.price_slider_amount button.button
{background:#95A3FF!important;}

.parent-pageid-3265 #content p a,
.page-id-3265 #content p a,
.top-parent-id-42 #content p a
{color:#95A3FF!important;}

.parent-pageid-3265 .accent-gradient .widget_price_filter .ui-slider .ui-slider-handle::before,
.parent-pageid-3265 .accent-gradient .widget_price_filter .ui-slider .ui-slider-range,
.parent-pageid-3265 .accent-gradient .product .onsale,
.top-parent-id-42 .accent-gradient .widget_price_filter .ui-slider .ui-slider-handle::before,
.top-parent-id-42 .accent-gradient .widget_price_filter .ui-slider .ui-slider-range,
.top-parent-id-42 .accent-gradient .product .onsale 
 
{background: #95A3FF!important;}

.parent-pageid-3265 .price_slider.ui-slider span.ui-slider-handle.ui-state-default::before,
.parent-pageid-3265 .price_slider .ui-slider-range.ui-corner-all.ui-widget-header,
.top-parent-id-42 .price_slider.ui-slider span.ui-slider-handle.ui-state-default::before,
.top-parent-id-42 .price_slider .ui-slider-range.ui-corner-all.ui-widget-header

{background: #95A3FF!important;}






/*HOME PAGE STYLES*/

.home-cat-banner
{display: flex;height:300px;}
.home-cat-banner img
{position:relative;top:20px;right:20px;height:190px!important;width:auto;}

.home-cat-banner:hover img
{top:-10px; right:-10px;margin:0px;height:200px!important;width:auto; margin:25px; transform: rotate(0deg);rotation-point:100% 80%;}

.home-cat-banner h2 a
{bottom:20px;left:20px;z-index:10;position:absolute;;
color:#fff;font: normal 700 32px / 42px "Roboto", Helvetica, Arial, Verdana, sans-serif;
}

.home-cat-banner h2 a span
{font: normal 700 54px / 28px "Roboto", Helvetica, Arial, Verdana, sans-serif;}

.home-cat-banner h2 a:hover
{color:#fff;}


.home-cat-banner.controlled-drugs-cabs img
{width:auto;height:175px!important;margin-right:-4px;margin-top:-4px;}
.home-cat-banner.hospital-furniture img
{width:auto;height:185px!important;margin-right:-4px;margin-top:-4px;}

.home-cat-banner.controlled-drugs-cabs:hover img
{top:15px; right:15px;height:185px!important;width:auto;}

.home-cat-banner.hospital-furniture:hover img
{top:15px; right:15px;height:200px!important;width:auto;}


@media only screen and (min-width: 1360px) {
.home-cat-banner-row{margin-right:-50px!important;}
.home-cat-banner.pharmacy-equipment
{margin-left:-50px!important;}
}


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

.home-cat-banner
{display: flex;height:100px!important;}

.home-cat-banner img{position:relative;top:-20px!important;right:0px;max-height:90px!important;width:auto!important;}
.home-cat-banner:hover img
  {position:relative!important;top:-20px!important;right:0px!important;height:90px!important;max-height:100px!important;width:auto!important;transform: rotate(0deg);margin:0px;}

.home-cat-banner h2 a
{bottom:15px!important;left:15px;z-index:10;position:absolute;;
color:#fff;font: normal 700 22px / 16px "Roboto", Helvetica, Arial, Verdana, sans-serif!important;
width:100%;}

.home-cat-banner h2 a span
{font: normal 700 32px / 28px "Roboto", Helvetica, Arial, Verdana, sans-serif!important;}
  
.home-cat-banner h2 a:hover{color:#fff;}
.show-mobile-logo .branding img.mobile-logo, .show-mobile-logo.show-device-logo .branding img.mobile-logo, .show-device-logo .branding img, .show-mobile-logo .mobile-branding img.mobile-logo, .show-mobile-logo.show-device-logo .mobile-branding img.mobile-logo, .show-device-logo .mobile-branding img, .transparent .mobile-branding img.mobile-desktop-logo {
    max-width: 50%;
}
}




@media only screen and (min-width: 999px) {
/*mega menu styles*/
.mega-menu-item-13154 a:hover,.mega-menu-item-13154 ul.mega-sub-menu
{background:#ffce00!important;}
.mega-menu-item-1908 a:hover,.mega-menu-item-1908 ul.mega-sub-menu
{background:#ffa047!important;}
.mega-menu-item-2510 a:hover,.mega-menu-item-2510 ul.mega-sub-menu
{background:#85db98!important;}
.mega-menu-item-2092 a:hover,.mega-menu-item-2092 ul.mega-sub-menu
{background:#a30054!important;}
.mega-menu-item-2261 a:hover,.mega-menu-item-2261 ul.mega-sub-menu
{background:#fa8ec6!important;}
.mega-menu-item-3275 a:hover,.mega-menu-item-3275 ul.mega-sub-menu
{background:#95a3ff!important;}
}

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

.mega-menu-wrap
ul.mega-sub-menu li.mega-menu-row ul.mega-sub-menu 
li.mega-menu-column.mega-col-mega-menu-list.col-mega-menu-list
{background:#fff!important;min-height:430px!important;padding:25px 0 0 15px!important;}



.mega-menu-link span.mega-indicator
{display:none!important;}


.col-mega-menu-list{
  background: #fff !important;height:100%!important; 
}


li.mega-menu-column.mega-menu-columns-8-of-12
{
text-align:right; right:0px;top:0px;height:0px!important;
  display:inline-block!important;padding:0px;margin:0px; position:absolute;
}

li.mega-menu-column.mega-menu-columns-8-of-12 img
{right:0px!important;height:300px!important;width:auto;float:right;margin:20px 40px 0 0;}

div#mega-menu-wrap-primary .mega-menu-item > .mega-sub-menu {
    min-height: 350px !important;
}

div#mega-menu-wrap-primary .mega-menu-item > .mega-sub-menu  .mega-sub-menu{
	min-height:0px!important;background:#fff!important;
	
}
@media only screen and (max-width: 1210px) {
.col-mega-image{display:none;}
}



li#mega-menu-3275-0-2.mega-menu-column.mega-col-mega-image.mega-menu-columns-4-of-12.col-mega-image ul.mega-sub-menu 
li#mega-menu-item-media_image-8.mega-menu-item.mega-menu-item-type-widget.widget_media_image.mega-menu-item-media_image-8
{
  text-align:right;
}



.mini-widgets div.text-area.show-on-desktop.near-logo-first-switch.in-menu-second-switch.last form input
{position:relative;top:-6px;border:none!important;}

div.text-area.show-on-desktop.near-logo-first-switch.in-menu-second-switch.show-on-first-switch form input {
  border:none;
}

section.widget.widget_text div.textwidget form input
{border:none;font-size:18px;overflow: visible;padding:15px 0px;background:#23AADD;}
section.widget.widget_text
{margin:0px!important;padding:0px;}

}


@media only screen and (max-width: 920px) {
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link {
  /* Mega Menu > Menu Themes > Mega Menus > Second Level Menu Items */
  font-size: 14px;line-height: 1.1em;

}
}

/*Fix trolleys image size*/
#mega-menu-wrap-primary li#mega-menu-item-2092 
#mega-menu-2092-0-2.mega-menu-column ul.mega-sub-menu
#mega-menu-item-media_image-6.mega-menu-item-media_image-6 a img.image.wp-image-11845.attachment-full.size-full
{width:90%;margin: 5% !important;}


p#wc-stripe-payment-request-button-separator,
div#wc-stripe-payment-request-wrapper {
    display: none;
}

/*UPDATE Oct 2022 - css adjustements for header to allow for awarded supplier logo*/

.branding div.mini-widgets div.text-area
{text-align:right;}
img.awardlogo
{width:50%!important;;}


#search-3.widget.widget_search.widget-shortcode.area-arbitrary
{height:70px;margin:0px!important;padding:0px;}

#search-3 #the7-search.field.searchform-s
{border:solid 1px #3555!important;}

#search-3.widget.widget_search.widget-shortcode.area-arbitrary form.searchform
{z-index:99!important;max-height:35px;}

@media screen and (max-width: 1256px) and (min-width: 990px) {
  
    .branding .mini-widgets {width:25%;}
      .mini-widgets img.awardlogo{width:80%!important;margin-right:15px;}
  }


.mobile-mini-widgets-in-menu div.text-area
{width:250px;}


.mobile-mini-widgets-in-menu div.text-area
#search-3.widget.widget_search.widget-shortcode.area-arbitrary form.searchform input#the7-search.field.searchform-s
{width:250px;}

.mobile-mini-widgets-in-menu img.awardlogo
{min-width:200px;}

.dt-mobile-header.mobile-menu-show-divider div.text-area > form input
{position:absolute;top:100px;width:250px;padding:10px 5px;;}


.mobile-mini-widgets-in-menu .text-area #search-3
{display:block; position:absolute;top:30px;}

#search-3.widget.widget_search.widget-shortcode.area-arbitrary form.searchform a.submit 
{height:100px!important;}

.home-btn{padding-top:20px;}


.home-btn a {text-decoration: none;
font-size: 18px;
  line-height: 20px;
font-family: 'Roboto';
    font-weight: 500;
    border: none;width:100%;
    color: #333333;}
.home-btn a:hover{   color: #333333;}

.home-btn{background:#f5f5f5;}

.mega-sub-menu li#mega-menu-item-media_image-5.mega-menu-item.mega-menu-item-type-widget.widget_media_image.mega-menu-item-media_image-5 a img.image.wp-image-11849.attachment-full.size-full,
.mega-sub-menu li#mega-menu-item-media_image-8.mega-menu-item.mega-menu-item-type-widget.widget_media_image.mega-menu-item-media_image-8 a img.image.wp-image-11879
{width:70%!important; height:auto!important;}



.elex-rqst-quote-front-wrap:before{content: "Request a custom quote";display:block;color:#333;font-size:20px;}
.elex-rqst-quote-front-wrap {
  background:#f5f5f5;padding:10px; text-align: center;
}
div#elex-rqst-float-minicart-icon {
    display: none;
}
.mini-widgets .text-area.show-on-desktop.near-logo-first-switch.in-menu-second-switch.last p a {
  margin-top: -16px !important;
  display: block;
  color: #333;
  text-decoration: none;
}
.elex-rqst-quote-front-wrap .text-end{display:none;}
@media only screen and (max-width: 920px) {
.dt-mobile-header  #mega-menu-2092-0-0 a.mega-menu-link,#mega-menu-2092-0-1 a.mega-menu-link {color:#fff!important;}
}


.custom-product-search {
  display: flex;
  align-items: center;
  gap: 5px;
  max-width: 300px;
}

.custom-search-input {
  flex-grow: 1;
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  width: 100%;
}

.custom-search-button {
  background-color: #0073aa;
  color: white;
  border: none;
  padding: 6px 5px 6px!important;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
margin-top:-16px;
}

.custom-search-button:hover {
  background-color: #005f8d;
}
