/*(c) The Kangra Central Co-operative Bank Ltd.
Rajneesh Kumar */





.maturity-calculator-main {
  position: relative;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  min-width: 100%;
  height: 87vh;
  background-image: radial-gradient(
      rgba(0, 166, 80, 0.9) 40%,
      rgba(36, 95, 178, 0.9) 55%
    ),
    url(https://www.kccb.in/wp-content/themes/kccb/assets/images/maturity/background.png);
  background-repeat: no-repeat;
  background-position: center;
  object-fit: cover;
  padding: 1rem;
  margin: 0;
  overflow:hidden;
  font-family: Helvetica, sans-serif;
}

.iconSection {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-direction: column;
  background: transparent;
  flex-basis: 10%;
}

.container-item {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  padding: 1.5rem;
}
.container-item .imgBx {
  position: relative;
  width: 4rem;
  height: 4rem;
  margin-left: 2rem;
  margin-bottom: 0.5rem;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  z-index: 2;
}
.container-item .imgBx img {
  max-width: 100%;
  border-radius: 20%;
  margin: auto auto;
  padding: 2px;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
}

.container-item .imgBx h3 {
  text-align: center;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 5px 0 0 0;
    line-height: normal;
}
.container-item .card-item {
  position: absolute;
  top: -1.5rem;
  left: 1.5rem;
  width: 112px;
  height: 105px;
  margin: 2rem 2rem;
  margin-bottom: 1rem;
  margin-left: 1rem;
  padding: 0.8rem 1rem;
  display: flex;
  flex-direction: column;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
  transition: all 0.5s ease-in-out;
  border-radius: 20%;
  z-index: 1;
  background-image: linear-gradient(
    135deg,
    rgba(0, 166, 80, 0.7) 60%,
    rgba(36, 95, 178, 0.7) 80%
  );
}

.card-item .content h3 {
  position: relative;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  margin-bottom: 2rem;
}

.card-item .content h3::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1rem;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.8);
}

.card-item .content p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin-bottom: 2rem;
  font-weight: 600;
  text-align: justify;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.card-item .content h4 {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
.container-item:hover .card-item {
  background-image: linear-gradient(
    to bottom,
    rgba(0, 166, 80, 0.3) 40%,
    rgba(36, 95, 178, 0.3) 60%
  );
  z-index: 2;
	cursor: pointer;	  
}
.container:hover .imgBx:hover {
	cursor: pointer;
}	
.container-item:hover .imgBx::after {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  right: -125%;
  top: 10%;
  border-left: 2rem solid rgba(255, 255, 255, 0.5);
  border-bottom: 2rem solid transparent;
  border-top: 2rem solid transparent;
  border-right: 2rem solid transparent;
  z-index: 0;
}

						   
.container-item:nth-child(1):hover .card-item {
  top: 2rem;
  left: 10rem;
  width: 15rem;
  height: 20rem;
  border-radius: 10px;
  z-index: 1;
}

.container-item:nth-child(2):hover .card-item {
  top: -5rem;
  left: 10rem;
  width: 15rem;
  height: 22rem;
  border-radius: 10px;
  z-index: 1;
}
.container-item:nth-child(3):hover .card-item {
  top: -15rem;
  left: 10rem;
  width: 15rem;
  height: 25rem;
  border-radius: 10px;
  z-index: 1;
}
.container-item:nth-child(4):hover .card-item {
  top: -20rem;
  left: 10rem;
  width: 15rem;
  height: 23rem;
  border-radius: 10px;
  z-index: 1;
}

.container-item .card-item .content {
  position: relative;
  margin-top: -5rem;
  padding: 0.7rem 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  visibility: hidden;
  opacity: 0;
  transition: 0.3s ease-in-out;
}

.container-item:hover .content {
  visibility: visible;
  color: rgba(0, 0, 0, 0.7);
  opacity: 1;
  margin-top: 0.5rem;
  transition-delay: 0.3s;
}

.formSection {
  position: absolute;
  top: 0%;
  left: 15%;
  width: 75%;
  width: 75%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-basis: 90%;
  overflow: hidden;
}

.formContainer {
  margin-top: 5%;
  margin-left: 0;
  padding: 0;
  margin: 0;
  width: 80%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
}

.form,
.welcomeDiv {
  position: absolute;
  top: 5%;
  left: 15%;
  margin-left: -100%;
  width: 70%;
  height: auto;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px;
  border-radius: 20px;
  background-image: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.6),
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.3)
  );
  transition: margin-left 0.5s ease-in-out;
}

.welcomeDiv {
  margin-left: 0;
  transition: all 0.5s ease-in-out;
}

.welcomeDiv h3 {
  position: relative;
  color: #333;
  font-size: 2.1rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
}

.welcomeDiv h3::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 4px;
  background: #000;
}

.welcomeDiv p {
  margin: 1rem;
  padding: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
  color: rgba(0, 0, 0, 0.8);
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
  text-align: center;
}

.form h2 {
  position: relative;
  color: #333;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  text-align: center;
}

.form h2::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 4px;
  background: #fff;
}

.form .inputBox {
  width: 80%;
  margin: auto auto;
  margin-bottom: 0.2rem;
}

.form .inputBox input {
  width: 100%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  outline: none;
  justify-self: center;
  padding: 2px 2px;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 1rem;
  text-align: center;
  font-weight: 400;
  letter-spacing: 1px;
  color: rgba(0, 0, 0, 0.8);
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.form .select select {
  width: 80%;
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  outline: none;
  padding: 5px 5px;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 1rem;
  text-align: center;
  font-weight: 400;
  letter-spacing: 1px;
  color: rgba(0, 0, 0, 0.8);
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-left: 10%;
  margin-right: 10%;
  cursor: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position-x: 100%;
  background-position-y: 5px;
  text-align: center;
  text-align-last: center;
}

.form .select select > option {
  background: rgba(92, 79, 79, 0.5);
  color: rgba(0, 0, 0, 0.8);
  cursor: inherit;
}

.form .inputBox input::placeholder {
  color: rgba(0, 0, 0, 0.8);
  font-weight: 600;
  text-align: center;
}

.form .inputBox h4,
.form .select h4 {
  color: rgba(0, 0, 0, 0.8);
  font-weight: 600;
  text-align: center;
  margin-bottom: 10px;
  visibility: hidden;
}

.form .buttonBox {
  display: flex;
  width: 90%;
  margin: auto;
  justify-content: center;
  align-items: center;
}

.form .inputBox input[type="submit"],
.form .inputBox input[type="button"] {
  display: block;
  background: #fff;
  color: #666;
  width: 90%;
  cursor: pointer;
  margin-bottom: 5px;
  margin-left: 10px;
  padding: 10px;
  font-weight: 600;
  text-align: center;
  margin-top: 1rem;
  border: 2px solid #999;
}

.form .inputBox input[type="submit"]:hover,
.form .inputBox input[type="submit"]:focus,
.form .inputBox input[type="button"]:hover,
.form .inputBox input[type="button"]:focus {
  background: rgba(0, 0, 0, 0.2);
  box-shadow: inset -4px -4px 4px rgba(255, 255, 255, 0.5);
  color: #ffff;
  transition: 0.2s ease-in-out;
}

#emiFormDiv {
  margin-top: -2%;
  height:auto;
}
#rdForm h2 {
  margin-top: 20px;
}
#rdForm .inputBox {
  margin-top: 10px;
  margin-bottom: 10px;
}


.close {
  display: none;
}
@media only screen and (min-width: 1400px) {
 .welcomeDiv p {
  line-height: 1.5;
}

  .iconSection {
    position: absolute;
    top: 5%;
    left: 0;
  }
  .container-item .imgBx {
    margin-bottom: 2rem;
  }
  .form .inputBox {
    margin-bottom: 0.5rem;
  }
  .form .inputBox input,
  .form .select select {
    margin-bottom: 0.5rem;
  }
  .form .inputBox h4,
  .form .select h4 {
    margin-bottom: 0.2rem;
  }
  
  
}
