/*
 * BuyRealTraffic.Net - mobile / tablet layout (added 2026-11-25)
 * Loaded after css/styles.css. Every rule is inside a media query, so the
 * desktop layout (wider than 1080px) is completely unchanged.
 */

/* ---------- Tablets and small laptops: make fixed-width containers fluid ---------- */
@media only screen and (max-width: 1080px) {
  html, body { overflow-x: hidden; }
  img { max-width: 100%; height: auto; }

  .header, .slider, .banner-slider, .testimonial-box, .orderbox, .form-container,
  .footer-links, .innerpage-container, .how-works-box, .certified-logo-box {
    width: auto !important;
    max-width: 100%;
    box-sizing: border-box;
  }
  .innerpage-container { margin: 0 10px; }
  .inner-content { width: auto; float: none; box-sizing: border-box; overflow: hidden; }
  .menu { width: 100%; }
  .menu ul li a { padding: 10.5px 10px; font-size: 16px; }
  .test-box1 { width: auto; float: none; margin: 25px 15px; }
  .how-works-box { height: auto; float: none; background-size: cover; overflow: hidden; padding-bottom: 5px; }
  .web-traffic, .adult-traffic, .alexa-traffic { float: none; width: auto; height: auto; margin: 0 12px 15px !important; }
  .web-text { width: auto; }
  table { max-width: 100%; }
}

/* ---------- Phones ---------- */
@media only screen and (max-width: 760px) {
  body { font-size: 15px; -webkit-text-size-adjust: 100%; }

  /* Header: logo on white, menu as a dark bar with the orange line, like desktop */
  .header-bg { height: auto; background: #fff; }
  .header { height: auto; }
  .logo { float: none; width: auto; height: auto; padding: 12px 15px; text-align: center; }
  .logo img { width: 260px; max-width: 80%; height: auto; }
  .fb-links { float: none; width: auto; height: auto; padding: 0 15px 8px; text-align: center; }
  .fb-links img { float: none; margin: 0 4px; }
  .fb-links:empty { display: none; }
  .menu {
    float: none; width: 100%; height: auto;
    border-top: 3px solid #ff8a00;
    background: linear-gradient(#4d4d4d, #010101);
  }
  .menu ul { float: none; display: flex; flex-wrap: wrap; width: 100%; }
  .menu ul li {
    flex: 0 0 50%; box-sizing: border-box; background: none;
    border-bottom: 1px solid #2f2f2f;
  }
  .menu ul li:nth-child(odd) { border-right: 1px solid #2f2f2f; }
  .menu ul li:last-child:nth-child(odd) { flex-basis: 100%; border-right: 0; }
  .menu ul li a {
    float: none; display: block; text-align: center;
    font-size: 15px; padding: 11px 6px; background-image: none !important;
  }
  .menu ul li .current { background: rgba(18, 231, 255, 0.08); }
  .clear { clear: both; }

  /* Home page banner: keep the slides, scale them down */
  .banner-bg { height: auto; }
  .banner-slider, #slideshow { height: 200px !important; }
  #slideshow { width: 100% !important; }
  #slideshow > div { width: 100% !important; height: 200px !important; }
  #slideshow > div > img { width: 100%; height: 200px; object-fit: cover; object-position: left center; }
  .slider-text, .slider-text1 {
    font-size: 24px; left: 16px; right: 16px; width: auto !important; top: 22px !important;
  }
  .slider-small-text, .slider-small-text1 {
    font-size: 14px; line-height: 1.4; left: 16px; right: 16px; width: auto !important; top: 64px !important;
  }
  .banner-logo { display: none; }
  #prev, #next { top: 120px; transform: scale(0.7); }

  /* Home page intro box (desktop has a fixed 600px height) */
  .test-box1 { margin: 15px 10px; height: auto; }
  .testimonial-box::after, .blue-bg::after { content: ""; display: block; clear: both; }
  .test-text p, .inner-content p, .inner-content div[align="justify"] { text-align: left; }
  .slider { height: auto; }
  .whitetitles h1, .whitetitles { font-size: 22px; }
  .test-text { float: none; padding: 0 12px; }

  /* Order form */
  .orderbox { margin: 0 8px; }
  .fill-text { font-size: 26px; line-height: 1.2; height: auto; padding: 10px; }
  .orange-container { height: auto; padding: 6px 4px; }
  .form-box { width: auto; padding: 0 12px; }
  .form-box-small { float: none; width: 100%; margin-top: 20px; }
  .form-box-small::after { content: ""; display: block; clear: both; }
  .number-box { margin-right: 10px; }
  .form-title, .alexa-title { float: none; width: auto; overflow: hidden; font-size: 22px; padding: 12px 0 10px; }
  .formfields { float: none; clear: both; }
  label { float: none; display: block; width: auto; margin-bottom: 4px; }
  input, select, textarea { max-width: 100%; box-sizing: border-box; }
  .formfields input[type="text"], .formfields select, .formfields textarea,
  .form-box-small input[type="text"], .form-box-small select { width: 100% !important; }
  .formfields input[type="checkbox"], .formfields input[type="radio"] { width: auto !important; }
  .g-recaptcha { transform: scale(0.9); transform-origin: left top; }
  .checkout-box { height: auto; text-align: center; padding-bottom: 12px; }
  .checkout-link { float: none; margin: 15px auto 0; }
  .certified-logo-box { height: auto; padding: 10px; }
  .ordertext, .order_form_totalprice_bottom { float: none !important; margin: 15px 0 0; text-align: center; width: auto !important; }
  .certified-logo-box { margin: 20px auto; text-align: center; }
  .certified-logo-box img { margin: 5px; }

  /* Inner pages */
  .innerpage-container { margin: 0; box-shadow: none; }
  .titles { font-size: 26px; line-height: 1.2; height: auto; padding: 10px 15px; }
  .titles h1 { font-size: 26px; }
  .inner-content, .inner-content1 { padding: 20px 15px; float: none; width: auto; }
  .about-left, .about-right, .ul-links, .check-box, .title-right, .benefits-box,
  .web-traffic, .adult-traffic, .alexa-traffic, .tabscontent, .url-box, .web-text,
  .contact-left, .resellers-form {
    float: none; width: auto !important; margin-left: 0 !important; margin-right: 0 !important;
  }
  .box1 { float: none; overflow: hidden; }
  .benefits-box { clear: both; overflow: hidden; padding: 10px 15px; }
  .check-box { padding: 15px; }

  /* jQuery UI tabs (Security, FAQ): tabs wrap on top, panel full width */
  #tabs, .ui-tabs-vertical { width: auto !important; max-width: 100%; box-sizing: border-box; }
  #tabs .ui-tabs-nav, .ui-tabs .ui-tabs-nav { float: none !important; width: auto !important; padding-top: 5px; }
  .ui-tabs .ui-tabs-nav::after { content: ""; display: block; clear: both; }
  .ui-tabs .ui-tabs-nav li { float: left !important; width: auto !important; white-space: normal; margin: 0 4px 4px 0 !important; }
  .ui-tabs .ui-tabs-nav li a { margin-right: 0 !important; padding: 8px 10px 10px !important; font-size: 14px; }
  .ui-tabs .ui-tabs-panel {
    float: none !important; width: auto !important; left: 0 !important; top: 0 !important;
    margin: 0 !important; padding: 12px !important; clear: both;
  }
  .ui-tabs .ui-tabs-panel table[align="left"] { float: none; margin: 0 auto 10px; }

  .web-traffic, .adult-traffic, .alexa-traffic { margin: 0 12px 15px !important; height: auto; }
  .how-works-box { height: auto; float: none; background-size: cover; padding-bottom: 5px; overflow: hidden; }
  .how-works-box h4 { font-size: 24px; padding: 14px 10px; }
  .web-text { font-size: 21px; width: auto; }
  .about-traffic-box { margin: 0 0 20px; float: none; overflow: hidden; }
  .title-right { float: none; overflow: hidden; padding-left: 12px; }
  .adult-title, .MLM-title { float: none; width: auto; overflow: hidden; }
  .usa-table { margin: 0; float: none; }
  ul.tabs { display: flex; gap: 6px; }
  ul.tabs li { margin-right: 0; float: none; font-size: 15px; padding-left: 10px !important; padding-right: 10px !important; }
  .url-box { height: auto !important; background-size: cover; margin: 0 0 20px !important; }
  .inner-content ul:not([class]), .test-text ul:not([class]) { padding-left: 18px; }
  #marqueecontainer { margin: 10px 0; }
  .question-details { overflow-wrap: anywhere; }

  /* Wide tables: scroll sideways inside the page instead of breaking it */
  .inner-content, .inner-content1 { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .inner-content table table td { font-size: 12px; }
  .inner-content td[width] { width: auto !important; }
  .inner-content table[width] { width: 100% !important; }
  .inner-content select { width: 100% !important; }
  .scroll-x, .prices-table, .countries-table, #marqueecontainer {
    display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
  }

  /* Footer */
  .footer-links { padding: 18px 10px 0; line-height: 2; }
  .footer-links a { display: inline-block; padding: 0 6px; }
}
