:root {
    --sidebar-width: 280px;
}

html {
    font-size: 0.625rem;
}

body {
    /* font-family: Amazon Ember, Helvetica Neue, Roboto, Arial, sans-serif; */
    font-family: Amazon Ember, Helvetica Neue, Roboto, Arial, sans-serif;
    color: rgb(22,25,31);
    background-color: rgb(242, 243, 243);
    margin: 0;
}

/* Layout */

.header {
    grid-area: header;
    background-color: #16191f;
    color: white;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header--col {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 -10px;
}

.header--col > * {
    margin: 0 10px;
}

.header--logo {
    max-height: 35px;
    display: flex;
}

.header--link, .header--link:hover {
    color: #44b9d6;
    font-size: 1.4rem;
}

.header--linkbutton {
    background-color: rgb(236, 114, 17);
    border: 1px solid  rgb(236, 114, 17);
    color: white;
    border-radius: 0.2rem;
    padding: 0.4rem 2rem;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 2rem;
}

.header--linkbutton:hover {
    background-color: rgb(235, 95, 7);
    border-color: rgb(235, 95, 7);
    color: white;
    text-decoration: none;
}

.mainContent {
    grid-area: content;
    padding: 0 6rem 1.5rem;
    font-size: 1.6rem;
}

.downloadLinks {
    margin: 1rem 0 3rem;
    display: flex;
    flex-flow: row nowrap;
}

.downloadLinks--link {
    padding: 0 1rem;
    border-width: 0 1px 0 0;
    border-color: #879596;
    border-style: solid;
}


.downloadLinks--link:first-of-type {
    padding: 0 1rem 0 0;
}

.downloadLinks--link:last-of-type {
    border-width: 0;
}

.sidebar {
    grid-area: sidebar;
    overflow: auto;
}

.sidebar--heading {
    margin: 2rem 0 1.5rem;
    padding: 0 5rem 0 3rem;
}

.sidebar--title {
    font-size: 1.8em;
    font-weight: 700;
}

.sidebar--subtitle {
    font-size: 1.2em;
    color: rgb(104, 112, 120);
}

.sidebar--navsection {
    border-top: 1px solid #eaeded;
    padding: 1rem 5rem 0 3rem;
    list-style-type: none;
}

.sidebar--navsubsection {
    list-style-type: none;
}

.sidebar--navitem {
    margin: 1rem 0;
}

a.sidebar--link {
    color: rgb(84, 91, 100);
    font-size: 1.4rem;
    text-decoration: none;
}

a.sidebar--link:hover {
    color: rgb(236, 114, 17);
    text-decoration: none;
}

.mainContent {
    overflow: auto;
}

.mainContent, .sidebar {
    background-color: white;
    box-shadow: 0 1px 1px 0 rgba(0,28,36,.3),1px 1px 1px 0 rgba(0,28,36,.15),-1px 1px 1px 0 rgba(0,28,36,.15);
}

#layout {
    display: grid;
    column-gap: 1em;
    grid-template-columns: var(--sidebar-width) auto;
    grid-template-rows: 65px auto;
    grid-template-areas:
        "header header"
        "sidebar content";
    height: 100vh;
}

@media (max-width: 768px) {
    #layout {
        grid-template-columns: 100vw;
        grid-template-areas: "header" "content";
        height: auto;
    }
}

/* Styling */

.controlCategory--header {
    margin-bottom: 3rem;
}

.controlCategory--requirement {
    margin-bottom: 3rem;
}

.controlCategory--requirement--removed {
    color: rgb(104, 112, 120);
}

.controlCategory--requirementDetails ul {
    margin-bottom: 1rem;
}

.controlCategory {
    margin-bottom: 3rem;
}

.prereqSectionList {
    list-style-type: none;
    padding: 0;
}

.prereqSection--number {
    display: inline-block;
    width: 3rem;
    margin-right: 1rem;
}

.prereqSection--requirementNumber {
    display: inline-block;
    width: 2.5rem;
    margin-right: 0.5rem;
}

.prereqSection--content > ol {
    list-style-type: none;
    padding-left: 4rem;
}

.prereqSection--requirementDetails {
    padding-left: 3rem;
}

.resourceLinks dd {
    margin-bottom: 2rem;
}

.mainContent ol, .mainContent ul {
    margin-bottom: 1rem;
}

/* Typography */

h1 {
    font-size: 2.25em;
    font-weight: 300;
}

h2 {
    font-size: 1.625em;
    font-weight: 400;
}

h3 {
    font-size: 1.25em;
    font-weight: 400;
}

h4 {
    font-size: 1em;
    font-weight: 700;
}

.mainContent h1 {
    margin: 3rem 0 0;
}

.mainContent > h2 {
    font-weight: 300;
    font-size: 1.5em;
    color: rgb(104, 112, 120);
}

.mainContent > h3 {
    font-size: 1em;
    font-weight: 300;
    color: rgb(104, 112, 120);
    margin-bottom: 0;
}

.mainContent section h2 {
    border-top: 1px solid #d5dbdb;
    line-height: 1.226em;
    margin: 1em 0 .75em;
    padding: 1em 0 0;
}

.versionExplanation {
    color: rgb(104, 112, 120);
    font-style: italic;
    font-size: 0.825em;
}

.controlCategory--appliesTo {
    font-style: italic;
    color: #545b64;
}

a {
    color: #0073bb;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.icon {
    display: inline-block;
    vertical-align: top;
    width: 1.6rem;
    height: 2rem;
    color: currentColor;
}

.icon svg {
    stroke: currentColor;
    color: currentColor;
    stroke-width: 2px;
}
.icon svg .stroke-linecap-round {
	stroke-linecap: round;
}

.icon svg .stroke-linejoin-round {
	stroke-linejoin: round;
}

/* WIZARD */
.container {
    width: 30%;
    display: flex;
    flex-direction: column;
  }
 
  .container > div {
    margin: 10px 0;
  }
 
  .question {
    display: flex;
    flex-direction: column;
  }
 
  select {
    border-radius: 0;
    border: 0.5px solid #cacaca;
    padding: 5px 10px;
    background-color: transparent;
  }
 
  select:disabled {
    cursor: not-allowed;
  }
 
  .hidden {
    display: none;
  }
 
  #result {
    margin: 20px 0;
    font-weight: bold;
  }
