/* Bootstrap Italy Components */

@import "mega-menu.css";
@import "navigation.css";
@import "linklist.css";

/* Bootstrap Italy Components End */

@import "navbar-scroll.css";

.container {
    max-width: 1640px;
}

.content {
    min-height: calc(100vh - 80px);
}

#order-list {
    min-height: calc(100vh - 120px);
    /*min-height: 700px;*/
}

a,
.page-link{
    color:#002948 ;
}

.page-item.active .page-link {

    background-color:
            #002948;
    border-color:
            #002948;
}

.list-group-item {
    color: #002948;
}

.list-group-item:hover {
    text-decoration: underline;
    cursor: pointer;
}

/* Make the image fully responsive */
.carousel-inner img {
    max-width: 100%;
    max-height: 100%;
    margin-bottom:5px !important;
}

#navv{
    padding-top:0 !important;
    padding-bottom:0 !important;
}

#hamburger-button{
    float:left;
    cursor:pointer;
    font-size:17px;
    padding-left:15px;
    padding-top:10px;
    padding-top:0 !important;
    position: fixed !important;
    z-index: 10000;
    top:90px;
    padding-right:10px;
    background: #f9f9f9;
    box-shadow: 6px 6px 6px rgba(0, 0, 0, 0.3);
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border:1px solid #999;
    border-left:0;
}

.userp .btn{
    color:#FFF;
}
.dropdown-menu {
    background-color: white !important;
}
.userp .dropdown-menu{
    padding: .5rem;
    right:0 !important;
    left:auto !important;
    top: calc(100% - 10px) !important;
}

#header_username{font-size: 1.25rem;padding-right: 5px;;}

#hamburger-filter{
    float:left;
    width:30% !important;
    box-sizing: border-box;
    padding:0 !important;
    margin:0 !important;
    margin-right:1% !important;
}

#myCarousel  .carousel-control-next, #myCarousel  .carousel-control-prev{
    color:#000 !important;
    font-size:40px !important;
    width:5%;
}

#carousel_banner  .carousel-control-next, #carousel_banner  .carousel-control-prev{
    color:#000 !important;
    font-size:40px !important;
    width:5%;
}

.bg-primary {
    background-color:
           #002948/* #0a3a93*/ !important;
}

#myCarousel .carousel-inner img{
    max-height:180px !important;
    margin-top:30px;
}

#carousel_banner .carousel-inner img{
    max-height:180px !important;
    margin-top:30px;
}

.star-rating{
    display: none;
}

.searchm .form-control{
    font-size: .975rem;
}

.img-box{
    margin-bottom:20px;
}

.thumb-wrapper{
    margin-bottom:20px;
}

.disabled-link {
    pointer-events: none;
    color: grey;
}

footer{
    display: none;
}
#footer{
    border:0;
    margin:0;
    box-sizing: border-box;
    padding:20px;

    background: #002948; /*#AAA;*/
/*
    background: -moz-linear-gradient(top,  #AAA 50%, #999 100%);
    background: -webkit-linear-gradient(top,  #AAA 50%,#999 100%);
    background: linear-gradient(to bottom,  #AAA 50%,#999 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#AAA', endColorstr='#999',GradientType=0 );*/
    color:#FFF;
    font-size:15px;
    line-height: 16px;
    margin-top:20px;
    text-align:center;
}

.bg-apf {
    background: #002948; /*#0a3a93;*/
    /*background: -moz-linear-gradient(top,  #0a3a93 50%, #4971bd 100%);
    background: -webkit-linear-gradient(top,  #0a3a93 50%,#4971bd 100%);
    background: linear-gradient(to bottom,  #0a3a93 50%,#4971bd 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0a3a93', endColorstr='#4971bd',GradientType=0 );*/
    color:#FFF;
    box-shadow: 2px 2px 2px #fdc300;/* rgba(0, 0, 0, 0.2);*/
}

#footer a{
    color:#EEE;
    font-weight:bold;
}

#footer a:hover{
    color:#FFF;
    font-weight:bold;
    text-decoration: underline;
}

.bg-apf .m-auto{
    margin-right:0 !important;
}

.searchm{
    width:70% !important;
}

.bootstrap-select-wrapper.ricerca .bootstrap-select .dropdown-toggle{
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    font-size:13px !important;

}

.bootstrap-select-wrapper.ricerca .bootstrap-select {
    width:145px !important;
    margin-left:10px !important;
}


.bootstrap-select-wrapper.marchi .bootstrap-select .dropdown-toggle{
    border-radius: 0 !important;


}

h2.cov{
    background: #ffc107;
}

h2.cov2{
    background: #002948;
    color:#FFF;
}


.col-sm.bnews{
    background: #f8f9fa;
    margin-right:20px;
}
.demo2 .col-sm{
    border-bottom:1px solid #CCC;
    padding-bottom:20px;
    padding-top:20px;

}

#demo .col-sm{

}

.col-sm.solo{
    text-align:center;
}

.demo2 .col-sm.solo img{
    float:none;
}


.demo2 .col-sm.s2{
    border-bottom:0px solid #CCC;
    padding-bottom:20px;
    padding-top:20px;

}

.demo2 .col-sm img{
    padding-right: 10px;
}

.img1{
    float:left;
    max-width:50%;
}

.col-sm.left{
    text-align:left;
}

.dropdown-item.active, .dropdown-item:active {

    background-color:
            #002948;
}


.pri{
    min-width:100px;
}

table td{
    line-height:14px;
}

table td .sch{
    font-size:12px;
}

table td  .sch.sic{
    color:#dc3545 !important;
}

.carrello{
    font-size:13px !important;
    line-height: 13px !important;
}

table.dataTable thead .sorting:after,
table.dataTable thead .sorting:before,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_asc_disabled:before,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_desc_disabled:after,
table.dataTable thead .sorting_desc_disabled:before {
    bottom: .5em;
}

.bootstrap-select-wrapper.marchi .bootstrap-select {
    width:100% !important;
    margin-left:0px !important;
}

.ultacq .img-fluid{
    height:190px;
    margin-bottom:15px;
}

.disp{
    width:16px;
    height:16px;
    border-radius:50%;
    background: green;
    margin-left:20px;
}

.ultacq {
    text-align: center !important;

}



.form-inline .input-group{
    width:80% !important;
}

.logo_ferca{
    height:80px;padding:15px 10px 15px 0;
}
#f_logo{
    height:80px !important;
}

.nr2logo{

    padding-left:10px;
    padding-right:10px;
    padding-top:5px;
    padding-bottom:5px;
    margin-right:15px;

    background:transparent;
    /*background:#EEE;
    background:-moz-linear-gradient(top,#EEE 50%,#FFF 100%);
    background:-webkit-linear-gradient(top,#EEE 50%,#FFF 100%);
    background:linear-gradient(to bottom,#EEE 50%,#FFF 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#EEE',endColorstr='#FFF',GradientType=0);*/
}

.prodotti .btn-warning{
    width:auto !important;
    float:right;
}

.smcod{
    font-size: 12px;
}



.jumbotron{
    padding: 1rem 2rem;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);

    background: #e9ecef;

    background: -moz-linear-gradient(top,  #e9ecef 50%, #f9f9f9 100%);
    background: -webkit-linear-gradient(top,  #e9ecef 50%,#f9f9f9 100%);
    background: linear-gradient(to bottom,  #e9ecef 50%,#f9f9f9 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e9ecef', endColorstr='#f9f9f9',GradientType=0 );
}

.prodotti .col-lg-4{
    width:100% !important;
    max-width:100% !important;
    flex: 0 0 100%  !important;
}

.card-img, .card-img-top{
    max-width: 80px;
    max-height: 80px;
    float:left;
    margin-right:30px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    height: 100px;
    width: 100px;
    outline: black;
    background-size: 100%, 100%;
    border-radius: 50%;
    border: 0px solid black;
    background-image: none;
}

a.sch, div.sch {
    margin-bottom:10px;
    display: block;
}

.prodotti .btn-block{
    display: inherit !important;
}

.prodotti a.sch{
    margin-bottom:0px;
    display: inline;
    margin-left:20px;
}


.prodotti a.sch.sic{
    color:#dc3545;
}

.carousel-control-next-icon:after
{
    content: '\f105';
    font-size: 55px;
    font-family: FontAwesome;
    color: #222;
}

.carousel-control-prev-icon:after {
    content: '\f104';
    font-family: FontAwesome;
    font-size: 55px;
    color: #222;
}

#demo{
    background: #FFF;
    padding:15px;
    border-radius: 5px;
}

.article-promotion{
 margin-top:20px;
}

.f-nav{
    position: fixed !important;
    top:0 !important;
    z-index:10000;
    width:100%;
}

.f-nav #f_logo {
    height: 50px !important;
    margin-right:10px;
}

.f-nav .navbar-brand{
    font-size: 1rem;
}

#chiudi{
    display: none;
    float:right;
    margin-right:15px;
    cursor:pointer;
}

#chiudi .fa{
    font-size:25px;
}

#hamburger-button{
    display: none;
}

#hamburger-filter{
    display: block;
}

.addq{
    display: inline;
}

.main-page-search .head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    margin-right: 2%;
}

.main-page-search .head .header {
    text-align: center;
    width: 30%;
    margin-bottom: 0;
    flex: 2;
}

.main-page-search .head .picker {
    min-width: 150px;
}

.picker-container {
    display: flex;
    justify-content: flex-end;
}

.main-page-search .head .placeholder {
    flex: 1;
}

.head {
    text-align: center;
}

.head-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.head-date {
    margin-bottom: 1.5rem;
    font-style: italic;
}

.promoz #modal_title {
    padding: .6rem;
    text-align: center;
    font-weight: bold;
    font-size: 1.6rem;
}

@media screen and (max-width: 1410px) {
    .navbar-brand{
        font-size:.8rem;
    }

    .searchm {
        width: 60% !important;
    }
    .form-inline .input-group {
        width: 70% !important;
    }
}

.jstree-container-ul {
    width: 100%;
}

@media screen and (max-width: 1300px) {
    .searchm{
        margin-top:10px !important;
    }

    #navv{
        z-index:10001;
    }

    #hamburger-filter{
        display: none;
        background: #FFF;
        position: fixed;
        z-index:10002;
        top: 0px;
        max-height:100vh;
        overflow: auto;
        width:100% !important;
        float:none;

    }

    #hamburger-button{
        display: block;
        z-index:100000;
    }

    #chiudi{
        display: block;
    }

    #contenitore{
        float:none;
        width:100% !important;

    }


}

.news {
    text-align: center !important;
    background: none;
}


.modal {
    text-align: center;
    padding: 0!important;
}

.modal:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -4px;
}

.modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
    min-width: 300px;
}

.article-promotion h2 {
    font-size: 1.2rem;
    padding: .6rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-promotion .promotion-action {
    font-size: 1rem;
    font-weight: bold;
}

#myCarouselNews {
    padding-top: 20px;
}

#fsModalPromo #modal_image {
    padding-right: 15px;
}

.main-page-search .head {

}

.navbar-second {
    border-top: 1px solid #8aade3;
}

.section-disabled {
    opacity: .5;
    pointer-events: none;
}

@media screen and (max-width: 1300px) {

    .jumbotron{
        padding-left:0;
        padding-right:0;
    }

    .navbar-dark .navbar-brand{
        font-size:12px;
        text-align: left;
    }

    .searchm,
    .form-inline .input-group{
        width:100% !important;
    }

    .bootstrap-select-wrapper.ricerca .bootstrap-select .dropdown-toggle {
        font-size: 10px !important;
    }

    .bootstrap-select-wrapper.ricerca .bootstrap-select {
        width: 120px !important;
        margin-left: 0px !important;
    }

    .searchm .form-control {
        font-size: .775rem;
    }

    .ml-3.carrellotop {
        margin-left: 0rem !important;

        margin-top:10px;

    }

    .nav-link {
        display: block;
        padding: .1rem .3rem;

    }

    .prodotti .btn-success {
        width: auto !important;
        float: none;
        display: block !important;
        margin-top:20px;
    }

    .prodotti a.sch {
        font-size:12px !important;
        line-height: 12px !important;
    }

    .prodotti .btn-warning{
        margin-top:10px !important;
    }

    .prodotti .card{
        text-align:center !important;
    }

    #f_logo {
        height: 40px !important;
    }

    .f-nav #f_logo {
        height: 40px !important;
        margin-right:0px;
    }

    .container h2{
        font-size:18px;
    }

    .nr2logo{
        margin-right:15px !important;
    }
}

@media (max-width: 576px) {
    #fsModalPromo:before {
        content: none;
    }

    #fsModalPromo #modal_image {
        float: initial;
        width: 100%;
    }

    #fsModalPromo #modal_date {
        font-size: .9rem;
    }

    #fsModalPromo #modal_title, h2 {
        font-size: 1.5rem;
    }

    #fsModalPromo #file_area {
        text-align: center !important;
    }

    #fsModalPromo .modal-dialog {
        min-width: 100%;
    }

    #myCarousel .thumb-content h5 {
        padding: 0 20px;
    }

    #carousel_banner .thumb-content h5 {
        padding: 0 20px;
    }

    .carousel-control-prev {
        margin-left: 15px;
    }

    .carousel-control-next {
        margin-right: 15px;
    }

    .carousel-indicators {
        display: none;
    }
}

@media (max-width: 1200px) {
    .article-promotion img {
        float: initial;
        max-width: 100%;
    }

    .article-promotion h2 {
        text-align: center;
    }

    .article-promotion h4 {
        text-align: center;
    }

    .article-promotion p {
        text-align: center;
    }
}


@media screen and (max-width: 800px) {
    .card-img, .card-img-top {
        max-width: 100px;
        max-height: 100px;
        float: none;
        margin-right: 0px;
        margin-bottom:20px;
    }

    .article-promotion h2{
        margin-top:10px;
    }
}


.banner {
    background-size: cover !important;
    -ms-background-size: cover !important;
    -o-background-size: cover !important;
    -moz-background-size: cover  !important;
    -webkit-background-size: cover !important;
    height: 300px;
    background-repeat: no-repeat !important;
}

#carousel_banner ol.carousel-indicators li {
    background-color: #0a3a92 !important;
}

#carousel_banner ol.carousel-indicators {
    margin-bottom: -8px;
}

.box-op {
    width: 100%;
    height: 100%
}

.bandet {
    color: #fff;
    position: absolute;
    opacity: 1 !important;
    z-index: 1000;
    margin-left: auto;
    margin-right: auto;
    left: 15px;
    right: 15px;
    text-align: center;
}

.banner-titolo {
    text-transform: uppercase;
    font-size: 30px;
    line-height:30px;
    top: 80px;
}

.banner-descrizione {
    top: 80px;
    text-transform: lowercase;
    font-size:20px;
    line-height:20px;

}

.box-op:hover {
    background: rgb(10, 58, 147, 0.75);
}

.banner-descrizione div {
    padding: 5px;
    background: rgb(10, 58, 147, 0.8);
    color: #fff
}

.nod {
    padding-bottom: 5px !important;
}

#search-container {
    display: flex;
}

.autocomplete-suggestions {
    z-index: 99999 !important;
}

.tooltip-inner {
    max-width: max-content;
    box-sizing: content-box;
}

.tooltip-inner img {
    max-width: 300px;
    max-height: 300px;
}

.tooltip.show {
    opacity: 1;
}