banner {
  width: 100%;
  display: block;
  height: 400px;
  position: relative;
  align-items:stretch;
}
banner button {
  margin-left: 0px;
}
banner .banner_left {
  background: linear-gradient(90deg, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
  background-color: rgba(0,0,0,0);
  min-width: 580px;
  max-width: 40%;
  display: inline-flex;
  align-items: center;
  padding: 5px;
  position: absolute;
  left: 0px;
  top: 0px;
  height: 100%;
  box-sizing: border-box;
  z-index: 1;
}


@media only screen and (max-width: 800px) {
  .banner_left {
    min-width: 500px;
    max-width: 40%;
    color: #cFc;
  }
}

@media only screen and (max-width: 1120px) {
  banner .banner_left {
    min-width: 500px;
    max-width: 40%;
    color: #FF0;
  }
}

banner .banner_left .banner_left_block {
  width: 390px;
  color: #FFF;
  padding-left: 30px;
}
banner .banner_triangle {
  flex-basis: 30px;
  flex-grow: 0;
  flex-shrink: 0;
  position: relative;
  height: 100%;
  background: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
  width: 240px;
  /*
  background-image: url("../image/bannerpoly.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;*/
}
banner .banner_triangle svg {
  /* Firefox needs a definitive width. */
  width: 30px;
  height: 100%;
  margin: 0;
}
banner .banner_right {
  position: absolute;
  right: 0px;
  width: calc(100% - 300px);
  height: 100%;
  min-width: 40%;

  /* disabled this prop when banner triangle got nested in banner right */
  /*margin-left: -29px; */

  /* match width of the banner_triangle */
  /**/
  /* background-image: url("../image/picture1.jpg"); */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}



@media only screen and (min-width: 1450px) {
  banner .banner_left {
    min-width: 850px;
    max-width: 40%;
    color: #FF0;
  }
  banner .banner_right {
    /*width: calc(100% - 700px);*/
  }
}

@media only screen and (max-width: 560px) {
  .banner_left_block {
    width: 300px !important;
  }
  .banner_left_block h1 {
    font-size: 42px;
  }
}
