@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,300italic,400italic");
@import url("fontawesome-all.min.css");

:root {
  --body-fg: #333;
  --body-bg: #fff;
  --body-quiet-color: #666;

  --hairline-color: #b5ddda;
  --border-color: #dbd3c5;

  --darkened-bg: #f8f8f8; /* A bit darker than --body-bg */
  --selected-bg: #e4e4e4; /* E.g. selected table cells */
  --selected-row: #ffc;

  --button-fg: #fff;
  --button-bg: var(--primary);
  --button-hover-bg: #609ab6;
  --default-button-bg: var(--secondary);
  --default-button-hover-bg: #205067;
  --close-button-bg: #888; /* Previously #bbb, contrast 1.92 */
  --close-button-hover-bg: #747474;
  --delete-button-bg: #e63b11;
  --delete-button-hover-bg: #a42505;
}

html, body, div {
    margin: 0;
    padding: 0;
    border: 0;
    font:inherit;
    font-family: 'Source Sans Pro', sans-serif;
}

body {
    background-color: #000;
    color: #666;
    line-height: 1.75em;
}

article, footer, header, section {
    display: block;
}

ol, ul {
    list-style: none;
}

#wrapper {
    width: 45em;
}

.wrapper {
    padding: 4em 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.wrapper > .brand {
    max-width: 80%;
}
.wrapper > .brand  img {
    width: 24em;
    max-width: 100%;
    margin-bottom: 2em;
    margin-top: -1em;
}

.main {
    background-color: white;
    max-width: 100%;
    width: 45em;
    padding: 2em;
    border-radius: 1.5em;
}

article {
    padding: 0 1.5em;
}

.footer {
    text-align: center;
    padding: 2em 0 0 0;
    font-size: 0.75em;
    color: #aaa;
}

strong, b, h1, h2, h3, h4, h5, h6, a {
    font-weight: 600;
    color: #000; /* #00e8de is Viva a Corrida blue but low contrast */
}
h1 {
    font-size: 2.4em;
    letter-spacing: -0.01em;
}

h2 {
    color: #333;
    font-size: 1.8em;
    letter-spacing: -0.01em;
}

h3, h4, h5, h6 {
    font-size: 1.25em;
    letter-spacing: -0.01em;
}

div.exercicio h3 {
    color: #333;
}

div.exercicio p {
    font-size: 1.2em;
    color: #333;
}

a {
    text-decoration: underline;
}
a.noshow {
    text-decoration: none;
    color: #333;
}

a:hover, a.noshow:hover {
    color: #00e8de;
}

label {
    padding-bottom: 2px;
    font-size: 0.75em;
    color: #777;
}

button.copylink {
    padding: 1px 6px;
    margin: 1px 6px;
    border-style: none;
    border-radius: 1em;
    background-color: #000;
    color: #00e8de;
    cursor: pointer;
}


input[type=submit], button.confirma {
    font-size:1.5em;
    padding:0.5em 2em;
    border-style:none;
    border-radius: 1em;
    background-color: #000;
    color: #00e8de;
    cursor: pointer;
}
button.copylink:hover, input[type=submit]:hover, button.confirma:hover {
    background-color: #00e8de;
}

button.voltar {
    font-size:1.5em;
    padding:0.5em 2em;
    border: 2px solid #00e8de;
    border-radius: 1em;
    background-color: black;
    color: #00e8de;
    cursor: pointer;
}


div.video-card {
    padding: 1em;
    border: none; /* 1px solid #ccc;*/
    background-color: #f8f8f8;
    margin: 1em;
    width: 40em;
    max-width: 90%;
}

div.video-card select {
    min-width:15em;
    max-width:100%;
    
}
div.video-card textarea {
    width:50em;
    max-width:80%;
    height: 5em;
}

div.video-card output {
    font-size: 0.75em;
    line-height: 1;
}

.float-whats {
    position:fixed;
    width:100%;
    top: 170px;
    left: 0px;
    text-align:center;
    z-index:100;
    display: flex;
    justify-content:center;
}

.float-whats > div {
    max-width: 100%;
    width: 45em;
    text-align:right;
}
.float-whats > div > a {
    width:60px;
    height:60px;
    background-color:#25d366;
    color:#FFF;
    border-radius:50px;
    text-align:center;
    font-size:30px;
    box-shadow: 2px 2px 3px #999;
    padding: 6px 12px;
}

.float-whats > div > a > i {
    margin-top:16px;
}


/* TABLES */

tr.expirada > td {
    background-color: #fcb;
}


table {
    border-collapse: collapse;
    border-color: var(--border-color);
}

td, th {
    font-size: 13px;
    line-height: 16px;
    border-bottom: 1px solid var(--hairline-color);
    vertical-align: top;
    padding: 8px;
}

th {
    font-weight: 600;
    text-align: left;
}

thead th,
tfoot td {
    color: var(--body-quiet-color);
    padding: 5px 10px;
    font-size: 11px;
    background: var(--body-bg);
    border: none;
    border-top: 1px solid var(--hairline-color);
    border-bottom: 1px solid var(--hairline-color);
}

tfoot td {
    border-bottom: none;
    border-top: 1px solid var(--hairline-color);
}

tr.alt {
    background: var(--darkened-bg);
}

tr:nth-child(odd), .row-form-errors {
    background: var(--body-bg);
}

tr:nth-child(even),
tr:nth-child(even) .errorlist,
tr:nth-child(odd) + .row-form-errors,
tr:nth-child(odd) + .row-form-errors .errorlist {
    background: var(--darkened-bg);
}


/* no-borders table */
table.no-borders {
    border: none;
}
table.no-borders tr,
table.no-borders tr:nth-child(even),
table.no-borders tr:nth-child(odd) {
    border: none;
    background: var(--body-bg);
    vertical-align:middle;
}
table.no-borders td,
table.no-borders th {
    border: none;
    vertical-align:middle;
}
