/* Crescent City Technologies additions on top of the original theme (site.css). */

/* ---- Header contact bar ---- */
.e57-4.x-bar-container.cct-contact {
  justify-content: flex-end;
  gap: 4px 28px;
  padding-right: 20px;
}
.cct-item {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #000;
  text-decoration: none;
  font-family: Helvetica, Arial, sans-serif;
  font-size: calc(75% + .2vw);
  line-height: 1.15;
}
.cct-item:hover .cct-text span:last-child { text-decoration: underline; }
.cct-item .top-icon { font-size: 1.7em; width: 1.1em; text-align: center; }
.cct-text { display: flex; flex-direction: column; }
.cct-text span:last-child { color: rgb(61,133,198); }
.cct-item.cct-addr .cct-text span:last-child { color: #000; }

/* Small outlined "Support" link to /remote/ */
.cct-item.cct-remote {
  border: 1.5px solid rgb(61,133,198);
  border-radius: 6px;
  padding: 5px 10px;
  gap: 7px;
}
.cct-item.cct-remote .top-icon { font-size: 1.25em; }
.cct-item.cct-remote .cct-text span { color: rgb(61,133,198); }
.cct-item.cct-remote:hover { background: rgb(61,133,198); }
.cct-item.cct-remote:hover .top-icon,
.cct-item.cct-remote:hover .cct-text span { color: #fff; text-decoration: none; }

/* Tablets and phones: icons only, Support keeps its label */
@media (max-width: 1000px) {
  .e57-4.x-bar-container.cct-contact { gap: 14px; padding-right: 10px; }
  .cct-item:not(.cct-remote) .cct-text { display: none; }
  .e57-13.x-menu > li > .x-anchor .x-anchor-content { padding: 0.79em 0.4em; }
  .e57-13.x-menu .x-anchor-text-primary { white-space: nowrap; }
}

/* ---- Footer business info ---- */
.cct-footer-info {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #555;
  text-align: center;
  margin: 4px 0 6px;
  line-height: 1.6;
}
.cct-footer-info a { color: rgb(61,133,198); }

/* ---- "Visit us" map section (homepage) ---- */
.cct-visit {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 20px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  align-items: center;
  font-family: Helvetica, Arial, sans-serif;
}
.cct-visit h2 { margin: 0 0 12px; font-size: 32px; }
.cct-visit p { margin: 0 0 10px; font-size: 17px; line-height: 1.5; color: #333; }
.cct-visit iframe { width: 100%; height: 340px; border: 0; border-radius: 6px; }
@media (max-width: 760px) {
  .cct-visit { grid-template-columns: 1fr; padding: 36px 16px; }
}

/* ---- Remote support page ---- */
.cct-remote-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 16px 60px;
  font-family: Helvetica, Arial, sans-serif;
  color: #222;
  text-align: center;
}
.cct-remote-page h1 { font-size: 40px; margin: 0 0 8px; }
.cct-remote-page .cct-lead { font-size: 19px; color: #444; margin: 0 0 30px; }
.cct-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgb(61,133,198);
  color: #fff !important;
  font-size: 24px;
  font-weight: 700;
  padding: 20px 38px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.cct-dl-btn:hover { background: rgb(3,126,238); }
.cct-dl-btn .top-icon { color: #fff; font-size: 1.1em; }
.cct-powered { font-size: 14px; color: #666; margin: 14px 0 0; }
.cct-alt { font-size: 15px; color: #555; margin: 22px 0 0; }
.cct-steps { text-align: left; margin: 34px auto 0; max-width: 620px; }
.cct-steps ol { padding-left: 1.4em; margin: 0; }
.cct-steps li { font-size: 18px; line-height: 1.5; margin: 0 0 14px; }
.cct-steps h2 { font-size: 26px; text-align: center; margin: 0 0 18px; }
.cct-note {
  background: #f3f7fb;
  border-left: 4px solid rgb(61,133,198);
  padding: 14px 16px;
  font-size: 16px;
  line-height: 1.5;
  margin: 18px 0 0;
}
.cct-callus { margin-top: 36px; font-size: 18px; }
.cct-callus a { color: rgb(61,133,198); font-weight: 700; }
[hidden] { display: none !important; }


/* Button after the download starts */
.cct-dl-btn.cct-dl-done { background: #1e8e3e; }
.cct-dl-btn.cct-dl-done:hover { background: #188038; }
.cct-dl-btn small { display: block; font-size: 15px; font-weight: 400; margin-top: 4px; }
.cct-dl-btn.cct-dl-done .top-icon:before { content: "\f00c"; }

/* Arrow pointing at the browser's download button (top-right corner) */
.cct-pointer {
  position: fixed;
  top: 150px;
  right: 40px;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  animation: cct-bounce 1s ease-in-out infinite;
}
.cct-pointer .cct-hand { font-size: 64px; color: #d93025; line-height: 1; margin-bottom: 4px; }
.cct-pointer span {
  background: #d93025;
  color: #fff;
  font: 700 16px/1.3 Helvetica, Arial, sans-serif;
  padding: 8px 12px;
  border-radius: 6px;
  max-width: 230px;
  text-align: center;
}
@keyframes cct-bounce { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .cct-pointer { animation: none; } }

/* Inline drawing of the download icon, and optional per-browser screenshot */
.cct-dlicon { display:inline-block; vertical-align:-0.3em; width:1.4em; height:1.4em; border:1.5px solid #888; border-radius:50%; padding:2px; background:#fff; }
.cct-shot { display:block; max-width:100%; margin:10px 0 0; border:1px solid #ccc; border-radius:6px; }
.cct-mac { margin-top: 10px; font-size: 16px; }
.cct-mac summary { cursor: pointer; color: rgb(61,133,198); font-weight: 700; }
.cct-mac ol { margin: 6px 0 12px; }
.cct-mac li { font-size: 16px; margin-bottom: 6px; }
.cct-mac p { margin: 10px 0 0; }

/* ---- Upload page (embeds the Google Apps Script form) ---- */
.cct-upload-page { max-width: 720px; margin: 0 auto; padding: 20px 16px 40px; text-align: center; font-family: Helvetica, Arial, sans-serif; }
.cct-upload-page iframe { width: 100%; height: 1150px; border: 0; }
.cct-upload-page .cct-callus { font-size: 17px; margin-top: 10px; }
@media (max-width: 760px) { .cct-upload-page iframe { height: 1350px; } }
