/**
 * Apotek1 Konkurransemal
 *
 * Christian Johansen (christian@ixd.no)
 * www.ixd.no
 */
@import "htmlundo.css";

body {
        background: url(../images/bodybg.gif) top left repeat;
        text-align: center;
        font-size: 76%;
        font-family: arial, verdana, sans-serif;
}

a:active, a:hover { text-decoration: none; }

.image { margin-bottom: 1em; }
.image img { display: block; }

.left {
        float: left;
        margin-right: 1em;
}

.right {
        float: right;
        margin-left: 1em;
}

#page, #about {
        width: 763px;
        margin: 10px auto 0;
        text-align: left;
        background: url(../images/pagebg.gif) top left repeat-y;
}

#main_content { padding: 0 0 25px; }
html>body #page { background: url(../images/pagebg.png) top left repeat-y; }

#branding {
        background: url(../images/topbg.gif) top left no-repeat;
        width: 711px;
        height: 65px;
        padding: 20px 26px 0;
}

#logo { float: left; }

#payoff {
        float: right;
        margin-top: 16px;
        font-size: 2em;
        color: #038a04;
}

#campaign {
        padding: 18px 30px 25px;
        margin: 0 4px;
        background: url(../images/campaignbg.gif) bottom left repeat-x #638fc2;
        color: #13496f;
}

#campaign img {
    margin: -18px 0 -37px -30px;
}

.skritteller #campaign { background: #559fd3; }
#campaign .embed { margin: -18px 1.5em -25px -30px; }
h1 { font-size: 2.5em; }
#campaign h1 { margin: 0 0 0.1em; }
#campaign p { font-weight: bold; }
#campaign .left { margin-right: 2em; }
#campaign .right { margin-left: 2em; }
#campaign .ladyImage { margin: -18px 1em -25px -30px; }

#questions {
        float: left;
        position: relative;
        top: -22px;
        margin: 0 0 0 36px;
        width: 455px;
        background: url(../images/questionsBottom.gif) bottom left no-repeat #dcebf7;
        display: inline;
}

.quiz #questions {
        width: 690px;
        background-image: url(../images/questionsBottomWide.gif);
}

#questions p {
    margin: 0;
    padding: 0.5em 1em;
}

#questions .error,
.error label {
    color: red;
}

#questions h2, #personals h2 {
        height: 25px;
        padding: 0 12px;
        margin: 0 0 -3px;
        position: relative;
        top: -3px;
        overflow: hidden;
        background: url(../images/questionsHeader.gif) top left no-repeat;
        color: #13496f;
        font-size: 1em;
        font-weight: bold;
        line-height: 25px;
        vertical-align: middle;
}

.quiz #questions h2 {
    background-image: url(../images/questionsHeaderWide.png);
}

.skritteller #questions h2 { background-image: url(../images/questionsHeaderDark.gif); }
#questions .line, #questions h3, #questions h3 a,
#questions .content li a, #questions .content h1, #questions .content p { color: #174d72; }
#questions .content p { margin: -0.5em 0 1.5em; }

.quiz #questions .content p {
    margin: 0 0 1em;
    padding: 0;
}

#questions h3, #questions .content li {
        font-weight: bold;
        font-size: 1.1em;
        margin: 0 0 0.8em;
}

#questions .question {
        padding: 16px 12px;
        border-bottom: 1px solid #d4e3ef;
        border-top: 1px solid #fff;
}

#question1, #questions .content { background: url(../images/questionBg.gif) top left repeat-x; }
.quiz #questions .content { background: none; }

#questions #question3 { border-bottom: none; }

#questions .content .newsletters li,
#questions .content .quizzes li {
        float: none;
        width: auto;

}

#questions .content .newsletters li a,
#questions .content .quizzes li a,
#questions .content .newsletters li a:link,
#questions .content .quizzes li a:link {
        display: inline;
        width: auto;
        float: none;
        height: auto;
        padding: 0;
        background: none;
        text-decoration: underline;
}

#questions .content .newsletters li a:hover,
#questions .content .quizzes li a:hover,
#questions .content .newsletters li a:active,
#questions .content .quizzes li a:active {
        text-decoration: none;
}

.question input {
        float: left;
        margin-right: 0.5em;
}

.quiz .question input {
    clear: left;
    margin-top: .5em;
    position: relative;
    z-index: 1;
}

.question label {
        padding-right: 1em;
        width: 9em;
        float: left;
        position: relative;
}

.quiz .question label {
    cursor: pointer;
    margin-left: -2em;
    padding: .5em 0 .5em 2em;
    width: 640px;
}

.quiz .question label:hover {
    background: #99cce6;
}

/* Prices */
#price, #previousWinners {
        float: right;
        width: 220px;
        margin-right: 12px;
        padding-top: 12px;
}

#price h2, #previousWinners h2 {
        color: #00a002;
        font-size: 1.5em;
        font-weight: normal;
}

#price ul { margin: 0 0 1.5em; }

#price li {
        margin: 0 0 0.3em;
        padding-left: 12px;
        background: url(../images/bullet.gif) 0 5px no-repeat;
        font-weight: bold;
}

#submitContent {
        margin: 0 4px;
        padding-left: 32px;
        position: relative;
        top: 25px;
        clear: both;
        background: #f6faf2;
}

#personals {
        padding: 0 0 12px;
        float: left;
        position: relative;
        top: -25px;
        width: 455px;
        background: url(../images/personalsBottom.gif) bottom left no-repeat #e8f7d9;
}

#personals h2 {
        color: #038d05;
        background-image: url(../images/greenHeader.gif);
}

#personals fieldset {
    padding: 12px 12px 0 12px;
}

.quiz #questions fieldset {
    padding: 12px;
}

#personals .text {
        width: 276px;
        padding: 6px 6px;
        height: 15px;
        border: none;
        float: left;
        margin-bottom: 0.8em;
        background: url(../images/input.gif) top left no-repeat;
        font-weight: bold;
        color: #038d05;
}

#personals label {
        padding-top: 5px;
        width: 55px;
        float: left;
        margin-left: 6px;
        clear: left;
        color: #2c4d85;
        font-weight: bold;
}

#personals .checkbox { padding-left: 72px; }

#personals .checkbox input {
        float: left;
        margin-right: 0.5em;
}

#personals .checkbox label {
        padding-top: 0;
        float: left;
        width: 330px;
        margin: -1px 0 0;
        clear: none;
}

/* Generic text based buttons */
.button {
        float: left;
        white-space: nowrap;
        height: 21px;
        padding: 0 0 0 4px;
        margin: 0 2px 0 0;
        background: url(../images/button_left.gif) top left no-repeat;
}

.button a, .button input {
        padding: 0 8px 0 4px;
        height: 21px;
        float: left;
        border: none;
        cursor: pointer;
        background: url(../images/button_right.gif) top right no-repeat; color: #fff;
        line-height: 21px;
        vertical-align: middle;
        font-weight: bold;
        font-size: 0.9em;
}

.button input { padding: 0 5px 0 1px; }

#personals .button {
        position: relative;
        left: 55px;
}

#previousWinners {
    padding-top: 0;
    padding-bottom: 24px;
}

#previousWinners h2 {
        position: relative;
        top: -25px;
        margin: 0 0 -10px;
}

#previousWinners h3 {
        font-size: 1em;
        font-weight: bold;
        margin: 0 0 0.2em;
}

#about {
        margin-top: 0;
        padding-top: 24px;
        background: url(../images/bottom.gif) top left no-repeat;
        color: #133d6b;
        font-size: 0.9em;
        text-align: center;
}

#about a { color: #133d6b; }
#about address { font-style: normal; }
#questions .error h3, #campaign .error li, #personals .error label, .error li { color: red; }

#campaign .error {
        margin-left: 130px;
        font-weight: bold;
}

/* Receipt */
#questions .content, #personals .content { padding: 20px 40px 6px; }

#questions .content li {
        float: left;
        width: 170px;
}

#questions .content li a {
        float: left;
        width: 140px;
        height: 30px;
        padding-left: 40px;
        padding-top: 8px;
        background-position: top left;
        background-repeat: no-repeat;
}

#questions .content li a, #questions .content li a:link, #questions .content li a:visited { text-decoration: none; }
#questions .content li a:hover, #questions .content li a:active,
#questions .newsletters li a, #questions .newsletters li a:link, #questions .newsletters li a:visited { text-decoration: underline; }
#questions .newsletters li a:hover, #questions .newsletters li a:active { text-decoration: none; }
#topicChildren a { background-image: url(../images/topics/baby_rund.gif); }
#topicPregnant a { background-image: url(../images/topics/amming.gif); }
#topicWoman a { background-image: url(../images/topics/kvinne.gif); }
#topicYouth a { background-image: url(../images/topics/ungdom1.gif); }
#topicSeniors a { background-image: url(../images/topics/eldrepar.gif); }
#topicMen a { background-image: url(../images/topics/mann.gif); }
#topicAnimal a { background-image: url(../images/topics/hund.gif); }
#topics a { background-image: url(../images/topics/topics.gif); }

#personals .content h3 {
        font-size: 1.2em;
        font-weight: bold;
        color: #038d05;
}

#page .receipt .content { padding: 20px 18px; }
#page .receipt .content label { width: 120px; }
#page .receipt .content .button { left: 125px; }
#page .receipt .content fieldset { padding: 0; }

.share li {
        padding: 0 0 1em;
}

.share li a {
    background: 0 50% no-repeat;
    display: block;
    line-height: 16px;
    padding: 0 0 0 24px;
}

.share .facebook a {
    background-image: url(../images/facebook.png);
}

.share .twitter a {
    background-image: url(../images/twitter.gif);
}