main {
    background-color: #f7f7f7;
}
main > .container {
    padding: 79px 0px 0px;
}

a {
    color: #171717;
}
a[href^=tel] {
    text-decoration:inherit;
    color: inherit;
 }

a:hover, a:active {
    color: #E02019;
}

body {
    color:#171717;
    font-size: 0.9rem;
}
.navbar-brand img {
    max-width: 280px;
}
h6 {
    font-size: 1rem;
    text-transform: uppercase;
    color: #E02019;
}
h5 {
    font-size: 1rem;
    text-transform: uppercase;
}
.alert {
    max-width: 1280px;
    margin: 0 auto;
}
.col_alert {
    font-size: 11px;
}
thead.kv-table-header1 {
    border-top: 2px solid #dee2e6;
}
.kv-expand-detail-row .summary {
    display: none;
}
.table-striped-no tr {
    background-color: #fff !important;
}
#gridData table th, .table td {
    vertical-align: middle;
}
span.prezzo {
    color: #212529;
}
span.prezzobarrato{
    text-decoration: line-through;
    color: #E02019;
}

.page-item.active .page-link {
    color: #fff;
    background-color: #E02019;
    border-color: #E02019;
}

.page-link {
    color: #E02019;
}

.site-articoli .riga-articoli{
    padding: 10px;
}
.site-articoli .card-articoli {
    background-color: #fff;
    padding:15px;
    text-align: center;
    height:100%;
}
.img_articolo{
    max-height: 250px;
    max-width: 100%;
    margin: auto;
}

.titolo_articolo {
    font-weight: 500;
    text-transform: uppercase;
    padding-top: 10px;
}

.sottotitolo_articolo {
    color: #9a9a9a;
    font-size: 0.9em;
    text-transform: uppercase;
}
.colore_articolo {
    font-size: 0.9em;
    text-transform: lowercase;
    padding-bottom:5px
}
.prezzo_articolo {
    background-color: #fff;
    padding: 5px 10px;
    text-transform: uppercase;
    color: #E02019;
    margin: 15px 0px;
    display: inline-block;
    border-radius: 3px;
    border:solid 1px #E02019;
    font-weight: 500;
}
.prezzo_articolo_red {
    background-color: #E02019;
    padding: 5px 10px;
    text-transform: uppercase;
    color: #fff;
    margin: 15px 0px;
    display: inline-block;
}
.taglie_articolo {
    font-size: 0.9em;
    padding-top: 5px;
}
.no-articoli {
    text-align: center;
    margin:20px;
}
.no-articoli .alert {
    max-width: 500px;
    margin: 0 auto;
}
.buttons_articolo a {
    margin: 0px 5px;
    text-decoration: none;
}
.buttons_articolo a:hover {
    cursor: pointer;
}
.site-articoli .div-filtri-articoli {
    padding: 30px 10px 10px 10px;
    text-align: center;
}
.span_size_container {
    border: 1px solid #e1e7ec;
    display: inline-block;
    padding: 2px;
    margin: 0px 2px 0px 0px;
}

.span_size {
    padding: 0px 2px;
    display: inline-block;
    font-weight: 500;
}

.navbar-toggler {
    padding: 0.25rem 0.75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color:  #E02019;
    border: 1px solid  #E02019;
    border-radius: 0.25rem;
    color:#fff
}
.navbar-white {
        box-shadow: 0 3px 25px 0 rgb(47 56 68 / 22%);
}
.breadcrumb {
    display: none;
}

.home-cat {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top:200px;
}

.home-sx a {
    float:right; 
 }
.home-cat.home-dx {
    padding-left: 50px;
}
.home-cat.home-sx {
    padding-right: 50px;
}

.home-cat .btn-red {
    min-width: 150px;;
}
.btn-red {
    background-color: #E02019;
    color: #fff;
    text-transform: uppercase;
}
.btn-red:hover, .btn-red-secondry:hover {
    background-color: #e02019c1;
    color: #fff;
}

.btn-red-secondry {
    background-color: #E02019;
    color: #fff;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border-radius: 5px;
    text-align: center;
    white-space: nowrap;
    text-transform: uppercase;
    font-size: 0.8em;
    margin-left: 20px;
}


.btn-outline-primary {
    color: #E02019;
    border-color: #E02019;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #E02019;
    border-color: #E02019;
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #E02019;
    outline: 0;
    box-shadow: 0 0 0 0 rgb(0 123 255 / 25%);
}
.custom-control-input.is-invalid ~ .custom-control-label {
    color: unset;
}

.custom-control-input:checked ~ .custom-control-label::before, .was-validated .custom-control-input:valid:checked ~ .custom-control-label::before, .custom-control-input.is-valid:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: #E02019;
    background-color: #E02019;
}
.was-validated .custom-control-input:valid ~ .custom-control-label::before, .custom-control-input.is-valid ~ .custom-control-label::before {
    border-color: #E02019;
}

.form-group.row.field-loginform-rememberme {
    padding-left: 25px;
}

.row {
    margin-right: 0px;
    margin-left: 0px;
}

.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col, .col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm, .col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md, .col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg, .col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl, .col-xl-auto {
    position: relative;
    width: 100%;
    padding-right: 10px;
    padding-left: 10px;
}

.nav-link {
    color: #171717;
    text-transform: uppercase;
    font-weight: 500;
}
.nav-item a.active {
    color: #E02019;
}
.navbar-nav {
    margin: 0 auto;
}

.footer {
    background-color: #171717;
    font-size: .9em;
    color: #999;
    padding: 5px
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.multilanguage .dropdown-menu {
    right: 0;
    left: unset !important;
    min-width: 20px;
}

.multilanguage {
    width: 80px;
    text-align: right;
}

img.lang-flag {
    margin-left: 10px;
    margin-right: 10px;
}
.lang-name {
    display: none;
}

.btn-primary {
    color: #fff;
    background-color: #E02019;
    border-color: #E02019;
}

.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active, .show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #E02019;
    border-color: #E02019;
}
.btn-primary:hover {
    color: #fff;
    background-color: #c50e08;
    border-color: #c50e08;
}

ul.filters {
    padding: 0px;
}

.filters input[type=checkbox], .filters input[type=radio] {
    display: none;
    opacity: 0;
}

.filters li.btn {
    padding: 4px 2px;
}

.btn:focus, .btn.focus {
    outline: 0;
    box-shadow: 0 0 0 0 rgb(0 123 255 / 25%);
}

.site-button-secondry {
    background-color: #fff;
    color: #282A3C;
    padding: 4px 15px;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border-radius: 15px;
    border: 1px solid #282A3C;
    text-align: center;
    white-space: nowrap;
    text-transform: uppercase;
    font-size: 0.8em;
}


.site-button-secondry:hover {
    background-color: #282A3C;
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
}

#login-form {
    display: block;
    width: 100%;
    padding: 30px 24px;
    /*border: 1px solid #e1e7ec;
    border-radius: 7px;
    background-color: #fff;
    margin: 30px 0px;*/
}
.was-validated .form-control:valid, .is-valid {
    border-color:unset;
    padding-right: calc(1.5em + 0.75rem);
    background-image: unset;
}
.was-validated .form-control:invalid:focus, .form-control.is-invalid:focus, .was-validated .form-control:valid:focus, .form-control.is-valid:focus {
    border-color:#E02019;
    box-shadow: unset;
}
.was-validated .custom-control-input:valid ~ .custom-control-label, .custom-control-input.is-valid ~ .custom-control-label {
    color:inherit;
}

.filters .active .site-button-secondry {
    background-color: #282A3C;
    color: #fff;
}
#spinner {
    color: #E02019;
    margin-left: 20px;
}
.btn-light, .bootstrap-dialog .btn-outline-secondary {
    color: #212529;
    border-color: #dddddd;
    text-transform: uppercase;
    background-color: #f3f3f3;
}
.btn-light:hover, .bootstrap-dialog .btn-outline-secondary:hover {
    color: #212529;
    background-color: #e2e6ea;
    border-color: #dae0e5;
}
.bootstrap-dialog .modal-header.btn-warning {
    background-color: #fff;
}
.div_btn_filtri {
    padding-top: 20px;
}
.nav-item img, #span-cart img {
    /*max-height: 20px;*/
    max-width: 15px;
    margin-top:-5px;
}
.link-cart {
    padding:0px;
}
.pagecontent {
    padding:30px 24px;
    background-color: #fff;
    border-radius: 7px;
    margin: 30px 0px;
    max-width: 1280px;
    width: 100%;
}
.pagecontent2 {
    border-radius: 7px;
    margin: 30px 0px;
    max-width: 1280px;
    width: 100%;
}

.divcontent {
    padding:30px 24px;
    background-color: #fff;
    border-radius: 7px;
    margin: 10px 0px;
    width: 100%;
}
.site-login .pagecontent {
    padding:30px 24px;
    background-color: #fff;
    border-radius: 7px;
    margin: 30px 0px;
    max-width: 600px;
    width: 100%;
}
.btn-xs {
    padding: 0.2rem;
    font-size: 0.7rem;
    line-height: 1;
    border-radius: 0.2rem;
    text-transform: capitalize !important;
}
.preventivi-filtri {
    padding: 20px 0px;
}
.preventivi-filtri .colonna1{
    text-align: right;
    font-weight: bold;
    padding-top: 6px;
}
.pagination li {
    padding: 0px 5px;
}
.table-bordered th, .table-bordered td {
    border: 0px solid #dee2e6;
}

select.dropdown-taglia, select.dropdown-taglia:focus-visible {
    padding: 4px 10px;
    border-radius: 5px;
    background-color: #f5f5f5;
    border: #f5f5f5 1px solid;
    outline: none;
}

#formtaglie div {
    text-align: center;
}

.nav-link .fa-stack {
    display: inline-block;
    height: auto;
    line-height: unset;
    position: relative;
    vertical-align: middle;
    width: auto;
}

.fa-stack[data-count]:after {
    position: absolute;
    right: -5px;    top: 10px;
    content: attr(data-count);
    font-size: 60%;
    padding: 0.3em;
    border-radius: 999px;
    line-height: 1em;
    color: #fff;
    text-align: center;
    min-width: 1.5em;
    font-weight: bold;
    background: #E02019;
}

img.img_articolo_cart {
    width: 100%;
}
.rigaarticoli .form-group {
    width: 60%;
    float: left;
    display:flex;
}
.fieldcart .form-control {
    margin-right: 5px;
}
.fieldcart .form-control:disabled {
    background-color: #fff;
    opacity: 1;
    border-color: #fff;
    padding-right: 0px;
    padding-left: 0px;
}
.fieldcart label {
    font-weight: bold;
    display: none;
    margin-right: 5px;
}
.textpadding {
    padding: 8px 0px;
    display: block;
}
.textpadding2:before {
    padding: 11px 0px;
    display: block;
}
.testataarticoli {
    padding: 10px 0px;
    border: 1px solid #dedede;
    border-left: 0px;
    border-right: 0px;
    font-weight: 500;
    text-transform: uppercase;
}
.rigaarticoli {
    padding: 10px 0px;
    border-bottom: 1px solid #efefef;
}
.hiddeninput {
    display: none;
}

.was-validated .form-control:invalid, .form-control.is-invalid {
    border-color: #E02019;
    background-position: right calc(0.375em + 0.75rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.was-validated .form-control:valid, .form-control.is-valid {
    border-color: #dedede;
    background-image: unset;
    padding-right: 5px;
}

.bootstrap-dialog .bootstrap-dialog-title {
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 500;
}
.bootstrap-dialog .modal-footer {
    border-top: 0px;
}
.rimuoviarticolo.mob {
    display: none;
}
.rimuoviarticolo.desk {
    display: block;
}
.btn-red .textpadding2:before {
    padding: 0px;
    display: block;
    color: #fff;
}
.img_empty_cart {
    width:40%;
}
.rigatesta .form-control[readonly] {
    background-color: #ffffff;
    opacity: 1;
}
#askapp {
    z-index: 99999;
    position: absolute;
    bottom: 0;
    width:100%;
    font-weight: bold;
    background-color: #fff;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
#askapp .testata {
    text-align: center;
    padding:10px;
    border-bottom: 1px rgb(230, 230, 230) solid;
}
#askapp .contenuto span{
    padding: 2px;
    display: block;
}
#askapp .contenuto .col{
    padding-top: 10px;
    padding-bottom: 10px;
}
.btn-v2 {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    padding: 2px 20px;
    background-color: #E02019;
    border-radius: 20px;
    color: #fff;
    width: 60%;
}
.btn-v3 {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    padding: 2px 20px;
    background-color: #dedede;
    border-radius: 20px;
    color: #000;
    width: 60%;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
    .fieldcart label {
        display: inline;
    }
    .fieldcart.fieldprezzos label{
        display: block;
    }
    .testataarticoli {
        display: none;
    }
    .navbar-collapse input[type="search"] {
        display: inline-block;
        width: auto;
        vertical-align: middle;
    }
    .preventivi-filtri .colonna1 {
        text-align: left;
    }
    .row.preventivi-filtri div[class*="col-"] {
        padding-top: 5px;
    }
    #gridData {
        overflow: auto;
    }
    .rimuoviarticolo.mob {
        display: inline;
        float:right;
    }
    .rimuoviarticolo.desk {
        display: none;
    }
    .footer {
        font-size: .7em;
        line-height: 1em;
    }
    .navbar-brand img {
        max-width: 100%;
    }
    .navbar-brand {
        max-width: 60%;
    }
    .site-button-secondry {
        padding: 2px 5px;
    }
    .rigaarticoli .row-note .form-group {
        width: 100%;
    }
    .textpadding {
        padding: 2px 0px;
    }
    .rigatesta .form-group {
        margin-bottom: 2px;
    }
    .img_empty_cart {
        width:100%;
    }
    #formsearch input {
        max-width: 80% !important;
    }
}
@media(max-width:996px) {
    .home-cat {
        padding-top: 120px;
        padding-bottom: 120px;
    }
    .home-cat.home-sx, .home-cat.home-dx {
        padding-right: 20px;
    }
    .home-cat.home-sx a, .home-cat.home-dx a {
        float: right;
    }
    .col-articoli {
        padding-top: 20px;
    }
    .navbar-brand img {
        max-width: 150px;
    }
    #formsearch input {
        max-width: 110px;
    }
    #formsearch .btn {
        padding: 0.375rem 0.15rem;
    }
    
}

@media(max-width:1500px) {
    .multilanguage {
        width:30px;
    }
    img.lang-flag {
        margin-left: 5px;
        margin-right: 5px;
    }

}
@media (min-width: 1300px) {
    .container, .container-sm, .container-md, .container-lg, .container-xl {
        max-width: 1920px;
    }
    .navbar-expand-md .navbar-nav .nav-link {
        padding-right: 2rem;
        padding-left: 2rem;
    }
}

@media (min-width: 576px) {
    .container, .container-sm {
        max-width: unset;
    }
}


