
* {
	font-family: Arial, Helvetica, Verdana;
    box-sizing: inherit;
    -webkit-box-sizing: inherit;
}

#authentication {
    margin-top: 1em;
    color: #d0ccf2;
    float: right;
    margin-right: 2em;
    vertical-align: bottom;
    bottom: 0;
    height: 2em;
}

#toptitle {
    color: #ffffff;
    margin-top: 0.4em;
    float: left;
    font-size: 180%;
    font-weight: bold;
    margin-left: 1em;
    cursor: default;
}

body {
    background-color: #1e265c;
    color: #00173e;
}

a {
    color: inherit;
    font-weight: bold;
}

a:hover {
    color: inherit;
    font-weight: bold;
}

td, th {
    padding: 0.1em;
}

.center {
    /*position: absolute;*/
    margin-left: auto;
    margin-right: auto;
    width: 980px;
    margin-top: 0.2em;
}

/* Header with authentication and title */
#header:before,
#header:after {
    content:"";
    display:table;
}
#header:after {
    clear:both;
}


.twitchlogin {
    background: url("images/twitch_connect.png") no-repeat;
    width: 170px;
    height: 32px;
    cursor: pointer;
    padding-right: 1em;
}

.maincontent  {
    clear: both;
    background-color: #e8e8fc;
    padding: 1em;
    border-radius: 25px;
    border-top: 3px solid #0f0f0f;

    /* border: 1px solid #F5B6C7; */
}

.group {
    border: 1px solid #0f0f0f;
    border-radius: 10px;
    margin-top: 1em;
}

.group h1 {
    font-size: 150%;
    font-weight: bolder;
    background-color: #1e265c;
    color: #ffffff;
    padding-left: 0.3em;
    padding-bottom: 0.2em;
    padding-top: 0.2em;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    margin-top: 0;
    margin-bottom: 0;
}

.group h2 {
    font-size: 100%;
    font-weight: bold;
}

.group ul {
    padding-left: 0;
}

.group .content {
    padding: 1em;
}

/* LIST OVERVIEW */
.listsTable {
    border-collapse:separate;
    border-spacing:0;
    min-width: 20em;
}

.listsTable tr {
    background-color: #FEFDAA;
}

.listsTable th {
    font-weight: bold;
}

.listsTable td, .listsTable th {
    border-bottom: 1px solid #ACB16F;
    /*border-top: 1px solid #8dbdf1; */
    color: #333F70;
    /* border-radius: 15px; */
    padding-right: 1em;
    padding-top: 0.2em;
    padding-left: 0.5em;

    vertical-align: middle;
    font-size: 120%;
    font-family: 'Sofia', Helvetica, sans-serif;
}

.resultlist li {
    padding-right: 1em;
    padding-top: 0.2em;
    padding-left: 0.5em;
    background-color: #FEFDAA;
    font-family: 'Sofia', Helvetica, sans-serif;
    font-size: 120%;
    border-bottom: 1px solid #ACB16F;
    color: #333F70;
}

li.hidebullet {
    list-style-type: none;
}

.label {
    color: inherit;
    font-size: inherit;
    font-weight: bold;
}

.handwriting {
    font-family: 'Sofia', Helvetica, sans-serif;
    font-size: 120%;
}

input.handinput {
    margin-bottom: 0.5em;
    padding-bottom: 0;
    font-family: 'Sofia', Helvetica, sans-serif;
    font-size: 120%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.01);
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid #333F70;
    color: #333F70;
}

.listsTable tr.clickable:hover {
    background-color: #8dbdf1;
}

.message {
	border: 1px solid gray;
	font-weight: bold;
	font-style: italic;
	padding: 0.5em;
}

.clickable {
    cursor: pointer;
}

h1 {
	border-bottom: 1px solid #4a4a4a;

}

th {
	text-align: left;
}

.notice {
	padding-left: 2em;
	font-size: 60%;
	font-style: italic;
}

.whatsthis {
    font-size: 50%;
    color: #777777;
}

button {
    font-family: Arial, Helvetica, Verdana;
    color: #0f0f0f;
    font-weight: bold;
    border: none;
    margin-right: 0.5em;
    padding: 0.1em 0.5em;
    cursor: pointer;
    box-shadow: 0 0 0 1px rgba(0,0,0,.15) inset,0 0 6px rgba(0,0,0,.2) inset;
}

button:hover {
    box-shadow: 0 0 0 1px rgba(0,0,0,.55) inset,0 0 6px rgba(0,0,0,.5) inset;
}

.walloftext {
    margin-bottom: 0.5em;
    font-style: italic;
}

input {
    background-color: #FAD1E1;
    border-color: #4a4a4a;
    border-width: 1px;
    padding: 0.5em;
}

.navigation {
    font-size: 80%;
}

h2 {
    border-bottom: 1px solid #00173e;
    margin-top: 0.2em;
    margin-bottom: 0.2em;
}

.footer {
    margin-top: 2em;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    text-align: center;
    font-size: 70%;
}

.bottomfooter {
    margin-top: 2em;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    text-align: center;
    font-size: 80%;
    color: #b9def0;
}

.voteoption {
    padding: 1em;
    width: 256px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    margin-top: 0;
    cursor: pointer;
    font-size: 110%;
    text-align: center;
    font-weight: bold;
    border: 1px outset #384787;
    border-radius: 25px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}

.voteoptionleft, .voteoptionright {
    margin-top: 1em;
    margin-left: auto;
    margin-right: auto;
    width: 300px;
}

.votepicture {
    width: 256px;
    height: 256px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1em;
}

.skip {
    text-align: center;
}

.voteitemlink a {
    color: #333F70;
    font-size: 10px;
    text-decoration: underline;
}

.voteitemlink a:hover {
    color: #3288e6;
}

.voteitemlink {
    text-align: center;
}

.voteoption:hover {
    background-color: #99a8f5;
}

.votingmessage {
    background-color: #F5B6C7;
    text-align: center;
    padding-bottom: 0.2em;
    padding-top: 0.2em;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    margin-top: 1em;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.votingmessage span {

}

.votingdiv {
    width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.votingscreen td {
    vertical-align: top;
    height: 1px; /* To let the inner div have something to calculate on -.- */
}

.voteoptiontext {
    height: 3em;
    overflow-y: hidden;
    overflow-x: hidden;
    text-overflow: ellipsis;
}

table.votingscreen {
    padding-bottom: 1em;
    font-size: 120%;
    font-weight: bold;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.outvoted {
    margin: 0.2em;
    padding: 0.5em;
    color: #555555;
    width: 90%;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 150%;
    background-color: rgba(0, 0, 0, 0.2);
    cursor: default;
}

.newvoteitem {
    padding-bottom: 1em;
}

.resultstable {
    font-size: 80%;
    border-collapse: collapse;
    margin-left: auto;
    margin-right: auto;
}

.resultstable td {
    padding: 0.2em;
    max-width: 15em;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.resultstable th {
    padding: 0;
    text-align: center;
}

.resultstable th:not(:first-child) {
    width: 1em;
}

.resultstable th:not(:first-child) {
    border-left: 1px solid #1e265c;
}

.resultstable tr:nth-child(even) {
    background-color: rgb(208, 204, 242);
}

.resultstable td:not(:first-child) {
    border-left: 1px solid #1e265c;
    text-align: center;
}

.resultstable td:first-child {
    font-weight: bold;
    text-align: right;
}

.zero {
    color: #99a8f5;
}

ul.nobullets
{
    margin-top: 0;
    padding-left: 0;
    margin-left: 0;
    list-style-type: none;
}

.formgroup {
    margin-top: 0.5em;
}

.tab-pane {
    padding: 1em;
    border-bottom: 1px solid rgba(0, 23, 62, 0.33);
    border-left: 1px solid rgba(0, 23, 61, 0.33);
    border-right: 1px solid rgba(0, 23, 62, 0.33);
}

.dialogform {
    width: 100%;
}

.progressbar {
    padding-left: 0.5em !important;
    padding-top: 0.5em !important;
    padding-right: 0.5em !important;
}

.progress {
    margin-bottom: 0 !important;
}

.nav-tabs>li.active>a, .nav-tabs>li.active>a:hover, .nav-tabs>li.active>a:focus {
    background-color: #384787;
    color: #FFFFFF;
}

.editbutton {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('images/edit.png');
    background-repeat: no-repeat;
}

.deletebutton {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('images/delete.png');
    background-repeat: no-repeat;
}

.setimagebutton {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('images/setimage.png');
}

.maintable td {
    vertical-align: top;
}

.changelog li {
    margin-left: 1.5em;
    font-size: 90%;
}


.cropArea {
    background: #E4E4E4;
    overflow: hidden;
    width:400px;
    height:300px;
}

/* Make ng-dialog align more to the top: */
.ngdialog.ngdialog-theme-default {
    padding-top: 1em !important;
}

/** START TOOLBAR **/

.toolbar {
    display:block;

    /* Gradient backgrounds for the buttons. Generated using http://gradients.glrzad.com/ */
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #D3D3D3), color-stop(0.49, #EBEBEB), color-stop(1, #FCFCFC));

    border-radius: 5px;
    padding-left: 0.5em;
    padding-top: 0.3em;
    padding-bottom: 0.3em;

    background-color: #EBEBEB; /* Fallback */

    margin-left: 0;
    margin-right: 0;
    width: auto;

    margin-bottom: 0.5em;
}

.toolbar .clickable, .toolbarbutton {
    border: 1px #b9def0 outset;
    background-color: rgba(200, 200, 200, 0.6);
}

.toolbar .clickable:hover, .toolbarbutton:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/** END TOOLBAR **/

.keeponsameline {
    white-space: nowrap;
}