/************************************************************ HEADERS **/
.b-calendar-header {
  margin: 10px auto;
  font: 10pt Verdana;
}

.b-calendar-header h1 {
  text-align: center;
}

.b-calendar-widget h2 {
  text-align: center
}

.ui-corner-all {
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  border-radius: 6px;
}

/************************************************************ LINKS **/
.b-cal-prev,
.b-cal-next {
  color: white;
}

.b-cal-prev {
  float: left;
}

.b-cal-next {
  float: right;
}

/************************************************************ CALENDAR **/
.no-wrap {
  white-space: nowrap;
}

.b-calendar-header .team-logo {
  height: 28px;
  margin: -8px 0px;
}

.calendar-help {
  float: right;
}

.b-calendar-widget table,
.b-calendar-widget td {
  border: 1px solid #8f8f8f;
  border-collapse: collapse;
  clear: both;
  margin: 20px 0;
}

.b-calendar-widget table th {
  background-color: #12128f;
  color: white;
}

.b-calendar-widget table th.red {
  background-color: #af1212;
  color: white;
}

.b-calendar-widget td a {
  color: #8f8f8f;
  margin: 40% 5px 0;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  clear: both;
}

#b-calendar {
  width: 98%;
  margin: 0 auto 20px;
}

.cal-gd.match {
  font-weight: bold;
}

/*********************************************************** CALENDAR CELLS **/

.cell_r {
  background: url(../i/calendar/cal_r.png);
}

.cell_g {
  background: url(../i/calendar/cal_g.png);
}

.cell_b {
  background: url(../i/calendar/cal_b.png);
}

.cell_w {
  background: url(../i/calendar/cal_w.png);
}

.cell_y {
  background: url(../i/calendar/cal_y.png);
}

.cell_g_gol {
  background: url(../i/calendar/cal_g_gol.png);
}

.cell_g_gr {
  background: url(../i/calendar/cal_g_gr.png);
}

.cell_g_o {
  background: url(../i/calendar/cal_g_o.png);
}

.cell_g_or {
  background: url(../i/calendar/cal_g_or.png);
}

.cell_g_r {
  background: url(../i/calendar/cal_g_r.png);
}

.cell_g_tg {
  background: url(../i/calendar/cal_g_tg.png);
}

.cell_g_w {
  background: url(../i/calendar/cal_g_w.png);
}

.cell_b_gol {
  background: url(../i/calendar/cal_b_gol.png);
}

.cell_b_gr {
  background: url(../i/calendar/cal_b_gr.png);
}

.cell_b_o {
  background: url(../i/calendar/cal_b_o.png);
}

.cell_b_or {
  background: url(../i/calendar/cal_b_or.png);
}

.cell_b_r {
  background: url(../i/calendar/cal_b_r.png);
}

.cell_b_tg {
  background: url(../i/calendar/cal_b_tg.png);
}

.cell_b_w {
  background: url(../i/calendar/cal_b_w.png);
}

.cell_gol {
  background: url(../i/calendar/cal_gol.png);
}

.cell_gr {
  background: url(../i/calendar/cal_gr.png);
}

.cell_o {
  background: url(../i/calendar/cal_o.png);
}

.cell_or {
  background: url(../i/calendar/cal_or.png);
}

.cell_rr {
  background: url(../i/calendar/cal_rr.png);
}

.cell_tg {
  background: url(../i/calendar/cal_tg.png);
}

.cell_fiol {
  background: url(../i/calendar/cal_fiol.png);
}

#b-calendar td {
  width: 14%;
  position: relative;
}

.calendar-cell {
  vertical-align: top;
  cursor: pointer;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  text-align: center;
}

.calendar-cell:after {
  content: '';
  display: block;
  margin-top: 100%;
}

.n-day {
  color: black;
  display: block;
  float: left;
  width: 20px;
  font-weight: bold;
  font-size: 1.6em;
  margin: 2% 0 0 4%;
  text-align: center;
}

.cal-gd {
  float: right;
  font-size: 1.2em;
  margin: 3% 7% 0 0;
}

.bigball {
  height: 45px;
  margin-top: -10px;
}

.profit-plus {
  color: green;
  font-weight: bolder;
}

.profit-minus {
  color: red;
  font-weight: bolder;
}

.calendar-cell-inner {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.calendar-cell-inner .note {
  position: absolute;
  z-index: 9999;
}

.calendar-cell-inner .common {
  left: 7%;
  top: 75%;
}

.calendar-cell-inner .note .event {
  height: 20px;
}

.calendar-cell-inner .note .active {
  cursor: pointer;
}

.match-requests {
  margin: -5% 0 0 60%;
}

.match-requests img {
  display: block;
}

.cell-team-logo {
  width: 64px;
  height: 64px;
  margin-top: -20px;
}
/******************************************************* INFORMATION WINDOW **/

.inf-wrapper {
  margin: 10px auto;
}

.inf-wrapper h2 {
  text-align: center;
}

.info-table {
  font-size: 1.2em;
}

.info-cell {
  width: 88px;
  height: 88px;
  background-repeat: no-repeat;
}

.info-text {
  font-size: 1.3em;
}

#info_text h1 {
  text-align: center;
}

.home-label,
.guest-label {
  color: blue;
  font-weight: bold;
  text-align: center;
  height: 44px;
}

.guest-label {
  color: red;
}

#N_id_N .first,
#N_id_N .third {
  width: 46%;
  padding-left: 4px;
  text-align: left;
}

.N_in_N .second {
  width: 8%;
  white-space: nowrap;
  text-align: center;
}

#N_id_N .third {
  text-align: right;
}

#N_id_N .first .team-logo,
#N_id_N .third .team-logo {
  width: 32px;
  height: 32px;
  float: left;
}

#N_id_N .third .team-logo {
  float: right;
}

/******************************************************* MEDIA **/
@media only screen and (max-width: 1279px) {
  .n-day {
    font-size: 1.4em;
  }
  .cell-team-logo {
    width: 45px;
    height: 45px;
    margin-top: -10px;
  }
}

@media only screen and (max-width: 1082px) {
  .n-day {
    font-size: 1.2em;
  }
  .cal-gd {
    font-size: 1em;
  }
  .bigball {
    height: 32px;
    margin-top: -5px;
  }
  .note.common {
    top: 70%;
  }
  .cell-team-logo {
    width: 32px;
    height: 32px;
    margin-top: -5px;
  }
}

/******************************************************* TEAMS INVITATIONS **/
.round-block {
  background: #E6E6E6;
  border: 1px solid #e76600;
  border-radius: 6px;
  padding: 7px;
}

.menu {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-size: 1.2em;
  width: 72.5%;
  float: left;
}

.menu li {
  display: inline;
  float: left;
}
.menu div {
  float: left;
}


.menu li a,
.dropbtn {
  display: inline-block;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

/* need exact description
.dropdown {
  display: inline-block;
}*/

.menu li a:hover,
.dropdown:hover .dropbtn {
  background-color: #ACACAC;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 9999;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #f1f1f1
}

.dropdown:hover .dropdown-content {
  display: block;
}

.controls {
  margin: 15px 0;
  width: 71%;
  float: left;
}

#user-filters {
  float: left;
  text-align: center;
  width: 67%;
}

.select-label {
  font-size: 1.2em;
}

#teams-filter,
#dates-filter {
  font-size: 1.2em;
}

#day-match {
  margin: 15px auto 7px;
}

#calendar-small {
  float: right;
}

#calendar-small .cell {
  width: 20px;
  height: 20px;
  text-align: center;
}

#calendar-small .action-cell {
  color: red;
  cursor: pointer;
  text-align: center;
}

#filled-data {
  max-height: 576px;
  width: 71%;
  float: left;
  overflow-y: scroll;
  overflow: -moz-scrollbars-vertical;
  overflow: auto;
  overflow-x: hidden;
}

#request-data {
  width: 100%;
  overflow-y: scroll;
  overflow: -moz-scrollbars-vertical;
  overflow: auto;
  overflow-x: hidden;
  max-height: 540px;
}

#team-info {
  height: 560px;
  width: 17%;
  right: 15px;
  position: absolute;
  display: inline-block;
}

.match-opps td:first,
.match-opps td:third {
  width: 46%;
}

.match-opps td:second {
  width: 8%;
}

.center-block {
  text-align: center;
}

.loading {
  margin: 0 auto;
  display: block;
}

#request-fill-form {
  font-weight: bold;
  font-size: 1.3em;
  display: none;
}

#invite-fill-form {
  font-size: 1.3em;
  display: none;
}

#search-backwards {
  display: none;
}

.match-opps .first,
.match-opps .third {
  width: 46%;
  padding-left: 4px;
  text-align: left;
}
.match-opps .second {
  width: 8%;
  white-space: nowrap;
  text-align: center;
}
.match-opps .third {
  text-align: right;
}

.match-opps .team-logo,
.team-cell .team-logo {
  float: left;
  height: 32px;
  margin: 4px;
}

.match-opps .third .team-logo {
  float: right;
}

#search-teams-invite {
  font-size: 1.3em;
  font-weight: bold;
}
