/*
Theme Name:     Medik Child
Theme URI: 		http://medik.wpengine.com/
Author: 		the DesignThemes team
Author URI: 	http://themeforest.net/user/designthemes
Description:    Child theme for the Medik theme powered by DesignThemes
Template:       medik
Version:        1.0
*/
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;800&display=swap');

@media (prefers-reduced-motion: no-preference) {
    html{
        scroll-behavior: unset !important;
    }
}

:root {
    --tm-orange-dark: #F15B28;
    --tm-primary: #F58321;
    --tm-orange-light: #FAAF3C;
    --tm-orange-med: #f15b27;
    --tm-blue-opace: #D4EEF8;
    --tm-blue-lightest: #28A8E0;
    --tm-blue-light: #1D76BB;
    --tm-secondary: #01569F;
    --tm-blue-dark: #194275;
    --tm-blue-darker: #163760;
    --tm-blue-faint: #81AACF;
    --tm-grey: #f8f9fa;
    --tm-light-grey: #f6f7f8;
    --tm-dark-grey: #d2d2d2;
    --tm-checkout-grey: rgb(187,189,191);
    --tm-light: #FFF;
    --tm-dark: #000;
    --tm_hr: rgb(33, 37, 41);
    --tm-font-tiny: 10px;
}

* {
    font-family: 'Outfit';

}

body {
    color: var(--tm-blue-darker);
}


body, .inner-wrapper {
    overflow: unset !important;
}
#header-wrapper {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1050;
}
#header-icon-row img{
    height: 30px;
    width:30px;
    /*padding: 5px;*/
}
#header .container {
    width: 100% !important;
}
#main_content {
    /*min-height:100vh!important;*/
}
h1 {
    font-size:38px!important;
}
h1,h2 {
    color: var(--tm-secondary);
}
.tm__pd_smallh1 h1{
    font-size:30px!important;
}

th, .fw-bold {
    font-weight: 600 !important;
}
a {
    text-decoration: none;
    color: var(--tm-secondary);
}

hr {
    color: var(--tm_hr);
}

.flex-container {
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.flex-container-start {
    display: flex;
    flex-direction: row;

}

.align-content {
    align-items: center;
}

.small-text {
    font-size: 0.8rem;
}

.primary-text {
    color: var(--tm-primary);
}
.orange-med-text {
    color: var(--tm-orange-med);
}
.secondary-text {
    color: var(--tm-secondary) !important;
}
.blue-dark-text {
    color: var(--tm-blue-dark);
}
.white-text {
    color: var(--tm-light);
}

.blue-lightest-text {
    color: var(--tm-blue-lightest);
}

.blue-opace-text {
    color: var(--tm-blue-opace);
}
.blue-faint-text {
    color: var(--tm-blue-faint);
}

.primary-bg {
    background-color: var(--tm-primary);
    color: var(--tm-light);
}

.orange-light-bg {
    background-color: var(--tm-orange-light);
}

.orange-dark-bg {
    background-color: var(--tm-orange-dark);
}

.secondary-bg {
    background-color: var(--tm-secondary);
    color: var(--tm-light);
}

.secondary-bg:hover {
    color: var(--tm-secondary)!important;
}

.blue-opace-bg {
    background-color: var(--tm-blue-opace);
}

.blue-lightest-bg {
    background-color: var(--tm-blue-lightest);
}

.blue-light-bg {
    background-color: var(--tm-blue-light);
}

.blue-dark-bg {
    background-color: var(--tm-blue-dark);
}
.grey-text {
    color: var(--tm-grey);
}
.grey-bg {
    background-color: var(--tm-grey);
}
.grey-light-bg {
    background-color: var(--tm-light-grey);
}

.tm-bold {
    font-weight: bold;
}

.blue-opace-border {
    border: solid 2px var(--tm-blue-opace);
}

.blue-lightest-border {
    border: solid 2px var(--tm-blue-lightest);
}

.secondary-border-right {
    border-right: var(--tm-secondary) solid 4px;
}

.secondary-border-bottom {
    border-bottom: var(--tm-secondary) solid 4px;
}

.primary-border-right {
    border-right: var(--tm-primary) solid 5px;
    padding-right: 1em;
    margin-right: 1em;
}

.secondary-border {
    border: 2px solid var(--tm-secondary);
}

.primary-btn-rounded {
    color: var(--tm-light);
    background-color: var(--tm-primary);
    border-radius: 35px;
    margin: 0 1em;

}

.primary-btn-square {
    display:flex;
    justify-content: center;
    color: var(--tm-light);
    background-color: var(--tm-primary);
    border: none;
    text-align: center;
}

.primary-border {
    border: 1px solid var(--tm-primary);
    border-radius: 0;
}

.tm-button {
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}

a.tm-button {
    text-decoration: none;

}

.tm-button:hover {
    opacity: 0.8;
}

.primary-button {
    background-color: var(--tm-primary);
    color: whitesmoke;
}

.secondary-button {
    background-color: var(--tm-secondary);
    color: whitesmoke;
}


.input-width {
    max-width: 70px;
    text-align: center;
}

.light-heading {
    font-size: 24px;
    color: var(--tm-light);
    padding: 2rem 1rem;
}


.primary-gradient {
    background: hsla(15, 88%, 55%, 1);

    background: linear-gradient(45deg, hsla(15, 88%, 55%, 1) 0%, hsla(36, 95%, 61%, 1) 100%);

    background: -moz-linear-gradient(45deg, hsla(15, 88%, 55%, 1) 0%, hsla(36, 95%, 61%, 1) 100%);

    background: -webkit-linear-gradient(45deg, hsla(15, 88%, 55%, 1) 0%, hsla(36, 95%, 61%, 1) 100%);

    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#F15B28", endColorstr="#FAAF3C", GradientType=1);
}

.tm__shop a {
    text-decoration: none;
}

.tier-1-link[aria-expanded='false'] i:before, .tier-2-link[aria-expanded='false'] i:before {
    transition: 500ms;
    transform: rotate(45deg);
}

.tier-1-link[aria-expanded='true'] i:before, .tier-2-link[aria-expanded='true'] i:before {
    transition: 500ms;
    transform: rotate(0deg);
}

/* Bootstrap Callapse Colors */
.tier-1-link[aria-expanded='false'] {
    color: var(--tm-blue-light);
}

.tier-1-link[aria-expanded='true'] {
    color: var(--tm-orange-dark);
}

.tier-2-link[aria-expanded='true'] {
    color: var(--tm-orange-dark);
}

.tier-2-link[aria-expanded='false'] {
    color: #000;
}

/* Grid Template for Categories */

.tm__shop__grid-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    column-gap: 30px;
    row-gap: 20px;
}


/*Mega Menu*/
.tm__mega-menu {
    display: none;
    background: #f8f9fa;

}

.tm__shop__grid-item {
    width: 100%;
}

@media screen and (min-width: 992px) {
    .tm__mega-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 1rem;
        width: 100%;

        background-color: #f8f9fa;;

    }
    .tm__shop__grid-container {
        display: grid;
        grid-template-columns: repeat(3, 3fr);
        column-gap: 30px;
        row-gap: 20px;
    }

}


@media (max-width:767px) {
    .card{
        border: none;

    }
    .card-body {
        padding: 0;
    }
    .card-heading {
        padding: 0!important;
    }
    .card.shadow {
        box-shadow:none !important;
    }
    .stepscontent div {
        font-size: var(--tm-font-tiny) !important;
    }
    th {
        font-size: var(--tm-font-tiny)!important;
    }
    .bc-mobile {

        overflow:hidden;

        position:relative;
    }
    .bc-mobile .breadcrumb {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 20px 1rem;
        margin: 0;
    }
    .bc-mobile:after {
        content: '';
        position: absolute;
        width: 1px;
        height: 100%;
        right:-1px;
        top:0;
        box-shadow: 0 0 15px 4px #000000bf;
    }
    .bc-mobile .breadcrumb-item a {
        text-wrap: nowrap;
    }
    .bc-mobile .breadcrumb-item:before {
        float:unset;

    }

    /*.iframe_container {
        height: 100% !important;
    }
    #xrp_payment_frame {
        position:unset;
        width: 100%;
        height: 600px;
    }
    #xrp_payment_frame body #getdetails {
        width: 100% !important;
    }*/
}

/*.tier-1 > .tm__mega-menu__menu-group {*/
/*    opacity: 0;*/
/*    height: 0;*/
/*    overflow: hidden;*/
/*    transition: opacity 0s ease-in-out;*/
/*    transition-delay: 0.4s;*/

/*}*/

/*.tier-1:hover > .tm__mega-menu__menu-group {*/
/*    opacity: 1;*/
/*    visibility: visible;*/
/*    height: auto; !* Set to the desired height when displayed *!*/
/*}*/


.tm__mega-menu__menu-group {
    z-index: 2000;
    position: absolute;

    left: 0;

    padding: 1rem 4rem;

    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    background: var(--tm-grey);
    width: 100%;
    display: flex;
    visibility: hidden;
    /*border-top: solid 3px var(--tm-primary);*/
    /*border-bottom: solid 3px var(--tm-primary);*/

}

.tm__mega-menu__menu-item {
    padding: 5px;

}

.tm__mega-menu__menu-item .tier-1 a {
    text-align: center;
    font-weight: bold;
}


.tier-2 a, .tier-3 a {
    font-size: 14px;

}

.tier-2 {

    min-width: 15%;
}

.tier-3 {

}


/*Footer */
.tm__footer a {
    color: var(--tm-light);
}

.tm__bg-search {
    background-image: url("/../../../shop/assets/images/rising_sun_slider.jpg");
    background-size: cover;
    height: 100px;
}

.tm__boom img {
    max-height: 122px;

}

/*.tm__search-filter-container {*/
/*	transform: translateX(-100%);*/
/*	transition: 1s;*/
/*	overflow-x: hidden;*/

/*}*/
/*@media screen and (min-width: 992px) {*/
/*	.tm__search-filter-container {*/
/*		transform: translateX(0);*/
/*		transition: 1s;*/
/*	}*/
/*}*/


/*Cart*/
.tm__cart {

    background-color: var(--tm-primary);
    position: relative;
    border-radius: 5px;


}
.tm__cart .nav-link:hover {

    background-color: var(--tm-light);


}
.tm__cart .nav-link.active {

    background-color: var(--tm-primary);


}

.nav-link {
    color: var(--tm-secondary);

}

#order-forms-tab ul {
    list-style: none;
}

#account-tab .nav-item, #order-forms-tab .nav-item {
    padding: 5px 0;

}

#account-tab a, #order-forms-tab a {
    font-size: 1rem;
}


.tm__cart a {
    color: var(--tm-light);

}

.tm__cart #cart-count, .tm__cart #mobile-cart-count {
    color: var(--tm-light);
    font-size: 14px;
    background: mediumseagreen;
    height: 20px;
    right: 5px;
    top: 5px;
    line-height: 1.5;
    text-align: center;
    border-radius: 5px;
    padding: 0 2px 2px 2px;
    position: absolute;

}

.tm__cart-info {
    font-size: 12px;
}

.tm__cart-info .btn-outline-secondary,
#tm__order-form-template .btn-outline-secondary
{
    --bs-btn-bg: var(--tm-grey);
    --bs-btn-border-color: var(--tm-dark-grey);
}
.tm__cart-info .btn-outline-secondary i {
    color: var(--tm-dark);
}
.tm__cart-info .form-control {
    --bs-border-color: var(--tm-dark-grey);
}

.tm__my-account {
    width: 250px;
}

.tm__account {
    padding: 5px 1rem;
    display: block;
}

.tm__account-links {
    /*text-align: center;*/
    font-size: 14px;
}

.tm__account-links .nav-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 10px;
    max-height: 60px;

}


.tm__account-links .nav-link i {
    font-size: 20px;
    text-align: center;
}

.tm__account-links a:after {

}

.tm__account i {
    font-size: 1.5rem;
    margin-right: 5px;
}


/* Search Auto Complete*/
.tm__search {
    z-index: 1500;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;


}
.tm__search .autocomplete-items {
    height: 400px;
    overflow-y: scroll;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.tm__search .autocomplete-items::-webkit-scrollbar {
    display: none;
}




/*Mobile Search */
.tm__search-input {
    padding: 10px;
    font-size: 16px !important;
    border-radius:50px !important;
    border: rgba(0, 0, 0, 0.15) 1px solid;
    height: auto !important;
    width: 100%;

}


.tm__search-button {
    margin: 0;
    width: 35px;
    height: 35px;
    border-radius: 50px;
    position: absolute;
    right:10px;
    top: 50%;
    padding: 0;
    transform: translateY(-50%);
    border: none;
}

.tm__search-input:focus {

    border-color: var(--tm-primary);
    box-shadow: none;
}

.tm__mobile-bar-item {
    padding:10px;
    text-align:center;
    width: 100px;
    line-height: 16px;
}

.tm__mobile-bar-item span {
    font-size: var(--tm-font-tiny);


}
.tm__mobile-bar-item i {
    font-size: 1rem;

}


.tm__search-item-title {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.tm__search-item-title p{
    font-size: 14px;
}

.tm__search-item-title span {
    font-size: 12px;
    font-weight:bold;
}



#productSearch form {
    width: 100%;
    display: flex;
    align-items: center;

}

.search-flex {
    width: 100%;
    display: flex;


}

/*Auth List Page*/
.tm__auth-list .card{
    border-top-left-radius: 0;
    border: solid 2px var(--tm-blue-opace)
}

/* Loading animation*/
.tm__loader {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border-bottom: solid 5px var(--tm-primary);
    border-top: solid 5px var(--tm-blue-dark);
    border-right: solid 5px var(--tm-blue-dark);
    border-left: solid 5px var(--tm-blue-dark);
    animation: spin infinite 1s;

}


@keyframes spin {
    0% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(360deg);
    }

}


/*BS: Nav Items*/
.nav-item .active .show {
    background: var(--tm-primary);
}

.tm-prod-detail__tabs .nav-items {
    background-color: var(--tm-blue-opace);
}

.tm-prod-detail__tabs .nav-link.active, .tm__auth-list .nav-link.active {
    background-color: var(--tm-blue-opace)!important;
}
.tm__auth-list .nav-tabs .nav-item.show .nav-link{
    background-color: var(--tm-blue-opace);
    color: var(--tm-blue-dark);
}

.tm-prod-detail__tabs .nav-link, .tm__auth-list .nav-link {
    background-color: var(--tm-blue-dark);
    color: white;
}

.tm__account-card {
    border: 2px solid var(--tm-blue-opace);

    border-radius: 10px;
    padding: 1rem;

}

.tm__account-menu {
    border: none;
    border-radius: 10px;
    padding: 1rem;
    background-color: var(--tm-blue-opace);
}
.tm__account-menu-item h3 {
    color: var(--tm-primary);
}
.tm__account-menu-item{
    background-color: var(--tm-blue-opace);
    color: var(--tm-blue-dark);
    border: none;
    border-bottom: solid 1px var(--tm-secondary);
}

.tm__account-menu img {
    width: 25px;
    height: 25px;
}

.tm__account-menu img.select-accounts {
    width: 66px;
    height: auto;
}


.tm__account-links .nav-tabs {
    border-bottom: none;
    border-color: #f8f9fa;

}

.tm__account-links .nav-tabs .active {
    border-color: #f8f9fa;
    border-radius: 0;
    background-color: #f8f9fa;
    color: #117edc;
    /*box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15)!important;*/
}

/*Scroll animation*/
.scroll-up {
    animation: scrollUp 1s linear;
    animation-iteration-count: 1;
    transform: translateY(-200px);
    height: 0;
    opacity: 1;
    position: absolute;
    overflow: hidden!important;

}

.of-hidden {
    overflow: hidden !important;
}

@keyframes scrollUp {
    0% {
        transform: translateY(0);
        height: 40px;
        opacity: 1;
    }
    100% {
        transform: translateY(-200px);
        height: 0;
        opacity:0;
    }

}

/*Grid View on Search*/
/*.tm__search-grid-container { display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 20px; }*/


.tm__grid-view-container {

    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;

    grid-auto-flow: row;
    padding: 0;
    font-size: 14px;
}

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

    .tm__grid-view-container {

        display: grid;
        grid-template-columns:1fr 1fr 1fr;
        grid-template-rows: 1fr;

        grid-auto-flow: row;
        padding: 0;
        font-size: 14px;
    }
    .tm__account-links .nav-link {

        font-size: 12px;
    }

    .tm__search-input {
        padding: 15px;
        font-size: 16px !important;
        border-radius:50px !important;
        border: rgba(0, 0, 0, 0.15) 1px solid;
        height: 56px !important;
        width: 100%;
    }
    .tm__search-button {
        margin: 0;
        width: 50px;
        height: 50px;
        border-radius: 50px;
        position: absolute;
        right:5px;
        top: 50%;
        padding: 0;
        transform: translateY(-50%);
        border: none;
    }

}
.tm__product__image-container img {
    max-height: 155px;
}
.tm__grid-view-container .tm__product-row {
    border: 1px solid var(--tm-grey);
    padding: 10px;
}

/* Remove border from the first column */
.tm__grid-view-container .tm__product-row:nth-child(3n+1) {
    border-left: none;
}

/* Remove border from the last column */
.tm__grid-view-container .tm__product-row:nth-child(3n) {
    border-right: none;
}

/* Remove border from the first row */
.tm__grid-view-container .tm__product-row:nth-child(-n + 3) {
    border-top: none;
}

/* Remove border from the last row */
.tm__grid-view-container .tm__product-row:nth-last-child(-n + 3) {
    border-bottom: none;
}

.tm__grid-view-container h3 {
    font-size: 1rem;
}

.tm__grid-view-container .tm__product__add-container {
    width: 100%;
}
.tm__grid-view-container .tm__product__add-container .input-width {
    width: 50%;
}
.tm__grid-view-container .tm__product__add-container button {
    width: 50%;
    display: flex;
    align-items: center;
}


#search-filter-form label {
    font-size: small;
}

/*Search*/
.tm__product__price-container .product-price {
    font-weight: bold;
    font-size: 20px;
}

.tm__product__price-container .product-price .product-price-gst {
    font-size: 11px;

}

.tm__product__price-container .saved-amount-search {
    color: var(--tm-primary);
    font-size: 17px;

    font-weight: bold;
}

#tm__vertial-image-container {
    overflow-y: scroll;
    max-height: 330px;
    ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
#tm__vertial-image-container::-webkit-scrollbar {
    display: none;
}

.brands-filter h6, .category-filter h6, .professions-filter h6 {
    color: var(--tm-secondary);
}
.category-filter .list-group-item:nth-child(n+6), .brands-filter .list-group-item:nth-child(n+6) {
    display: none;
}

.tm__results button{
    margin-top: 0;
}

.tm__results input{
    padding: 0;
}


.fixed-top {
    left: unset;
    right:unset;
}

#orange-row {
    z-index: 0;
}

#orange-row .btn-link:hover {
    color: var(--tm-blue-lightest) !important;
}

.tm__pd_attr {
    color: var(--tm-blue-darker);
}
.tm__checkout-header__button-container .btn-warning {
    background: var(--tm-checkout-grey);
    border: none;
}
/*
tm__checkout-header_wrapper {
    width: 100%;
    position: relative;
    text-align: center;
}
.tm__checkout-header__image-container {
    !*position: relative;
    max-width: 300px;
    left: auto;
    right: auto;*!
}
*/
.tm__tab-link {
    border: solid 1px rgba(0,0,0,0) !important;

}
.tm__tab-link:hover {
    color:#117edc;
    border: solid 1px rgba(0,0,0,0) !important;

}

.select-accounts:hover {
   background-color:#ffca2c!important;
}

.wp-prod-list .row:first-child {
    display: none;
}

@media print {

    .tm__footer {
        display:none;
    }
    #print-div, #print-div * {
        visibility: visible;
    }
    .tm__cart-list {
        display:none !important;
    }
    .mtc {
        width: calc(100vw - 5%);
        display:block !important;

    }
    #sticky-container {
        display: none !important;
    }
    #print-div {
        position: absolute;
        left: 0;
        top: 0;

    }
    a[href]:after {
        content: none !important;
    }
    .btn,.tm-button, .cart-image, #productSearch, #menu, #userDetails, #welcomeTextHeader, nav, nav ul, nav ul li, nav ul li a {
        display: none;
    }

    a {
        text-decoration: none;
    }

    input {
        border: none;
    }

    .print_label {
        display: block;
    }

    ::-webkit-input-placeholder { /* WebKit browsers */
        color:transparent;
    }
    :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
        color:transparent;
        opacity:  1;
    }
    ::-moz-placeholder { /* Mozilla Firefox 19+ */
        color:transparent;
        opacity:  1;
    }
    :-ms-input-placeholder { /* Internet Explorer 10+ */
        color:transparent;
    }
}
.dt-sc-button {
	box-shadow: none !important;
}

/* Checkboxes */
input[type="checkbox"] {
    border: solid 2px var(--tm-blue-dark) !important;
}
.custom-tooltip {
    --bs-tooltip-bg: #133760;
}
a[title='Cart'].active {
    background-color: #f8b01a !important;
    border-radius:5px !important;
    color: var(--tm-light) !important;
}

#description h1, #description h2, #description h3 {
    font-size: 16px !important;
    color: var(--tm-blue-darker);
}

.fancybox-opened {
    top: 35% !important;
    position:fixed !important;
}

/* Table styling */
.table thead th {
    background: var(--tm-blue-opace);
    color: var(--tm-blue-dark);
}
.table td {
    color: var(--tm-blue-dark);
}