/* =============================================================================
   CLIENT IDENTITY:=Colors
   -----------------------------------------------------------------------------

   Orange	:	#ff8600

   ========================================================================== */



/* =============================================================================
   GENERAL: =Common
   ========================================================================== */

::-moz-selection { background:#ff8600; color:#fff; text-shadow:none; }
::selection { background:#ff8600; color:#fff; text-shadow:none; }

html { color:#444; font:15px/1.3 'arial', sans-serif; }

a { color:#ff8600; }
a:focus { outline:none; }

body {
	padding:60px 0;
}


/* =============================================================================
   GENERAL: =Forms
   ========================================================================== */

form { }
.input-text,
textarea { }
.input-submit { }



/* =============================================================================
   GENERAL: =Text level
   ========================================================================== */


.btn-primary {
	background-color:#ff8600;
}

.orange {
	color:#ff8600;
}

.badge {
	cursor:help;
}


/* =============================================================================
   BLOCK: =Modal
   ========================================================================== */

#modal-status .modal-body {
	padding:30px 15px 20px;
	font-size:16px;
}
#modal-status .close {
	position:absolute; top:10px; right:15px;
}


/* =============================================================================
   BLOCK: =Sign in
   ========================================================================== */

.form-signin {
	margin:0 auto 20px; padding: 19px 29px 29px; max-width: 300px;
    background:#fff; border:1px solid #E5E5E5; border-radius:5px;
    box-shadow:0 1px 2px rgba(0, 0, 0, 0.05);
}



/* =============================================================================
   BLOCK: =Tournaments
   ========================================================================== */

.accordion-toggle:hover,
.accordion-toggle:focus {
	text-decoration:none;
	background:#f6f6f6; outline:none;
}

.tournament-heading {
	display:table; margin:20px 0; width:100%;
	color:#ff8600;
}

.tournament-name {
	display:table-cell; width:50%;
	vertical-align:middle;
	font-size:24px; font-weight:bold; line-height:1;
}
.tournament-city,
.tournament-duration,
.tournament-dateinfo {
	display:block; margin:5px 0 0;
	color:#444; font-size:12px; font-weight:normal; line-height:1; text-transform:none;
}

.tournament-date {
	display:table-cell; width:25%;
	vertical-align:middle;
	color:#444; font-size:16px; font-weight:bold; text-align:center;
}

.tournament-dateinfo {
	text-transform:lowercase;
}

.tournament-disciplines {
	display:table-cell;  width:25%;
	vertical-align:middle;
	text-align:right;
}

.discipline,
.level {
	display:inline-block; padding:3px 4px;
	background:#666; border:1px solid transparent; border-radius:5px;
	color:#fff; font-size:11px; font-weight:bold; line-height:1; text-align:center; text-transform:uppercase;
}
.tournament-disciplines .discipline.simple + .double,
.tournament-disciplines .discipline.both {
	margin-left:10px;
}
.simple.man {
	border-color:#21afde; background:#fff;
	color:#21afde;
}
.simple.woman {
	border-color:#b830cf; background:#fff;
	color:#b830cf;
}
.double.man {
	background:#21afde;
}
.double.woman {
	background:#b830cf;
}
.double.both {
	background:#7abc29;
}

.level-a {
	background:#c73030;
}
.level-b {
	background:#236fd3;
}
.level-c {
	background:#68aa4d;
}
.level-d {
	background:#d1b825;
}

.discipline-title {
	font-size:14px;
}

.tournaments .table th,
.tournaments .table td {
	padding:15px 5px;
	vertical-align:middle;
}
.tournaments .table th {
	width:200px;
}

.players + .players {
	border-top:1px solid #ccc;
}
.players .well {
	padding:10px;
	position:relative;
}
.players .level-title {
	margin:-9px 0 0; position:absolute; top:50%; right:5px;

	font-size:12px;
}
.players ul {
	margin:0; padding:0;
	list-style:none;
}
.players .player + .player:before {
	content:' / ';
}

.players .player .firstname {

}
.players .player .lastname {

}

.players .badge {
	margin:3px 5px 0 0; padding:0 5px;
	vertical-align:top;
	font-size:10px; line-height:15px;
}

.tournaments .is-disabled {
	display: none;
}
.tournaments.with-older .is-disabled {
	display: block;
}





/* =============================================================================
   BLOCK: =Register
   ========================================================================== */

#form-tournament-register fieldset {
	position:relative;
}
#form-tournament-register .disabled legend,
#form-tournament-register .fieldset-disabled {
	color:#999;
}
#form-tournament-register .fieldset-toggle input {
	margin:3px 10px 0 0;
}
#form-tournament-register .fieldset-content {
	display:none;
}
#form-tournament-register .info-without {
	display:none;
	color:#ff8600;
}


/* =============================================================================
   BLOCK: =Manage
   ========================================================================== */

#form-tournament-manage th,
#form-tournament-manage td {
	vertical-align:middle;
}

#form-tournament-manage .badge ~ .checkbox {
	margin-top:10px;
}

#form-tournament-manage .player {
	margin-bottom:10px;
}


/* =============================================================================
   PAGE SPECIFIC: =...
   ========================================================================== */



/* =============================================================================
   =HELPERS
   ========================================================================== */

.ir {
	display:block; overflow:hidden;
	background-color:transparent; background-repeat:no-repeat; border:0;
	direction:ltr; *line-height:0; text-align:left; text-indent:-999em;
}
.ir br {
	display:none;
}

.hidden {
	display:none;
}
.visuallyhidden {
	clip:rect(0 0 0 0); margin:-1px; overflow:hidden; padding:0; position:absolute; width:1px; height:1px;
	border:0;
}
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
	clip:auto;margin:0; overflow:visible; position:static; width:auto; height:auto;
}
.invisible {
	visibility:hidden;
}

.horizontal-wrapper {
	margin:0 auto; position:relative; width:980px;
}
