html,
body {
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}
nav.main-menu {
    margin-top: 2rem;
    transition: 0.2s;
}
nav.main-menu img{
    transition: 0.2s;
}
nav.main-menu .btn{
    transition: 0.2s;
}
nav.scrolled {
    margin-top: 0!important;
    transition: 0.2s;
}

nav.scrolled,
nav.scrolled .btn{
    font-size: 13px;
    transition: 0.2s;
}
nav.scrolled img {
    width: 80%;
    height: auto;
    transition: 0.2s;
}
.btn-danger {
    background-color: #CF1202;
    border-color: #CF1202;
}.btn-danger:hover {
    background-color: #dc3545;
    border-color: #dc3545;
}
nav {
    background: #EDEDED;
    font-weight: bold;
    font-size: 14px;
}
nav a {
    transition: 0.8s;
}
nav a:hover {
    transition: 0.8s;
}
nav .btn:hover {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}


.top {
    font-size: 12px;
}
.top a{
    color: #BEBEBE !important;
    transition: 0.8s;
}
.top a:hover{
    color: #171717;
    background: #000000;
    transition: 0.8s;
}
.top i {
    background: #171717;
}
.title-box {
    background-image: url('../img/bg_title_grey.webp');
    background-repeat: no-repeat;
    background-position: -10% 50%;
    background-size: auto;
}
.meta-author a {
    color: #171717;
    text-decoration: none;
}
.blog-date b{
    border-bottom: 2px solid #CF1202;
}
.single-post .post-banner {
    background-repeat: no-repeat !important;
    background-position: center !important;;
    background-size: cover !important;
	background-attachment: fixed !important;
  	background-position: center !important;
}
.single-post .post-banner .blog-head {
    background-color: rgba(0, 0, 0, 0.8);
	
}

.single-post .author-avatar img {
    width: 100%;
    height: auto;
    border-radius: 100px;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important;
}
.blog-card .card,
.blog-card .card img{
    border-radius: 10px;
    width: 100%;
}


.blog-card .card .card-body {
    bottom: 0;
    width: 100%;
}
.blog-card .card .card-body hr,
footer hr{
    border-color: rgba(255, 255, 255, 0.11);
}
.blog-card .card .card-body .avatar {
    width: 40px;
    height: auto;
    border-radius: 100px;
}
.blog-card .card:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient( rgba(0, 0, 0, 0.4), rgb(0, 0, 0));
    border-radius: 10px;
}
.blog-card .card h3{
    font-size: 20px;
}
.blog-card .card small a,
.blog-cat a{
    color: #ffffff;
    text-decoration: none;
}
.first-block {
    border-bottom: 4px solid #CF1202;
    background: url('../img/bg-first-block.webp') fixed no-repeat;
    background-position: 120% 50%;
    background-size: auto;
}
.second-block,
.blog-home,
.testimonial{
    background-color: #F3F3F3;
}

/*-------------TESTIMONIAL-----------*/
/*-----Testimonial-------*/



.testimonial {
    position: relative;
}
.testimonial b {
    color: #CF1202;
}
.testimonial span {
    color: #707070;
}
#testimonial4 .carousel-inner .item{
    overflow: hidden;
}

.testimonial4_indicators .carousel-indicators{
    left: 0;
    margin: 0;
    width: 100%;
    font-size: 0;
    height: 20px;
    bottom: 15px;
    padding: 0 5px;
    cursor: e-resize;
    overflow-x: auto;
    overflow-y: hidden;
    position: absolute;
    text-align: center;
    white-space: nowrap;
}
.testimonial4_indicators .carousel-indicators li{
    padding: 0;
    width: 14px;
    height: 14px;
    border: none;
    text-indent: 0;
    margin: 2px 3px;
    cursor: pointer;
    display: inline-block;
    background: #ffffff;
    -webkit-border-radius: 100%;
    border-radius: 100%;
}


.testimonial4_header{
    top: 0;
    left: 0;
    bottom: 0;
    width: 550px;
    display: block;
    margin: 30px auto;
    text-align: center;
    position: relative;
}
.testimonial4_header h4{
    font-size: 30px;
    font-weight: 600;
    position: relative;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.testimonial4_slide{
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 70%;
    margin: auto;
    padding: 20px;
    position: relative;
    text-align: center;
}

.testimonial4_slide p {
    margin-top: 15px;
}

.testimonial .carousel {
    padding-bottom:50px;
}
.carousel-control-prev i,
.carousel-control-next i{
    font-size: 40px;
    color:#707070;
}

.testimonial {
    border-top: 4px solid #CF1202;
    border-bottom: 4px solid #CF1202;

}
/*-------------TESTIMONIAL ENMD-----------*/

.third-block {
    background: url('../img/bg-justica.webp') fixed no-repeat 0, 0;
    background-size: cover;
    position: relative;
}
.third-block:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(207, 18, 2, 0.7);
}
.third-block #shape {
    fill: #F3F3F3;
    position: absolute;
    top: 0;
}
.fourth-block .btn {
    border-left: 4px solid #CF1202;
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    background-color: #F3F3F3;
}
.fifth-block {
    background: url('../img/bg-balanca.webp') fixed no-repeat 0, 0;
    background-size: auto;
    position: relative;
}
.fifth-block:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(207, 18, 2, 0.91);
}
.fifth-block #shape {
    fill: #ffffff;
    position: absolute;
    bottom: 0;
}
.sixth-block hr{
    border-color: #CF1202;
}
.sixth-block .icon-cards p{
    font-size: 14px;
}
.sixth-block .icon-cards img {
    width: 40%;
}
.top,
footer {
    background-color: #171717;
}
footer {
    font-size: 12px;
}
footer h4{
	font-weight: 100;
    color: #BEBEBE;
}
footer,
footer a{
    color: #8B8B8B;
}
footer ul {
    list-style: none;
    padding: 0;
}
footer ul li{
    margin-bottom: 10px;
}
footer a:hover {
    text-decoration: none;
    color: #BEBEBE;
}

footer .second-footer .col-two {
    text-align: right;
}
@media (max-width: 768px) {
	nav.main-menu {
		margin-top: 0 !important;
	}
    .second-footer .col-one, .second-footer .col-two,
    .top .col .nav {
        text-align: center !important;
    }
    nav .btn {
        width: 100%;
        margin-top: 20px;
    }
    /*-----SLIDER MOBILE-----*/
    .top-slider .carousel-caption {
        margin-bottom: 10px !important;
        text-align: center !important;

    }
    .top-slider .carousel-caption h1{
        font-size: 30px !important;
    }
    .top-slider .carousel-caption p{
        font-size: 16px !important;
    }
    .top-slider .carousel-item {
        height: 650px !important;
        background-position: right center !important;
        -webkit-background-size: cover !important;
        -moz-background-size: cover !important;
        -o-background-size: cover !important;
        background-size: cover !important;
        background-repeat:  no-repeat !important;

    }


    /*-----CARROUSEL SERVICES------*/

}
/*--------------------------------------*/
.pagination-area a,
.pagination-area .current{
    background: #171717;
    color: #ffffff;
    text-decoration: none;
    padding: 10px;
    border-radius: 6px;
    transition: 0.8s;
    font-weight: bold;
}
.pagination-area a:hover {
    opacity: 0.8;
    transition: 0.8s;
}
.pagination-area .current {
    background: #CF1202;
}

/*-------------SLIDER-------------*/

.top-slider .carousel-caption{
    margin-bottom: 200px;
    color: #ffffff;
}
.top-slider .carousel-caption h1 {
    font-size: 50px;
    font-weight: bold;

}
.top-slider .carousel-caption p {
    font-size: 20px;
    color: #ffffff;
}
.top-slider .carousel-inner {
    background: #000000;
}
.top-slider .carousel-item {
    height: 800px;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover !important;
    box-shadow:inset 0 0 0 2000px rgba(23, 23, 23, 0.8);

}
.seventh-block .btn:last-child {
    background: transparent;
    border: 2px solid #171717;
    color:  #171717;
}
.seventh-block .btn:last-child:hover {
    background: #171717;
    border-color: #171717;
    color: #ffffff;

}

.top-slider .carousel-item .btn:last-child {
    background: transparent;
    border: 2px solid #ffffff;
}
.top-slider .carousel-item .btn:last-child:hover {
    background: #dc3545;
    border-color: #dc3545;
}


.second-block .card{
    border-top:0;
    border-left:0;
    border-right:0;
    border-bottom: 4px solid #CF1202;
    background-color: #E9E9E9 !important;
}
.swiper-container {
    width: 100%;
    height: 100%;
}
.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}
.content-blog a,
.content-blog p a {
	color: #cf1202 !important;
	text-decoration: none;
}