/*$line-height-lg:              1.8 !default;
$line-height-sm:              1.8 !default;*/
.d-flex-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; }

.grid-module {
  padding-bottom: 40px; }
  @media (max-width: 749.98px) {
    .grid-module .gridButton {
      display: block;
      position: absolute;
      width: 22px;
      height: 22px;
      border-radius: 20px;
      background-color: #fff;
      z-index: 5;
      bottom: 8px;
      right: 8px;
      border: 4px solid #fff;
      cursor: pointer; }
      .grid-module .gridButton::after, .grid-module .gridButton::before {
        display: block;
        background-color: #555;
        border-radius: 1px;
        content: ""; }
      .grid-module .gridButton::after {
        width: 2px;
        height: 100%;
        position: absolute;
        left: calc(50% - 1px); }
      .grid-module .gridButton::before {
        height: 2px;
        width: 100%;
        position: absolute;
        top: calc(50% - 1px); }
    .grid-module .active .gridButton {
      bottom: auto;
      top: 8px;
      width: 24px;
      height: 24px;
      transform: rotate(45deg);
      background-color: transparent;
      border-color: rgba(0, 0, 0, 0); }
      .grid-module .active .gridButton::after, .grid-module .active .gridButton::before {
        background-color: #fff; } }
.grid-module .cont-img {
  flex: 0 0 calc(50% - 4px);
  width: calc(50% - 4px);
  margin-bottom: 4px;
  overflow: hidden;
  position: relative; }
  .grid-module .cont-img picture img {
    transition: filter 1s ease; }
  .grid-module .cont-img .cont-text {
    position: absolute;
    top: 110%;
    left: 15px;
    right: 15px;
    overflow: hidden;
    text-align: center;
    transition: top 1s ease;
    color: #fff; }
    .grid-module .cont-img .cont-text h3 {
      font-size: 18px;
      line-height: 24px; }
    .grid-module .cont-img .cont-text p {
      font-size: 14px;
      line-height: 20px; }

@media (max-width: 749.98px) {
  .grid-module.grid-active .cont-img {
    display: none; }
    .grid-module.grid-active .cont-img.active {
      display: block !important;
      flex: 0 0 100%;
      width: 100%; }
  .grid-module .cont-img.active .cont-text {
    transform: translateY(-50%);
    top: 50%; }
  .grid-module .cont-img.active picture {
    background-color: #000; }
    .grid-module .cont-img.active picture img {
      filter: blur(8px);
      opacity: 0.45; } }

@media (min-width: 750px) {
  .grid-module .cont-img:hover .cont-text {
    transform: translateY(-50%);
    top: 50%; }
  .grid-module .cont-img:hover picture {
    background-color: #000; }
    .grid-module .cont-img:hover picture img {
      filter: blur(8px);
      opacity: 0.45; } }

@media (min-width: 750px) {
  .grid-module {
    padding-bottom: 56px; }
    .grid-module .gridButton {
      display: none; }
  .grid-module .cont-img {
    flex: 0 0 calc(50% - 8px);
    width: calc(50% - 8px);
    margin-bottom: 8px;
    overflow: hidden; } }

@media (min-width: 750px) {
  .grid-module .gridButton {
    display: none; } }

@media (min-width: 750px) {
  .grid-module {
    padding-bottom: 64px; }
  .grid-module .cont-img {
    flex: 0 0 calc(25% - 16px);
    width: calc(25% - 16px);
    margin-bottom: 16px;
    overflow: hidden; } }
