/*** GENERAL ***/
* {
    box-sizing:border-box;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
}
body, html, form, h1, h2, h3, h4, h5 {
    padding:0;
    margin:0;
}
body, html {
    min-width:100%;
    min-height:100%;
}

body {
    font:0.9em "Segoe UI", Arial, Helvetica, sans-serif;
    color:#333333;
}

h1 {
    font:1.2em "Segoe UI", Arial, Helvetica, sans-serif;
    background:#f1f1f1;
    padding:15px;
    font-weight:bold;
    line-height:1;
    border-radius:4px;
}
h2 {
    font:1.2em "Segoe UI", Arial, Helvetica, sans-serif;
    border-bottom:1px dotted #808080;
    padding-bottom:10px;
    margin-bottom:15px;
}

h1 .reqinfo {
    float:right;
    font-size:10pt;
    line-height:1;
    margin-top:2px;
    font-weight:300;
    color:#7D7D7D;
}

th {
    text-align:right;
    padding-right:20px;
}

a:hover { text-decoration:none; }
:focus { outline:0 }
a img { border:0; }

a, a:link, a:visited, a:active {
    color:#006699;
    text-decoration:none;
}
a:hover {
    color:#333333;
    text-decoration:underline;
}

.d-none {
    display: none !important;
}
.d-block {
    display: block;
}

input[type="text"],input[type="password"] , textarea, select {
    width:100%;
    border:1px solid #d3d3d3;
    background-color:white;
    padding:8px;
    font:1em "Segoe UI", Arial, Helvetica, sans-serif;
    margin:0;
    line-height:1;
}

input[type="text"].error, input[type="password"].error, textarea.error, select.error {
    border-color:red !important;
}

textarea {
    line-height:1.2;
    height:80px;
    resize:none;
}
input[type="submit"], button {
    margin:0;
    font:1em "Segoe UI", Arial, Helvetica, sans-serif;
    line-height:1;
    padding:10px 20px;
    background:#006699;
    color:#ffffff;
    border:0;
    cursor:pointer;
    border-radius:3px;
}
input[type="submit"]:hover, button:hover {
    background:#0e7bb2;
}
input[type="submit"]:active, button:active {
    background:#39a6dc;
}
input[type="submit"][disabled], button[disabled] {
    background:#808080;
    color:#c1c1c1;
    text-shadow:none;
    font-style:italic;
}

.req { color:red }
.left { float:left; }
.right { float:right; }
.fontgray { color:#c1c1c1; }
.text-muted { color:#888; }

/*** WEBSITE ***/

.boxed {
    margin:10px;
    padding:20px;
    background-color:#f1f1f1;
    border-radius:5px;
}
.boxed > .info { margin:0; }
.boxed > .form-group { padding:0; }
.boxed > .form-group:not(:first-child) { margin-top:20px; }

.choice {
   background:#f6f6f6;
   padding:20px;
   margin-bottom:20px;
   border-radius:4px;
}
.choice h1 {
    background:none;
    font-weight:bold;
    padding:0;
    margin:0;
}
.choice .text {
    color:#808080;
    line-height:23px;
    margin:15px 0 15px 0;
}

.form-group {
    display:inline-block;
    width:100%;
    vertical-align:top;
    padding:10px;
}
.form-group label {
    display:block;
    line-height:1;
    margin-bottom:5px;
}
.form-group label.inline {
    display:inline-block;
}

.form-checkbox {
    display: flex;
    flex-flow: row nowrap;
    gap: .5em;
    align-items: center;
}

.form-group label .error {
    float:right;
    color:red;
    font-size:10pt;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group select,
.form-group textarea {
    width:100%;
}

[class*="col-"] {
    float:left;
    padding-right:10px;
    padding-left:10px;
}
.col-xs-6 { width:50%; }
.col-xs-3 { width:20%; }
.col-xs-4 { width:33.3333%; }
.col-xs-9 { width:80%; }

.mt-3 { margin-top: .3rem; }

.row {
    margin-left:-10px;
    margin-right:-10px;
}

.info { margin-top:10px; color:#808080; font-size:10pt; }

/* Captcha */
.captcha {
    display: flex;
    flex-flow: row wrap;
    align-items: stretch;
    justify-content: start;
    gap: 1em;
    row-gap: .5em;
} 
.captcha .help-block {
    flex: 1 1 100%;
    margin: 0;
}
.captcha .fal {
    align-self: center;
}
.captcha input {
    text-align: center;
    font-size: 1.25em;
    width: 100%;
    max-width: 5em;
}
.captcha img {
    border: 1px solid #ccc;
}

/*** MESSAGES ***/

.messages {
    padding:5px 10px 5px 10px;
    margin-bottom:10px;
    line-height:27px;
}
.messages h1 { margin:0; margin-bottom:5px }
.messages ul {
    padding:0;
    margin:0;
    padding-left:20px;
}
.messages li { list-style-type:square; }

.msg_warning {
    border:1px solid #d78f33;
    border-bottom-color:#673a00;
    border-right-color:#673a00;
    color:#6b5905;
    background: #ffd65e; /* Old browsers */
    background: -moz-linear-gradient(top,  #ffd65e 0%, #febf04 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffd65e), color-stop(100%,#febf04)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #ffd65e 0%,#febf04 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #ffd65e 0%,#febf04 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #ffd65e 0%,#febf04 100%); /* IE10+ */
    background: linear-gradient(top,  #ffd65e 0%,#febf04 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffd65e', endColorstr='#febf04',GradientType=0 ); /* IE6-9 */
}
.msg_warning h1 span { color:#6b5905; font-size:24px; }
.msg_warning a { color:#6b5905; text-decoration:underline }
.msg_info {
    border:1px solid #a5c4e4;
    border-bottom-color:#0988d8;
    border-right-color:#0988d8;
    color:#004876;
    background: #b2e1ff; /* Old browsers */
    background: -moz-linear-gradient(top,  #b2e1ff 0%, #66b6fc 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b2e1ff), color-stop(100%,#66b6fc)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #b2e1ff 0%,#66b6fc 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #b2e1ff 0%,#66b6fc 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #b2e1ff 0%,#66b6fc 100%); /* IE10+ */
    background: linear-gradient(top,  #b2e1ff 0%,#66b6fc 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b2e1ff', endColorstr='#66b6fc',GradientType=0 ); /* IE6-9 */
}
.msg_info h1 span { color:#004876; font-size:24px; }
.msg_info a { color:#004876; text-decoration:underline }
.msg_error {
    border:1px solid #e9a4a7;
    border-bottom-color:#bf0000;
    border-right-color:#bf0000;
    color:#5b0000;
    background: #febbbb; /* Old browsers */
    background: -moz-linear-gradient(top,  #febbbb 0%, #fe9090 45%, #ff5c5c 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#febbbb), color-stop(45%,#fe9090), color-stop(100%,#ff5c5c)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #febbbb 0%,#fe9090 45%,#ff5c5c 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #febbbb 0%,#fe9090 45%,#ff5c5c 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #febbbb 0%,#fe9090 45%,#ff5c5c 100%); /* IE10+ */
    background: linear-gradient(top,  #febbbb 0%,#fe9090 45%,#ff5c5c 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#febbbb', endColorstr='#ff5c5c',GradientType=0 ); /* IE6-9 */
}
.msg_error h1 span { color:#5b0000; font-size:24px; }
.msg_error a { color:#5b0000; text-decoration:underline }
.msg_success {
    border:1px solid #91d28d;
    border-bottom-color:#07a219;
    border-right-color:#07a219;
    color:#005b0a;
    background: #b6e026; /* Old browsers */
    background: -moz-linear-gradient(top,  #b6e026 0%, #5fd300 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b6e026), color-stop(100%,#5fd300)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #b6e026 0%,#5fd300 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #b6e026 0%,#5fd300 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #b6e026 0%,#5fd300 100%); /* IE10+ */
    background: linear-gradient(top,  #b6e026 0%,#5fd300 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b6e026', endColorstr='#5fd300',GradientType=0 ); /* IE6-9 */
}
.msg_success h1 span { color:#005b0a; font-size:24px; }
.msg_success a { color:#005b0a; text-decoration:underline }

/*** CAPTCHA ***/
.captcha-box {
    display:inline-block;
}

.captcha-image {
    float:left;
}
.captcha-image img {
    margin:0;
    padding:0;
    background:#ffffff;
    border:1px solid #dddddd;
    padding:2px;
}

.captcha-arrow {
    float:left;
    margin:5px 20px 0 20px;
}

input.captcha-input {
    float:left;
    width:100px !important;
    padding:10px 0;
    font:22px 'Courier New' !important;
    line-height:1;
    text-align:center;
}

.dtu_yes, .onlydiszi {
    display:none;
}

.queueNote {
    margin-top:5px;
    color:orange;
}
.isQueue {
    display: none;
    margin-top:5px;
    color:orange;
}
.regsLeft {
    display: none;
    margin-top:5px;
}
.regsClosed {
    display: none;
    margin-top:5px;
    color:red;
}

/*** TABELLEN ***/

#TABLE {
    border-spacing:0;
}
#TABLE th {
    padding:5px;
    border-bottom:2px solid #006699;
    text-align:left;
}
#TABLE td {
    padding:5px;
    border-bottom:1px dotted #c1c1c1;
}
#TABLE tr.row1 td {
    background:#ffffff;
}
#TABLE tr.row2 td {
    background:#f1f1f1;
}

/**
 * EVENTS
 */
.events {
    margin-top: 2em;
}
.events .item+.item {
    margin-top: 1em;
}
.events .item {
    border: 1px solid #ddd;
    padding: 1em;
    border-radius: .25em;
    
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    gap: 1em;
}
.events .infos {
    flex: auto;
}
.events .item .form-checkbox {
    margin-top: 0;
}
.events .boxed {
    flex: 0 1 100%;
    margin: 0;
}
.events .item:not(.active) .boxed {
    display: none;
}

.ShirtSizeContainer {
    display: flex;
    flex-flow: row nowrap;
    gap: 1em;
}
.ShirtSizeContainer > * {
    flex: 1 1 20%;
}
