@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');

* {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

h1, h2, h3 {
    font-weight: 700;
}

.qq-uploader.qq-grey {
    border-bottom: 3px solid #ea2d2d;
    background-color: #eee;
}

.qq-uploader.qq-grey .qq-upload-button {
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0px;
}

.qq-uploader.qq-grey .qq-upload-button:hover{
    background-color: #ddd;
}

.qq-uploader.qq-grey .qq-upload-button .rtm-qq-upload-button-title {
    flex: 1;
    height: 100%;
    z-index: 10;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    font-size: 16px;
}

.qq-uploader.qq-grey .qq-upload-button .rtm-qq-upload-button-title .rtm-qq-upload-button-title-text {
    pointer-events: none;
}

.qq-uploader.qq-grey .qq-upload-button .rtm-qq-upload-button-title:hover {
    background-color: #ddd;
    cursor: pointer;
}

.qq-uploader.qq-med {
    height: 50px;
}

.qq-uploader.qq-50p {
    width: 50%;
    margin: auto;
}

.bg-white {
    background-color: #fff;
}


/** Image Rectangles attribute type */
.attribute-rectangles {
    font-size: 0;
}

.attribute-rectangles li {
    display: block !important;
    margin: 0 5px 5px;
    text-align: center;
    border: 1px solid #ccc;
    background: #fff;
}

.attribute-rectangles .attribute-rectangle-container {
    display: block;
    position: relative;
    z-index: 0;
    padding: 1px;
}

.attribute-rectangles label {
    display: block;
    margin: 0 !important;
    position: relative;
    border: 1px solid transparent;
    background: none;
}

.attribute-rectangles .attribute-rectangle {
    display: block !important;
    border: 1px solid #444 !important;
    cursor: pointer;
    width: 500px;
    height: 140px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.attribute-rectangles.option-list li:hover label {
    border-color: #A41814;
    background: #C21B17;
    color: #fff;
}

.attribute-rectangles.option-list li.selected-value label {
    background-color: #6BAB26;
    border-color: #56891E;
    color: #fff;
}

.attribute-rectangles li input {
    position: relative;
    z-index: -1;
    margin: -32px 0 0;
}

.attribute-rectangles li label span.text {
    font-size: 9pt !important;
    display: block;
    padding: 5px;
}

.attribute-rectangles li label img.magnifier {
    width: 25px;
    height: 25px;
}

.attribute-rectangles li label span.text a {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 10;
    opacity: 0;
}

ul.attribute-rectangles.image-rectangles {
    display: flex !important;
    flex-flow: column;
    align-items: baseline !important;
}

.qty-wrapper .qty-dropdown {
    width: 70px;
}

.attribute-rectangle.waiting-for-cover.bg {
    background-color: white;
}

.attribute-rectangle.waiting-for-cover.loading.bg {
    background-position: center;
    background-size: auto;
}

.attribute-rectangles.option-list.direction-top {
    flex-flow: row;
}

.attribute-rectangles.direction-top .attribute-rectangle {
    width: 245px;
    height: 250px;
}

ul.option-list.disabled {
    pointer-events: none;
    opacity: 0.6;
}

@media all and (max-width: 799px) {
    .attribute-rectangles.option-list.direction-top {
        flex-flow: column;
    }

    .attribute-rectangles.option-list.direction-left .attribute-rectangle {
        width: 330px;
        height: 95px;
    }

    .qq-uploader.qq-50p {
        width: 100%;
    }
}

/*Colore delle dialogo di notifica*/
div.ui-dialog[aria-describedby="dialog-notifications-success"] div.ui-dialog-titlebar {
    background: #6bab26;
}

/*Colore delle dialogo di notifica*/
div.ui-dialog[aria-describedby="dialog-notifications-warning"] div.ui-dialog-titlebar {
    background: #ffcc00;
}


ul.qq-upload-list-selector.qq-upload-list.qq-upload-popup-notification li.qq-upload-success {
    display: none !important;
}

ul.qq-upload-list-selector.qq-upload-list .qq-upload-retry {
    background-color: #3E3E3E;
    color: white;
    padding: 10px;
}

ul.qq-upload-list-selector.qq-upload-list .qq-upload-retry:hover {
    background-color: #8C8C8C;
}

input[type="button"][disabled], input[type="submit"][disabled], button[disabled],
input[type="button"]:disabled, input[type="submit"]:disabled, button:disabled {
    pointer-events: none;
    opacity: 0.6;
}

select, input[type="text"] {
    border: 1px solid #E2E2E2 !important;
}

select:focus, input[type="text"]:focus, textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[type="date"]:focus {
    border: 1px solid #525252 !important;
}

select:disabled, input[type="text"]:disabled {
    background-color: white !important;
    opacity: 0.6 !important;
}

.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.cart-collaterals input[type="submit"],
.cart-collaterals input[type="button"],
.totals button[type="submit"],
.cart-options .common-buttons button {
    background-color: #C21B17 !important;
    border: none !important;
    color: white !important;
}

#checkout:before,
.complete-button button:before,
.flyout-cart .buttons button:before {
    -webkit-transform: none !important;
    -ms-transform: none !important;
    transform: none !important;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
}

input[type="button"]:hover, input[type="submit"]:hover, button:hover,
#checkout:hover, .complete-button button:hover, .cart-options .common-buttons button:hover,
.overview .add-to-cart-button:hover, .variant-overview .add-to-cart-button:hover {
    background-color: #981310;
    color: white !important;
    transition: all 0.3s ease !important;
}

.flyout-cart .buttons button:first-child span:before {
    color: #fff !important;
}


input.input-validation-error, textarea.input-validation-error, select.input-validation-error {
    background-color: #C21B17;
    color: white;
    transition: all 0.3s ease;
    border: none;
    opacity: 0.8;
}

input.input-validation-error::placeholder, textarea.input-validation-error::placeholder, select.input-validation-error::placeholder {
	color: white;
}

.footer-upper {
	min-height: 100px !important;
}

.link-address-attribute{
	color: #941512;
}

#pdf-preview {
    display: none;
    position: fixed;
    top: 10px;
    right: 10px;
    left: 10px;
    bottom: 10px;
    background-color: white;
    z-index: 99991;
    flex-flow: column;
    -webkit-box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.75);
    border-radius: 3px;
}

#pdf-preview .pdf-preview-header{
    height: 50px;
    width: 100%;
    font-size: 19pt;
    font-weight: bold;
    display: flex;
    align-items: center;
    padding: 10px;
}

#pdf-preview .pdf-preview-header .pdf-preview-title {
    flex: 1;
}

#pdf-preview .pdf-preview-header .pdf-preview-toolbox {
    display: flex;
}

#pdf-preview .pdf-preview-body {
    flex: 1;
    width: 100%;
}

#pdf-preview .pdf-preview-body #pdf-preview-frame {
    width: 100%;
    height: 100%;
    border: none;
}

#show-preview-button {
    background-image: url('/images/preview.png');
    background-position: center center;
    background-size: contain;
    width: 40px;
    height: 100%;
    background-repeat: no-repeat;
    border: none;
    background-color: #EEEEEE;
    background-origin: content-box;
    padding-left: 5px;
    padding-right: 5px;
    z-index: 10;
    border-left: 1px solid #EA2D2D;
}

#show-preview-button:hover {
    background-color: #ddd !important;
}

.squared-button {
    padding: 5px;
    border: none;
}

#shopping-cart-form .cart-collaterals .deals {
    visibility: hidden;
}

#shopping-cart-form .cart-collaterals {
    display: none;
}

#shopping-cart-form .checkout-attributes {
    float: left;
}

#shopping-cart-form .continue-shopping-button {
    float: left;
    background-color: gray !important;
}

#shopping-cart-form .continue-shopping-button:hover {
    background-color: black !important;
}

#shopping-cart-form .update-cart-button {
    visibility: hidden;
}

#shopping-cart-form .cart-order-buttons {
    float: right;
    display: flex;
    align-items: center;
}

#shopping-cart-form .cart-options-2 {
    margin-top: 8px;
}

#shopping-cart-form .cart-footer,
#shopping-cart-form .cart-options {
    display: none;
}

#shopping-cart-form .cart-footer .totals{
    background: rgb(235,235,235);
}

.totals .order-total .cart-total-left {
    padding-left: 5px !important;
}

.totals .order-total .cart-total-right {
    padding-right: 5px !important;
}

#shopping-cart-form .common-buttons {
    position: relative;
}

#shopping-cart-form .cart-footer {
    background: #f6f6f6;
}

@media all and (max-width: 759px) {
    #shopping-cart-form .checkout-attributes {
        float: none;
    }

    #shopping-cart-form .continue-shopping-button {
        float: none;
    }

    #shopping-cart-form .cart-order-buttons {
        float: none;
        flex-flow: column;
    }

    #shopping-cart-form .update-cart-button {
        display: none;
    }

    #shopping-cart-form .cart-footer {
        background: transparent;
    }
}

@media all and (min-width: 800px) and (max-width: 1259px) {
    #shopping-cart-form .cart-order-buttons {
        float: none;
        align-items: center;
        position: absolute;
        right: 10px;
        top: calc(50% - 25px);
    }
}

.product-content-wrappper .overview .attributes .button-1.add-to-cart-button.form-step {
    display: flex;
    width: 588px;
    margin: auto;
    position: relative;
    align-items: center;
    justify-content: center;
}

.product-content-wrappper .overview .add-to-cart-button:hover:before, .product-content-wrappper .overview .add-to-cart-button:before {
    transform: none;
    transition: none !important;
    background-color: transparent !important;
    opacity: 1 !important;
}

.product-content-wrappper .overview .attributes .return-to-technical-params:before {
    content: '\e92e';
    font-weight: normal;
    font-family: prisma;
    font-size: 16px;
    color: #ccc;
    margin-right: 10px;
    position: relative;
}



@media all and (max-width: 481px) {
    .product-content-wrappper .overview .attributes .button-1.add-to-cart-button.form-step {
        width: 330px;
    }
}


/*Header and Footer Black*/
.header-wrapper{
	background-color: #000000;
	margin: 0;
	width: 100%;
	padding: 0 10% 0 10%;
    height: 90px;
}

.footer-upper{
	background-color: #000000 !important; 
}

/*New Button product page.*/
.buttonRow{
	width:100%; 
	display:block;
}

.rightButton{
	width:30% !important;
	margin-left:20%;
}
.leftButton{
	width:30% !important;
	margin-right:20%;
	display: inline;
}

.grayButton{
	background-color: gray !important;
}
.grayButton:hover{
	background-color: black !important;
}

.grayButton:hover span, .grayButton:hover span:before{
	color: white !important;
}

@media all and (max-width: 1024px) {
   .rightButton{
		width:100% !important;	
		display: block !important;	
		margin-left:0px !important;
		margin-top:10px;		
	}
	.leftButton{
		width:100% !important;
		margin-right:0px !important;
		display: block !important;
	}	
	
}

.product-grid .product-item a.selected {
    border: 5px solid #C21B17;
    border-radius: 2px;
}

.product-grid .product-item .picture.selected {
    -webkit-box-shadow: 3px 6px 32px -12px rgba(0,0,0,0.75);
    -moz-box-shadow: 3px 6px 32px -12px rgba(0,0,0,0.75);
    box-shadow: 3px 6px 32px -12px rgba(0,0,0,0.75);
}

.product-grid .product-item .picture:hover {
    -webkit-box-shadow: 3px 6px 32px -12px rgba(0,0,0,0.75);
    -moz-box-shadow: 3px 6px 32px -12px rgba(0,0,0,0.75);
    box-shadow: 3px 6px 32px -12px rgba(0,0,0,0.75);
    opacity: 0.9;
}

.show-selected-product-button {
    padding: 15px 25px 15px 25px;
    background-color: #C21B17;
    border: none;
    color: white;
    text-transform: uppercase;
    margin: 15px;
    float: right;
    width: 220px;
    font-weight: bold;
}

.search-by-pdf-uploader {
    margin-top: 10px;
}

.category-select-before-proceed {
    background-color: white !important;
}

.force-visible {
    display: block !important;
}

.product-grid .product-item .description {
    text-align: left;
    padding: 0px 3px 0px 3px;
}

.notifyjs-defaultNotification-success {
    background-color: #6BAB26 !important;
}

.notifyjs-defaultNotification-success:before {
    content: '\e86C';
    font-family: 'Material Icons';
    font-size: 25pt;
    margin-right: 20px;
}

.notifyjs-defaultNotification-error {
    background-color: #C21B17 !important;
}

.notifyjs-defaultNotification-error:before {
    content: '\e000';
    font-family: 'Material Icons';
    font-size: 25pt;
    margin-right: 20px;
}

.notifyjs-defaultNotification-base {
    border-radius: 0px !important;
    padding: 18px 22px 18px 22px !important;
    border: none !important;
    color: white !important;
    font-size: 11pt;
    background-image: none !important;
    font-weight: normal !important;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    top: 97px !important;
    position: relative !important;
    right: 20px !important;
    min-width: 450px;
}

@media all and (max-width: 480px){
    .notifyjs-defaultNotification-base {
        right: 0px !important;
        top: 0px !important;
        width: 100% !important;
        min-width: auto !important;
    }

    .notifyjs-corner {
        margin: 1px !important;
        width: 100% !important;
    }

    .notifyjs-corner .notifyjs-wrapper {
        margin: 0px !important;
    }

    .notifyjs-corner .notifyjs-wrapper .notifyjs-container {
        margin: 0px !important;
    }
}

.notifyjs-defaultNotification-container {
    display: flex;
    flex-flow: row nowrap;
    flex: 1;
}

.notifyjs-defaultNotification-textarea {
    display: flex;
    flex-flow: column wrap;
    flex: 1;
}

.notifyjs-defaultNotification-message-content {
    font-size: 10pt;
}

.notifyjs-defaultNotification-buttons {
    display: flex;
    align-items: center;
    padding-left: 30px;
}

.notifyjs-defaultNotification-message-closeicon {
    color: white;
    cursor: pointer;
}

.notifyjs-defaultNotification-message-closeicon:before {
    content: '\e14c';
    font-family: 'Material Icons';
    font-size: 18pt;
}

#shopping-cart-form .remove-from-cart-icon {
    color: #C21B17;
    font-size: 18pt;
}

#shopping-cart-form .remove-from-cart-icon:before {
    content: '\e872';
    font-family: 'Material Icons';
}

.responsive-nav-wrapper .home-button > span:after {
    content: '\e938';
}

.responsive-nav-wrapper .home-button {
    cursor: pointer;
}


.modalButton {
    background-color: #C21B17 !important;
    border: none !important;
    color: white !important;
    width: auto;
    padding: 15px 25px;
    margin: 0 5px 5px;
    min-width: 150px;
    background: #fff;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    font-family: 'Roboto' !important;
    outline: none;
    text-decoration: none;
    box-sizing: border-box;
    display: inline-block;
    margin: -3px 8px 0 0;
    font-weight: normal;
    font-family: prisma;
    font-size: 16px;
    color: #ccc;
    vertical-align: middle;
    box-sizing: border-box;
}

.modalFloatRight {
    float: right !important;
}

.modalFloatLeft {
    float: left !important;
}

@media all and (max-width: 574px) {
    .modalButton {
        width: 100%;
        float: none !important;
    }
}

.removeButtonCart {
    margin: 0 5px 5px;
    border: 0;
    background: #fff;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    color: #ea2d2d;
    background: transparent !important;
}

.removeButtonCart:hover {
    background: transparent !important;
    color: #981310 !important;
    transition: all 0.3s ease;
}

.nop-common-loader {
    position: absolute;
    z-index: 9999;
    background: rgba(125,125,125, 0.4);
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nop-common-loader.fixed {
    position: fixed;
}

@media (min-width: 1025px) {
    .product-grid .item-box .details {
        position: relative;
        padding-top: 10px !important;
    }
}

.order-summary-content .cart-item-row .item-count-td,
.order-summary-content .cart-header-row .item-count-td {
    display: table-cell !important;
}

.order-summary-content th:first-child, .order-summary-content .cart-item-row td:first-child {
    display: table-cell !important;
}

.nop-toggle {
    background: #C21B17;
    color: #fff;
    padding: 3px;
    text-align: center;
}

.nop-toggle.checked {
    background: #6BAB26;
    color: #fff;
}

.nop-toggle:hover {
    cursor: pointer;
    background: #981310;
    color: #fff;
}

.nop-toggle.checked:hover {
    background: #4F801B;
    color: #fff;
}

/* hide hamburger menu */


@media all and (max-width: 400px) {
    .master-header-wrapper .responsive-nav-wrapper-parent .responsive-nav-wrapper .menu-title {
        display: inline-block;
        height: 60px !important;
    }
    .option-list.radio-list.vertical-radio-list li{
        width:100% !important;
    }
}

.center-1.four-per-row .product-grid .item-grid {
    display: flex !important;
    justify-content: center !important;
}


/**
    vertical align header icon
*/
.responsive-nav-wrapper .home-button {
   height: 60px;
}

.responsive-nav-wrapper .personal-button {
    height: 60px;
}

.responsive-nav-wrapper .shopping-cart-link {
    height: 60px;
}

/**
	Hide black slim footer.
*/
.footer .footer-upper {
    display: none;
}

/**
    New message in modal
*/
.productAddedToCartModal {
    color: #C21B17 !important;
    font-family: 'Roboto' !important;
    text-transform: uppercase;
}

/**
    Table second step product page
*/
.h1SecondStep{
    color: #2E2E2E;
    font-family: "Roboto";
    font-weight: 700;
    line-height: 58px;
}

.firstColumnSecondStep {
    color: #2E2E2E;
    font-family: 'Roboto';
    font-weight: 700;
    line-height: 22px;
    font-size: 18px;
}

.secondColumnSecondStep {
    color: #2E2E2E;
    font-family: 'Roboto';
    font-weight: 400;
    line-height: 18px;
    font-size: 14px;
}

.tableSecondStep {
    font-family: 'Roboto';
    border-collapse: collapse;
    width: 100%;
}

.tableSecondStep td, .tableSecondStep th {
    border: 1px solid #ddd;
    padding: 8px;
}

.tableSecondStep tr:nth-child(even) {
    background-color: #f2f2f2;
}

.tableSecondStep tr:hover {
    background-color: #ddd;
}

.tableSecondStep th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #D0D3D8;
    color: white;
}

/**
    Nascosto asterisco nei checkout attribute
*/
.checkout-attributes .required {
    display: none;
}

/**
    Centrato il layout dei checkout attributes
*/
.checkout-attributes dl {
    display: flex;
    flex-flow: column;
    align-items: center;
}

.prices .single-price-warn {
    color: grey;
    font-size: 11pt;
}

/**
	Style per widget metodi di pagameto nel footer.
*/
.footer .html-widget div {
    width: 100% !important;
    padding: 15px 0;
    border-top: 1px solid rgba(0,0,0,.15);
    overflow: hidden;
}

.footer .html-widget div div {
    width: 50% !important;
    padding: 15px;
    border: none;
}

.footer .html-widget div img {
    display: block;
    clear: both;
    height: auto !important;
    max-width: 100% !important;
}

.ui-dialog.ui-condition-of-use .ui-dialog-content {
    overflow-y: scroll;
}

.section.confirm-order.confirm-order-footer {
    margin-top: 15px;
}

/**
    OrderDetails
*/
.rtm-orderdetails-info{
    font-size: 14px;
    line-height: 20px;
    padding: 20px;
}

.page.checkout-page.order-confirm-page .section.totals {
    float: none !important;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding: 0px;
}

.page.checkout-page.order-confirm-page .cart-footer .totals {
    margin: 0px;
}

.page.checkout-page.order-confirm-page .section.totals .total-info {
    width: 350px;
    padding-left: 20px;
    background: #EBEBEB;
    padding: 20px;
}

.page.checkout-page.order-confirm-page .section.totals .total-info .cart-total-right.total {
    color: #C21B17;
}

.page.checkout-page.order-confirm-page .section.totals .total-info .cart-total-left.total-label {
    text-transform: uppercase;
}

.product-item .magnifier-link {
    top: 60px;
}


/*
#############################################################

    Vertical radio list for PdfPreview
*/
.vertical-radio-list li {
    display: block !important;
    margin-bottom: 8px;
    width: 70%;
    float: right;
}

.vertical-radio-list li label {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0px !important;
    height: 40px;
    right: 6px;
}

.vertical-radio-list li label span {
    flex: 1;
}

.vertical-radio-list li button {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 50%;
    width: 50px;
    height: 40px;
    background-color: #aaa;
    border: 0px;
    float: right;
    margin-left: 1px;
}

.vertical-radio-list li button:hover {
    background-color: #C21B17;
}

.vertical-radio-list li button.preview {
    background-image: url('/images/magnifier.png');
}

.vertical-radio-list li button.edit-fields {
	width: 110px;
    font-size: 12px;
    top: -9px;
    left: 9px;
    color: #FFF;
}

.vertical-radio-list li button.show-notes {
    background-image: url('/images/note_icon_white.png');
}

.attributes .option-list.radio-list input[type=radio]:checked + label button {
    background-color: #C21B17;
}

.attributes .option-list.radio-list input[type=radio] + label:hover button {
    background-color: #C21B17;
}

/**
	Per pulsante "Ordina" nel carrello.
*/
.complete-button span:before, #checkout span:before{
	color: white !important;
}

.cart-order-buttons .checkout-buttons .button-1:hover span{
	color: white !important;
}

.qq-uploader .qq-upload-list li.qq-upload-success{
    background-color: #5DA30C !important;
}

/**
    ProposeProduct
*/
.proposeproduct-productbox-selected {
    border: 4px solid #C21B17;
}

.item-box .picture img {
    height: auto !important;
}

.edit-fields-preview3d-uploaded {
    background-image: url('/images/preview_3d.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100%;
    width: 50px;
    height: 50px;
    background-color: #aaa;
    border: 0px;
    float: right;
    margin-top: 10px;
    cursor: pointer;
}

.edit-fields-previewDataMatrix-uploaded {
    background-image: url('/images/tiny_datamatrix.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100%;
    width: 50px;
    height: 50px;
    background-color: #aaa;
    border: 0px;
    float: right;
    margin-top: 10px;
    cursor: pointer;
}

.edit-fields-sharepoint-uploaded {
    background-image: url('/images/sharepoint.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100%;
    width: 50px;
    height: 50px;
    background-color: #aaa;
    border: 0px;
    float: right;
    margin-top: 10px;
    cursor: pointer;
}

.sharepoint-file-uploaded {
    background-color: #6bab26;
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    font-weight: bold;
    border-bottom: 3px solid #C21B17;
}

.sharepoint-return-to-local-file {
    display: flex;
    align-items: center;
    justify-content: center;
}