#root-header {
  @media screen and (min-width: 960px) {
    height: 100px;
  }
}
#root-header-mobile {
  height: 66px;
  @media screen and (min-width: 768px) {
    height: 75px;
  }
}
.container-home {
  padding-left: 16px;
  padding-right: 16px;
  margin: 0 auto;
  min-height: calc(100vh - 138px);

  padding-top: 66px;
  @media (min-width: 768px) {
    padding-top: 100px;
    min-height: calc(100vh - 66px);
  }

  @media (min-width: 960px) {
    padding-left: 0;
    padding-right: 0;
    max-width: 876px;
  }
  @media (min-width: 1280px) {
    max-width: 1200px;
  }
  @media (min-width: 1440px) {
    max-width: 1280px;
  }
}

body .bvi-body {
  .container-home {
    padding-top: 0;
  }
}

.row-home {
  width: 100%;

  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
  align-content: space-between;
  flex-direction: column;
  height: auto;

  @media screen and (min-width: 768px) {
    flex-direction: row;
    margin-bottom: 20px;
  }

  .item, .item-bvi, .item-bvi-images-false {
    background-size: 100% 100%;

    position: relative;
    text-decoration: none;
    color: #ffffff;
    text-align: center;

    align-items: center;
    justify-content: center;

    margin-bottom: 20px;
  }
  .item {
    height: 193px;
    @media screen and (min-width: 540px) {
      height: 294px; /*16:9 522x294*/
    }
    @media screen and (min-width: 768px) {
      height: 221px; /*1,60*/
    }
    @media screen and (min-width: 960px) {
      height: 264px; /*1,60*/
    }
    @media screen and (min-width: 1280px) {
      height: 387px; /*1,60 620x387*/
    }

    display: flex;
    background-repeat: no-repeat;
    background-position: center;
    transition: 1s;
    a {
      color: #ffffff;
      text-decoration: none;
    }

    .bg {
      position: absolute;
      background-color: #071021;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      display: block;
      opacity: 0.5;
    }

    .img {
      position: relative;
      display: block;
      img {
        width: 60%;
      }
    }

    .title, .title2 {
      margin: 0 50px;
      position: relative;
      z-index: 99;
    }

    .title1, .title2 {
      display: none;
    }

    .btn {
      color: #ffffff;
      display: none;

      position: absolute; /* https://www.w3docs.com/snippets/css/how-to-align-the-content-of-a-div-to-the-bottom.html */
      z-index: 99;

      bottom: 10px;
      right: 20px;

      font-size: 14px;
      font-weight: 400;
      line-height: 24px;

      @media (min-width: 768px) {
        bottom: 20px;
        right: 30px;
        font-size: 24px;
        font-weight: 300;
        line-height: 46px;
      }


    }

    &:hover {
      background-size: 120% 120%;

      .img, .title {
        display: none;
      }

      .title2, .btn {
        display: block;
      }
    }
  }
}

.item-bvi, .item-bvi-images-false {
  display: none;
  .title2 {
    margin: 0 50px;
    a {
      text-decoration: none;
    }
  }
  height: 387px;
}

body .bvi-body {
  .item {
    &:hover {
      background-size: 100% 100%;
      .btn, .title1 {
        display: none;
      }
    }
  }
}

/*.bvi-body[data-bvi-images=grayscale], .bvi-body[data-bvi-images=true] {
  .item-bvi {
    display: none;
  }
}*/

/*.bvi-body[data-bvi-images=grayscale], .bvi-body[data-bvi-images=true] {
  .item, .item-bvi-images-false {
    display: none;
  }
  .item-bvi {
    display: flex;
  }
}*/

.bvi-body[data-bvi-images=false] {
  .item, .item-bvi {
    display: none;
  }
  .item-bvi-images-false {
    display: block;
    .title, .title1 {
      margin-top: 30px;
    }
    .title2 {
      display: none;
    }
    .bvi-bg-image {
      min-height: 170px;
    }
    &:hover {
      .title, .title1 {
        display: none;
      }
      .title2 {
        display: block;
      }
    }
  }
}

