/**
 * 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 {
    z-index: 9999;
    position: relative;
    margin: 0 auto;
  }

  .frameOne {
    margin: 0rem auto -1rem auto;
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
  }
  .form-background {
    /* width: 22rem; */
    height: 18rem;
    min-height: 18rem;
    min-width: 17rem;
  }

  .frameOne-Col1 {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    margin-top: 0rem;
    min-width: 15rem;
  }
  .frameOne-Col2 {
    width: 100%;
    padding: 0 6vw;
    z-index: 12;
    min-width: 15rem;
  }

  ul.frameOne-items {
    margin: 0 auto 1rem auto;
    min-width: 15rem;
  }

  img.image-title-km-1 {
    margin: 0 auto 0.5rem auto;
    transform: translateY(0);
  }

  .frameThree {
    padding: 0;
    margin: 1rem auto 0rem auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .framethree-col1,
  .framethree-col2 {
    width: 100%;
  }

  .framethree-col2 {
    padding: 0.5rem;
    margin: 0;
    z-index:10;
    background: url(../images/mb-fix/thankyou-trungthu-mb-03.webp);
  }

  a#btn_dv_mb {
    transform: translateX(-15px);
  }

  li.frameOne-item.frameOne-item-col1 {
    transform: translateX(50px);
  }

  li.frameOne-item.frameOne-item-col2 {
    transform: translateX(-50px);
  }

  img.hieuung-1 {
    bottom: 0%;
  }

  img.hieuung-2 {
    bottom: -12%;
    left: 0%;
  }

  img.hieuung-3 {
    top: -4.5%;
  }

  img.hieuung-4 {
    bottom: 14%;
    left: -18%;
  }

  img.image-title-km-2 {
    bottom: -22px;
  }

  ul.frameThree-items {
    transform: translateY(-60px);
  }

  .signup-form {
    padding: 0 1rem;
    margin: 0;
  }
  /* 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%;
    transform: translateY(0);
  }
  .img-responsive {
    margin: 0 auto;
  }
  .container {
    padding-left: 0;
    padding-right: 0;
  }
  .btn_fixed img {
    margin: 0 auto;
  }
  .btn_fixed {
    bottom: 11%;
    right: 1%;
    z-index: 9999;
  }
  .col-6 {
    flex: 0 0 auto;
    width: 100%;
  }
  .form-buttonpc {
    bottom: -14%;
    left: 0%;
  }
  div#errPositon {
    transform: translateY(0px);
  }
  .hieuung1 {
    background: url(../images/mb-fix/thankyou-trungthu-mb-07.webp);
    min-width: 15rem;
  }
}

@media all and (max-width: 414px) {
}

@media all and (max-width: 394px) {
}

@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: 375px) {
}

@media all and (max-width: 360px) {
  .modal-content {
    max-width: 340px;
    position: relative;
    width: auto;
    margin: 0.5rem;
  }
}

@media all and (max-width: 320px) {
  .btn-dangky img {
    width: 160px;
    height: auto;
  }
  .form-buttonpc {
    bottom: -5%;
    /* left: 20%; */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
  }
  .modal-content {
    max-width: 300px;
    position: relative;
    width: auto;
    margin: 0.5rem;
  }
}
/* 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) {
}
