@font-face {
  font-family: 'pp_moriextralight';
  src: url('fonts/ppmori-extralight-webfont.woff2') format('woff2'),
       url('fonts/ppmori-extralight-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'pp_moriregular';
  src: url('fonts/ppmori-regular-webfont.woff2') format('woff2'),
       url('fonts/ppmori-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'pp_morisemibold';
  src: url('fonts/ppmori-semibold-webfont.woff2') format('woff2'),
       url('fonts/ppmori-semibold-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

html {
    scroll-behavior: smooth;
  }
body {
  font-family: 'pp_moriregular';
  font-size: 18px;    
  color:#312D2A;
}
b {
  font-family: 'pp_morisemibold';
}
header {
  background: transparent;
  border: none;
  width:100%;
  position: fixed;
  z-index: 999;
}
.navbar-expand-lg .navbar-collapse ul {
  margin-left: auto;
  margin-right: auto;
}
li.nav-item {
  padding-left: 15px;
  padding-right: 15px;
}
li.nav-item a {
  color:#000 !important;
  text-transform: uppercase;
}
li.nav-item.active a {
  color: #005FB0 !important;
}
.bg-light {
  background: transparent !important;
}
h3 {
  display: flex;
  font-size: 32px;
}
h3.white {
  font-size: 45px;
}
.row {
  margin: 0px;
  padding: 0px;
}
.shrink {
  background:#fff;
  position:fixed;
  top:0;
  left:0;
  z-index: 999;
}
li.nav-item {
  display: flex;
  align-items: flex-end;
}
.container-fluid {
  padding: 0px;
}
.module {
  position: relative;
}
.module-special {
  position: absolute;
}
.module-special {
  top: 0;
  position: absolute;
  right: -52%;
  width: 120%;
  top: 10px;
}
.d-flex-m img {
  width: 13%;
  margin: 26px 15px; 
}
.bg-white {
  padding: 25px;
}
.white {
  color: #fff;
}
.d-flex-middle,
.d-flex-m {
  display: flex; 
  align-items: center;
}
.homebuilder {
  background:#23226D;
  position:relative;
  margin-top: 10vh;
  z-index: 9;
  margin-left: 100px;
}
.homebuilder::after {
  content:'';
  position: absolute;
  left: -100px;
  top: -65px;
  width: 200px;
  height: 200px;
  background: url(../img/circle.svg) no-repeat;
  background-size: 100%;
  z-index: -1;
  animation: animName 4s linear infinite;
}
.blue {
  color: #215FAB;
}
.arrow {
  background: url(../img/arrow.svg) no-repeat;  
  height: 45px;
  width: 45px;
  margin-right: 65px;  
}
.socialmedia {
  display: flex;
  grid-gap: 10px;
  margin-top: 30px;
  margin-bottom: 20px;
}
.facebook {
  background: url(../img/facebook.svg) no-repeat;
  width: 28px;
  height: 28px;  
}
.instagram {
  background: url(../img/insta.svg) no-repeat;
  width: 28px;
  height: 28px;  
}
.linkedin {
  background: url(../img/linkedin.svg) no-repeat;
  width: 28px;
  height: 28px;  
}
.follow {
  background: url(../img/angle.svg) no-repeat top right #23226D;
  text-align: center;
  padding: 45px 20px;
  position: relative;  
  margin-top: -45px;
}
.follow .socialmedia  {
  margin-left: 2vh;
}
.follow h3 {
  font-size: 24px;
}
.follow::before {
  content:'';
  background: #23226D;
  width: 180px;
  height: 100%;
  position: absolute;
  top: 0px;
  left: -178px;
  z-index: -1;
}
.first {
  padding-top: 100px;
}
.projects-img {
  max-width: 120%;
  margin-top: -345px;
  margin-left: -20%;
}
.relative {
  position: relative;
}
.relative h3 {
  position: absolute;
  top: 45px;
  left: 20px;
}
.ml-neg {
  margin-left: -125px;
}
.img-fluid.services {
  max-width: 200px;
}
.row.d-flex-middle.margn-top {
  margin-top: -190px;
}
.blue-triangle {
  background: url(../img/blue.svg) no-repeat right bottom;
  background-size: 16.6%;
}
.carousel-control-next, .carousel-control-prev {
  border: none;
  background-color: transparent;
  opacity: 1;
  width: 50px;
}
span.carousel-control-next-icon {
  background: url(../img/arrow-right.svg) no-repeat;
  height: 50px;  
  width: 50px;
  margin-right: -30px;
}
span.carousel-control-prev-icon {
  background: url(../img/arrow-left.svg) no-repeat;
  height: 50px;  
  width: 50px;
  margin-left: -30px;
}
img.roofing-circle {
  width: 24%;
  margin-right: 5%;
}
.flex-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  grid-gap: 45px;
}
.flex-logo img {
  width: 120px; 
}
.map iframe {
  margin-top: -1px;
  width: 100%;
}
.vission {
  background: rgb(0,173,233);
  background: radial-gradient(circle, rgba(0,173,233,1) 5%, rgba(1,105,178,1) 57%, rgba(37,14,66,1) 100%);
  border-radius: 8px;
  color:#fff;
  padding: 30px 25px;
}
.vission h4 {
  font-size: 36px;
  margin-top: 0 !important;
  margin-bottom: 15px !important;
}
.mission h4 {
  font-size: 36px;  
  margin-bottom: 35px !important;
  margin-top: 65px !important;
}
.mission p {
  margin-bottom: 20px;
  padding-left: 45px;
}
.arrow-left {
  background: url(../img/arrow.svg) no-repeat;
  background-size: 30px;
}
.blu-dark {
  background: #1D1D67;
  border-radius: 8px;
  color:#fff;
  margin-top: 45px;
  padding: 30px 25px;
}
/***Scroll text*****/
.gray {  
  overflow-x: hidden;
}
.news-message {
  display : flex;
  flex-shrink: 0;
  height: 50px;
  align-items: center;
  animation: slide-left 20s linear infinite;
}
.gray span {
  min-width: 25%;
  text-align: center;
  font-size: 20px;
}
.dark-blue-angled {
  background: #1D1D67;
  color:#fff;
  padding: 30px 25px;
}
.dark-midblue-angled {
  background: url(../img/angle-md-3.svg) #005FAB no-repeat top left;
  background-size: 50px;
  margin-top: -2px;
  padding-left: 65px;
  padding-top: 25px;
  padding-bottom: 25px;
  padding-right: 30px;
  color:#fff; 
}
.dark-midblue-angled-2 {
  background: url(../img/angle-md-2.svg) #005FAB no-repeat top left;
  background-size: 50px;
  margin-top: -2px;
  padding-left: 65px;
  padding-top: 25px;
  padding-bottom: 25px;
  padding-right: 30px;
  color:#fff; 
}
.dark-lightblue-angled {
  background: url(../img/angle-md-4.svg) #00AEEA no-repeat top left;
  background-size: 50px;
  margin-top: -2px;
  padding-left: 65px;
  padding-top: 25px;
  padding-bottom: 25px;
  padding-right: 30px;
  color:#fff; 
}
.angle-md {
  background: url(../img/angle-md.svg) #1D1D67 no-repeat top left;
  background-size: 50px;
  margin-top: -2px;
  padding-left: 65px;
  padding-top: 25px;
  padding-bottom: 25px;
  padding-right: 30px;
}
/**Animation**/
@keyframes pulse-ring {
  0% {
    transform: scale(.33);
  }
  80%, 100% {
    opacity: 0;
  }
}

@keyframes pulse-dot {
  0% {
    transform: scale(.8);
  }
  50% {
    transform: scale(1);
  }
  100% {
    transform: scale(.8);
  }
}
@keyframes slide-left {
  from {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  to {
    -webkit-transform: translateX(-150%);
            transform: translateX(-150%);
  }
}

/*****contact*****/
#contactform input {
  height: 40px;
  border-radius: 4pt;
  border: none;
  padding: 10px;
  width: 90%;
}
#contactform textarea {  
  border-radius: 4pt;
  border: none;
  height: 110px;
  padding: 10px;
  width: 90%;
}
#contactform label {
  color:#fff;
  display: block;
  font-size: 14px;
  margin-top: 10px;
  margin-bottom: 15px;
}
.btn-send {
  background: #005FB0;
  color:#fff;
  height: 45px !important;
}
.content-aligned {
  padding-left: 110px;
}
/*****section****/
.roofing-bottom {
  background: url(../img/spark.svg) no-repeat bottom right;
  background-size: 12%;
}
.roofing-bottom .container-fluid {
  background: url(../img/graytriangle.svg) no-repeat bottom left;
  background-size: 22%;
  min-height: 60vh;
}
.dark-blue {
  background: #23226D;
  margin-top: -2px
}
.about {
  background: #23226D;
  position: relative;
  z-index: 2;
}
.roofing {
  position: relative;
}
.roofing h5 {
  font-family: 'pp_morisemibold';
  position: absolute;
  bottom: 50%;
  left: 0;
  text-align: center;
  display: block;
  width: 100%;
}
.roofing h5 span {
  margin-right: 15px;
  margin-left: 15px;
}
.about::before {
  content:'';
  position: absolute;
  left: 0px;
  top: -160px;
  width: 300px;
  height: 300px;
  background: url(../img/triangle.svg) no-repeat;  
}
.roof-right,
.roof-on {
  position: relative;  
}
.roof-on::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  background: url(../img/triangle-blue.svg) no-repeat;
  width: 90px;
  height: 200px;
}
.roof-img {
  width: 120%;
  position: absolute;
  right: -67%;
  top: -40%;
}
.roof-right::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0px;
  background: url(../img/triangel-three.svg) no-repeat;
  background-size: 100%;
  width: 100%;
  height: 870px;
}
.mrgin-top {
  margin-top: -65px;
}
ul.left {
  width: 47%;
  margin-right: 1%;
  float: left;
}
ul.right {
  width: 48%;
  float: right;
}
.z-index {
  position: relative;
  z-index: 2;
}
.middle {
  background: url(../img/pattern.svg) left bottom no-repeat;
  background-size: 100%;
  padding-bottom: 140px !important;
}
ul.content {
  font-size: 20px;
}
ul.flex {
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
}
ul.flex li {
  margin-right: 35px;
  margin-bottom: 10px;
}
.logo-content {
  width: 60%;
  margin-left: 20%;
}
section.Buendia {
  background: url(../img/buendia-bg.svg) no-repeat right top;
  background-size: 33%;
  margin-top: -400px;
}
.text-right h3 {
  display: block;
  text-align: right;
  width: 100%;
}
.content-white {
  background: #fff;
  margin-left: -45px;
  padding: 35px 25px;
}
.gray {
  background: #E2E0DF;
  padding: 15px 20px;
  text-align: center;
}
.gray h4 {
  margin-bottom: 0;
  font-size: 19px;
}
.projects {
  position: relative;
}
.projects h3 {
  position: absolute;
  left: 20px;
  top: 75%;
}
/***footer****/
footer {
  background: #215FAB;  
  color:#fff;
  font-size: 14px;
  padding: 30px 0px;
}
footer ul {
  list-style-type: none;
  padding-left: 0px;
}
footer a {
  color:#fff;
  font-size: 14px;
}
.logo-footer {
  margin-bottom: 50px;
}
section.left-title {
  position: relative;
}
section.left-title h3 {
  position: absolute;
  left: 20px;
  top: 50%;
}
/***********Animation***********/
@keyframes animName {
  0%{
     transform: rotate(0deg);
    }
 100%{
     transform: rotate(360deg);
    }
 }
@-webkit-keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.shrink,
.animate__fadeInDown {
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown;
}
.img-hover:hover .content-hover,
.bottom {
  -webkit-animation-duration: .5s;
  animation-duration: .5s;
}
.shrink {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
}
.inline-photo {
  opacity: 0;
  -webkit-transform: translateY(4em) rotateZ(0deg);
          transform: translateY(4em) rotateZ(0deg);
  -webkit-transition: opacity 0.3s 0.25s ease-out, -webkit-transform 4s 0.25s cubic-bezier(0, 1, 0.3, 1);
  transition: opacity 0.3s 0.25s ease-out, -webkit-transform 4s 0.25s cubic-bezier(0, 1, 0.3, 1);
  transition: transform 4s 0.25s cubic-bezier(0, 1, 0.3, 1), opacity 0.3s 0.25s ease-out;
  transition: transform 4s 0.25s cubic-bezier(0, 1, 0.3, 1), opacity 0.3s 0.25s ease-out, -webkit-transform 4s 0.25s cubic-bezier(0, 1, 0.3, 1);
  will-change: transform, opacity;
}
.inline-photo.is-visible {
  opacity: 1;
  -webkit-transform: rotateZ(0deg);
          transform: rotateZ(0deg);
}
/****End animation******/
@media (max-width:992px) {
  button.navbar-toggler {
    border: none !important;
    margin-left: auto;
  }
  ul.navbar-nav {
    background-color: #fff;
    box-shadow: #0000002a 1px 1px 8px 2px;
    width: 100%;
    padding: 25px;
  }
  li.nav-item,
  ul.navbar-nav a {
    display: block;
    width: 100%;
  }
}
@media (max-width:768px) {
  .module {
    overflow: hidden;
  }
  .col-md-5.offset-md-1.roofing {
    margin-top: 100px;
    min-height: 60vh;
  }  
  .projects-img,
  .roof-right::before,
  .roof-on,
  .about::before {
    display: none;
  }
  .follow {
    background: url(../img/angle.svg) no-repeat right -10px #23226D;
    text-align: center;
    padding: 45px 20px;
    position: relative;
    margin-top: -0px;
    background-size: 30%;
    margin-bottom: -5px;
  }
  .bg-white {
    padding: 25px;
    width: 90%;
    margin-left: 5%;
    margin-bottom: 45px;
  }
  section.middle {
    padding: 20px;
  }
  .flex-inverse {
    display: flex;
    flex-direction: column-reverse;
  }
  .flex-inverse h2,
  .middle .blue  {
    margin-top: 40px;
  }
  #contact {
    padding: 0px 20px;
  }
  #contact img {
    margin-left: -20px;
  }
  img.logo-content {
    width: 90%;
    margin-left: 5% !important;
  }
  section.Buendia {
    margin-top: 0px;
    text-align: center;
  }
  section.Buendia img {
    margin-bottom: 40px;
  }
  .content-white {
    width: 80%;
    margin-left: 10%;
    margin-top: -85px;
  }
  .m-description {
    padding: 20px;
  }
  #commercial img.services,
  .second img {
    width: 150px;
    margin-bottom: 40px;
    margin-left: 0px;
  }
  .ml-neg {
    margin-left: 0px;
  }
  .row.d-flex-middle.margn-top {
    margin-top: 40px;
  }
  .content-roofing img {
    margin-bottom: 45px;
  }
  .content-aligned {
    padding: 0px;
  }
  .d-flex-m img {
    width: 22%;
    margin: 26px 15px;
 }.news-message {
  display : flex;
  flex-shrink: 0;
  height: 50px;
  align-items: center;
  animation: slide-left 10s linear infinite;
}
.gray span {
  min-width: 110%;
  text-align: center;
  font-size: 20px;
}
    h3.white,
    .homebuilder {
    font-size: 38px !important;
}
.roofing h5 {
    font-size: 14px;
}
}