

html, body {
    margin: 0px;
    padding: 0px;
}


.center-loader {
    width: 100%;
    text-align: center;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

.loader {
    border: 6px solid #f3f3f3;
    border-radius: 50%;
    border-top: 6px solid #3498db;
    width: 20px;
    height: 20px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
    display: inline-block;
}

.loader-msg {
    font-family: sans-serif;
    font-size: 14px;
    color: grey;
}

.footer {
    position: fixed;
    bottom: 0;
    display: block;
    text-align: center;
    padding: 0;
    margin: 0;
    width: 100%;
    background-color: white;
    border-top: 1px solid #e4e4e4;
    z-index: 2;
}

.footer ul {
    list-style-type: none;
    padding: 0;
    justify-content: space-evenly;
    display: flex;
    width: 90%;
    margin: auto;
}

.footer ul::-webkit-scrollbar {
    display: none; /* for Chrome, Safari, and Opera */
}

.footer li {
    display: inline-block;
    font-family: sans-serif;
    font-size: 1em;
    font-weight: normal;
}

.footer li span {
    font-size: 0.7em;
}

.footer a {
    text-decoration: none;
    margin: 0;
    color: #494949;
}

.phone-navbar {
    display: none;
}

div#keep-footer-down {
    min-height: 100vh;
    padding-bottom: 80px;
}

#desktop-footer {
    position: fixed;
    bottom: 0;
    display: block;
    text-align: center;
    padding: 0px;
    margin: 0;
    width: 100%;
    background-color: white;
    border-top: 1px solid #e4e4e4;
    z-index: 2;
    box-shadow: 15px 7px 16px 0px rgba(0,0,0,0.4);
}

#mini-upload-btn-footer {
    background-color: #961396;
    background-color: #1e1e1e;
    margin-top: -26px;
    height: 50px;
    width: 50px;
    border: 1px solid #e4e4e4;
    border-radius: 50%;
    text-align: center;
    z-index: 2;
    cursor: pointer;
}

#mini-upload-btn-footer i {
    line-height: 50px;
    font-size: 21px;
    margin: 0px;
    color: white;
}

#desktop-footer ul {
    list-style-type: none;
    padding: 0;
    justify-content: space-evenly;
    display: flex;
    width: 70%;
    margin: auto;
}

#desktop-footer li {
    padding: 0;
    list-style-type: none;
    display: inline-block;
    font-family: sans-serif;
    font-size: 0.9em;
    font-weight: normal;
}

#desktop-footer a {
    text-decoration: none;
    color: #6e6e6e;
}

hr {
    border-color: #fdfdfd;
    margin-top: 20px;
}

textarea {
    overflow-y: scroll;
}

.pagination a {
    color: black;
    text-decoration: none;
    font-family: sans-serif;
}

#pagination {
    width: 50%;
    padding-top: 20px;
    margin: auto;
    text-align: center;
}

/*------ nav-bar -----*/

.topnav {
    z-index: 4;
    overflow: hidden;
    background-color: #242424;
    height: 60px;
    background-color: #fcfcfc;
    box-shadow: 0px 8px 8px 0px rgba(0,0,0,0.2);
    border-bottom: 1px solid #fcfcfc;
}

.topnav ul {
  font-family: sans-serif;
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.topnav ul li {
  display: inline-block;
  padding: 20px 10px;
  margin: 0 10px;
}

.topnav ul li a {
  font-size: 14px;
  font-weight: bold;
  margin: 0;
  padding: 0;
  color: white;
  cursor: pointer;
}

.topnav.audio {
    box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.1);
    border-bottom: 0px solid #fcfcfc;

    position: relative;
    background-color: transparent;
}

.topnav a.active {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

.topnav .active a:hover {
    /*background-color: #ddd;*/
    color: black;
}

.topnav a.active {
    /*background-color: #04AA6D;*/
    color: white;
}

#nav-links {
    /*width: 30%;*/
    float: right;
    margin: 14px 20px 0 0;
}

#nav-links img {
    height: 30px;
    width: 30px;
    border-radius: 100%;
}

.nav-dm-btn-phone {
    font-size: 20px;
    margin: 8px 3px 0px 0px;
}

.number_of_unseen_messages {
    position: absolute;
    background-color: red;
    height: 18px;
    width: 21px;
    border-radius: 50%;
    text-align: center;
    top: 5px;
    right: 12px;
    padding: 0 0 5px 0;
    overflow: hidden;
}

.number_of_unseen_messages span {
    font-family: sans-serif;
    font-weight: normal;
    font-size: 12px;
    color: white;
    margin: 0;
    padding: 0;
}

#nav-links ul {
    list-style-type: none;
}

#nav-links li {
    float: right;
    margin: 0px;
    padding-top: 6px;
}

#logo {
    width: 200px;
    height: 50px;
    display: inline-block;
    vertical-align: top;
}

#logo img {
    width: 100%;
    height: 36px;
    vertical-align: center;
}

/*------------------------------- search-bar -----------------------------*/


.search-bar {
    display: flex;
    justify-content: center;
    width: 85%;
    margin: 40px auto 0 auto;  /* center horizontally */
}

form.search {
  display: flex;
  align-items: stretch;
  width: 100%;
/*  z-index: 3;*/
}



form.search input[type=text] {
    padding: 4.8px;
    font-size: 16px;
    border: 1px solid #d1d1d1;
    width: 100%;
    background: white;
    margin: 0;
    outline: none;
}

/*form.search input[type=text]:focus {
    border: 0.7px solid #aa01aa;
    border: 0px solid black;
    padding: 4.8px;
    margin: 0;
}*/

form.search button {
    display: inline-block;
    width: 52px;
    padding: 6px 0px;
    padding-right: 0px;
    background: #961396;
    background-color: #282828;
    color: white;
    font-size: 15px;
    border: none;
    cursor: pointer;
    margin: 0;
    border-radius: 0px 20px 20px 0px;
}

form.search::after {
    content: "";
    clear: both;
    display: table;
}

.search-input-wrapper {
    position: relative;
    display: inline-block;
    width: 85%;
}


#id_search {
  width: 100%;
  padding-right: 30px; /* Make space for the X */
  padding-left: 4.8px;
  padding-top: 4.8px;
  padding-bottom: 4.8px;
  font-size: 16px;
  border: 1px solid #d1d1d1;
  background: white;
  outline: none;
  border-radius: 20px 0 0 20px;
  box-sizing: border-box;
}

#id_search:focus {
    border: 0.7px solid black;
    padding: 4.8px;
    margin: 0;
}

.clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #999;
  cursor: pointer;
  z-index: 10;
  user-select: none;
  display: block;
  line-height: 1;
}






.bubble-links::-webkit-scrollbar {
    display: none; /* for Chrome, Safari, and Opera */
}

.bubble-links {
    width: 100%;
    overflow: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -ms-overflow-style: none; /* for Internet Explorer, Edge */
    scrollbar-width: none; /* for Firefox */
}

.bubble-links ul {
    list-style-type: none;
    margin: 25px 0 0 5px;
    padding: 0;
}

.bubble-links.video ul {
    margin: 20px 0 0 10px;
}

.bubble-links.pin ul {
    margin: 5px 0 0 10px;
}

.bubble-links.pin.no-file ul {
    margin: 10px 0 0 10px;
}

.bubble-links li {
    margin: 0 5px 0 0;
    display: inline-block;
    background-color: #f1f1f1;
    border-radius: 6px;
    padding: 4px;
    border: 1px solid #e1e1e1;
}

.bubble-links.video li {
    padding: 3px;
}

.bubble-links.pin li {
    padding: 1px;
}

.bubble-links a {
    color: grey;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 1.0em;
    font-family: sans-serif;
}

.bubble-links.pin a {
    padding: 12px 14px;
    font-size: 0.7em;
}


    /*------------------------- user_videos.html ---------------------------------*/

.menu-1-container::-webkit-scrollbar {
    display: none; /* for Chrome, Safari, and Opera */
}

.menu-1-container {
    width: 100%;
    margin: 12px 0 0 0;
    padding: 5px 0 7px 0;
    overflow: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -ms-overflow-style: none; /* for Internet Explorer, Edge */
    scrollbar-width: none; /* for Firefox */
}

.menu-1-container ul {
  font-family: sans-serif;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu-1-container ul li {
  display: inline-block;
  padding: 10px 25px;
  margin: 0 10px;
  border-right: 1px solid #ededed;
  border-bottom: 1px solid #ededed;
  border-radius: 5px;
  box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.2);
}

.menu-1-container.search ul li {
  padding: 5px 10px;
  border-right: 0px solid #ededed;
  border-bottom: 0px solid #ededed;
  box-shadow: 0px 0px 0px 0px rgba(0,0,0,0.2);
}

.menu-1-container ul li a {
  font-size: 13px;
  font-weight: bold;
  margin: 0;
  padding: 0;
  color: #6e6e6e;
  cursor: pointer;
  text-decoration: none;
}

.menu-1-container ul li a:active {
  color: #0000EE; /* same color when actively clicked */
}

.menu-1-container ul li a.active {
  color: black;
}

/*--------------------------- search_page.html ---------------------*/




    /*--------------------- live-search-dropdown ------------------------*/

.search-dropdown-content-1-opacity {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 3; 
    background-color: rgba(0, 0, 0, 0.3);
    display: none;
}


.search-dropdown-content-1-container {
    position: absolute;
    top: 100%; /* place just below the input */
    right: 0;
    width: 99%; /* match input field */
    border: 1px solid #eee;
    background-color: white;
    z-index: 4;
    max-height: 350px;
    overflow-y: auto;
    display: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}


.search-dropdown-content-1-holder {
    height: 30px;
    width: 100%;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    z-index: 10;
    overflow: hidden;
}

.search-dropdown-content-1-holder:hover {
    background-color: #949494;
}

.search-dropdown-content-1-thumbnail-holder {
    display: inline-block;
    width: 50px;
    height: 100%;
    margin-left: 10px;
    float: left;
}

.search-dropdown-content-1-thumbnail-holder img {
    width: 100%;
    height: 100%;
}

.search-dropdown-content-1-details-holder {
    display: inline-block;
    width: 90%;
    height: 100%;
    margin-left: 10px;
}

.search-dropdown-content-1-details-holder p {
    font-family: sans-serif;
    font-size: 14px;
    margin: 0;
    padding: 0;
}

.search-dropdown-content-1-details-holder p.song-name {
    font-size: 12px;
    color: #575757;
}

.search-dropdown-content-1-details-holder p.video-details {
    font-size: 12px;
    color: #575757;
}

    /*----------------- links -----------------------*/


/*show more / show less button for word definition block*/
.toggle-definitions {
    margin-top: 10px;
    background-color: #f2f2f2;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 13px;
    border-radius: 4px;
}

.toggle-definitions:hover {
    background-color: #e0e0e0;
}




/*------------------------ translator ----------------------*/

/* Container */
.translator-container {
  font-family: Arial, sans-serif;
  width: 95%;
  margin: 2rem auto;
  padding: 20px 0;
  background: #fafafa;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: none;
  text-align: center;

}

/* Center all child elements inside container */
.translator-container > * {
  width: 95%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.translator-holder {
  width: 95%;
}

.translator-holder > * {
  width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* Textarea */
#inputText {
  height: 60px;
  font-size: 1rem;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  resize: vertical;
  font-family: Arial, sans-serif;
}

/* Label */
.translator-container label {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 8px;
  text-align: left;
}

/* Select */
#targetLang {
  padding: 10px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  background-color: #fff;
}

/* Button */
.translator-container button {
  padding: 12px;
  font-size: 1rem;
  background-color: #4285f4;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}

.translator-container button:hover {
  background-color: #3367d6;
}

/* Output box */
#output {
  padding: 12px;
  background-color: #f1f3f4;
  border-radius: 6px;
  border: 1px solid #ddd;
  min-height: 40px;
  font-size: 1rem;
  margin-top: 20px;
}



/* Selected item in the input box */
.ts-wrapper.single .ts-control {
  text-align: left !important;
}

/* Dropdown items */
.ts-dropdown-content .option {
  text-align: left !important;
}

/* The input field inside the control */
.ts-wrapper .ts-control input {
  text-align: left !important;
}






/* TomSelect wrapper */
.ts-wrapper {
  width: 100%;
  margin: 10px auto;
  font-family: Arial, sans-serif;
}

/* Control input box */
.ts-control {
  background: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 16px;
  box-shadow: none;
  transition: border 0.2s;
}

.ts-control.focus {
  border-color: #007bff;
}

/* Dropdown menu */
.ts-dropdown {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 6px 0;
  background: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-height: 200px;
  overflow-y: auto;
  font-size: 15px;
}

/* Dropdown items */
.ts-dropdown .option {
  padding: 8px 15px;
  cursor: pointer;
}

.ts-dropdown .option:hover,
.ts-dropdown .option.selected {
  background-color: #007bff;
  color: white;
}





/*--------------------- calculator ---------------------------------------*/

    .calculator {
      background: #fff;
      padding: 20px 0;
      border-radius: 14px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
      width: 95%;
      display: none;
      margin: auto;
      margin-top: 20px;
    }
    .calculator,
    .calculator button {
      touch-action: manipulation;
    }
    .display {
      font-size: 2rem;
      text-align: right;
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 8px;
      height: 30px;
      overflow: hidden;
      width: 95%;
      margin: auto;
      margin-bottom: 15px;
    }
    .buttons {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 10px;
      width: 95%;
      margin: auto;
    }
    button {
      padding: 10px;
      font-size: 1.25rem;
      border: none;
      border-radius: 8px;
      background: #eee;
      transition: 0.2s;
      cursor: pointer;
    }
    button.op {
      background: #ffa500;
      color: #fff;
    }
    button.eq {
      background: #28a745;
      color: #fff;
      grid-column: span 4;
    }

/* -------------------------------------------------------- */


/* Container for all person info results */
.person-info-container {
    font-family: sans-serif;
    width: 100%;
    margin: 30px 0;
    padding: 0;
    display: none;
}

/* Card-like box for the person information */
.person-info-box {
    width: 95%;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    border: 1px solid #eee;
    padding: 15px 0 15px 0px;
}

/* Flex layout for image + text */
.person-info-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

/* Right-side text area */
.person-info-text {
    flex: 1;
    margin-left: 12px;
}

/* Main person name */
.person-info-box h1 {
    font-size: 28px;
    margin: 0 0 15px 0;
    color: #222;
}

/* Summary or description */
.person-info-box p {
    font-size: 15px;
    color: #444;
    margin: 8px 0;
    line-height: 1.5;
}

/* Image of person */
.person-info-box img {
    display: block;
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    margin: 12px 0 12px 12px;
}

/* Labels for metadata (e.g., birth year, wiki_url) */
.person-info-box strong {
    font-weight: 600;
    color: #222;
}

/* Wikipedia link */
.person-info-box a {
    color: #0077cc;
    text-decoration: none;
    font-weight: bold;
}

.person-info-box a:hover {
    text-decoration: underline;
}

/* Optional spacing for dynamic fields */
.person-info-box .field-block {
    margin-top: 10px;
}

/*-------------------------- movie-search ---------------------------*/

.movies-details-container {
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px;
  display: none;
}

.poster-card {
  min-width: 120px;  /* Set min width */
  width: 200px;       /* Keep consistent width */
  flex: 0 0 auto;     /* Prevent shrinking/growing */
  text-align: center;
  cursor: pointer;
}

.poster-card img {
  width: 100%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.poster-card img:hover {
  transform: scale(1.05);
}

.poster-title {
    font-family: sans-serif;
  margin-top: 6px;
  font-size: 13px;
  font-weight: bold;
  color: #333;
}





/* Container for the movie details */
.movie-details-container {
  font-family: sans-serif;
  width: 95%;
  margin: 30px auto;
  padding: 0;
  display: none;
}

/* Card-like box */
.movie-details-box {
  width: 95%;
  margin: 20px auto;
  border-radius: 12px;
  border: 1px solid #eee;
  padding: 15px 0 15px 0;
}

/* Flex layout for poster + text */
.movie-details-content {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 0 20px;
}

/* Right-side text area */
.movie-details-text {
  flex: 1;
  margin-left: 12px;
}

/* Movie title */
.movie-details-box h1 {
  font-size: 28px;
  margin: 0 0 15px 0;
  color: #222;
}

/* Paragraphs (description, genres, etc.) */
.movie-details-box p {
  font-size: 15px;
  color: #444;
  margin: 8px 0;
  line-height: 1.5;
}

/* Poster image */
.movie-details-box img {
  display: block;
  max-width: 200px;
  height: auto;
  border-radius: 8px;
  margin: 12px 0;
}

/* Metadata labels */
.movie-details-box strong {
  font-weight: 600;
  color: #222;
}

/* Website link */
.movie-details-box a {
  color: #0077cc;
  text-decoration: none;
  font-weight: bold;
}

.movie-details-box a:hover {
  text-decoration: underline;
}

/* Optional block spacing */
.movie-details-box .field-block {
  margin-top: 10px;
}



.movie-group {
  margin-bottom: 30px;
}

.movie-group h2 {
  font-size: 18px;
  font-family: sans-serif;
  margin: 10px 0;
  font-weight: bold;
  color: #333;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
}

.movie-group-container {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 10px 0;
  flex-wrap: nowrap;
  scroll-behavior: smooth;
}

.movie-group-container::-webkit-scrollbar {
  height: 6px;
}

.movie-group-container::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}


.show-more-btn {
  font-family: sans-serif;
  font-size: 14px;
  padding: 6px 12px;
  margin: 16px 0 10px;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.show-more-btn:hover {
  background-color: #e0e0e0;
}




/* Container inside the movie_details box */
.movie-streaming-box {
  margin-top: 20px;
  padding: 15px;
  border-top: 1px solid #ddd;
  background-color: #fafafa;
  border-radius: 8px;
  font-family: sans-serif;
}

.movie-streaming-box h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #222;
}

.movie-streaming-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.movie-streaming-box li {
  margin: 8px 0;
  font-size: 14px;
  color: #333;
}

.movie-streaming-box a {
  color: #007bff;
  text-decoration: none;
}

.movie-streaming-box a:hover {
  text-decoration: underline;
}

.streaming-inline {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
}
.streaming-inline a {
    font-size: 14px;
  color: #0077cc;
  text-decoration: none;
}
.streaming-inline a:hover {
  text-decoration: underline;
}








/*------------------------ timezone_converter ---------------------------*/

.link-holder.time-zone-converter {
  background-color: #f4f8ff;
  border: 1px solid #c9defc;
  border-radius: 10px;
  padding: 20px 0;
  width: 95%;
  margin: 20px auto;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s ease-in-out;
  display: none;
}

.link-holder.time-zone-converter:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.timezone-label {
  font-size: 1.2rem;
  color: #1e3a5f;
  line-height: 1.6;
  margin: 0 0 0 20px;
}

.timezone-label strong {
  color: #1453c4;
}

#tz_time {
  font-weight: bold;
  color: #0a3d91;
  font-size: 1.3rem;
}



/*--------------------- travel_search.html ------------------*/

.travel-widget {
    display: none;
}

.trip-widget-controls {
  display: flex;
/*  justify-content: center;*/
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px auto;
  width: 95%;
  text-align: left;
}

.trip-widget-controls button {
  background-color: #0078f2;
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s, box-shadow 0.2s;
}

.trip-widget-controls button:hover {
  background-color: #005dc0;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 120, 242, 0.3);
}

.trip-widget-controls button.active {
  background-color: #003e8a;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 62, 138, 0.4);
}


/* Base Styles */
.trip-widget {
  width: 95%;
  overflow: visible;
  margin: 20px auto;
}

.trip-widget iframe {
  width: 100%;
  height: 300px;
  border: none;
  display: none;
}

.trip-widget iframe.active {
  display: block;
}

/* Hide phone widgets by default on desktop */
.trip-widget.phone {
  display: none;
}




/*------------------ weather -------------------*/

.weather-widget {
  display: block;
  width: 95%;
  padding: 20px 0;
  margin: 30px auto;
  background: linear-gradient(145deg, #eaf4ff, #ffffff);
  border-radius: 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  font-family: "Segoe UI", "Roboto", sans-serif;
  text-align: center;
  color: #1a1a1a;
  transition: background 0.5s ease, color 0.3s ease;
}

/* WEATHER THEMES */
.weather-widget.sunny {
  background: linear-gradient(135deg, #ffe259, #ffa751);
  color: #333;
}
.weather-widget.cloudy {
  background: linear-gradient(135deg, #d7d2cc, #304352);
  color: #f1f1f1;
}
.weather-widget.rainy {
  background: linear-gradient(135deg, #4e54c8, #8f94fb);
  color: #f0f0f0;
}
.weather-widget.snow {
  background: linear-gradient(135deg, #e0eafc, #cfdef3);
  color: #333;
}
.weather-widget.storm {
  background: linear-gradient(135deg, #283e51, #485563);
  color: #f8f8f8;
}

/* WRAPPER */
.weather-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/* HEADINGS */
.weather-widget h2 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: inherit;
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* MAIN SECTION */
.weather-main {
  margin-bottom: 20px;
}
.weather-main h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
  color: inherit;
}
.weather-main .temp {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}
.weather-main .feels-like {
  font-size: 13px;
  color: inherit;
  opacity: 0.8;
  margin-top: 4px;
}

/* DETAILS SECTION */
.weather-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 10px;
}
.weather-details .condition {
  font-size: clamp(13px, 4vw, 16px);
  font-weight: 500;
  margin-bottom: 4px;
}
#weather-icon {
  display: block;
  width: 44px;
  height: 44px;
  margin: 8px auto;
}

.weather-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.weather-stats p {
  margin: 0;
  padding: 0 6px;
  font-size: clamp(12px, 3.5vw, 14px);
  white-space: nowrap;
  line-height: 1.4;
}







/*------------------- location-permission --------------------*/

.location-button {
  display: none;
  margin: 20px auto;         /* ← centers the button */
  border: 1px solid #ccc;
  padding: 10px 0;
  width: 95%;
  background-color: #f0f0f0;
  color: #333;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  font-family: sans-serif;
  transition: background-color 0.2s ease;
}



/*------------------ ip-address -------------------*/

.link-holder.ip-address {
    padding: 12px 20px;
    margin: 20px auto;
    max-width: 300px;
    font-family: "Segoe UI", sans-serif;
    font-size: 16px;
    background: linear-gradient(135deg, #e0f7fa, #ffffff);
    border: 1px solid #ccc;
    border-radius: 10px;
    text-align: center;
    color: #333;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
    display: none; /* hidden by default */
  }

  .link-holder.ip-address:hover {
    background: linear-gradient(135deg, #b2ebf2, #ffffff);
  }



/*-------------------- near-me -----------------*/

/* Near Me container */
.near-me-container {
  width: 95%;
  margin: auto;
  display: none;
  font-family: "Segoe UI", sans-serif;
}

/* Search controls layout */
.search-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
  background: #ffffff;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Custom select */
.custom-select-wrapper {
  position: relative;
  width: 100%;
  max-width: 300px;
}

.custom-select-toggle {
  padding: 12px 14px;
  background: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  user-select: none;
}

.custom-select-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.custom-select-options div {
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.custom-select-options div:hover {
  background: #f0f0f0;
}

/* Button */
.styled-button {
  padding: 12px 20px;
  font-size: 16px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.styled-button:hover {
  background-color: #0056b3;
}

/* Map container */
#map {
  height: 300px;
  width: 100%;
  border-radius: 8px;
  margin-top: 20px;
  display: none;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

/* Result list container */
.result-list {
  max-height: 300px;
  overflow-y: auto;
  padding: 10px;
  margin-top: 20px;
  border-radius: 8px;
  background: #f9f9f9;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}


/* Individual result card */
.result-list .result-item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  font-family: "Segoe UI", sans-serif;
}

.result-list .result-item:last-child {
  margin-bottom: 0;
}

.result-list .result-item .name {
  font-weight: 600;
}

.result-list .result-item strong {
  font-size: 15px;
  font-weight: 500;
  color: #222;
  display: block;
  margin-bottom: 4px;
}

.result-list .result-item p {
  font-size: 14px;
  color: #444;
  margin: 4px 0;
}

.result-list .result-item p.address {
  color: #333;
}

.result-list .result-item a {
  color: #007bff;
  text-decoration: none;
  font-size: 13px;
}

.result-list .result-item a:hover {
  text-decoration: underline;
}

/* Inline stats pills */
.inline-stats {
  display: flex;
  flex-wrap: nowrap;               /* prevent wrapping */
  overflow-x: auto;                /* enable horizontal scroll */
  gap: 8px;
  margin: 8px 0;
  padding-bottom: 4px;
  scrollbar-width: thin;          /* Firefox */
}

.inline-stats::-webkit-scrollbar {
  height: 6px;
}

.inline-stats::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.inline-stats::-webkit-scrollbar-track {
  background: transparent;
}


.stat {
  display: inline-flex;
  align-items: center;
  background-color: #f3f6fa;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 12px;
  color: #222;
  white-space: nowrap;
  line-height: 1.2;
}

.stat .title {
  font-weight: 600;
  margin-right: 5px;
  color: #000;
}

.stat .value {
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
  display: inline-block;
}

.stat a {
  color: #007bff;
  text-decoration: none;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  font-size: 12px;
}

.stat a:hover {
  text-decoration: underline;
}

/* Raw tag and reverse geocode list styling */
.meta-list {
  display: flex;               /* ← makes it horizontal */
  flex-wrap: nowrap;           /* ← prevent line wrap */
  overflow-x: auto;            /* ← enables horizontal scroll */
  gap: 12px;
  padding: 4px 0;
  margin: 6px 0;
  font-size: 13px;
  color: #444;
  scrollbar-width: thin;
}

.meta-list::-webkit-scrollbar {
  height: 6px;
}
.meta-list::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}
.meta-list::-webkit-scrollbar-track {
  background: transparent;
}

.meta-list li {
  flex: 0 0 auto;              /* ← important: keeps items from shrinking */
  white-space: nowrap;
  list-style: none;
  margin-right: 16px;
}


/* Extra info blocks */
.extra-section {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #e0e0e0;
  font-size: 13px;
}

/* Map link */
.map-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  color: #007bff;
  text-decoration: none;
}

.map-link:hover {
  text-decoration: underline;
}


/*---------------------- unit-converter -------------------*/

.converter-container {
    width: 95%;
    margin: auto;
    margin-top: 20px;
    border-radius: 12px;
    border: 1px solid #eee;
    padding: 15px 0 15px 15px;
    display: none;
}


/* Converter Sections */
.converter-section {
    margin: auto;
  padding: 20px 0;
  border-radius: 12px;
  width: 95%;
}

/* Inputs & Dropdowns – unified sizing */
.converter-input,
.converter-select {
  display: block;               /* make margin-top behave consistently        */
  width: 100%;
  box-sizing: border-box;       /* ⬅️  include padding + border in 100% width */
  padding: 12px 14px;           /* equal left / right padding                 */
  margin: 14px 0 0;             /* top margin only                            */
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  background: #fff;
  transition: border-color .3s ease, box-shadow .3s ease;
}

.converter-input:focus,
.converter-select:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,123,255,.15);
}

/* Optional: remove native arrow & add your own for absolute pixel-parity */
.converter-select {
  /* Normalize native UI */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  /* Custom arrow (SVG data-URI keeps the file count at zero) */
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"%3E%3Cpath d="M1 1l5 5 5-5" fill="none" stroke="%23888" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/%3E%3C/svg%3E');
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px; /* room for the arrow so text aligns with input */
}


/* Result Display */
.result {
    margin: auto;
  margin-top: 25px;
  padding: 16px 0;
  font-size: 18px;
  background-color: #e9f7ef;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  width: 95%;
}




/*-------------------- link-holder ---------------------*/

.link-container {
    width: 100%;
    margin: 20px 0 0 0;
}

.link-holder {
    width: 95%;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    border: 1px solid #eee;
    padding: 15px 0 15px 15px;
}

.link-holder.word-definition {
    display: none;
}

.link-holder.word-definition .definition-block {
    margin-bottom: 12px;
}

.link-holder.word-definition blockquote {
    font-family: sans-serif;
    margin: 4px 0 0 12px;
    padding-left: 8px;
    border-left: 2px solid #ccc;
    color: #555;
    font-style: italic;
    font-size: 14px;
}

.link-holder.word-definition strong {
    font-family: sans-serif;
    display: inline-block;
    font-weight: bold;
    margin-bottom: 2px;
    font-size: 14px;
}


.link-holder h1 {
    margin: 0;
    font-family: sans-serif;
}

.link-holder h1 span.domain {
    margin: 0;
    font-family: sans-serif;
    font-size: 12px;
    color: grey;
}

.link-holder span.time-stamp {
    margin: 0;
    font-family: sans-serif;
    font-size: 12px;
    color: grey;
}

.link-holder h1 a {
    font-size: 19px;
    text-decoration: none;
/*    color: #0000cd*/
}

.link-holder h1 a:active {
  color: #0000EE; /* same color when actively clicked */
}

.link-holder p {
    font-size: 13px;
    margin: 0;
    font-family: sans-serif;
    font-weight: normal;
    color: grey;
}

.link-holder.word-definition p {
    font-size: 14px;
    margin: 8px 0 0 0;
}

.link-holder.word-definition h1 {
    font-size: 32px;
    text-decoration: none;
}

.link-favicon-holder {
    height: 15px;
    width: 15px;
}

.link-favicon-holder img {
    height: 100%;
    width: 100%;
}

.link-ad-text-holder {
    margin: 0;
    padding: 0;
}

.link-ad-text-holder span.ad-text {
    display: inline-block;
    background-color: gold;
    color: white;
    font-weight: bold;
    font-size: 10px;
    padding: 2px 3px;
    border-radius: 4px;
    text-align: center;
    vertical-align: middle;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    font-family: sans-serif;
    margin: 0;
}

.link-ad-text-holder span.category {
    margin: 0;
    font-family: sans-serif;
    font-size: 12px;
    color: grey;
    padding: 10px 0 0 2px;
}

  /*-------------------------- my_urls.html --------------------------------*/

.add-urls-note {
  font-family: sans-serif;
  width: 80%;
  margin: auto;
  margin-top: 50px;
  font-size: 13px;
  text-align: center;
  color: #747474;
}

.center-div {
  margin: auto;
  width: 80%;
  text-align: left;
}

.center-div.blocked_words {
  margin-top: 25px;
}

input.add-text {
  width: 80%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px 0 0 4px;
  box-sizing: border-box;
  margin: 0px;
  margin-top: 20px;
  resize: vertical;
  font-size: 14px;
  outline: black;
}

button.btn {
  padding: 13px 24px 12px 24px;
  border: 1px solid black;
  border-radius: 0px 3px 3px 0;
  font-family: sans-serif;
  margin-left: -4px;
  margin-top: 0px;
  color: white;
  font-size: 13px;
  cursor: pointer;
  background-color: black;
}

    /*----------------------- search_users.html, search_videos.html -------------------*/

#search-home-container {
    width: 100%;
    padding: 0 0 50px 0;
}

.search-results-container {
    margin-top: 10px;
}

#search-msg {
    font-family: sans-serif;
    font-weight: normal;
    text-align: center;
    color: grey;
}

#search-heading {
    display: inline-block;
    margin: 18px 0 0 35px;
}

select#search-filter {
    width: 95px;
    height: 25px;
}


    /*------------------------ search_videos.html ----------------------------*/

.search-videos-content {
    width: 97%;
    height: 115px;
    margin: auto;
    margin-top: 20px;
    z-index: -1;
}

.search-videos-thumbnail {
    height: 100%;
    width: 225px;
    float: left;
    position: relative;
}

.search-videos-thumbnail img {
    height: 100%;
    width: 100%;
    float: left;
    border-radius: 10px;
}

.search-videos-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background-color: black;
    opacity: 0.7;
    padding: 5px;
    border-radius: 3px;
    color: white;
    font-size: 10px;
    font-family: sans-serif;
}

.search-videos-details {
    max-width: 60%;
    max-height: 70%;
    margin-left: 10px;
    float: left;
}

.search-videos-details a {
    text-decoration: none;
/*  color: black;*/
    margin: 0;
}

.search-videos-details a:active {
    color: #0000EE; /* same color when actively clicked */
}

.search-videos-details h3 {
    margin: 0px;
}

.search-videos-details h3 a {
    font-family: sans-serif;
    font-size: 1em;
    font-weight: normal;
    margin: 0px;
    line-height: 1em;
    max-height: 2.1em;
    overflow: hidden;
}


.search-videos-details p {
    font-family: sans-serif;
    color: #8a8a8a;
    font-weight: normal;
/*  font-size: 0.8em;*/
    margin: 0px;
    margin-top: 4px;
}

.search-videos-stats p {
    font-size: 12px;
    margin-top: 5px;
}

    /*---------------------------- image_search.html ----------------------*/

.grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.grid-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.5 / 1;
}

.grid-item img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  display: block;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.title-holder {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 99%;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 5px;
}

.title-holder h2 {
  font-family: sans-serif;
  margin: 0;
  color: white;
  font-size: 12px;
  font-weight: normal;
}

.title-holder span.time-stamp {
  font-family: sans-serif;
  margin: 0;
  font-size: 10px;
  font-weight: normal;
  color: white;
}


/*no results msg*/

.no-results-msg {
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

.no-results-msg.link-search {
    margin-bottom: 0px;
}

.no-results-msg.image-search {
    margin-bottom: 20px;
}

.no-results-msg.video-search {
    margin-bottom: 30px;
}

.no-results-msg p {
    width: 80%;
    margin: auto;
    font-family: sans-serif;
    font-size: 15px;
}




/*shop_search.html ----------------------*/

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background-color: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.product-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-info {
  padding: 0 16px 16px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.product-title {
    font-family: sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0px;
  color: #333;
}

.product-description {
  font-size: 0.9rem;
  color: #777;
  flex-grow: 1;
/*  margin-bottom: 16px;*/
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  font-size: 1rem;
  font-weight: bold;
  color: #2ecc71;
}

.buy-button {
  padding: 8px 14px;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.2s;
}

.buy-button:hover {
  background-color: #2980b9;
}

















/*--------------------------------- styling for big screens only -------------------------*/

@media (min-width: 700px) {

    .message-container.fixed-header-margin-top {
        margin-top: 100px;
    }



    .topnav {
        position: fixed; 
        top: 0; 
        width: 100%;
    }

    .search-bar {
        margin-top: 90px;
    }

    .fixed-header-margin-top {
        margin-top: 60px;
    }

   .video-layout-1-container.fixed-header-margin-top {
    margin-top: 80px;
   }

   .menu-1-container.fixed-header-margin-top {
        margin-top: 80px;
    }

    .video-container.fixed-header-more-margin {
        margin-top: 80px;   
    }

    .url-container {
        margin-top: 100px; 
    }




}









/* media queries for ipads & tablets Portrait and Landscape */
@media (min-width: 800px) and (max-width: 1200px) {

    /*---------------------------- image_search.html ----------------------*/

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}

    /*--------------------- live-search-dropdown ------------------------*/

.search-dropdown-content-1-holder {
/*    padding: 30px 0 30px 0px;*/
}

.search-dropdown-content-1-details-holder {
    width: 65%;
}

        /*------------------- base.html ------------------------------*/

#logo {
    width: 200px;
    height: 50px;
    display: inline-block;
    vertical-align: top;
}

#logo img {
    width: 100%;
    height: 37px;
}




    /*---------------------- search_videos.html -----------------------------*/

.search-videos-content {
    width: 95%;
    height: 110px;
    margin: auto;
    margin-top: 20px;
    /*background-color: red;*/
}

.search-videos-thumbnail {
    height: 100%;
    width: 245px;
    float: left;
}


}


/* media queries for ipads & tablets Portrait and Landscape */
@media (min-width: 699px) and (max-width: 800px) {

    /*---------------------------- image_search.html ----------------------*/

.grid {
  grid-template-columns: repeat(3, 1fr);
}




}





/*---------- the media queries for my phone devices 100% Zoom ---------------*/


@media (max-width: 699px) {
    

/*    general css*/


html, body {
    background-color: #fdfdfd;
    margin: 0px;
    padding: 0px;
    overflow: hidden;
    overflow-y: scroll;
}

    div#keep-footer-down {
        padding-top: 50px;
        padding-bottom: 63px;
    }

    #desktop-footer {
        display: none;
    }

    #laptop {
        display: none;
    }


.loader-msg {
    font-family: sans-serif;
    font-size: 3.5vw;
    color: grey;
}


/*    footer */
    .footer {
        position: fixed;
        bottom: 0;
        display: block;
        width: 100%;
        background-color: white;
        border-top: 1px solid #e4e4e4;
        z-index: 2;
        overflow-x: scroll;
    }

    .footer ul {
        list-style-type: none;
        padding: 0;
        display: inline-block;
        width: 100%;
        margin: auto;
        overflow: scroll;
        white-space: nowrap;
    }

    .footer li {
        font-family: sans-serif;
        font-size: 3.4vw;
        font-weight: normal;
        display: inline-block;
        margin: 0 32px;
    }

    .footer li span {
        font-size: 2.5vw;
    }

    .footer a {
        text-decoration: none;
        margin: 0;
        color: #494949;
    }
 

/* phone-nav-bar*/

.phone-navbar ul {
  font-family: sans-serif;
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.phone-navbar ul li {
  display: inline-block;
  padding: 15px 10px 0 5px;
  margin: 0 10px;
}

.phone-navbar ul li a {
  font-size: 3vw;
  font-weight: bold;
  margin: 0;
  padding: 0;
  color: white;
  cursor: pointer;
}

.phone-navbar {
    display: block;
    position: fixed;
    top: 0;
    overflow: hidden;
    background-color: white;
    text-align: right;
    box-shadow: 0px 6px 6px 0px rgba(0,0,0,0.2);
    width: 100%;
    z-index: 4;
    transition: opacity 0.6s linear;

    /* height must align with div #keep-footer-down*/
    height: 50px;
}

.phone-navbar.audio {
    position: relative;
    box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.13);
    background-color: transparent;
}

.phone-navbar a.active {
    float: left;
    color: white;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

.phone-navbar .active a:hover {
    color: black;
}

#phone-logo {
    display: flex;
    justify-content: center;   /* center horizontally */
    align-items: center;       /* center vertically */
    height: 50px;
    width: 100px;
    margin: 0 0 0 10px;
    /* float: left; ❌ REMOVE this */
}

#phone-logo img {
    width: 110px;
    aspect-ratio: 3.5 / 1;
    margin: 4px 0 0 0;
    vertical-align: middle;
}



#phone-search-button {
    width: 22%;
    display: inline-block;
    margin-right: 15px;
    margin-top: 4px;
    float: right;
}

#phone-search-button button {
    padding: 12px 0px 12px 11px;
    background-color: transparent;
    color: #a9a9a9;
    font-size: 4vw;
    border: none;
    cursor: pointer;
    margin: 0;
    display: inline-block;
    vertical-align: top;
}

#phone-search-button img {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: inline-block;
    border: 0;
    margin: 9px 0px 0px 8px;
}

.nav-dm-btn-phone {
    font-size: 4.2vw;
    margin: 15px 3px 0px 0px;
}

.number_of_unseen_messages {
    height: 19px;
    width: 19px;
    top: 5px;
    right: 8px;
    padding: 0 0 2px 0;
}

.number_of_unseen_messages span {
    font-size: 3vw;
}

#phone-searchbar {
    /*background-color: red;*/
    width: 43%;
    text-align: center;
    display: none;
    margin-top: 12px;

}

#phone-searchbar input[type=text] {
    padding: 5px 5px;
    border: 1px solid #d1d1d1;
    font-size: 13px;
    font-size: 2.8vw;
    background-color: white;
    width: 100%;
    margin: 0;
    border-radius: 0px;
    outline: none;
}

#phone-searchbar input[type=text]:focus {
    border: 0.7px solid #aa01aa;
}

/*.show {
    display: block;
}*/

#phone-subnav {
    background-color: #242424;
    /*background-color: red;*/
    height: 53px;
    width: 100%;
    display: inline-block;
    /*display: none;*/
}

#phone-nav-links {
    height: 100%;
    text-align: center;
    /*background-color: red;*/
    vertical-align: top;
    display: inline-block;
    font-family: sans-serif;
    width: 100%;
}

#phone-nav-links ul {
    list-style-type: none;
    padding: 0px;
}

#phone-nav-links li {
    display: inline-block;
    /*padding-top: 0px;*/
}

#phone-nav-links a {
    color: white;
    padding: 8px;
    text-decoration: none;
    font-size: 0.7em;
    font-weight: 600;
}

.bubble-links::-webkit-scrollbar {
    display: none; /* for Chrome, Safari, and Opera */
}

.bubble-links {
    width: 100%;
    margin-top: 5px;
    overflow: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -ms-overflow-style: none; /* for Internet Explorer, Edge */
    scrollbar-width: none; /* for Firefox */
}

.bubble-links ul {
    list-style-type: none;
    margin: 15px 0 0 5px;
    padding: 0;
}

.bubble-links.video ul {
    margin: 8px 0 5px 10px;
}

.bubble-links.pin ul {
    margin: 0 0 4px 10px;
}

.bubble-links.pin.no-file ul {
    margin: 7px 0 0 10px;
}

.bubble-links li {
    margin: 0 5px 0 0;
    display: inline-block;
    background-color: #f1f1f1;
    border-radius: 6px;
    padding: 5px;
    border: 1px solid #e1e1e1;
}

.bubble-links.video li {
    padding: 2px;
}

.bubble-links.pin li {
    padding: 1px;
}

.bubble-links a {
    font-size: 3.3vw;
}

.bubble-links.pin a {
    font-size: 2.7vw;
}


/*.bubble-links-2*/


.bubble-links-2 a {
    font-size: 3.8vw;
}


/*--------------------------- search_page.html ---------------------*/

    #id_search:focus {
        border: 0.7px solid black;
        padding: 5.3px;
        margin: 0;
    }

 .search-bar {
    width: 85%;
    margin: 30px auto 20px auto;
    display: flex;
    justify-content: center;
  }

  form.search {
    display: flex;
    flex-direction: row; 
    align-items: stretch;
    width: 100%;
  }

  .search-input-wrapper {
    position: relative;
    flex-grow: 1; 
/*    margin-right: 5px;*/
  }

  #id_search {
    width: 100%;
    font-size: 4vw;
    padding: 12px 12px;
  }

  .clear-btn {
    font-size: 4vw;
    right: 10px;
  }

  form.search button {
    width: 52px;
/*    padding: 6.8px 0px;*/
    font-size: 3.5vw;
  }

  #id_search {
    font-size: 3.5vw;
    padding: 7px 10px;
  }


    /*----------------- add_url.html ---------------------*/

.center-div {
  width: 90%;
}

input.add-text {
  width: 75%;
  font-size: 3.5vw;
}

button.btn {
  padding: 12px 24px 12px 24px;
  margin-left: -4.5px;
  font-size: 3.5vw;
}


        /*------------------------- video_link_layout.html ---------------------------*/

.search-videos-content {
    width: 98%;
    height: 105px;
    margin-top: 14px;
}

.search-videos-thumbnail {
    height: 100%;
    width: 195px;
    float: left;
}

.search-videos-thumbnail img {
    height: 100%;
    width: 100%;
    /*background-color: purple;*/
    float: left;
}

.search-videos-duration {
    font-size: 2.1vw;
}

.search-videos-details {
    max-width: 46%;
    margin: 0;
    margin-left: 8px;
}

.search-videos-title {
    max-width: 100%;
    margin-top: 2px;
    overflow: hidden;
    display: block;
}

.search-videos-title h3 {
    line-height: 1.2em;
    max-height: 2.3em;
    font-family: sans-serif;
/*  font-size: 0.9em;*/
    font-size: 3.3vw;
    font-weight: 500;
    margin: 0px;
}

.search-videos-stats {
    max-width: 100%;
    overflow: hidden;
    display: block;
}

.search-videos-details a {
    text-decoration: none;
}

.search-videos-details p {
    font-family: sans-serif;
    font-weight: normal;
/*  font-size: 0.7em;*/
    font-size: 2.5vw;
    margin: 0px;
    margin-top: 4px;
}


    /*----------------- links -----------------------*/

/*show more / show less button for word definition block*/
.toggle-definitions {
    font-size: 2.7vw;
}

.toggle-definitions:hover {
    background-color: #e0e0e0;
}


/*------------------------ translator ----------------------*/

/* Container */
.translator-container {
  font-family: sans-serif;
  width: 95%;
  margin: 4vw auto;
  padding: 4vw 0;
  background: #fafafa;
  border: 1px solid #ddd;
  border-radius: 2vw;
  box-shadow: 0 0.8vw 2vw rgba(0, 0, 0, 0.1);
  display: none;
  text-align: center;
}

/* Center all child elements */
.translator-container > * {
  width: 95%;
  margin: 2vw auto;
  display: block;
  box-sizing: border-box;
}

/* Textarea */
#inputText {
  height: 15vw;
  min-height: 60px;
  font-size: 3.5vw;
  padding: 2.5vw;
  border: 1px solid #ccc;
  border-radius: 2vw;
  resize: vertical;
  font-family: Arial, sans-serif;
}

/* Label */
.translator-container label {
  font-size: 3.2vw;
  font-weight: bold;
  margin-bottom: 2vw;
  text-align: left;
}

/* Select */
#targetLang {
  padding: 2.5vw;
  font-size: 3.2vw;
  border-radius: 2vw;
  border: 1px solid #ccc;
  background-color: #fff;
}

/* Button */
.translator-container button {
  padding: 2.5vw;
  font-size: 3.3vw;
  background-color: #4285f4;
  color: #fff;
  border: none;
  border-radius: 2vw;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.translator-container button:hover {
  background-color: #3367d6;
}

/* Output box */
#output {
  padding: 3vw;
  background-color: #f1f3f4;
  border-radius: 2vw;
  border: 1px solid #ddd;
  min-height: 40px;
  font-size: 3.5vw;
  margin-top: 3vw;
  word-wrap: break-word;
}

/* Tom Select styles */
.ts-wrapper.single .ts-control {
  text-align: left !important;
  font-size: 3.5vw;
}

.ts-dropdown-content .option {
  text-align: left !important;
  font-size: 3.5vw;
}

.ts-wrapper .ts-control input {
  text-align: left !important;
  font-size: 3.5vw;
}


/*--------------------- calculator ---------------------------------------*/

.calculator {
  background: #fff;
  padding: 3vw 0;
  border-radius: 2vw;
  box-shadow: 0 0.3vw 0.8vw rgba(0, 0, 0, 0.15);
  width: 95vw;
  display: none;
  margin: auto;
  margin-bottom: 10px;
}

.calculator,
.calculator button {
touch-action: manipulation;
}


.display {
  font-size: 4vw;
  text-align: right;
  padding: 2vw;
  border: 0.3vw solid #ccc;
  border-radius: 2vw;
  height: 4vw;
  overflow: hidden;
  width: 90%;
  margin: auto;
  margin-bottom: 3vw;
}

.buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2vw;
  width: 90%;
  margin: auto;
}

button {
  padding: 2.5vw;
  font-size: 3vw;
  border: none;
  border-radius: 2vw;
  background: #eee;
  transition: 0.2s;
  cursor: pointer;
}

button.op {
  background: #ffa500;
  color: #fff;
}

button.eq {
  background: #28a745;
  color: #fff;
  grid-column: span 4;
}

/* -------------------------------------------------------- */



/* Container for all person info results */
.person-info-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.person-info-box {
    width: 95%;
}

.person-info-box h1 {
    font-size: 4vw;
}

.person-info-box p {
    font-size: 3vw;
}

.person-info-box img {
    max-width: 100%;
/*    aspect-ratio: 1.2 / 1;*/
    margin: 10px auto;
}

.person-info-text {
    width: 90%;
}


/*---------------------- timezone-converter --------------------*/

.timezone-label {
    font-size: 3.5vw;
    line-height: 1.5;
  }

  #tz_time {
    font-size: 4vw;
  }

  .link-holder.time-zone-converter {
    padding: 15px 5px;
  }

/*-------------------------- movie-search ---------------------------*/

.poster-card {
    width: 40%; /* Two per row */
    margin: 0 auto;
  }

  .poster-card img {
/*    height: 100px;*/
    max-height: 250px;
    border-radius: 8px;
  }

  .poster-title {
    font-size: 12px;
    word-wrap: break-word;
  }

  .movie-details-content {
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
    gap: 16px;
  }

  .movie-details-box {
    width: 98%;
    padding: 15px 0;
  }

  .movie-details-box h1 {
    font-size: 22px;
    text-align: center;
  }

  .movie-details-text {
    margin-left: 0;
  }

  .movie-details-box img {
    max-width: 90%;
    height: auto;
    margin: 0 auto;
  }

  .movie-details-box p {
    font-size: 14px;
    text-align: left;
  }


.show-more-btn {
  font-size: 3vw;
}

.streaming-inline a {
    font-size: 2.7vw;
}



/*--------------------- travel_search.html ------------------*/

.trip-widget.phone {
    display: block;
  }

  .trip-widget.laptop {
    display: none;
  }

  .trip-widget iframe {
    height: 400px;
  }

  .trip-widget-controls button {
      padding: 8px 14px;
      font-size: 3.7vw;
    }



/*--------------- weather ------------------*/

.weather-form input {
    flex: 0 1 auto;
    width: 100%;
    max-width: 320px;
    font-size: clamp(13px, 3.5vw, 15px);
    padding: 6px 10px;
    line-height: 1.2;
    border-radius: 6px;
  }

  .weather-form {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .weather-form button {
    width: 100%;
    max-width: 320px;
    font-size: clamp(13px, 4vw, 15px);
    padding: 8px 12px;
    border-radius: 6px;
  }

.weather-inner {
  padding: 0 12px;
}

.weather-widget h2 {
  font-size: clamp(12px, 3.1vw, 14px);
  margin-bottom: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #555;
}

.weather-main h3 {
  font-size: clamp(16px, 4.5vw, 20px);
  font-weight: 600;
  margin-bottom: 4px;
  color: #222;
}

.weather-main .temp {
  font-size: clamp(28px, 9vw, 42px);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}

.weather-main .feels-like {
  font-size: clamp(11px, 3.2vw, 14px);
  color: #777;
  margin-top: 4px;
}

.weather-details {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  margin-top: 10px;
}

.weather-details .condition {
  font-size: clamp(13px, 4vw, 16px);
  font-weight: 500;
  margin-bottom: 4px;
  color: inherit;
}

.weather-details img {
  width: 10vw;
  height: 10vw;
  max-width: 44px;
  max-height: 44px;
  margin: 6px auto;
}

.weather-details p {
  font-size: clamp(12px, 3.5vw, 14px);
  margin: 1px 0;             /* ↓ Less vertical margin */
  padding: 0;                /* ← Ensure no padding */
  line-height: 1.2;          /* ↓ Tighter line height */
  width: 100%;
  text-align: center;
}

.weather-details p {
    margin: 5px 0 30px 0 !important;
    flex: none !important;
    line-height: 1.2 !important;
  }

  .weather-details {
    gap: 2px;
    margin-top: 6px;
  }

.weather-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
}

.weather-form input {
  width: 100%;
  max-width: 320px;
  font-size: clamp(13px, 3.5vw, 15px);
  padding: 6px 10px;
  line-height: 1.2;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #f9fbfd;
  box-sizing: border-box;
}

.weather-form button {
  width: 100%;
  max-width: 320px;
  font-size: clamp(13px, 4vw, 15px);
  padding: 8px 12px;
  border-radius: 6px;
  background: #0077cc;
  color: white;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: background 0.2s;
}

.weather-form button:hover {
  background: #005fa3;
}


/* Match weather theme on mobile too */
.weather-widget.sunny .weather-form input,
.weather-widget.sunny .weather-form button {
  background: rgba(255, 255, 255, 0.8);
  color: #333;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.weather-widget.cloudy .weather-form input,
.weather-widget.rainy .weather-form input,
.weather-widget.storm .weather-form input {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.weather-widget.cloudy .weather-form input::placeholder,
.weather-widget.rainy .weather-form input::placeholder,
.weather-widget.storm .weather-form input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.weather-widget.cloudy .weather-form button,
.weather-widget.rainy .weather-form button,
.weather-widget.storm .weather-form button {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.weather-widget.snow .weather-form input,
.weather-widget.snow .weather-form button {
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/*------------------ ip-address -------------------*/

.link-holder.ip-address {
    font-size: 3.5vw;
  }


/*------------------ nearme ----------------------*/

.near-me-container {
    width: 95%;
  }

  .search-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 14px;
  }

  .custom-select-toggle,
  .styled-button {
    font-size: 4vw;
  }

  .custom-select-options div {
    font-size: 3.5vw;
  }

  .result-list {
    max-height: 200px;
  }

  .result-list .result-item {
    font-size: 3.6vw;
    padding: 12px;
  }

  .result-list .result-item a {
     font-size: 3vw;
    }

  .result-list .result-item strong {
    font-weight: 600;
    font-size: 3.3vw;
    margin: 0 0 2px 0;
  }

  .meta-list {
    scrollbar-width: none;       /* Firefox */
    -ms-overflow-style: none;    /* IE 10+ */
  }

  .meta-list::-webkit-scrollbar {
    display: none;               /* Chrome/Safari */
  }

  .styled-button {
    padding: 10px;
  }

  .custom-select-wrapper {
    max-width: 100%;
  }



/*---------------------- unit-converter -------------------*/

.converter-container {
    width: 90%;
    margin-bottom: 20px;
    font-family: sans-serif;
}

/* Inputs and Dropdowns */
.converter-input,
.converter-select {
  font-size: 3.2vw;
}

/* Result Display */
.result {
  font-size: 3.2vw;
}




/*--------------- link-holder ---------------*/

.link-container {
    width: 100%;
    margin: 0;
}

.link-holder {
    width: 90%;
    margin-top: 5px;
    margin-bottom: 20px;
    padding: 10px;
}

.link-holder.word-definition blockquote {
    font-family: sans-serif;
    margin: 4px 0 0 12px;
    padding-left: 8px;
    border-left: 2px solid #ccc;
    color: #555;
    font-style: italic;
    font-size: 2.7vw;
}

.link-holder.word-definition strong {
    font-family: sans-serif;
    display: inline-block;
    font-weight: bold;
    margin-bottom: 2px;
    font-size: 2.7vw;
}

.link-holder h1 {
    margin: 0;
    font-family: sans-serif;
    line-height: 4vw;
}

.link-holder h1 span.domain {
    font-size: 2.5vw;
}

.link-holder span.time-stamp {
    font-size: 2.5vw;
}

.link-holder h1 a {
    font-size: 4vw;
}

.link-holder.word-definition h1 {
    font-size: 5vw;
}

.link-holder p {
    font-size: 2.7vw;
    margin: 0;
    font-family: sans-serif;
    font-weight: normal;
    color: grey;
}

.link-holder.word-definition p {
    font-size: 2.9vw;
    margin: 3px 0 0 0;
}

.link-ad-text-holder span {
    font-size: 2vw;
}

    /*---------------------------- image_search.html ----------------------*/

.grid {
  grid-template-columns: repeat(2, 1fr);
  margin: 0 2px;
  gap: 5px;
  padding-bottom: 30px;
}

.title-holder h2 {
  font-size: 2.5vw;
  margin: 0;
}

.title-holder span.time-stamp {
  font-size: 2.5vw;
  margin: 0;
}



    /*--------------------- live-search-dropdown ------------------------*/


.search-dropdown-content-1-container {
    width: 95%; /* match input field */
}

.search-dropdown-content-1-holder {
    height: 40px;
    width: 100%;
    padding: 5px 0;
}

.search-dropdown-content-1-details-holder p {
    font-size: 3vw;
}


  /*-------------------------- my_urls.html --------------------------------*/

.add-urls-note {
  font-size: 3vw;
}


/*------------------------- search pages ---------------------------------*/


.menu-1-container ul li {
  margin: 0 0 0 5px;
  padding: 0px 0px;
}

.menu-1-container ul li a {
  font-size: 3vw;
}


/*no results msg*/

.no-results-msg p {
    font-size: 3.8vw;
}

.no-results-msg.link-search {
    margin-bottom: 20px;
}



/*shop_search.html ----------------------*/

.product-grid {
    margin-bottom: 40px;
}

.product-card {
  max-width: 95%;
  margin: auto;
}

.product-title {
  font-size: 3.5vw;
}

.product-description {
  font-size: 3vw;
}

.price {
    font-size: 4vw;
}

.buy-button {
  font-size: 3vw;
}






}

























/*----- the media queries for my smaller phone devies 115% Zoom--------*/


@media (max-width: 400px) { 

    /*------------------- search bar ---------------------*/

    /*form.search input[type="text"] {
        padding: 1px !important;
    }*/


    .search-bar {
        width: 85%;
        margin-top: 20px;
      }

      form.search {
        flex-direction: row;
        width: 100%;
      }

      .search-input-wrapper {
        width: 100%;
        flex-grow: 1;
      }

      #id_search {
        font-size: 3.5vw;
        padding: 5px 10px;
      }

      .clear-btn {
        font-size: 4vw;
        right: 10px;
      }

      form.search button {
        width: 48px;
        font-size: 3vw;
      }

        /*------------------------- search_videos.html ---------------------------*/

#search-home-container {
    padding-top: 0px;
}

.search-videos-content {
    height: 95px;
    margin-top: 14px;
}

.search-videos-thumbnail {
    width: 170px;
}




}





















/* iphone 15 pro max 115% zoom */
@media (min-width: 370px) and (max-width: 380px) { 

form.search button {
/*    padding: 6.2px 0px;*/
}

}













/*---- the media queries for my even smaller phone devies 125% Zoom ------*/



@media (max-width: 359px) {


    /*form.search button {
        padding: 6.3px 0px;
    }
*/

    input.add-text {
      width: 70%;
      font-size: 3.5vw;
    }



        /*--------------------- search_videos.html -------------------------*/

.search-videos-content {
    height: 85px;
    margin-top: 12px;
}

.search-videos-thumbnail {
    width: 155px;
}





}