html, body {
	height: 100%;
	font-size: 13px;
	font-weight: 300;
	min-width: 350px;
}

.view-container {
	margin-top: -5px;
	margin-bottom: 65px;
	margin-top: -5px;
}
@media ( min-width: 768px) {
	.view-container {
		padding-bottom: 50px;
	}
}

h1, h2, h3, h4, h5 {
	font-weight: 400;
}

label {
	font-weight: 500;
}

button, input, optgroup, select, textarea {
	font-weight: 300;
}

@media ( min-width : 768px) {
	#page-alert-space {
		margin-top: 60px;
	}

	.navbar .collapse {
		display: block !important;
	}
	.navbar .navbar-header {
		margin-right: 20px;
	}
	.navbar-right {
		margin-right: 0px;
	}
}

#image-dfv-small {
	width: 100px;
	height: 32px;
	margin-top: 9px;
}

#navbar-actions {
	height: 34px;
	padding-top: 6px;
}

@media ( max-width : 767px) {
	.page-title {
		margin-top: 0;
	}

	.navbar-fixed-top {
		position: static;
		right: 0;
		left: 0;
		z-index: 1030;
	}
	.navbar-nav {
		margin: 0px 0px;
	}
	.navbar-body ul {
		padding-left: 5px;
	}
	.navbar-header {
		padding-left: 10px;
	}

	td.mega-wide {
		width: 50%;
	}

	.navbar-language .navbar-text {
		height: 40px;
	}
}

.navbar-header a {
	color: #777777;
}
.navbar {
	font-size: 14px;
	background-color: #F3FAFF;
	color: #666666;
	border-color: #F3FAFF;
}

.navbar .navbar-header {
	color: #333333;
}

.navbar h3 {
	margin-top: 10px;
	font-weight: 600;
}

#navbar-language-icon {
	float: left;
	font-size: 22px;
	margin-top: -2px;
}

#navbar-language-code {
	float: left;
	margin-left: 5px;
	width: 20px;
}

.navbar-body ul {
	cursor: pointer;
}

#navbar-buttons ul.dropdown-menu {
	background-color: #F3FAFF;
}

.navbar-body > ul,
.navbar-body ul .navbar-text,
.dropdown-menu > li > a {
  color: #777;
}

.nav li a {
	margin: 0;
}

.navbar-body > ul:hover,
.navbar-body > ul:focus,
/*.navbar-body ul:hover .navbar-text,*/
.menu-aside-body ul:hover .navbar-text,
.menu-aside-body ul:focus .navbar-text,
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus,
.nav>li>a:focus, .nav>li>a:hover
 {
  color: #000;
  text-decoration: none;
  background-color: #C2DAF3;
}

.navbar-language {
	cursor: pointer;
}

.navbar-language:hover #navbar-language-icon,
.navbar-language:focus #navbar-language-icon,
.navbar-language:hover #navbar-language-code
.navbar-language:focus #navbar-language-code {
	color: #000000;
}

.navbar-right ul.dropdown-menu {
	width: 120px;
	padding: 0 0 5px 0;
}

.shared-icon-bar {
	float: left;
	margin-right: 10px;
	margin-top: 2px;
}

#login-popover,
.navbar .dropdown-menu,
.menu-aside.dropdown-menu {
	background-color: #F3FAFF;
	-webkit-box-shadow: none;
	box-shadow: none;
	z-index: 1080;
}

#login-popover.login-error {
	background-color: #E49B9B;
}

#login-popover input {
	width: 100%;
}

#login-popover-content {
	width: 275px;
}

#login-popover-content .error-text {
	color: white;
}

input, textarea {
	width: 100%;
}

.panel.panel-ultical {
	background-color: #FAFAFA;
	/* 	border-color: #D9E9FF; */
}

.panel-group .panel-heading+.panel-collapse>.panel-body {
/* 	border-top-color: #D9E9FF; */
}

.panel.panel-ultical2 {
	background-color: #FFFFFF;
	/* 	border-color: #D9E9FF; */
}

.panel-ultical2 .panel-title {
	font-size: 14px;
}

.panel-title-addon {
	font-weight: 300;
}

.input-group-colored .input-group-addon {
	background-color: #337AB7;
	color: #FFFFFF;
}

.editable-list {
	float: left;
	margin-top: -5px;
	margin-right: -10px;
}

.editable-list-item {
	float: left;
	margin-bottom: 10px;
	border-color: #B3B3B3;
	border-width: 1px;
	border-style: solid;
	background-color: #FFFFFF;
	padding: 2px 5px;
}

.editable-list-item.no-remove {
	margin-right: 22px;
}

.editable-list-remove {
	color: #E85E5E;
	top: -10px;
	right: 13px;
	font-size: 59%;
	float: right;
	position: relative;
	opacity: 0;
}

.editable-list:hover .editable-list-remove,
.editable-list:focus .editable-list-remove {
	opacity: 1;
}

.team-actions {
	float: right;
	color: #337AB7;
	opacity: 0;
	margin-left: 10px;
}

.team-actions-link {
	text-align: right;
	margin-top: 6px;
}

.panel-heading:hover .team-actions,
	.panel-heading:focus .team-actions {
	opacity: 1;
}

.team-actions-disabled {
	color: #D6D6D6;
	cursor: default;
}

.player-actions {
	color: #B9B9B9;
	opacity: 0;
	margin-left: 7px;
}

.roster-list:hover .player-actions,
	.roster-list:focus .player-actions {
	opacity: 1;
}

.select-btn .caret {
	float: right;
	top: 8px;
	position: relative;
}

@-moz-document url-prefix() {
	.select-btn .caret {
		top: -11px;
	}
}

.select-btn {
	text-align: left;
	width: 100%;
}

.roster-listing .panel-group {
	margin-bottom: 0;
}

.panel-ultical .fa-fw {
	margin-right: 4px;
	font-size: 14px;
}

.btn-primary.btn-ultical, .label-primary.label-ultical {
	background-color: #20408E;
}
.btn-primary.btn-ultical:hover,
	.btn-primary.btn-ultical:focus {
	background-color: #286090;
}

/* disable rounded corners */
.panel-group .panel, .panel, .panel-group, .panel-heading, .panel-footer,
	.btn, .modal-content, .form-control, .popover, .dropdown-menu, .alert,
	.nav-tabs>li>a, .input-group-addon,
	.navbar-toggle {
	border-radius: 0px;
}

select:not([multiple]) {
	-webkit-appearance: none;
	-moz-appearance: none;
	background-position: right 50%;
	background-repeat: no-repeat;
	background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAMCAYAAABSgIzaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDZFNDEwNjlGNzFEMTFFMkJEQ0VDRTM1N0RCMzMyMkIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDZFNDEwNkFGNzFEMTFFMkJEQ0VDRTM1N0RCMzMyMkIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo0NkU0MTA2N0Y3MUQxMUUyQkRDRUNFMzU3REIzMzIyQiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo0NkU0MTA2OEY3MUQxMUUyQkRDRUNFMzU3REIzMzIyQiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PuGsgwQAAAA5SURBVHjaYvz//z8DOYCJgUxAf42MQIzTk0D/M+KzkRGPoQSdykiKJrBGpOhgJFYTWNEIiEeAAAMAzNENEOH+do8AAAAASUVORK5CYII=);
	padding: .5em;
	padding-right: 1.5em;
}

.event-list-date {
	font-weight: 300;
    vertical-align: middle;
	font-size: 120%;
	display: table-cell;
}

.event-list-date-left {
	text-align: right;
	width: 30px;
}

.event-list-date-dash {
    text-align: left;
    padding-left: 3px;
    padding-right: 2px;
    width: 10px;
}
.event-list-date-right {
	text-align: left;
	width: 33px;
}

#edition-view-events .event-list-date-right {
	width: 25px;
}

#edition-view-events .event-list-date-right-month {
	width: 79px;
}

#edition-view-events .event-list-date-right-month.event-list-date-right-monthyear {
	width: 100px;
}
.event-list-text {
	display: table-cell;
}
.event-list-text-top {
	margin-bottom: -3px;
	margin-top: 2px;
	padding-right: 15px;
	font-weight: 500;
}

.event-list-text-bottom {
	margin-bottom: 3px;
	padding-right: 15px;
	font-weight: 300;
}

.event-list-row {
	height: 100%;
	display: table;
}

.event-list h5 {
 	font-weight: 500;
 }

.event-list h4 {
 	font-weight: 300;
 }
.event-list h5, .event-list h4 {
    margin-bottom: 5px;
    margin-top: 10px;
}

/* "earlier"/"later tournaments" links: plain weight, heading-like spacing */
.event-list .event-list-more {
    margin-bottom: 5px;
    margin-top: 10px;
}

/* iCalendar: subscribe link under the calendar list, download link on event pages, URL field in the dialog */
.calendar-subscribe {
    margin-bottom: 5px;
    margin-top: 10px;
}
.page-sub-title .calendar-link {
    font-size: 0.85em;
}
.calendar-feed-url {
    font-size: 0.85em;
    cursor: text;
}

/* team page: the players / tournaments tiles inside an open roster */
.roster-tiles {
    padding-bottom: 5px;
}
.roster-tile {
    margin-bottom: 8px;
}
.roster-tile .panel-heading {
    padding: 6px 10px;
}
.roster-tile .panel-title {
    font-size: 14px;
}
.roster-event {
    margin-bottom: 4px;
}
.roster-event-date {
    display: inline-block;
    min-width: 12em;
    color: #777;
}

.event-list-row:hover,
	.event-list-row:focus {
  background-color: #C2DAF3;
	cursor: pointer;
}

#edition-listing .event-list-row {
	padding-top: 4px;
	padding-bottom: 6px;
}

#edition-listing .event-list-date {
	width: 52px;
}

#edition-listing .event-list-text {
	font-weight: 500;
	padding-top: 2px;
}

.page-sub-title {
	font-size: 124%;
}

.location-panel .panel-body {
    padding-top: 8px;
    margin-top: 5px;
    padding-bottom: 8px;
    padding-left: 15px;
    border-left: 2px solid #DDDDDD;
}

.strong {
	font-weight: 500;
}

.location-panel .am-collapse {
	animation-duration: 1s;
}

.info-text {
	padding-left: 15px;
	border-left: 2px solid #DDDDDD;
}

.print-heading {
	font-size: 150%;
}

.print-team-divider {
	border-bottom: 1px solid #AAA;
	padding-bottom: 50px;
}

.panel-margin {
	margin-top: 5px;
}

.panel-body .panel-group {
	margin-bottom: 0px;
}
.print-all {
	margin-top: -10px;
}
.print-size {
	font-size: 11px;
}

.mega-wide {
	width: 300px;
}
.hard-limit {
	overflow: hidden;
}
.user-textarea {
	white-space: pre-wrap;
}

.input-prefix {
	font-size: 14px;
	top: 3px;
	position: relative;
}

#new-roster-creation-cancel {
	position: absolute;
	right: 15px;
	top: 8px;
}

.form-control.new-roster-creation-input {
	width: 120px;
}

.team-list-standing {
	width: 77px;
	text-align: center;
	padding-right: 10px;
}

.label-as-badge {
    border-radius: 1em;
		font-size: 85%;
		padding-top: 3px;
}

.spirit-score-label {
    font-size: 80%;
    line-height: 1.3em;
		width: 65px;
		text-align: center;
		margin-left: 3px;
}

.spirit-score-label.has-own-spirit {
	margin-top: -7px;
}

.own-spirit-score-label {
	font-size: 90%;
}

.btn .sort-icon {
	margin-left: 5px;
	margin-right: -5px;
	font-size: 13px;
}

.btn.sort-button {
	font-size: 13px;
}

.btn.sort-button-last {
	float: none;
	overflow: hidden;
	width: auto;
	display: block;
	text-align: left;
	border-left-width: 0px;
}

.btn.sort-button-last.browser-safari {
	width:280px;
	border-left-width: 1px;
}
.width100 {
	width: 100%;
}

.dropdown-caret-fixed-width {
	width: 0.5em;
	display: inline-block;
}

.dropdown-caret-padding {
	padding-left: 2px;
}

.dropdown-caret-padding-right {
	padding-right: 5px;
}

#eventpage-title h3 {
	margin-top: 12px;
	margin-bottom: 2px;
}

/* breadcrumbs */
.nav-breadcrumb {
	padding-left: 0px;
	color: grey;
	list-style: none;
}

.nav-breadcrumb a {
	color: grey;
}

.nav-breadcrumb>li {
	display: inline-block;
}

.nav-breadcrumb>li+li:before {
    padding: 0 5px;
    color: #ccc;
    content: ">";
}

.panel-title button {
	margin-top: -4px;
	margin-right: -5px;
}

.standings-edit input {
	width: 50px;
}

.standings-edit span {
	font-weight: 200;
	margin-left: 20px;
	font-size:12px;
}

.action-bar {
	background-color: #FAFAFA;
	margin-top: 15px;
	padding: 10px;
}

.action-bar .btn,
.action-aside .btn {
	display: table;
	white-space: normal;
	width: 160px;
	height: 36px;
	line-height: 16px;
	padding-top: 0;
	padding-bottom: 0;
	font-weight: 300;
}

.action-bar .btn span,
.action-aside .btn span {
	display: table-cell;
	vertical-align: middle;
}

.team-edit-sheet {
	background-color: #FAFAFA;
	padding: 15px;
}

.horizontal-separator {
	margin-bottom: 12px;
	margin-top: 12px;
	border-top: solid 1px #DDDDDD;
}

footer {
	line-height: 1.7em;
}

@media ( max-width : 991px) {
	footer {
		line-height: 2.5em;
	}
	.action-bar .btn,
	.action-aside .btn {
		width: 100%;
	}
}


.team-list-location {
	font-weight: 300;
}

#slim-edit-1,
#slim-edit-2 {
  padding: 0 2px;
  padding-top: 1px;
  padding-bottom: 1px;
  border-radius: 0px;
}

.form-control.normal {
  width: 255px;
}

.form-control.short {
  width: 165px;
}

.form-control.very-short {
  width: 128px;
}

.form-control.extra-short {
  width: 64px;
}

select.form-control {
  padding-left: 1em;
}

textarea.resizable {
  resize: vertical;
}

.edit-in-title {
  font-size: 12px;
  margin-left: 10px;
  font-weight: 100;
}

.faded {
  opacity: 0.5;
}
