/*!
Theme Name: Doctor
Theme URI: https://littlerhino.io
Author: Little Rhino
Author URI: https://littlerhino.io
Description: A custom theme for DrCelergen.com.
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: doctor
*/

/**
Global.
**/
body {
    font-size: 16px;
    font-family: 'Kumbh Sans', sans-serif;
    margin-bottom: 0 !important;
    overflow-x: hidden !important;
}

a, button {
    transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 10px;
}

.container-min-height {
    min-height: 75vh;
}

/**
Colors.
**/
.color-blue, a.color-blue, .color-blue-hover:hover, a.color-blue-hover:hover {
    color: #00355f;
}

.bg-blue {
    background-color: #00355f;
}

a, a:visited, .color-red, a.color-red, .color-red-hover:hover, a.color-red-hover:hover {
    color: #c41230;
}

.bg-red {
    background-color: #c41230;
}

.color-white, a.color-white, .color-white-hover:hover, a.color-white-hover:hover {
    color: #fff;
}

.bg-white {
    background-color: #fff;
}

.color-black, a.color-black, .color-black-hover:hover, a.color-black-hover:hover {
    color: #000;
}

.bg-black {
    background-color: #000;
}

/**
Alignment.
**/
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

/**
Header.
**/
div#doctor-header {
    margin: 10px auto;
    display: flex;
    align-items: center;
}

div#doctor-header > div, div#doctor-header > nav {
    flex: 1;
}

.site-branding a {
    display: flex;
    align-items: center;
}

header#masthead {
    border-bottom: 1px solid rgb(0 0 0 / 0.1);
}

div.doctor-header-frontpage {
    justify-content: center;
}

div#doctor-header .site-branding, div#doctor-header .site-branding img {
    max-width: 300px;
    height: auto;
}

ul#primary-menu, nav#site-navigation {
    display: flex;
    margin: 0;
    align-items: center;
    list-style: none;
    justify-content: flex-end;
}

ul#primary-menu li a, ul#user-menu li a {
    text-decoration: none;
    color: #00355f;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 10px 20px;
}

ul#primary-menu li a:hover, ul#user-menu li a:hover {
    color: #c41230;
}

ul.user-submenu {
    background: #fff;
    text-align: right;
    border-radius: 5px;
}

ul.user-submenu li a {
    font-size: 14px;
    border-bottom: 1px solid rgb(0 0 0 / 0.1);
}

ul.user-submenu li a:last-child {
    border-bottom: 0;
}

/**
Shop / Product.
**/
button.single_add_to_cart_button {
    background: #c41230;
    color: #fff;
    border: 2px solid #c41230;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: bold;
    padding: 10px 20px;
    min-width: 200px;
    text-align: center;
    cursor: pointer;
    float: right;
}

button.single_add_to_cart_button:hover {
    background: rgb(255 255 255 / 0%);
    color: #00355f;
}

button.single_add_to_cart_button:focus {
    outline: none;
}

.summary.entry-summary p.price {
    display: none;
    visibility: hidden;
}

.woocommerce-product-gallery {
    float: none !important;
    width: 100% !important;
    text-align: center;
}

div.product.status-publish, figure.woocommerce-product-gallery__wrapper {
    display: flex;
}

div.product.status-publish > div {
    flex: 1;
}

figure.woocommerce-product-gallery__wrapper > div img {
    max-height: 400px;
    height: 400px;
    width: auto;
    object-fit: cover;
}

figure.woocommerce-product-gallery__wrapper {
    position: relative;
    height: 400px;
}

figure.woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image {
    position: absolute;
    background: #fff;
    left: 0;
    width: 100%;
    opacity: 0;
}

figure.woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image a {
    cursor: auto;
}

figure.woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image.active {
    display: block;
}

tr.woocommerce-grouped-product-list-item {
    display: flex;
    align-items: center;
    margin: 0 0 30px;
}

table.woocommerce-grouped-product-list {
    background: #00355f;
    padding: 30px;
    color: #fff;
    border-radius: 30px;
}

tr.woocommerce-grouped-product-list-item td {
    flex: 1;
}

td.woocommerce-grouped-product-list-item__price {
    text-align: right;
    max-width: 100px;
}

td.woocommerce-grouped-product-list-item__quantity {
    display: flex;
}

td.woocommerce-grouped-product-list-item__quantity div.quantity input.qty {
    max-width: 75px;
    text-align: center;
    border: none;
    padding: 5px;
    background: rgb(255 255 255);
    border-radius: 0;
}

td.woocommerce-grouped-product-list-item__quantity button {
    background: #c41230;
    color: #fff;
    font-weight: bold;
    border: none;
    outline: none !important;
    cursor: pointer;
    padding: 3px 20px 5px 20px;
}

td.woocommerce-grouped-product-list-item__quantity button:hover {
    opacity: 0.7;
}

td.woocommerce-grouped-product-list-item__quantity button.doctor-minus {
    border-radius: 30px 0px 0px 30px;
}

td.woocommerce-grouped-product-list-item__quantity button.doctor-plus {
    border-radius: 0px 30px 30px 0px;
}

td.woocommerce-grouped-product-list-item__label {
    text-align: center;
}

td.woocommerce-grouped-product-list-item__label a {
    text-decoration: none;
    font-weight: bold;
    color: #fff;
}

tr.woocommerce-grouped-product-list-item:last-child {
    margin: 0;
}

body.post-type-archive-product .woocommerce {
    min-height: 65vh;
}

span#drc-enter {
    background: white;
    color: rgb(0 0 0 / 40%);
    text-transform: uppercase;
    font-size: 12px;
    padding: 9px 15px 6px;
    line-height: 1;
    display: inline-block;
    border-radius: 25px;
    cursor: pointer;
    border: 1px solid #fff;
}

span#drc-enter:hover {
    background: #c41230;
    border-color: #c41230;
}

.drc-protected-field form p:first-child {
    display: none;
}

span#drc-enter.opened {
    background: none;
    color: #fff;
}

.drc-protected-field form.post-password-form p:last-child {
    display: flex;
    flex-direction: column;
}

.drc-protected-field form.post-password-form input[type=password] {
    width: 100%;
    border-radius: 6px 6px 0 0;
    padding: 5px;
}

.drc-protected-field form.post-password-form input[type=submit] {
    background: #c41230;
    border: 2px solid #c41230;
    border-radius: 0 0 6px 6px;
    text-transform:uppercase;
    color: #fff;
    font-size: 14px;
    padding: 10px 15px;
    cursor:pointer;
    transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
}

.drc-protected-field form.post-password-form input[type=submit]:hover {
    background: none;
}

/**
Footer.
**/
.site-info {
    text-align: center;
    font-size: 14px;
    opacity: 0.4;
}

footer#colophon {
    background: #eeeeee;
    padding: 50px 0;
}

/**
Builder modules.
**/
.builder-text-type-note {
    font-size: 14px;
    opacity: 0.6;
}

.builder-text-type-video {
    text-align: center;
}

.builder-shortcode > .woocommerce > h2, ol.flex-control-nav {
    display: none;
}

.builder-shortcode > .woocommerce p.woocommerce-form-row {
    display: flex;
    flex-direction: column;
    margin: 0 0 15px;
}

.builder-shortcode > .woocommerce p.woocommerce-form-row input {
    max-width: 350px;
    border-radius: 25px;
    margin: 0 auto;
    width: 100%;
    padding: 5px 15px;
    box-shadow: 0 5px 10px -5px rgb(0 0 0 / 0.4);
}

.builder-shortcode > .woocommerce p.woocommerce-form-row label {
    color: #fff;
    margin-bottom: 10px;
}

.builder-shortcode > .woocommerce p.form-row {
    color: #ffffff;
}

.builder-shortcode > .woocommerce p.form-row button {
    background: #c41230;
    border: 2px solid #c41230;
    color: #fff;
    border-radius: 25px;
    text-transform: uppercase;
    font-weight: bold;
    min-width: 150px;
    padding: 10px;
    margin-left: 10px;
    cursor: pointer;
}

.builder-shortcode > .woocommerce p.lost_password a {
    font-size: 12px;
    color: #fff;
    opacity: 0.6;
}

.builder-shortcode > .woocommerce p.lost_password a:hover {
    color: #fff;
    opacity: 1;
}

.builder-shortcode > .woocommerce p.form-row button:hover {
    background: rgb(255 255 255 / 0%);
}

.builder-shortcode > .woocommerce p.woocommerce-form-row input:focus, .builder-shortcode > .woocommerce p.form-row button:focus {
    outline: none;
}

/**
Cart.
**/
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments {
    color: #fff;
    padding: 10px 20px 8px 20px;
    font-size: 12px;
    margin-bottom: 30px;
    border-radius: 30px;
}

.woocommerce-message a, .woocommerce-info a, .woocommerce-error a, .woocommerce-noreviews a, p.no-comments a {
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    margin-right: 15px;
}

.woocommerce-cart .woocommerce {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
}

.woocommerce-cart .woocommerce > div.woocommerce-notices-wrapper {
    flex: 1 100%;
}

.woocommerce-cart .cart-collaterals {
    flex: 1;
}

form.woocommerce-cart-form {
    flex: 1 30%;
    margin-right: 30px;
}

.cart_totals {
    background: #00355f;
    color: #fff;
    padding: 30px;
    border-radius: 30px;
}

.cart_totals h2 {
    margin-top: 0;
}

ul#shipping_method {
    list-style: none;
    margin: 0;
    padding: 0;
}

a.checkout-button {
    background: #c41230;
    color: #fff;
    border: 2px solid #c41230;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    display: block;
    text-align: center;
    padding: 10px 10px 6px;
    border-radius: 30px;
}

table.shop_table tr {
    border: 1px solid #fff;
    display: flex;
    padding: 7px 30px;
    align-items: center;
}

table.shop_table tr > td {
    flex: 1;
}

table.shop_table tr th {
    min-width: 100px;
}

ul#shipping_method label {
    margin-left: 10px;
}

ul#shipping_method li {
    margin-bottom: 8px;
}

a.checkout-button:hover {
    background: rgb(255 255 255 / 0%);
}

form.woocommerce-cart-form table.shop_table tr {
    border: 1px solid rgb(0 0 0 / 0.1);
}

td.product-remove a {
    background: #c41230;
    border: 2px solid #c41230;
    color: #fff;
    text-decoration: none;
    padding: 0px 4px;
    border-radius: 100%;
    margin: 0 10px;
}

td.product-remove a:hover {
    background: rgb(255 255 255 / 0%);
    color: #c41230;
}

td.product-subtotal {
    text-align: right !important;
}

td.product-remove {
    max-width: 42px;
}

table.shop_table tr > td.actions {
    display: flex;
    align-items: center;
}

table.shop_table tr > td.actions > button, table.shop_table tr > td.actions > .coupon {
    flex: 1;
}

table.shop_table tr > td.actions > button, button[name=apply_coupon] {
    max-width: 150px;
    min-width: 150px;
    border-radius: 30px;
    background: #00355f;
    border: 2px solid #00355f;
    text-transform: uppercase;
    color: #fff;
    font-weight: bold;
    font-size: 12px;
    padding: 8px;
    cursor: pointer;
}

table.shop_table tr > td.actions > button:hover, button[name=apply_coupon]:hover {
    background: rgb(255 255 255 / 0%);
    color: #00355f;
}

table.shop_table tr > td.actions > .coupon {
    display: flex;
    align-items: center;
}

label[for=coupon_code] {
    font-weight: bold;
    margin-right: 5px;
    opacity: 0.7;
}

input#coupon_code {
    border-radius: 30px 0 0 30px;
    padding: 3px 10px;
}

button[name=apply_coupon] {
    border-radius: 0 30px 30px 0;
}

table.shop_table tr > td.product-name, table.shop_table tr > td.product-price {
    text-align: center;
}

table.shop_table tr > td.product-name a {
    text-decoration: none;
    font-weight: bold;
}

.woocommerce-cart-form table.shop_table thead {
    display: none;
}

table.shop_table tr > td.product-quantity, table.shop_table tr > td.product-quantity input {
    max-width: 100px;
    text-align: center;
}

/**
Checkout.
**/
table.shop_table.woocommerce-checkout-review-order-table {
    background: #00355f;
    color: #fff;
    padding: 30px;
    border-radius: 30px;
}

table.shop_table.woocommerce-checkout-review-order-table tr > th, table.shop_table.woocommerce-checkout-review-order-table tr > td {
    width: 50%;
    text-align: left;
}

table.shop_table.woocommerce-checkout-review-order-table tr {
    border: none;
    flex-direction: row;
}

table.shop_table.woocommerce-checkout-review-order-table thead {
    border-bottom: 2px solid rgb(255 255 255 / 0.2);
    display: block;
}

table.shop_table.woocommerce-checkout-review-order-table tfoot {
    border-top: 2px solid rgb(255 255 255 / 0.2);
    display: block;
}

table.shop_table.woocommerce-checkout-review-order-table tr.order-total {
    border-top: 2px solid #fff;
}

ul.wc_payment_methods {
    list-style: none;
    margin: 0;
    padding: 20px 0 30px;
}

ul.wc_payment_methods li {
    margin-bottom: 15px;
    background: rgb(238 238 238);
    padding: 30px;
    border-radius: 30px;
}

li.wc_payment_method.payment_method_braintree_credit_card > label {
    display: flex;
    flex: 1;
    align-items: center;
    flex-wrap: wrap;
}

li.wc_payment_method.payment_method_braintree_credit_card {
    display: flex;
    flex-wrap: wrap;
}

.payment_box.payment_method_braintree_credit_card {
    flex: 1 100%;
}

input#payment_method_braintree_credit_card {
    margin-top: 4px;
}

ul.wc_payment_methods li > label {
    font-weight: bold;
    margin-left: 10px;
}

li.wc_payment_method.payment_method_braintree_credit_card > label img:first-child {
    margin-left: 10px;
}

li.wc_payment_method.payment_method_braintree_credit_card > label img {
    margin-right: 4px;
    box-shadow: 0 5px 5px -5px rgb(0 0 0 / 0.1);
    border: 0.5px solid rgb(0 0 0 / 0.07);
    border-radius: 3px;
}

fieldset#wc-braintree-credit-card-credit-card-form {
    border: none;
    padding: 0;
}

.woocommerce #payment div.payment_method_braintree_credit_card div.form-row {
    padding: 0 0 12px !important;
}

input#wc-braintree-credit-card-tokenize-payment-method {
    margin-right: 10px;
}

textarea#order_comments {
    border-radius: 30px;
    padding: 20px 10px;
}

.coupon button.button {
    border-radius: 0 30px 30px 0;
    padding: 8px;
}

form.checkout_coupon.woocommerce-form-coupon {
    display: flex;
    flex-wrap: wrap;
}

form.checkout_coupon.woocommerce-form-coupon p:first-child {
    flex: 1 100%;
}

form.checkout_coupon.woocommerce-form-coupon button.button {
    border-radius: 0 30px 30px 0;
    padding: 8px;
}

form.checkout_coupon.woocommerce-form-coupon input {
    outline: none;
}

/**
Account.
**/
.woocommerce-account .woocommerce, .u-columns.woocommerce-Addresses {
    display: flex;
}

.u-columns.woocommerce-Addresses > div {
    flex: 1;
}

nav.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 10px 10px 10px 0;
    border: 1px solid rgb(0 0 0 / 0.1);
    border-radius: 30px;
    padding: 0;
}

nav.woocommerce-MyAccount-navigation {
    min-width: 250px;
}

nav.woocommerce-MyAccount-navigation ul li a {
    text-decoration: none;
    color: #00355f;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 10px 20px;
    display: block;
    border-bottom: 1px solid rgb(0 0 0 / 0.1);
}

nav.woocommerce-MyAccount-navigation ul li a:hover {
    color: #c41230;
}

nav.woocommerce-MyAccount-navigation ul li:first-child a {
    padding-top: 20px;
}

nav.woocommerce-MyAccount-navigation ul li:last-child a {
    border-bottom: 0;
    padding-bottom: 20px;
}

.woocommerce-MyAccount-content {
    padding: 10px;
    width: 100%;
}

p.form-row label, p.woocommerce-form-row label, .woocommerce form h3 {
    text-transform: capitalize;
}

p.form-row label, p.form-row span.woocommerce-input-wrapper, p.form-row span.woocommerce-input-wrapper input, p.woocommerce-form-row label, p.woocommerce-form-row span.woocommerce-input-wrapper, p.woocommerce-form-row span input, p.woocommerce-form-row input, form[name=salesrep-user-registration] p label, form[name=salesrep-user-registration] p input {
    display: block;
    width: 100%;
}

p.form-row span.woocommerce-input-wrapper input, p.woocommerce-form-row span input, p.woocommerce-form-row input, form[name=salesrep-user-registration] p input {
    border-radius: 30px;
    padding: 10px 15px;
    outline: none;
}

.select2-container--default .select2-selection--single {
    height: auto;
    padding: 8px 8px 6px;
    border-radius: 30px;
    border: 1px solid rgb(0 0 0 / 0.2);
    outline: none;
}

span.select2-selection__arrow {
    padding: 21px;
}

.woocommerce button[type=submit], form[name=salesrep-user-registration] input[type="submit"] {
    background: #c41230;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 30px;
    border: 2px solid #c41230;
    padding: 10px 30px;
    min-width: 150px;
    max-width: 250px;
    text-align: center;
    cursor: pointer;
    outline: none;
}

.woocommerce button[type=submit]:hover, form[name=salesrep-user-registration] input[type="submit"]:hover {
    background: rgb(255 255 255 / 0%);
    color: #c41230;
}

ul.woocommerce-PaymentMethods {
    list-style: none;
    margin: 0 0 15px;
    padding: 0;
}

input[name=payment_method] {
    margin-left: 0 !important;
}

.woocommerce fieldset {
    border-radius: 30px;
    padding: 20px;
    font-size: 14px;
}

.woocommerce fieldset legend {
    font-weight: bold;
    text-transform: capitalize;
    padding: 10px;
}

.salesrep-success, .salesrep-failure {
    color: #fff;
    font-size: 14px;
    border-radius: 30px;
    padding: 10px 15px 8px;
}

.salesrep-success {
    background: green;
}

.salesrep-failure {
    background: #c41230;
}

.woocommerce-order-received ul.wc-item-meta {
    display: none;
}

table.shop_table thead tr {
    border: 1px solid #fff;
    display: flex;
    padding: 7px 30px;
    align-items: center;
}

table.shop_table thead tr > th {
    flex: 1;
}

th.woocommerce-table__product-table.product-total, th.woocommerce-table__product-name.product-name, td.woocommerce-table__product-name.product-name {
    display: flex;
    justify-content: flex-start;
}

ul.wc_payment_methods.payment_methods.methods li {
    padding: 40px;
    margin: 0 0 15px 0;
}

ul.wc_payment_methods.payment_methods.methods li > label {
    font-size: 20px;
}

/**
Media Queries.
**/
@media screen and (max-width:800px) {

    div#doctor-header > div, div#doctor-header > nav {
        font-size: 14px;
    }

    div#doctor-header {
        flex-direction: column;
    }

    ul#primary-menu, nav#site-navigation {
        justify-content: center;
    }

    ul#primary-menu li a, ul#user-menu li a {
        padding: 10px;
        text-align:center;
    }

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

    ul.user-submenu {
        display: none !important;
    }
}

@media screen and (max-width:767px) {
    div.product.status-publish, figure.woocommerce-product-gallery__wrapper {
        flex-direction: column;
        padding: 0 20px;
    }

    .woocommerce-product-gallery {
        width: 100%;
    }

    .woocommerce-cart .woocommerce, table.shop_table tr, table.shop_table tr > td.actions, table.shop_table tr > td.actions > .coupon {
        flex-direction: column;
    }

    label[for=coupon_code] {
        display: none;
    }

    input#coupon_code, button[name=apply_coupon] {
        border-radius: 30px;
        margin-bottom: 10px;
    }

    form.woocommerce-cart-form, .woocommerce-cart .cart-collaterals {
        flex: 1;
        width: 100%;
    }
}

@media screen and (max-width:600px) {
    tr.woocommerce-grouped-product-list-item {
        flex-direction: column;
        margin: 0 0 15px;
        padding-bottom: 15px;
        border-bottom: 1px solid rgb(255 255 255 / 0.2);
    }

    tr.woocommerce-grouped-product-list-item:last-child {
        border-bottom: 0;
    }

    .woocommerce-account .woocommerce, .u-columns.woocommerce-Addresses {
        flex-direction: column;
    }

    nav.woocommerce-MyAccount-navigation ul {
        margin: 10px;
    }

    .container {
        padding: 0 10px;
        max-width: 100%;
    }

    table.shop_table.woocommerce-checkout-review-order-table tr {
        padding: 7px 0;
    }

    li.wc_payment_method.payment_method_braintree_credit_card > label img {
        margin-bottom: 5px;
    }
}
