body {
  padding:0px;
  background: url(../img/rugbyweb_bg.gif) repeat scroll 0 50% #FFFFFF;
}

label.dropdown select {
    padding:3px;
    margin: 0;
    xx-webkit-border-radius:4px;
    xx-moz-border-radius:4px;
    xxborder-radius:4px;
    xx-webkit-box-shadow: 0 3px 0 #ccc, 0 -1px #fff inset;
    xx-moz-box-shadow: 0 3px 0 #ccc, 0 -1px #fff inset;
    xxbox-shadow: 0 3px 0 #ccc, 0 -1px #fff inset;
    background: #f8f8f8;
    color:#888;
    border:none;
    outline:none;
    display: inline-block;
    -webkit-appearance:none;
    -moz-appearance:none;
    appearance:none;
    cursor:pointer;
    padding-right: 8px;
}

/* Targetting Webkit browsers only. FF will show the dropdown arrow with so much padding. */
@media screen and (-webkit-min-device-pixel-ratio:0) {
    select {padding-right:18px}
}

label.xxdropdown {position:relative}
label.xxdropdown:after {
    content:'<>';
    font:11px "Consolas", monospace;
    color:#aaa;
    -webkit-transform:rotate(90deg);
    -moz-transform:rotate(90deg);
    -ms-transform:rotate(90deg);
    transform:rotate(90deg);
    right:8px; top:2px;
    padding:0 0 2px;
    border-bottom:1px solid #ddd;
    position:absolute;
    pointer-events:none;
}
label.xxdropdown:before {
    content:'';
    right:6px; top:0px;
    width:20px; height:20px;
    background:#f8f8f8;
    position:absolute;
    pointer-events:none;
    display:block;
}

div#dialog-form .ui-tabs .ui-tabs-panel {
	padding: 0.1em 0.4em;
}
div#dialog-form .ui-tabs .ui-tabs-panel fieldset{
	border: none;
}
div#dialog-form .ui-tabs-panel {
	background-color: #F6F6F6;
}
div#dialog-form div#tabs {
	background-color: #EEEEEE;
	border: 1px solid #CCCCCC;
}
div.ui-dialog div.ui-dialog-buttonpane {
	margin-top: 0px;
	border: none;
}

div#navbar {
  position: relative;
}
div#navbar ul li {
    display: inline;
    list-style-type: none;
    margin: 0;
    padding: 5px 10px;
}
div#navbar ul li a {
    color: #D1D1D1;
    font-weight: normal;
    padding: 3px 5px;
}
div#navbar ul li a:hover {
    color: #F1F1F1;
    background-color: silver;
    border-radius: 4px;
}

body.login {
 background: url(../img/rugbyweb_bg.gif) repeat scroll 0 50% #FFFFFF;
}

div.loginarea {
  text-align:center;
  background-color:#323232;
  border: 2px solid #EAEAEA;
  padding: 20px 40px 40px;
  margin-top: 60px;
}
div#content div.loginarea div.title {
    color: #CBCBCB;
    font-family: 'Verdana',sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
    margin: 10px 0;
}

.logout {
  position:absolute;
  right:1em;
  vertical-align: middle;
  display:block;
}

.logout span.icontext {
  display:block;
  height:23px;
  padding: 5px; 0;
  border-style:solid;
  border-width: 2px;
  border-radius: 8px;
  border-color: transparent;
}

.logout span.icontext:hover {
  border-style:solid;
  border-width: 2px;
  border-color: blue;
  border-radius: 8px;
  background-color: #5A5A5A;
}
.logout span.text{
  vertical-align: top;
}
.logout span.name{
  vertical-align: top;
  text-transform: none;
}
div#navbar .logout a {
    min-height: 1em;
}
span.big {
  font-size: larger;
}

.form-body {
    background-color:#EAEAEA;
    clear: both;
    display: block;
    overflow: hidden;
    padding: 0.4em 15px;
    position: relative;
    }
.button-contain.form-body. {
    padding-right: 0;
}

.field {
    border: 1px solid #AAAAAA;
    color: #333333;
    text-shadow: 0 1px 0 #FFFFFF;
    -moz-box-sizing: border-box;
}
.field-contain, fieldset.field-contain {
    border-width: 0;
    margin: 1em 0;
    padding: 0;
    overflow: visible;
}
.field-contain {
    max-width: 100%;
}
.button-contain {
    width: 100%;
    margin: 1em 0;
}
.field-contain fieldgroup{
    padding: 0em;
    display: inline-block;
}
.field-contain input{
    padding: .2em;
    display: inline-block;
    font-size: 1.1em;
    width: 70%;
}
.field-contain input.width2{
    width: 2em;
}
.field-contain input.width4{
    width: 4em;
}
.field-contain input.numeric{
    text-align: right;
}
.field-contain input.comment{
    width: 100%;
    font-size: .8em;
}
.field-contain textarea.comment {
    padding:4px; 
    resize:none; 
    width:100%;
}

.field-contain input[type="radio"],
.field-contain input[type="checkbox"] {
    width: auto;
    float: left;
    margin-right: .4em;
}

.field-contain label {
    display: inline-block;
    margin: 0 2% 0 0;
    width: 23%;
    width: auto;
}
:-moz-placeholder {
    color:#ddd;
} 
::-webkit-input-placeholder {
    color:#ddd;
}
.field-contain *:focus {
  box-shadow: 0 0 12px #387BBE;
}
.shadow-inset {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) inset;
}
.corner-all {
    border-radius: .6em;
    background-clip: padding-box;
}

.button-view {
    border: 1px solid #555555;
    border-radius: 5px;
    display: inline-block;
    text-decoration: none;
    vertical-align: middle;
    max-height: 1.5em;
}
.button-view:hover {
    background-color:silver;
}
.button-view:active {
    box-shadow: 0 0 .6em #387BBE inset;
}
.button-view input {
    background-color: transparent;
}
.button-contain .button-view {
    margin-right: 5px;
    float: right;
}

.button-view 
.button-inner {
    display: block;
    height: 100%;
    position: relative;
    text-align: center;
}
.button-view label {
    display: block;
    line-height: 21px;
    position: relative;
    text-align: center;
}
.ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ui-timepicker-div .ui-widget-header{ margin-bottom: 8px; }
.ui-timepicker-div dl{ text-align: left; }
.ui-timepicker-div dl dt{ height: 25px; }
.ui-timepicker-div dl dd{ margin: -25px 0 10px 65px; }
.ui-timepicker-div td { font-size: 90%; }
div#ui-datepicker-div { font-size: .8em; }

.nowrap {
  white-space:nowrap;
}

h1.h1 {
  text-align:left;
  margin-left:2.1cm;
  margin-bottom:1em;
  font-size:large;
}	

.error {
  color: #ff0000;
  font-size:large;
}
p.center {
  text-align:center;
}
p.nomargin {
  margin-top: 0px;
  margin-bottom: 0px;
}
div#dialog-header {
	padding-bottom: 8px;
	text-align:center;
}
	
input.ping {
  background-color: #EEEEEE;
}
input.pong {
  background-color: #DDDDDD;
}
p.changebuttons {
  text-align:center;
}
p.changebuttons input{
  cursor:pointer;
}

div.changeformtable {
  margin:auto;
  text-align:center;
}
div.datatable {
  margin:auto;
  margin-bottom:.25em;
  text-align:center;
}

div.listtable {
  margin:auto;
  margin-right: 2.5em;
  font-size: 12px;
  text-align:left;
}
div#content div.listtable div.container div.title {
  margin: 0;
}
div.listtable div.container div.title {
  background: linear-gradient(to bottom, #78B1ED 0%, #417BB5 100%) repeat scroll 0 0 transparent;
  border-color: #2B5177;
}
div.listtable div.container div.title div.title-text{
  border-radius: 3px 3px 0 0;
  box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.5) inset;
  line-height: 34px;
  padding-left: 10px;
  position: relative;
  color: #FFFFFF;
  text-shadow: 0 1px 0 #666666;
  font-weight:bold;
}
div.listtable div.container table {
  margin-left:auto; 
  margin-right:auto; 
  border:none;
  border-spacing:0px;
  width:100%;
}
div.listtable div.container table tr {
  height: 2.3em;
  padding: 2px;
}
div.listtable div.container table tr input{
}
div.listtable div.container table thead {
  text-align: center;
}

div#content form input.button {
  border-radius: 8px;
  margin: 0.5em 0.4em 0.5em 0;
  background: url("images/ui-bg_glass_100_f6f6f6_1x400.png") repeat-x scroll 50% 50% #F6F6F6;
  border: 2px solid #CCCCCC;
  color: #1C94C4;
  font-weight: bold;
  padding: 0.4em 1em;
  line-height: 1.4;
}

div#content form input:hover.button {
  background: url("images/ui-bg_glass_100_fdf5ce_1x400.png") repeat-x scroll 50% 50% #FDF5CE;
  border: 2px solid #FBCB09;
  color: #C77405;
}

// testtesttest form ul li .ui-state-hover
div#tabs a:hover.ui-tabs-anchor {
  background: url("images/ui-bg_glass_100_fdf5ce_1x400.png") repeat-x scroll 50% 50% #FDF5CE;
  color: #C77405;
}
.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active {
background-color: #F6F6F6;
background-image: none;
}

div.menulist {
  margin:auto 12em;
  font-size: 12px;
  text-align:left;
}
div.selectlist {
  margin:auto 15em;
  font-size: 12px;
  text-align:left;
}
div#content div.menulist a,
div#content div.selectlist a {
  color: #333333;
}
div.menulist ul,
div.selectlist ul {
  font-size: 16px;
  list-style: none outside none;
  padding: 0;
  background: linear-gradient(#FAFAFA, #F6F6F6) repeat scroll 0 0 #FFFFFF;
  border: 1px solid #BBBBBB;
  color: #333333;
  font-weight: bold;
  text-shadow: 0 1px 0 #FFFFFF;
  background-color: #FFFFFF;
}
div.menulist ul li,
div.selectlist ul li {
  background-clip: padding-box;
  padding: .2em 1em;
  position: relative;
  border: 1px solid #BBBBBB;
}
div.selectlist ul li.header {
  text-align: center;
  padding: .5em 1em;
  cursor: default;
}
div.menulist ul li:nth-child(odd),
div.selectlist ul li:nth-child(odd) {
  background-color: #FFFFFF;
}
div.menulist ul li:nth-child(even),
div.selectlist ul li:nth-child(even) {
  background-color: #DDDDDD;
}
div.menulist ul li:hover,
div.selectlist ul li:hover {
  background: url("../img/menutouched.png") repeat-x scroll 0 0 #0274EE;
  border: 1px solid blue;
}
div#content div.menulist ul li a:hover,
div#content div.menulist ul li:hover a,
div#content div.selectlist ul li a:hover,
div#content div.selectlist ul li:hover a {
  background-color: transparent;
  color: #F1F1F1;
  text-shadow: 0 1px 0 #000000;
}
div.menulist ul li:first-child,
div.selectlist ul li:first-child {
  border-top-left-radius: .4em;
  border-top-right-radius: .4em;
}
div.menulist ul li:last-child,
div.selectlist ul li:last-child {
  border-bottom-left-radius: .4em;
  border-bottom-right-radius: .4em;
}
div.menulist ul li.divider,
div.selectlist ul li.divider {
  padding: 0 1em;
  cursor: default;
}
div.menulist ul li.divider:hover,
div.selectlist ul li.divider:hover {
  background: linear-gradient(#FAFAFA, #F6F6F6) repeat scroll 0 0 transparent;
  border: 1px solid #BBBBBB;
}
div.selectlist ul li.header:hover {
  background: linear-gradient(#FAFAFA, #F6F6F6) repeat scroll 0 0 transparent;
  border: 1px solid #BBBBBB;
}
div.menulist ul li span.arrow-r,
div.selectlist ul li span.arrow-r {
    background: url("../img/arrow-r.png") no-repeat scroll 0 0 transparent;
    height: 13px !important;
    margin: 0 !important;
    position: absolute;
    right: .2em;
    top: .4em	;
    width: 1em !important;
}
div.menulist ul li:hover span.arrow-r,
div.selectlist ul li:hover span.arrow-r {
    background-position: 0 -13px !important;
}

div.resultlist {
  text-align:center; 
  margin:auto;
  font-size: 12px;
}

table.data {
  margin-left:auto; 
  margin-right:auto; 
  border:none;
  border-collapse:collapse;
}
table.data tr {
  text-align:left;
  white-space:nowrap;
}
table.data tr.head {
  background-color: #CCCCCC;
}
table.data tr.ping {
  background-color: #FFFFFF;
}
table.data tr.pong {
  background-color: #DDDDDD;
}

td.resceduled {
  color: #ff0000;
  text-decoration: line-through;
}
td.changed {
    color: #ff0000;
}

td.tab {
  width:94px;
  text-align:center;
  display:block;
  white-space:nowrap;
  background-color: #DFDFDF;
  border-top: 1px solid #999;
  border-right: 1px solid #666;
  border-left: 1px solid #999;
  border-bottom: none;
  border-radius: 2px;
  -moz-border-radius: 2px;
}
table.tabs      {
  width:100%;
  text-align:left;
  border-top: none;
  border-right: none;
  border-left: none;
  border-bottom: 1px solid #666;
  border-spacing: 0px;
}

table.change {
  margin-left:auto; 
  margin-right:auto; 
  border:none;
  border-collapse:collapse;
  padding:10px;
}

table.groupchange {
  border-style:solid;
  border-color:#666666;
  border-color:#CCCCCC;
  border-width:2px;
}

table.groupchange tr.group {
  background-color:#666666;
  background-color:#CCCCCC;
  height:2px;
}

table.change tr {
  text-align:left;
}
table.change th{
  padding-left:3px;
  padding-right:3px;
}
table.change td{
  padding-left:3px;
  padding-right:3px;
}

table.change td.action{
  background-color:#FFFFFF;
}

xtable.change td.action:hover{
  background-color:#BBBBBB;
}

table.change tr.border{
  height:5px;
}
table.change th.border{
  padding-left:0px;
  padding-right:0px;
  width:2px;
}
table.change td.borderdist{
  padding-left:0px;
  padding-right:0px;
  width:2px;
}
table.change td.border{
  background-color:#FFFFFF;
  padding-left:0px;
  padding-right:0px;
  width:2px;
}

span.rescheduled {
  color: #ff0000;
  text-decoration: line-through;
}
span.changed {
  color: #ff0000;
}
span.cancelled {
  color: #ff0000;
  text-decoration: line-through;
}

tr.head {
  background-color: #CCCCCC;
}
tr.ping {
  background-color: #EEEEEE;
  white-space:nowrap;
}
tr.pong {
  background-color: #DDDDDD;
  white-space:nowrap;
}
tr.ping td input {
  background-color: #EEEEEE;
}
tr.pong td input {
  background-color: #DDDDDD;
}

table.change td.pl0 {
  padding-left:0px;
}
table.change td.pr0 {
  padding-right:0px;
}
td.left {
  text-align:left;
}
td.center {
  text-align:center;
}
td.right {
  text-align:right;
}
td.justify  {
  text-align:justify ;
}
th.left {
  text-align:left;
}
th.center {
  text-align:center;
}
th.right {
  text-align:right;
}
th.justify  {
  text-align:justify ;
}


/* topmenu */

#topmenucontainer {
  border-bottom: 1pt solid ;
  border-top: 1pt transparent;
  border-style: solid none solid none;
  border-color: white transparent black transparent
  margin-bottom: 0.75em;
  padding 1;
  background-color:transparent;
}

ul#topmenu {
    font-weight: bold;
    list-style-type: none;
    margin: 0;
    padding: 0;
    border-style:none;
    border-color:red;
    background-color:transparent;
}

ul#topmenu li {
    float: left;
    margin: 0;
    padding: 0;
    vertical-align: middle;
}

#topmenu img {
    vertical-align: middle;
    margin-right: 0.1em;
}

/* default tab styles */
.tab, .tabcaution, .tabactive, .tabdisabled {
    display: block;
    margin: 0.2em 0.2em 0 0.2em;
    padding: 0.2em 0.2em 0 0.2em;
    white-space: nowrap;
}
.tabdist {
    display: block;
    width: 55px;
    margin: 0.2em 0.2em 0 0.2em;
    padding: 0.2em 0.2em 0 0.2em;
    white-space: nowrap;
    border:0;
}

/* disabled tabs */
span.tab {
    color: #666666;
}

/* disabled drop/empty tabs */
span.tabcaution {
    color: #ff6666;
}

/* enabled drop/empty tabs */
a.tabcaution {
    color: #FFFFFF;
    background-color: #FF0000;
}
a.tabcaution:hover {
    color: #FFFFFF;
    background-color: #FF0000;
}

#topmenu {
    margin-top: 0.5em;
    padding: 0.1em 0.3em 0.1em 0.3em;
}

ul#topmenu li {
    border-bottom: 1pt solid black;
}

/* default tab styles */
.tab, .tabcaution, .tabactive, .tabdisabled {
    background-color: #E5E5E5;    /* table data row colour */
    border: 1pt solid #D5D5D5;    /* table data row colour, alternate */
    border-bottom: 0;
    border-radius-topleft: 0.4em;
    border-radius-topright: 0.4em;
    -moz-border-radius-topleft: 0.4em;
    -moz-border-radius-topright: 0.4em;
    text-decoration: none;
    color: black;
}
.tabdist {
    border-bottom: 1pt solid #FFFFFF;    
}

/* enabled hover/active tabs */
a.tab:hover, a.tabcaution:hover, .tabactive, .tabcaution, .tabactive:hover {
    margin: 0;
    padding: 0.2em 0.4em 0.2em 0.4em;
    text-decoration: none;
}

a.tabactive {
    background-color: #D5D5D5;    /* table data row colour, alternate */
}

.tabdisabled, .tabdisabled:hover {
    color: #F5F5F5;    /* table data row colour, alternate */
}
.tabdisabled, .tabdisabled:hover {
    color: #F5F5F5;    /* table data row colour, alternate */
}

a.tab:hover{
    color: blue;    /* table data row colour, alternate */
}

a img {
    border: 0;
}
.icon {
    vertical-align:     middle;
    margin-right:       0.3em;
    margin-left:        0.3em;
}


/* disabled drop/empty tabs */
span.tab, span.tabcaution {
    cursor: url(themes/original/img/error.ico), url(../themes/original/img/error.ico), default;
}

/* end topmenu */

.clearfloat {
    clear: both;
}

p.changebuttons input.deletebutton { color:#FF0000; }


/* rugbyweb css */

table { color:#000000; }
xa:hover { background-color:#BBBBBB; }

table .chg    { background-color:#ff0000; } /* Neuer Termin bei Verlegungen */
table .chgold { text-decoration:line-through; color:#ff0000; } /* Verlegt ohne neuen Termin */
table .chgtxt { color:#ff0000; } /* Verlegt Text, ohne neuen Termin */
table .chgtme { color:#ff0000; } /* Änderung Uhrzeit */
table .chgref { color:#ff0000; } /* Änderung Referee */
table .strike { text-decoration:line-through; } /* Durchgestrichen */

table .dist0 { border-width:0px; height:2px;  }
table .dist1 { border-width:0px; height:10px; }
table .dist2 { border-width:0px; height:20px; }
table .dist3 { border-width:0px; height:30px; }
table .noframe { border-width:0px; }

table.center {
/*  width:100%; */
  text-align:center;
  margin:auto
}

#table { /* html-table */
/*  width:100%; */
  text-align:right;
  empty-cells:show;
  border-collapse:collapse;
  padding:1px 4px 1px 4px;
  white-space:nowrap;
  margin:auto;
  border:4px;
  border-color:#DDDDDD #A0A0A0 #A0A0A0 #DDDDDD;
  border-style:solid;
}
#table tr{
  background-color:#FFFFFF;
}
#table tr.row2{
  background-color:#EEEEEE;
}
#table th{
  text-align:center;
  background-color:#DDDDDD;
  padding:1px 4px 1px 4px;
}
#div .head{
  border-style:solid; border-width:1px 0px 0px 0px; border-color:#888888;
}
#table th.left{
  text-align:left;
}
#table td{
  padding:1px 4px 1px 4px;
}
#table td.center{
  text-align:center;
}
#table .left{
  text-align:left;
}
#table td.nopad{
  padding:1px 0px 1px 0px;
}
#table td.lpad1{
  padding-left:0px;
}
#table td.rpad1{
  padding-right:1px;
}

#games { /* html-table */
  width:100%;
  text-align:left;
  empty-cells:show;
  border-collapse:collapse;
  border:2px;
  border-color:#DDDDDD #A0A0A0 #A0A0A0 #DDDDDD;
  border-style:solid;
}
#games tr{
  background-color:#FFFFFF;
}
#games tr:hover.hover{  /* Tabellenzeile bei MausÜber hervorheben*/
  background-color:#FFFFC0;
}
#games tr.row2{
  background-color:#EEEEEE;
}
#games tr.row2hover{
  background-color:#EEEEEE;
}
#games tr:hover.row2hover{  /* Tabellenzeile bei MausÜber hervorheben*/
  background-color:#FFFFC0;
}
#games th{
  background-color:#DDDDDD;
  padding:1px 4px 1px 4px;
  white-space:nowrap;
}
#games th.nopad{
  padding:1px 0px 1px 0px;
}
#games td{
  padding:1px 4px 1px 4px;
}
#games td.dateday{
  padding-right:0px;
}
#games td.date{
  padding:1px 0px 1px 0px;
}
#games td.datetime{
  padding-left:3px;
}
#games td.nopad{
  padding:1px 0px 1px 0px;
}
#games td.dist0 { border-width:0px; height:3px;  }
#games td.dist1 { border-width:0px; height:10px; }
#games td.dist2 { border-width:0px; height:12px; }
#games td.dist3 { border-width:0px; height:18px; }

.g-chg    { color:#ff0000; } /* Neuer Termin bei Verlegungen */
.g-chgold { text-decoration:line-through; color:#ff0000; } /* Verlegt ohne neuen Termin */
.g-chgtxt { color:#ff0000; } /* Verlegt Text, ohne neuen Termin */
.g-chgtme { color:#ff0000; } /* Änderung Uhrzeit */
.g-chgref { color:#ff0000; } /* Änderung Referee */
.g-strike { text-decoration:line-through; } /* Durchgestrichen */

tr.hover:hover { background-color:#FFFFC0; } tr.hover {} /* Tabellenzeile bei MausÜber hervorheben*/
