/*** General Styles ***/

html {
    height: 100%;
    box-sizing: border-box;
}

body {
    box-sizing: border-box;
    height: 100%;
    font-family: 'Oswald', sans-serif;
    background: #983351;
}

header {
    background: #721330;
    display: block;
    border-bottom: 2px solid black;
}

footer {
    display: block;
    padding: 10px;
    margin: 10px;
    text-align: center;
    font-size: x-large;
}

h1 {
    text-align: center;
    font-size: 5em;
    line-height: 1;
    padding: 5px;
}

h2 {
    font-size: 2.5em;
    padding-bottom: 5px;
    padding-top: 10px;
}

a:link {
    color: #4c0017;
    text-decoration: none;
}

a:visited {
    color: #4c0017;
    text-decoration: none;
}

a:hover {
    color: #be5f7c;
    text-decoration: none;
}

a:active {
    color: #e498af;
    text-decoration: none;
}

/*** Header Link ***/

header a:link {
    color: black;
    text-decoration: none;
}

header a:visited {
    color: black;
    text-decoration: none;
}

/*** Index Styles ***/

.index-title {
    text-align: center;
    max-width: 90%;
    min-width: 350px;
    display: inline-block;
}

.index-title th {
    font-size: 5vw;
}

.index-title td {
    font-size: 9vw;
}

.index-title tr td {
    display: block;
    margin: 10px;
    padding: 10px;
}

.index-title a {
    display: block;
}

.index-title a:link {
    color: #4c0017;
    text-decoration: none;
}

.index-title a:visited {
    color: #4c0017;
    text-decoration: none;
}

.index-title a:hover {
    color: #721330;
    text-decoration: none;
    border: #721330 1px dashed;
}

.index-title a:active {
    color: #be5f7c;
    text-decoration: none;
}

/*** Wine Input Page Styles ***/

.wine-form {
    background: #721330;
    width: 95%;
    max-width: 1000px;
    border: solid black 2px;
    display: inline-block;
    margin-bottom: 10px;
}

.wine-form table {
    width: 100%;
    border-bottom: 1px solid black;
    table-layout: fixed;
}

.wine-form td {
    padding: 2px 10px 2px 10px;
    font-size: x-large;
}

.wine-form th {
    font-size: xx-large;
    font-weight: bold;
    border-bottom: 1px dashed black;
    padding: 2px;
}

#did-you-mean-it {
    font-size: x-large;
}

textarea {
    resize: none;
}

/*** Misc Styles ***/

.delete-page p {
    font-size: 1.5em;
    padding: 10px;
    margin-top: 20px;
}

.delete-page input {
    font-size: 1.2em;
}

.delete-page form {
    padding: 10px;
    margin-bottom: 20px;
}

.btm-return-link {
    font-size: x-large;
    padding: 10px;
}

#message {
    text-align: center;
    color: black;
    font-size: 2em;
    background: #721330;
    border: 2px solid black;
    margin-top: 10px;
    width: 700px;
    display: inline-block;
}

#errors {
    text-align: center;
    color: black;
    font-size: 1.5em;
    background: #721330;
    border: 2px solid black;
    margin-top: 10px;
    width: 700px;
    display: inline-block;
}

.user-form {
    background: #721330;
    width: 100%;
    max-width: 400px;
    border: solid black 2px;
    display: inline-block;
}

.user-show {
    background: #721330;
    width: 100%;
    max-width: 400px;
    border: solid black 2px;
    display: inline-block;
}

.user-show dl {
    margin: 10px;
}

.user-show dt, dd {
    display: inline-block;
}

.user-show dt {
    width: 50%;
    text-align: left;
}

.user-show dd {
    width: 49%;
    text-align: left;
}

.user-form dl {
    margin: 10px;
}

.user-form dt, dd {
    display: inline-block;
}

.user-form dt {
    width: 50%;
    text-align: left;
}

.user-form dd {
    width: 49%;
    text-align: right;
}

.user-form p {
    margin: 10px;
}

#errors ul {
    color: #370037;
    font-size: .9em;
}

#center_id {
    text-align: center;
}

.max-width {
    width: 100%;
}

.center {
    text-align: center;
}

.left {
    text-align: left;
}

.right-padded {
    text-align: right;
}

.max-width {
    width: 100%;
}

/** About Page **/
.about-page {
    max-width: 90%;
    text-align: center;
    display: inline-block;
    margin: 10px;
}

.about-page h2 {
    font-size: 7vw;
    margin: 5px;
}

.about-page h3 {
    font-size: 3em;
    margin: 5px 5px 10px 5px;
}

.about-page p {
    font-size: 2em;
}

.what-is-bottom-link {
    margin: 5px;
}

#pdf-wine-link {
    margin: 10px;
    display: inline-block;
    font-size: 4em;
}

.submit-btn {
    -webkit-appearance: none;
    margin: 10px 0 10px 0;
    padding: 10px;
    /*font-size: 1.5em;*/
    font-size: 3vmin;
    font-weight: bold;
    background: #983351;
    border: 2px solid black;
    border-radius: 3vmin;
}

input[type=radio] {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-appearance: none;
    /*border-radius: 0;*/
    border: 2px solid black;
    background-color: #983351;
    width: 1.5em;
    height: 1.5em;
    border-radius: .8em;
}

input[type=checkbox] {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-appearance: none;
    /*border-radius: 0;*/
    background-color: #983351;
    border: 2px solid black;
    width: 1.5em;
    height: 1.5em;
}

input:checked {
    background-color: black;
}