/*
 * Copyright 2020 Adobe. All rights reserved.
 * This file is licensed to you under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License. You may obtain a copy
 * of the License at http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under
 * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
 * OF ANY KIND, either express or implied. See the License for the specific language
 * governing permissions and limitations under the License.
 */

@import url('./base.css');
@import url('./tokens.css');

/* ----------Viewport map (reference)---------- */

/* mobile: 0-767px */

/* tablet: 768px-1023px */

/* desktop: 1024px+ (max 1440px) */

/* ----------fallback font---------- */
@font-face {
  font-family: ATTAleckSans;
  font-style: normal;
  font-weight: 400;
  size-adjust: 100.06%;
  ascent-override: 95%;
  src: local('Arial');
}

/* ----------Base CSS styles---------- */

html {
  font-size: 62.5%;
  -webkit-font-smoothing: antialiased;
}

body {
  display: none;
  margin: 0;
  font-family: var(--body-font-family);
  font-size: var(--body-font-size-m);
  font-weight: var(--font-weight-normal);
  line-height: var(--body-line-height);
  color: var(--color-text-body);
}

body.appear {
  display: block;
}

*,
::after,
::before {
  box-sizing: border-box;
}

* {
  margin: 0;
}

ol[role='list'],
ul[role='list'] {
  list-style: none;
}

img,
picture {
  display: block;
  max-width: 100%;
  object-fit: cover;
  height: auto;
}

.hide-visually {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.icon {
  display: inline-block;
  width: 2.4rem;
  height: 2.4rem;
}

.icon img {
  width: 100%;
  height: 100%;
}

button,
input,
optgroup,
select,
textarea {
  font: inherit;
}

.hide {
  display: none !important;
}

header {
  height: var(--nav-height);
}

header .header,
footer .footer {
  visibility: hidden;
}

header .header[data-block-status='loaded'],
footer .footer[data-block-status='loaded'] {
  visibility: visible;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0.8em;
  margin-bottom: 0.25em;
  font-family: var(--heading-font-family);
  font-weight: normal;
  color: var(--color-text-heading);
  letter-spacing: var(--heading-letter-spacing);
  scroll-margin: 40px;
}

/* Anchored sections (Section Metadata `id`) clear the fixed header and any pinned sticky-nav when jumped to. */
main .section[id] {
  scroll-margin-top: calc(var(--nav-height, 0px) + var(--sticky-nav-height, 0px));
}

p,
dl,
ol,
ul,
pre,
blockquote {
  margin-top: 0.8em;
  margin-bottom: 0.25em;
  line-height: var(--body-line-height);
  font-weight: var(--font-weight-400);
  color: inherit;
}

ul,
ol {
  margin-bottom: var(--spacing-8);
  margin-left: 0;
  padding-left: calc(var(--spacing-16) + var(--spacing-4));
}

ul li,
ol li {
  padding-top: 0;
  margin-top: var(--spacing-8);
  line-height: var(--body-line-height);
}

ul li:not(:last-child),
ol li:not(:last-child) {
  margin-bottom: var(--spacing-8);
}

code,
pre {
  font-size: var(--body-font-size-s);
}

pre {
  padding: var(--spacing-16);
  border-radius: var(--border-radius-md);
  background-color: var(--color-background-light);
  overflow-x: auto;
  white-space: pre;
}

input,
textarea,
select,
button {
  font: inherit;
}

a,
dd,
dt {
  line-height: var(--body-line-height);
}

/* button group */
.button-group.section .button-wrapper,
.button-group.block .button-wrapper {
  display: flex;
  flex-flow: column wrap;
  gap: var(--spacing-10);
  padding: var(--spacing-16);
  align-items: center;
  justify-content: center;
  margin: 0;
}

.button-group.section.left .button-wrapper,
.button-group.block.left .button-wrapper {
  align-items: flex-start;
}

.button-group.section.right .button-wrapper,
.button-group.block.right .button-wrapper {
  align-items: flex-end;
}

/* ----------sections---------- */
main .section {
  max-width: var(--section-max-width);
  margin: 0 auto;
}

main .section.bg-gray-cool {
  background-color: var(--color-gray-200);
}

main .section.bg-att-blue {
  background-color: var(--color-att-blue-000);
}

main .section.bg-white {
  background-color: var(--color-white);
}

main .default-content-wrapper picture {
  width: fit-content;
  margin: 0 auto;
}

.articles main .default-content-wrapper :is(picture, img),
.articles main .default-content-wrapper p:has(picture, img) {
  width: 100%;
}

main .section.sticky-nav-container {
  margin: 0;
  max-width: 100%;
}

main .section.fragment-container {
  max-width: none;
}

/* ----------links---------- */
a:any-link {
  color: var(--color-link-default);
  text-decoration: none;
  overflow-wrap: break-word;
}

a:hover {
  color: var(--color-link-default);
}

/* ----------form controls---------- */

.form-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--body-font-size-lg);
  color: var(--color-gray-700);
  cursor: pointer;
}

.form-checkbox {
  appearance: none;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  cursor: pointer;

  /* border: 2px solid var(--color-gray-500);
  border-radius: 3px;
  background: var(--color-white); */
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.form-checkbox::before {
  content: '\e960';
  font-family: var(--font-family-icon-controls);
  font-size: 16px;
  color: var(--color-gray-450, #959595);
  font-weight: 700;
}

.form-checkbox:checked {
  border-color: var(--color-cobalt-600);
}

.form-checkbox:checked::before {
  color: var(--color-cobalt-600);
  font-size: 27px;
  line-height: 1;
}

.form-input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  outline: none;
  font: inherit;
  font-size: var(--body-font-size-lg);
  background: transparent;
  appearance: none;
}

.form-input::-webkit-search-cancel-button {
  display: none;
}

/* spacer style */
.spacer-sm {
  padding-top: var(--spacing-20);
}

.spacer-md {
  padding-top: var(--spacing-32);
}

.spacer-32 {
  padding-top: var(--spacing-32);
}

.spacer-80 {
  padding-top: var(--spacing-80);
}

/* icons font style */
[class*='icon-functional'],
[class*='icon-control'],
[class*='icon-glyph'] {
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  display: inline-block;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* icon-controls font */
[class*='icon-control-'] {
  font-family: var(--font-family-icon-controls);
}

/* glyph-icons font */
[class*='icon-glyph-'] {
  font-family: var(--font-family-icon-glyph);
}

.icon-glyph-chevron-left::before {
  content: '\e079';
}

.icon-glyph-chevron-right::before {
  content: '\e080';
}

.icon-control-chevron-left::before {
  content: '\e927';
}

.icon-control-chevron-right::before {
  content: '\e94b';
}

.icon-glyph-menu-right::before {
  content: '\e258';
}

.icon-glyph-chevron-fill-down::before {
  content: '\e252';
}

.icon-glyph-chevron-fill-up::before {
  content: '\e253';
}

.icon-glyph-security-alert::before {
  content: '\e901';
}

.icon-glyph-location-map::before {
  content: '\e902';
}

.icon-glyph-device-headset::before {
  content: '\e903';
}

.icon-glyph-device-mobile::before {
  content: '\e900';
}

.icon-control-approval::before {
  content: '\e903';
}

.icon-glyph-data-network::before {
  content: '\e904';
}

.icon-control-series-recording::before {
  content: '\e94f';
}

.icon-glyph-device-call-history::before {
  content: '\e906';
}

/* functional icons */
[class*='icon-functional'] {
  font-family: var(--functional-icons-font-family);
}

.icon-functional-pdf::before {
  content: '\e901';
}

.icon-functional-video::before {
  content: '\e900';
}

.icon-functional-microphone::before {
  content: '\e902';
}

.icon-functional-article::before {
  content: '\e903';
}

.icon-functional-webpage::before {
  content: '\e904';
}

.icon-functional-arrow-right::before {
  content: '\e905';
}

.icon-functional-read::before {
  content: '\e906';
}

.icon-functional-watch::before {
  content: '\e907';
}

.icon-functional-explore::before {
  content: '\e908';
}

.icon-functional-download::before {
  content: '\e909';
}

p.legal-text {
  font-family: var(--font-family-regular);
  font-size: 1.2rem;
  line-height: normal;
}

.legal-text :is(ul, ol) > li {
  margin: 0;
  line-height: normal;
}

main > .section.legal-text > .default-content-wrapper {
  max-height: 205px;
  font-size: 1.2rem;
  line-height: normal;
  overflow: auto;
  font-family: var(--font-family-regular);
  display: block !important;
  padding: var(--spacing-24) !important;
}

main > .section.legal-text > .default-content-wrapper p {
  font-size: 1.2rem !important;
  font-family: var(--font-family-regular) !important;
  margin-bottom: var(--spacing-6) !important;
  color: var(--color-black) !important;
  line-height: normal !important;
}

@media (width >= 768px) {
  .spacer-md {
    padding-top: var(--spacing-48);
  }

  .button-group.section .button-wrapper,
  .button-group.block .button-wrapper {
    flex-direction: row;
    gap: var(--spacing-16);
  }

  .button-group.section.left .button-wrapper,
  .button-group.block.left .button-wrapper {
    justify-content: flex-start;
    align-items: center;
  }

  .button-group.section.right .button-wrapper,
  .button-group.block.right .button-wrapper {
    justify-content: flex-end;
    align-items: center;
  }
}

@media (width >= 1024px) {
  /* spacer style */
  .spacer-md {
    padding-top: var(--spacing-64);
  }

  /* Grid width utility — 10/12 columns (83.333%) on desktop. */
  .grid-col-10-lg {
    flex-basis: 83.3333%;
    max-width: 83.3333%;
  }
}
