@font-face {font-family: "PFDinTextCondPro-Bold";
  src: url("../fonts/PFDinTextCondPro-Bold/9ae3709d644c8df5546e96d0eddc99e1.eot"); /* IE9*/
  src: url("../fonts/PFDinTextCondPro-Bold/9ae3709d644c8df5546e96d0eddc99e1.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
  url("../fonts/PFDinTextCondPro-Bold/9ae3709d644c8df5546e96d0eddc99e1.woff2") format("woff2"), /* chrome、firefox */
  url("../fonts/PFDinTextCondPro-Bold/9ae3709d644c8df5546e96d0eddc99e1.woff") format("woff"), /* chrome、firefox */
  url("../fonts/PFDinTextCondPro-Bold/9ae3709d644c8df5546e96d0eddc99e1.ttf") format("truetype"), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
  url("../fonts/PFDinTextCondPro-Bold/9ae3709d644c8df5546e96d0eddc99e1.svg#PFDinTextCondPro-Bold") format("svg"); /* iOS 4.1- */

  font-family: 'Source-Sans-Pro-Light';
    src:url('../fonts/SourceSansPro-Light/Source-Sans-Pro-Light.ttf.woff') format('woff'),
        url('../fonts/SourceSansPro-Light/Source-Sans-Pro-Light.ttf.svg#Source-Sans-Pro-Light') format('svg'),
        url('../fonts/SourceSansPro-Light/Source-Sans-Pro-Light.ttf.eot'),
        url('../fonts/SourceSansPro-Light/Source-Sans-Pro-Light.ttf.eot?#iefix') format('embedded-opentype'); 
    font-weight: normal;
    font-style: normal;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  overflow: scroll;
  overflow-x: hidden;
}
body{
  font-family: 'Karla', sans-serif;
  overflow-x: hidden;
}
header{padding: 0 5%;}
p, .heading{
  font-weight: 300;
}
.nopadding{
  padding: 0;
}
.btn-white{
  background: #fff;
  color: #1879ba;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 18px;
  margin-top: 20px;
}
.blue-bg{
  background: #1879ba;
}
.pb-10{
  padding: 10px;
}
header{
  box-shadow: rgb(47 51 60 / 20%) 3px 1px 7px;
}
.nav-bar{
  /* height: 95px; */
}
.logo-img{
  width: 80%;
}
.menu-btn{
  font-size: 40px;
}
#menu-items{
  
}
.menu-items ul{
  list-style-type: none;
}
.menu-list{
  margin: 0;
}
.menu-list-item{
  padding: 40px 20px;
}
.menu-list-item a{
  font-size: 20px;
  color: #000;
  font-weight: 500;
  cursor: pointer;
}

.menu-list-item a:hover,.menu-list-item a:focus{
  text-decoration: none;
  color: #718AAE;
  transition: all 0.2s ease-in;
}

/* .menu-list-item a:hover:before{
  content: "";
  width: 100%;
  height: 4px;
  background: #1879ba;
  position: relative;
  top: 50px;
  left: 0;
  display: block;
} */
.menu-list-item:hover > #dropdown{
  display: block;
}
#dropdown{
  display: none;
  position: absolute;
  margin-left: -19px;
  background: #fff;
  color: #000;
  top: 74%;
  z-index: 1;
  border-top: 1px solid #1879ba;
  box-shadow: rgb(47 51 60 / 20%) 0px 5px 6px 1px;
}
.dropdown-list{
  padding: 0;
  margin: 20px;
}
.dropdown-list-item a{
  color: #000;
  font-size: 18px;
}
.show{
  display: flex !important;
}


#myCarousel img{
  height: 80vh;
  width: 100%;
  object-fit: cover;
}
.carousel-control.left, .carousel-control.right {
  background: none;
}
.tiles-img{
  position: relative;
  left: 30px;
}
.img-up-arrow{
  display: none;
}
.img-left-arrow{
  position: absolute;
  z-index: 1;
  left: 0px;
  top: 5px;
  font-size: 60px;
  color: #fff;
}
.tile-1x1{
      padding: 8.89474%;
      background: #fff;
      border: 1px solid #f2f2f2;
      height: 0;
      margin-bottom: 30px;
      padding-bottom: 79%;
      padding-right: 20%;
}

.tile-1x1 .text-wrapper{
  
}

.tile-1x1 .title{
  font-size: 3rem;
  text-transform: uppercase;
}
.tile-1x1 .description{
  font-size: 1.4rem;
}

.tile-1x1 img{
  object-fit: cover;
}

.cards{
  height: auto;
}
.cards .title{
  font-size: 22px;
}
.cards .description{
  font-size: 16px;
  padding: 5%;
}

.cards:after{
  content: "";
  background: #bdbcc26b;
  width: 1px;
  height: 200px;
  position: absolute;
  top: 10%;
  right: -1px;
}
.cards:last-child::after{
  width: 0;
}
#bonus-bar{
  left: -30px;
  /* text-transform: uppercase; */
}
#bonus-bar .tile-1x1{
  padding-bottom: 31.5%;
  padding-right: 4rem;
  padding-top: 1%;
}
#bonus-bar .tile-1x1 .description{
  font-size: 1.5rem;
}
#rss-feed{
  background: #1879ba;
  color: #fff;
  padding: 0;
}
footer{
  padding: 20px 0;
  background: #f2f2f2;
}

#homeloans-banner .img-bg{
  background: url(../img/homeloans/matrix-homeloans-banner.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
  height: 80vh;
}
#about-banner .img-bg{
  background: url(../img/About/matrix-lending-partners-about-banner.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
  height: 80vh;
}
.banner .img-bg .text-wrapper{
  height: 80vh;
  width: 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  padding: 0 50px;
}
.banner .img-bg .text-wrapper .banner-heading{
  font-size: 70px;
  letter-spacing: -.1cm;
  font-weight: 200;
}
.banner .img-bg .text-wrapper .heading-slogan{
  font-size: 27px;
}
.banner .img-bg .text-wrapper .description{
  font-size: 18px;
  margin-top: 35px;
  font-weight: normal;
}
.banner .img-bg .text-wrapper small{
  font-size: 16px;
  margin-top: 12px;
}
#mortgages{
  padding: 50px;
}
#mortgages .heading{
  font-size: 60px;
  margin-bottom: 50px;
}
#mortgages .heading .top{
  font-weight: 100;
}
#mortgages .mortgages-row{
  padding: 50px 60px;
}
#mortgages .mortgages-row:before{
  content: "";
  position: absolute;
  background: rgb(211, 211, 211);
  width: 100%;
  height: 1px;
  text-align: center;
  top: -10px;
  left: 0;
}
#mortgages .mortgages-row:nth-child(2):before{
  width: 0;
}
#mortgages .mortgages-row .text-wrapper .title{
  font-size: 2rem;
  font-weight: 700;
}
#mortgages .mortgages-row .text-wrapper .description{
  font-size: 1.8rem;
  line-height: 1;
}
.card-holder{
  
}
.services-card{
  padding: 0;
  margin: 10px;
  border: 1px solid #dbdbdb;
}
.services-card .title{
  font-weight: 400;
  padding: 10px 20px 15px 20px;
  font-size: 24px;
  height: 100px;
  text-transform: uppercase;
}
#competencies-card .heading{
  margin-bottom: 50px;
  font-size: 4rem;
}
#mortgage-solutions{
  color: #fff;
}
#mortgage-solutions .text-wrapper{
  padding: 50px 30px;
}
#mortgage-solutions .title{
  font-size: 5rem;
  font-weight: 200;
  margin-bottom: 20px;
}
#mortgage-solutions .description{
  font-size: 1.8rem;
}
#login-body{
  height: 100vh;
  width: 100%;
  position: fixed;
  background: #f2f2f2;
}
#login-container{
  height: auto;
  width: 35%;
  padding: 2%;
  box-shadow: 0 0 15px 0 rgb(0 0 0 / 30%);
  background-color: #fff;
}
#login-container .login-wrapper{
  margin: 30px 0;
  font-size: 16px;
}

#login-container .login-wrapper .form-control{
  height: 50px;
  border-radius: 0;
  margin: 10px 0;
  font-size: 18px;
}
#login-container .login-wrapper .btn-gray{
  background: #1879ba;
  border-radius: 0;
  color: #fff;
  width: 100%;
  margin-top: 30px;
  font-size: 18px;
}
#contact-page{
}
#contact-page .right-pane .text-wrapper{
  padding: 20px 50px;
}
#contact-page .right-pane .text-wrapper .contactus{
  margin-bottom: 20px;
}
#contact-page .right-pane .text-wrapper .title{
  font-size: 3rem;
  text-transform: uppercase;
}
#contact-page .right-pane .text-wrapper .address, #contact-page .right-pane .text-wrapper .number{
  font-size: 2rem;
  line-height: 1.3;
  margin: 0;
  padding: 0;
}
#contact-page .right-pane .text-wrapper .number{
  font-size: 2.5rem;
}
#contact-page .right-pane .text-wrapper .number:hover{
  text-decoration: none;
}
#contact-page .left-pane .form-wrapper{
  color: #fff;
  padding: 20px 30px;
}

#contact-page .left-pane .heading{
  color: #fff;
}
#contact-page .phone{
  color: #fff;
}
#contact-page .name{
  line-height: .9;
  padding-top: 12px;
}
#contact-page .mgmt-team img{
  border-radius: 100%;
}
#map{
  height: 180px;
  /* The height is 400 pixels */
  width: 100%;
  /* The width is the width of the web page */
}
.feed-container .content .item .title {
  margin: 20px 0 1px 3px;
}
.menu-btn-div{
  display: none;
}

.blg_grid_lst h2 {
  font-size: 5.2rem !important;
}
@media(max-width:1200px) {
  .tile-1x1 .title{
    font-size: 1.5em;
  }
  .tile-1x1 .description{
    font-size: .9em;
  }
  #bonus-bar .tile-1x1 .description{
    font-size: 1.2em;
  }
}

@media (max-width: 998px) {
  html {
    font-size: 55% !important;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 45% !important;
  }
}
@media(max-width:991px) {
  .menu-btn-div{
    display: flex;
    justify-content: end;
  }
  #dropdown{
    display: none;
    position: absolute;
    margin-left: -19px;
    background: #1879ba;
    color: #fff;
    top: 74%;
    z-index: 1;
    box-shadow: none;
  }
  .dropdown-list-item a{
    color: #fff;
  }
  .logo-img{
    width: 40%;
  }
  #myCarousel img{
    height: 60vh;
  }

  .tile-1x1 .title{
    font-size: 1em;
  }
  .tile-1x1 .description, #bonus-bar .tile-1x1 .description{
    font-size: .7em;
  }
  .cards .description{
    font-size: 14px;
  }
  .cards .title{
    font-size: 18px;
  }
  #menu-items{
    display: none;
    position: absolute;
    z-index: 2;
    background: #fff;
    top: 115px;
    left: 0;
  }
  .menu-items{
    width: 100%;
  }
  #menu-items .menu-list{
    width: 100%;
    display: flex;
    flex-direction: column;
    border-top: 1px solid #1879ba;
  }
  #menu-items .menu-list .menu-list-item{
    padding: 20px 0;
  }
  #dropdown{
    position: relative;
  }
  .menu-list-item:hover > #dropdown {
    display: none;
  }
  .banner .img-bg .text-wrapper{
    width: 100%;
  }
  .banner .img-bg .text-wrapper .banner-heading{
    font-size: 50px;
  }
  .banner .img-bg .text-wrapper .heading-slogan{
    font-size: 25px;
  }
  
  #mortgages .mortgages-row{
    padding: 20px 0;
  }
  
  #mortgages{
    padding: 10px;
  }
  #mortgages .heading {
    font-size: 35px;
    margin-top: 20px;
  }

  
  .services-card .title{
    font-size: 24px;
    height: 50px;
  }
  #login-container{
    height: auto;
    width: 100%;
  }
  #contact-page{
    background-size: contain;
    background-position: 70% 100%;
    background-repeat: no-repeat;
  }
  #contact-page .left-pane .text-wrapper{
    height: auto;
  }
  #contact-page .right-pane .text-wrapper{
    padding: 20px 0;
  }
}
@media(max-width:768px){
  #menu-items{
    top: 95px;
  }
}
@media(max-width:767px){
  #bonus-bar{
    left: 0px;
  }
  #bonus-bar .tile-1x1{
    padding-bottom: 79%;
  }
  .tiles-img{
    left: 0px;
  }
  .img-left-arrow{
    display: none;
  }
  .img-up-arrow{
    position: absolute;
    z-index: 1;
    color: #fff;
    font-size: 100px;
    top: -65px;
    left: 43%;
    display: block;
  }
}
@media(max-width:480px){
  .logo-img {
    width: 60%;
  }
  .tiles-wrapper{
    padding: 0 10%;
  }
  
  #menu-items{
    top: 70px;
  }


  .tile-1x1 .title{
    font-size: 1.5em;
  }
  .tile-1x1 .description{
    font-size: .9em;
  }
  #about-banner .img-bg{
    height: 40vh;
  }
  #about-banner .img-bg .text-wrapper{
    height: 40vh;
  }
  .cards:after, .cards:last-child:after{
    content: "";
    background: #bdbcc26b;
    width: 90%;
    height: 1px;
    position: absolute;
    right: 5%;
    top: 5%;
  }
}
@media(min-width:1500px){
  .tile-1x1 .title{
    font-size: 3rem;
  }
  .tile-1x1 .description{
    font-size: 2.4rem;
  }
  #bonus-bar .tile-1x1 .title{
    font-size: 5rem;
  }
  #bonus-bar .tile-1x1 .description{
    font-size: 2.4rem;
  }
  .menu-list-item a{font-size: 30px;}
  .cards .description{font-size: 3rem;}
  .banner .img-bg .text-wrapper .banner-heading{
    font-size: 120px;
  }
  .banner .img-bg .text-wrapper .heading-slogan{
    font-size: 50px;
  }
  .banner .img-bg .text-wrapper .description{
    font-size: 30px;
  }
  .banner .img-bg .text-wrapper small{
    font-size: 25px;
  }
  .services-card .title{font-size: 35px;}
  #contact-page .right-pane .text-wrapper .address, #contact-page .right-pane .text-wrapper .number{font-size: 3.5rem;}
  #mortgage-solutions .title{
    font-size: 7rem;
  }
  #mortgage-solutions .description{
    font-size: 2.5rem;
  }
  .container-xl{max-width: 2020px !important;}
}

.bg-scribble{
  position: absolute;
  bottom: 0;
  right: 10px;
  transform: rotate(10deg);
  opacity: .2;
}