/* @override
	http://localhost:8888/modules/dbo_fireteambuilder/dbo_fireteambuilder.css */

/* DBO Fireteam Builder: CSS */

table {
	border-spacing: 0;
	border-collapse: collapse;
}

form label.input,
#event-info span.header {
  display: block;
  float: left;
  width: 8em;
  font-weight: bold;
}

#event-rsvps span.rsvp-header {
  font-weight: bold;
}

#event-rsvps span.sort-links {
  color: #777;
  font-size: 0.7em;
  margin-left: 1em;
}

#event-rsvps span.sort-links span.selected {
  background-color: rgba(0,0,0,0.45);
  font-weight: bold;
  color: white;
  border-radius: 2px;
  padding: 1px 4px 2px;
}

form span.note,
#event-info span.timezone {
  font-size: 12px;
  color: #8f929e;
  font-weight: normal;
  font-style: italic;
  margin-left: 0.5em;
}

td.rsvp-user {
  font-size: 10px !important;
  color: #8f929e;
  font-weight: normal;
  padding-left: 2em;
}
td.rsvp-user a {
  color: #5f626e;
}

table#fireteam-index {
	font-size: 12px;
}

table#fireteam-index tr.header th {
	border-bottom: 1px solid #dcdcdc;
}

table#fireteam-index tr {
	background-color: #e3e5ec;
	height: 42px !important;
}

table#fireteam-index tr:hover {
	background-color: white !important;
}

table#fireteam-index tr:nth-child(2n+1) {
	background-color: #efeff1;
}

table#fireteam-index tr:first-of-type {
	background: none !important;
	height: 2em !important;
}

table#fireteam-index td {
	font-size: 1em;
	padding: 3px 8px;
	text-align: center;
}

table#fireteam-index tr.rsvpd:hover {
  background-color: #d6efd1 !important;
}

th.event-name {
	text-align: left;
}
td.event-name {
	width: 25em !important;
	line-height: 1.4em !important;
	text-align: left !important;
}

td.event-name span.title {
	font-weight: bold;
	font-size: 1.2em;
	display: block;
}
td.event-name span.subtitle {
	font-size: 0.9em;
	padding-left: 1px;
}

span.platform {
	width: 80px;
	height: 21px;
	display: inline-block;
	overflow: hidden;
	background: url(../dbo_fireteambuilder/images/platform-badges.png) no-repeat;
	background-size: 100%;
	border-radius: 3px;
	font-weight: bold;
	font-size: 0.8em;
	line-height: 1.5em;
	text-indent: -9999px;
}
span.platform.xb {
	background-position: 0 0 !important;
}
span.platform.x360 {
	background-position: 0 -22px !important;
	height: 19px;
	border: 1px solid #d4d3d3;
}
span.platform.ps {
	background-position: 0 -63px !important;
}
span.platform.ps3 {
	background-position: 0 -42px !important;
}
span.platform.pc {
    background-position: 0 -84px !important;
}
span.platform.irl {
    background-position: 0 -105px !important;
}

#event-header span.platform {
	vertical-align: text-top;
	position: relative;
	top: -5px;
}

table#fireteam-index tr.rsvpd {
  border: 1px solid #ceecc7;
	border-left: 4px solid #05a201;
  border-right: 4px solid #05a201;
  background-color: #e4f6e1 !important;
}

table#fireteam-index tr.rsvpd.tentative {
  border-color: #ffb805;
  background-color: #fff2db !important;
}
table#fireteam-index tr.rsvpd.tentative:hover {
  background-color: #f7ead4 !important;
}
table#fireteam-index tr.rsvpd.tentative td.event-rsvp span {
  background: linear-gradient(to bottom, #d68b00 0%, #c18400 100%) #d68b00;
  border: 1px solid #aa7100;
}

td.event-time {
	font-size: 1em !important;
	width: 9em;
}

td.event-creator {
	font-size: 0.9em !important;
	width: 10em;
}

td.event-count {
	color: #6d6d6d;
}
td.event-count span.light {
	opacity: 0.55;
}

span.rsvpd {
	background: linear-gradient(to bottom, #07b400 0%, #069800 100%) #07b400;
	padding: 2px 4px;
	border-radius: 5px;
	color: #ffffff;
	font-weight: bold;
	font-size: 0.75em;
	border: 1px solid #008b0e;
	white-space: nowrap;
}

#date-block span.rsvpd {
	font-size: 0.5em;
	position: relative;
	top: -3px;
	left: 1em;
}

#event-info,
#event-rsvps {
	font-size: 0.9em;
	margin-top: 1em;
	padding-top: 1em;
	clear: both;
	line-height: 1.5em;
}

#event-rsvps {
	border-top: 3px solid #bbcbde;
	margin-top: 1em;
}

#event-description {
	margin-top: 1em;
}

#event-description span.header,
#event-rsvps span.header {
	float: none;
}

#event-info span.data p {
	font-size: 0.9em;
	line-height: 1.3em;
}

#title-elements .title {
	font-size: 28px;
	font-weight: bold;
}

#title-elements .subtitle {
	font-size: 20px;
	color: #949aae;
	position: relative;
	top: -0.10em;
	left: 0.5em;
}

#title-elements .platform {
	vertical-align: top;
	position: relative;
	top: -3px !important;
	left: 1.7em;
}

#event-info .platform {
	vertical-align: top;
	display: inline-block;
	position: relative;
	left: -2px;
}

#date-block input {
	vertical-align: bottom;
	position: relative;
	top: 1px;
	left: 0.5em;
}

form {
	margin: 0;
	padding: 0;
}

#save-rsvp-info {
	margin-left: 1em;
}

input[type=checkbox] + label,
input[type=checkbox]:checked + label.rsvp-maybe {
	color: #787878;
	font-size: 0.9em;
	margin-left: 2px;
	opacity: 1;
}

input[type=checkbox] + label.rsvp-maybe {
  opacity: 0.5;
}

#rsvp-list tr.maybe,
#rsvp-list tr.maybe input[type=text] {
  color: #88a7be;
}

#rsvp-list,
#rsvp-list td,
#rsvp-list td input,
#rsvp-list td select {
	font-size: 12px;
}

#rsvp-list td.rsvp-level,
#rsvp-list input.rsvp-level {
	text-align: center;
}

#rsvp-list td.rsvp-level {
  padding-left: 1em;
}

#rsvp-list td.rsvp-level::before {
  content: "\2726";
}

#rsvp-list input.rsvp-name {
	font-weight: bold;
}

#rsvp-list input[type=text] {
	border: 1px solid #d2dafe;
	padding: 4px;
}
#rsvp-list input:focus {
	color: black !important;
}
#rsvp-list input.rsvp-comment {
  width: 40em;
}

#rsvp-list tr:not(.new-rsvp)  input[type=text] {
	background-color: #f6f7fe;
	border: 1px solid #d2dafe;
	padding: 4px;
}

#rsvp-list tr.subheader h5 {
	margin: 0;
	padding-top: 1em;
	color: #7a8098;
}

#rsvp-list tr.new-rsvp input[type=text] {
	color: #8c8c8c;
}

#rsvp-list tr.extras {
	color: #9aa3c9;
}

#rsvp-list td.rsvp-delete-button {
	text-align: left;
}

#rsvp-list td.noedit {
	padding: 2px 8px;
}

#rsvp-list td.noedit.rsvp-name {
	font-weight: bold;
}

#delete-form {
	margin-bottom: 2em;
}

h4 {
	margin-bottom: 0.4em;
}

span.inline {
	font-size: 0.7em;
	margin-left: 1em;
}

#error-list {
	background-color: #fedede;
	padding: .5em 1em;
	border-top: 4px solid #fe8e8e;
	margin: 0.7em 0;
}
#error-list h4 {
	margin: 0;
	color: #9a0000;
}
#error-list ul {
	margin: 0.3em;
	padding-left: 2em;
}

form#event-quick-rsvp {
  display: inline;
}

#usermenu li.dboftb-link a {
  padding-left: 2em !important;
  background-image: url(../../modules/dbo_fireteambuilder/images/users-icon.png) !important;
  background-repeat: no-repeat !important;
  background-position: 0 0.2em !important;
  background-size: 1.4em !important;
}

#dboftb-events li a span.rsvpd {
  background: linear-gradient(to bottom, #07b400 0%, #069800 100%) #07b400;
  padding: 0 2px;
  border-radius: 4px;
  color: #fff;
  font-weight: bold;
  font-size: 9px;
  border: 1px solid #008b0e;
  white-space: nowrap;
}

#dboftb-events li a span.rsvpd.tentative {
  background: linear-gradient(to bottom, #d68b00 0%, #c18400 100%) #d68b00;
  border: 1px solid #aa7100;
}

#dboftb-events li a span.count {
  font-size: inherit;
  color: inherit;
  float: right;
}

#dboftb-events li a span.light {
  opacity: 0.55;
  color: inherit;
  font-size: inherit;
}

#dboftb-events li a.rsvpd {
  border-right: 4px solid #05a201;
  border-left: 1px solid #05a201;
  background-color: #e4f6e1;
}

#dboftb-events li a.rsvpd.tentative {
  border-color: #ffb805;
  background-color: #fff2db;
}

#dboftb-events li a.rsvpd:hover {
  background-color: #dcedd9;
}

#dboftb-events li a.rsvpd.tentative:hover {
  background-color: #f7ead4;
}

#dboftb-events li.new-link {
  font-size: 0.9em;
  text-align: right;
}

#dboftb-events li {
  border-top: 1px dashed #e3e3e3;
}

#dboftb-events ul>li:first-of-type {
  border-top: none;
}

#dboftb-events li.message {
  font-size: 0.82em;
  color: #808080;
  text-align: center;
  line-height: 3em;
}

#dboftb-events li.platform-filter-links input[type=checkbox] {
	display: none;
}

#dboftb-events li.platform-filter-links input[type=checkbox] + label {
	cursor: pointer;
}

#dboftb-events li {
	font-size: 1.0em;
}

#dboftb-events li.filtered {
  display: none;
}

#dboftb-events li a span.xb,
#dboftb-events li a span.x360,
#dboftb-events li a span.ps,
#dboftb-events li a span.ps3,
#dboftb-events li a span.pc,
#dboftb-events li a span.irl,
#dboftb-events li.platform-filter-links input[type=checkbox] + label {
  color: white;
  border-radius: 3px;
  padding: 1px 4px;
  margin-right: 1px;
  font-weight: bold;
  font-size: 10px;
  background-color: #dddddd;
}

#dboftb-events li a span.xb,
#dboftb-events li.platform-filter-links input.filter-xb[type=checkbox]:checked + label {
  background-color: #069800;
}

#dboftb-events li a span.x360,
#dboftb-events li.platform-filter-links input.filter-x360[type=checkbox]:checked + label {
  background-color: #08B520 !important;
}

#dboftb-events li a span.ps,
#dboftb-events li.platform-filter-links input.filter-ps[type=checkbox]:checked + label {
  background-color: #2020D0 !important;
}

#dboftb-events li a span.ps3,
#dboftb-events li.platform-filter-links input.filter-ps3[type=checkbox]:checked + label {
  background-color: #3060F0 !important;
}

#dboftb-events li a span.pc,
#dboftb-events li.platform-filter-links input.filter-pc[type=checkbox]:checked + label {
  background-color: #D70900 !important;
}

#dboftb-events li a span.irl,
#dboftb-events li.platform-filter-links input.filter-irl[type=checkbox]:checked + label {
  background-color: #666 !important;
}

#dboftb-events li.platform-filter-links {
  text-align: center;
}

.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
