html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym,
address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead,
tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu,
nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    font-size: 100%;
    vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
    font-size: 16px;
    font-family: Roboto, sans-serif;
    color: #454545;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

sup {
    vertical-align: super;
    font-size: smaller;
}

sub {
    vertical-align: sub;
    font-size: smaller;
}

html {
    height: 100%;
}

body, #root {
    height: 100%;
}

#root {
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    flex: none;
    padding: 15px 0;
}

.header .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.header__logo {
    margin-right: auto;
}

.header__menu {
    display: flex;
    align-items: center;
    justify-content: stretch;
    margin: 8px -8px;
}

.header__menu > * {
    flex: 1 1;
    margin: 8px;
}

@media only screen and (max-width: 600px) {
    .header {
        padding-bottom: 0;
    }
    .header .container {
        flex-direction: column;
        align-items: stretch;
    }
}

main {
    flex: 1 1;
}

section {
    margin: 20px 0;
}

section.gray {
    background: #f3f3f3;
    padding: 20px;
}

h1 {
    font-size: 30px;
    margin: 30px 0;
}

h2 {
    font-size: 24px;
    margin: 30px 0;
}

p {
    line-height: 1.75;
    margin: 20px 0;
    text-align: justify;
}

b {
    font-weight: bold;
}

a {
    color: #2B9CA0;
}

ul {
    margin: 20px 0;
    padding-left: 20px;
}

ul li {
    line-height: 2;
}

nav ul {
    display: flex;
    flex-direction: row;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: #454545;
    padding: 20px 15px;
    display: block;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
}

nav ul li a.active {
    color: black;
}

.logo {
    display: flex;
    align-items: center;
    flex: none;
    text-decoration: none;
}

.logo .logo__image {
    width: 64px;
    flex: none;
    margin-right: 10px;
}

.logo .logo__name {
    font-family: Roboto, sans-serif;
    color: #000000;
}

.logo .logo__name_eolymp {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 27px;
    margin-bottom: 4px;
}

.logo .logo__name_fund {
    text-transform: uppercase;
    font-size: 12px;
    margin-left: 2px;
}

.languages {
    position: relative;
}

.languages .languages__choice {
    padding: 7px 12px;
    color: #2B9CA0;
    background: #cff6f3;
    border-radius: 5px;
    font-size: 14px;
    text-decoration: none;
    z-index: 101;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.languages .languages__choice .icon {
    margin: -2px 7px -2px 0;
}

.languages .languages__choices {
    position: absolute;
    background: #fff;
    white-space: nowrap;
    padding: 10px 0;
    margin: 0;
    border-radius: 5px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.25);
    top: 40px;
    z-index: 100;
    display: none;
}

.languages .languages__choices li {
    padding: 0;
    margin: 0;
}

.languages .languages__choices a {
    padding: 10px 25px 10px 15px;
    display: block;
    text-decoration: none;
    color: #454545;
    font-size: 14px;
}

.languages .languages__choices a:hover {
    color: #2B9CA0;
}

.button {
    color: white;
    background: #ff9200;
    text-decoration: none;
    padding: 7px 12px;
    border-radius: 5px;
    font-size: 14px;
    border: none;
    border-bottom: 2px solid #d07700;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    white-space: nowrap;
}

.button .icon {
    margin: -2px 7px -2px 0;
}

.button:active {
    border-top: 1px solid transparent;
    border-bottom-width: 1px;
}

.button:focus {
    box-shadow: 0 0 3px #ff9200;
}

.button--large {
    font-size: 18px;
    padding: 15px 24px;
}

.highlight {
    background: #ffeadc;
    color: #3a2100;
    border-radius: 10px;
    padding: 1px 25px;
    margin: 30px 0;
}

@media only screen and (max-width: 600px) {
    .highlight {
        margin-left: -20px;
        margin-right: -20px;
        padding: 1px 20px;
        border-radius: 0;
    }
}

.muted {
    background: #f0f0f0;
    color: #656565;
    border-radius: 10px;
    padding: 1px 25px;
    margin: 30px 0;
}

@media only screen and (max-width: 600px) {
    .muted {
        margin-left: -20px;
        margin-right: -20px;
        padding: 1px 20px;
        border-radius: 0;
    }
}

footer {
    background: #efefef;
    margin-top: 50px;
    padding: 10px 0 30px;
    flex: none;
}

footer .container {
    margin: 0 auto;
    font-size: 14px;
    display: flex;
    justify-content: stretch;
}

footer .container .column {
    flex: 1 1;
}

footer .container .title {
    text-transform: uppercase;
    white-space: nowrap;
    font-weight: bold;
    font-size: 12px;
    margin: 20px 0;
    color: #545454;
}

footer .container ul {
    margin: 0;
    padding: 0;
}

footer .container ul li {
    margin: 2px 0;
    display: block;
}

footer .container a {
    color: #878787;
    text-decoration: none;
}

@media only screen and (max-width: 600px) {
    footer .container {
        flex-direction: column;
    }

    footer .container .column {
        margin-bottom: 20px;
    }

    footer .container ul li {
        display: inline;
    }

    footer .container ul li:after {
        content: ' / ';
        color: #DEDEDE;
    }

    footer .container ul li:last-child:after {
        content: '';
    }
}

.whiteboard {
    background-image: url("/assets/whiteboard.png");
    background-color: #F3F3F3;
    width: 100%;
    height: 300px;
    animation: background-scroll 180s linear infinite;
    animation-fill-mode: forwards;
    margin: -1px 0 30px;
}

@media only screen and (max-width: 600px) {
    .whiteboard {
        height: 200px;
    }
}

@keyframes background-scroll {
    from {
        background-position: 0 0;
    }
    to {
        background-position: -881px 0;
    }
}

.metrics {
    display: flex;
    flex-wrap: wrap;
    justify-content: stretch;
    margin: -8px;
}

.metrics .metrics__metric {
    flex: 1 1;
    background: #ccf3f0;
    margin: 8px;
    padding: 30px;
    color: #2B9CA0;
    border-radius: 10px;
    text-align: center;
}

.metrics .metrics__metric_value {
    font-size: 38px;
    margin-bottom: 10px;
    font-weight: lighter;
}

.metrics .metrics__metric_magnitude {
    font-size: 20px;
    margin-bottom: 4px;
    font-weight: lighter;
}

.metrics .metrics__metric_desc {
    line-height: 1.5;
    font-weight: bold;
}

.form-widget {
    margin: 40px 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin: 30px 0;
}

.form-group .checkbox {
    line-height: 1.5;
}

.control-label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 15px;
}

.form-control {
    display: block;
}

.form-control {
    border: 1px solid #d0d0d0;
    padding: 10px;
    border-radius: 5px;
    font-size: 15px;
    box-shadow: 0 0 0 rgba(43, 156, 160, 0.25);
    transition: box-shadow 0.5s, border-color 0.5s;
}

.form-control:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(43, 156, 160, 0.25);
    border-color: #1771F1;
}

.list-unstyled,
.list-unstyled li {
    margin: 0;
    padding: 0;
}

.has-error .form-control {
    box-shadow: 0 0 10px rgba(255, 76, 120, 0.5);
    border-color: #cf320c;
}

.has-error .help-block {
    margin: 10px 0 0;
    color: #cf320c;
    font-size: 15px;
}

.flash, .alert {
    padding: 20px;
    border-radius: 10px;
    background: #cf320c;
    color: white;
    margin: 10px 0;
}

.flash--success {
    background: #40ab00;
}

.flash--error, .alert-danger {
    background: #cf320c;
}

.prefill {
    display: flex;
    flex-wrap: wrap;
    justify-content: stretch;
    margin: 5px -5px -5px;
}

.prefill__choice {
    flex: 1 1;
    white-space: nowrap;
    display: inline-block;
    padding: 10px 15px;
    border: none;
    color: #454545;
    background: #f0f0f0;
    border-radius: 5px;
    font-size: 15px;
    margin: 5px;
    cursor: pointer;
}

.prefill__choice:hover,
.prefill__choice:active,
.prefill__choice:focus {
    background: #78abf5;
    outline: none;
}

.prefill__choice.prefill__choice--active {
    background: #1771F1;
    color: white;
}

.prefill__choice small {
    display: block;
    font-size: 12px;
    margin-top: 2px;
}

.material-icons, .icon {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'liga';
}

.table { width: 100%; margin: 20px 0 40px; }
.table td {
    line-height: 1.5;
    border-bottom: 1px solid #ddd;
    padding: 15px 20px;
    text-align: left;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

.table thead th {
    border-bottom: 2px solid #ddd;
    padding: 15px 20px;
    text-align: left;
    font-weight: bold;
}

.table tfoot tr:first-child td {
    border-top: 2px solid #ddd;
    padding-top: 30px;
}
.table tfoot tr td {
    border-bottom: none;
}

.original-amount {
    font-size: 11px;
    color: #878787;
}