aside .collapse {background: var(--background) url(../images/collapse.png) 50% 50% / 40px 40px no-repeat; width: 55px; height: 55px; border-radius: 50%; display: block; cursor: pointer; position: relative; z-index: 20; position: absolute; top: 20px; right: -27.5px; transform: rotate(180deg); transition: 200ms transform;}
aside.right .collapse {background: var(--background) url(../images/icon-bell.png) 50% 50% / 40px 40px no-repeat; display: none}

body.tablet aside .collapse,
body.desktop aside .collapse {display: none}

body.loggedin aside .collapse {display: block}
aside.right .collapse {left: -27.5px;transform: rotate(0deg);}
aside.right .collapse .num {position: absolute; height: 20px; min-width: 20px; line-height: 20px; border-radius: 10px; background-color: var(--trim); color: var(--white); font-weight: bold; top: 3px; left: 2px; text-align: center; padding: 0 5px; transition: var(--animtime) all; font-size: 0.7rem}
body.dark-mode aside.right .collapse .num {color: var(--black);}
body.mobile aside.right .collapse .num {top: -3px; left: -11px; border: 1px solid var(--white);}
body.mobile.right_sidebar_mobile aside.right .collapse .num {top: 3px; left: 2px}
aside.right .collapse .num:empty {display: none}

body.left_sidebar aside.left .collapse {transform: rotate(0deg);}
body.right_sidebar aside.right .collapse {transform: rotate(0deg);}

header .mode-switch {position: absolute; right: 40px; top: 10px; background-color: var(--trim); width: 40px; height: 40px}

aside nav {}
  aside h3 {font-size: 0.7rem; line-height:1; text-transform: uppercase; font-weight: 1000; margin: 0 0 24px 0; opacity: 0; transition: var(--animtime) opacity; white-space: nowrap; break-inside: avoid;}
  aside h3.selected-role {opacity: 1 !important}
  aside h3.selected-role .role-label{opacity: 0}
  
  aside nav ul {margin: 0 0 42px 0; padding: 0}
    aside nav ul li {list-style: none; margin: 0 0 25px 0; padding: 0}
    aside .roles nav ul li {margin-bottom: 10px}
      aside nav ul li:hover a,
      aside nav ul li:hover .link-replace {color: var(--black)}
      
      aside nav ul li a,
      aside nav ul li .link-replace {font-size: 1.1rem; display: block; text-decoration: none; background-size: auto 24px; background-repeat: no-repeat; background-position: 50% 0; background-image: var(--icon-image); opacity: 1; line-height: 1.4; min-height: 24px; transition: var(--animtime) all; color: var(--grey-text);}
      aside nav ul li a .label,
      aside nav ul li .link-replace .label {display: none; line-height: 1.4; min-height: 24px; max-width: 100%}

      aside nav ul.favourites a .label,
      aside nav ul.favourites .link-replace {font-size: 0.8rem; line-height: 1.1;}
      
      aside nav ul li .link-replace::before {content: '\00BB  '; display: none}
      aside.loaded nav ul li .link-replace::before {content: '\00BB  '; display: inline-block;}
      
      aside .roles nav ul li a .label,
      aside .roles nav ul li .link-replace .label {padding-left: 0}
      
      body.left_sidebar aside nav ul li a,
      body.left_sidebar aside nav ul li .link-replace,
      body.left_sidebar_mobile aside nav ul li a,
      body.left_sidebar_mobile aside nav ul li .link-replace {background-position: 0 0; width: 100%}
      aside.loaded nav ul li a .label,
      aside.mobile_loaded nav ul li a .label,
      aside.loaded nav ul li .link-replace .label,
      aside.mobile_loaded nav ul li .link-replace .label {display: inline-block; }
      aside.loaded h3,
      aside.mobile_loaded h3 {opacity: 1}
      aside.loaded h3.selected-role .role-label,
      aside.mobile-loaded h3.selected-role .role-label {opacity: 1 !important}


aside .logo {opacity: 0; transition: var(--animtime) opacity}
aside.loaded .logo,
aside.mobile_loaded .logo {opacity: 1}

.search-field {padding-right: 14px; border-right: 1px solid var(--border); margin-right: 14px}
/*.mimic-user-list ul li {display: none}*/

header .profile {}

  .profile .image {width: 40px; height: 40px; background-color: var(--white); margin-right: 14px; border-radius: 50%; overflow: hidden; display: inline-block; vertical-align: middle}
  aside .profile .image {margin: 0 10px 0 0}
  
    .profile .image img {width: 100%; height: 100%; object-fit: cover; display: block;}
  header .profile .role-switcher {display: inline-block; vertical-align: middle; position: relative; min-width: 150px; line-height: 1.2rem}
  header .profile .role-switcher .username {font-weight: bold; font-size: 0.8rem}
    header .profile .role-switcher .selected-role {padding-right: 30px; position: relative; cursor: pointer;}
    header .profile .role-switcher .selected-role::after {position: absolute; content: ''; right: 0; top: 50%; transform: translateY(-50%) rotate(-90deg); width: 20px; height: 20px; background: transparent url(../images/collapse.png) 50% 50% / 20px 20px no-repeat; transition: var(--animtime) all}
    header .profile.active .role-switcher .selected-role::after {transform: translateY(-50%) rotate(90deg);}
    
    aside .selected-role {margin-bottom: 10px}
      aside .selected-role .role-label {line-height: 40px; height: 40px; display: inline-block; margin-bottom: 0}
    
    
    header .profile .role-switcher .menu {position: absolute; top: 100%; left: 0; background-color: var(--white); width: 100%; z-index: 2000; overflow: hidden; border-radius: 10px; display: none}
    header .profile.active .role-switcher .menu {display: block}
      header .profile .role-switcher .menu .roles {padding-bottom: 10px; border-bottom: 1px solid var(--border); margin-bottom: 10px}
        header .profile .role-switcher .menu .roles ul {margin: 0; padding: 0}
          header .profile .role-switcher .menu .roles ul li {list-style: none; line-height: 1; margin: 0}
            header .profile .role-switcher .menu .roles ul li .link-replace .label {display: block; cursor: pointer; line-height: 1; padding: 5px 20px}
            header .profile .role-switcher .menu .roles ul li:first-child span.label {padding-top: 20px}
            header .profile .role-switcher .menu .roles ul li:hover .link-replace .label {background-color: var(--highlight-grey)}
            
      header .profile .role-switcher .menu .actions {}
        header .profile .role-switcher .menu .actions ul {margin: 0; padding: 0}
          header .profile .role-switcher .menu .actions ul li {list-style: none; line-height: 1; margin: 0}
            header .profile .role-switcher .menu .actions ul li a,
            header .profile .role-switcher .menu .actions ul li .link-replace,
            header .profile .role-switcher .menu .actions ul li .link-replace .label {display: block; cursor: pointer; color: var(--black); text-decoration: none; line-height: 1; padding: 5px 20px}
            header .profile .role-switcher .menu .actions ul li:last-child a,
            header .profile .role-switcher .menu .actions ul li:last-child .link-replace {padding-bottom: 20px}
            header .profile .role-switcher .menu .actions ul li:hover a,
            header .profile .role-switcher .menu .actions ul li:hover .link-replace {background-color: var(--highlight-grey)}
      
      header .profile .role-switcher .menu .link-replace {text-decoration: none; color: var(--black)}


aside.right {padding-top: 45px}

aside.right .profile {text-align: center; padding-bottom: 36px; border-bottom: 1px solid var(--border); margin-bottom: 25px}
  aside.right .profile .image {display: inline-block; width: 115px; height: 115px; margin-bottom: 24px}
  aside.right .profile .username {font-size: 26px; line-height: 1; font-weight: bold; margin: 0 0 10px 0}
  aside.right .profile .selected-role {border-radius: 6px; color: var(--trim); background-color: var(--faint-trim); padding: 6px 10px; font-weight: bold; display: inline-block; line-height: 1}
  aside.right .selected-role .role-label {line-height: 1; height: auto}


aside.right .notifications {}
  aside.right .notifications .list {}
    aside.right .notifications .list ul {margin: 0; padding: 0; display: none}
      aside.right .notifications .list ul li {list-style: none; display: block; position: relative; padding-top: 5px; margin-bottom: 20px; margin-left: 0}
      aside.right .notifications .list ul li.read {opacity: 0.35}
      aside.right .notifications .list ul li:hover {}
      aside.right .notifications .list ul li:last-child {}

        aside.right .notifications .list ul li .message {font-size: 1rem; line-height: 1.2; display: block; margin: 0 0 10px 0; font-weight: bold;}
        aside.right .notifications .list ul li .message .actions {}
        
      
      aside.right.loaded .notifications .list ul {display: block}


form#search {position: relative;}
form#search input.search-input {margin-bottom: 0; z-index: 1000; position: relative; width: 350px}
form#search .results {position: absolute; background-color: var(--white); border-radius: 0 0 20px 20px; top: calc(100% - 14px); left: 0; width: 100%; padding: 28px 14px 14px 14px; max-height: 90vh; overflow: scroll; box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); display: none}
form#search .results-inner {}
form#search .results.active {display: block}
form#search .results h3 {margin: 0 0 4px 0}
form#search .results ul {margin: 0 0 14px 0; padding: 0}
  form#search .results ul li {margin: 0; list-style: none}
    form#search .results ul li a {display: block; text-decoration: none; padding: 0px; margin-bottom: 8px;}
      form#search .results ul li a h4 {margin: 0; padding: 0; font-size: 0.9rem; line-height: 1.2rem}
      form#search .results ul li a h4 .description {color: var(--grey-text); display: inline-block; font-size: 0.8rem; line-height: 1.2rem}


/* Table Data as shown on 'Draws / Bulk-edit' page. */
.table-data-container {}
  .table-data-controls { display: flex; align-items: stretch; justify-content: space-between; margin: 20px 0; }
  .table-data-controls .table-data-control { display: flex; align-items: center; }
    .table-data-control label { margin: 0 20px; }
    .table-data-control .field { margin: 0; }
    .table-data-control.table-data-button a { height: 40px; align-items: center; display: flex; font-size: 1rem; background: var(--trim); padding: 10px 20px; border-radius: 8px; border: 1px solid var(--trim); transition: var(--animtime) all; text-decoration: none; color: white; font-weight: bold; }
      .table-data-control.table-data-button a:hover { background: white; color: var(--trim); }
    .table-data-control.table-data-search { display: flex; align-items: center; }
      .table-data-control.table-data-search input[type=search] { margin: 0; background: var(--background); border-radius: 8px 0 0 8px; }
      .table-data-control.table-data-search button { position: relative; left: -8px; }
      .table-data-control.table-data-select { display: flex; height: 40px; align-items: center; }
  .table-data-container table.table-data { background: var(--background); border-radius: 20px; padding: 0; border-collapse: collapse; }
  .table-data-container table.table-data tr td { border-bottom: solid 1px rgba(0, 0, 0, 0.2); }
  .table-data-container table.table-data tr:first-child > td { padding-top: 0; }
  .table-data-container table.table-data tr:last-child > td { border-bottom: none; }
  .table-data-container table.table-data tr > th:first-child { padding-left: 20px; }
  .table-data-container table.table-data tr > th:last-child { padding-right: 20px; }
  .table-data-container table.table-data tr > td:first-child { padding-left: 20px; }
  .table-data-container table.table-data tr > td:last-child { padding-right: 20px; }
  .table-data-container table.table-data tr th,
  .table-data-container table.table-data tr td { padding: 20px 10px; }
  .table-data-container table.table-data tr th { text-align: left; }
  .table-data-container table.table-data .field { margin-bottom: 0; }
  .table-data-container table.table-data .select-field .selected { background: white; }


.geolocate {cursor: pointer; color: var(--trim);}

ul.team-students {padding: 10px !important; border-radius: 4px; background-color: var(--white-transparent); margin: 0 0 35px 0; min-height: 100px}


.notification-popup {padding: 10px; position: fixed; z-index: 19999; border-radius: 4px; box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5); bottom: 65px; right: -240px; max-width: 400px; width: 100%; opacity: 0; transition: all var(--animtime); background-color: var(--white)}
.notification-popup.active {right: 40px; opacity: 1}
.notification-popup-inner {}
.notification-popup .close {position: absolute; top: -8px; right: -8px; width: 16px; height: 16px; background: transparent url(../images/close-icon.svg) 0 0 / 16px 16px no-repeat; cursor: pointer}
.notification-popup h3 {margin: 0; border-bottom: 1ps solid var(--border); font-weight: bold; font-size: 0.857rem; line-height: 1.4; padding: 0}
.notification-popup .content {font-weight: normal; font-size: 0.857rem; line-height: 1.4}

.main-container ul.notifications {margin: 0; padding: 0}
  .main-container ul.notifications li {list-style: none; padding: 14px; border-radius: 4px; background-color: var(--white); margin: 0 0 4px 0}
    .main-container ul.notifications h2 {}
    .main-container ul.notifications .desc {color: var(--grey-text)}
    .main-container ul.notifications .content {}
    .main-container ul.notifications .actions {}
    .main-container ul.notifications .actions .action {}

.main-container main .actions {margin: 0 0 35px 0}
.main-container main .actions:last-child {margin: 0}
  .main-container main .actions .action,
  .main-container main .actions .button {margin: 0 10px 0 0}


#breadcrumbs {display: inline-block; vertical-align: middle; height: 40px; line-height: 40px}
#breadcrumbs a {color: var(--grey-text); text-decoration: none}
#breadcrumbs .separator {color: var(--text);}

.carded {padding: 10px; margin: 0 6px 2px 0 !important; border-radius: 4px; background-color: var(--button-grey-back); color: var(--black); cursor: pointer;}



span.action.darkmode {float: right; width: 30px; height: 30px; background: var(--white) url(../images/night-mode.png) 50% 50% / 20px 20px no-repeat; border-radius: 15px; cursor: pointer;}


.media-grid .grid-block-inner {background-color: var(--border); border-radius: 10px; padding: 4px}
.media-grid {text-align: center}

.zones h2 {margin-bottom: 4px; line-height: 1.4}
.zones h3 {margin: 0 0 5px 0; font-size: 16px; line-height: 1.4;}
.zones h3.zone-name {color: var(--trim);}
.zones h3:first-child {margin-top: 0}
.zones ul,
.postponement-allocations ul,
.postponement-venues ul,
ul.venues-box {padding: 5px !important; margin: 0; border: 1px dashed var(--grey-text); min-height: 50px; border-radius: 4px}
.zones ul li,
.postponement-allocations ul li,
ul.venues-box li
 {background-color: var(--white); color: var(--black); border-radius: 4px; padding: 6px; margin: 0 0 5px 0; font-size: 14px; line-height: 1; cursor: pointer; list-style: none}
ul.venues-box li {display: inline-block; width: 49%; margin-right: 0.5%}
ul.venues-box li:nth-child(29) {margin-right: 0}
ul.venues-box li p {display: none}
ul.venues-box li h4 {margin-top: 0}
.postponement-allocations ul li h4 {margin: 0 0 10px 0}
.postponement-allocations ul li p {margin: 0 0 5px 0}
.postponement-allocations ul li p:last-child {margin: 0 0 0 0}
.zones ul li:last-child {margin-bottom: 0}

.zones {overflow: scroll}
.zones .zone-wrapper {padding: 0; position: relative; margin-bottom: 25px;}
.zones .zone-wrapper-inner {padding: 5px}
/*.zones .zone-wrapper:nth-child(3n+1) {clear: both}*/
/*.zones .zone-wrapper::after {position: absolute; z-index: 9999; bottom: 0; left: 0; border-radius: 0 0 6px 6px; background: linear-gradient(to bottom, transparent, var(--white)); height: 80px; width: 100%; content: ''}*/
.zones .zone {overflow-y: scroll;}

.header-bar {overflow: hidden}

.draw-filters {float: left; margin-bottom: 20px}
span.filter-button {background-color: var(--white); color: var(--trim); margin: 0 5px 14px 0}
span.filter-button.active {background-color: var(--trim); color: var(--white)}

.year-checkbox {position: relative; padding-left: 25px !important}
.year-checkbox::before {position: absolute; left: 2px; top: 2px; height: 16px; width: 16px; border-radius: 50%; border: 3px solid var(--sticky-white); content: ''; background-color: var(--sticky-white);}
.year-checkbox.button-trim::before {background-color: var(--trim)}

.draw-actions {float: right; text-align: right}
.draw-actions .action,
.draw-actions a {margin: 0 5px 14px 0}


.school-link {}

input.school-search {margin: 0 0 35px 0}

.appointment {display: inline-block; width: 30%; padding: 14px; border-radius: 4px; border: 1px solid var(--grey); vertical-align: top; font-size: 0.8rem; margin-right: 1%; margin-left: 0}
.appointment-accepted {background-color: var(--green);}
.appointment-resulted {background-color: var(--button-blue-back)}
.appointment-declined {background-color: var(--trim); color: var(--white)}
.appointment-declined *,
.appointment-accepted * {color: var(--white)}
.appointment-pending {background-color: var(--border)}

.postponement {display: inline-block; width: 45%; padding: 14px; border-radius: 4px; border: 1px solid var(--grey); vertical-align: top; font-size: 0.8rem; margin-right: 1%; margin-left: 0}
.postponement-approved {background-color: var(--button-green-back)}
.postponement-declined {background-color: var(--trim)}
.postponement-pending {background-color: var(--border)}

.forfeit {display: inline-block; width: 45%; padding: 14px; border-radius: 4px; border: 1px solid var(--grey); vertical-align: top; font-size: 0.8rem; margin-right: 1%; margin-left: 0}
.forfeit-approved {background-color: var(--button-green-back)}
.forfeit-declined {background-color: var(--trim)}
.forfeit-pending {background-color: var(--border)}

.legend {margin: 10px 0}
  .legend .key {display: inline-block; margin-right: 14px; padding: 7px 10px; font-size: 0.8rem; line-height: 1; border-radius: 4px; cursor: pointer;}
  .legend .key-accepted {background-color: var(--button-green-back); color: var(--green)}
  .legend .key-pending {background-color: var(--border)}
  .legend .key-unassigned {background-color: var(--button-red-back); color: var(--trim)}
  .legend .key-resulted{background-color: var(--button-blue-back); color: var(--blue)}


.status-box           {border-left: 14px solid var(--grey); width: 31%; padding: 14px; border-radius: 4px; vertical-align: top; font-size: 0.8rem; margin-right: 1%; margin-left: 0}
  .status-box.resulted   {background-color: var(--blue); color: var(--white)}
  .status-box.approved,
  .status-box.accepted {background-color: var(--green); color: var(--white)}
  .status-box.declined  {background-color: var(--trim); color: var(--white)}
  .status-box.pending   {background-color: var(--border);}
  .status-box.past   {background-color: var(--border);}

.status-box.assigningnewvenueanddate {}

    /* postponements specific */
    .status-box.assigningnewvenueanddate  {background-color: var(--blue); color: var(--sticky-white)}
    .status-box.awaitingresponsefromopposition {background-color: var(--button-green-back);}
    .status-box.declinedbyopposition {background-color: var(--darker-trim);}
    .status-box.declinedbyadmin {background-color: var(--trim); color: var(--white)}

    .status-box strong {font-weight: bold; display: inline-block; padding: 4px; background-color: var(--sticky-white); border-bottom: 1px solid transparent; border-radius: 7px; color: var(--sticky-black)}
    .status-box.assigningnewvenueanddate strong {color: var(--blue); border-bottom-color: var(--blue)}
    .status-box.pending strong {color: var(--sticky-black); border-bottom-color: var(--border)}
    .status-box.past strong {color: var(--sticky-black); border-bottom-color: var(--border)}
    .status-box.awaitingresponsefromopposition strong {color: var(--button-green-back); border-bottom-color: var(--button-green-back)}
    .status-box.declinedbyopposition strong {color: var(--darker-trim); border-bottom-color: var(--darker-trim)}
    .status-box.declinedbyadmin strong {color: var(--trim); border-bottom-color: var(--trim)}

form.postponement-allocation.opposition-approved,
form.postponement-allocation.opposition-not-responded {background-color: var(--blue)}
form.postponement-allocation.opposition-declined {background-color: var(--darker-trim)}

form.postponement-allocation.opposition-declined strong {border-bottom-color: var(--darker-trim); color: var(--darker-trim)}
form.postponement-allocation.opposition-approved strong {border-bottom-color: var(--blue); color: var(--blue)}
form.postponement-allocation.opposition-not-responded strong {border-bottom-color: var(--blue); color: var(--blue)}

form.postponement-allocation strong {font-weight: bold; padding: 4px; display: inline-block; background-color: var(--sticky-white); border-radius: 7px; color: var(--sticky-black); border-bottom: 1px solid transparent;}
form.postponement-allocation strong.status-label {text-align: center; display: block; margin: 0 0 10px 0;}

form.postponement-allocation.opposition-declined strong.status-label {color: var(--trim)}
form.postponement-allocation.opposition-approved strong.status-label {color: var(--green)}
form.postponement-allocation.opposition-not-responded strong.status-label {color: var(--trim)}

form.postponement-allocation p {color: var(--sticky-white)}

strong.status-label {display: block; margin-bottom: 10px; background-color: var(--sticky-white);}
strong.status-label .status-2 {color: var(--trim)}

.brackets-container{
  display: flex;
  align-items: center;
  gap: 80px;
}

.teamContainer .team{
  border-radius: 10px;
}


p.topic {}
p.topic span.topic-form-show {color: var(--trim); text-decoration: underline; font-size: 14px; display: inline-block; vertical-align: middle; cursor: pointer;}

.cross-icon .action,
.message-icon .action {width: 16px; height: 16px; color: transparent !important; overflow: hidden; text-indent: 100%; line-height: 100%; border: none; vertical-align: middle; padding: 5px}
.cross-icon .action {background: transparent url(../images/delete.png) 50% / 16px 16px no-repeat;}
.message-icon .action {background: transparent url(../images/paper-plane.png) 50% / 16px 16px no-repeat;}
.cross-icon,
.delete-icon {display: inline-block; margin-left: 6px; vertical-align: middle}




.modal-wrapper ul {margin: 0; padding: 0}
.modal-wrapper ul li {list-style: none; margin-left: 0}

.ind-adj {display: inline-block; padding: 4px; border-radius: 4px}
.ind-adj .ind-adj-status-pending {background-color: var(--border) !important}
.ind-adj.ind-adj-status-accepted {background-color: var(--button-green-back); color: var(--green)}




.field-wrapper-hidden,
.hidden {display: none !important}


.debate-filters {margin-bottom: 10px}
.debate-filters h3 {margin: 0 0 4px 0}

.debate-cards {margin: 0 0 35px 0}
.debate-cards h3 {margin: 0 0 4px 0}

h4.topic-string {display: inline-block; margin: 0 0 35px 0; padding: 10px; border: 1px solid var(--border);}


.button-right-container {float: right}
.button-right-container .action {display: block; margin: 0 0 4px 0; text-align: center}



table tr.debate td {padding-top: 8px; padding-bottom: 8px}



.avatar-name {margin: 0 0 34px 0}
.avatar-name img {display: inline-block; vertical-align: middle; margin: 0 25px 0 0; border-radius: 50%; cursor: pointer; width: 80px; height: 80px}
.avatar-name h1 {display: inline-block; vertical-align: middle; margin: 0}


ul.adjudicator-list {margin: 0; padding: 0}
  ul.adjudicator-list li {list-style: none; padding: 0; margin: 0 0 2px 0}

table.adjudicator-selection tr.current-selection td {background-color: var(--faint-trim); color: #000}
table.adjudicator-selection tr.debate-pending .pending-postponement {font-size: 0.8rem; font-weight: normal; padding: 4px 14px 4px 14px; line-height: 1; border: none; border-radius: 6px; background-color: var(--amber); color: var(--black)}

.adjudicator-list .adj-x.status-1 .button {background-color: var(--button-green-back); color: var(--green)}
.adjudicator-list .adj-x.status-2 .button  {background-color: var(--button-yellow-back); color: var(--amber)}
.adjudicator-list .adj-x.status-3 .button  {background-color: var(--button-red-back); color: var(--red)}


ul.logs {margin: 0 0 50px 0; padding: 0}
  ul.logs li {list-style: none; margin: 0 0 4px 0; padding: 14px; border-radius: 6px; font-family: 'Courier New'; font-size: 12px; line-height: 1.4; background-color: var(--button-grey-back)}

ul.pagination {margin: 0; padding: 0; text-align: center}
  ul.pagination li {list-style: none; margin: 0 1px 0 0; padding: 0; display: inline-block}
    ul.pagination a {display: block; width: 20px; height: 20px; text-decoration: none; line-height: 20px; color: var(--black) !important; background-color: var(--button-grey-back) !important; padding: 0 !important; border-radius: 4px}
    ul.pagination li.active a {background-color: var(--trim) !important; color: var(--white) !important; font-weight: bold}

pre.log-pre {white-space: pre-wrap;}
pre.git-changes {padding: 14px; border: 1px dashed var(--black); font-family: 'Courier New'; font-size: 12px; line-height: 1}


.ui-draggable-dragging {max-width: 100px; background-color: var(--trim); color: var(--black); border-radius: 4px; padding: 6px; margin: 0 0 5px 0; font-size: 14px; line-height: 1; cursor: pointer; list-style: none;}
.postponements-box .ui-draggable-dragging {width: 100px; background-color: var(--trim)}
.ui-draggable-dragging p {display: none !important}

.margin-right-2 {margin-right: 2px} /* Pav, why does this need to exist?! */

.already-appointed {display: none !important}


.zones ul li.split-team {background-color: var(--button-yellow-back)}
.zones ul li.selected {background-color: var(--button-green-back)}

.zones ul li.not-draggable {background-color: var(--button-blue-back)}
.zones ul.locked {background-color: var(--button-green-back)}
.zones ul.locked li {opacity: 0.6}

span.lock-icon {display: inline-block; width: 15px; height: 15px; padding: 0; cursor: pointer; vertical-align: middle;}
span.lock-icon.lock-locked {background: transparent url(../images/padlock.png) 50% 50% / 100% no-repeat;}
span.lock-icon.lock-unlocked {background: transparent url(../images/padlock-unlock.png) 50% 50% / 100% no-repeat;}

table .droppable {border-radius: 4px; border: 1px dashed var(--grey-text); padding: 5px; min-height: 40px}
span.draggable-item {display: inline-block; background-color: var(--white); color: var(--black); border-radius: 4px; padding: 6px; margin: 0 0 1px 0; font-size: 14px; line-height: 1; cursor: pointer; list-style: none; margin-right: 2px}

table th.blank-background,
table td.blank-background {background-color: var(--background); text-align: center}



table.report-table.coord-view th,
table.report-table.coord-view td {padding: 14px 10px 14px 10px}

table.report-table.coord-view tr.filter {display: none};

form.inline-form .field-submit {display: inline-block;}


table.qdu-debates-table .droppable:empty::before {content: 'BYE'; display: inline-block; background-color: var(--trim); color: var(--white); border-radius: 4px; padding: 6px; margin: 0 0 1px 0; margin-right: 0px; font-size: 14px; line-height: 1; list-style: none;}
td.border-right {border-right: 1px solid var(--trim)}
.unassigned.draggable.droppable {border: 1px dashed var(--grey-text); min-height: 26px; border-radius: 4px; padding: 5px}

.modal-action .button {}
.modal-action .content {display: none}

.allocated-wrapper .team-el .cross-icon {display: none !important}
.team-el .cross-icon {display: none !important}

.team-el {}
.team-el .cross-icon {float: right}



.grid-debates-allocations-assigned {overflow: scroll; height: calc(100vh - 500px)}

.venue-meta {}
.venue-meta .venue-date {color: var(--trim)}

form.postponement-allocation {background-color: var(--white); border-radius: 4px; padding: 10px; margin: 0 0 10px 0}
form.submit-align-right .field-submit {text-align: right}


.postponement-venues-block {}
  .postponement-venues-block h2 {}
  .postponement-venues-block .venue-data {overflow: hidden}
    .postponement-venues-block .venue-data h3 {}
    .postponement-venues-block .venue-data .venue-date-data {}
    .postponement-venues-block .venue-data .venue-date-data .each-venue {float: left; width: 49%; margin-right: 1%; background-color: var(--white); border-radius: 4px; margin-bottom: 2px; padding: 4px;}
    .postponement-venues-block .venue-data .venue-date-data .each-venue:nth-child(2n) {margin-right: 0}
    .postponement-venues-block .venue-data .venue-date-data .each-venue:nth-child(2n+1) {clear: both}

      .postponement-venues-block .venue-data .venue-date-data h4 {margin: 0 0 2px 0}
      .postponement-venues-block .venue-data .venue-date-data ul {margin: 0 0 10px 0; padding: 0; overflow: hidden}
        .postponement-venues-block .venue-data .venue-date-data ul li {list-style: none; margin: 0 0 2px 0; font-size: 12px; line-height: 1.4}


ul li.main-link {padding: 0 10px 0 0}
  ul li.main-link a {padding: 0 !important; background: transparent url(../images/right-arrow.png) 100% 50% / 12px no-repeat;}



table .select-field .selected {height: 29px; background-position: calc(100% - 10px) 50% !important; min-width: 100px}

.winning-team {background-color: var(--green) !important; color: var(--white) !important}


table tr .team {border-radius: 4px; background-color: var(--border); padding: 4px 8px; display: block; text-align: center}
table tr.winning-team-aff .value-Affirmative .team {background-color: var(--green); color: var(--white)}
table tr.winning-team-neg .value-Negative .team {background-color: var(--green); color: var(--white)}

.logged-in-notice {vertical-align: middle; font-size: 0}
.logged-in-notice .login-data,
.logged-in-notice .action {display: inline-block; cursor: pointer; vertical-align: middle; line-height: 22.4px; height: 22.4px; font-size: 1rem}
.logged-in-notice .action {width: 16px; height: 22.4px; color: transparent !important; overflow: hidden; background: transparent url(../images/cross.png) 50% / 16px 16px no-repeat; margin-left: 14px; vertical-align: middle}


.icon.icon-edit {width: 16px; height: 16px; display: inline-block; margin-right: 5px; background: transparent url(../images/writing.png) 50% 50% / 16px 16px no-repeat; overflow: hidden; color: transparent !important; text-indent: 100%; white-space: nowrap;}


.payment-table, .payment-table th, .payment-table td {border: none; border-collapse: collapse;}

table.payment-table {}
  table.payment-table th {}
  table.payment-table thead {border-bottom: 2px solid var(--background)}
  
  table.payment-table td {background-color: var(--white);}
  table.payment-table tr:nth-child(2n) td {background-color: var(--background)}

  table.payment-table .theader {}
    table.payment-table .theader-gps {background-color: var(--button-red-back)}
    table.payment-table .theader-brisbane {background-color: var(--button-green-back)}
    table.payment-table .theader-toowoomba {background-color: var(--button-blue-back)}
    table.payment-table .theader-goldcoast {background-color: var(--button-yellow-back)}

  table.payment-table .tbody {}
  table.payment-table .tbody:first-child {border-left: none;}
    table.payment-table .tbody-gps {background-color: var(--button-red-back) !important; text-align: center}
    table.payment-table .tbody-brisbane {background-color: var(--button-green-back) !important; text-align: center}
    table.payment-table .tbody-toowoomba {background-color: var(--button-blue-back) !important; text-align: center}
    table.payment-table .tbody-goldcoast {background-color: var(--button-yellow-back) !important; text-align: center}

  table.payment-table .total {background-color: var(--trim) !important; color: var(--sticky-white); text-align: right; font-family: 'Courier New'}
  table.payment-table tr:nth-child(2n) .total {background-color: var(--darker-trim) !important;}
  table.payment-table tr.no-payment td:first-child {background-color: var(--trim) !important; color: var(--white)}

form.align-right {text-align: right}
form.align-right .field * {text-align: left}

.accordion .buttons .button.active {background-color: var(--trim); color: var(--sticky-white)}


table.invoicing td {vertical-align: middle;}

table .highlight-red {background-color: var(--faint-trim); font-weight: bold; color: var(--sticky-black)}
table .highlight-green {background-color: var(--button-green-back); font-weight: bold}

table th.title-Total,
table td.value-Total,
table th.total,
table td.total {text-align: right}

table.invoicing tr:last-child td {text-align: right; font-weight: bold}
table.invoicing tr td:last-child {background-color: var(--trim); color: var(--sticky-white)}


table.small-padding th,
table.small-padding td,
tr.small-padding th,
tr.small-padding td {padding: 7px}

.checkbox-urls {margin: 0 0 35px 0}
  .checkbox-urls .field-wrapper {}
    .checkbox-urls input {display: none}
    .checkbox-urls label {display: inline-block; margin: 0 10px 0 0}
    .checkbox-urls input:checked + label {background-color: var(--trim); color: var(--sticky-white)}

.invoice-date-filter .field {width: 40%; display: inline-block; vertical-align: middle}
.invoice-date-filter .button {vertical-align: middle}


main > section {position: relative;}
.favourite {z-index: 99999; width: 32px; height: 32px; position: absolute; right: 10px; top: 0; background: transparent url(../images/star-white.png) 50% 50% / 100% no-repeat; cursor: pointer; overflow: hidden; color: transparent !important; text-indent: 100%; line-height: 64px}
.favourite.favourited {background-image: url(../images/star-yellow.png)}

ul.coordinator-list li {list-style: none; margin: 0 0 5px 0}
ul.coordinator-list li a {display: inline-block !important; margin-right: 5px; border-radius: 5px; padding: 2px 5px !important}





.quadrant {border: 1px dashed var(--trim); padding: 4px; margin-bottom: 14px}

.matchup {border: 1px solid #000; margin-bottom: 10px; padding: 2px; border-radius: 4px}
.matchup:last-child {margin-bottom: 0}
.matchup span {display: block; border-radius: 4px; background-color: var(--white); padding: 2px;}
.matchup span:first-child {margin-bottom: 2px}


.block-uneligible .droppable .draggable-item span,
.block-eligible .droppable .draggable-item span {margin-left: 4px}

.block-uneligible span.draggable-item,
.block-eligible span.draggable-item {display: block; line-height: 20px}

.block-eligible span.draggable-item.has-forfeit,
.block-uneligible span.draggable-item.has-forfeit {background-color: var(--button-red-back)}

.block-eligible span.draggable-item.withdrawn,
.block-uneligible span.draggable-item.withdrawn {background-color: #f00}

.block-eligible span.draggable-item.withdrawn *,
.block-uneligible span.draggable-item.withdrawn * {color: var(--sticky-white)}

.block-uneligible span.score,
.block-eligible span.score {background-color: var(--trim); color: var(--sticky-white); font-weight: bold; text-align: center; min-width: 20px; height: 20px; line-height: 20px; border-radius: 10px; display: inline-block; margin-right: 4px; margin-left: 0}
.block-uneligible span.wins,
.block-eligible span.wins {color: var(--green);}
.block-uneligible span.losses,
.block-eligible span.losses {color: var(--yellow);}
.block-uneligible span.forfeits,
.block-eligible span.forfeits {color: var(--red);}



table.finals-graph {}
  table.finals-graph th,
  table.finals-graph td {border: none}
  table.finals-graph th {background-color: var(--trim); font-weight: bold; color: var(--white)}

  table.finals-graph .finals-cell-left {text-align: left}
  table.finals-graph .finals-cell-right {text-align: right}
  table.finals-graph .finals-cell-center {text-align: center}


  table.finals-graph tbody td span.match {display: block; border-radius: 4px; padding: 4px; border: 1px dashed var(--black); margin-bottom: 10px; min-height: 55px; position: relative;}
  
  table.finals-graph tbody td span.match.no-info {background: none}
  table.finals-graph tbody td span.match:last-child {margin-bottom: 0 !important}

  table.finals-graph tbody td.round-2 span.match {margin-bottom: 80px}
  table.finals-graph tbody td.round-3 span.match {margin-bottom: 220px}
  table.finals-graph tbody td.round-4 span.match {margin-bottom: 20px}
  table.finals-graph tbody td.round-5 span.match {margin-bottom: 20px}
  table.finals-graph tbody td.round-6 span.match {margin-bottom: 20px}
  table.finals-graph tbody td.round-7 span.match {margin-bottom: 20px}

  table.finals-graph tbody td span.match .team-1,
  table.finals-graph tbody td span.match .team-2 {display: inline-block; background-color: var(--white); border-radius: 4px; padding: 4px}
  
  table.finals-graph tbody td span.match .team-1 {margin-bottom: 5px}


  table.finals-graph tbody td span.match button.view-info {width: 16px; height: 16px; position: absolute; top: 50%; right: 5px; transform: translateY(-50%); padding: 0; border: none; background: transparent url(../images/information-button.png) 50% 50% / 16px 16px no-repeat; cursor: pointer}
  table.finals-graph tbody td.finals-cell-right span.match  button.view-info {right: auto; left: 10px}