
/* ---------- General ---------- */

body,
html {
    margin: 0;
    height: 100%;
    font-family: 'Roboto', sans-serif;
    color: black;
}

body {
    font-size: 1.2em;
    line-height: 1.5em;
}

hr {
    border: 0;
    clear: both;
    display: block;
    width: 96%;
    background-color: #CCC;
    height: 1px;
}

h2 {
    padding: 2.3em 0 0.4em 0;
    font-weight: bold;
    font-size: 1.7em;
    text-transform: uppercase;
    text-align: center;
}

h3 {
    padding: 1.8em 0 0.3em 0;
    font-weight: bold;
    font-size: 1.5em;
    text-transform: uppercase;
}

.form-inline .form-control {
    margin-right: 1rem;
    margin-bottom: 1rem;
}

a {
    color: #0072ed;
}

.img-circle {
    display: block;
    margin: 2em auto;
    border-radius: 100%;
    width: 15em;
}

.btn-primary {
    background: #0270E6;
}

.align-right {
    text-align: right;
}

.arabic {
    font-size: 1.2em;
}

/* ---------- Navigation ---------- */

h1 {
    font-weight: 900;
    font-size: 1.3em;
    text-transform: uppercase;
}

h1 a,
h1 a:hover {
    color: white;
    text-decoration: none;
}

nav {
    font-size: 1.3em;
    background: black;
    color: white;
}

nav ul {
    padding: 0;
}

nav ul li {
    list-style-type: none;
    text-transform: uppercase;
}

nav ul li a {
    text-decoration: none;
    color: white;
}

/* ---------- Form ---------- */

label {
    display: block;
    margin-bottom: 0;
    margin-top: 2em;
    font-size: 0.95em;
}

label.label-active {
    color: #f39c12;
}

.helptext {
    font-size: 0.9em;
    color: #606060;
}

.errorlist {
    color: red;
}

input,
textarea,
select,
button[type='submit'] {
    width: 100%;
    display: block;
    padding: 0.3em;
}

#story-create-form input,
#story-create-form textarea,
#story-create-form select {
    background: #EEE;
    border: none;
}

#story-create-form input[type='file'] {
    border: 1px solid white;
    background: none;
}

input[type='checkbox'] {
    display: inline;
    width: auto;
}

form ul {
    list-style: none;
    padding-left: 0;
}

form ul li {
    display: inline-block;
}

form ul li label {
    margin: 0.3em 2em 0 0;
    cursor: pointer;
}

form ul li label:hover {
    color: #f39c12;
}

button[type='submit'],
button[type='submit']:visited {
    background: black;
    border: none;
    color: white;
    font-weight: bold;
    padding: 1em;
    border-radius: 0.5em;
    margin: 3em 0 1em 0;
}

button[type='submit']:hover {
    background: #404040;
    color: white;
}

/* ---------- Welcome ---------- */

#welcome-header-content {
    height: calc(100vh - 3em);
    position: relative;
    text-transform: uppercase;
    color: white;
}

#welcome-header-content-title {
    font-weight: 900;
    line-height: 1em;
}

#welcome-header-content-subtitle {
    font-weight: 900;
    line-height: 2em;
    max-width: 90%;
}

#welcome-header-content a {
    display: inline-block;
    margin-top: 2em;
    padding: 1em 1.4em;
    font-weight: bold;
}

.youtube-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 0;
    height: 0;
    margin: 3em auto;
}

.youtube-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ---------- Testimonies - List ---------- */

#testimonies-list-filter {
    width: 40em;
    max-width: 90%;
    margin: 4em auto 1em auto;
}

#testimonies-list {
    margin-top: 2em;
}

.testimonies-list-item:first-of-type {
    border-top: 1px solid #DDD;
}

.testimonies-list-item {
    display: inline-block;
    width: 100%;
    border-bottom: 1px solid #DDD;
    text-align: left;
    padding: 1em;
    color: black;
    vertical-align: top;
}

.testimonies-list-item:hover {
    background-color: #000;
    border-bottom: 1px solid #000;
    color: white;
    text-decoration: none;
}

#testimonies-create-link {
    text-align: center;
}

#testimonies-back {
    margin-top: 5em;
    display: block;
}

.testimonies-postcard {
    border: 2px solid black;
    padding: 2em;
    height: 33em;
    margin-top: 1.5em;
}

.testimonies-postcard-content {
    display: inline-block;
    padding: 1em 2em 1em 0;
    border-right: 1px solid black;
    width: 70%;
    overflow-y: auto;
    height: 100%;
}

.testimonies-postcard-content-keywords {
    font-size: 0.85em;
    text-align: center;
    margin: 2em auto;
    color: #646464;
}

.testimonies-postcard-content-image img {
    max-width: 100%;
}

.testimonies-postcard-content-image,
.testimonies-postcard-content-video {
    max-width: 100%;
    text-align: center;
    margin: 3em 0;
}

.testimonies-postcard-content-video iframe {
    max-width: 100%;
}

.testimonies-postcard-address {
    display: inline-block;
    width: calc(30% - 1em);
    padding-left: 1em;
    vertical-align: top;
    text-align: right;
}

.testimonies-postcard-address-stamp {
    border: 1px solid black;
    width: 6em;
    height: 8em;
    padding: 1.5em 0.5em;
    text-align: center;
    display: inline-block;
    margin-bottom: 3em;
}

.testimonies-postcard-address-created {
    font-size: 0.9em;
}

.testimonies-postcard-address p {
    border-bottom: 1px solid black;
    height: 2em;
    text-align: left;
}

/* ---------- Footer ---------- */

footer {
    border-top: 1px solid #E4E4E4;
    margin-top: 7em;
    padding: 3em 0 6em 0;
    text-align: center;
    background: #FFF;
    color: #202020;
    font-size: 0.8em;
}

footer a {
    color: black;
    font-weight: bold;
}

footer a:hover {
    color: black;
    opacity: 0.75;
    text-decoration: none;
}

#footer-content-text {
    margin-top: 2em;
}

#footer-content img {
    width: 20em;
    max-width: 100%;
    margin: 0;
    display: inline-block;
}

/* ---------- Error Pages ---------- */

.errorpage-title {
    font-size: 3.3em;
    font-weight: bold;
    margin: 0.5em 0 1em 0;
}

.errorpage-path {
    font-weight: bold;
}

.errorpage-code {
    margin-top: 3em;
    font-size: 0.8em;
}
