.header-top {
    background: #f9f9f9;
    border-bottom: 1px solid #dedede;
    display: block;
    padding: 10px 0;
}

.header-top span {
    font-size: 14px;
    font-family: Source Sans Pro;
}

@media only screen and (max-width: 576px) {
    .header-top span {
        font-size: 13px;
    }
}

span.logout {
    padding-left: 5px;
}

@media only screen and (max-width: 576px) {
    span.logout {
        float: right;
        padding-top: 3px;
    }
}

.not-logged span.logout {
    display: none;
}

.showClientList{
    cursor: pointer;
}

.not-logged .showClientList,
.is-client .showClientList{
    display: none;
}

.header-top .mail {
    padding-left: 20px;
}

@media only screen and (max-width: 576px) {
    .header-top .text-right-mobile {
        text-align: right;
        float: right;
    }

    .header-top .mail {
        padding-left: 0;
    }
}

.top-menu-login, .top-menu-cart {
    display: inline-block;
    border-bottom: 1px solid transparent;
    transition: all 0.2s;
    line-height: 1;
    cursor: pointer;
}

.top-cart {
    display: -webkit-inline-box;
    padding-left: 20px;
}

.not-logged .top-cart {
    display: none;
}


.cart .top-cart {
    display: none;
}
.checkout .top-cart {
    display: none;
}
.createOrder .top-cart {
    display: none;
}

@media only screen and (max-width: 576px) {
    .top-cart {
        display: -webkit-inline-box;
        padding-left: 0;
    }

    .top-user {
        float: left;
    }

    .text-right {
        padding-top: 10px;
    }

    .header .text-right {
        text-align: left !important;
    }
}

.header-main {
    padding: 20px 0;
    text-align: justify;
}

@media only screen and (max-width: 768px) {
    .header-main {
        padding-top: 20px;
        padding-bottom: 0;
    }
}

.header-main .logo {
    text-align: left;
    display: inline-block;
    vertical-align: middle;
}

@media only screen and (max-width: 576px) {
    .header-main .logo {
        text-align: center;
        display: table;
        padding-bottom: 20px;
        margin: 0 auto;
    }
}

.header-main .logo a {
    display: block;
}

.header-main .logo img {
    display: block;
    max-height: 100px;
    max-width: 400px;
    width: auto;
    height: auto;
}

.chisiamo .topsearch,
.contatti .topsearch{
    display: none;
}

.search-form{
    position: relative;
}

.topsearch .search-form {
    transform: translate3d(0, 0, 0);
    display: block;
    visibility: visible;
    opacity: 1;
    position: inherit;
    right: 15px;
    margin: 0;
}

.search-form input[type="text"] {
    height: 39px;
    width: 100%;
    color: rgb(55, 61, 84);
    font-size: 14px;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(218, 218, 218);
    border-image: initial;
    background: rgb(249, 249, 249);
    padding: 0px 45px 0px 15px;
}

.search-form button {
    position: absolute;
    top: 0px;
    bottom: 0px;
    right: 0px;
    color: #ffffff;
    background: #2b2b2b;
    padding: 0 20px;
    border: 0;
}

.search-result-overlay {
    background: #FFF;
    position: absolute;
    max-width: 200%;
    min-height: 400px;
    height: auto;
    z-index: 3;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: 0 1px 7px 0 rgba(0, 0, 0, 0.29);
    border: 1px solid #e2e2e2;
    display: none;
}

.search-result {
    padding: 20px;
}

.search-result h5 {
    font-size: 16px;
    font-family: Montserrat;
    font-weight: 700;
    padding: 5px 0;
}

.search-result a.more {
    background: #2b2b2b;
    color: white;
    padding: 10px 60px;
    margin: 5px 0;
    display: -webkit-inline-box;
    width: auto;
    font-family: Montserrat;
}

/* header secondary */

.header-secondary {
    padding: 20px 0;
}

.menu{
    background: #f5f5f5;
    border: 1px solid #e6e6e6;
}

.menu{
    position: relative;

}
.menu a{
    text-align: center;
    display: block;
    color: #353535;
    font-family: Montserrat;
    font-size: 13px;
    font-weight: 500;
    padding: 12px 20px;
    line-height: 14px;
}

@media only screen and (max-width: 321px) {
    .menu a{
        padding: 12px 15px;
    }
}

.menu > div:nth-child(1) span {
    position: relative;
    color: #353535;
    text-transform: uppercase;
    border-right: 1px solid #ddd;
    display: block;
    padding: 10px 40px 10px 15px;
    font-size: 13px;
    font-family: Montserrat;
    font-weight: 700;
    cursor: pointer;
}

.menu > div:nth-child(1) span:after {
    position: absolute;
    top: 50%;
    right: 13px;
    content: '\f107';
    display: block;
    line-height: 1;
    margin: -8px 0 0;
    font-family: FontAwesome;
}

.menu .topcatalog-list {
    position: absolute;
    top: calc(100% + 1px);
    background: #fff;
    text-align: left;
    padding-top: 5px;
    transition: all 0.3s ease;
    -webkit-transform: translate3d(0, 8px, 0);
    -moz-transform: translate3d(0, 8px, 0);
    -ms-transform: translate3d(0, 8px, 0);
    -o-transform: translate3d(0, 8px, 0);
    transform: translate3d(0, 8px, 0);
    visibility: hidden;
    opacity: 0;
    width: 0;
    overflow: hidden;
}

.menu > div:nth-child(1):hover .topcatalog-list {
    overflow: initial;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    visibility: visible;
    opacity: 1;
    width: auto;
    z-index: 1;
}

.menu > div:nth-child(1):hover .topcatalog-list > li > ul {
    position: absolute;
    top: 0;
    left: 100%;
    display: none;
}

.menu > div:nth-child(1):hover .topcatalog-list > li:hover > ul {
    display: block;
}



.menu > div:nth-child(1) span.submenu-catalogue {
    color: #373d54;
    font-size: 12px;
    font-family: Montserrat;
    font-weight: 500;
    line-height: 120%;
    border-bottom: 1px solid #e0e4f6;
    display: block;
    padding: 10px 25px 10px 13px;
    transition: all 0.2s;
    background: #f7f5f5;
    position: relative;
    width: 201px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#cart-modal .modal-dialog {
    width: 400px;
    position: absolute;
    right: 0;
    margin: 0;
}

@media only screen and (max-width: 576px) {
    #cart-modal .modal-dialog {
        width: 110%;
    }
}

#cart-modal .modal-content {
    border-radius: 0;
    height: auto;
}

@media only screen and (max-width: 576px) {
    #cart-modal .modal-content {
        float: right;
        width: 85%;
    }
}

.modal-header {
    padding: 0.2rem 1rem;
    border-bottom: 0;
}

.mini-cart {
    display: inline-block;
}

.mini-cart figure {
    height: 80px;
    width: 25%;
    text-align: center;
    overflow: hidden;
    border: 1px solid #e2e2e2;
}

.mini-cart .media img{
    height: 100%;
}

.media-body {
    padding-left: 20px;
}

.mini-cart .media h5{
    font-size: 14px;
    font-family: Montserrat;
    text-align: right;
    display: grid;
    font-weight: 700;
}

.mini-cart .modal-title {
    font-family: Montserrat;
    font-size: 20px;
    font-weight: 700;
    padding-top: 20px;
}


.mini-cart .modal-header span {
    font-size: 40px;
}

.mini-cart .modal-header .close {
    padding-top: 30px;
}


.mini-cart .modal-body .media {
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.mini-cart .modal-body .media p {
    font-family: Montserrat;
    font-size: 16px;
    font-weight: 700;
    padding-top: 10px;
    text-align: right;
}

.mini-cart .small, small {
    font-size: 90%;
    font-weight: 400;
    color: #3c3c3c;
    font-family: Source Sans Pro;
    padding-top: 4px;
}

.btn-secondary {
    color: #fff;
    background-color: #696969;
    border-color: inherit;
    border-radius: 0;
    font-family: Montserrat;
    font-size: 13px;
    padding: 10px 15px;
}

.btn-secondary:hover {
    background-color: #2d2d2d;
}

.btn-secondary:focus {
    outline: 0;
    box-shadow: 0;
}

.btn-primary {
    color: #fff;
    background-color: #2d2d2d;
    border-color: inherit;
    border-radius: 0;
    font-family: Montserrat;
    font-size: 13px;
    padding: 10px 38px;
}

.btn-primary:hover {
    color: #fff;
    background-color: #000000;
}


.btn-primary:focus {
    outline: 0;
    box-shadow: 0;
}

@media only screen and (max-width: 576px) {
    .btn-secondary {
        padding: 10px 10px;
        width: 100%;
    }

    .btn-primary {
        padding: 10px 24px;
        width: 100%;
        margin-top: 5px;
    }
}


#cart-modal .modal-footer {
    display: inherit;
    float: right;
}

@media only screen and (max-width: 576px) {
    #cart-modal .modal-footer {
        display: inline-block;
        float: right;
    }
}





/*modale prodotto*/

.product-content-modal .product-price-modal {
    position: absolute;
    top: 5px;
    right: 0;
    font-size: 18px;
    font-family: Montserrat;
    color: #2d2d2d;
    display: block;
    margin: 0;
    text-align: right;
}

@media only screen and (max-width: 576px) {
    .product-content-modal .product-price-modal {
        right: 130px;
    }
}

.modal-quick-view h1.main-title {
    margin: -30px 0 20px 0;
}

@media only screen and (max-width: 576px) {
    .modal-quick-view h1.main-title{
        margin: -10px 0 20px 0;
        font-size: 20px;
    }
}

.product-content-modal .product-info-modal {
    margin: 0 0 14px;
    position: relative;
}

.not-logged .product-content-modal .product-info-modal {
    display: none;
}

@media only screen and (max-width: 576px) {
    .product-content-modal .product-info-modal {
        margin: 20px 0;
    }
}

.product-content-modal .product-quantity {
    overflow: hidden;
    margin: 0 0 16px;
    display: inline-block;
    vertical-align: top;
    width: 66px;
}

.product-content-modal {
    width: 44%;
    margin: 0 0 50px 0;
    font-size: 14px;
    float: left;
    color: #616161;
    line-height: 170%;
    position: relative;
}

@media only screen and (max-width: 576px) {
    .product-content-modal {
        width: 100%;
    }
}

.modal-quick-view .product-wrap {
    float: none;
    padding: 20px;
    background: #fff;
    max-width: 950px;
    width: 100%;
}

.product-slider-wrap {
    float: left;
    width: 53%;
    margin: 0 3% 50px 0;
    overflow: hidden;
}

@media only screen and (max-width: 576px) {
    .product-slider-wrap {
        width: 100%;
    }

    .product-slider-wrap img {
        max-width: 100%;
        height: auto;
    }
}


.modal-quick-view .product-slider-wrap, .modal-quick-view .product-content-modal {
    margin-bottom: 0;
}

.product-slider {
    border: 1px solid #eaeaea;
}

.product-content-modal .product-plus {
    float: left;
    width: 17px;
    margin: 5px 0 0;
    color: #373d54;
    text-align: center;
    line-height: 1;
    font-size: 14px;
}

.product-content-modal .product-quantity input[type=text] {
    float: left;
    width: 39px;
    height: 39px;
    font-weight: 700;
    font-size: 14px;
    color: #373d54;
    text-align: center;
    display: block;
    margin: 0 2px 0 0;
    background: #f8fafc;
    border: 1px solid #e0e4f6;
}

.product-content-modal .product-minus {
    float: left;
    border-top: none;
    width: 17px;
    color: #373d54;
    text-align: center;
    line-height: 1;
    font-size: 14px;
}

.product-content-modal .product-modal-add-btn {
    padding: 0;
    margin: 0;
    font-size: 14px;
    transition: all 0.2s;
    color: #fff;
    position: relative;
    z-index: 10;
    display: inline-block;
    vertical-align: top;
}


@media only screen and (max-width: 576px) {
    .product-content-modal .product-modal-add-btn {
        display: inherit;
    }
}

.logout{
    cursor: pointer;
}













