html {
    box-sizing: border-box
}

*,*:before,*:after {
    box-sizing: inherit
}

body,html {
    padding: 0;
    margin: 0;
    font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif
}

body {
    background: #e0e0e0
}

header {
    background: #fff;
    padding: 20px 60px;
    color: #1065c9;
    margin-bottom: 30px
}

header h1 {
    font-size: 24px;
    margin: 0
}

@media screen and (max-width: 700px) {
    header {
        padding:10px;
        margin-bottom: 20px
    }

    header h1 {
        font-size: 18px
    }
}

.stock-payout-notice {
    padding: 20px 60px;
    background: #1065c9;
    color: #fff;
    margin-top: -30px;
    margin-bottom: 30px
}

.stock-payout-notice p {
    margin-top: 0;
    line-height: 1.33333
}

.stock-payout-notice p a {
    color: #fff
}

.stock-payout-notice p:last-child {
    margin-bottom: 0
}

.stock-payout-notice .button {
    text-decoration: none;
    padding: 0 15px;
    outline: 0;
    color: #1065c9;
    background: #fff;
    font-weight: bold;
    border: 0;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
    display: inline-block;
    line-height: 40px;
    font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif
}

@media screen and (max-width: 700px) {
    .stock-payout-notice {
        padding:10px;
        margin-top: -20px;
        margin-bottom: 20px
    }
}

.stock-register-wrap {
    padding-left: 10px;
    padding-right: 10px
}

.error-explanation {
    margin-bottom: 0
}

.error-explanation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    color: red;
    font-weight: bold
}

form {
    margin-top: 10px
}

form input {
    display: block;
    border: 2px solid #000;
    font-weight: bold;
    font-size: 14px;
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 20px;
    outline: 0;
    font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif
}

form .field_with_errors input {
    border-color: red
}

form button {
    outline: 0;
    background: #1065c9;
    color: #fff;
    font-weight: bold;
    border: 0;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
    display: block;
    line-height: 40px;
    padding: 0 15px;
    font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif
}

.stock-register {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    width: 540px;
    max-width: 100%;
    margin: 200px auto
}

.stock-register p {
    color: #1065c9;
    margin: 20px 0 0 0;
    font-size: 26px;
    /*text-align: center;*/
    line-height: 1.5em
}

.stock-register .error-explanation {
    margin-bottom: 10px;
    text-align: center
}

.stock-register form {
    margin-top: 30px
}

.stock-register form input {
    text-align: center;
    display: block;
    width: 100%
}

.stock-register form button {
    padding: 0;
    text-align: center;
    margin: 0 auto;
    width: 180px
}

@media screen and (max-width: 700px) {
    .stock-register {
        padding:20px;
        margin-top: 40px;
        margin-bottom: 40px
    }

    .stock-register h1 {
        font-size: 20px
    }
}

.chart-container {
    max-width: 100%;
    margin: 0 60px
}

@media screen and (max-width: 700px) {
    .chart-container {
        margin:0 10px
    }
}

.chart-header {
    background: #b8b8b8;
    border-radius: 10px 10px 0 0;
    padding: 20px;
    color: #fff;
    line-height: 20px;
    font-weight: bold;
    font-size: 18px
}

@media screen and (max-width: 700px) {
    .chart-header {
        font-size:14px;
        padding: 10px
    }
}

.chart-body {
    background: #fff;
    padding: 20px
}

@media screen and (max-width: 700px) {
    .chart-body {
        padding:10px
    }
}

.chart-footer {
    background: #b8b8b8;
    border-radius: 0 0 10px 10px;
    height: 50px
}
