*{
    font-family: 'jf-flat';
}


body{
    margin-top: 110px ;
    background-color: white;
    /* background-image: url('/assets/img/financial-doodle-background-style-seamless-money-business-finance-texture-65440752.jpg');
    background-size: 300px 300px; */

}
@media screen and (max-width: 768px) {
    body{
        margin-top: 74px ;
    }
}
.text-danger{
    color: #bd081c !important;
    
}
/*-----     Header Style      -------*/
.top-header{
    background-color: #bd081c;
    color: whitesmoke;
    padding-left: 10% !important;
    padding-right: 5%;
    padding-top: 7px;
    padding-bottom: 10px;
    opacity: 1;
}
.top-header-social a{
    color: whitesmoke;
    font-size: 1.3rem;
    margin-right: 10px;
}
.top-header-social a:hover{
    text-decoration: none;
}
.top-header-social a:hover .fa-facebook-f{
    color: 	#3b5998;
}
.top-header-social a:hover .fa-twitter{
    color: 	#55acee;
}
.top-header-social a:hover .fa-instagram{
    color: 	#850117;
}
.top-header-social a:hover .fa-pinterest{
    color: 	#bd081c;
}
.top-header-social a:hover .fa-linkedin{
    color: 	#0077b5;
}


.btn{
    border-radius: 50px !important;
}
.btn-outline-primary {
    color: #cd1127 !important;
    border-color: #cd1127 !important;
}
.btn-primary ,.btn-outline-primary:hover{
    color: whitesmoke !important;
    background-color: #cd1127 !important;
}

.navbar{
    direction: rtl;
    width: 100%;
    padding-right: 5% !important;
    padding-left: 5% !important;
    background-color: white ;
    
}
.navbar.scrolled{
    background-color: #fffffff9 ;
}   
.top-header{
    margin-top:0px;
    transition: all 0.2s;
}
.top-header.scrolled{
    
    margin-top:-45px;
}

.navbar-nav .nav-item{
     transition: transform 50ms ease-in-out; 
}
.navbar-nav .nav-item:hover {
    transform: scale(1.03);      
}

/*====================================================
              Home Style 
====================================================*/
.home-carsual-section{
    background-color: #bd081c;
    height: 50%;
    position: relative;
    height:80vh;
    overflow: hidden;
    padding: 0px;
    border-radius: 0 0 60% 60%/0 0 10%  10%;
    box-shadow: 0 0.5rem 0.5rem rgba(0,0,0,.175)!important;
        transform: scaleX(1);
}

.carousel-img{
    position: absolute;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
}

.carousel-caption-bg{
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    width: 55%;
    position: absolute;
    right: -10%;
    top:0;
    /* transform: skewX(-5deg) ; */
    /* animation-duration: 0s; */
    animation: bounceInRight 1s; /* referring directly to the animation's @keyframe declaration */
    /* animation-duration: 0s;  */


}
.carousel-caption-bg::before{
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: inherit;
    /* pointer-events: none; */
    transform: skewX(-10deg);
}
.carousel-caption{
    top:40%;
    right: 10%;
    left: auto;
    width: 30%;
}

/* On screens that are 992px or less, set the background color to blue */
@media screen and (max-width: 992px) {
    .home-carsual-section{ 
        height:50vh;
    }
    .carousel-caption-bg{
        height: 75%;
        width: 110%;
        /* right: -10%; */
        bottom:-10%;
        right: -10%;
        left: -10%;
        top: auto;
        /* transform: skewy(-5deg) ; */
        animation: bounceInUp 1s;
    }
    .carousel-caption-bg::before{
        /* top: 20px; */
        transform: skew(0deg,0deg) 

    }
    .carousel-caption{
        width: 100%;
        right: auto;
        left: auto;
    }
}


/* .home-carsual-section:before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f4f6fc;/*linear-gradient(45deg ,#ff0091,#6827b0);
    border-radius: 0 0 50% 50%/0 0 50%  50%;
    transform: scaleX(2.5);
    /* overflow: hidden; 
} */


/* --------- Customer section ----------- */
.customers-brand-image{
    /* -webkit-filter: grayscale(100%); Safari 6.0 - 9.0 */ 
     filter: grayscale(100%);
    /* filter:  brightness(0) invert(0.7); */
    height: 50px;
    cursor: pointer;
    transition: all 100ms;
    opacity: 0.8;
    margin-right: 20px;
    margin-bottom: 50px;
    
}
.customers-brand-image:hover{
    filter: none;
}

.servies-card .card-img-top{
    color: #bd081c;
    text-align: center;
    font-size: 80px;
    width: 100%;
    transition:all 50ms;
    
}
.servies-card{
    transition:all 50ms;
}
.servies-card:hover {
    /* color: #cd1127; */
    transform: scale(2);
    /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important;

}
.servies-card .card-title{
    /* transition:all 50ms; */
    font-size: 1.1rem;
}


.cutsomer-discuss{
    width: 200px;
    /* height: 300px; */
    padding-top: 40px;
    padding-right: 40px;
    padding-left: 40px;
    padding-bottom: 20px;;
}
.cutsomer-discuss img{
    position: absolute;
    right: -25px;
    top:-25px;
    height:70px; 
    width:70px;
}

/* On screens that are 992px or less, set the background color to blue */
@media screen and (max-width: 992px) {
    .contact-us-box {
      width: 270px;
      margin: auto;
    }
}



footer{
    /* background-image: url('/assets/img/footer-bg.png'); */
    /* background-repeat: no-repeat; */
    /* background-size: cover; */
    /*background-color: #25282a;*/
    background-color: #25282a;
    
    /* height: 500px; */
    color: white;
}
footer a{
    color: rgb(197, 197, 197);
    /* text-decoration: underline; */
}
footer a:hover{
    color: white;
    text-decoration: none;
}

footer ul > li {
    text-indent: -5px;
  }
  footer ul > li:before {
    content: "- ";
    text-indent: -5px;
  }
/**=====================================================
            Float Action Buttton
========================================================*/

.float-action-button-box{
    position: fixed;
    bottom: 3%;
    right: 3%;
    z-index: 10000000;
    align-items: center;
    font-size: 1.3rem;
    color: white !important;
    width: 60px;
    height: 60px;
}

/* .float-action-button-box:hover>:nth-child(1) {
     visibility: visible;
    transform: translateY(0px); 

}
.float-action-button-box:hover>:nth-child(2) {
    visibility: visible;
   transform: translateY(0px); 

} */
.float-action-button{
    width: 60px;
    height: 60px;
    background-color: #bd081c;
    border-radius: 100%;
    margin-top: 10px;;
    transform: translateY(0px);
    position: absolute;
    z-index: 10001;
    bottom: 0;
}
.float-action-button a{
    color: white;
}
.float-action-button:hover{
    background-color: #97082a;
}

.float-action-button-box  >:nth-child(1){
    background-color:   #006AFF;
    /*  transform: translateY(140px); */
    transition: all 200ms; 
} 
.float-action-button-box >:nth-child(1):hover{
    background-color:   #00B2FF;
}
.float-action-button-box >:nth-child(2){
    background-color:   #49c95a;
    /* transform: translateY(70px); */
    transition: all 100ms;
}
.float-action-button-box >:nth-child(2):hover{
background-color:   #56ef6b;
}

.float-action-button-box >:nth-child(2) ,.float-action-button-box >:nth-child(1){
    z-index: 1000;
    visibility: hidden ;
}
.float-action-button.hover{
    visibility: visible;
}
.float-action-button-box >:nth-child(1).hover {
    bottom: 140px;
}
.float-action-button-box >:nth-child(2).hover {
    bottom: 70px;
}

#floatActionButton{
    transition: all 100ms;
    transform: rotate(360deg);
}
#floatActionButton.hover{
    transform: rotate(180deg);
    cursor: pointer;
}
#floatActionButton.hover i::before{
    content: "\f00d";
}

/* ===============================================
        Sub pages styles
================================================== */

.top-bg{
   
    background-size: cover;
    height: 400px;
    width: 100%;
    color:white;
    border-radius: 0 0 60% 60%/0 0 10%  10%;
    overflow: hidden;
    box-shadow: 0 0.5rem 0.5rem rgba(0,0,0,.175)!important;
        transform: scaleX(1);
}
.top-bg>div{
    /* background-image: linear-gradient(to bottom right, #bd081da8, #4f5004b7); */
    background-color: #000000d7;
    height: 100%;
    width: 100%;
}
.title-line{
    content: "";
    margin-top: 20px;
    width: 150px;
    height: 5px;
    /* height: 100vh; */
    display: block;    
    background-color: #bd081c;
    
}
.e-library-main{
    padding-right:10%; 
    padding-left:10%; 
    padding-top:10px;  
}
.e-library-main .e-library-item{
    background-color: white;
    border-radius: 20px;
    padding-right: 30px;
    padding-left: 30px;
    padding-top: 10px;
    padding-bottom: 10px;
    /* height: 50px; */
}
.e-library-main .e-library-item:hover{
    text-decoration: none;
    box-shadow: 0 .7rem 1rem rgba(0,0,0,.15)!important;
    background-color: #faf9f9;
}


.servies-item-page .card{
    border-radius: 10px;
}

.servies-item-page .card:hover{
    box-shadow: 0 .4rem 0.7rem rgba(0,0,0,.15)!important;

}


.new-list-item{
    height: 120px;
    display: block;
    background-color: #fcfcfc;
    color: #25282a;
}
.new-list-item:hover{
    color: #25282a;
    text-decoration: none;
}
.new-list-item p{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.new-list-item .side-line{
    height: 100%;
    width: 5px;
    content: ' ';
    display: inline-block;
    background-color: #97082a;
        
}