*, *:before, *:after {
  box-sizing: inherit;
}

html {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

p {
  margin: 0;
  padding: 0;
  line-height: 1.6 !important;
}

button:focus {
  outline: none !important;
}

ul, ol {
  list-style-type: none !important;
  padding: 0;
}
ul li, ol li {
  list-style: none !important;
  font-size: 16px;
}

*:focus, option {
  outline: none !important;
}

a {
  cursor: pointer;
  color: unset;
}
a:hover {
  text-decoration: none !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

select::-ms-expand {
  display: none !important;
}

select {
  -moz-appearance: none;
  -webkit-appearance: none;
}

.btn.focus, .btn:focus {
  outline: none !important;
}

select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}

body, input, textarea, option, select, table, form, p, a, pre, ul {
  font-family: "Casper", sans-serif !important;
}

h1, .h1 {
  font-size: 2.1rem !important;
  font-weight: normal !important;
}
@media screen and (max-width: 768px) {
  h1, .h1 {
    font-size: 1.7rem !important;
  }
}

h2, .h2 {
  font-size: 2.1rem !important;
  font-weight: normal !important;
}
@media screen and (max-width: 768px) {
  h2, .h2 {
    font-size: 1.7rem !important;
  }
}

h3, .h3 {
  font-size: 1.25rem;
}
@media screen and (max-width: 768px) {
  h3, .h3 {
    font-size: 1.1rem;
  }
}

.text-primary {
  color: #52B2D9 !important;
}

.text-danger {
  color: #FF0000 !important;
}

.grey-bgc {
  background: #F4F4F4;
}

.bold {
  font-weight: 800 !important;
}

.login {
  height: 80vh;
  display: flex;
  align-items: center;
}

@media screen and (max-width: 1366px) {
  .login {
    margin-top: 2rem;
  }
}
.primary-button {
  font-weight: bold;
  background: #52B2D9;
  border-radius: 7px;
  color: #fff;
  padding: 1.1rem 3.7rem;
  border: 2px solid #52B2D9;
  transition: 0.3s all;
}
.primary-button:hover {
  background: #fff;
  color: #52B2D9;
  transition: 0.3s all;
}
.primary-button.outline {
  background: #fff;
  color: #52B2D9;
}
.primary-button.outline:hover {
  background: #52B2D9;
  color: #fff;
}

.pattern {
  width: 100%;
  overflow: hidden;
  position: absolute;
  height: 100%;
  top: 0;
  z-index: -1;
}
.pattern img {
  position: absolute;
  right: -19rem;
  top: -20rem;
}
.pattern.pattern-loan {
  overflow: visible;
}
@media screen and (max-width: 768px) {
  .pattern {
    display: none;
  }
}

.nav {
  display: flex;
  align-items: center;
}

.navbar {
  text-align: right;
}
.navbar .navbar-collapse {
  padding-top: 2rem;
}
@media screen and (max-width: 768px) {
  .navbar .navbar-collapse {
    padding-top: 2rem;
  }
}

.logo {
  text-align: center;
  padding: 1rem 0;
}

.original-site {
  display: flex;
}
@media screen and (max-width: 768px) {
  .original-site {
    justify-content: center;
  }
}
.original-site .outline i {
  padding-right: 1rem;
}
@media screen and (max-width: 768px) {
  .original-site {
    text-align: center;
  }
}

.entrance {
  width: 100%;
  margin: 1rem 0;
}

.form-floating input {
  height: 4.3rem;
  border-radius: 7px;
}

.form-control:focus {
  border-color: #52B2D9;
  box-shadow: 0 0 0 0.1rem #52b2d959;
}

textarea {
  border-radius: 7px;
  border: 1px solid #ced4da;
}
textarea:focus {
  border-color: #52B2D9;
  box-shadow: 0 0 0 0.1rem #52b2d959;
}

.signup {
  margin: 3.1rem 0;
}

.form-floating {
  position: relative;
}
.form-floating input, .form-floating textarea {
  margin: 1rem 0;
  padding-top: 1.3rem !important;
}
.form-floating input + label,
.form-floating textarea + label {
  position: absolute;
  left: 0.8rem;
  top: 1.4em;
  transition: transform 200ms ease;
  pointer-events: none;
}
.form-floating input:focus {
  padding-top: 1.3rem !important;
}
.form-floating input:focus + label,
.form-floating input + label.freeze,
.form-floating textarea:focus + label,
.form-floating textarea + label.freeze {
  color: #868686;
  font-size: 12px;
  transform: translateY(-0.1em);
}
.form-floating textarea {
  width: 100%;
  padding-top: 1.7rem;
}
.form-floating textarea:focus {
  padding-top: 2rem;
}

.form-floating textarea + label {
  top: 0.7rem;
}

.my-profile {
  display: flex;
  align-items: center;
  padding: 0;
  justify-content: flex-end;
  font-weight: bold;
}
.my-profile .user {
  color: #52B2D9;
  padding-right: 1rem;
}
.my-profile .user a:hover {
  color: #52B2D9 !important;
}

.active-loan h1 {
  width: 30%;
}
@media screen and (max-width: 768px) {
  .active-loan h1 {
    width: 100%;
  }
}

.expire {
  display: flex;
  align-items: center;
}

.table-container {
  background: #fff;
  margin-top: 1.4rem;
  border: 1px solid #52B2D9;
  border-radius: 7px;
  padding: 1.25rem;
}

.current-table {
  position: relative;
}
.current-table .slide-arrow {
  padding-right: 0;
}
.current-table .slide-arrow .mobile-slide {
  display: none;
}
@media screen and (max-width: 768px) {
  .current-table .slide-arrow .mobile-slide {
    position: absolute;
    display: block;
    font-size: 1.5rem;
    right: -0.3rem;
    color: #dee2e6;
  }
}

.current-tab .info {
  transition: 0.3s all;
  cursor: pointer;
}
.current-tab .info:hover {
  background: #F4F4F4;
  transition: 0.3s all;
}
@media screen and (max-width: 768px) {
  .current-tab .info:hover {
    background: unset;
  }
}

.category th:first-child {
  padding-left: 0.4rem;
}
.category th {
  color: #868686;
  border: 0 !important;
  padding-left: 0;
  padding-right: 1.2rem;
  font-weight: normal;
  font-size: 0.7rem;
}
@media screen and (max-width: 768px) {
  .category th {
    font-size: 0.8rem;
  }
}

.show-info {
  display: none;
  background: #F4F4F4;
  border-radius: 7px;
  border: 0;
  padding: 2.5rem;
}
@media screen and (max-width: 768px) {
  .show-info {
    padding: 1rem;
  }
}
.show-info tbody tr td {
  font-weight: bold;
}
@media screen and (max-width: 768px) {
  .show-info tbody tr td {
    font-size: 0.9rem;
  }
}
.show-info table {
  margin-top: 1rem;
}

.next-payment {
  margin: 1rem 0;
  font-size: 10px;
}

.loan-info {
  padding-right: 1rem;
}
@media screen and (max-width: 768px) {
  .loan-info {
    padding-right: 1.5rem;
  }
  .loan-info p {
    font-size: 0.8rem !important;
  }
}
.loan-info p {
  font-weight: normal;
  font-size: 0.7rem;
}

.info-heading {
  padding-bottom: 2rem;
  border-bottom: 1px solid #dee2e6;
}
@media screen and (max-width: 768px) {
  .info-heading {
    font-size: 14px;
  }
}

.info {
  padding: 1.8rem 0;
}
.info td:first-child {
  padding-left: 0.4rem;
}
.info td {
  font-weight: bold !important;
  padding: 1.8rem 0;
}
@media screen and (max-width: 768px) {
  .info td {
    padding-right: 0.5rem;
    padding-bottom: 0;
    font-size: 12px;
  }
}

.details {
  padding-left: 5rem !important;
}
@media screen and (max-width: 768px) {
  .details {
    padding-left: 0 !important;
  }
}

.align-status {
  text-align: end;
}
@media screen and (max-width: 768px) {
  .align-status {
    text-align: unset;
  }
}

.open-tab {
  padding-left: 5.6rem !important;
}
.open-tab a {
  border: 2px solid #F8A238;
  padding: 0.5rem 0.5rem 0.2rem 0.5rem;
}
@media screen and (max-width: 768px) {
  .open-tab a {
    padding: 0.6rem 0.3rem 0.2rem 0.4rem;
  }
}
@media screen and (max-width: 768px) {
  .open-tab {
    padding-left: 0.9rem !important;
  }
}
.open-tab i {
  color: #52B2D9;
  font-size: 20px;
}

.accordion {
  background-color: #eee;
}

.opened {
  transform: rotate(90deg);
  transition: 0.3s all;
}

.bank-fees h3 {
  font-weight: bold;
  padding: 1rem 0 1rem 0;
  border-top: 1px solid #dee2e6;
}
.bank-fees ul li {
  font-weight: bold;
}

.contacts {
  padding: 3.5rem;
  margin: 2.8rem 0 5.1rem 0;
}
@media screen and (max-width: 768px) {
  .contacts {
    padding: 1.5rem;
  }
}
