@font-face {
    font-family: Metropolis;
    src: url(../fonts/Metropolis-Regular.otf);
  }
  @font-face {
    font-family: MetropolisLight;
    src: url(../fonts/Metropolis-Light.otf);
    font-weight: 300;
  }
  @font-face {
    font-family: MetropolisMedium;
    src: url(../fonts/Metropolis-Medium.otf);
    font-weight: 500;
  }
  @font-face {
    font-family: MetropolisBold;
    src: url(../fonts/Metropolis-Bold.otf);
    font-weight: 600;
  }
  @font-face {
    font-family: MetropolisBlack;
    src: url(../fonts/Metropolis-Black.otf);
    font-weight: 800;
  }

body {
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
}
.topnav {
    height: 24px;
    background-color: #212121;
    line-height: 24px;
}
.topnav ul li {
    list-style: none;
    display: inline;
    margin-right: 21px;  
    line-height: 24px; 
}
.topnav ul li a {
    color: #eee;
    font-size: 12px;
    line-height: 24px;
    font-family: MetropolisLight;
}
.navbar-light .navbar-nav .nav-link {
    text-transform: uppercase;
    font-family: Metropolis;
}
.hero {
    background-image: url(../img/herobg.jpg);
    display: flex;
    align-items: center;
    min-height: 650px;
    width: 100%;
    height: 650px;
    background-size: cover;
    background-position: center center;
}
p {
    font-family: Metropolis; 
    color: #8c8e91;
    font-size: 15px !important;
    line-height: 21px;
}
.ideas h2 strong {
    font-family: MetropolisBlack;
    color: #000;
}
h1.main-title {
    font-family: MetropolisLight; 
     /* display: inline-block; */
    /*flex-direction: column; */
    padding: 10px 10px 10px 60px;
    /* align-items:center; */
    justify-content: center;
    background-image: url(../img/dots.png);
    background-repeat: no-repeat;
    color: #fff !important;
    font-size: 80px;
    text-transform: uppercase;
}
h1.main-title strong {
    font-family: MetropolisBold; 
}
h2 {
    font-family: MetropolisBold; 
    color:#434343;
  font-size: 42px;  
  margin-top: 21px;
}
.leftblue {
    border-left: 8px solid #0e6bad;
    padding-left: 0;
    padding-left: 21px;
    margin-right: 12px;
    font-weight: bold;
}
.rectangle {
    position: relative;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(100, 100, 100, 0.3);
}
.rectangle img {
    position: absolute;
    top: -50px;
}
.imgplaceholder {
    width: 675px;
    height: auto;
}
.cetech {
    background-image: url(../img/cetech.jpg);
    background-position: center center;
    width: 100%;
    height: 400px;
    position: absolute;
    top: -50px;
}
.marksol {
    background-image: url(../img/marksolut.jpg);
    background-position: center center;
    width: 100%;
    height: 400px;
    position: absolute;
    top: -50px;
}
.icm {
    background-image: url(../img/icm.jpg);
    background-position: center center;
    width: 100%;
    height: 400px;
    position: absolute;
    top: -50px;
}
.rei {
    background-image: url(../img/rei.jpg);
    background-position: center center;
    width: 100%;
    height: 400px;
    position: absolute;
    top: -50px;
}
.divider-sm {
    display:block;
    height: 20px;
    width: 100%;
}
.divider-md {
    display:block;
    height: 30px;
    width: 100%;
}
.divider-lg {
    display:block;
    height: 40px;
    width: 100%;
}
.divider-xl {
    display:block;
    height: 50px;
    width: 100%;
}
.divider-xxl {
    display:block;
    height: 100px;
    width: 100%;
}
.redbutton {
    display: inline-block;
    background-color: #db1b1b;
    color: #fff;
    padding: 12px 26px;
    margin-top: 14px;
    font-family: MetropolisMedium;
}
.redbutton:hover {
    background-color: #c41919;
}
a.redbutton:hover  {
    text-decoration: none !important;
    color: #fff !important;
}
.line {
    height: 2px;
    width: 300px;
    display:block;
    background-color: #0e6bad;
}
.learnmore {
    font-family: MetropolisBold;
    display: inline-block;
    text-transform: uppercase;
    color: #026bac;
    padding-bottom: 8px;
    border-bottom: 4px solid #026bac;
    margin-bottom: 21px;
}
.learnmore:hover {
    color: #8c8e91;
    text-decoration:none;
    border-bottom: 4px solid #8c8e91;
}
.brand-text {
    min-height: 110px;    
    width: 90%;
    margin: 0 auto;
}
.visitweb {
    background-color: #026bac;
    padding: 12px 32px;
    color: #fff;
}
.visitweb:hover {
    color: #fff;
    text-decoration: none;
    background-color: #00588f;
    box-shadow: 0 0 12px rgba(100, 100, 100, 0.2);
}
.nav-link:focus, .nav-link:hover {
    text-decoration: none;
    font-weight: 400;
    color: #000 !important;
}
/* house CSS */

.dotanim {
    animation: changeshape 2s .5s infinite alternate-reverse;

}
.base {
    display: inline-block;  
    margin-left: -15px;
  }
  /* .base:before {
    border-bottom: 35px solid red;
    border-left: 33px solid transparent;
    border-right: 33px solid transparent;
    content: "";
    height: 0;
    left: 0;
    position: absolute;
    top: -35px;
    width: 0;
  } */

  @keyframes changeshape {
      0% { 
        background: #c41919;       
        height: 20px;     
        width: 20px;
        border-radius: 0%;
        }
      25% {
        background: #026bac;   
    height: 20px;        
    width: 20px;
    border-radius: 50%;
      }  
      50% {
        background: #c41919;   
    height: 20px;        
    width: 20px;
    border-radius: 0%;
      }  
      100% {
        background: #026bac;   
    height: 20px;        
    width: 20px;
    border-radius: 50%;
      }  
  }

  /* FOOTER */

  footer {
      background-color: #fff;
      color: #484949;
  }
  footer a {
    color: #484949;
    font-family: MetropolisLight;
  }
  .copyright {
      background-color: #f7f7f7;
      font-size: 12px;
      height: 40px;
      line-height: 40px;
      border-top: 4px solid #cd2027;    
  }
  .copyright a {
      color: #434343;
  }
  footer ul {
      padding-left: 0;
  }
  .newsletter input {
      padding: 6px 10px;
      width: 90%;
  }
  p.footertitle {
      text-transform: uppercase;
      font-size: 21px !important;
      font-family: MetropolisLight;
  }
  footer li {
    list-style: none;
  }
  .social li {     
      display: inline;
      margin-right: 16px;
  }
  a.subscribe {
      display:inline-block;
      background-color: #0e6bad;
      color: #fff;
      padding: 10px 48px;
      margin-top: 21px;
  }

  /* CONTACT PAGE */
  /* CONTACT PAGE */
  /* CONTACT PAGE */
  .contactform form input {
      display: block;
      width: 100%;
      height: 48px;
      line-height: 48px;
      margin-top: 12px;
      padding-left: 12px;
  }
  .contactform form textarea {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding-left: 12px;
  }
  .contactform form a {
    display: inline-block;
    padding: 12px 54px;
}
.lightbox {
    background-color: #f4f9fc;
    box-shadow: 0 0 6px rgba(100, 100, 100, 0.3);
}
.contactinfo ul {
   margin: 0;
   padding: 0;
   list-style: none;
}
.contactinfo ul li {
    display: flex;
    flex-direction: row;
    margin-top: 16px;
}
.contactinfo ul li div {
    text-align:left;
    min-width: 48px;
}

  @media screen and (max-width: 767px) {
      .rectangle img, .cetech, .icm, .rei, .marksol {
          position: unset !important;
          background-size: 100%;
          background-position:center top;
          display: block !important;
          width: 100%;
          height: auto;
          min-height: 200px;
      }
      .bg-light {
        display: flex;
        flex-direction: row-reverse;
    }
      .imgplaceholder {
          width: auto;
          min-height: 200px;
          /* height: auto; */
      }
      h1.main-title {
        padding: 10px 10px 10px 30px;
        font-size: 40px;
      }
      h2 {
        font-size: 28px;
      }
      .text-right {
        text-align: left !important;
    }
    .topnav ul {
      padding-left: 12px;
    }
    .topnav ul li {
        margin-right: 10px;
      }
      a.navbar-brand img {
        width: 250px;
    }
    .navbar-toggler {
        padding: 0.25rem;
    }
    .base {
        margin-left: -5px;
    }
    .visitweb {
        margin-bottom: 28px;
        display: inline-block;
    }
    .hero {
        min-height: 450px;
        height: 450px;
    }
    .divider-xxl {
        height: 30px;
    }
    .logorow {
        text-align: center;
    }
    .logorow img {
        width: 260px;
        margin: 0 auto;
    }
    .newsletter {
        text-align: center !important;
    }
    .copyright {
        line-height: 21px;
    }
    .copyright .text-left, .copyright .text-right {
        text-align:center !important;
    }
    ul.footernav, footer .text-left, p.footertitle, footer ul   {
        text-align: center;
    }

    @keyframes changeshape {
        0% { 
          background: #c41919;       
          height: 15px;     
          width: 15px;
          border-radius: 0%;
          }
        25% {
          background: #026bac;   
      height: 15px;        
      width: 15px;
      border-radius: 50%;
        }  
        50% {
          background: #c41919;   
      height: 15px;        
      width: 15px;
      border-radius: 0%;
        }  
        100% {
          background: #026bac;   
      height: 15px;        
      width: 15px;
      border-radius: 50%;
        }  
    }

    
  }

  @media screen and (max-width: 1024px) and (min-width: 768px) {
    .rectangle img, .cetech, .icm, .rei, .marksol {
        position: unset !important;
        background-size: 100%;
        background-position:center top;
        display: block !important;
        width: 100%;
        height: auto;
        min-height: 300px;
    }
    .imgplaceholder {
        width: auto;
        min-height: 300px;
        /* height: auto; */
    }
    .divider-xxl {
        height: 30px;
    }
    .bg-light {
        display: flex;
        flex-direction: row-reverse;
    }
    .visitweb {
        margin-bottom: 28px;
        display: inline-block;
    }
    .logorow {
        text-align: center;
    }
    .logorow img {
        width: 260px;
        margin: 0 auto;
    }
    .newsletter {
        text-align: center !important;
    }
    .newsletter input {
        width: 293px;
    }
    .copyright {
        line-height: 21px;
    }
    .copyright .text-left, .copyright .text-right {
        text-align:center !important;
    }
    ul.footernav, footer .text-left, p.footertitle, footer ul   {
        text-align: center;
    }
  }
