/**
 * Basic CSS Media Query Template
 * TODO: I should probably use Sass...
 * Author: Michael Vieth
 * ------------------------------------------
 *  Responsive Grid Media Queries - 1280, 1024, 768, 480
 *   1280-1024   - desktop (default grid)
 *   1024-768    - tablet landscape
 *   768-480     - tablet 
 *   480-less    - phone landscape & smaller
 * --------------------------------------------
 */
@media all and (min-width: 1708px) and (max-width: 1828px) {
}
@media all and (min-width: 1588px) and (max-width: 1708px) {
}
@media all and (min-width: 1468px) and (max-width: 1588px) {
}
@media all and (min-width: 1348px) and (max-width: 1468px) {
}
@media all and (min-width: 1280px) and (max-width: 1348px) {
}
@media all and (min-width: 1024px) and (max-width: 1280px) {
}

@media all and (min-width: 768px) and (max-width: 1024px) {
}
@media all and (min-width: 482px) {
}
@media all and (min-width: 480px) and (max-width: 768px) {
}

@media all and (max-width: 480px) {
  .frameOne,
  .frameTwo,
  .frameThree,
  .frameFour,
  .frameFive,
  .frameSix,
  .frameSeven {
    min-width: 20rem;
  }
  .row {
    margin: 0;
    padding: 0;
  }
  .pc {
    display: none !important;
  }
  .mobile {
    display: block !important;
  }
  div#sectionHeader {
    top: 0%;
    height: 5rem;
    z-index: 9999;
    position: fixed;
    left: 0%;
  }
  .frameOne {
    margin: 12vh auto 0 auto;
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
  }
  .form-background {
    /* width: 22rem; */
    height: 18rem;
    min-height: 17rem;
    min-width: 17rem;
  }
  .frameOne-Col1 {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }
  img.img-model_1-title {
    transform: translateY(-85%);
  }
  img.img-model_2 {
    transform: translateY(-57%);
  }
  img.image-frameOne-hieuung_1 {
    top: -13%;
    right: 0%;
  }
  .frameOne-Col2,
  .frameOne-Col2-mb {
    width: 100%;
    padding: 0 6vw;
  }
  .frameOne-Col2 {
    margin: -7rem 0 0 0;
  }
  .frameOne-Col2-mb {
    margin: -10rem 0 0 0;
    position: relative;
  }
  img.image-frameTwo-Title {
    margin-bottom: 1rem;
    transform: translateY(-5%);
  }

  img.image-frameOne-hieuung_2 {
    top: 18%;
    left: -5%;
  }
  img.image-frameOne-hieuung_3 {
    position: absolute;
    mix-blend-mode: color-dodge;
    top: 28%;
    left: -4%;
    z-index: 0;
  }
  img.img-model_2-title {
    top: 42%;
    left: 0%;
    z-index: 0;
  }
  img.img-hieuung-1 {
    top: 26.5%;
    left: 7%;
  }
  img.img-hieuung-2 {
    top: 22.5%;
    left: 40%;
  }
  img.img-hieuung-3 {
    top: 26.5%;
    left: 72%;
  }
  img.img-light-1 {
    top: 28%;
    left: 14.5%;
  }
  img.img-light-2 {
    top: 26.5%;
    left: 26%;
  }
  img.img-light-3 {
    top: 25%;
    left: 56%;
  }
  img.img-light-4 {
    top: 25.5%;
    left: 86%;
  }
  img.image-title-km-1 {
    margin: 0 auto 0.5rem auto;
  }
  .frameTwo {
    margin: -1rem 0 2rem 0;
    padding: 0;
  }
  img.img-hieuung-4 {
    top: 2%;
    left: 10%;
  }
  img.img-hieuung-5 {
    top: 2%;
    right: 44%;
  }
  img.img-hieuung-6 {
    top: 2%;
    right: 19%;
  }
  img.img-light-5 {
    top: 2%;
    left: 8%;
  }
  img.img-light-6 {
    top: 1%;
    left: 23%;
  }
  img.img-light-7 {
    top: 2%;
    right: 39%;
  }
  img.img-light-8 {
    top: 1%;
    right: 23%;
  }
  .frameTwo-content-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 1.5rem;
    z-index: 99;
  }
  img.image-frameTwo-content {
    margin-bottom: 1rem;
  }
  img.image-frameTwo-model {
    z-index: 1;
  }
  img.image-frameTwo-hieuung {
    bottom: -3.5%;
    left: 0;
    z-index: 0;
  }
  img.image-frameTwo-backgroup {
    position: absolute;
    top: 5.4%;
    left: 0;
    z-index: 1;
    transform: translateX(0) translateY(0);
  }

  img.image-frameTwo-backgroup-1,
  img.image-frameTwo-backgroup-2,
  img.image-frameTwo-backgroup-3 {
    position: absolute;
    left: 0;
    z-index: 1;
  }
  img.image-frameTwo-backgroup-1 {
    top: 44%;
  }
  img.image-frameTwo-backgroup-2 {
    bottom: 16.5%;
  }
  img.image-frameTwo-backgroup-3 {
    bottom: 9.5%;
  }
  .frameThree {
    margin: 0rem 0.5rem 0 0.5rem;
    padding: 0;
  }

  img.frameThree-title {
    margin: 0 0 0.5rem 0;
  }
  .grid-container {
    grid-template-rows: repeat(1, 1fr);
    grid-template-columns: repeat(2, 1fr);
    gap: 0px;
    width: 100%;
  }

  .frameSix {
    margin: 0 1rem;
    align-items: center;
    padding: 0;
  }
  .frameSix-grid-container {
    grid-template-rows: repeat(1, 1fr);
    grid-template-columns: repeat(1, 1fr);
    gap: 5px;
    width: 100%;
    margin: 1rem auto;
  }

  .signup-form {
    padding: 0 1rem;
  }
  /* Hien thi chuong trinh khuyen mai */
  .modal-content {
    max-width: 400px;
    position: relative;
    width: auto;
    margin: 0.5rem;
  }
  .form-dk {
    position: relative;
    /*background: url(../images/mb/Khung-DangKy-1.png) no-repeat top center;*/
    margin: 0;
    padding: 0;
    height: auto;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .btn-dangky img {
    width: 80%;
    height: auto;
  }
  .form-horizontal {
    padding: 0 5px 5px 5px;
    width: 100%;
  }
  .img-responsive {
    margin: 0 auto;
  }
  .container {
    padding-left: 0;
    padding-right: 0;
  }
  .btn_fixed img {
    margin: 0 auto;
  }
  .btn_fixed {
    bottom: 32%;
    right: 1%;
    z-index: 999;
  }
  .col-6 {
    flex: 0 0 auto;
    width: 100%;
  }
  .form-buttonpc {
    bottom: -14%;
    left: 0%;
  }
  .frameSeven {
    margin: 4.5rem 0.5rem 0 0.5rem;
  }
  .vongxoay {
    margin-top: -2rem;
  }
  /* thank-you page */
  img.thankyou-content {
    padding: 0 0 1rem 0;
  }
}

@media all and (max-width: 380px) {
  .btn-dangky img {
    width: 80%;
    height: auto;
  }
  .modal-content {
    max-width: 360px;
    position: relative;
    width: auto;
    margin: 0.5rem;
  }
}
@media all and (max-width: 320px) {
  .btn-dangky img {
    width: 180px;
    height: auto;
  }
  .modal-content {
    max-width: 300px;
    position: relative;
    width: auto;
    margin: 0.5rem;
  }
  .form-buttonpc {
    bottom: -5%;
    left: 19%;
    /* width: 52%; */
  }
}
/* Portrait */
@media screen and (orientation: portrait) {
  /* Portrait styles here */
}
/* Landscape */
@media screen and (orientation: landscape) {
  /* Landscape styles here */
}

/* CSS for iPhone, iPad, and Retina Displays */

/* Non-Retina */
@media screen and (-webkit-max-device-pixel-ratio: 1) {
}

/* Retina */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
  only screen and (-o-min-device-pixel-ratio: 3/2),
  only screen and (min--moz-device-pixel-ratio: 1.5),
  only screen and (min-device-pixel-ratio: 1.5) {
}

/* iPhone Portrait */
@media screen and (max-device-width: 480px) and (orientation: portrait) {
}

/* iPhone Landscape */
@media screen and (max-device-width: 480px) and (orientation: landscape) {
}

/* iPad Portrait */
@media screen and (min-device-width: 481px) and (orientation: portrait) {
}

/* iPad Landscape */
@media screen and (min-device-width: 481px) and (orientation: landscape) {
}
