/* HACKING TO TEMPLATE */

#home_slot a:hover {
  color: #000;
  text-decoration: none;
}
#home_slot a-webkit-any-link:hover {
  text-decoration: none;
}

/* EASING FOR MEDIA QUERIES */

#home_slot h1,
#home_slot h2,
#home_slot h3,
#home_slot h4,
#home_slot p,
#home_slot button,
#home_slot div,
#home_slot img,
#home_slot span {
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

/* DEFAULT GRID STYLES */

#home_slot {
  max-width: 940px;
  margin: 0 auto 0 auto;
}

#home_slot .container {
  text-align: justify;
  font-size: 0.1px;
  margin-bottom: 1px;
}

#home_slot .container:after {
  content: '';
  display: inline-block;
  width: 100%;
}

#home_slot .container .slice {
  display: inline-block;
  margin-bottom: 2%;
  vertical-align: top;
  position: relative;
  overflow: hidden;
}

#home_slot .container .col_1 {
  width: 31.9149%;
}

#home_slot .container .col_2 {
  width: 65.9575%;
}

#home_slot .container .col_3 {
  width: 100%;
}

@media all and (min-width: 960px) {
  #home_slot .container .slice {
    height: 420px;
  }
}

@media all and (min-width: 741px) and (max-width: 959px) {
  #home_slot .container .slice {
    height: 331px;
  }
  #home_slot {
    max-width: 740px;
  }
}

@media all and (max-width: 740px) {
  #home_slot .container .col_1,
  #home_slot .container .col_2 {
    width: 49%;
  }
  #home_slot .container {
    max-width: 96%;
    margin: 0 auto;
  }
  #home_slot .hero {
    margin-bottom: 0%;
  }

  #home_slot {
    margin: 20px auto 0 auto;
  }
}

/* DEFAULT STYLES */

#home_slot .container .slice .hover_detail {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 85.71%;
  left: 0;
  box-sizing: border-box;
  overflow: hidden;
  background: rgba(175, 0, 36, 0.7);
}

#home_slot .container .slice .hover_detail .hover_contents {
  position: absolute;
  width: 100%;
  top: 0%;
  text-align: center;
  -webkit-transform: translateY(-0%);
  -ms-transform: translateY(-0%);
  transform: translateY(-0%);
}

#home_slot .container .slice .hover_detail .hover_contents .slice_title {
  position: relative;
  width: 100%;
  top: 0%;
  left: 0px;
  height: 60px;
}

#home_slot .container .slice .hover_detail .hover_contents .slice_title p:only-of-type {
  position: absolute;
  width: 100%;
  max-width: 100%;
  margin: 0;
  font-family: 'Gotham SSm A', 'Gotham SSm B', 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 60px;
  text-transform: uppercase;
  color: #fff;
}

#home_slot .container .slice .hover_detail .hover_contents .slice_title p:nth-last-of-type(2) {
  position: absolute;
  top :12px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  font-family: 'Gotham SSm A', 'Gotham SSm B', 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 15px;
  text-transform: uppercase;
  color: #fff;
}

#home_slot .container .slice .hover_detail .hover_contents .slice_title p:nth-of-type(2) {
  position: absolute;
  bottom: 12px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  font-family: 'Gotham SSm A', 'Gotham SSm B', 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 15px;
  text-transform: uppercase;
  color: #fff;
}

#home_slot .container .slice .hover_detail .hover_contents p:nth-of-type(1) {
  position: relative;
  width: 80%;
  max-width: 240px;
  margin: 0 auto;
  font-family: 'Gotham SSm A', 'Gotham SSm B', 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 26px;
  text-transform: none;
  color: #fff;
}

#home_slot .container .slice .hover_detail .hover_contents button {
  position: relative;
  width: 180px;
  margin: 1px auto 0 auto;
  background: none;
  border: 1px solid #fff;
  font-family: 'Gotham SSm A', 'Gotham SSm B', 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 28px;
  text-transform: none;
  color: #fff;
}

@media all and (min-width: 741px) {
  #home_slot .container .slice:hover .hover_detail {
    top: 76%;
  }
}

@media all and (max-width: 959px) {
  #home_slot .container .slice .hover_detail .hover_contents .slice_title {
    height: 48px;
  }
  #home_slot .container .slice .hover_detail .hover_contents .slice_title p:only-of-type {
    line-height: 48px;
    font-size: 12px;
  }
  #home_slot .container .slice .hover_detail .hover_contents .slice_title p:nth-last-of-type(2) {
    font-size: 12px;
    top: 8px;
  }
  #home_slot .container .slice .hover_detail .hover_contents .slice_title p:nth-of-type(2) {
    font-size: 10px;
    bottom: 8px;
  }
  #home_slot .container .slice .hover_detail .hover_contents p:nth-of-type(1) {
    font-size: 10px;
  }
  #home_slot .container .slice .hover_detail .hover_contents button {
    width: 120px;
    font-size: 12px;
    line-height: 20px;
    margin: 0;
  }
}

@media all and (max-width: 740px) {
  #home_slot .container .slice .hover_detail {
    width: 100%;
    height: 48px;
    bottom: 0px!important;
    top: auto;
  }
  #home_slot .container .slice .hover_detail .hover_contents p:nth-of-type(1) {
    font-size: 14px;
  }
  #home_slot .container .slice .hover_detail .hover_contents p {
    margin: 0;
  }
}
