a.active{
    color: #be0000 !important;
}

#header .header-nav.header-nav-links nav > ul li:hover > a {
    color: #be0000 !important;
}

div.custom-element{
    background-color: #be0000 !important;
}

.custom-element-wrapper.custom-element-11::before {
    background: #be0000;
}

hr.bg-primary{
    background-color: #be0000 !important;
}

.logo-heading{
    color: #be0000;
    line-height: 20px;
}

.logo-heading:hover{
    color: #be0000;
}

p.mb-0{
    font-size: 16px;
}

ul.list-group-numbered li{
    font-size: 16px;
}

span.thumb-info-type{
    background-color: #be0000 !important;
}

span.thumb-info-caption-text{
    height: 250px;
}

img.img-fluid.rounded{
    height: 100px;
}

.margin-box-owl{
    margin: 0px 0px 32px 80px;
}

.overlay-color-success{
    background-color: #be0000 !important;
}
.pb-4-5-alt{
    padding-bottom: 2rem;
}

button.owl-prev span, button.owl-next span{
    opacity: 0 !important;
}
div.owl-stage-outer{
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.pb-45{
    padding-bottom: 35px;
}

hr.style-two {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), #be0000, rgba(0, 0, 0, 0));
    max-width: 80% !important;
    margin: auto;
      margin-top: auto;
  }

.pb-15{
    padding-bottom: 9rem;
}
.pt-15{
    padding-top: 9rem;
}

.default-bg{
    background: #BE0000;
}

.b-2{
    bottom: 1.3rem;
}

h4.card-title.mt-2::after{
    content: "";
    display: block;
    margin: 0 auto;
    width: 20%; 
    padding-top: 10px; 
    border-bottom: 1px solid #000000; 
    
}

.text-darkest{
    color: #000000 !important;
}

div.card.col-md-6 div.card-header h4.card-title a::after{
    font-family: 'Font Awesome 5 Free';
content: "\f107";
font-weight: 900;
}

.row .card{
    margin-top: 15px !important;
    margin: 1px !important;
}

div.col-md-6 div.accordion div.accordion-item{
    margin-top: 15px;
}

.loading:after {
    overflow: hidden;
    display: inline-block;
    vertical-align: bottom;
    -webkit-animation: ellipsis steps(4,end) 1100ms infinite;      
    animation: ellipsis steps(4,end) 1100ms infinite;
    content: "\2026"; /* ascii code for the ellipsis character */
    width: 0px;
  }

  .border-box-1{
      background-color: rgba(211, 211, 211, 0.7);
      padding: 5px;
  }

  .col-sm-3 .item{
      width: 300px;
  }
  
  @keyframes ellipsis {
    to {
      width: 20px;    
    }
  }
  
  @-webkit-keyframes ellipsis {
    to {
      width: 20px;    
    }
  }

/* pagination */



.simple-pagination ul {
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
	text-align: center;
}

.simple-pagination li {
	display: inline-block;
	margin-right: 5px;
}

.simple-pagination li a,
.simple-pagination li span {
	color: #be0000;
	padding: 5px 10px;
	text-decoration: none;
	border: 1px solid #EEE;
	background-color: #FFF;
	box-shadow: 0px 0px 10px 0px #EEE;
}

.simple-pagination .current {
	color: #FFF;
	background-color: #be0000;
	border-color: #be0000;
}

.simple-pagination .prev.current,
.simple-pagination .next.current {
	background: #be0000;
}

.page-link:hover{
    color: #be0000 !important;
}

/* pagination end */


/* responsive */

@media only screen and (max-width: 767px) {
    .text-justify {
        text-align: left !important;
    }
    .d-xs-none{
        display: none !important;
    }
    p.line-height-5, p.text-3-5{
        line-height: 22px !important;
    }
    div.ms-5{
        margin-left: 0 !important;
    }
    div.col-lg-6.text-center.p-relative.pt-5, div.col-lg-4.text-center.p-relative.pt-5{
        padding: 70px !important;
        margin-left: 10px !important;
    }
    .top-10-px{
        top: 10px;
    }
    ul li.text-justify{
        line-height: 16px;
        padding-bottom: 10px;
    }
    div.card-body p, ul.list-group-numbered li{
        line-height: 20px;
    }
    span.thumb-info-caption-text{
        line-height: 16px !important;
        height: 225px !important;
    }
    div.row.pt-5.mt-5.pb-5.mb-5{
        padding-bottom: 0px !important;
        margin-bottom: 0px !important;
    }
    section.section{
        padding-bottom: 0px !important;
    }
    div.container.pt-5.mt-3.pb-0{
        padding-top: 0px !important;
        margin-top: 0px !important;
    }
    h1{
        line-height: 32px;
    }
    div.col-12.col-lg-7.p-relative{
        margin-top: 0px !important
    }
    .mt-6{
        margin-top: 32px !important;
    }
    div.card-body.p-5{
        padding: 20px !important;
    }
    ul.nav.nav-pills li{
        font-size: 12px !important;
    }
    section.page-header div.container div.py-5{
        padding-top: 6rem !important;
    }
    div.lightbox{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    .section.portfolio .filters-content .item {
        padding: 15px;
    }
    .ord-1{
        order: 1;
        max-height: 280px !important;
    }
    .ord-2{
        order: 2;
    }
}

@media (min-width: 992px){
    .none-d{
        display: none !important;
    }
    .border-left{
        border-left: 1px solid black !important;
        height: 1em;
    }
    a.d-xl-block{
        display: block !important;
    }
    .h-300{
        height: 300px;
    }
}

@media (min-width: 992px) and (max-width: 1200px){
    nav.collapse li a{
        font-size: 11px !important;
    }
}