/*!
 * Copyright 2023 Kakao Corp.
 *
 * Licensed 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 CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * This source file is part of the Swift.org open source project
 *
 * Copyright (c) 2021 Apple Inc. and the Swift project authors
 * Licensed under Apache License v2.0 with Runtime Library Exception
 * 
 * See https://swift.org/LICENSE.txt for license information
 * See https://swift.org/CONTRIBUTORS.txt for Swift project authors
 */

 :root {
   --app-height: 100vh;
}

 #app {
   display: flex;
   flex-flow: column;
   min-height: 100%;
}

 li:not(:first-child), ul, ul li:not(:first-child) {
   margin-top: var(--margin-large)
}

.footer {
   border-top: 1px solid var(--color-grid);   
}

html {
   -ms-text-size-adjust: 100%;
   -webkit-text-size-adjust: 100%;
   background-color: var(--colors-text-background,var(--color-text-background));
   height: 100%
}

body,h1,h2,h3,h4,h5,h6,li,ol,p,pre,ul {
   margin: 0;
   padding: 0
}

footer,header,main,nav,section,summary {
   display: block
}

body {
   height: 100%;
   min-width: 320px
}

@media only screen and (max-width < 980px){
   .container {
      width: 100%;
   }
}

html {
   font: var(--typography-html-font,17px "SF Pro Text",system-ui,-apple-system,BlinkMacSystemFont,"Helvetica Neue","Helvetica","Arial",sans-serif);
   quotes: "“" "”"
}

body {
   font-size: 1rem;
   line-height: 1.47059;
   font-weight: 400;
   letter-spacing: -.022em;
   font-family: var(--typography-html-font,"SF Pro Text",system-ui,-apple-system,BlinkMacSystemFont,"Helvetica Neue","Helvetica","Arial",sans-serif);
   background-color: var(--color-text-background);
   color: var(--colors-text,var(--color-text));
   font-style: normal;
   word-wrap: break-word;
   --spacing-stacked-margin-small: 0.4em;
   --margin-large: 0.8em;
   --spacing-stacked-margin-xlarge: calc(var(--margin-large)*2);
   --spacing-param: 1.64706rem;
   --declaration-code-listing-margin: 30px 0 0 0;
   --code-block-style-elements-padding: 8px 14px
}

h1,h2,h3,h4,h5,h6 {
   color: var(--colors-header-text,var(--color-header-text))
}

h1+*,h2+*,h3+*,h4+*,h5+*,h6+* {
   margin-top: var(--margin-large)
}

ol+h1,ol+h2,ol+h3,ol+h4,ol+h5,ol+h6,p+h1,p+h2,p+h3,p+h4,p+h5,p+h6,ul+h1,ul+h2,ul+h3,ul+h4,ul+h5,ul+h6 {
   margin-top: 1.6em
}

ol+*,p+*,ul+* {
   margin-top: var(--margin-large)
}

ol,ul {
   margin-left: 1.17647em
}

ol ol,ol ul,ul ol,ul ul {
   margin-top: 0;
   margin-bottom: 0
}

nav ol,nav ul {
   margin: 0;
   list-style: none
}

li li {
   font-size: 1em
}

a {
   color: var(--colors-link,var(--color-link))
}

a:link,a:visited {
   text-decoration: none
}

.list a:hover {
   text-decoration: none;
   opacity: 0.6;
}

a:hover {
   text-decoration: underline
}

a:active {
   text-decoration: none
}

#main {
   outline-style: none
}

#footer-wrapper {
   position: relative;
   background: var(--color-fill-tertiary);
   padding-top: 10px;   
}

.footer-legal {
   display: flex;
   color: #aaa;
   font-size: 0.8em;
   width: auto;
   margin: 10 auto;
   padding: 1%;
   justify-content: space-between;
}


.footer-legal-copyright a {
   color: var(--color-figure-gray-secondary-alt);
   margin: 10 auto;
}

.footer-sdk-version p {
    text-align: right;
    margin-right: 10px;
}

.container {
   margin-left: auto;
   margin-right: auto;
   width: 980px;
   outline-style: none;
   margin-top: 92px;
   margin-bottom: 140px
}


.card:not(.changed) {
   border: 1px solid var(--color-fill-gray-tertiary);
   margin: 10px;
}

.card {
   padding: 1.17647rem;
   display: flex;
   align-items: center;
   border-radius: 15px;
   position: relative;
   transition: transform .16s ease-out,background-color .16s ease-out,border-color .16s ease-out;
   text-decoration: none;
   min-width: 0;   
   box-sizing: border-box;
   min-height: 100px;
}

section {
   margin-top: 0.88235rem;
   margin-bottom: 4.70588rem;
}

.list {
   margin-left: auto;
   margin-right: auto;   
   max-width: 980px;
   display: block;
   list-style: none;
   margin: 5% auto
}

.body {
   flex: 1 1 100%;
   min-width: 0;
   margin-right: 20px
}

.card-title {
   font-size: 1.23529rem;
   line-height: 1.381;
   font-weight: 400;
   letter-spacing: .011em;   
   color: var(--color-figure-gray);
   display: inline;
   vertical-align: middle
}

.content {
   color: var(--color-figure-gray-secondary);
   margin-top: 3px;
   max-width: 48.05882rem
}

.doc-title {
   margin-bottom: .88235rem;
   color: var(--doc-title);
}

.doc-header {
   background-color: var(--doc-header);
   padding-bottom: 2.35rem;
   padding-top: 3.85rem;
   text-align: center;
   background-size: cover;
   background-repeat: no-repeat;
   background-position: 50%;
}

body {
    --color-figure-gray: #1d1d1f;
    --color-figure-gray-secondary: #86868b;
    --color-figure-gray-secondary-alt: #d2d2d7;
    --color-figure-blue: #0071e3;
    --color-figure-white: #fff;
    --color-fill-tertiary: #f5f5f7;
    --color-fill-gray-tertiary: #d2d2d7;
    --doc-header: #03166c;
    
    --doc-title: var(--color-figure-white);
    --color-text-background: var(--color-figure-white);
    --color-grid: var(--color-figure-gray);
    --color-header-text: var(--color-figure-gray);
    --color-text: var(--color-figure-gray);
    --color-link: var(--color-figure-blue);
}

/*!
* For emplate header.html/footer.html
*/
:host {
   --color-black: #000;
   --color-white: #fff;
   --color-footer: #f5f5f7;
   --template-index-color: var(--color-black);
   --color-secondary-gray: #aaa;
   
   --template-title: var(--color-white);
   --template-index-header-background: var(--template-index-color);
   --template-footer-background: var(--color-footer);
   --template-footer-text: var(--color-secondary-gray);
}

:host([data-color-scheme="dark"]) {
   --color-gray: #333333;
   --template-index-color: var(--color-gray);
   --template-footer-background: var(--color-gray);
}

#template-index-header {
   display: block;   
   background-color: var(--template-index-header-background);
   background-size: cover;
   background-repeat: no-repeat;
}

nav#home {
   padding: 10px 10px;
   font-weight: bold;   
}

nav#home a {
   color: var(--template-title);
}

#footer {
  background-color: var(--template-footer-background);
}

#template-footer {
   display: flex-block;    
   font-weight: 400;
   line-height: 1.425em;
   font-size: 0.8em;
   padding: 10px 10px;
}

.copyright a {
  color: var(--template-footer-text);
}

.copyright {
   color: var(--template-footer-text);
}

.sdk-version {
   color: var(--template-footer-text);
}

.footer-other {
  display: block;
  margin: 10px 10px;   
}

/*
Expanded SCSS from apple/swift-org-website commit a09c14493f812:
https://github.com/apple/swift-org-website/blob/663b3cd2f1b6b099e99b20fc98ab4e0f7b9166e2/assets/stylesheets/_screen.scss#L1073
*/
.color-scheme-toggle {
  display: block;
  outline: none;
  --toggle-color-fill: var(--color-button-background);
  font-size: 12px;
  border: 1px solid #fff;
  border-radius: 4px;
  display: inline-flex;
  padding: 1px;
  margin-bottom: 1em;
}

.color-scheme-toggle input {
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(0px 0px 99.9% 99.9%);
  overflow: hidden;
  height: 1px;
  width: 1px;
  padding: 0;
  border: 0;
  appearance:none
}

.color-scheme-toggle-label {
  border: 1px solid transparent;
  border-radius: var(--toggle-border-radius-inner, 2px);
  display: inline-block;
  text-align: center;
  padding: 1px 6px;
  min-width: 42px;
  box-sizing:border-box
}

.color-scheme-toggle-label:hover {
  cursor:pointer
}

input:checked + .color-scheme-toggle-label {
  background: #fff;
  color: rgba(42,42,42,0.9);
}

[role="contentinfo"] {
  display: flex;
  justify-content:space-between
}

.visuallyhidden {
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(0px 0px 99.9% 99.9%);
  overflow: hidden;
  height: 1px;
  width: 1px;
  padding: 0;
  border:0
}