@font-face {
    font-family: 'ywraq-quote-icon';
    src: url('../icons/ywraq-quote-icon.eot?ygyboi');
    src: url('../icons/ywraq-quote-icon.eot?ygyboi#iefix') format('embedded-opentype'),
    url('../icons/ywraq-quote-icon.ttf?ygyboi') format('truetype'),
    url('../icons/ywraq-quote-icon.woff?ygyboi') format('woff'),
    url('../icons/ywraq-quote-icon.svg?ygyboi#ywraq-quote-icon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

[class^="ywraq-quote-icon-"], [class*=" ywraq-quote-icon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'ywraq-quote-icon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.ywraq-quote-icon-icon_quote:before {
    content: "\e900";
    color: #777;
}

.ajax-loading,
.product-remove a.yith-ywraq-item-remove.remove {
    display: inline-block;
}

.product-remove .ajax-loading {
    vertical-align: text-bottom;
}

#yith-ywraq-form table.cart .product-thumbnail {
    display: table-cell;
}

#yith-ywraq-form .product-name ul li {
    font-size: .9rem;
}

#yith-ywraq-form .product-subtotal,
#yith-ywraq-form .product-quantity,
#yith-ywraq-form .product-price {
    text-align: right;
    padding: 30px 15px;
}

.woocommerce #yith-ywraq-form table.shop_table.cart div.product-thumbnail img {
    max-width: 60px;
}

.add-request-quote-button.disabled {
    opacity: .5 !important;
    cursor: not-allowed;
}

.hide-modal {
    display: none;
}

.woocommerce .related ul li.product img, .woocommerce .related ul.products li.product img.ajax-loading {
    width: auto;
}

.g-recaptcha {
    margin-bottom: 20px;
}

.ywraq-form-table-wrapper.vertical .nf-form-content {
    margin: 0!important;
}

.ywraq-form-table-wrapper.wide .nf-form-cont{
    margin-left: 50px;
}

/*widget*/
ul.yith-ywraq-list li {
    position: relative;
    padding-left: 2em;
    position: relative;
    padding-top: 0;
    padding-bottom: 0px;
}

ul.yith-ywraq-list li a {
    display: block;
    font-weight: 700;
}

ul.yith-ywraq-list a.yith-ywraq-item-remove.remove {
    position: absolute;
    top: 0;
    left: 0;
}

ul.yith-ywraq-list img {
    display: inline-block;
    float: right;
    margin-left: 4px;
    width: 32px;
    height: auto;
    box-shadow: none;
}

ul.yith-ywraq-list .yith-ywraq-list-info .quantity {
    display: block;
}

.woocommerce.ywraq-wrapper .cart a.button.wc-backward {
    float: left;
}

.woocommerce.ywraq-wrapper .cart input.button.btn.btn-default {
    float: right;
}

.payment_method_yith-request-a-quote {
    display: none;
}

/*---------------
[MINI QUOTE LIST]
-----------------*/

.widget_ywraq_mini_list_quote {
    position: relative;
    padding: 0;
    display: inline-block;
    margin: 25px 0;
    vertical-align: top;
    overflow: visible !important;
}

.widget_ywraq_mini_list_quote .raq-info {
    display: block;
    margin: 2px;
    padding: 10px 12px;
    color: #000;
    font-size: 16px;
    border: 1px solid #efefef;
    cursor: pointer;
}


.widget_ywraq_mini_list_quote .yith-ywraq-list-wrapper {
    position: absolute;
    left: 0;
    left: auto;
    margin-right: -1px;
    bottom: -12px;
    width: 300px;
    padding-top: 15px;
}

.widget_ywraq_mini_list_quote .yith-ywraq-list-content {
    padding: 22px 22px 24px;
    width: 100%;
    position: absolute;
    background: #fff;
    border: 1px solid #f1f1f1;
    border-bottom-width: 0;
    -webkit-box-shadow: 1px 1.732px 3px 0px rgba(0, 0, 0, 0.19);
    -moz-box-shadow: 1px 1.732px 3px 0px rgba(0, 0, 0, 0.19);
    box-shadow: 1px 1.732px 3px 0px rgba(0, 0, 0, 0.19);
    z-index: -1;
    opacity: 0;
    text-align: left;
    margin-top: -26px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    -webkit-transition-delay: 0.3s; /* Safari */
    transition-delay: 0.3s;
    pointer-events: none;
}

.widget_ywraq_mini_list_quote .yith-ywraq-list {
    margin-bottom: 15px;
}

.widget_ywraq_mini_list_quote .yith-ywraq-list-content.scrollbar-outer {
    overflow-y: scroll;
}

.widget_ywraq_mini_list_quote .yith-ywraq-list-content ul li {
    position: relative;
    border-bottom: 1px solid;
    padding: 2px 0 15px 23px;
    clear: both;
}

@media( min-width: 769px ) {
    .widget_ywraq_mini_list_quote:hover .yith-ywraq-list-content {
        z-index: 10000;
        opacity: 1;
        margin-top: 0;
        pointer-events: auto;
    }
}

.widget_ywraq_mini_list_quote ul.yith-ywraq-list {
    position: relative;
    max-height: 30vh;
    overflow-y: scroll;
}

.widget_ywraq_mini_list_quote ul.yith-ywraq-list::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
}

.widget_ywraq_mini_list_quote ul.yith-ywraq-list::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0, 0, 0, .3);
    box-shadow: 0 0 1px rgba(255, 255, 255, .5);
}


.widget_ywraq_mini_list_quote .raq-items-number {
    font-weight: bold;
}

.ywraq-select2 {
    z-index: 111111111 !important;
}

#ywraq_checkout_quote {
    margin-bottom: 20px;
    text-align: center;
}

a#ywraq_checkout_quote{
    padding: 20px 0;
    display:block;
}
.mobile-price {
    display: none;
}

.raq-totals {
    text-align: right;
    padding: 15px 15px !important;

}
#yith-ywraq-form table{
    margin-top:10px;
    margin-bottom:10px;
}
#yith-ywraq-form .update-list-wrapper{
    text-align: right;
    margin-bottom: 30px;
}
@media screen and (max-width: 768px) {
    /* regole CSS */
    .ywraq_responsive thead {
        display: none;
    }

    .mobile-price {
        display: block;
    }

    .ywraq_responsive .product-quantity {
        text-align: right;
    }

    .ywraq_responsive .product-subtotal,
    .ywraq_responsive .product-price {
        display: none;
    }

    table.shop_table.ywraq_responsive tbody tr td {
        border: 0;
    }

    #yith-ywraq-form .actions a {
        text-align: center;
    }

    .ywraq_responsive .raq-totals {
        text-align: right;
        padding: 15px 15px !important;
    }

    .ywraq_responsive .product-name {
        font-weight: 600;
        font-size: 0.8rem;
    }

    .ywraq_responsive .product-name span {
        font-weight: normal;
        color: #a7a7a7;
        font-size: 0.9rem;
    }

    table.shop_table.ywraq_responsive .product-remove {
        max-width: 20px;
        padding: 10px;
    }

    table.shop_table.ywraq_responsive tbody tr td.actions {
        padding: 0;
    }
}

/* composite in widget styles */
.yith-ywraq-list-widget-wrapper .yith-ywraq-list-wrapper ul li.yith-ywraq-list-item .ywcp_component_child_item {
    margin-left: 10px;
    margin-top: 5px;
    position: relative;
}

.yith-ywraq-list-widget-wrapper .yith-ywraq-list-wrapper ul li.yith-ywraq-list-item .ywcp_component_child_item strong,
.yith-ywraq-list-widget-wrapper .yith-ywraq-list-wrapper ul li.yith-ywraq-list-item .ywcp_component_child_item a {
    display: block;
    max-width: 180px;
}

.yith-ywraq-list-widget-wrapper .yith-ywraq-list-wrapper ul li.yith-ywraq-list-item .ywcp_component_child_item span.product-quantity {
    position: absolute;
    top: 10px;
    right: 2px;
}

.ywraq-mobile-opened.widget_ywraq_mini_list_quote {
    position: inherit;
}

.ywraq-mobile-opened ul.yith-ywraq-list {
    height: auto;
    max-height: 60vh;
    padding: 30px;
}

.yith-ywraq-list-wrapper .close {
    display: none;
}

.ywraq-mobile-opened .yith-ywraq-list-wrapper .close {
    width: 30px;
    height: 30px;
    font-size: 20px;
    color: #707070;
    position: absolute;
    top: 0;
    right: 50px;
    z-index: 10001;
    display: block;
}

.ywraq-mobile-opened.widget_ywraq_mini_list_quote:hover .yith-ywraq-list-content {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-top: 100px;
    opacity: 1;
    z-index: 10000;
}


.ywraq-form-table-wrapper th.product-name {
    text-align: left;
}

.yith_ywraq_add_item_browse_message a:after{
    display:none;
}
/**
* Page
 */
.ywraq-form-table-wrapper.wide {
    display: flex;
    align-content: space-evenly;
    flex: 0 0 auto;
    align-items: baseline;
    gap:50px;
}

.ywraq-form-table-wrapper.wide .yith-ywraq-mail-form-wrapper {
    flex-basis: 48%;
    margin-left: 5%;
}

.ywraq-form-table-wrapper.wide form#yith-ywraq-form {
    flex-basis: 48%;
}

.ywraq-form-table-wrapper.wide .nf-form-cont{
    flex:1;
}

.ywraq-form-table-wrapper .yith-ywraq-mail-form-wrapper {
    padding: 25px;
}

.theme-yith-proteo .ywraq-form-table-wrapper .yith-ywraq-mail-form-wrapper {
    background: #f5f5f5;
}


/**
* PROTEO
**/
.ywraq-quote-icon-icon_quote:before {
    font-size: 28px;
    color: rgb(64, 64, 64);
}

.theme-yith-proteo #yith-ywraq-default-form .woocommerce-error.woocommerce-message {
    box-shadow: none;
    margin-top: 30px;
}

ul.products li.product img.ywraq-loader {
    margin-top: -10px;
}

.theme-yith-proteo span.yith-proteo-myaccount-icons.ywraq-quote-icon-icon_quote:before {
    font-size: 40px;
}

.theme-yith-proteo .ywraq-view-quote-wrapper table.shop_table tbody tr td.product-name a {
    color: var(--proteo-general_link_color, #448a85);
}

.theme-yith-proteo .quotes-total a.button.accept {
    border: 1px solid var(--proteo-general_link_color, #009E8D);
    color: var(--proteo-general_link_color, #009E8D);
}

.theme-yith-proteo table.shop_table a.yith-ywraq-item-remove.remove {
    text-decoration: none;
    color: #c7c7c7;
    display: inline-block;
    vertical-align: middle;
    font-size: 30px;
    opacity: 1;
}

.theme-yith-proteo table.shop_table a.yith-ywraq-item-remove.remove:hover {
    color: #32373c;
}

@media (max-width: 768px) {
    .widget_ywraq_mini_list_quote .yith-ywraq-list-wrapper {
        top: 60px;
    }

    .ywraq-form-table-wrapper.wide {
        display: block;
    }

    .ywraq-form-table-wrapper.wide .yith-ywraq-mail-form-wrapper {
        margin-left: 0;
    }

    .form-row.form-row-first,
    .form-row.form-row-last {
        width: 100%;
    }

    .form-row {
        margin-bottom: 20px
    }

    .ywraq-form-table-wrapper .yith-ywraq-mail-form-wrapper .raq-send-request-row {
        text-align: center;
    }

    .woocommerce-cart .hentry,
    .woocommerce-checkout .hentry {
        border-bottom: 0;
        padding-bottom: 0;
    }


    .page-template-template-fullwidth-php table.cart .product-thumbnail {
        display: table-cell;
    }

    .page-template-template-fullwidth-php table.cart thead {
        font-size: 1em;
        text-indent: 0;
    }

    .theme-yith-proteo .header-sidebar .widget_ywraq_mini_list_quote {
        text-align: right;
        display: block;
        padding: 0 30px;
        margin: -17px auto 0 auto;
    }

    .theme-yith-proteo .header-sidebar .widget_ywraq_mini_list_quote span.ywraq-quote-icon-icon_quote:before {
        font-size: 20px;
    }

    .theme-yith-proteo .widget_ywraq_mini_list_quote .yith-ywraq-list-content:after {
        position: absolute;
        right: 45px;
        top: -13px;
        width: 0;
        height: 0;
        content: '';
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 15px solid #fff;
        z-index: 2000;
    }

    .theme-yith-proteo .widget_ywraq_mini_list_quote p.items-count {
        font-size: 16px;
    }

}

@media (max-width: 426px) {
    .theme-yith-proteo .widget_ywraq_mini_list_quote .yith-ywraq-list-wrapper {
        width: 100%;
    }
}


