/*
 Theme Name:    Electro Child
 Theme URI:     https://themeforest.net/item/electro-electronics-store-woocommerce-theme/15720624
 Description:   This is the child theme of Electro
 Author:        MadrasThemes
 Author URI:    https://madrasthemes.com/
 Template:      electro
 Version:       3.0.3
 License:       GNU General Public License v2 or later
 License URI:   http://www.gnu.org/licenses/gpl-2.0.html
 Tags:          light, dark, two-columns, right-sidebar, responsive-layout
 Text Domain:   electro-child
*/

.owl-item > .product .product-thumbnail > img, .owl-item > .product .wp-post-image, .products > .product .product-thumbnail > img, .products > .product .wp-post-image {
    display: flex;
}


/* calendar for shipped */


.ui-datepicker td a:after {
    content: "";
    display: block;
    text-align: center;
    color: #7f7f7f;
    font-size: small;
    font-weight: bold;
}
.ui-datepicker td span, .ui-datepicker td a {
    text-align: center;
}
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    color: #23282d;
}
.ui-datepicker th {
    background: #fff;
}

.ui-datepicker td a:after,
.ui-datepicker td a:before {
    position: absolute;
    left: 0;
    bottom: 2px;
    font-size: 11px;
    width: 61px;
    text-align: center;
}

.ui-datepicker-calendar .ui-state-default {
    min-height: 80px;
    min-width: 80px;
    position: relative;
    font-size: 16px;
    border: 1px solid grey !important;
    background: #fff !important;
    text-align: center;
}

.ui-datepicker td a:after, .ui-datepicker td a:before {
    position: absolute;
    left: 0;
    bottom: 6px;
    font-size: 11px !important;
    width: 100%;
    text-align: center;
    margin-top: 8px;
    font-size: 12px;
}

.ui-datepicker td a:before {
    bottom: 20px;
    top: 20px;
    line-height: 14px;
}

.ui-datepicker .ui-datepicker-header {
    background-color: #fed700 !important;
}

.ui-datepicker td a:hover {
    transform: scale(1.09);
}
.pid-price .woocs_price_code, .electro-price > .amount > bdi {
    color: #2e8540;
}


@media screen and (min-width: 768px) {
    #ui-datepicker-div {
        width: auto;
        margin: auto;
    }

    /* calendar  */
    .ui-datepicker tr, .ui-datepicker td {
        padding: 5px !important;
    }
} 


@media screen and (max-width: 768px) {
    #ui-datepicker-div {
        width: auto;
        margin: auto;
    }
    .ui-datepicker td a, .ui-datepicker td a:after, .ui-datepicker td a:before {
        font-size: 7px !important;
    }
    .ui-datepicker-calendar .ui-state-default {
        min-height: 60px !important;
        min-width: auto !important;
        position: relative;
        font-size: 14px !important;
        background: #fff !important;
        text-align: center !important;
    }
    .ui-datepicker td a:before {
        top : 12px !important;
    }
    .ui-datepicker tr, .ui-datepicker td{
        padding: 1px;
    }
}


#ui-datepicker-div{max-width:100%}
@media (min-width:1200px){#ui-datepicker-div{width:1260px}}
@media (min-width:992px){#ui-datepicker-div{width:970px}}
@media (min-width:768px){#ui-datepicker-div{width:750px}}
#ui-datepicker-div{
    padding-right:15px;
    padding-left:15px;
    margin-right:auto;
    margin-left:auto;
    left: 0 !important;
    right: 0 !important;
    z-index: 10 !important;
}



.variation-ship_method_id, .variation-ship_price, .variation-ship_date_out{
    display: none !important;
}

.dead-tr, .dead-tr a{
    background-color: #dc3545 !important;
    color: #ffffff !important;
    font-size: 16px !important;
}
.dead-tr td{ 
    padding: 10px !important;
    line-height: 20px !important;
}
.dead-tr a{
    font-weight: 600 !important;
} 


@media (min-width: 992px) and (max-width:1199px){
    .woocommerce div.product form.cart {
        overflow:hidden !important;
    }
}
@media (min-width: 768px) and (max-width: 991px){
    .woocommerce div.product form.cart {
        overflow: hidden !important;
    }
}


/*****   Checkout page occasion messages   ****/

.woocommerce-additional-fields, .instructions {
  clear: both;
}
.messages {
    position: relative;
  border: 1px solid #ddd;
  border-radius: 1.467em;
  padding-bottom: 10px;
  min-height: 150px;
}
.messages h5 {
  background-color: #ddd;
  color: #000;
  text-align: center;
  font-size: 1.2em;
  margin: 0;
  padding: 6px 10px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}
.messages .msg {
  padding: 15px;
  line-height: 1.5;
}
.messages .arrows {
    position: absolute;
    width: 100%;
    top: 50%;
    z-index: 1;
}
.messages .owl-item {
  background-color: transparent;
}
.arrows span {
  cursor: pointer;
}
.arrows .left {
    margin-left: 0;
    float: left;
    background-color: #ddd;
    color: #000;
    padding: 0 5px;
}
.arrows .right {
    margin-left: 0;
    float: right;
    background-color: #ddd;
    color: #000;
    padding: 0 5px;
}
#select-msg {
    width: 100%;
    position: absolute;
    bottom: 5px;
    z-index: 1;
}
#select-msg a {
    text-decoration: underline;
    font-size: 12px;
}

@media screen and (min-width: 768px) {
    .add-message {
        display: flex;
    }
}

.tooltip-box {
  position: relative;
  display: inline-block;
}
.tooltip-box .tooltip-text {
  visibility: hidden;
  width: 100px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 6px 0;
  position: absolute;
  z-index: 1;
}
.tooltip-box:hover .tooltip-text {
  visibility: visible;
}

.sidebar-day {
    border: 1px solid #ccc;
    border-radius: 10px;
}

.sidebar-day ul {
    margin: 2rem auto;
}

.sidebar-day ul li {
    list-style-type: none;
}

.sidebar-day ul li a {
    font-size: large;
}


/* Cart Page CSS */
@media screen and (max-width: 576px) {
    .cart-collaterals .cart_totals table.shop_table.shop_table_responsive tbody tr th {
        display: block;
    }
    table.woocommerce-cart-form__contents .product-quantity .qty {
        width: 50px !important;
        margin-left: auto;
    }
}

.review-no-button, .review-no-button:hover {
    background-color: transparent;
    border-color: transparent;
    color: #000;
}

/* Mothers Day Temp */
/*.top-bar {
    background-color: deeppink !important;
}
#menu-item-34636 {
    font-size: 1.1em !important;
}
#menu-item-34636 span a {
    text-decoration: underline;
}
#menu-top-bar-left a {
    color: #fff !important;
}
#menu-top-bar-left span {
    font-weight: 600 !important;
    color: #fff !important;
}
#menu-item-34437 a, #menu-item-34438 a {
    color: #fff !important;
}*/