﻿/* ------- GENERAL STYLE ------- */

@charset "utf-8";

/* ------- LEGACY STYLES ------- */

html {
    font-size: 100%;
    overflow-y: scroll;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* ------- BASE STYLES - SIDE WIDE ------- */

img, object, embed, video {
    max-width: 100%;
    height: auto;
}

/* ------- BASE STYLES - SIDE WIDE ------- */

body {
    margin: 1em;
    background-color: #FFF;
}

body, button, input, select, textarea {
    font-family: sans-serif;
    font: 100%/1.3 Helvetica, Verdana, sans-serif, Arial;
    color: #605951;
}

p {
    text-align: justify;
}

b, strong {
    font-weight: bold;
}

i, em {
    font-style: italic;
}

section, article, aside, details, figcaption, figure {
    display: block;
    text-align: justify;
}

a {
    color: #605951;
    cursor: pointer;
}

    a.lucid {
        color: #FFF;
    }

    a.img {
        text-decoration: none;
    }

ol, ul {
    padding-left: 1.4em;
    text-align: justify;
}

    ul.usp {
        padding-left: 0;
        list-style-type: none;
        font-weight: bold;
    }

li.usp {
    margin-bottom: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    border: 1px solid #000;
    padding: 2px;
    text-align: center;
}

.tablecap {
    padding: 2px 4px 2px 4px;
    font-size: 0.8em;
    font-style: italic;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.centertext {
    text-align: center;
}

.righttext {
    text-align: right;
}

.left-float {
    float: left;
    padding: 0 1em 1em 0;
}

.left-clear {
    clear: left;
}

.right-float {
    float: right;
    padding: 0 1em 1em 0;
}

/* ------- SPECIAL TEXT STYLES ------- */

.cutout, .tagcutout, .flipcutout {
    color: #000;
    font-weight: bold;
    padding: 10px;
    text-align: center;
    mix-blend-mode: screen;
}

.cutout {
    background: hsl(0, 0%, 90%);
}

.flipcutout {
    background: rgba(255,255,255, 0.7);
}

.tagcutout {
    background: hsl(0, 0%, 40%);
}

.centertextbox {
    position: absolute;
    top: 70%;
    left: 50%;
    width: 80%;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
}

.fliptextbox {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    transform: translate(-50%, -50%);
}

.tagbox {
    position: absolute;
    top: 10%;
    left: 20%;
    width: 30%;
    transform: translate(-60%, -45%);
    mix-blend-mode: screen;
} 	

/* ------- FLIP BOX ------- */

.fliphorizon, .flipvertical {
    background-color: transparent;
    width: 100%;
    perspective: 1000px;
}

.fliphorizon-content, .flipvertical-content {
    position: relative;
    padding-top: 66.67%;
    text-align: center;
    transition: transform 0.7s;
    transform-style: preserve-3d;
}

.fliphorizon-front, .fliphorizon-back, .flipvertical-front, .flipvertical-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.fliphorizon-front, .flipvertical-front {
    background-color: #dcdee4;
    color: #434967;
}

.fliphorizon:hover .fliphorizon-content {
    transform: rotateY(180deg);
}

.fliphorizon-back {
    background-color: #434967;
    color: #FFF;
    transform: rotateY(180deg);
}

.flipvertical:hover .flipvertical-content {
    transform: rotateX(180deg);
}

.flipvertical-back {
    background-color: #434967;
    color: #FFF;
    transform: rotateX(180deg);
}

/* ------- STATIC IMAGEs & CAPTION STYLES ------- */

.static, .static3-2, .static2-3, .static16-9, .static21-9 {
    width: 100%;
    position: relative;
}

.static, .static3-2 {
    padding-top: 66.67%
}

.static2-3 {
    padding-top: 150%
}

.static16-9 {
    padding-top: 56.25%
}

.static21-9 {
    padding-top: 42.86%
}

    .static img, .static3-2 img, .static2-3 img, .static16-9 img, .static21-9 img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.subcap {
    background: hsl(0, 0%, 40%);
    color: #FFF;
    font-style: italic;
    padding-left: 5px;
}

/* ------- IMAGE AUTOSLIDER (LEGACY) STYLE - RESPONSIVE UPDATE ------- */

.autoslider {
    width: 100%;
    position: relative;
    padding-top: 66.67%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: pltpics 15s infinite;
    opacity: 0;
}

@keyframes pltpics {
    20% {
        opacity: 1;
    }

    35% {
        opacity: 0;
    }
}

img:nth-child(1) {
    animation-delay: 0s;
}

img:nth-child(2) {
    animation-delay: 3s;
}

img:nth-child(3) {
    animation-delay: 6s;
}

img:nth-child(4) {
    animation-delay: 9s;
}

img:nth-child(5) {
    animation-delay: 12s;
}

/* ------- VIDEO STYLING ------- */

.tubes {
    width: 100%;
    position: relative;
    border: 1px solid #000;
}

    .tubes::before {
        content: '';
        display: block;
        padding-top: 56.25%;
    }

    .tubes iframe {
        position: absolute;
        border: none;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }