/*!
 * Start Bootstrap - Modern Business (https://startbootstrap.com/template-overviews/modern-business)
 * Copyright 2013-2017 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-logomodern-business-nav/blob/master/LICENSE)
 */

body {
  padding-top: 54px;
}

@media (min-width: 992px) {
  body {
    padding-top: 56px;
  }
}

.carousel-item {
  height: 65vh;
  min-height: 300px;
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.portfolio-item {
  margin-bottom: 30px;
}
.btn-secondary {
    background-color: transparent;
    border-color: #a73c3c;
    color: #a73c3c;
}
.btn-secondary:hover, .btn-secondary:focus, .btn-secondary.focus, .btn-secondary:active, .btn-secondary.active {
    color: #ffffff;
    background-color: #a73c3c;
    border-color: #a73c3c;
}
ul.elenco {
    display: block;
    list-style:disc !important;
    list-style-type: disc !important;
    text-align: left;
    padding-left: 30px;
}
ul.elenco li {
    list-style:disc !important;
    list-style-type: disc !important;
    padding: 10px 0px;
}
.card-header {
    border-bottom: 1px solid #a73c3c;
}
ul.elenco li a {
    color: #000;
    text-decoration: none;
    transition: .4s;
}
ul.elenco li a:hover, ul.elenco li a:focus, ul.elenco li a.cat-on {
    color: #a73c3c;
    text-decoration: none;
    transition: .4s;
}
ul.elenco li a.cat-on {
font-weight: bold;
}
.listnews {
float:left;
width: 100%;
margin-bottom: 1rem;
padding:0;
}
.listnews .separator {
    display: block;
    width: 100%;
    height: 40px;
    background: transparent;
    position: relative;
    float: left;
    top:1rem;
}
.listnews .separator:before {
    content: '';
    float:left;
    height: 2px;
    width: 10%;
   left:45%;
   top: 10px;
}
.img-listnews {
    float:left;
    width: 30%;
    }
.txt-listnews {
        float:left;
        width: 67%;
        margin-left: 3%;
        min-height: 10rem;
        height: fit-content;
 }
 .title-listnews{
    float:left;
    width: 100%;
    font-size: 20px;
    line-height: 26px;
    margin-bottom: 1rem;
}
.text-left {
  text-align: left;
}
.text-right {
    text-align: right !important;
  }
  .input-group-btn:last-child>.btn {
    border-bottom-left-radius: 40px; 
    border-top-left-radius: 40px;
}
.btn-leggi {
    line-height: 18px;
    padding: 5px 18px !important;
}
.page-link {
    position: relative;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.5;
    color: #a73c3c;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #a73c3c;
}
.body-news-detail {
    padding: .80em;
}
.tit-news-detail {
    margin-bottom: .75em;
}
.page-link:focus, .page-link:hover {
    color: #000;
    background-color: #fff;
    border-color: #000;
}
.page-item.disabled .page-link, .page-item.disabled .page-link:focus, .page-item.disabled .page-link:hover {
    color: #818a91;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #a73c3c;
}
.page-item:first-child .page-link {
    margin-left: 0;
    border-bottom-left-radius: .50rem;
    border-top-left-radius: .50rem;
}
.page-item:last-child .page-link {
    border-bottom-right-radius: .50rem;
    border-top-right-radius: .50rem;
}

@media (max-width: 530px) {
    .img-listnews {
        float:left;
        width: 100%;
        }
    .txt-listnews {
            float:left;
            width: 100%;
            min-height: auto;
            height:fit-content;
     }
     
    .title-listnews, .txt-listnews p b , .txt-listnews p a {
        font-size: 1rem;
        line-height: 1rem;
    }
    .title-listnews, .txt-listnews p {
        margin-bottom: 0.5rem;
    }
    .txt-listnews .text-muted {
        font-size: 0.75rem;
        line-height: 1rem;
        
    }
    .listnews .card-footer.text-muted.text-right {
        text-align: center !important;
    }
    .btn-leggi {
        margin-top:0.50rem;
    }
    
}
