/***************** Start BLN Theme Colors ******************/

html {
  font-family: "Arial", sans-serif !important;
}
#header_logo,
#loan_navigation,
#bln-api-static-div,
#bln-api-static-div p,
#bln-api-ajax-content-div,
#footer_ctn,
.contact-section {
  max-width: 1050px;
  width: 100%;
  margin: 0 auto;
}

#loan_navigation a,
#bln-api-ajax-content-div a,
#footer_info div a {
  color: var(--primary-color);
}

#loan_navigation a#current,
#loan_navigation a:hover,
#bln-api-ajax-content-div a:hover,
#bln-api-ajax-content-div h2,
#footer_info div,
#footer_info div a:hover {
  color: var(--secondary-color);
}

/***************** End BLN Theme Colors ******************/
body {
  background-color: #ffffff;
  overflow-x: hidden;
  margin: 0px;
}

body > .home,
body > div {
  z-index: auto;
}

#main {
  /* position: absolute; */
  width: 100%;
  margin: 0 auto;
}

/*   Desktop Menu Styling Start
 */
#header {
  padding: 10px 0 10px;
  height: auto;
  background-color: #ffffff;
  width: 100%;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: -1px 13px 24px -7px rgba(0, 0, 0, 0.08);
  -webkit-box-shadow: -1px 13px 24px -7px rgba(0, 0, 0, 0.08);
  -moz-box-shadow: -1px 13px 24px -7px rgba(0, 0, 0, 0.08);
}

#header_logo {
  background: #ffffff;
}

#logo_img {
  display: block;
  width: auto;
  margin: 0 auto;
  max-height: 130px;
  max-width: 300px;
}

#header_logo {
  float: none;
}

#loan_navigation {
  margin-top: 20px;
  height: 45px;
  float: none;
}

#loan_navigation ul {
  margin: 0;
  padding: 0;
  float: left;
}

#loan_navigation li {
  list-style: none;
  float: left;
  position: relative;
  display: inline;
  width: auto;
  text-align: center;
  margin-inline: 10px;
}

#loan_navigation a {
  text-decoration: none;
  display: block;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 700;
  padding: 7px 15px;
  transition: background 0.5s, color 0.5s;
}

#loan_navigation .circled {
  border: solid 2px var(--primary-color);
  border-radius: 50px;
  box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.1);
}

#loan_navigation .circled:hover {
  background-color: var(--primary-color);
  color: #fff;
}

#loan_navigation .apply {
  border: solid 2px var(--primary-color);
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50px;
  box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.1);
}

#loan_navigation .apply:hover {
  background-color: #fff;
  color: var(--primary-color);
}

/*   Desktop Menu Styling End
 */
/*   Mobile Menu Styling Start
 */
#mobile_menu {
  margin: 0 2.5%;
  display: none;
}

#mobile_menu i {
  font-size: 30px;
  color: var(--primary-color);
}

#sub_mobile_menu {
  display: none;
  position: fixed;
  background: white;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
}

#sub_mobile_menu ul {
  list-style: none;
  margin: 100px 0 0 0;
  padding: 0;
}

#sub_mobile_menu a {
  color: var(--primary-color);
  text-decoration: none;
  text-align: center;
  border-bottom: var(--primary-color) solid 2px;
  margin-inline: auto;
  width: 90%;
  height: 75px;
  display: block;
}

#sub_mobile_menu li {
  line-height: 75px;
  font-size: 20px;
  font-weight: 800;
}

#close_mobile_menu {
  color: var(--primary-color);
  font-size: 30px;
  position: absolute;
  top: 0;
  height: 80px;
  width: 100%;
  margin-top: 20px;
  line-height: 40px;
}

#close_mobile_menu i {
  float: right;
  margin-right: 2.5%;
}

/*   Mobile Menu Styling End
 */

#bln-api-static-div {
  padding-top: 20px;
  font-size: 25px;
  font-weight: bold;
}

#bln-api-static-div p {
  font-size: larger;
}

#bln-api-ajax-content-div h2 {
  font-size: 40px;
}

#bln-api-ajax-content-div p {
  font-size: 16px;
  font-weight: bold;
  color: #000000;
  text-shadow: 0 0 0 #ffffff;
  padding: 0;
}

/*   Form Styling Start
 */

.form,
.new-referral-left .form,
#password_form,
#bln-api-ajax-content-div .form,
#p1e_b_w_dialog_owneroccupy {
  background: #ffffff !important;
  /*border: 3px solid black;*/
  border-radius: 0px;
  width: auto !important;
}
.submit-active,
.form_submit_button input {
  background-color: var(--primary-color) !important;
  border-radius: 50px;
}

.submit-active:hover,
.form_submit_button input:hover {
  background-color: var(--secondary-color) !important;
}

#forgotPasswordForm {
  width: 100% !important;
}

.form,
#password_form {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

#password_form {
  padding: 20px;
}

#forgotPasswordForm {
  width: 100% !important;
}

.form_label {
  float: left !important;
}

#bln-api-ajax-content-div a {
  font-weight: bold;
  text-decoration: none;
}

#bln-api-ajax-content-div .form_entity p {
  font-size: 16px;
  font-weight: bold;
  color: #000000;
  text-shadow: 0 0 0 #ffffff;
  clear: left;
  text-align: left;
}

#p1e_b_w_dialog_owneroccupy {
  background: none !important;
  border: none !important;
}

.form_entity a {
  cursor: pointer;
}

.form .checkbox input[type="checkbox"] {
  margin: 4px !important;
}

.submit-active,
.form_submit_button input {
  -webkit-transition: 0.1s background-color linear, 0.1s color linear;
  -moz-transition: 0.1s background-color linear, 0.1s color linear;
  -o-transition: 0.1s background-color linear, 0.1s color linear;
  transition: 0.1s background-color linear, 0.1s color linear;
  cursor: pointer;
}

.submit-active-previous {
  color: #ffffff !important;
  border: none !important;
}

.ui-dialog.ui-widget.ui-widget-content.ui-corner-all.ui-front.ui-dialog-buttons.ui-draggable.ui-resizable {
  max-width: 100%;
}

/*   Form Styling End
 */

/* Contact Us */
.contact-section {
  text-align: center;
}

.contact__subheading {
  background-color: var(--primary-color);
  display: inline-block;
  padding: 10px;
  border-radius: 50px;
  color: white;
  opacity: 0.5;
}

.contact__heading {
  color: var(--primary-color);
  font-size: 2rem;
  font-weight: 800;
  margin: 10px 0px;
}
.contact-us {
  margin-top: 50px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.contact__card {
  width: auto;
  min-width: 300px;
  height: 200px;
  border-radius: 10px;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
  margin: 10px;
  display: flex;
  font-weight: bold;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  color: var(--primary-color);
  text-decoration: none !important;
}

.contact__card:hover {
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.4);
}

.contact__card i {
  font-size: 2rem;
}
.contact__card a {
  text-decoration: none !important;
}

/* Footer Start */

#footer {
  margin-top: 100px;
  padding: 20px 0px;
  width: 100%;
  box-shadow: 1px -37px 84px -18px rgba(0, 0, 0, 0.08);
  -webkit-box-shadow: 1px -37px 84px -18px rgba(0, 0, 0, 0.08);
  -moz-box-shadow: 1px -37px 84px -18px rgba(0, 0, 0, 0.08);
}

#footer_ctn {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#footer_info {
  font-size: 1rem;
}

#footer_logo img {
  width: 100px;
  height: auto;
}

#footer_info div h3 {
  font-size: 24px;
}

#footer_info div a {
  text-decoration: none;
}

#footer_info i {
  width: 25px;
}

@media screen and (max-width: 950px) {
  .contact-us {
    flex-direction: column;
  }
}

#footer_logo {
  margin: 0 auto;
  width: 100%;
}

#footer_info {
  width: 100%;
}

#footer_info div {
  text-align: center;
  /* These are technically the same, but use both */
  overflow-wrap: break-word;
  word-wrap: break-word;

  -ms-word-break: break-all;
  /* This is the dangerous one in WebKit, as it breaks things wherever */
  word-break: break-all;
  /* Instead use this non-standard one: */
  word-break: break-word;

  /* Adds a hyphen where the word breaks, if supported (No Blink) */
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}

@media screen and (max-width: 550px) {
  #header {
    padding-top: 20px;
  }

  #mobile_menu {
    display: block;
  }
  #logo_img {
    margin: 0 0;
    padding-left: 10px;
  }

  #loan_navigation {
    display: none;
  }

  .form_label {
    float: none !important;
  }
  #footer_ctn {
    padding-bottom: 10px;
  }
  #footer_info {
    float: left;
    font-size: 12px;
    line-height: 15px;
  }
  #footer_logo {
    padding-left: 10px;
  }
}
