/*
Theme Name:     Pharmacy Mentor Child
Theme URI:      https://www.pharmacymentor.com/
Description:    Child theme for the Pharmacy Mentor - WooPW Theme
Author:         Pharmacy Mentor
Author URI:     https://www.pharmacymentor.com/
Template:       pharmacymentor
Version:        1.0.0
*/

/* You can add your custom styles below */

:root {--header1-font-size: 32px!important;
    --header2-font-size: 24px!important;
    --header3-font-size: 18px!important;
    --header4-font-size: 16px!important;
    --header5-font-size: 13px!important;
    --header6-font-size: 11px!important;
}

.site-footer .lower-footer .extra-link ul > li + li {
    margin-left: 0;
}

.site-footer .lower-footer .extra-link ul {
    display: flex;
    gap: 15px;
}

a.my-basket::after {
    display: none !important;
}

.newsletter-form input.btn {    border: 1px solid #fff;}

.upper-footer a.theme-btn-gradient.w-100.text-center{border: 1px solid #fff;}

.newsletter-form input.btn:hover, .upper-footer a.theme-btn-gradient.w-100.text-center:hover { background:#fff!important; color: var(--theme-dark-background)!important;}

.upper-footer .logo img.img.img-fluid {
    background: #fff;
    border-radius: 5px;
    padding: 10px;
}
p.copyright a {
    color: #fff !important;
}

.woocommerce .login-wrapper .switch-wrapper li.active {
    color: white;
}

#menu-main-menu li ul.panel-menu ul.row > li:hover a, #menu-main-menu li ul.panel-menu ul.row > li:hover h4, #menu-main-menu li ul.panel-menu ul.row > li:hover i, #menu-main-menu li ul.panel-menu ul.row > li:hover p {
    cursor: pointer !important;
    color: var(--theme-secondary-color) !important;
}
h2.woocommerce-loop-product__title {
    min-height: 50px;
}
.woocommerce ul.order_details {
    display: flex;
    flex-wrap: wrap;
}
.make-popup .prescriber-pin-gen-container {
    height: min-content;
}
.woocommerce form .button:hover, .woocommerce .cart-collaterals .button.alt:hover, .woocommerce form .button.alt:hover {
    background-color: var(--theme-secondary-color) !important;
}
.woocommerce .woo-practitioner-orders-wrapper table tbody td:not(:last-child)::before, .woocommerce .practitioner-order-completed-wrapper table tbody td:not(:last-child)::before {
    transform: translateY(-50%);
    top: 50%;
}
.woocommerce .practitioner-order-under-review-wrapper .order-action-wrapper {
    display: flex;
    flex-wrap: wrap;
    width: min-content;
    gap: 5px;
    min-width: 100%;
    justify-content: center;
}
.make-popup .prescriber-sign-gen-container {
    min-height: 550px;
    height: min-content;
}
.wc-item-meta {
    padding-left: 0;
}
.wc-item-meta li {
    list-style: none;
}
.hero-slider .slide-content .banner-call-to-action {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.hero-slider .slide-content .banner-call-to-action a {
    text-align: center;
}
@media (max-width: 1199px) {
    .woocommerce .practitioner-order-section .woocommerce-orders-table__row.woocommerce-orders-table__row--status-prescribe-approve.order,
    .woocommerce .woo-practitioner-orders-wrapper table tbody tr:last-child, .woocommerce .woo-practitioner-orders-wrapper table tbody tr td:last-child {
        display: flex;
        flex-direction: column;
    }
    .woocommerce .practitioner-order-section .woocommerce-orders-table__row .mobile-only-table-heading {
        display: block !important;
    }
    .woocommerce .practitioner-order-section table.shop_table_responsive thead, 
    .woocommerce .practitioner-order-section .woocommerce-page table.shop_table_responsive thead {
        display: none;
    }
    .woocommerce .practitioner-order-section table.shop_table_responsive tr, 
    .woocommerce .practitioner-order-section .woocommerce-page table.shop_table_responsive tr {
        display: block;
    }
    .woocommerce .practitioner-order-section.woo-practitioner-orders-wrapper table tbody td:not(:last-child)::before, 
    .woocommerce .practitioner-order-section .woocommerce .practitioner-order-completed-wrapper table tbody td:not(:last-child)::before {
        display: block;
    }
}

@media (max-width: 992px) {
    .site-header .header-right-section .my-basket {
        display: flex !important;
    }
    .site-header #navbar > ul > li .sub-menu {
      display: none;
    }
    .mobile-visible {
        display: none !important;
    }
    .site-header .navbar-logo {
        display: none !important;
    }
    body .desktop-visible {
        display: block !important;
    }
    .site-header .header-socials {
        justify-content: flex-end;
    }
    .site-header .logo-container .desktop-visible .navigtaion-toggle-wrapper {
        display: flex !important;
    }
    .search-form .banner-content ul {
        width:100% !important;
    }
    .search-form .suppliers-data .supp-img,
    .search-form .supp-img img {
        min-width: 70px !important;
    }
    .site-header #navbar > ul > li.menu-btn {
        padding: 0 !important;
        width: auto !important;
        border-radius: var(--btn-radius) !important;
        background: var(--theme-btn-primary-color) !important;
        font-weight: normal !important;
    }
    .woocommerce #practitioner-order-modal .woo-practitioner-orders-wrapper table tbody *:is(td,th) {
        text-align: initial !important;
    }
    .woocommerce #practitioner-order-modal .woo-practitioner-orders-wrapper table tbody .woocommerce-orders-table__row--status-await-approval td.woocommerce-orders-table__cell-order-patient-details:before {
        content:unset !important;
    }
}

@media (max-width: 768px) {
    .woocommerce #content table.cart .product-thumbnail, .woocommerce table.cart .product-thumbnail, .woocommerce-page #content table.cart .product-thumbnail, .woocommerce-page table.cart .product-thumbnail {
        display: block;
    }
    .woocommerce table.shop_table_responsive tr td, .woocommerce-page table.shop_table_responsive tr td {
        text-align: left !important;
    }
}
@media (max-width: 600px) {
    .woocommerce .login-wrapper {
      padding: 25px 0px;
    }
}
@media (max-width: 480px) {
    .woocommerce table.shop_table_responsive tr td.product-name,
    .woocommerce-page table.shop_table_responsive tr td.product-name {
      position: relative;
    }
  
    .woocommerce table.shop_table_responsive tr td.product-name::before,
    .woocommerce-page table.shop_table_responsive tr td.product-name::before {
      content: attr(data-title) ": " !important;
      display: block !important;
      position: absolute;
      top: -10px;
      left: 11px;
      font-size: 18px;
      color: #254762;
      width: 100%;
    }
    .order_item td.product-price, 
    .order_item td.product-subtotal {
        display: revert !important;
        padding-left: 0;
    }
}  
@media (max-width: 374px) {
    .cflp-form-container div:is(.form-group-wrapper, .form-description-wrapper) {
        padding: 24px 20px;
    }
    .sidebar-button {
        padding: 0 15px;
    }
}
@media (min-width: 992px) {
    .woocommerce div.product form.cart .variations tbody {
        width: 100%;
        padding-left: 30px;
    }
    .site-header #navbar > ul > li, .site-header #navbar #mega-menu-wrap-main-menu #mega-menu-main-menu > li {
        margin-right: 15px;
    }
    .site-header #navbar > ul > li.menu-btn, .site-header #navbar #mega-menu-wrap-main-menu ul#mega-menu-main-menu > li.menu-btn {
        margin-left: 0;
    }
}
@media only screen and (min-width: 1050px) {
    .hero-slider .slide-content .banner-call-to-action {
        flex-direction: initial;
    }
    .hero-slider .slide-content .banner-call-to-action a {
        text-align: initial;
    }
}
@media (min-width: 769px) and (max-width: 800px) {
    .mobile-only-table-heading {
        display: none !important;
      }
}
@media (min-width: 480px) and (max-width: 768px) {
    .woocommerce table.shop_table_responsive tr td::before, .woocommerce-page table.shop_table_responsive tr td::before {
        display: none;
    }
}
@media (min-width: 320px) and (max-width: 360px) {
    .woocommerce div.product form.cart .variations select {
        min-width: 150px;
    }
}