/********** Template CSS **********/
:root {
    --primary: #306ee8;
    --secondary: #367DCB;
}
body {
    font-family: 'Hanken Grotesk', sans-serif;
}
h1,h5{
    font-family: 'Hanken Grotesk', sans-serif;
    font-weight: 700;
}
a{
    text-decoration: none;
}
.sticky-top {
	transition: all 0.5s ease;
	animation: smoothScroll 1s forwards;
}

@keyframes smoothScroll {
	0% {
		transform: translateY(-40px);
	}
	100% {
		transform: translateY(0px);
	}
}
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}



.text-primary{
	color:var(--secondary) !important;
}

.bg-sec-blue{
    background-color:var(--secondary);
}
.text-sec-blue{
    color:var(--secondary);
}
.bg-pri-blue{
    background-color:var(--primary);
}
.text-pri-blue{
    color:var(--primary);
}
.text-justify{
    text-align: justify
}
.bg-green {
    background-color: #7CA936;
}    
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/

.btn {
    transition: .5s;
}

.btn-custom {
  color: #fff;
  background-color: var(--secondary);
  border-color: var(--secondary);
}
.btn-custom:hover {
	color: #fff;
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn-outline-custom {
	color: var(--secondary);
	border-color: var(--secondary);
}
.btn-outline-custom:hover {
	color: #fff;
	background-color: var(--secondary);
	border-color: var(--secondary);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: 0 !important;
    transition: .5s;
}

.navbar .navbar-brand img {
    max-height: 95px;
}

.navbar .navbar-nav .nav-link {
    margin-left: 25px;
    padding: 10px 0;
    color: #000;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #fff;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}
.dropdown-item {
	display: block;
	width: 100%;
	padding: 12px;
	clear: both;
	font-weight: 400;
	color: #fff;
	text-align: inherit;
	text-decoration: none;
	white-space: nowrap;
	background-color: transparent;
	border: 0;
}
.dropdown-menu {
    background-color:var(--secondary);
}
.dropdown-item:focus, .dropdown-item:hover {
	color: #fff;
	background-color: #00000091;
}



/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    text-align: start;
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 15px solid var(--primary);
    border-radius: 50px;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: url(../images/inner-page-banner.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-weight: 500;
}

.page-header .breadcrumb-item a,
.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #696E77;
}

.page-header .breadcrumb-item a:hover,
.page-header .breadcrumb-item.active {
    color: var(--secondary);
}

.business {
  background-image: url(../images/business.jpg);
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center center;
  padding: 0px;
  color: #222;
}

/*** Appointment ***/
.appointment {
    background: linear-gradient(rgba(48, 110, 232, 0.75), rgba(48, 110, 232, 0.76)), url(../images/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}


/*** Team ***/
.team-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-text {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -50px;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    bottom: 0;
    opacity: 1;
}

.team-item a.btn {
    color: var(--primary);
}

.team-item a.btn:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}

/*** Footer ***/
.footer {
    color: #fff;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #fff;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
    text-decoration: none;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #A7A8B4;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-square {
    color: #fff;
    border: 1px solid #fff;
}
.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: #fff;
}

.footer .copyright a:hover {
    color: #FFFFFF;
}

/* News Bar*/
.news-sticky {
    padding: 12px;
    position: relative;
    color: #fff;
    font-size: 16px;
    background-color: #FFFF00;
}
.news-title {
    background-color: var(--primary);
    padding: 5px 0px;
    color: #fff;
    font-weight: 400;
    font-size:20px;
    text-align: center;
}
.news-details {
    padding: 8px 20px;
    color: #FFF;
}
.news-details a {
    color: #800000;
}
.news-details a:hover {
    color: #000;
}

/*FAq */
.accordion-header {
  border: 1px solid var(--secondary);
}
.accordion-header h4{
    color:var(--secondary);
}
.accordion-body {
	padding: 1rem 1.25rem;
	border: 1px solid #3c78a4;
	margin-bottom: 10px;
	border-top: 0;
	background-color: #fff;
}

/* Page Side List */
.list-group-item-light {
	color: var(--secondary);
	background-color: #fefefe;
	padding: 14px;
	margin-top: 10px;
}
.list-group-item + .list-group-item {
	border-top-width: thin !important;
}
.list-group-item-light.list-group-item-action:focus, .list-group-item-light.list-group-item-action:hover {
	color: #fff;
	background-color: var(--secondary);
}
.list-group-item-light.list-group-item-action.active {
	color: #fff;
	background-color: var(--secondary);
	border-color: var(--secondary);
	padding: 14px;
	margin-top: 10px;
}

.sec-services {
	background: rgba(0, 0, 0, 0.05); 
}

.service {
	padding: 40px;
	margin-bottom: 25px;
	border-radius: 4px;
	background: #fff; 
}
.service [class^="bi-"] {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 60px;
	flex: 0 0 60px;
	font-size: 50px;
	position: relative;
	margin-right: 10px;
	margin-bottom: 20px;
	display: inline-block; 
}
.service [class^="bi-"]:before {
	color: #306EE8;
	z-index: 2;
	position: relative; 
}
.service [class^="bi-"]:after {
	content: "";
	position: absolute;
	z-index: 1;
	left: -10px;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: rgba(108, 117, 125, 0.05); 
}
.service h3, .service .h3 {
	color: #000;
	font-size: 18px; 
}

.post-entry {
	-webkit-box-shadow: none;
	box-shadow: none;
	border: 1px solid rgba(0, 0, 0, 0.1); 
}
.post-entry .date {
	letter-spacing: .05rem;
	margin-bottom: 10px;
	display: block; 
}
.post-entry h5, .post-entry .h5 {
	margin-bottom: 30px; 
}
.post-entry h5 a:hover, .post-entry .h5 a:hover {
	color: #306EE8;
	text-decoration: underline; 
}


.our-bank .start-border {
	background-color: #3038e8;
	clip-path: polygon(50% 0%, 90% 50%, 50% 100%, 10% 50%);
	text-align: center;
	color: #fff;
	padding :100px;
}

.demo{ background-color: #e7e7e7; }
.counter{
    font-family: 'Nunito Sans', sans-serif;
    background: #fff;
    text-align: center;
    width: 200px;
    min-height: 215px;
    padding: 10px 15px;
    margin: 0 auto;
    border-radius: 30px;
    box-shadow: 0 8px 5px rgba(0, 0, 0, 0.2);
    position: relative;
}
.counter:before{
    content: '';
    background-color: #9DD662;
    height: 105px;
    width: 100%;
    border-radius: 30px 30px 0 0;
    position: absolute;
    left: 0;
    top: 0;
}
.counter .counter-icon{
    color: #fff;
    background: #7CA936;
    font-size: 50px;
    line-height: 90px;
    width: 120px;
    height: 100px;
    margin: 0 auto 10px;
    border-radius: 10px 10px 0 0;
    transform: translateY(-20px);
    position: relative;
    clip-path: polygon(0% 0%, 100% 0, 100% 70%, 50% 100%, 0 70%);
}
.counter .counter-icon:before{
    content: "";
    background: #8AC248;
    width: 120px;
    height: 90px;
    border-radius: 10px 10px 0 0;
    transform: translateX(-50%);
    position: absolute;
    top: 0;
    left: 50%;
    z-index: -1;
    clip-path: polygon(0% 0%, 100% 0, 100% 70%, 50% 100%, 0 70%);
}
.counter:hover .counter-icon i{
    transform: rotate(360deg);
    transition: all 0.3s ease;
}
.counter h3{
    color: #333;
    font-size:17px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 5px 0;
}
.counter .counter-value{
    color: #7CA936;
    font-size: 30px;
    font-weight: 600;
    display: block;
}
.counter.blue:before{ background-color: #5A9BEF; }
.counter.blue .counter-icon{ background-color: #2A70B5; }
.counter.blue .counter-icon:before{ background-color: #367DCB; }
.counter.blue .counter-value{ color: #367DCB; }
.counter.red:before{ background-color: #FD6D4B; }
.counter.red .counter-icon{ background-color: #D14026; }
.counter.red .counter-icon:before{ background-color: #EA5736; }
.counter.red .counter-value{ color: #EA5736; }
.counter.gray:before{ background-color: #777; }
.counter.gray .counter-icon{ background-color: #444; }
.counter.gray .counter-icon:before{ background-color: #666; }
.counter.gray .counter-value{ color: #666; }
@media screen and (max-width:990px){
    .counter{ margin-bottom: 40px; }
    .navbar .navbar-brand img {
	  max-height: 60px;
	}
}


/* for dropdown only - change the color of droodown */
.navbar-custom .dropdown-menu {
    background-color: #fff;
    border-radius: 0px;
}

.navbar-custom .dropdown-submenu {
    list-style:none;
    overflow:hidden;
}

.leftauto {
    right: 0 !important;
    left: auto !important;
    top:59px;
}

.leftauto2 {
    right: 224px !important;
    left: auto !important;
    width: max-content;
    margin-top:24px;
}


.navbar-custom .dropdown-item {
    color: #333;
    line-height: 1.5rem;
    border-bottom: 1px solid #e5e5e5;
    padding-left: 15px;
}

.navbar-custom .dropdown-item:active,
.navbar-custom .dropdown-item:hover,
.navbar-custom .dropdown-item:focus {
    color: #fff;
    background-color: #28166f;
}
.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
	color: var(--secondary);
}

.navbar-light .navbar-toggler {
	color: var(--secondary);
	border-color: var(--secondary);
}
.navbar-toggler:focus {
	box-shadow: 0 0 0 0 !important;
}

.dropdown-menu > .dropdown {
	position: relative;
}

.dropdown-menu > .dropdown a::after {
	transform: rotate(-90deg);
	position: absolute;
	right: .9rem;
}
.dropdown-menu > .dropdown .dropdown-menu {
    top: -11px !important;
    left: 157px !important;
}
.dropdown-menu .show > .dropdown-toggle::after{
    transform: rotate(-90deg);
    left: 100%;
    border-radius: 0 .25rem .25rem .25rem;
}



#ecww-monthlypayment, #ecww-totalinterest, #ecww-totalamount {
	padding: 60px 0;
	text-align: center;
}

.textop {
	width: 90%;
	background-color: transparent !important;
	font-weight: bold !important;
	font-size: 18px !important;
	border: none !important;
	color: #000 !important;
	text-align: center !important;
}

iframe.img-fluid{
	height:300px !important;
}


/*Download Page*/
.dtitle {
  background-color: #367dcb;
  padding: 10px;
  margin-bottom: 13px;
  color: #fff;
}
.dLink:hover{
    color: #367dcb !important;
}
