/* tooltip */

.cart-template.full-cart.active .cart {
    padding-top: 5px;
}

.msg-tooltip {
    position: relative;
    display: inline-block;
    margin: 0 0 0 5px;
}

.btn-tooltip {
    position: absolute;
    top: -5px;
    right: -25px;
    background: #9a9a9a;
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    display: block;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
}

.info-tooltip {
    position: absolute;
    bottom: -135px;
    right: -24px;
    width: 250px;
    text-align: center;
    background: #9a9a9a;
    z-index: 9999;
    color: #fff;
    padding: 5px;
    font-size: 12px;
    display: none;
    transition: all .2s;
    text-transform: initial;
}

.info-tooltip:after {
    content: "";
    width: 0px;
    height: 0px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #9a9a9a;
    position: absolute;
    top: -5px;
    right: 5px;
}

.btn-tooltip:hover + .info-tooltip {
    display: block;
}


/* tooltip */

.btn-tooltip,
.substitute-switch-wrapper {
    cursor: pointer
}

.clone-item-container,
.clone-item-sep,
.clone-item.btn,
.item-attachments-name-substituicao {
    display: none!important
}

/*td.item-substitute,
th.item-substitute {
    padding: 10px
}*/

.cart-items thead th { vertical-align: middle; }

th.item-substitute {
    width: 240px;
    font-size: 12px;
}

th.item-substitute a {
    display: block;
    text-decoration: underline;
    color: #ccc
}

/*td.item-substitute {
    width: 150px!important
}*/

/*.substitute-label,
.substitute-switch-wrapper { height: 35px; }*/

.substitute-label {
    display: none;
}

.btn-substitute-all { text-transform: initial; }

.substitute-switch-wrapper .switch {
    width: 100%;
    max-width: 55px;
    height: 28px;
    border: 2px solid #e8e8e8;
    border-radius: 100px;
    background-color: #f4f4f4;
    margin: auto;
    position: relative
}

.substitute-switch-wrapper .switch .toggle-indicator {
    width: 18px;
    height: 18px;
    background-color: #c7c7c7;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    border-radius: 100%;
    left: 7px;
    transition: all .25s;
    transition-timing-function: cubic-bezier(.18, .89, .32, 1.28)
}

.substitute-switch-wrapper .text-wrapper {
    margin-top: 5px;
    /*display: flex;
    justify-content: space-between;*/
    display: none;
}

.substitute-switch-wrapper .text-wrapper .text {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #aaa;
    transition: all .25s;
    display: none;
}

.substitute-switch-wrapper .text-wrapper .text.dont-change {
    color: #363636
}

.substitute-checkbox {
    display: none
}

.substitute-checkbox:checked+.substitute-switch-wrapper .switch .toggle-indicator {
    left: calc(100% - 25px);
    background-color: #d72827
}

.substitute-checkbox:checked+.substitute-switch-wrapper .text-wrapper .text.dont-change {
    color: #aaa
}

.substitute-checkbox:checked+.substitute-switch-wrapper .text-wrapper .text.change {
    color: #363636
}

th.item-substitute a {
    font-size: 9px
}

.substitute-switch-wrapper .text-wrapper .text {
    font-size: 11px
}