@import url("../fonts/poppins/poppins.css");

:root {
  font-size: 16px;
  font-family: 'Poppins', Helvetica, Arial, sans-serif;
}

/* main formats */
body, html {
    padding: 0px;
    margin: 0px;
    font-size: 11pt;
    font-weight: 400;
}
header {
    position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: 0;
    z-index: 1000; /* Ensure it appears above other content */
    background-color: white; /* Change to match your site's design */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional: Add a shadow for better visibility */
    margin-bottom: 50px;
}
a {
    text-decoration: none;
}
a:hover {
    text-decoration: underline; /* Add underline on hover */
}
div.header logo {
    margin-right: 30px;
    display: flex;
    height: 60px;
}

div.header nav {
    display: flex;
    flex-grow: 1;
    justify-content: flex-end;
}
nav .hamburger {
    display: none;
    cursor: pointer;
    font-size: 24px;
}
nav ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    font-size: 10pt;
    /* color: #000; */
}
nav ul li a {
    color:#000;
}
div.header div#searchBox form input {
    line-height: 40px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.1);
    padding: 0px 15px;
    font-size: 12pt;
    font-weight: 300;
    min-width: 300px;
    margin-right: 10px;
}
div.header #searchBox button {
    padding: 0px 20px;
    margin-left: 0px;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    line-height: 40px;
    font-size: 11pt;
}
div.header #searchBox button:hover {
    background:#444;
}

div#searchTypes {
    width: 1100px;
    display: flex;
    margin-left: 125px;
    gap: 10px;
    padding: 10px 0px;
    font-size: 80%;
}

#searchTypes a {
    color: #000;
    font-weight: 300;
    text-decoration: none;
    z-index: 1000;
}

#searchTypes a:hover, #searchTypes a.current:hover {
    border-bottom: 2px solid #444;
}

#searchTypes a.current {
  border-bottom: 2px solid #FF3015;
}
fullbody {
    display: flex;
    gap: 50px;
}
mainbody {
    display: flex;
    flex-direction: column;
    margin-left: 125px;
    max-width: 1100px;
}
aside.ai-answer {
    width: 338px;
    border: 1px solid #efefef;
    height: fit-content;
    padding: 30px;
    border-radius: 10px;
}
.ai-answer h2 {
    margin: 0px;
}
span.ai_notice {
    display: flex;
    margin-top: 20px;
    font-size: 9pt;
    font-weight: 300;
    color: #666;
    justify-content: end;
    font-style: italic;
}
ul.relatedSearches {
    list-style: none;
    padding: 0px;
    margin: 0px;
    display: flex;
    flex-direction: column;
    gap:5px;
}
ul.relatedSearches a:hover {
    background: #f9f9f9;
}
ul.relatedSearches a {
    display: flex;
    border: 1px solid #efefef;
    line-height: 120%;
    padding: 10px 15px;
    border-radius: 5px;
    color: #000;
    text-decoration: none;
    width: fit-content;
}
ul.relatedSearches a:hover {
    background: #f9f9f9;
}
aside h3 {
  margin-top: 0px;
}
footer {
    display: flex;
    border-top: 1px solid #dfdfdf;
    margin-top: 50px;
    margin-bottom: 100px;
    padding: 0px 100px;
    font-size: 90%;
    font-weight: 300;
}
.footer-content {
    display: flex;
    gap: 50px;
    padding: 20px 0px;
}
footer h4 {
    margin: 0px 0px 10px;
    font-weight: 500;
}
footer ul {
  list-style: none;
  margin: 0px;
  padding: 0px;
}
footer a {
  color: #000;
}
footer a:hover {
  text-decoration: none;
}
/* general text formats */
a {
    color: #0000EE;
}
a b {
    font-weight: 400;
}
div#articlContent h2, div#articleContent h3 {
    margin: 10px 0px;
}

a.ranks {
    color: brown;
}

ranks img{
    position: relative;
    top: 4px;
}

badges img{
    position: relative;
    top: 4px;
}
badges{
    font-size: 2.1em;
    color: gray;
}
.tag-input{
  width: 82px;              
}
apicon img{
    position: relative;
    top: 2px;
}

newmsg {
    position: relative;
    color: #E4222B;
    top: -1px;
}

cinfo {
    position: relative;
    top: 3px;
}

dollar {
    position: relative;
    color: #27D32D;

}
.eye-btn{
  box-sizing: border-box;     /* keeps size predictable */
  height: 28px;               /* fixed height */
  padding: 4px 8px;          /* adjust inner spacing */
  font-size: 13px;  
  color:orange;          /* reduce text size */
  line-height: 1;             /* avoid extra height */
  border-radius: 4px;         /* optional */
}

.left-time {
  position: relative;  
  top: -7px;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 12px;
  letter-spacing: 0.2px;
  line-height: 1.4;
  float: right;
}
.saying-tags a{
  position: relative;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  color: #585658;
  font-size: 12px;
  top: 11px;
  letter-spacing: 0.2px;
  line-height: 1.4;
  margin-right: 0.25rem;
  float: left;
}
privacytools ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
}
privacytools ul li {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
toollogo img {
    display: flex;
    width: 20px;
}
toollogo2 img {
    display: block;
    margin-top: 6px;
}
h2.withIcon {
    display: flex;
    align-items: center;
    gap: 10px;
}
img.article-app-icon {
    width: 35px;
    height: auto;
}

.notifheader {
        position:relative;
}
.notifheader[data-msg]:after{
    content:attr(data-msg);
    position:absolute;
    top:-11px;
    font-size:.7em;
    color:white;
    width:16px;height:16px;
    text-align:center;
    line-height:18px;
    border-radius:20%;
    box-shadow:0 0 1px #333;
}
.notifheader[data-msg]:after{
    right:-8px;    
    background:orange;
}
.notifheader[alert-msg]:after{
    content:attr(alert-msg);
    position:absolute;
    top:-11px;
    font-size:.7em;
    color:white;
    width:16px;height:16px;
    text-align:center;
    line-height:18px;
    border-radius:20%;
    box-shadow:0 0 1px #333;
}
.notifheader[alert-msg]:after{
    right:-8px;    
    background:red;
}

banner#orangeBanner{
  display: flex;
  min-height: 100px;
  background: linear-gradient(71deg, rgb(252,79,5), rgb(255 70 0 / 94%));
  justify-content: center;
  align-content: center;
  border-radius: 5px;
  margin-bottom: 15px;
}

banner#orangeBanner p {
  color: #fff;
padding: 25px;
font-weight: 400;
margin-top: 10px;
}

banner#orangeBanner p::first-letter {
  font-size: 200%;
background: #fff;
padding: 0px 8px 0px 7px;
border-radius: 5px;
margin-right: 5px;
color: rgba(252,79,5,1);
font-weight: 900;
border-top-right-radius: 25px;
border-bottom-right-radius: 25px;
border-bottom-left-radius: 25px;
}

banner#greenBanner{
  display: flex;
  min-height: 100px;
  background: linear-gradient(45deg, rgb(9 121 105), rgb(9 121 105 / 80%));
  justify-content: center;
  align-content: center;
  border-radius: 5px;
  margin-bottom: 15px;
}

banner#greenBanner p {
  color: #fff;
padding: 25px;
font-weight: 400;
}

banner#greenBanner p::first-letter {
  font-size: 200%;
  background: #fff;
  padding: 0px 8px 0px 7px;
  border-radius: 5px;
  margin-right: 5px;
  color: rgba(9, 121, 105,1);
  font-weight: 900;
  border-top-right-radius: 25px;
  border-bottom-right-radius: 25px;
  border-bottom-left-radius: 25px;
}

banner#grayBanner{
  display: flex;
  min-height: 150px;
  background: linear-gradient(45deg, rgb(77 85 85), rgb(77 85 85 / 71%));
  justify-content: center;
  align-content: center;
  border-radius: 5px;
  margin-bottom: 15px;
}

banner#grayBanner p {
  color: #fff;
padding: 25px;
font-weight: 400;
}

banner#grayBanner p::first-letter {
  font-size: 200%;
background: #fff;
padding: 0px 8px 0px 7px;
border-radius: 5px;
margin-right: 5px;
color: rgba(77,82,82,1);
font-weight: 900;
border-top-right-radius: 25px;
border-bottom-right-radius: 25px;
border-bottom-left-radius: 25px;
}

note {
    background: rgb(255,208,111,0.25);
    display: block;
    padding: 15px;
    border-radius: 5px;
    font-size: 90%;
    font-weight: 300;
    line-height: 140%;
    color: #333;
}
timeline1 {
    background: rgb(239,238,238,0.25);
    display: block;
    padding: 15px;
    border-radius: 10px;
    font-size: 90%;
    font-weight: 300;
    line-height: 140%;
    color: #333;
}
timeline2 {
    background: rgb(222,222,222,0.25);
    display: block;
    padding: 15px;
    border-radius: 10px;
    font-size: 90%;
    font-weight: 300;
    line-height: 140%;
    color: #333;
}

genarticle ol li img {
    width: 400px;
    margin: 10px 0px;
}

/* home page */
header#home {
    box-shadow: none;
    border-bottom: 0px;
}
header#home .header {
}
div#home_container {
    display: flex;
    flex-direction: column;
    width: 900px;
    margin: auto;
    align-items: center;
}
logohome img {
    width: 350px;
        margin: -50px 0px 0px 0px;
}
.search-container {
    display: flex;
    flex-direction: column;
    margin: 0px 0px 50px 0px;
}
form#searchForm {
    display: flex;
    flex-direction: column;
}
form#searchForm input[type="text"] {
    line-height: 50px;
    border: 1px solid rgba(0,0,0,0.2);
    min-width: 500px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    font-family: 'Poppins',Helvetica,Arial,sans-serif;
    padding: 0px 20px;
    font-size: 12pt;
    font-weight: 300;
}
form#searchForm button {
    width: fit-content;
    margin: auto;
    line-height: 35px;
    padding: 0px 25px;
    font-size: 11pt;
    border-radius: 5px;
    font-family: 'Poppins',Helvetica,Arial,sans-serif;
    font-weight: 300;
    border: 1px solid rgba(0,0,0,0.1);
    background: rgba(0,0,0,0.05);
    color:#000;
}
form#searchForm button:hover {
  box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.1);
  border: 1px solid rgba(0,0,0,0.1);
  cursor: pointer;
}
div#home_body {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#home_body h1 {
    background: linear-gradient(45deg, #FF6404, #6C00C2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
    margin:0px;
    margin-bottom: 10px;
}
span.slogan {
    font-size: 18px;
    font-weight: 300;
}
#home_body .track_note {
    display: flex;
    background: rgb(255, 229, 147, 0.4);
    margin-top: 50px;
    line-height: 40px;
    padding: 0px 20px;
    border-radius: 5px;
    font-size: 11pt;
    font-weight: 300;
}
.alert_danger {
    display: flex;
    background: #f74343;
    line-height: 40px;
    padding: 0px 20px;
    border-radius: 5px;
    font-size: 11pt;
    font-weight: 300;
}
.alert_warn {
    display: flex;
    background: #f0813d;
    line-height: 40px;
    padding: 0px 20px;
    border-radius: 5px;
    font-size: 11pt;
    font-weight: 300;
}
.alert_succ {
    display: flex;
    background: #309b29;
    line-height: 40px;
    padding: 0px 20px;
    border-radius: 5px;
    font-size: 11pt;
    font-weight: 300;
}
privacyicons {
    display: flex;
    flex-direction: row;
    gap: 50px;
}
privacyicons span {
    width: calc(33% - 50px);
    margin: 100px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
privacyicons span img {
    height: 50px;
}
privacyicons span h2 {
    margin: 10px 0px 0px 0px;
}
privacyicons span p {
    font-size: 11pt;
    text-align: center;
    margin: 0px;
    font-weight: 300;
}

/* search results */
.search-results {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 650px;
}

.result {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.favicon {
    display: flex;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: #f5f5f5;
    border-radius: 50px;
    justify-content: center;
    align-items: center;
}
div.result div.favicon img {
  width: 22px;
  height: 22px;
}

.result-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.netloc {
    font-weight: 300;
    font-size: 85%;
    line-height: 14px;
}

.page-age {
    font-size: 80%;
    color: rgba(0,0,0,0.6);
    line-height: 14px;
    font-weight: 300;
}

.title {
    display: flex;
    margin-top: 5px;
}

.title a {
    font-size: 13pt;
    font-weight: 400;
    text-decoration: none;
    color: #1a0dab;
    line-height: 18pt;
}

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

.description {
    font-size: 11pt;
    color: #545454;
    font-weight: 300;
}

.pagination {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.searchPagination {
    display: flex;
    margin: 20px 42px;
    gap:10px;
}

.searchPagination button {
    display: flex;
    line-height: 30px;
    padding: 0px 20px;
    border: 0px;
    background: #007bff;
    color: #fff;
    border-radius: 5px;
}

.searchPagination button:hover {
    background: #444;
    cursor: pointer;
}

.page-number {
    display: flex;
    justify-content: flex-start;
    border-top: 1px solid #efefef;
    width: fit-content;
    font-size: 9pt;
    color: #777;
    margin-left: 42px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 25px;
    background-color: #fff;
    border-bottom: 1px solid #efefef;
}
.header logo img {
    height: 60px;
}
#searchBox {
    display: flex;
    align-items: center;
}
#searchBox form {
    display: flex;
    align-items: center;
    position: relative;
}
#searchBox input[type="text"] {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 200px;
}
#searchBox button {
    padding: 5px 10px;
    margin-left: 5px;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}
#searchBox .clear-btn {
    position: absolute;
    right: 110px;
    top:50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
    font-size: 14px;
    display: none;
}
#searchBox input[type="text"]:not(:placeholder-shown) + .clear-btn {
    display: inline;
}

#loginBox {
    display: flex;
    align-items: center;
}

/* image search results */
/* Container holding the grid */
.image_search-results {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 1100px;
}

.image_search-results .result {
    width: 245px;
    overflow: hidden;
    border: 1px solid #efefef;
    padding: 10px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}

.result .thumbnail {
    border-radius: 5px;
    width: auto;
    height: 200px;
    overflow: hidden;
}

.result img {
    overflow: hidden;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image_search-results .title a {
    font-size: 10pt;
    line-height: 12pt;
    font-weight: 300;
    color: #000;
    display: flex;
    text-align: left;
}

/* articles & content */
div#articlContent {
    display: flex;
    flex-direction: column;
    width: 650px;
    margin-left: 225px;
}

div#articlContent2 {
    display: flex;
    flex-direction: column;
    width: 70%;
    margin-left: 10%;
}

.pagination2 {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0px;
}

.pagination2 li a {
  display: block;
  padding: 4px 10px;
  text-decoration: none;
  border: 1px solid gray;
  color: black;  
  margin: 0 4px;
  border-radius: 5px;
}

.pagination2 li a.active {
  background-color: #E8E3E3;

}

.pagination2 li a.disabled {
  color: #dddddd;
  cursor: not-allowed;z
  pointer-events: none;
}

/* supporters */
supporters {
    display: flex;
    gap: 30px;
}
supporters div {
    display: flex;
    flex-direction: column;
    width: fit-content;
    align-items: center;
    gap: 5px;
    border: 1px solid #efefef;
    padding: 10px 30px;
    border-radius: 5px;
}
supporters img {
    height: 40px;
}
supporters a {
    color: #000;
    font-size: 10pt;
    font-weight: 300;
}



/* Mobile styles */
@media (max-width: 600px) {
  .header, .content, .footer {
    padding: 10px;
  }

  header {
    /* width: calc(100% + 10px); */
    margin-bottom: 20px;
  }

  .header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: calc(100% - 40px);
    padding: 20px;
    column-gap: 10px;
  }

  div.header logo {
   margin-right: 0px;
   display: block;
   width: 60px !important;
  }

  .header nav {
    justify-content: center;
    gap: 5px;
  }

  logo, #searchBox {
    flex: 1 1 auto;
    margin-bottom: 1rem;
    width: calc(100% - 70px);
  }

  #searchBox form {
    display: flex;
    width: 100%;
  }

  div.header #searchBox form input[type="text"] {
    flex: 1;
    min-width: auto;
  }

  nav {
    margin-top: 0;
  }

  nav ul {
    width: 100%;
    justify-content: center;
  }

  div#searchBox button {
    margin-left: 0;
  }

  div#searchTypes {
    width: calc(100% - 40px);
    margin-left: 0px;
    padding:10px 20px;
    justify-content: flex-flex-start;

  }

  mainbody {
    margin-left: 0;
    padding: 10px 20px;
  }

  .search-results {
    width: 100%;
  }

  .result {
    flex-direction: column;
  }

  .favicon {
    margin-bottom: 10px;
  }

  .result-content {
    width: 100%;
  }

  .searchPagination {
    margin: 20px 0;
  }

  .searchPagination button {
    width: fit-content;
  }

  .page-number {
    margin-left: 0px;
  }

  div#articlContent {
    margin: 0px;
    width: calc(100% - 100px);
    padding: 0px 50px;
}

  footer {
    flex-direction: column;
    padding: 10px;
    margin-bottom: 50px;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
    padding: 10px 0;
  }

  /* home */
  div#home_container {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: auto;
    align-items: center;
}
.search-container {
  width: calc(100% - 50px);
}
form#searchForm input[type="text"] {
  min-width: auto;
}
logohome img {
  width: 250px;
}

#home_body h1 {
  text-align: center;
line-height: 130%;
}
#home_body .track_note {
  width: 80%;
line-height: 140%;
padding: 10px 20px;
text-align: center;
}
privacyicons {
    display: flex;
    flex-direction: column;
    gap: 50px;
    /* width: calc(100% - 10px); */
    padding: 50px 0px;
}
privacyicons span {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding:0px;
    width: 70%;
    margin: 0px auto;
}
fullbody{
  flex-direction: column;
}
aside.ai-answer {
  margin: auto;
}
}
