/* Misc main stylization. */

html {
    scroll-behavior: smooth;
}

body {
    font-family:'Source Sans Pro';
    line-height:140%;
    font-size:1.2rem;
    font-weight:400;
    background-color:#111;
}

ul {
    margin:0;
    list-style-type: none;
    padding:0;
    color:#E0E0E0;
}

li {
    font-size:1.2rem;
    font-weight:400;
    color:#;
    text-align:center;
}

li:nth-child(odd) {
    padding:4px;
    background-color:#181818;
}


/* Dynamic things */

.DynamicColumnWidth { /* Page width */
    width:98%;
    margin:auto; /* Center flex with margin automagically. */
}

.DynamicPairedContainer { /* Dynamic two column container and support. */
    display:flex;
}

.DynamicPairedL {
    width:50%;
    padding-right:5px;
}

.DynamicPairedR {
    width:50%;
    padding-left:5px;
}

.DynamicTextMarginTitle {
    padding:4px 7px 4px 4px; /* Font rendering all over the web is broken with italics. */
}

.DynamicTextMargin {
    padding:4px;
}

.DynamicSpacer { /* Spacing between sections. */
    height:2vh;
    display:block;
}


/* Main CSS. */

.LogoCenterer {
    height:25vh;
}

.LogoContainer {
    display:flex;
    justify-content: center;
    flex-direction: column;
    text-align:center;
}

img.Contained {
    max-width:97%;
    max-height:30vh;
    margin:2vh auto;
}

.LogoText {
    display:flex;
    align-self: center;
    text-align: center;
    background-color:#222;
    padding:5px;
    color:#F00;
    border-radius: 5px;
    justify-content: center;
    font-family: 'Courgette', cursive;
    font-size:1.4rem;
}

.CelebrateText {
    display:flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-self: center;
    text-align: center;
    padding:5px;
    color:#F00;
    border-radius: 5px;
    justify-content: center;
    font-family: 'Courgette', cursive;
    font-size:1.4rem;
}

.CelebrateSections {

}


/* Navbar */

.NavigationContainer {
    display:flex;
    flex-wrap:wrap;
    border-radius:5px;
    background-color:#181818;
    align-items:stretch;
    justify-content:space-evenly;
    padding:0 10px 10px 10px;
    border: 1px solid #FFE000;
}

.NavigationItem {
    border:2px solid #FFE000;
    border-radius:5px;
    background-color:#111;
    text-align: center;
    color:#FFF;
    cursor:pointer;
    transition: 500ms;
    padding:5px;
    max-width: 20%;
    align-items: center;
    display: flex;
    margin-top:10px;
}

.NavigationItem:hover {
    transition: 500ms;
    border:2px solid #000;
    color:#000;
    background-color:#FFE000;
}

/* Footer */

.Footer {
    border-radius:5px 5px 0 0;
    background-color:#F00;
    display:flex;
    flex-wrap: wrap;
    padding:0 5px;
}

.Footer_Full {
    width:100%;
}

.Footer_Half {
    width:50%;
    font-size:1.2rem;
}

.Footer_Left {
    text-align:left;
}

.Footer_Right {
    text-align:right;
}

.Footer_Full {
    text-align:center;
    font-size:.85rem;
}


/* Tables */

.TableContainer {
    display:flex;
    flex-direction: column;
    justify-content:flex-start;
    align-items:stretch;
}

.TableHeader {
    background-color:#F00;
    border-radius:5px 5px 0 0;
    color:#000;
    font-style:italic;
    font-family:'Roboto Condensed', sans-serif;
    font-size:1.5rem;
    font-weight:900;
    align-self:flex-start;
}

.TableContent {
    width:100%;
    height:100%;
    min-height:10px;
    background-color:#222;
    color:#E0E0E0;
    border:2px solid #F00;
    border-radius: 0 5px 5px 5px;
    align-self:stretch;
}

/* Etc */

.SafetyLines {
    background-image: url('../Media/SafetyLines.png');
}

.PWImg {
    max-width:50%;
    float:left;
    margin-right:5px;
    border-radius: 4px;
}

input, textarea, select {
    margin-top: 1vh;
    margin-bottom: 1vh;
    background-color: #181818;
    color: #FFF;
    padding: 5px;
    display: block;
    border:0;
    width: 100%;
    box-sizing:border-box;
    font-size:100%;
}

.OutlineSubmit {
    border:1px solid #FF0;
    border-radius:5px;
}

.OutlineSubmit:hover {
    background-color:#111;
}

/* Lists */

.ListContainer {
    font-size:1.6rem;
    text-align:center;
    font-weight:900;
    line-height:auto;
    color:#F00;
    width:100%;
    display:flex;
    flex-wrap:wrap;
    justify-content: space-around;
}

.List_Third {
    margin-top:2vh;
    flex:1 0 33%;
}

.List {
    margin-top:2vh;
    flex:1 0 50%;
}

/* Slider */

.CompareContainer {
    padding:3px 0;
    line-height:0;
}

.SliderInput {
  -webkit-appearance: none;
  width: 100%;
  height: 25px;
  background: #181818;
  outline: none;
  opacity: 0.7;
  transition: opacity 200ms;
  margin:0;
  touch-action: pan-x;
}

.SliderInput:hover {
    opacity: 1;
}

.SliderInput::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  background: #FFFF00;
  cursor: pointer;
}

.SliderInput::-moz-range-thumb {
  width: 30px;
  height: 30px;
  background: #FF0000;
  cursor: pointer;
}

.NextPrevContainer {
    display:flex;
    justify-content:space-around;
}

.NextPrev {
    margin:1vh 0;
    text-align:center;
    width:40%;
    border:1px solid #FF0;
    border-radius:5px;
    cursor:pointer;
}

.NextPrev:hover {
    transition:500ms;
    background-color:#111;
}

.NextPrevInfo {
    text-align:center;
}

.HugeText {
    font-size: 10vh;
    line-height: 12vh;
    margin-bottom:1vh;
}