/** Standard Styling **/
body {
  font-size: 1rem;
  line-height: 1.5;
  font-family: 'Quicksand', sans-serif;
}

/** Contacts Header **/
.contacts-header {
  padding: 0.4rem;
  font-size: 0.8rem;
}

/** Media Screen for Phones **/
@media only screen and (max-width: 768px) {
  .laptop-view {
    display: none;
  }

  .dimension h1 {
    font-size: 2rem;
  }

  .dimension h2 {
    font-size: 1.5rem;
  }

  .dimension p, li, h5 {
    font-size: 1rem;
  }

  .dimension a, h6 {
    font-size: 0.8rem;
  }
}

/** Media Screen for Laptops **/
@media only screen and (min-width: 768px) {
  .tablet {
    display: none;
  }
}

/** Jumbotrons **/
#hello .jumbotron {
    background-image: url(../images/landing.png);
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 0;
  }

#management .jumbotron {
   background-image: url(../images/mgt.png);
   background-position: bottom;
   background-repeat: no-repeat;
   background-size: cover;
 }

#product .jumbotron {
  background-image: url(../images/pands.png);
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
  margin-bottom: 0;
}

#company .jumbotron {
  background-image: url(../images/building.png);
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
  margin-bottom: 0;
}

#board .jumbotron {
   background-image: url(../images/leadership.png);
   background-position: bottom;
   background-repeat: no-repeat;
   background-size: cover;
 }

#report .jumbotron {
   background-image: url(../images/report.png);
   background-position: bottom;
   background-repeat: no-repeat;
   background-size: cover;
   margin-bottom: 2rem;
 }

#career .jumbotron {
   background-image: url(../images/career.png);
   background-position: bottom;
   background-repeat: no-repeat;
   background-size: cover;
   margin-bottom: 0;
 }

#contact .jumbotron {
   background-image: url(../images/contact.png);
   background-position: bottom;
   background-repeat: no-repeat;
   background-size: cover;
   margin-bottom: 2rem;
 }

/** Dropdown Properties **/

/** Data Tile Properties **/
[data-title]:hover:after {
    opacity: 1;
    transition: all 0.1s ease 0.3s;
    visibility: visible;
}

[data-title]:after {
    content: attr(data-title);
    position: absolute;
    top: 2rem;
    left: 20%;
    padding: 6px;
    color: teal;
    white-space: nowrap;
    border-radius: 5px;
    box-shadow: 0px 0px 4px #ffffff;
    opacity: 0;
    background-color: #ffffff;
    z-index: 99999;
    font-size: 14px;
    visibility: hidden;
}

[data-title] {
    position: relative;
}

/** Everyday Banking **/
#loanproduct .table {
  background-image: url('../images/loan.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

#account .table {
  background-image: url('../images/account.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

#transfer .table {
  background-image: url('../images/transfer.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/** Covers **/
.cover {
  background-image: url('../images/map.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.cover1 {
  background-image: url('../images/map1.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}


/** Card Flip Properties **/
.card-color {
   transition: background-color 300ms ease-out 150ms, color 300ms ease-out 150ms;
 }

.card-color:hover {
  background-color: #e3f2fd;
  color: #1b1922;
 }

 .img-move {
   transition: transform 200ms ease-out 100ms;
 }

 .img-move:hover {
   transform: scale(1.1);
 }

.flip-card-front {
     border-radius: 8px;
     box-shadow: 0rem 0.8rem 0.5rem 0.8rem rgb(0 0 0 / 10%);
 }


/** Slider **/

.col-lg-6 {
  padding-left: 0;
  padding-right: 0;
}

/** Facts **/
.facts {
   background-color: #031b60;
}

/** Products and Services **/
 #pands {
   background-color: #f8f9fa;
 }

 #pands h5 {
   font-weight: bolder;
 }

 #pands .card-flip > div {
    backface-visibility: hidden;
    transition: transform 400ms ease-in 200ms;
    width: 100%;
    height: 100%;
    margin: 0;
  }

 #pands .card-front {
    transform: rotateX(0deg);
  }

 #pands .card-back {
    transform: rotateX(180deg);
    position: absolute;
    top: 0;
  }

 #pands .card-flip:hover .card-front {
    transform: rotateX(-180deg);
  }

 #pands .card-flip:hover .card-back {
    transform: rotateX(0deg);
  }

 #pands .flip-card-front {
   border-radius: 8px;
   box-shadow: 0rem 0.8rem 0.5rem 0.8rem rgb(0 0 0 / 10%);
  }


/** Others **/
.dropdown-menu a:hover {
 background: #e3f2fd;
}

.word {
  font-weight: bold;
}

.quicklinks a {
  color: #ffffff;
}

#chatholder {
  z-index: 999;
  width: 100%;
  text-align: center;
  background-color: #031b60;
  opacity: .8;
  color: #fff;
  position: fixed;
  left: 0;
  bottom: 0;
}

.line {
    border-bottom: 2px solid #eee;
}

.line:after {
    content: "";
    width: 40px;
    height: 2px;
    background: #f70d28;
    display: block;
    position: relative;
    bottom: -2px;
  }

  .custom-loader {
  width: 40px;
  height: 20px;
  --c:radial-gradient(farthest-side,#031b60 93%,#0000);
  background:
    var(--c) 0    0,
    var(--c) 50%  0;
  background-size:8px 8px;
  background-repeat: no-repeat;
  position: relative;
  clip-path: inset(-200% -100% 0 0);
  animation: db6-0 1.5s linear infinite;
}
.custom-loader:before {
  content: "";
  position: absolute;
  width: 8px;
  height: 12px;
  background:#031b60;
  left:-16px;
  top:0;
  animation: 
    db6-1 1.5s linear infinite,
    db6-2 0.5s cubic-bezier(0,200,.8,200) infinite;
}
.custom-loader:after {
  content: "";
  position: absolute;
  inset:0 0 auto auto;
  width:8px;
  height: 8px;
  border-radius: 50%;
  background:#031b60; 
  animation: db6-3 1.5s  linear infinite;
}

@keyframes db6-0 {
  0%,30%  {background-position: 0  0   ,50% 0   }
  33%     {background-position: 0  100%,50% 0   }
  41%,63% {background-position: 0  0   ,50% 0   }
  66%     {background-position: 0  0   ,50% 100%}
  74%,100%{background-position: 0  0   ,50% 0   }
}

@keyframes db6-1 {
  90%  {transform:translateY(0)}
  95%  {transform:translateY(15px)}
  100% {transform:translateY(15px);left:calc(100% - 8px)}
}

@keyframes db6-2 {
  100% {top:-0.1px}
}

@keyframes db6-3 {
  0%,80%,100% {transform:translate(0)}
  90%         {transform:translate(26px)}
}

/**loader**/
.custom-loader {
  width: 40px;
  height: 20px;
  --c:radial-gradient(farthest-side,#031b60 93%,#0000);
  background:
    var(--c) 0    0,
    var(--c) 50%  0;
  background-size:8px 8px;
  background-repeat: no-repeat;
  position: relative;
  clip-path: inset(-200% -100% 0 0);
  animation: db6-0 1.5s linear infinite;
}
.custom-loader:before {
  content: "";
  position: absolute;
  width: 8px;
  height: 12px;
  background:#031b60;
  left:-16px;
  top:0;
  animation: 
    db6-1 1.5s linear infinite,
    db6-2 0.5s cubic-bezier(0,200,.8,200) infinite;
}
.custom-loader:after {
  content: "";
  position: absolute;
  inset:0 0 auto auto;
  width:8px;
  height: 8px;
  border-radius: 50%;
  background:#031b60; 
  animation: db6-3 1.5s  linear infinite;
}

@keyframes db6-0 {
  0%,30%  {background-position: 0  0   ,50% 0   }
  33%     {background-position: 0  100%,50% 0   }
  41%,63% {background-position: 0  0   ,50% 0   }
  66%     {background-position: 0  0   ,50% 100%}
  74%,100%{background-position: 0  0   ,50% 0   }
}

@keyframes db6-1 {
  90%  {transform:translateY(0)}
  95%  {transform:translateY(15px)}
  100% {transform:translateY(15px);left:calc(100% - 8px)}
}

@keyframes db6-2 {
  100% {top:-0.1px}
}

@keyframes db6-3 {
  0%,80%,100% {transform:translate(0)}
  90%         {transform:translate(26px)}
}