/*------- mobile ------*/
/* ========================= */

@media only screen and (min-width: 320px) and (max-width: 479px) {
  .consent-popup {
    bottom: 0;
    right: 0;
    position: fixed;
    background-color: white;
    padding: 2rem;
    margin: 35px;
    font-family: 'cera_pro';
    border-radius: 5px;
    z-index: 100;
    opacity: 1;
    transition: 0.5s ease-in-out;
    box-shadow: 0px 7px 25px 15px rgba(0, 0, 0, 0.02);
  }

  html {
    font-size: 13px;
  }

  .qt-container {
    padding: 0px 15px;
  }

  .header .navbar .qt-container {
    padding: 0px;
  }

  .header .navbar .nav {
    position: relative;
  }

  .header .navbar .nav > .logo {
    margin-left: 15px;
  }

  .header .navbar .nav > .nav-icon {
    margin-right: 15px;
  }

  .header .navbar .nav > .nav-list {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #f0f7fb;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
      0 18px 6px -2px rgba(0, 0, 0, 0.02);
    z-index: 1;
    overflow-y: hidden;
    height: 0px;
    padding: 0 15px;
    transition: height 250ms ease-in, box-shadow 250ms ease-in;
  }

  .header .navbar .nav > .nav-list .nav-item {
    font-size: 1rem;
    margin-bottom: 10px;
    width: 100%;
  }

  .header .navbar .nav > .nav-list .nav-item .nav-item-dropdown {
    position: relative;
  }

  .header .navbar .nav > .nav-list .nav-item > .nav-link .nav-link-lable {
    padding: 10px 0px;
    font-size: 1rem;
    width: 100%;
  }

  .header .navbar .nav > .nav-list .nav-item:nth-last-of-type(2) {
    margin-left: 0px;
    margin-right: 0px;
  }

  .header .navbar .nav > .nav-list .nav-link > .dropdown-section {
    position: relative;
    display: none;
    align-items: flex-start;
    width: 100%;
    top: 12%;
    /* right: 0px; */
    bottom: auto;
    left: auto;
    background-color: #fff;
    border-radius: 4px;
    z-index: 3;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.09);
    overflow-y: auto;
    height: 450px;
  }

  .header .navbar .nav > .nav-list .nav-link > .dropdown-section#dropdown {
    right: 0px;
  }

  .header .navbar .nav > .nav-list .nav-link > .dropdown-section#r-dropdown {
    right: 0px;
  }

  .header .navbar .nav > .nav-list .nav-link > .show {
    display: flex;
    flex-direction: column;
  }

  .header .navbar .nav .nav-link > .dropdown-section .dropdown-section-left {
    width: 100%;
  }

  .header .navbar .nav > .nav-icon {
    display: block;
  }

  .header .navbar .nav > .nav-icon.open + .nav-list {
    height: fit-content;
  }

  .btn {
    font-size: 1rem;
  }

  .hero > .qt-container {
    padding-top: 45px;
    padding-bottom: 90px;
    background-position: center 50px;
    background-size: 220% 100%;
    display: inline-block;
  }

  .hero > .qt-container > .text-section {
    width: 100%;
    padding: 0px;
  }

  .hero .text-section > .title {
    font-size: 1.875rem;
    margin-bottom: 18px;
  }

  .hero .text-section > .sub-title {
    line-height: 20px;
  }

  .hero .get-started {
    flex-direction: column;
  }

  .hero .get-started > .btn {
    width: 100%;
  }

  .hero .get-started > .btn:not(:first-child) {
    margin-left: 0px;
    margin-top: 15px;
  }

  .hero .text-section .trusted-customers > .title {
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    text-align: center;
  }

  .hero .text-section > .feature-list > .feature {
    line-height: 20px;
  }

  .hero .text-section > .feature-list > .feature::before {
    height: 18px;
    margin-right: 10px;
  }

  .hero .text-section .trusted-customers {
    justify-content: center;
  }

  .hero .text-section .trusted-customers > .customers {
    padding: 30px 0px;
  }

  .hero .text-section .trusted-customers > .customers > img {
    height: 16px;
    margin-right: 30px;
  }

  .hero > .qt-container > .hero-img {
    width: 100%;
  }

  .hero > .qt-container .hero-img {
    height: 140px;
  }

  #pricing-section > .qt-container > .pricing-body-left .description {
    padding: 0 13px;
  }

  #pricing-section > .qt-container > .pricing-body-left > .setup-fee {
    padding: 30px;
  }
  /*--Payment options----*/

  #payment-options > .qt-container {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  #payment-options > .qt-container > .media-section {
    padding: 0px;
    flex: 100%;
    margin-right: auto;
  }

  /* #payment-options > .qt-container > div:first-child {
        margin-right: 0px
    } */

  #payment-options .media-section > .img-box {
    width: 100%;
    height: 195px;
    max-width: 100%;
  }

  #payment-options .media-section::after {
    top: unset;
    bottom: 70%;
    right: 75%;
  }

  #payment-options .text-section {
    margin-top: 70px;
    padding: 0px;
    flex: 100%;
  }

  #payment-options .text-section > .sub-title {
    line-height: 20px;
  }

  #payment-options
    .payment-options
    > .option-column
    > .option:not(:first-of-type) {
    margin-top: 15px;
  }

  #payment-options .payment-options .option-column .option > img {
    width: 40px;
    height: 40px;
    margin-right: 20px;
  }

  /*------- trustee ssection -----*/
  #trustee-section {
    background-color: #ffffff;
  }

  #trustee-section > .qt-container {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  #trustee-section .text-section {
    flex: 100%;
    margin-top: 70px;
    padding: 0px;
  }

  #trustee-section .text-section > .sub-title {
    line-height: 20px;
  }

  #trustee-section .text-section > .arrows {
    display: none;
  }

  #trustee-section .img-section {
    flex: 100%;
    padding-left: 0px;
    margin-top: 40px;
    display: flex;
    justify-content: center;
  }

  #trustee-section .img-section > iframe {
    width: 100%;
    border-radius: 2px;
    height: 350px;
  }

  /*------- Features -----*/
  #features-section > .qt-container {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  #features-section > .qt-container > .sub-title {
    line-height: 20px;
    padding: 0px 15px;
  }

  #features-section > .qt-container > .features {
    padding-top: 80px;
    background: url(../assets/img/features/features-bg.svg) no-repeat;
    background-position: 100% 5%;
  }

  #features-section > .qt-container > .features .container {
    padding: 0px 15px;
  }

  #features-section > .qt-container > .features .feature-card {
    flex: 100%;
    margin-right: 0px;
  }

  #features-section
    > .qt-container
    > .features
    .feature-card:not(:first-of-type) {
    margin-top: 40px;
  }

  #features-section > .qt-container > .features .feature-card > img {
    width: 60px;
    height: 60px;
  }

  #features-section > .qt-container > .features .feature-card > .title {
    font-size: 1.25rem;
    margin: 25px 0px;
  }

  #features-section > .qt-container > .features .feature-card > .description {
    line-height: 20px;
  }

  /*------- Setup -----*/
  #setup-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  #setup-section > .qt-container {
    padding: 0px 15px;
  }

  #setup-section .text-section {
    flex: 100%;
    padding-right: 0;
  }

  #setup-section .text-section .tags {
    padding-left: 0px;
  }

  #setup-section .img-section {
    flex: 100%;
  }

  #setup-section .img-section > img {
    margin-top: 40px;
  }

  /* --- Customer section --- */
  #customer-section > .qt-container {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  #customer-section > .qt-container > .sub-title {
    line-height: 20px;
    padding: 0px 15px;
  }

  #customer-section > .qt-container > .container {
    padding: 0 15px;
    display: flex;
    flex-direction: row;
    justify-content: center;
  }

  #customer-section > .qt-container > .container > .row {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: flex-start;
  }

  #customer-section > .qt-container > .container > .row:not(:first-of-type) {
    margin-top: 0px;
  }

  #customer-section > .qt-container > .container > .row > img {
    margin-bottom: 34px;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: flex-start;
    height: 25px;
  }

  #customer-section > .qt-container > .container > .row > img:last-of-type {
    margin-bottom: 0px;
  }

  /*------- CTA section -----*/
  #cta-section {
    padding: 0px;
  }

  #cta-section .qt-container {
    padding: 77px 15px;
  }

  #cta-section .qt-container > .text-section {
    flex: 100%;
  }

  #cta-section .qt-container > .text-section .question {
    margin-bottom: 15px;
  }

  #cta-section .qt-container .cta-actions {
    margin: 0;
    margin-top: 50px;
  }

  #cta-section .qt-container .cta-actions > a {
    flex: 100%;
  }

  #cta-section .qt-container .cta-actions > :first-child {
    margin-bottom: 25px;
    margin-right: 0px;
  }

  #cta-section .underline {
    padding: 0 15px;
  }

  /*------- Footer section -----*/
  #footer-section {
    background-color: #f8fafc;
    padding-bottom: 50px;
  }

  #footer-section .qt-container {
    padding: 0px 15px;
  }

  #footer-section .footer-row {
    margin-top: 40px;
  }

  #footer-section .footer-row .column {
    flex: 100%;
  }

  #footer-section .footer-item {
    min-width: 167px;
  }

  #footer-section .footer-item > .title {
    margin-bottom: 20px;
  }

  #footer-section .footer-item > .links {
    margin-bottom: 15px;
    line-height: 20px;
  }

  #footer-section .footer-item > .links .address-break {
    display: none;
  }

  #footer-section .footer-row .column:not(:last-of-type) {
    margin-right: 0px;
  }
}

/*------- Tablets ------*/
/* ========================= */

@media only screen and (min-width: 768px) and (max-width: 1023px) {
  html {
    font-size: 0.9rem;
  }

  .qt-container {
    padding: 0px 30px;
  }

  .header .navbar .qt-container {
    padding: 0px;
  }

  .header .navbar .nav {
    position: relative;
  }

  .header .navbar .nav > .logo {
    margin-left: 20px;
  }

  .header .navbar .nav > .nav-icon {
    margin-right: 20px;
  }

  .header .navbar .nav > .nav-list {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #f0f7fb;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
      0 18px 6px -2px rgba(0, 0, 0, 0.02);
    z-index: 1;
    overflow-y: hidden;
    height: 0px;
    padding: 0 15px;
    transition: height 250ms ease-in, box-shadow 250ms ease-in;
  }

  .header .navbar .nav > .nav-list .nav-item {
    font-size: 1rem;
    margin-bottom: 10px;
    width: 100%;
  }

  .header .navbar .nav > .nav-list .nav-item .nav-item-dropdown {
    position: relative;
  }

  .header .navbar .nav > .nav-list .nav-item > .nav-link .nav-link-lable {
    padding: 10px 0px;
    font-size: 1rem;
    width: 100%;
  }

  .header .navbar .nav > .nav-list .nav-item:nth-last-of-type(2) {
    margin-left: 0px;
    margin-right: 0px;
  }

  .header .navbar .nav > .nav-list .nav-link > .dropdown-section {
    position: relative;
    display: none;
    align-items: flex-start;
    width: 100%;
    top: 12%;
    /* right: 0px; */
    bottom: auto;
    left: auto;
    background-color: #fff;
    border-radius: 4px;
    z-index: 3;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.09);
    overflow-y: auto;
    height: 410px;
  }

  .header .navbar .nav > .nav-list .nav-link > .dropdown-section#dropdown {
    right: 0px;
  }

  .header .navbar .nav > .nav-list .nav-link > .dropdown-section#r-dropdown {
    right: 0px;
    height: 270px;
  }

  .header .navbar .nav .nav-link > .dropdown-section .dropdown-section-left {
    width: 50%;
  }

  .header .navbar .nav .nav-link > .dropdown-section .dropdown-section-right {
    width: 50%;
  }

  .header .navbar .nav > .nav-list .nav-link > .show {
    display: flex;
    flex-direction: row;
  }

  .header .navbar .nav > .nav-icon {
    display: block;
  }

  .header .navbar .nav > .nav-icon.open + .nav-list {
    height: fit-content;
  }

  .btn {
    font-size: 1rem;
  }

  /*--Payment options----*/
  #payment-options > .qt-container {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  #payment-options > .qt-container > .media-section {
    padding: 0px;
    flex: 100%;
    margin-right: 0px;
  }

  /* #payment-options > .qt-container > div:first-child {
        margin-right: 0px
    } */

  #payment-options .media-section > .img-box {
    position: relative;
    width: 100%;
    max-width: 100%;
  }

  #payment-options .media-section::after {
    top: -10%;
    right: 90%;
  }

  #payment-options .text-section {
    margin-top: 70px;
    padding: 0px;
    flex: 100%;
  }

  #payment-options .text-section > .sub-title {
    line-height: 25px;
  }

  #payment-options .payment-options {
    justify-content: flex-start;
  }

  #payment-options .payment-options > .option-column {
    margin-right: 120px;
  }

  #payment-options
    .payment-options
    > .option-column
    > .option:not(:first-of-type) {
    margin-top: 15px;
  }

  #payment-options .payment-options .option-column .option > img {
    width: 50px;
    height: 50px;
    margin-right: 20px;
  }

  /*------- trustee ssection -----*/
  #trustee-section {
    background-color: #ffffff;
  }

  #trustee-section > .qt-container {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  #trustee-section .text-section {
    flex: 4;
    margin-top: 70px;
    padding: 0px;
  }

  #trustee-section .text-section > .sub-title {
    line-height: 25px;
  }

  #trustee-section .text-section > .arrows {
    display: none;
  }

  #trustee-section .img-section {
    flex: 5;
    padding-left: 40px;
    margin-top: 60px;
    justify-content: center;
  }

  #trustee-section .img-section > iframe {
    width: 100%;
    border-radius: 2px;
    height: 250px;
  }

  /*------- Features -----*/
  #features-section > .qt-container {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  #features-section > .qt-container > .sub-title {
    line-height: 20px;
    padding: 0px 15px;
  }

  #features-section > .qt-container > .features {
    padding-top: 80px;
    background: url(../assets/img/features/features-bg.svg) no-repeat;
    background-position: 100% 5%;
  }

  #features-section > .qt-container > .features .container {
    padding: 0px 15px;
  }

  #features-section > .qt-container > .features .feature-card {
    flex: 1;
    margin-right: 10px;
  }

  #features-section > .qt-container > .features .feature-card > img {
    width: 40px;
    height: 40px;
  }

  #features-section > .qt-container > .features .feature-card > .title {
    font-size: 0.9rem;
    margin: 18px 0px;
  }

  #features-section > .qt-container > .features .feature-card > .description {
    line-height: 20px;
  }

  /*------- Setup -----*/
  #setup-section .text-section {
    padding-right: 50px;
  }

  #customer-section > .qt-container > .container > .row > img {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: flex-start;
  }

  #customer-section > .qt-container > .container > .row > img {
    margin-right: 30px;
    flex-direction: row;
    align-items: flex-start;
    height: 25px;
  }

  #cta-section .qt-container > .text-section {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  #cta-section .qt-container .cta-actions {
    margin-left: -320px;
    margin-top: 20px;
  }
}

/*------- Low res laptop ------*/
/* ========================= */

@media only screen and (min-width: 1023px) {
  html {
    font-size: 15px;
  }

  .qt-container {
    padding: 0px 80px;
    width: 100%;
  }

  .header .navbar .nav > .nav-list .nav-link > .dropdown-section {
    top: 10%;
  }
}

@media only screen and (min-width: 1441px) {
  html {
    font-size: 15px;
  }

  .qt-container {
    padding: 0px 100px;
    width: 100%;
  }

  .header .navbar .nav > .nav-list .nav-link > .dropdown-section {
    top: 10%;
  }
}

/*-------Mid-size screens------*/
/* ========================= */

@media only screen and (min-width: 1900px) {
  html {
    font-size: 17px;
  }

  .qt-container {
    padding: 0px 200px;
    width: 100%;
  }

  .header .navbar .nav > .nav-list .nav-link > .dropdown-section {
    top: 8%;
  }

  .header .navbar .nav > .nav-list .nav-link > .dropdown-section#dropdown {
    right: 590px;
  }

  .header .navbar .nav > .nav-list .nav-link > .dropdown-section#r-dropdown {
    right: 360px;
    background-color: var(--main-bg);
  }
}

/*------- Lorger screens------*/
/* ========================= */

@media only screen and (min-width: 2560px) {
  html {
    font-size: 18px;
  }

  .qt-container {
    padding: 0px 600px;
    width: 100%;
  }
}
@media (max-width: 980px){
    #consent-popup {
        bottom: 0px !important;
        margin-right: 15px;
        margin-bottom: 15px;
        width: 80% !important;
    }
}

