.product-series {
	/*max-width: 500px;*/
	max-width: 1024px;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.cl {
    clear: both;
}



/*
.parent {
    display: grid!important;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    background-color: black;
    color: white;
    border: solid 1px white;
    transition: .3s all;
    padding: 3px 3px 3px 15px;
}
*/
.parent {
    display: grid!important;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    background-color: inherit;
    color: white;
    border: none;
    transition: .3s all;
    padding: 3px 3px 3px 15px;
}

/*
.parent:hover {
    background-color: white;
    color: black;
    border: solid 1px black;
}
*/

*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

/*
html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 62.5%;
}
*/

.product-series,
.product-series a {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: block;
  padding: 0px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
  z-index: 1;
}

.product-series.btn-flat {
overflow: hidden;
    padding: 10px;
    color: #fff;
    border-radius: 0;
    background-image: url(./img/product-series_1.jpg);
    background-position-y: center;
    background-position-x: right;
    background-color: rgb(0 0 0 / 35%);
    background-blend-mode: darken;
    background-size: cover;
	border: 5px solid #727272;
}
.product-series.btn-flat:hover {
    border: 5px solid #294da5;
}
.product-series.btn-flat span {
  position: relative;
}

.product-series.btn-flat:before {
  position: absolute;
  top: 0;
  left: calc(-100% + 0px);
  width: 100%;
  height: 100%;
  content: '';
  -webkit-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
  -webkit-transform: translateX(0) translateY(0);
  transform: translateX(0) translateY(0);

  background: #000;
}

.product-series.btn-flat:after {
  position: absolute;
  top: 0;
  right: calc(-100% + 0px);

  width: 100%;
  height: 100%;

  content: '';
  -webkit-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
  -webkit-transform: translateX(0) translateY(0);
  transform: translateX(0) translateY(0);

  background: #000;
}

@media (max-width: 1024px) {
.product-series.btn-flat:before {

	}
}

.product-series.btn-flat:hover:before {
  -webkit-transform: translateX(51%) translateY(0);
  transform: translateX(51%) translateY(0);
	background: #294da5;
}

.product-series.btn-flat:hover:after {
  -webkit-transform: translateX(-51%) translateY(0);
  transform: translateX(-51%) translateY(0);
	background: #294da5;
}







.div1 {
    grid-area: 1 / 1 / 2 / 4;
    font-size: 18px;
    font-weight: bold;
	margin: auto 0;
}
.div2 {
    grid-area: 1 / 4 / 2 / 5;
    font-size: 18px;
    font-weight: bold;
	margin: auto 0;
}
.div3 {
    grid-area: 2 / 1 / 3 / 5;
    font-size: 13px;
	margin: auto 0;
}
.div4 { grid-area: 1 / 5 / 3 / 6; }

@media (max-width: 767px){
    .parent {
        grid-template-rows: repeat(3, 0.5fr);
        padding-bottom: 6px;
    }
    
    .div1 {
        grid-area: 1 / 1 / 2 / 5;
    }
    .div2 {
        grid-area: 2 / 1 / 3 / 5;
    }
    .div3 {
        grid-area: 3 / 1 / 4 / 5;
    }
    .div4 {
        grid-area: 1 / 5 / 4 / 6;
    }
}
