.dM-Banner-outter { position:relative; min-height: 525px; }
.dM-Banner-under { position: absolute; top:0; right:0; bottom:0; left:0; }
.dM-Banner-slides {height: 100%;}
.dm-Banner-slide-bg { min-height: 525px; height: 100%; }

.dM-Banner-tab {
  position: absolute;
  left:0; 
  top: 20px;
  height: 220px;
  width:calc((100% - 1200px)/2);
  background: #fff;
}

.dM-Banner-inner {
  position:relative;
  height: 100%;
  min-height: 525px;
  max-width:1200px;
  margin:0 auto;
}
.dM-Banner-headline {
  position: absolute;
  top: 20px;
  left:0px;
  background: #fff;
  padding: 20px;
  max-width: 350px;
}
.dM-Banner-headline h1 {
  line-height:1.1;
  padding:0;
  margin:0;
}
.dM-Banner-headline p {
  color:#ed1c24;
  /*font-weight:bold;*/
  padding:0;
  margin:0;
}
.dM-Banner-form {
  position: absolute;
  right:0;
  bottom:0;
  background: rgba(0,0,0,0.7);
  padding: 40px 20px 20px;
  max-width: 350px;
  color:#fff;
}
.dM-Banner-form h2 {

  color:#fff;
  font-size; 2rem;
}

.dM-Banner-form input[type="submit"] {
    background: #1c509d;
    width: 100%;
    display: flex;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    border: 0;
    color: #fff;
    text-align: left;
    font-weight: 700;
    transition: all .3s linear;
    margin: 10px 0 0;
}
.dM-Banner-form input,
.dM-Banner-form select,
.dM-Banner-form .hs-input {
  margin: 0 0 12px;
  width: 100% !important;
  border-radius:5px;
  height: 40px;
}
@media(max-width:768px){
  .dM-Banner-outter {
    margin-bottom: 520px;
  }
  .dM-Banner-form {
    bottom:unset;
    top:100%;
    padding: 20px;
    max-width: unset;
    width: 100%;
  }
}
@media(max-width:640px){
  .dM-Banner-outter {
    min-height: 600px;
    margin-bottom: 600px;
  }
}