/* ----------- iPhone 12 Pro ----------- */

@media only screen 
  and (width: 844px) 
  and (height: 390px) {

  .inv-header-background {
    height: 148px;
  }

  .text-img-card {
    padding-left: 6em;
    padding-right: 6em;
  }
}

/* ----------- iPhone X ----------- */

@media only screen 
  and (min-width: 375px) 
  and (max-width: 812px) {

  .ssa-article {
    gap: 15px;
    align-items: flex-start;
  }
  .ssa-article .ma-body-article{
    padding-left: 8px;
  }
  .ma-parallax-2{
    height:337px;
  }
  .inv-custom-container .bsa-detail-box,
  .inv-custom-container .ssa-detail-box {
    width: 370px;
  }

  .ma-article > p {
    /* text-align: justify; */
  }

  .ma-article {
    /* padding: 0 1.2rem; */
    /* text-align: justify; */
  }
}

/* Portrait */
@media only screen 
  and (min-width: 375px) 
  and (max-width: 812px)
  and (orientation: portrait) { 

  .cover-info-box {
    font-size: 1.2rem;
  }

  .ecm-article .ma-body-article {
    /* width: 57rem; */
    padding-left: 8px;
    width: auto;
  }

  .ecm-article .ma-body-article,
  .ssa-article .ma-body-article {
    /* font-size: 2.2rem; */
    text-align: left;
  }

  /* .inv-big-title {
    font-size: 2.5rem;
    padding-top: 40px;
  } */

  /* .ma-parallax-1 {
    background-size: contain;
    background-position-y: top;
  } */

  .text-img-card {
    padding: 0;
  }

  /* .ma-btn {
    padding: 30px;
    font-size: 1.8rem;
  } */
  
  .ma-btn:first-child {
    margin-bottom: 5px;
  }

  .ma-article {
    font-size: 2.2rem;
  }

  .ma-article-img {
    height: 240px;
    width: 405px;
  }

  .ma-logo {
    width: 50px;
    height: 50px;
  }

  .ma-bsa-container {
    height: 600px;
  }

  .ma-ssa-container {
    height: auto;
  }

  .cover-info-btn {
    flex-direction: column;
  }

  .cover-info-box {
    width: auto;
  }

  .inv-article,.body-detail-article {
    font-size: 17px;
  }
}

/* Landscape */
@media only screen 
  and (min-width: 375px) 
  and (max-width: 812px)
  and (orientation: landscape) { 

  .text-img-card .ma-article {
    font-size: 1.2rem;
  }

  .ecm-article .ma-body-article,
  .ssa-article .ma-body-article {
    font-size: 1.2rem;
    /* text-align: justify; */
  }

  .inv-header-background {
    height: 148px;
  }

  .inv-big-title {
    font-size: 2.8rem;
  }

  .ma-parallax-1 {
    background-size: cover;
    background-position-y: top;
  }

  .text-img-card {
    padding: 0;
  }

  .ma-btn {
    padding: 0;
  }

  .ma-article-img {
    height: 270px;
    width: 404px;
  }

  #buy_side_advisory.ma-bsa-container {
    height: 320px;
  }

  #sell_side_advisory.ma-ssa-container {
    height: 350px;
  }

  .cover-info-box {
    font-size: 2rem;
  }

  .inv-header-background {
    height: 128px;
  }
}

/* ----------- iPad 1, 2, Mini and Air ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-width: 768px) 
  and (max-width: 1024px) {
    
  .ma-logo {
    width: 60px; 
    height: 60px; 
  }

  .ma-article-img {
    height: 330px;
  }

  .ma-article > p {
    /* text-align: justify; */
  }

  .bsa-detail-box,
  .ssa-detail-box {
    width: 350px;
  }

  .ecm-article .ma-body-article,
  .ssa-article .ma-body-article {
    /* text-align: justify; */
    /* width: 58rem; */
  }

  .inv-header-background {
    height: 130px;
  }
}

/* Portrait */
@media only screen 
  and (min-width: 768px) 
  and (max-width: 1024px) 
  and (orientation: portrait) {

  .ma-article {
    font-size: 1.4rem;
  }

  .ma-article-img {
    width: 495px;
  }

  .ma-bsa-container {
    height: 415px;
  }

  .ma-ssa-container {
    height: 490px;
  }

  .ecm-article .ma-body-article,
  .ssa-article .ma-body-article {
    font-size: 1.6rem;
  }
  
  .inv-big-title {
    padding: 0;
    padding-top: 0.8rem;
    font-size: 3rem;
  }
}

/* Landscape */
@media only screen 
  and (min-width: 768px) 
  and (max-width: 1024px) 
  and (orientation: landscape) {

  .inv-big-title {
    font-size: 2.6rem;
  }

  .ma-article {
    font-size: 1rem;
  }

  .ma-logo {
    width: 40px;
    height: 40px;
  }

  .ma-article-img {
    height: 300px;
  }

  .ma-bsa-container {
    height: 300px;
  }

  .ma-ssa-container {
    height: 330px;
  }

  .ecm-article .ma-body-article,
  .ssa-article .ma-body-article {
    font-size: 1.2rem;
  }

  .inv-custom-container .cover-info-box {
    font-size: 2rem;
  }

  .inv-custom-container .cover-info-btn {
    width: 28rem;
  }
  
  .ma-btn {
    font-size: 1.2rem;
  }
}

/* ----------- Galaxy S3 ----------- */

/* Portrait and Landscape */
@media screen 
  and (width: 360px) 
  and (height: 640px) {

  .inv-header-background {
    height: 180px;
    padding: 0.8rem;
  }

  .inv-big-title {
    font-size: 4.6rem;
  }

  .cover-info-box {
    font-size: 2.5rem;
  }

  .ma-parallax-1 {
    min-height: 106vh;
  }

  .cover-info-btn {
    width: 34rem;
  }

  .ma-btn {
    font-size: 2.2rem;
    height: 80px;
  }

  .ma-article {
    padding: 0;
    /* text-align: justify; */
    font-size: 2.2rem;
  }

  .ma-article-img {
    height: 430px;
    width: 655px;
  }

  .ma-logo {
    height: 90px;
    width: 90px;
  }

  .ecm-article .ma-body-article,
  .ssa-article .ma-body-article {
    font-size: 2.2rem; 
  }

  .bsa-detail-box,
  .ssa-detail-box {
    width: 400px;
  }

  .ma-bsa-container {
    height: 560px;
  }

  .ma-ssa-container {
    height: 790px;
  }
}

/* Portrait */
@media screen 
  and (width: 320px) 
  and (height: 640px) 
  and (orientation: portrait) {

}

/* Landscape */
@media screen 
  and (width: 320px) 
  and (height: 640px)
  and (orientation: landscape) {

}