/* green: #028a0c
red: #fe0000 */

/* English fonts */
@font-face {
  font-family: 'Lato';
  src: url('/static/website/fonts/Lato-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Noto Sans';
  src: url('/static/website/fonts/NotoSans-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Lemonada';
  src: url('/static/website/fonts/Lemonada-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Sorts Mill Goudy';
  src: url('/static/website/fonts/SortsMillGoudy-Italic.ttf') format('truetype');
}
@font-face {
  font-family: 'Staatliches';
  src: url('/static/website/fonts/Staatliches-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Itim';
  src: url('/static/website/fonts/Itim-Regular.ttf') format('truetype');
}

/* Nepali fonts */
@font-face {
  font-family: 'Arya';
  src: url('/static/website/fonts/Arya-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Karma';
  src: url('/static/website/fonts/Karma-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Mukta';
  src: url('/static/website/fonts/Mukta-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Ranga';
  src: url('/static/website/fonts/Ranga-Regular.ttf') format('truetype');
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  font-weight: 200;
  height: 100vh;
  color: #424242;
  scroll-behavior: smooth;
}

/* UNIVERSAL */

h1 {
  margin-bottom: 30px;
  padding-top: 50px;
  text-align: center;
}
h1::after {
  content: '';
  border-bottom: 5px solid #028a0c;
  width: 100px;
  display: block;
  margin: 20px auto 0 auto;
}
.page-title {
  background-color: #028a0c;
  border-bottom-left-radius: 35% 68%;
  border-bottom-right-radius: 35% 68%;
  color: white;
  padding-bottom: 30px;
  margin-bottom: 20px;
}
.page-title h1::after {
  border-bottom: 5px solid white;
}

/* HEADER */

.topmost {
  text-align: center;
  font-family: 'Noto Sans', sans-serif;
  background-color: #fe0000;
  padding: 5px;
  color: antiquewhite;
  font-size: 80%;
  word-spacing: 3px;
}

.logo-and-name {
  /* background-color: rgb(247, 247, 247); */
  padding: 10px;
  background-image: linear-gradient(
      rgba(230, 230, 230, 0.28),
      rgba(230, 230, 230, 0.4)
    ),
    url('/static/website/images/header-background.jpg');
  background-attachment: fixed;
  background-size: cover;
  position: relative;
  width: 100%;
  background-position: center;
}

.logo-and-name > div:nth-child(1),
.logo-and-name > div:nth-child(2) {
  text-align: center;
}
.logo1 img {
  width: 150px;
  height: auto;
}
.nefscunlogo img {
  width: 80px;
  height: auto;
}
.cname img {
  width: 600px;
  height: auto;
  margin-bottom: 30px;
}
.logo-and-name ion-icon {
  font-size: 32px;
  color: #028a0c;
}
.logo-and-name select {
  background: transparent;
}
.logo-and-name p {
  font-size: 90%;
}

/*------------GO-TO-TOP-BUTTON---------------*/
#btnScrollToTop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fe0000;
  box-shadow: 0 0 10px #414141;
  color: #f1f1f1;
  border: none;
  outline: none;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
}
#btnScrollToTop:hover {
  background: #ff2929;
}
#btnScrollToTop p {
  font-size: 30px;
  font-weight: 900;
}
#btnScrollToTop.active {
  bottom: 15px;
  pointer-events: auto;
  opacity: 1;
  transform: translateY(-10px);
}
/*------------GO-TO-TOP-BUTTON---------------*/
.full-page-loader {
  position: fixed;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #fff;
  transition: all 0.5s;
  z-index: 9999;
}
.webcube-loader {
  margin-top: 50px;
  width: 300px;
  text-align: center;
}

.webcube-loader > div {
  width: 18px;
  height: 18px;
  background-color: #028a0c;
  margin: 0 8px;
  border-radius: 100%;
  display: inline-block;
  animation: loader 1.8s infinite ease both;
}

.webcube-loader .zoom1,
.webcube-loader .zoom5 {
  animation-delay: 1s;
}

.webcube-loader .zoom2,
.webcube-loader .zoom4 {
  animation-delay: 0.5s;
}

/* .webcube-loader .zoom3 {
  animation-delay: .25s;
} */

@keyframes loader {
  0%,
  100% {
    transform: scale(0);
  }
  50% {
    transform: scale(1);
  }
}
/*---------------------------------------------------------------------*/
/*-----------------------NAVIGATION MENU----------------------------------*/
/*---------------------------------------------------------------------*/
.navbar {
  padding: 0 1rem;
}
.navbar .navbar-collapse ul li:hover {
  background-color: #03cd12 !important;
}
.navbar .navbar-collapse .navbar-nav .dropdown .dropdown-item:hover {
  background-color: #03cd12 !important;
  color: white !important;
}

/* dropdown items rendering on hover */
.navbar .nav-item .dropdown-menu {
  display: none;
  visibility: hidden;
  transition: 0.3s;
  margin-top: 0;
}
.navbar .nav-item:hover .nav-link {
  color: #fff;
}
.navbar .dropdown-menu.fade-down {
  top: 80%;
  transform: rotateX(-75deg);
  transform-origin: 0% 0%;
}
.navbar .dropdown-menu.fade-up {
  top: 180%;
}
.navbar .nav-item:hover .dropdown-menu {
  transition: 0.3s;
  display: block;
  visibility: visible;
  top: 100%;
  transform: rotateX(0deg);
}
/* ---------------------------------- */

.active-nav {
  border-bottom: 5px solid #03cd12;
}

/*---------------------------------------------------------------------*/
/*-----------------------CAROUSEL (PHOTO-SLIDES)----------------------------------*/
/*---------------------------------------------------------------------*/
.carousel .carousel-item .carousel-caption h5 {
  padding: 5px 0;
  background: #f1f1f1;
  color: #028a0c;
}

/*---------------------------------------------------------------------*/
/*-----------------------OUR SERVICES----------------------------------*/
/*---------------------------------------------------------------------*/

.section-1 {
  background-image: linear-gradient(#0000009f, #0000009f),
    url('/static/website/images/services_bg.jpg');
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.section-1 h1 {
  color: white;
}
.section-1 .card img {
  height: 10rem;
  width: 10rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/*---------------------------------------------------------------------*/
/*-----------------------Find nearest branch----------------------------------*/
/*---------------------------------------------------------------------*/

.homepage-branches {
  text-align: center;
  padding: 30px 0;
  font-family: 'Lemonada', sans-serif;
}
/*---------------------------------------------------------------------*/
/*-----------------------Find nearest branch----------------------------------*/
/*---------------------------------------------------------------------*/
.stat {
  background: #9c0d0d;
  color: white;
}
.stat .activity_title a {
  color: white;
  text-align: left;
}
/* .stat h1 {
    font-size: 400%;
    margin: -30px 0 -10px 0;
    color: #b1b1b19d;
}
.stat h1::after {
    display: none;
} */
.stat h5 {
  color: white;
}
/*---------------------------------------------------------------------*/
/*-----------------------ABOUT US----------------------------------*/
/*---------------------------------------------------------------------*/

.section-2 {
  background-color: #028a0c;
  color: white;
}

.section-2 h1::after {
  content: '';
  border-bottom: 5px solid white;
  width: 100px;
  display: block;
  margin: 20px auto 0 auto;
}
.section-2 img {
  width: 400px;
}
.section-2 .affiliation img {
  width: 100px;
  height: auto;
  display: block;
  margin: 0 auto;
}
.section-2 .affiliation p {
  color: #444444 !important;
}
/*---------------------------------------------------------------------*/
/*-----------------------RECENT NEWS AND NOTICES----------------------------------*/
/*---------------------------------------------------------------------*/

.all-notices a:hover {
  color: #03cd12;
}

.section-4 {
  background-color: #028a0c;
  font-family: 'Lemonada', cursive;
  color: white;
}
.section-4 h5 {
  padding: 20px 0;
  display: inline-block;
}
.section-4 .contact {
  padding: 20px 0;
  display: inline-block;
}

/*---------------------------------------------------------------------*/
/*---------------EXCHANGE RATE AND EMI CALCULATOR----------------------*/
/*---------------------------------------------------------------------*/
.section-5 h3 {
  border-bottom: 5px solid #028a0c;
}

/*---------------------------------------------------------------------*/
/*-----------------------FOOTER PART----------------------------------*/
/*---------------------------------------------------------------------*/

.section-6 {
  background-color: #028a0c;
  color: #dadada;
}
.section-6 h4 {
  text-transform: uppercase;
  letter-spacing: -1px;
}
.section-6 h4::after {
  content: '';
  border-bottom: 5px solid #028a0c;
  width: 50px;
  display: block;
}
.footer ul li {
  list-style: none;
}
.footer ul li a {
  color: #cacaca;
  text-decoration: none;
}
.footer ul li:hover {
  padding-left: 20px;
  transition: all 0.4s linear;
}
.copyright {
  background-color: #03cd12;
  color: #3d3d3d;
  padding-top: 15px;
}
.copyright a {
  font-size: 150%;
  color: #444444;
  transition: transform 0.2s;
}
.copyright a:hover {
  transform: scale(1.5);
}

/*---------------------------------------------------------------------*/
/*-----------------------Services in SIngle Page----------------------------------*/
/*---------------------------------------------------------------------*/

.section-deposit,
.section-loan {
  padding: 0 0 25px 0;
  background-color: rgb(230, 230, 230);
}
.section-deposit .card,
.section-loan .card {
  box-shadow: 10px 10px 15px #8d8d8d;
  transition: transform 0.2s;
}
.section-deposit .card:hover,
.section-loan .card:hover {
  transform: scale(1.1);
}
.section-deposit .card .card-header,
.section-loan .card .card-header {
  background: #014706;
  color: white;
}
.section-mobile-banking .screenshot {
  width: 60%;
  display: block;
  margin-left: auto;
}
.section-mobile-banking .playstore {
  bottom: 0;
  position: absolute;
}
.section-mobile-banking .playstore img {
  width: 300px;
  margin-left: -18px;
}
.section-remittance img {
  margin: 10px auto;
  display: block;
  width: 150px;
  height: auto;
}
/*---------------------------------------------------------------------*/
/*-----------------------About us page---------------------------------*/
/*---------------------------------------------------------------------*/

.testimonial {
  background: linear-gradient(#0000009f, #0000009f),
    url('/static/website/images/testimonial-bg.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  padding: 30px 0;
}
.testimonial .message {
  padding: 20px;
}
.testimonial .box {
  background-color: white;
  padding: 10px;
  border-radius: 50px;
}
.testimonial-quotes img {
  width: 100px;
}
.testimonial-person-image img {
  width: 80px;
  border: 2px solid #028a0c;
  border-radius: 50%;
}

/*---------------------------------------------------------------------*/
/*-----------------------Contact page---------------------------------*/
/*---------------------------------------------------------------------*/

.section-contact .head-office,
.section-contact .branch-office {
  padding: 20px;
  background-color: #5ad8624d;
}
.section-contact .card {
  margin: 0 auto 10px auto;
  background: transparent;
  border: 3px solid #028a0c;
  color: #424242;
  width: 16rem;
}
.section-contact .card h6 {
  margin: 5px 0 -5px 0;
  font-weight: bold;
  text-transform: uppercase;
  color: #fe0000;
}
.section-contact .contact-form {
  border: 4px dashed #028a0c;
  border-radius: 30px;
  margin: 20px auto;
}

/*---------------------------------------------------------------------*/
/*-----------------------All News Notices Page---------------------------------*/
/*---------------------------------------------------------------------*/

/*---------------------------------------------------------------------*/
/*-----------------------NOTICE DETAIL PAGE---------------------------------*/
/*---------------------------------------------------------------------*/
.section-notice-detail {
  padding-bottom: 30px;
}
.section-notice-detail img {
  margin: 30px 0;
  width: 70%;
}

/*---------------------------------------------------------------------*/
/*-----------------------DOWNLOADS PAGE---------------------------------*/
/*---------------------------------------------------------------------*/

.section-downloads-publications {
  margin-bottom: 20px;
}
.section-downloads-publications .box {
  width: 200px;
  height: auto;
  border: 2px solid #828181;
  margin: 0 auto 0 auto;
  text-align: center;
  padding: 0 50px;
}
.section-downloads-publications .box ion-icon {
  font-size: 64px;
}

/*---------------------------------------------------------------------*/
/*-----------------------OUR TEAM PAGE---------------------------------*/
/*---------------------------------------------------------------------*/

.section-our-team .card {
  width: 12rem;
  font-size: 120%;
  color: #424242;
  padding: 10px;
  text-align: center;
  margin: 10px auto 10px auto;
  background: linear-gradient(180deg, #028a0c 35%, #fff 35%);
}
.section-our-team .card img {
  width: 150px;
  text-align: center;
  border: 4px solid #fff;
  border-radius: 50%;
  margin: 0 auto 0 auto;
}
.section-our-team h5 {
  text-align: center;
  padding: 5px;
  border-radius: 10px;
  background: #fe0000;
  color: #fff;
}
.section-our-team .card p {
  margin-bottom: -10px;
  font-family: 'Staatliches', sans-serif;
}
.section-our-team .card small {
  font-family: 'Itim', sans-serif;
}

/*---------------------------------------------------------------------*/
/*-----------------------FOR NEPALI LANGUAGE --------------------------------*/
/*---------------------------------------------------------------------*/

:lang(ne) html {
  font-size: 20px;
}
:lang(ne) h1 {
  font-family: 'Mukta';
}
:lang(ne) .section-our-team .card p {
  font-family: 'Karma';
  font-weight: 900;
}
:lang(ne) .section-our-team small {
  font-family: 'Mukta';
}
/*---------------------------------------------------------------------*/
/*-----------------------MEDIA QUERIES--------------------------------*/
/*---------------------------------------------------------------------*/

/*Big tablet to pcs': 1024 to 1200px*/
@media only screen and (max-width: 1200px) {
  .logo-and-name {
    font-size: 80%;
  }
  .logo-and-name ion-icon {
    float: left;
  }
  .logo-and-name p {
    float: left;
    margin-left: 20px;
  }
  .logo1 img {
    width: 100px;
  }
  .cname img {
    width: 500px;
    height: auto;
    margin-bottom: 30px;
  }
  .navbar-collapse .navbar-nav .nav-item a {
    font-size: 90%;
  }
}
/* Small phones: 768 to 1023px */
@media only screen and (max-width: 1023px) {
  .cname img {
    width: 400px;
  }
  .nefscunlogo img {
    width: 50px;
  }
  .section-1 .card img {
    height: 7rem;
    width: 7rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  .testimonial-quotes img {
    width: 80px;
  }
  .testimonial-person-image img {
    width: 80px;
  }
  .section-mobile-banking .screenshot {
    width: 60%;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  .section-mobile-banking .playstore {
    bottom: 0;
    position: relative;
  }
}
/*Small tablets: 481 to 767px */
@media only screen and (max-width: 767px) {
  .logo1 img {
    width: 80px;
  }
  .section-1 .card img {
    height: 10rem;
    width: 10rem;
  }
  .carousel .carousel-item .carousel-caption h5 {
    font-size: 70%;
  }
  .carousel .carousel-item .carousel-caption {
    position: relative !important;
    left: 0;
  }
  .section-2 img {
    width: 300px;
  }
}
/* Small phones: 0 to 480px */
@media only screen and (max-width: 480px) {
  .logo1 img {
    width: 65px;
  }
  .logo-and-name ion-icon {
    font-size: 25px;
  }
  .cname img {
    width: 300px;
  }
  .section-our-team .card img {
    width: 100px;
  }
  .homepage-branches h3 {
    font-size: 80%;
  }
}
