.cssflag_quebec{
    background-image: url('/pub/media/cssflag/quebec.png');
}
.field.review-field-ratings.control {
    display: inline-block;
    width: 100%;
    vertical-align: top;
}
.panel.wrapper>.header.panel{
    display: flex;
    justify-content: flex-end;
}
/*Remove after deployment*/
.sorter-options li a {
    text-transform: uppercase;
    padding-right: 0;
}
.sorter-options {
    margin: 0 auto;
}
/*END Remove after deployment*/

body.category-deals #sorter-ul {
    border-bottom: 1px solid #9e9e9e;
    padding-bottom: 10px;
    margin-bottom: 7px;
}

.filter-options-title {
    text-transform: uppercase;
    padding-top: 14px;
    color: black;
    font-size: 13px;
    font-family: system-ui, sans-serif;
}

.filter-options-content a {
    font-family: system-ui, sans-serif;
    font-size: 13px;
}

.filter-options-title::after {
    content: " :";
}

/*
    To Fix Categories Top Banner Image
 */
.updatedtext .bigimages img, .updatedtext .descimg{
    display: flex;
}
/*@media only screen and (min-width: 768px){
    .updatedtext .bigimages img, .updatedtext .descimg img{
        height: 100%;
        !*position: absolute;*!
        !*top: 0;*!
    }
}
.updatedtext .bigimages img, .updatedtext .descimg img{
    object-fit: cover;
    object-position: right;
}
@media only screen and (max-width: 767px){
    .updatedtext .bigimages img, .updatedtext .descimg img {
        width: 100%;
    }
    .updatedtext .bigimages picture{
        display: flex !important;
    }
}*/

@media only screen and (max-width: 767px) {
    body .toolbar.toolbar-products {
        margin-bottom: 0;
    }
    body.category-deals li.item.product.product-item:first-child {
        padding-top: 15px;
    }
    .cce_div {
        padding-left: 20px!important;
        margin-top: 2px;
    }
    /*.header.content {
        display: inline-flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 3px 0;
    }
    .nav-toggle {
        position: relative;
        top: 0;
        padding-bottom: 4px;
        padding-right: 30px;
    }
    .header.content .header-right {
        position: relative;
        margin-top: 2px;
    }
    .header.content .logo {
        margin: 0!important;
    }*/
}

@media only screen and (max-width: 768px) {
    .esignup-header {
        width: 70% !important;
    }
}

@media (min-width: 769px) and (max-width: 1170px) {
    .navigation.second {
        clear: both;
    }
}

.content {
    background: none;
    border: none
}

.updatedtext .bigimages picture {
    display: table-cell;
    vertical-align: middle;
}

.updatedtext .bigimages {
    padding: 0 !important;
    height: 100%;
    display: table;
    margin: 0 auto !important;
    width: 100% !important;
    text-align: center !important;
    background-image: url('https://torontovaporizer.ca/pub/media/wysiwyg/category/cat_Banner_Background.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.updatedtext .bigimages img {
    text-align: center;
    margin: 0 auto;
}

body.category-accessories .updatedtext.catdesc>div>div {
    font-size: 17px;
}

.updatedtext .read-more-state {
    display: none;
}

@media (max-width: 767px) {
    .mwarning {
        padding: 0 !important;
    }
    .mwarning a {
        display: inline-block !important;
    }
    .block.newsletter .action.subscribe span::before {
        content: "Submit";
        -webkit-transform: none;
        transform: none;
        font-size: 18px;
        font-family: Arial, helvetica neue, Helvetica, sans-serif;
    }
    body .page-footer {
        margin-top: 0;
    }
    body .page-footer .footer.content {
        margin-top: 0;
    }
    .catalog-category-view .page-footer {
        margin-top: 0;
    }
    .catalog-category-view .page-footer .footer.content {
        margin-top: 0;
    }
    body.catalog-category-view div#read-more {
        margin-top: 0
    }
    body.catalog-category-view .category-view {
        margin-bottom: 0;
    }
    body.catalog-category-view .products.wrapper.grid.products-grid {
        margin-top: 0;
    }
    .updatedtext .cat_mob_desc h1 {
        margin: 5px auto;
    }
    .updatedtext .read-more-wrap {
        margin: 0 auto;
    }
    .updatedtext.catdesc>div>div {
        margin-bottom: 5px;
        padding-bottom: 0;
    }
    .row.catdesc.updatedtext {
        display: flex;
    }
    .cat_mob_desc {
        order: 2;
    }
    .updatedtext .read-more-target {
        opacity: 0;
        max-height: 0;
        font-size: 0;
        /*transition: .50s ease;*/
    }
    .updatedtext .read-more-state:checked~.read-more-target {
        opacity: 1;
        font-size: inherit;
        max-height: 999em;
    }
    .updatedtext .read-more-state~.read-more-trigger:before {
        content: 'Read More...';
    }
    .updatedtext .read-more-state:checked~.descimg {
        max-height: 100%!important;
    }
    .updatedtext .read-more-state:checked~.descimg .descimage {
        max-height: 100%!important;
    }
    .updatedtext .read-more-state:checked~.read-more-trigger:before {
        content: 'Read less...';
    }
    .updatedtext .read-more-trigger {
        cursor: pointer;
        display: block;
        color: #666;
        font-size: inherit;
    }
    .updatedtext .read-more-trigger {
        color: #89c540;
        font-weight: bold;
    }
    .updatedtext .row.catdesc.updatedtext {
        position: relative;
    }
    .movetobottom {
        display: none;
    }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
    body.catalog-category-view .category-view {
        margin-bottom: 10px;
    }
}
.product.attribute.description .value {
    height: auto;
    padding-bottom: 20px !important;
}

.product.attribute.description .value iframe {
    position: static !important;
    height: 315px;
    width: 560px;
}

#co-payment-form .g-recaptcha {
    display: none
}

.category-cms {
    padding: 0;
    margin-bottom: 5px;
}

.category-cms img {
    width: 100%;
}

body.catalog-product-view .product.data.items .item.content .product.attribute.description ul li>span {
    position: initial;
}

.product-item .old-price {
    display: block !important;
}

#read-morebtn {
    color: #87cb40;
    text-decoration: underline;
}

.hideafter>img {
    display: none;
}


/* Shipping checkout warning add about canadapost */

#checkout-shipping-method-load tr.canadapost:first-child {
    display: flex !important;
    flex-direction: column;
}

#checkout-shipping-method-load tr.canadapost:first-child::after {
    content: "Canada Post requires you to pick up your order from the post office. \a For delivery to your door, select Purolator";
    margin-bottom: 20px;
    white-space: break-spaces;
}

.sezzle-button-text {
    max-width: 600px !important;
    font-size: 16px !important;
    text-align: left !important
}

.payment-method-content.banktransfer br {
    margin-bottom: 0px !important;
    float: unset !important;
}

.loading-mask .loader .mfwebp>img {
    bottom: 0;
    left: 0;
    margin: auto;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 100;
}

.page-footer .footer.content .footer-bottom .footer-flag li.switcher-option {
    width: 23%;
}

#footer-switcher-language .flag_tvape_fr {
    width: 32px;
    height: 18px;
    background: url(/pub/static/frontend/Tvap/tvap-fr/fr_FR/images/flags/flag_tvape_fr.png) no-repeat;
    display: inline-block;
    background-position: 0px;
}

.catdesc img {
    min-height: auto !important
}

@media (max-width: 991px) {
    .checkout-index-index .actions-toolbar>.secondary:last-child {
        display: block !important;
        text-align: center;
        margin-top: 10px !important;
    }
}

.block {
    margin-bottom: 0;
}

[style*="--aspect-ratio"]> :first-child {
    width: 100%;
}

[style*="--aspect-ratio"]>img {
    height: auto;
}

@supports (--custom:property) {
    [style*="--aspect-ratio"] {
        position: relative;
    }
    [style*="--aspect-ratio"]::before {
        content: "";
        display: block;
        padding-bottom: calc(100% / (var(--aspect-ratio)));
    }
    [style*="--aspect-ratio"]> :first-child {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
    }
}

/* Allow Button */
#onesignal-popover-container #onesignal-popover-dialog .popover-button.primary, #onesignal-popover-container #onesignal-popover-dialog .slidedown-button.primary, #onesignal-popover-container #onesignal-slidedown-dialog .popover-button.primary, #onesignal-popover-container #onesignal-slidedown-dialog .slidedown-button.primary, #onesignal-slidedown-container #onesignal-popover-dialog .popover-button.primary, #onesignal-slidedown-container #onesignal-popover-dialog .slidedown-button.primary, #onesignal-slidedown-container #onesignal-slidedown-dialog .popover-button.primary, #onesignal-slidedown-container #onesignal-slidedown-dialog .slidedown-button.primary{
    background: #89c540 !important;
    display: flex !important;
    align-items: center !important;
}
/* Allow Button hover */
#onesignal-popover-container #onesignal-popover-dialog .popover-button.primary:active, #onesignal-popover-container #onesignal-popover-dialog .slidedown-button.primary:active, #onesignal-popover-container #onesignal-slidedown-dialog .popover-button.primary:active, #onesignal-popover-container #onesignal-slidedown-dialog .slidedown-button.primary:active, #onesignal-slidedown-container #onesignal-popover-dialog .popover-button.primary:active, #onesignal-slidedown-container #onesignal-popover-dialog .slidedown-button.primary:active, #onesignal-slidedown-container #onesignal-slidedown-dialog .popover-button.primary:active, #onesignal-slidedown-container #onesignal-slidedown-dialog .slidedown-button.primary:active{
    background: #89c540 !important;

}
/* Cancel Button */
#onesignal-popover-container #onesignal-popover-dialog .popover-button.secondary, #onesignal-popover-container #onesignal-popover-dialog .slidedown-button.secondary, #onesignal-popover-container #onesignal-slidedown-dialog .popover-button.secondary, #onesignal-popover-container #onesignal-slidedown-dialog .slidedown-button.secondary, #onesignal-slidedown-container #onesignal-popover-dialog .popover-button.secondary, #onesignal-slidedown-container #onesignal-popover-dialog .slidedown-button.secondary, #onesignal-slidedown-container #onesignal-slidedown-dialog .popover-button.secondary, body #onesignal-slidedown-container #onesignal-slidedown-dialog .slidedown-button.secondary{
    color: #89c540 !important;
    display: flex !important;
    align-items: center !important;
}
/* Cancel hover Button */
#onesignal-popover-container #onesignal-popover-dialog .popover-button.secondary, #onesignal-popover-container #onesignal-popover-dialog .slidedown-button.secondary, #onesignal-popover-container #onesignal-slidedown-dialog .popover-button.secondary, #onesignal-popover-container #onesignal-slidedown-dialog .slidedown-button.secondary, #onesignal-slidedown-container #onesignal-popover-dialog .popover-button.secondary, #onesignal-slidedown-container #onesignal-popover-dialog .slidedown-button.secondary, #onesignal-slidedown-container #onesignal-slidedown-dialog .popover-button.secondary, body #onesignal-slidedown-container #onesignal-slidedown-dialog .slidedown-button.secondary{
    color: #89c540 !important;
}

.thumbimgnew i.fa-youtube:after {
    color: red;
    vertical-align: middle;
    display: table-cell;
}

.desc-video .play,
.thumbimgnew i.fa-youtube{
    display: table;
    text-align: center;
    vertical-align: middle;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    transform: none;
}

.video-foreground .desc-video .play:after {
    color: red !important;
    opacity: 1 !important;
    display: table-cell;
    position: static;
    vertical-align: middle;
}

/*
    Klaviyo Button fix CSS
 */
button.needsclick.klaviyo-close-form.kl-private-reset-css-Xuajs1{
    height: auto !important;
    width: auto !important;
    margin: auto !important;
    /*background-color: #fff !important;*/
    background-color: unset !important;
    border: none !important;
    padding: 8px !important;
}

button.needsclick.kl-teaser-XKxYv6{
    padding: 0px !important;
    border: unset !important;
    background: unset !important;
}

.product-info-main .product-options-wrapper .swatch-opt .swatch-attribute-options .swatch-option.text{
    display: flex;
    justify-content: center;
    align-items: center;
}

@media only screen and (max-width: 767px) {
    button.needsclick.kl-teaser-XKxYv6{
        margin: auto !important;
        width: auto !important;
    }
    span.needsclick.go681896951{
        min-height: auto !important;
        padding: 10px !important;
    }
    span.needsclick.go681896951 span{
        font-size: 16px !important;
    }
}

@media only screen and (max-width: 480px){
    .thumbimgnew i.fa-youtube {
        margin-top: 0px;
    }
}