/* Fixes for the mini cart */
#open_shopping_cart .title {
    overflow: visible;
    white-space: nowrap;
    position: absolute;
    top: 2px;
}
#open_shopping_cart .total_price {
    font-size: 15px;
    position: absolute;
    text-align: right;
    right: 8px;
    bottom: 10px;
}
#open_shopping_cart::before {
    left: 10px;
}
#open_shopping_cart::after {
    left: 34px;
    border: 1px solid #00b6ff;
}
#open_shopping_cart.active, 
#open_shopping_cart.active::after {
    background-color: #0186c8;
    border-color: #0186c8;
    border: 1px solid #f7f7f7;
}
#open_shopping_cart.active::after {
    background-color: #37799a;
}

/* Styles for error popup in the cart */
.the-popover-wrapper {
    position: relative;
}
.the-popover {
    position: absolute;
    left: -80px;
    top: 5px;

    z-index: 1060;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #ff0303;
    border-radius: 4px;
    border: 1px solid black;

    background: #ff0303;
    color: #fff;
    -webkit-box-shadow: 0 5px 10px rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 10px rgba(255, 255, 255, 0.2);
    display: none;
}
.the-popover:after,
.the-popover:before {
   border: solid transparent;
   content: " ";
   height: 0;
   width: 0;
   position: absolute;
   pointer-events: none;
   left: 50%;
   bottom: 100%;
}
.the-popover::before {
   border-color: rgba(0, 0, 0, 0);
   border-width: 11px;
}
.the-popover::after {
   border-color: rgba(255, 255, 255, 0);
   border-width: 10px;
}
.the-popover::after{
   border-bottom-color: #b30505;
   margin-left: -10px;
}
.the-popover::before{
   border-bottom-color: #000;
   margin-left: -11px;
}
.the-popover-wrapper .the-popover .po-title {
    background-color: #b30505;
}
.the-popover-wrapper .the-popover .po-content {
    padding: 5px 0;
}

/* notification for user */
.qty.show-popover button[data-direction="plus"] {
    color: #fff;
    background: #e88f8f;
    border-left-color: #d8aeae;
    border-top-color: #ea6060;
    border-right-color: #b11717;
    border-bottom-color: #5d0b0b;
}

.qty.show-popover .the-popover-wrapper .the-popover {
    display: block;
}

/* add the .show-popover in .qty div to enable and display popover */

/* Mini Cart fixes, buttons and box around */
.sticky_inner .shopping_cart {
    margin-top: -2px;
}
.shopping_cart.dropdown.visible > div {
    /* #0186c8 #4ac4fa */
    border-left: 1px solid #4ac4fa;
    border-right: 1px solid #4ac4fa;
}
.shopping_cart.dropdown > :first-child {
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: #eee;
    border-top: 1px solid #4ac4fa !important;
    border-radius: 5px 0 0 0 !important;
}

.shopping_cart.dropdown > :last-child {
    display: flex;
    padding: 0;
    padding-bottom: 10px;
    padding-top: 10px;
    border-bottom: 1px solid #4ac4fa;
    border-radius: 0 0 5px 5px !important;
}
.shopping_cart.dropdown > :last-child a {
    width: 50%;
    padding: 8px 0;
    margin: 0 5px
}
/* remove button enhanced cloick area */
.shopping_cart.dropdown button.close {
    padding: 5px 8px 3px;
}
.shopping_cart.dropdown button.close:hover {
    background-color: #ccc;
}




/* NEW TRACK */

.track {
    position: relative;
    background-color: #ddd;
    height: 7px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 60px;
    margin-top: 50px
}

.track .step {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    width: 25%;
    margin-top: -18px;
    text-align: center;
    position: relative
}

.track .step.active:before {
    background: #FF5722
}

.track .step::before {
    height: 7px;
    position: absolute;
    content: "";
    width: 100%;
    left: 0;
    top: 18px
}

.track .step.active .icon {
    background: #ee5435;
    color: #fff;
}

.track .icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    position: relative;
    border-radius: 100%;
    background: #ddd
}

.track .step.active .text {
    font-weight: 400;
    color: #000
}

.track .text {
    display: block;
    margin-top: 7px
}

.cta-checkbox-to-check {
    border: 2px solid #f9ff00de;
    background-color: #fdffbcde;
    padding: 10px;
    margin-bottom : 1em;
}

/* extra style for pages without prices */
.hide_price_alert {
    margin-bottom: 10px;
}
.hide_price_alert a {
    border: 1px solid #ddd;;
    padding: 10px;
    color: #bbb;
    border-radius: 10px;
  
}
.hide_price_alert a:hover {
    border: 1px solid #014a6f;;
    background-color: #0186c8;
    color: #fff;
}

/* FINAL ACCOUNT PAGES */

.profile.pending section.theme_box { }
.profile.history section.theme_box div.order,
.profile.pending section.theme_box div.order {
    background-color: #037838;
}
.profile.history section.theme_box div.order h4,
.profile.pending section.theme_box div.order h4 {
    padding-top: 0.5em;    
}
.profile.history section.theme_box div.order div.registered,
.profile.pending section.theme_box div.order div.registered {
    padding-bottom: 0.5em;
}
.profile.history section.theme_box div.order h4,
.profile.history section.theme_box div.order div.registered,
.profile.history section.theme_box div.order div.order_payment,
.profile.pending section.theme_box div.order h4,
.profile.pending section.theme_box div.order div.registered,
.profile.pending section.theme_box div.order div.order_payment {
    margin-left: 1em;
    color: #FFF;
}
.profile.history section.theme_box div.order table,
.profile.pending section.theme_box div.order table {
    border: 1px solid #037838;  
}
.profile.history section.theme_box div.order table tr td,
.profile.pending section.theme_box div.order table tr td {
    border: 1px solid #ccc;
    border-left: none;
    border-right: none;
    border-bottom: none;
}
.profile.history section.theme_box div.order table tr:last-child td,
.profile.pending section.theme_box div.order table tr:last-child td {
    background-color: #d1ffd5;
}

/* fix search page */
.wide_layout div.search>* {
    height: unset !important;
}
