/***************** Start BLN Theme Colors ******************/
@import url('https://fonts.googleapis.com/css?family=Cairo');
html {
  font-family: "Cairo", sans-serif !important;
}


#header_logo,
#loan_navigation,
#bln-api-static-div,
#bln-api-static-div p,
#bln-api-ajax-content-div,
#footer_ctn {
  max-width: 1050px;
  width: 100%;
  margin: 0 auto;
}

.contact-section {
  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;
  background-image: url("/img/background.png");
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100%;
  background-color: #2a2c38;
  background-position: center center;
  transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
  
}

/*   Desktop Menu Styling Start
 */

.nav-contact-info {
  background-color: #2B2B37;
  color: #fff;
  width: 100%;
  height: 45px;
  margin-top: 0px;
  display: flex; 
  justify-content:end;
  align-items: center;
  padding-block: 10px;
  
  float: right;
}
.nav-logo-container{
  display: flex; 
  justify-content: space-between;
  width: 80%;
  align-items: center;
}
.nav-contact-info i {
  color: #FF191A;
  padding: 10px;
}

#header {
 
  height: auto;
  background-color: #ffffff;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  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 {
  
  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;
  color: #2A2C38;
  font-size: 17px;
  font-weight: 600;
  padding: 7px 15px;
  transition: background 0.5s, color 0.5s;
}


#loan_navigation a:hover {
  border-bottom: 3px solid #55595C;
  transition: color 0.1s;
  color: #2A2C38;
}


#loan_navigation .apply {
  border-bottom: 3px solid #55595C;
  color: #2A2C38;
}



/*   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;
  margin: 0px;
}

#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: #FF191A !important;
  border-radius: 5px;
}

.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
 */


.second-container{
  background-color: #FF191A;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100vw;
  min-height: 250vh;
}
.second-container i {
  font-size: 50px;
  color: #525252;
}
.second-card{
  display: flex;
  justify-content: center;
  align-items: center;
  display: inline-block;
  background-color: #ffffff;
  border-radius: 25px;
  width: 35%;
  height: 350px;
  margin: 25px;
  padding: 40px;
  border-bottom:5px inset #FF191A;
}

.second-card:hover{
  transition: border 0.3s;
  border-bottom:5px solid #2D2E3B;
}

.second-sub-container{
  
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding-inline: 10%;
  max-width: 1300px;
}

.third-container{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px;
  margin-block: 20px;
  min-height: 80%;
}

.commercial-lending-card{
  width: 60%;
  margin: 10px;
}

.commercial-icon{
  height: 40px;
  margin-right: 15px;
}

.third-container span{
  color: #FF191A;
  font-weight: bold;
  font-size: 16px;
  margin-block: auto;
}

.commercial-lending-card div{
  
  display: flex;
  align-items: center;
}

.third-container h1{
  font-weight: 700;
  font-size: 40px;
  color: #2B2B37;
}

.third-container p{
  font-weight: 700;
  font-size: 20px;
  color: #6E6C6C;
}

.commercial-img{
  height: 40%;
  width: 90%;
  border-radius: 15px;
  box-shadow: 15px 15px #F5F5F5;
}


.commercial-second-card{
  width: 40%;
  background-color: #F5F5F5;
  border-radius: 25px;
  padding: 2%;
  padding-right: 5%;
  min-height: 80%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.commercial-second-card div{
  display: flex;
  align-items: center;
  margin-block: 10px;
  
  
}
.commercial-second-card h3{
  margin-block: auto;

}

.commercial-second-card p{
  font-weight: 400;
  font-size: 20px;
  
}
.commercial-second-card svg{
  margin-right: 5px;
  
}



/* Contact Us */
.contact-section {
  text-align: center;
  background-color: #2A2C38;
  padding-bottom: 100px;
}

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

.contact__heading {
  color: #FF191A;
  font-size: 2rem;
  font-weight: 800;
  margin: 10px 0px;
}

.contact__info {
  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;
  background-color: #22232D;
  color: #FF191A;
}

.contact__card:hover {
  color: #fff;
}

.contact__card i {
  font-size: 2rem;
}

.contact__card a {
  text-decoration: none !important;
}

/* Footer Start */

#footer {
  margin-top: 0px;
  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);
  background-color: #2A2C38;
}

#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: 1134px) { 
  .second-container{
    background-color: #FF191A;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .second-sub-container{
    width: 90%;
    margin: 0px;
    display: flex;
    padding-inline: 0%;
    justify-content: center;
    align-items: center;
    
  }

  .second-card{
    display: inline-block;
    background-color: #ffffff;
    border-radius: 25px;
    width: 100%;
    height: 80%;
    margin: 15px;
    padding: 40px;
  }

  .third-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 150%;
    margin-block: 0px;
    padding: 0px;
  }

  .commercial-lending-card{
    align-items: center;
    align-content: center;
    width: 90%;
    min-height: 700px;
    margin-bottom: 0%;
  }
  .commercial-second-card{
    width: 90%;
    margin: 60px 10px 10px 10px;
    
    
    
  }

  .commercial-img{
    height: 40%;
    width: 100%;
    border-radius: 15px;
    box-shadow: 15px 15px #F5F5F5;
  }
  
  
  
}

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

  .contact__info {
    flex-direction: column;
  }
  .nav-contact-info {
    display: flex; 
    justify-content:center;
    align-items: center;
    padding-right: 0px;
  }
  
  
}

#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;
  color: #fff;
}

@media screen and (max-width: 550px) {
  #header {
    padding-top: 0px;
  }
  .nav-logo-container {
    display: flex; 
    flex-direction: row;
    
  #header_logo  img{
    width: 150px;
    margin-inline: 50px;
  }
  }
  .nav-contact-info {
    display: flex; 
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  #mobile_menu {
    display: block;
  }

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

  #loan_navigation {
    display: none;
  }

  .form_label {
    float: none !important;
  }

  .contact__card {
    width: auto;
    min-width: 250px;
    
  }
  #footer_ctn {
    padding-bottom: 10px;
  }

  #footer_info {
    float: left;
    font-size: 12px;
    line-height: 15px;
  }

  #footer_logo {
    padding-left: 10px;
  }

  .third-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 150%;
    margin-block: 20px;
    padding: 0px;
  }

  .commercial-lending-card{
    align-items: center;
    align-content: center;
    width: 90%;
    min-height: 700px;
    margin-bottom: 1%;
  }
  .commercial-second-card{
    width: 90%;
    margin: 60px 10px 10px 10px;
    
    
    
  }
}

