BODY {
    background: #e6e6ef url("img/bg4-2.jpg");
    margin: 0 auto;
    font-family: arial;

}

IMG {
    border: none;
}

INPUT, TEXTAREA {
    font-size: 11px;
    font-family: verdana;
    border: 1px solid darkblue;
    border-radius: 2px;
    -moz-border-radius: 2px;
    box-shadow: inset 0px 0px 8px 0px #aaa;
    -moz-box-shadow: inset 0px 0px 8px 0px #aaa;
    background-color: #ffffff;
    color: darkblue;
}

TEXTAREA {
    width: 250px;
    height: 150px;
}

#header {
    text-align: center;
    width: 100%;
    background: #ffffff;
    padding-top: 5px;
    border-bottom: solid 1px #449;
    margin-bottom: 30px;
}

#header h1 {
    margin: 0px;
}

#align {
    text-align: center;
    width: 100%;
    margin: 0 auto;
}

#tabs {
    max-width: 790px;
    text-align: left;
    margin: 0 auto;
}

#content-head {
    background: #d6dff7;
    max-width: 773px;
    height: 20px;
    margin: 0 auto;
    margin-top: 0px;
    text-align: left;
    padding-left: 10px;
    padding-right: 5px;
    padding-top: 5px;
    font-size: 8pt;
    font-style: italic;
    color: gray;
    border-left: solid 1px #008;
    border-top: solid 1px #008;
    border-right: solid 1px #008;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    -moz-border-radius-topleft: 8px;
    -moz-border-radius-topright: 8px;
}

#content-head H2 {
    font-size: 8pt;
    font-style: italic;
    color: gray;
    display: inline;
    font-weight: normal;

}

#content-foot {
    background: #d6dff7;
    max-width: 773px;
    height: 25px;
    margin: 0 auto;
    margin-top: 0px;
    margin-bottom: 20px;
    text-align: left;
    padding-left: 10px;
    padding-right: 5px;
    font-size: 8pt;
    font-style: italic;
    color: gray;
    border-left: solid 1px #008;
    border-bottom: solid 1px #008;
    border-right: solid 1px #008;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    -moz-border-radius-bottomleft: 8px;
    -moz-border-radius-bottomright: 8px;
}

#content {
    background: #d6dff7;
    max-width: 773px;
    margin: 0 auto;
    margin-top: 0px;
    margin-bottom: 0px;
    text-align: left;
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 10px;
    padding-right: 5px;
    color: darkblue;
    border-left: solid 1px #008;
    border-right: solid 1px #008;
}

#affiliate {
    margin: 0 auto;
    margin-bottom: 30px;
    margin-top: 0px;
    max-width: 790px;
    padding: 0px;
    padding-right: 25px;
    text-align: right;
}

#tabs a {
    background: #cff;
    width: 116px;
    height: 28px;
    margin-bottom: 0px;
    display: inline-block;
    margin-left: 10px;
    text-align: center;
    text-decoration: none;
    padding-top: 10px;
    font-weight: bold;
    color: darkblue;
    border-top: solid 1px #008;
    border-left: solid 1px #008;
    border-right: solid 1px #008;
    box-shadow: inset 0px -8px 8px -8px #022;
    -moz-box-shadow: inset 0px -8px 8px -8px #022;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    -moz-border-radius-topleft: 10px;
    -moz-border-radius-topright: 10px;
}

#tabs a.current {
    background: #008;
    width: 116px;
    height: 28px;
    margin-bottom: 0px;
    display: inline-block;
    margin-left: 10px;
    text-align: center;
    text-decoration: none;
    padding-top: 10px;
    font-weight: bold;
    color: #ffffff;
    box-shadow: none;
}

.bold {
    font-weight: bold;
}

.small {
    font-size: 8pt;
}

.error {
    font-size: 8pt;
    color: #ff0000;
}

@media (max-width: 600px) {

    BODY {
        background: #e6e6ef;
    }

    TEXTAREA {
        width: auto;
        height: auto;
    }
}

.form-field > label, .form-field > div.form-label {
    display:inline-block;
    vertical-align: top;
    min-width:200px;
    margin-left:5px;
}

textarea {
    font-family: sans-serif;
}

.form-buttons {
    margin-top: 30px;
}

div.captcha {
    display:inline-block;
    background:rgb(127,127,127);
    border: solid 1px rgb(127,127,127);
    border-bottom-left-radius:2px;
    border-bottom-right-radius:2px;
    padding-bottom:3px;
    text-align:center;
    font-family:sans-serif;
    font-size:7pt;
    font-weight:bold;
}

div.captcha > img {
    display:block;
    margin-bottom:0;
}

div.captcha > a {
    color:black;
    text-decoration:none;
}

div.errors {
    color: #9c0000;
    border: solid 1px #9c0000;
    background-color: #ffedee;
    padding: 10px;
}

div.success {
    color: #005d05;
    border: solid 1px #005d05;
    background-color: #e5ffe1;
    padding: 10px;
}


#puzzle-captcha {
        display: none;
}

#puzzle-captcha.visible {
        width: 320px;
        height: 420px;
        z-index: 999;
        position: absolute;
        top: calc(100vh / 2 - 200px);
        left: calc(100% / 2 - 150px);
        display: block;
        box-shadow: 0 0 200px 5px #000;
        text-align: center;
        background-color: #fff;
        color: #000;
        padding: 50px 10px 10px;
}

#puzzle-captcha img {
        cursor: pointer;
}
