﻿.nomargin {
    margin: 0 !important;
}

.progress.tall {
    height: 32px;
}

.progress .bar.tall {
    box-shadow: none;
    line-height: 16px;
    height: 32px;
}

.navbar .navbar-inner {
    background-color: #FFF;
    border-bottom: 3px solid #BBA02D;
}

.ImExtraAndActive {
    background-color: rgba(248, 148, 6, 0.6);
}

.aa {
    color: red;
}

#noSelectText {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.btn-header-links {
    padding: 0 5px 1px;
    line-height: 35px;
    border-width: 0px;
    font-size: 28px;
    display: inline-block;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25) !important;
    background-image: none !important;
    border: none;
    border-radius: 0;
    box-shadow: none !important;
    -webkit-transition: all ease .15s;
    -moz-transition: all ease .15s;
    -o-transition: all ease .15s;
    transition: all ease .15s;
    cursor: pointer;
    vertical-align: middle;
    margin: 0;
    position: relative;
}

    .btn-header-links:hover {
        border: none;
        text-decoration: none;
    }


.error {
    display: inline-block;
    background-color: #F00;
    color: #FFF;
    line-height: 29px;
    height: 29px;
    padding: 0 10px;
}

input.ng-valid {
    /*border:solid 1px #0F0;*/
}

input.ng-invalid {
    border: solid 1px #f00;
}

.ng-pristine {
}

.ng-dirty {
}


/* New Order*/

.addOrder {
    width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.addOrder-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding-top: 10px;
}

.addOrder .line {
    border-bottom: 1px solid #DDDDDD;
    clear: both;
    padding-top: 4px;
    padding-bottom: 4px;
}

.addOrder-new .line-new {
    display: grid;
    gap: 10px;
    padding: 5px;
    border: 1px solid #f3f3f3;
    min-height: 474px;
    /*max-width: 360px;*/
}


    .addOrder-new .line-new .cell.first {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }

    .addOrder-new .line-new .cell.second {
        display: flex;
        flex-direction: column;
    }

        .addOrder-new .line-new .cell.second .image {
            display: flex;
            justify-content: space-between;
        }

            .addOrder-new .line-new .cell.second .image > img:first-child {
                max-width: 70%;
            }

/*            .addOrder-new .line-new .cell.second .image > img:last-child {
                height: 50px;
            }*/

@media screen and (max-width: 1365px) {
    .addOrder-new .line-new .cell.second .image > img:first-child {
        max-width: 50%;
    }
    /*
    .addOrder-new .line-new .cell.second .image > img:last-child {
        height: 35px;
    }*/
}

.addOrder-new .line-new .cell.second .info {
    gap: 5px;
}

.addOrder-new .line-new .cell.second .info, .addOrder-new .line-new .cell.third .info {
    display: flex;
}

    .addOrder-new .line-new .cell.second .info > div, .addOrder-new .line-new .cell.third .info > div {
        display: flex;
        /*                gap: 3px;
                flex: 2;*/
    }



.addOrder-new .line-new .cell.fourth > div, span:not(.badge) {
    min-width: 33%;
}

.addOrder-new .line-new .cell.second .info > div:nth-child(3) {
    flex: 1;
}

.addOrder-new .line-new .cell.second .info .bundleProd-new {
    background-color: #DAA520 !important;
    color: #fff !important;
}

.addOrder-new .line-new .cell.fourth {
    display: flex;
    /*justify-content: space-between;*/
}

.addOrder-new .line-new .cell.fifth > div:nth-child(2) {
    width: 100%;
    display: flex;
    justify-content: start;
    align-items: self-end;
    padding-left: 10px;
}

.addOrder-new .line-new .cell.fourth--noflex {
    display: inline-block;
}

    .addOrder-new .line-new .cell.fourth--noflex > div > div {
        display: flex;
        justify-content: space-between;
    }

.addOrder-new .line-new .cell.fifth {
    display: flex;
}

    .addOrder-new .line-new .cell.fifth .input-append {
        margin-bottom: 0;
    }

    .addOrder-new .line-new .cell.fifth .singleGoodsDestination {
        display: flex;
        flex-direction: row;
        justify-content: start;
        align-items: center;
        width: 100%;
        gap: 10px;
    }

        .addOrder-new .line-new .cell.fifth .singleGoodsDestination > div {
            flex: 1;
        }

    .addOrder-new .line-new .cell.fifth label {
        margin-bottom: 0;
    }

.addOrder-new .line-new .cell.fourth .olDiscount {
    display: flex;
}



.addOrder-new .line-new .cell.first .main-title {
    display: flex;
    flex-direction: row;
    justify-content: space-between
}



.addOrder .even:hover,
.addOrder .odd:hover
/*.addOrder:hover*/ {
    background-color: #F1F1F1;
}

.addOrder .odd {
    background-color: #F9F9F9;
}

.addOrder .line .cell.first,
.addOrder .line .cell.second,
.addOrder .line .cell.third,
.addOrder .line .cell.fourth,
.addOrder .line .cell.fifth,
.addOrder .line .cell.sixth {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 4px;
    float: left;
}

.addOrder .line .cell.first {
    width: 20%;
}

    .addOrder .line .cell.first.with-image {
        display: flex;
        gap: 10px;
    }

        .addOrder .line .cell.first.with-image img {
            max-height: 100px;
        }

.addOrder .line .cell.second,
.addOrder .line .cell.third,
.addOrder .line .cell.fourth {
    width: 12%;
}

.addOrder .line .cell.fifth {
    width: 30%;
}

.addOrder .line .cell.sixth {
    width: 10%;
}

.singleGoodsDestination input.isValid {
    border-color: #00FF00;
}

.singleGoodsDestination input.isNotValid {
    border-color: #FF0000;
}

.singleGoodsDestination input.isZero {
    border-color: #D5D5D5 !important;
}

.addRowToOrderProposal[disabled] {
    opacity: 0.2;
}

.addOrder .line .rowPrice, .addOrder .line .rowPriceCanvass, .addOrder-new .line-new .rowPrice, .addOrder .line .rowPriceCanvass {
    width: 110px;
    text-align: center;
    height: 30px;
    line-height: 30px;
    font-size: 16px;
    border: 1px solid #D5D5D5;
}


/*END  New Order*/




/* order proposal line */

.productsList {
    width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

    .productsList .line {
        /*    border-bottom: 1px solid #DDDDDD;
        clear: both;
        padding-top: 4px;
        padding-bottom: 4px;*/
        display: flex;
        justify-content: space-between;
    }

    .productsList .even:hover,
    .productsList .odd:hover {
        background-color: #F1F1F1;
    }

    .productsList .odd {
        background-color: #F9F9F9;
    }

    .productsList .line .cell.first,
    .productsList .line .cell.second,
    .productsList .line .cell.third,
    .productsList .line .cell.fourth,
    .productsList .line .cell.fifth {
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        padding: 4px;
        float: left;
        overflow: hidden;
    }

    .productsList .line .cell.first {
        width: 52%;
    }

    .productsList .line .cell.second {
        width: 20%;
    }

    .productsList .line .cell.third {
        width: 17%;
    }

    .productsList .line .cell.fourth {
        width: 6%;
        text-align: center;
    }

    .productsList .line .cell.fifth {
        width: 5%;
        text-align: center;
        min-width: 20px;
    }

.product-line-availability,
.product-line-minimumorder {
    width: 50%;
    min-width: 65px;
    text-align: center;
    float: left;
}

.product-line-minimumorder {
    width: 33%;
    text-align: center;
}

.product-line-name {
    width: 70%;
    float: left;
}

.product-line-code {
    width: 30%;
    float: left;
    min-width: 100px;
}

.product-line-trademark {
    width: 100%;
    float: left;
    min-width: 100px;
}

.product-line-type {
    width: 60%;
    float: left;
    min-width: 100px;
}

input.ng-valid.date-picker {
    border-color: #c3c3c3;
}
/* recap */
.orderLineRecap input.isValid {
    border-color: #00FF00;
}

.orderLineRecap input.isNotValid {
    border-color: #FF0000;
}

.opLineQtaInOrder {
    position: relative;
    width: 166px;
    height: 35px;
    line-height: 35px;
    color: #888888;
    font-weight: 600;
    margin: 0;
    text-align: center;
    background-color: #EEEEEE;
    border: solid 1px #CDCDCD;
    padding: 5px 0;
    font-size: 20px;
}

.opLineQtaInOrderMulti {
    position: relative;
    width: 166px;
    height: 100px;
    line-height: 100px;
    color: #888888;
    font-weight: 600;
    margin: 0;
    text-align: center;
    background-color: #EEEEEE;
    border: solid 1px #CDCDCD;
    padding: 5px 0;
    font-size: 20px;
}


textarea.disabled {
    background-color: #eeeeee !important;
}

.opDataInput {
    width: 116px;
}

.opInOrder {
    position: absolute;
    top: 2px;
    left: 2px;
    font-size: 10px;
    height: 10px;
    line-height: 10px;
}

.cpQuantity {
    font-size: 20px !important;
    width: 50px;
    height: 35px !important;
    margin: 0 !important;
    text-align: center;
}

.btn-price {
    width: 110px;
    line-height: 1.1em;
    padding: 3px 0;
    margin-bottom: 2px;
    border-radius: 4px;
    border: solid 1px #888888;
}

    .btn-price.selected {
        font-weight: bold;
        background-color: #82af6f;
        color: #FFF;
        border: none;
    }

/*END  order proposal line*/
.catalogue-box {
    display: block;
    float: left;
    width: 25%;
    height: 350px;
    background-color: #FFF;
    border: solid 1px #F9F9F9;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
}

    .catalogue-box img {
        display: block;
        max-width: 100%;
        height: 200px;
        margin: 0 auto;
    }

.catalogue-box-description {
    height: 150px;
    background-color: #FFF;
    padding: 3px 8px;
}

    .catalogue-box-description h4 {
        font-size: 14px;
        margin: 0;
        padding: 0;
    }

    .catalogue-box-description .actions {
        position: absolute;
        bottom: 1px;
        left: 2%;
        width: 96%;
    }

        .catalogue-box-description .actions button {
            width: 100%;
            height: 30px;
            line-height: 30px;
        }


@media only screen and (max-width: 480px) {
    .catalogue-box {
        width: 100%;
    }
}

.messagge-viewed {
    font-weight: normal;
}

.messagge-not-viewed {
    font-weight: bold;
}

.fixed {
    position: fixed;
    top: 0;
    z-index: 9999;
    border: solid 1px #888888;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.collectForm {
}

    .collectForm table tr {
        border: 1px solid #D5E4F1;
    }

    .collectForm .halfWidth {
        width: 50%;
        float: left;
    }

#collected {
    border: 1px solid #CCCCCC;
}

    #collected.redBorder {
        border-color: #FF0000 !important;
        border: 2px solid;
    }

    #collected.greenBorder {
        border-color: green !important;
    }

    #collected.orangeBorder {
        border-color: orange !important;
        border: 2px solid;
    }

.nav-list > li.active > a, .nav-list > li.active > a:hover, .nav-list > li.active > a:focus, .nav-list > li.active > a:active {
    font-size: 12px;
}

.well {
    background-color: #FFFFFF;
    border: 1px solid #CCCCCC;
}

/*Contract in customer detail*/
.contract-list, .contract-list-label {
    margin-left: 0px;
}

    .contract-list > li {
        list-style: none;
        margin-bottom: 5px;
    }

    .contract-list-label > li {
        list-style: none;
        height: 35px;
        padding: 4px 6px;
        margin: 1px 1px 5px 1px;
        line-height: 35px;
    }

.cpQtLarger {
    width: 80% !important;
}

.contract-label {
    font-size: 18px;
    margin-right: 10px;
}

/*
.contract-list > li{
    list-style:none;
    height: 30px;
    padding: 4px 6px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 20px;
}

.contract-list > li > input{
    width:30px;
}
    */


.dropshipping-address-form .control-label {
    width: 120px;
}

.dropshipping-address-form .controls {
    margin-left: 130px;
}


.dropshippingExtraCostPanel {
    border: 1px solid rgba(240,128,128, 1);
    background-color: rgba(240,128,128, 0.2);
    padding: 20px;
}

.atHomeButton {
    /*background-color: #A69744 !important;*/
    color: black !important;
}

.bundleProd {
    background-color: #DAA520 !important;
    color: black !important;
    /* font-weight: bold; */
    border: 0;
}


.pulsatingSaveButton {
    -webkit-animation: color_change 0.5s infinite alternate;
    -moz-animation: color_change 0.5s infinite alternate;
    -ms-animation: color_change 0.5s infinite alternate;
    -o-animation: color_change 0.5s infinite alternate;
    animation: color_change 0.5s infinite alternate;
    cursor: pointer;
}


@-webkit-keyframes color_change {
    from {
        color: #08c;
    }

    to {
        color: #00CE00;
    }
}

@-moz-keyframes color_change {
    from {
        color: #08c;
    }

    to {
        color: #00CE00;
    }
}

@-ms-keyframes color_change {
    from {
        color: #08c;
    }

    to {
        color: #00CE00;
    }
}

@-o-keyframes color_change {
    from {
        color: #08c;
    }

    to {
        color: #00CE00;
    }
}

@keyframes color_change {
    from {
        color: #08c;
    }

    to {
        color: #00CE00;
    }
}

.op-pending-request {
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    z-index: 999;
}


.op-pending-request {
    height: 100vh;
    width: 100vw;
    background-color: transparent;
    position: absolute;
    z-index: 999;
}

@keyframes spinner {
    0% {
        transform: translate3d(-50%, -50%, 0) rotate(0deg);
    }

    100% {
        transform: translate3d(-50%, -50%, 0) rotate(360deg);
    }
}

.spin::before {
    animation: 1.5s linear infinite spinner;
    animation-play-state: inherit;
    border: solid 5px #cfd0d1;
    border-bottom-color: #1c87c9;
    border-radius: 50%;
    content: "";
    height: 40px;
    width: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    will-change: transform;
}

.op-pending-request.op-pending-request--off {
    display: none;
}

.op-pending-request.op-pending-request--on {
    display: initial;
}


.sidebar.sidebar--horizontal {
    position: initial;
    display: flex;
    flex-direction: row;
    width: auto;
    border-bottom: 1px solid #cccccc;
}


    .sidebar.sidebar--horizontal > .nav {
        display: flex;
        flex-direction: row;
        flex: 1;
        /*border-bottom: 1px solid #E5E5E5;*/
        align-items: center;
        height: 100%;
    }

    .sidebar.sidebar--horizontal .nav-list > li > a {
        background: none;
    }

    .sidebar.sidebar--horizontal .nav-list > li {
        border: none;
    }

    .sidebar.sidebar--horizontal > li {
        flex: 1;
    }


.classificazione-prodotto-lista {
    list-style: none;
}

    .classificazione-prodotto-lista * {
        text-transform: uppercase;
    }

    .classificazione-prodotto-lista.classificazione-prodotto-lista--abs {
        position: absolute;
        margin: 4px 4px 0 4px;
        /*max-width: 189px;*/
        max-width: 235px;
    }

    .classificazione-prodotto-lista label {
        margin-bottom: 0;
    }

    .classificazione-prodotto-lista .classificazione-prodotto-lista-item {
        display: flex;
        flex-direction: column;
    }

        .classificazione-prodotto-lista .classificazione-prodotto-lista-item .hor {
            display: flex;
            align-items: center;
            flex-direction: row;
        }

            .classificazione-prodotto-lista .classificazione-prodotto-lista-item .hor label {
                display: flex;
                gap: 5px;
            }

            .classificazione-prodotto-lista .classificazione-prodotto-lista-item .hor > i {
                margin-left: auto;
            }

.classificazione-prodotto-lista--hide {
    display: none;
}



.classificazione-prodotto-lista label {
    /*font-size: 10px;*/
}










.new-product {
    display: flex;
}

.new-product__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.new-product__item {
    padding: 5px;
    border: 1px solid #f3f3f3;
    flex: 0 0 calc(33.33% - 10px);
    margin: 5px;
    flex-direction: column;
    gap: 5px;
}

.new-product__item__title, .new-product__item__images, .new-product__item__info {
    flex-direction: row;
}

.new-product__item__images {
    justify-content: space-between;
}

    .new-product__item__images img {
        max-width: 70%;
    }

@media screen and (max-width: 1365px) {
    .new-product__item__images img {
        max-width: 50%;
    }
}

.new-product__item__info {
    gap: 10px;
}

.new-product__item__info__detail {
    display: flex;
    align-items: center;
}

.singleGoodsDestination {
    position: relative;
}

.icon-spinner-new {
    position: absolute;
    left: 15px;
}

.icon-spinner-new--hidden {
    visibility: hidden;
}
