/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
    font-size: 16px;
    font-family: "Open Sans", Helvetica, Arial, sans-serif
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
    background: url('../img/bg.jpg');
}

header {
    /*background: #1f1f1f;*/
    /*margin-top: 60px; */
    color:white;
}

#logo-old {
    background: #ffd105;
    height: 65px;
    margin-top:-70px;
    width: 860px;
    *margin-left: 50px;
    margin-bottom: 20px;
    text-align:center;
}

#logo {
    margin-top: 20px;
    margin-bottom: 20px;
}


#logo .brand {
    width: 200px;
    float:left;
}

#logo .brand img {
    max-width: 100%;
}

#logo .logos {
    width: 600px;
    float:right;
    text-align:right;
}

#logo .logos img {
    height: 60px;
    margin-left: 15px;
}

#headerimg img {
    border: 1px solid white;
}

#headerimg {
    position: relative;
}

#headerimg .overlay {
    position: absolute;
    left: 0px;
    bottom: 1px;
    background: rgba(0, 0, 0, 0.5);
}

#headerimg .overlay h1 {
    font-size: 24px;
    color: white;
    font-weight: lighter;
    text-align: left;
    margin: 0;
    padding: 15px 50px;
}

span.right {
    float:right;
    margin-right:50px;
}

.login {
    width: 400px;
    background: #f9f9f9;
    padding:20px;
    padding-top: 20px;
    border:1px solid #f1f1f1;
}


.login .input {
    padding: 5px 0px;
}

.login input[type="submit"] {
    float:left;
    margin-left: 160px;
    margin-top: 10px;
}

label {

}

.login label {
    width: 150px;
    display:block;
    float:left;
    text-align:right;
    margin-right: 10px;
}
#logo h1 {
    color: black;
    line-height: 65px;
    font-size: 40px;
    text-transform: uppercase;
}

#loginstatus {
    height: 25px;
    line-height: 25px;
    background: transparent;
    margin-top: 20px;
    border-bottom: 1px solid white;
    color: black;
}

#loginstatus a {
    text-decoration: underline;
}

#loginstatus span.right {
    text-align:right;
    margin-right: 0;
}

#contentarea {
    background: #eceded;
    background: #fff;
    min-height: 400px;
    margin-bottom: 20px;
    padding:20px 50px;
}

input[type="submit"] {
    color: #fff;
    background-color: #fed501;
    border:none;
    padding:5px 20px;
    cursor: hand;
    font-size: 18px;
    font-weight:normal;
    margin-top: 30px;
    float:right;

    background-image: -webkit-linear-gradient(top, #fed501 0%, #c1a201 100%);
    background-image: -o-linear-gradient(top, #fed501 0%, #c1a201 100%);
    background-image: linear-gradient(to bottom, #fed501 0%, #c1a201 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffed501', endColorstr='#ffc1a201', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    background-repeat: repeat-x;
    border-color: #b79901;

    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);


}

.questions input[type="radio"],
.questions input[type="checkbox"] {
    margin-right:10px;
}

select {
    margin-left: 10px;
}

.questions .question-bg {
    padding:20px;
    background-color: #f9f9f9;
}

.questions table {
}

td.answers {
    background-color: #f9f9f9;
}

.questions input[type="text"] {
    margin-left:10px;

    height: 36px;
    padding: 6px 12px;
    font-size: 16px;
    line-height: 1.42857143;
    color: #555555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 0px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

h2 span {
    font-size:14px;
    font-weight:bold;
    float:right;
    line-height: 40px;
}

.questions img {
    margin-top:1px;
    margin-bottom:1px;
}

td.answers {
    text-align:left;
    padding-left:20px;
}
/* fonts and text formating */


.opensans,
.sanscondensed {
    font-family: 'Open Sans Condensed', sans-serif;
}

p.small {
    font-size: 13px;
}

table.equal td {
    padding: 10px;
    padding: 10px;
    border: 1px solid silver;
}

table.equal input[type="text"] {
    margin-left: 0px;
}

/* List Styles */

header ul,
footer ul,
#slideshow ul,
#breadcrumbs ul,
ul.subnav {
    padding:0px;
    margin:0px;
}

header li,
footer li,
#breadcrumbs li {
    display:inline;
    list-style-type: none;
}

#contentarea li {
	list-style-type: square;

}

.questions div.select span {
    display:block;
    width: 150px;
    float:left;
}


/* Check Yourself */

td.yes,
td.no {
	width: 40px;
	text-align: center;
}

form input#auswertung,
form input#submit {
	background-color: #FED500;
        color:black;
	border:1px solid #FED500;
	font-weight: normal;
        padding:2px;
	padding-left: 20px;
	padding-right: 20px;
        margin-top: 10px;
        margin-right: 12px;

}

/* Container */

#page {
    width: 960px;
    margin:0 auto;
    position:relative;
    margin-bottom: 20px;
}

/* Header */

header a {
    color:white;
    text-decoration:none;
    cursor: pointer;
}

header div.navbox {
    float:left;
    width: 216px;
    height: 140px;
    margin-right: 32px;
    background-color: #000;
}

header div#fourth {
    margin-right: 0px;
}

header div.navbox .block {
    background-color: white;
    padding-left: 5px;
    padding-right: 5px;
    padding-top:0px;
    padding-bottom:0px;
    color:black;
    font-size: 38px;
    line-height: 38px;
    margin-left:3px;
    display:block;
    float:left;
    margin-bottom:3px;
}

header div.navbox .top {
    margin-top: 20px;
}

header div.navbox .sub {
    font-size: 18px;
    display:block;
    float:left;
    margin-left: 10px;
}

header div#second .main {
    font-size: 42px;
    line-height: 42px;
    display:block;
    width: 200px;
    border-bottom:1px solid white;
    margin-top: 30px;
    float:right;
}

header div#second .main strong {

}

header div#second .sub {
    font-size: 24px;
    line-height: 24px;
    display:block;
    width: 200px;
    float:right;
}

header div#fourth .main {
    font-size: 20px;
    line-height: 20px;
    display:block;
    width: 216px;
    margin-top: 70px;
    text-align:center;
    float:right;

    font-weight:bold;
}

header div.navbox a:hover .block,
header div.selected a .block  {
    background-color: #fed500;
    color:black;
}

header div.navbox a:hover .block .sub {
    color:white;
}

header div#second a:hover,
header div#fourth a:hover,
/*header div.navbox a:hover .sub,
header div.selected a .sub,*/
header div#second.selected a,
header div#fourth.selected a {
    color:#fed500;
}

header div#second a:hover .main {
    border-bottom: 1px solid #fed500;
}

header div#second.selected a .main {
    border-bottom: 1px solid #fed500;
}


#question40 div.checkbox {
    position:relative;
}

#question40 input[type="checkbox"] {
    position:absolute;
    top: 20px;
    left: 20px;
}
/* Footer */

footer li a {
    padding-left:5px;
    padding-right:5px;
    background-color:white;
    font-size: 22px;
    color: #000;
    text-decoration:none;
    margin-right: 15px;
    font-family: 'Open Sans Condensed', sans-serif;
}

footer li a:hover,
footer li a.selected {
    background-color: #fed500;

}

footer ul {
    margin-top:10px;
    float:left;
}

footer #logos {
    text-align:center;
}

/* Slideshow Home */

#slideshow {
    width: 1000px;
    margin-left:-20px;
    height: 500px;
    margin-top: 32px;
    margin-bottom: 20px;
    background-color:silver;
    overflow:hidden;
}

/* Breadcrumbs */

#breadcrumbs {
    height: 50px;
    font-family: Verdana, Helvetica, sans-serif;
    font-size: 14px;
    padding-left:3px;
    line-height: 20px;
    padding-top: 5px;
    color: #908e8d;
}

#breadcrumbs #levelone {}
#breadcrumbs #leveltwo {}

#breadcrumbs a:hover,
#breadcrumbs a.selected {
    color: #000000;
}

#breadcrumbs a.first {
    padding-left: 0px;
    width: 40px;
    display:block;
    float:left;
}

#breadcrumbs a {
    color: #908e8d;
    text-decoration:none;
    padding-right: 5px;
    padding-left: 5px;
}


/* Subnav LINKS */

#contentarea #subnav {
    width: 216px;
    margin-right: 32px;
    float:left;

    font-weight:normal;

}

#contentarea ul.subnav li {
    list-style-type:none;
    margin-bottom: 5px;
    line-height: 28px;
    font-size:16px;

}

#contentarea ul.subnav li a {
    display:block;
    padding-left: 5px;
    padding-right: 5px;
    background: #908e8d;
    color: #FFFFFF;
    text-decoration: none;
}

#contentarea ul.subnav li a:hover,
#contentarea ul.subnav li a.selected:hover,
#contentarea ul.subnav li a.highlight {
    background-color:#fed500;
    color:#000000;

}

#contentarea ul.subnav li a.selected {
    background-color: #000000;
    color: #FFFFFF;
}

#contentarea #subnav h2 {
    text-transform: uppercase;
    font-weight:normal;
    line-height: 30px;
}

#contentarea #subnav h2.first {
    margin-top: 0px;
    padding-top: 0px;
}

#contentarea #subnav h2.nav {
    border-bottom: none
}

#contentarea #subnav h2.nav a {
    text-decoration:none;
    color: #908e8d;
    display:block;
    border-bottom: 1px solid #908E8D;
}


#contentarea #subnav h2.nav a:hover,
#contentarea #subnav h2.nav a.selected {
    color: #000000;
    border-bottom: 1px solid #000000;
}

/* Text Content Rechts */

#contentarea #content {
    width: 712px;
    float:left;
    margin-bottom:20px;
}


#content .margin {
    padding:20px;
}

#content a {
    color:black;

}

#content a:hover {
    background-color: #e1e2e2;
    background-color: #FED500;
}

#content h1,
#content h3 {


}

#content h1 {
    padding-top: 0px;
    margin-top: 0px;
    margin-bottom: 5px;
    line-height: 60px;
    font-size: 36px;
    font-size: 38px;
    border-bottom:1px solid #000000;
}

#contentarea h2 {
    font-size: 24px;
    font-weight:normal;
    border-bottom: 1px solid #000000;
}

#content h2.sans {
    font-size: 18px;
    font-weight:bold;
    border-bottom:none;
    margin:0px;
}

#content h3 {

    font-weight:bold;

    font-size:16px;
    color: #000000;
    margin-bottom:0px;
    padding-bottom:0px;
    letter-spacing: 1px;
}

#content p.first {
    margin-top: 0px;
}

#contentarea .twocols {
    margin-top:25px;
}

#contentarea .twocols .left {
    float:left;
    width: 160px;
}

#contentarea .twocols .right {
    float:right;
    width: 510px;
}

.bg-gray {
    background-color: #eceded;
}

/* ADMIN Users */

.admin a {
    color:black;
}

.users label {
    width: 150px;
    display:block;
    float:left;
    margin-right: 10px;
    text-align: right;
}

.users .required label:after {
    content: " *";
    color: red;
}

.users div.input {
    line-height: 28px;
    height: 28px;
}

.users input {
    display:block;
    float:left;
}

.users legend {
    font-size: 12px;
    padding-left: 5px;
    padding-right: 5px;
}
.users fieldset,
.admin .border {
    border:1px solid #f1f1f1;
    padding:20px;
    background: #f9f9f9;
    font-size: 14px;
}

.users table td,
.users table th {
    padding: 5px 3px;
}


#admin_menu {
    float:left;
    width: 150px;
    margin-right: 20px;
    margin-top: 110px;
}

#admin_menu ul {
    margin:0px;
    padding:0px;
}

#admin_menu ul li {
    list-style-type:none;
}

#admin_menu ul li a {
    padding: 3px;
    text-decoration:none;
    background: #908E8D;
    color:white;
    display:block;

    font-size: 16px;

    line-height: 28px;
    list-style-type: none;
    margin-bottom: 5px;
}

#admin_menu ul li a:hover,
#admin_menu ul li a.active:hover {
    background: #FED500;
    color:black;
}

#admin_content {
    width: 680px;
    display:inline-block;
}

#admin_menu ul li a.active {
    text-decoration: none;
    background: black;
}

div.admin select {
    margin-left: 0px;
}

div.admin div.actions {
    height: 100px;
}

.result .wrong {
    color: red;
}

.result .correct {
    color: #00b61e;
}

.result .question {
    border-bottom:1px solid silver;
}

.result .answers {
    padding:0px;
    margin: 0px;
    background: none;
    border-bottom: 1px solid silver;
    background:#f2f3f3;
}

.result .num,
.result .points {
    font-size: 16px;
    font-weight: bold;
    vertical-algin:top;
}

.result .points {
    text-align:center;
    background: silver;
    color:white;
}

.result th {
    text-align:left;
}

#flashMessage {
    border: 1px dotted black;
    padding: 10px;
}

div#loginstatus a {
    color:black;
}

table.applicant td {
    padding-right:5px;
}

talbe.applicant td:first-child {
    text-align:right;
}

.overall strong {
    font-size: 28px;
    font-weight:bold;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow:none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }
	
    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
