@import "../../variables.scss";

.BlogBlock {
  h1 {
    font-size: $font + 30;
    margin-bottom: $mrg + 30;
    @media (max-width: $lg) {
      font-size: $font + 20;
      margin-bottom: $mrg + 10;
    }
  }
  .BlogLeftInfo {
    margin-right: -30px;
    @media (max-width: $md) {
      margin-right: 0;
    }
    h4 {
      font-size: $font + 16;
      font-weight: $font-weight-heavy;
      margin-bottom: $mrg + 10;
      @media (max-width: $md) {
        font-size: $font + 12;
      }
    }
    .BlogSearchCard {
      background-color: $white;
      border-radius: $bdr-rds + 10;
      padding: $pad + 10;
      border: solid 1px rgba($black, 0.2);
      margin-bottom: $mrg + 15;
      .ContactInput {
        box-shadow: none;
        border: solid 1px rgba($black, 0.2);
      }
      .BlogLinks {
        li {
          border-bottom: solid 1px rgba($black, 0.1);
          position: relative;          
          padding: $pad 0;
          padding-left: $pad + 20;
          &:before {
            position: absolute;
            top: 15px;
            left: 10px;
            content: "";
            width: 8px;
            height: 13px;
            background: url(/assets/arrowIcon.png) no-repeat;
          }
          a {
            color: $blue;
          }
        }
      }
    }    
  }
  .BlogRightInfo {
    padding-left: $pad + 26;
    @media (max-width: $md) {
      padding-left: 0;
    }
  }
  .BlogInfoCard {
    background-color: $white;
    border-radius: $bdr-rds + 10;
    box-shadow: 0px 12px 30px rgba(192,192,192, 0.29);
    position: relative;
    overflow: hidden;
    margin-bottom: $mrg + 20;
    height: calc(100% - 30px);
    .BlogInfoImg {
      border-radius: $bdr-rds + 10;
      overflow: hidden;
      img {
        display: block;
        width: 100%;
      }
    }
    .BlogInfo {
      padding: $pad + 10;
      h4{
        font-size: $font + 12;
        font-weight: $font-weight-heavy;
        margin-bottom: 0;
        padding-bottom: $pad + 10;
        a {
          color: $black;
        }
      }
      ul {
        padding-bottom: $pad + 10;
        li{
          font-size: $font + 6;
          color: $black;
          display: flex;
          align-items: center;
          margin-right: $mrg + 15;
          i {
            margin-right: $mrg - 6;
            margin-top: -5px;
            img {
              display: block;
            }
          }
        }
      }
      p{
        font-size: $font + 8;
      }
      .ReadMore {
        font-size: $font + 8;
        display: inline-block;
        border-bottom: solid 1px $orange;
        color: $orange;
        line-height: 18px;
      }
    }
  }
  .BlogInfoCardDetail {
    margin-bottom: $mrg + 20;
    .dateTag {
      font-size: $font + 6;
      color: $black;
      display: flex;
      align-items: center;
      margin-bottom: $mrg;
      i {
        margin-right: $mrg - 6;
        margin-top: -5px;
        img {
          display: block;
        }
      }
    }
    h2 {
      font-size: $font + 36;
      font-weight: $font-weight-heavy;
      margin-bottom: $mrg + 5;
      @media (max-width: $lg) {
        font-size: $font + 20;
        margin-bottom: $mrg + 10;
      }
    }
    h3 {
      font-size: $font + 26;
      font-weight: $font-weight-heavy;
      margin-bottom: $mrg + 15;
      @media (max-width: $lg) {
        font-size: $font + 16;
        margin-bottom: $mrg + 10;
      }
    }
    .BlogInfoCardDetailInfo {
      display: flex;
      align-items: center;
      padding-bottom: $pad + 5;
      li {
        font-size: $font + 4;
        display: flex;
        align-items: center;
        margin-right: $mrg;
        span {
          font-weight: $font-weight-bold;
          color: $orange;
        }
        i {
          display: block;
          margin-right: $mrg - 5;
          margin-top: -5px;
          img {
            display: block;
          }
        }
      }
    }
    .BlogInfoImg {
      box-shadow: 15px 18px 35px rgba(192,192,192, 0.29);
      border-radius: $bdr-rds + 5;
      overflow: hidden;
      margin-bottom: $mrg + 20;
      border: solid 1px #eeeeee;
      img {
        display: block;
        width: 100%;
      }
    }
    p{
      font-size: $font + 8;
      margin-bottom: $mrg;
      @media (max-width: $lg) {
        font-size: $font + 5;
      }
    }
  }
}