/* TOP SECTION LAYOUT */

#cc-container,
#cc-container-gallery {
  padding: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

form.cc-routinefiltering {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.cc-selectfilter-section {
  width: 60%;
  margin-bottom: 20px;
  background-color: #fff;
}

.cc-searchfilter-section {
  width: 38%;
  margin-bottom: 20px;
  background-color: #fff;
}

.cc-sortfilter-section {
  width: 100%;
  margin-bottom: 20px;
  background-color: #fff;
}

/* Smaller than 980 */
@media only screen and (max-width: 980px) {
  form.cc-routinefiltering {
    flex-direction: column;
  }

  .cc-selectfilter-section,
  .cc-searchfilter-section {
    width: 100%;
  }
}

/* Smaller than 980 */
@media only screen and (max-width: 768px) {
  .cc-selectfilter-section {
    margin-top: 20px;
  }
}

/* HEADERS */

.cc-filterheader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background-color: #ccc;
  border-radius: 3px 3px 0 0;
}

#cc-container .cc-filterheader h4,
#cc-container-gallery .cc-filterheader h4 {
  padding-bottom: 0;
  font-family: "area-normal", sans-serif;
  color: #000;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 0;
}

#cc-filters-form .cc-filterheader a,
#cc-filters-form-gallery .cc-filterheader a {
  font-size: 9px;
  text-transform: uppercase;
  color: #000;
  font-weight: 600;
  display: none;
  padding: 5px 8px;
  border-radius: 20px;
  line-height: 1em;
  transition: all 300ms linear 0s;
}

#cc-filters-form .cc-filterheader a:hover,
#cc-filters-form-gallery .cc-filterheader a:hover {
  background-color: #fff;
  transition: all 300ms linear 0s;
  cursor: pointer;
}

#cc-filters-form .cc-filterheader a:before,
#cc-filters-form-gallery .cc-filterheader a:before {
  content: "\f00d";
  color: #000;
  font-family: "Font Awesome 6 Pro";
  font-size: 10px;
  margin-right: 5px;
}

/* FILTER SECTION */

.cc-selectfilter-content {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  border: 1px solid #ccc;
  border-bottom: 0;
  border-radius: 0 0 3px 3px;
}

.cc-selectfilter-content .cc-selectfilter-group {
  flex: 1 1 50%;
  margin-bottom: 0;
  border-bottom: 1px solid #ccc;
}

@media only screen and (max-width: 768px) {
  .cc-selectfilter-content .cc-selectfilter-group {
    flex: 0 50%;
    max-width: 50%;
  }
}

@media only screen and (max-width: 479px) {
  .cc-selectfilter-content .cc-selectfilter-group {
    flex: 0 100%;
    max-width: 100%;
  }
}

/* REGULAR SELECT */

#cc-order-by select {
  font-size: 14px;
  color: #000;
  line-height: 1.3;
  padding: 15px 40px 15px 15px !important;
  line-height: 1.3em;
  box-shadow: none;
  border: 1px solid #ccc;
  border-radius: 0px;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: #ffffff;
  background-image: url("https://cheercast.com.au/wp-content/uploads/2020/06/arrow.png");
  background-repeat: no-repeat, repeat;
  background-position: right 0.8em top 51%;
  background-size: 0.55em auto;
}

/* SELECT2 */

/* this is the SPAN element that is the main parent of the select2*/
.cc-selectfilter-section .select2-container {
  height: 100%;
  padding: 10px;
  font-size: 13px;
  line-height: 1.3em;
  color: #000;
}

/* this is the SPAN element that holds the UL */
.cc-selectfilter-section
  .select2-container--default
  .select2-selection--multiple {
  padding: 0;
  border: 0;
  height: auto;
  min-height: auto;
  border-radius: 0;
}

/* this is the SPAN element that holds the UL when FOCUSED */
.cc-selectfilter-section
  .select2-container--default.select2-container--focus
  .select2-selection--multiple {
  border: 0;
}

/* this is the UL element */
#cc-filters-form
  .cc-selectfilter-section
  .select2-container
  .select2-selection--multiple
  ul.select2-selection__rendered,
#cc-filters-form-gallery
  .cc-selectfilter-section
  .select2-container
  .select2-selection--multiple
  ul.select2-selection__rendered {
  padding: 0;
  list-style-type: none;
  line-height: 1em;
}

/* this is the LI element (which wraps each individual selection as they are added, plus the INPUT field itself) */
.cc-selectfilter-section
  .select2-container--default
  .select2-selection--multiple
  .select2-selection__rendered
  li {
  width: auto;
}

/* this is the INPUT element for typing searches */
.cc-selectfilter-section
  .select2-container
  .select2-search--inline
  .select2-search__field {
  width: auto !important;
  height: auto;
  margin: 0;
  font-size: 13px;
  font-family: "area-normal", sans-serif;
  color: #000;
}

.cc-selectfilter-section
  .select2-container
  .select2-search--inline
  .select2-search__field::placeholder {
  color: rgba(0, 0, 0, 0.7);
}

.cc-selectfilter-section
  .cc-selectfilter-group:nth-of-type(even)
  .select2-container {
  border-left: 1px solid #ccc;
}

/* these are the list items as they are added to the select2 selection */
.cc-selectfilter-section
  .select2-container
  .select2-selection--multiple
  .select2-selection__choice {
  font-size: 10px;
  padding: 3px 6px 4px 6px;
  font-weight: 600;
  border-radius: 3px;
  color: #000;
  background-color: #efefef;
  border: 0;
  margin: 0 5px 5px 0;
  display: flex;
  align-items: center;
}

.cc-selectfilter-section
  .select2-container
  .select2-selection--multiple
  .select2-selection__choice__remove {
  height: 100%;
  font-size: 1px;
  background-color: transparent;
  color: transparent;
  border-radius: 0;
  padding: 0;
  margin-right: 5px;
}

.cc-selectfilter-section
  .select2-container
  .select2-selection--multiple
  .select2-selection__choice__remove::before {
  content: "\f00d";
  font-size: 10px;
  font-family: "Font Awesome 6 Pro";
  color: #000;
  position: relative;
  top: 3px;
}

.cc-selectfilter-section
  .select2-container
  .select2-selection--multiple
  .select2-selection__choice__remove:focus::before,
.cc-selectfilter-section
  .select2-container
  .select2-selection--multiple
  .select2-selection__choice__remove:hover::before {
  color: var(--pagetheme, #3169f7);
}

.select2-container .select2-dropdown {
  border-radius: 3px;
  border: 0;
  box-shadow: 0 15px 40px 0px #32323275;
}

.select2-results__options {
  border-radius: 10px;
}

.select2-results__option {
  font-size: 11px;
  padding: 10px;
  line-height: 1.3em;
}

.select2-container--default
  .select2-results__option--highlighted[data-selected] {
  background-color: var(--pagetheme, #3169f7) !important;
}

@media only screen and (max-width: 479px) {
  .cc-selectfilter-section
    .cc-selectfilter-group:nth-of-type(even)
    .select2-container {
    border-left: 0;
  }
}

.cc-searchfilter-row:not(.cc-filterheader) {
  display: flex;
  border: 1px solid #ccc;
  border-radius: 0px 0px 3px 3px;
}

.cc-searchfilter-row .cc-form-group {
  padding: 5px;
}

.cc-searchfilter-row input#cc-search-box,
.cc-searchfilter-row input#cc-search-box-gallery {
  width: 100%;
  font-size: 13px;
  border: 0;
  padding: 10px;
  line-height: 1.3em;
  font-weight: normal;
  margin-top: 0;
}

.cc-searchfilter-row input#cc-search-box::placeholder,
.cc-searchfilter-row input#cc-search-box-gallery::placeholder {
  color: rgba(0, 0, 0, 0.7);
}

.cc-searchfilter-row a#cc-search-button,
.cc-searchfilter-row a#cc-search-button-gallery {
  font-size: 13px;
  line-height: 1.3em;
  font-family: "area-normal", sans-serif;
  padding: 8px 20px 10px;
  background-color: var(--pagetheme, #3169f7);
  border: 0;
  color: #fff;
  border-radius: 20px;
  font-weight: 700;
  margin: 0px;
  height: 100%;
}

/* SORT SECTION */

.cc-sortfilter-group.cc-sortfilter-sortby {
  height: 100%;
  border-right: 1px solid #ccc;
}

.cc-sortfilter-sortby p {
  display: none;
}

.cc-sortfilter-row.cc-sortcolumns {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  border: 1px solid #ccc;
  border-radius: 0 0 3px 3px;
}

.cc-sortfilter-column {
  flex: 1 1 30%;
}

.cc-sortfilter-sortby .cc-sortby-content {
  display: flex;
  align-items: stretch;
  height: 100%;
}

select#cc-order-by,
select#cc-order-by-gallery {
  font-size: 13px;
  font-family: "area-normal", sans-serif;
  border: 0;
  color: #000;
  padding: 15px 35px 15px 15px !important;
  font-weight: normal;
}

select#cc-order-by:focus {
  border-color: #ccc;
}

#cc-reverse-sort-order,
#cc-reverse-sort-order-gallery {
  margin-left: 0;
  display: none;
}

#cc-sort-order,
#cc-sort-order-gallery {
  padding: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#cc-reverse-sort-order + label,
#cc-reverse-sort-order-gallery + label {
  white-space: nowrap;
  font-size: 13px;
  line-height: 1.3em;
  padding: 8px 20px 10px;
  border: 1px solid var(--pagetheme);
  color: var(--pagetheme);
  border-radius: 20px;
  margin-bottom: 0;
  text-transform: inherit;
  font-family: "area-normal", sans-serif;
  font-weight: 700;
  transition: all 300ms linear;
}

#cc-reverse-sort-order + label:hover,
#cc-reverse-sort-order-gallery + label:hover {
  cursor: pointer;
  background-color: var(--pagetheme);
  color: #fff;
  transition: all 300ms linear;
}

#cc-reverse-sort-order:checked + label,
#cc-reverse-sort-order-gallery:checked + label {
  background-color: var(--pagetheme);
  color: #fff;
}

#cc-reverse-sort-order-gallery + label {
  border-right: 1px solid #ccc;
}

/* REFRESH BUTTON */

.cc-sortfilter-column-refresh {
  display: flex;
  justify-content: center;
}

a.cc-refreshroutines {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  font-family: "area-normal", sans-serif;
  font-size: 13px;
  line-height: 1.3em;
  padding: 15px;
  margin: 0;
  font-weight: 700;
  background-color: transparent;
  color: #000 !important;
  border-radius: 0px;
  width: auto;
  text-align: center;
  transition: all 300ms linear;
}

a.cc-refreshroutines:before {
  content: "\f021";
  font-family: "Font Awesome 6 Pro";
  font-size: 14px;
  margin-right: 10px;
  position: relative;
  top: 2px;
}

a.cc-refreshroutines:hover {
  cursor: pointer;
  background-color: var(--pagetheme, #3169f7);
  color: #fff !important;
  transition: all 300ms linear;
}

/* ROUTINE TOGGLE VIEW */

.cc-sortfilter-toggleview {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
  padding: 5px;
}

.cc-sortfilter-toggleview input.cc-sortfilter-radio {
  position: absolute;
  visibility: hidden;
}

.cc-sortfilter-showallroutines {
  border-radius: 20px 0 0 20px;
}

.cc-sortfilter-showmyroutines {
  border-radius: 0 20px 20px 0;
}

.cc-sortfilter-toggleview input.cc-sortfilter-radio + label {
  font-size: 13px;
  font-family: "area-normal", sans-serif;
  font-weight: 700;
  line-height: 1.3em;
  padding: 8px 20px 10px;
  border: 1px solid #efefef;
  background-color: #efefef;
  color: #000;
  text-transform: inherit;
  margin-bottom: 0;
  width: auto;
  transition: all 300ms linear;
  text-align: center;
  height: auto;
}

.cc-sortfilter-toggleview input.cc-sortfilter-radio + label:hover {
  cursor: pointer;
  transition: all 300ms linear;
  background-color: var(--pagetheme);
  border-color: var(--pagetheme);
  color: #fff;
}

.cc-sortfilter-toggleview
  input.cc-sortfilter-radio
  + label:not(:first-of-type) {
  margin-left: 0px;
  border-left: 0;
}

.cc-sortfilter-toggleview input.cc-sortfilter-radio:checked + label {
  background-color: var(--pagetheme);
  border-color: var(--pagetheme);
  color: #fff;
}

@media only screen and (max-width: 768px) {
  .cc-sortfilter-row.cc-sortcolumns {
    flex-wrap: wrap;
  }

  .cc-sortfilter-column:nth-of-type(1) {
    flex: 0 100%;
    margin-bottom: 0px;
    border-bottom: 0;
  }

  .cc-sortfilter-column:not(:nth-of-type(1)) {
    flex: 1 49%;
  }

  a.cc-refreshroutines {
    border-top: 0;
  }

  .cc-sortfilter-group.cc-sortfilter-sortby {
    border-right: 0;
    border-bottom: 1px solid #ccc;
  }
}

@media only screen and (max-width: 479px) {
  .cc-selectfilter-section,
  .cc-searchfilter-section {
    margin-bottom: 20px;
  }

  .cc-sortfilter-row.cc-sortcolumns {
    flex-direction: column;
    align-items: stretch;
  }

  .cc-selectfilter-content .cc-selectfilter-group {
    flex: 0 100%;
    max-width: 100%;
  }

  a.cc-refreshroutines {
    width: 100%;
    margin: 0;
    text-align: center;
    border-right: 0;
  }

  .cc-sortfilter-toggleview {
    flex-direction: column;
  }

  .cc-sortfilter-toggleview input.cc-sortfilter-radio + label {
    width: 100%;
    text-align: center;
  }

  .cc-sortfilter-toggleview
    input.cc-sortfilter-radio
    + label:not(:first-of-type) {
    margin-left: 0px;
    margin-top: 0px;
    border-left: 1px solid #000;
  }
}

/* ROUTINE ITEM */

.cc-routineitem {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  background-color: #ffffff;
  justify-content: space-between;
  border-radius: 3px;
  padding: 0px;
  margin-bottom: 10px;
  border: 0;
  color: #000;
  transition: all 300ms ease-in-out;
}

.cc-routineitem:hover {
  background-color: #f9fafb;
  transition: all 300ms ease-in-out;
}

.cc-routineitem-info {
  padding: 0px;
  display: grid;
  grid-template-columns: 0.3fr 1fr 1fr 1fr 1fr 0.3fr;
  column-gap: 0px;
  align-items: center;
  align-content: center;
  box-sizing: border-box;
  font-size: 14px;
  flex: 1 85%;
  border: 1px solid #ccc;
  border-right: 0;
  border-radius: 3px 0 0 3px;
}

.cc-routineinfo-group {
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.cc-routineinfo-topline {
  margin-bottom: 0px;
}

.cc-routineinfo-group > div:only-child {
  margin-bottom: 0;
}

.cc-routineinfo-group > div:empty {
  display: none;
}

.cc-routineinfo-bottomline,
.cc-group6-result {
  font-size: 0.9em;
  line-height: 1.3em;
}

/* Routine Info Columns based on whats hidden - still in progress 

.cc-metahidden--resultinfo .cc-resultinfo {
	display: none;
}

.cc-metahidden--resultinfo .cc-routineitem-info {
	grid-template-columns: 0.3fr 1fr 1fr 1fr 0.5fr;
}

*/

.cc-emphasis {
  font-weight: 600;
}

.cc-group6-result {
  text-align: center;
}

.cc-routineitem-action {
  padding: 0px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  align-content: center;
  border: 1px solid #ccc;
  border-radius: 0 3px 3px 0;
}

.cc-routineaction {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  align-content: center;
  height: 100%;
}

.cc-action {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cc-routineitem:not(.cc-routinegallery) .cc-routineitem-action.cc-hasfile {
  border: 1px solid var(--pagetheme, #3169f7);
}

.cc-action a {
  white-space: nowrap;
  display: block;
}

.cc-action:first-of-type {
  margin-right: 0px;
}

.cc-action-watch a {
  background-color: transparent;
  padding: 10px 20px;
  border-radius: 0px;
  color: #000;
  margin-bottom: 0;
  text-decoration: none;
  line-height: 0px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cc-action-download a {
  color: #ccc;
  line-height: 0;
  border: 0;
  padding: 10px 20px;
  border-radius: 0;
}

.cc-action-judge a {
  color: #ccc;
  line-height: 0;
  border: 0;
  padding: 10px 20px;
  border-radius: 0;
  cursor: pointer;
}

.cc-action-watch a:hover,
.cc-action-download a:hover {
  cursor: not-allowed;
}

.cc-routineitem-action.cc-hasfile .cc-action-watch a:hover,
.cc-routineitem-action.cc-hasfile .cc-action-download a:hover {
  cursor: pointer;
}

.cc-action-download a svg {
  fill: transparent;
}

.cc-action-judge a svg {
  fill: transparent;
}

.cc-action-watch a svg {
  fill: transparent;
}

.cc-routineitem-action.cc-hasfile .cc-action-watch {
  background-color: var(--pagetheme, #3169f7);
}

.cc-routineitem-action.cc-hasfile .cc-action-watch a svg {
  fill: #fff;
}

.cc-action .spinner-border {
  margin: 20px;
  width: 18px;
  height: 18px;
  vertical-align: text-bottom;
  border: 3px solid #fff;
  border-right-color: transparent;
}

.cc-routineitem-action.cc-hasfile .cc-action-watch .spinner-border {
  border: 3px solid #fff;
  border-right-color: transparent;
}

.cc-routineitem-action.cc-hasfile .cc-action-download .spinner-border {
  border: 3px solid var(--pagetheme, #3169f7);
  border-right-color: transparent;
}

.cc-routineitem-action .cc-action-downloadzip .spinner-border {
  border: 3px solid #000;
  border-right-color: transparent;
}

.cc-routineitem-action.cc-hasfile .cc-action-download a {
  color: var(--pagetheme, #3169f7);
  border-color: var(--pagetheme, #3169f7);
}

.cc-routineitem-action.cc-hasfile .cc-action-download a svg {
  fill: var(--pagetheme, #3169f7);
}

.cc-routineinfo-separator1,
.cc-routineinfo-separator2 {
  display: none;
}

.cc-routineinfo-group1 {
  grid-row: 1 / span 1;
  grid-column: 1 / span 1;
  flex-direction: row;
  justify-content: center;
  align-content: center;
  align-items: center;
  background-color: #efefef;
  color: var(--pagetheme);
  font-family: "Politica", sans-serif;
  font-size: 18px;
}

.cc-routineinfo-group2 {
  grid-row: 1 / span 1;
  grid-column: 2 / span 1;
}

.cc-routineinfo-group3 {
  grid-row: 1 / span 1;
  grid-column: 3 / span 1;
}

.cc-routineinfo-group4 {
  grid-row: 1 / span 1;
  grid-column: 4 / span 1;
}

.cc-routineinfo-group5 {
  grid-row: 1 / span 1;
  grid-column: 5 / span 1;
}

.cc-routineinfo-group6 {
  grid-row: 1 / span 1;
  grid-column: 6 / span 1;
}

.cc-group6-result sup {
  font-size: 10px;
}

.cc-hide {
  display: none;
}

.cc-hidegroup {
  display: none;
}

/* WHEN RESULT IS HIDDEN */

.cc-metahidden--resultinfo .cc-routineitem-info {
  grid-template-columns: 0.3fr 1fr 1fr 1fr 0.5fr;
}

.cc-metahidden--resultinfo .cc-resultinfo {
  display: none;
}

@media only screen and (max-width: 479px) {
  .cc-metahidden--resultinfo .cc-routineitem-info {
    grid-template-columns: 1fr 1fr;
  }
}

/* Tablet 
@media only screen and ( max-width: 980px ) {
    
    .cc-routineitem-info {
		grid-template-columns: auto 1fr 1fr 1fr 0.5fr;
        grid-template-rows: auto auto;
        align-content: stretch;
        justify-content: stretch;
        grid-row-gap: 0px;
        grid-column-gap: 0px;
    }
    
	
	.cc-routineaction {
		flex-direction: column;
	}

	.cc-routineaction .cc-action {
		height: 50%;
	}
	
	.cc-action:first-of-type {
		border-bottom: 1px solid #000;
		margin-bottom: 0;
		margin-right: 0;
	}
	
	/* ITEM NUMBER 
    .cc-routineinfo-group1 {
        grid-row: 1 / span 1;
        grid-column: 1 / span 1;
        align-self: start;
    }
    
	/* TEAM/PROGRAM 
    .cc-routineinfo-group2 {
        grid-row: 1 / span 2;
		grid-column: 2 / span 1;
		align-self: start;
    }
    
	/* DIVISION/DISCIPLINE 
    .cc-routineinfo-group3 {
        grid-row: 1 / span 2;
        grid-column: 3 / span 1;
        align-self: end;
    }
    
	/* EVENT/EP 
    .cc-routineinfo-group4 {
        grid-row: 1 / span 2;
        grid-column: 4 / span 1;
    }
    
	/* TIME/DAY 
    .cc-routineinfo-group5 {
        grid-row: 2 / span 1;
        grid-column: 1 / span 1;
        align-self: end;
        display: flex;
        flex-direction: column-reverse;
		border-right: 1px solid #000;
    }
    
    .cc-group5-routinetime {
        margin-bottom: 0;
        font-weight: normal;
    }
    
	/* RESULT 
    .cc-routineinfo-group6 {
        grid-row: 1 / span 2;
        grid-column: 5 / span 1;
        align-self: end;
    }
    
    .cc-group5-routineday {
        margin-bottom: 5px;
    }
    
}
          
          /* Mobile Large */
@media only screen and (min-width: 480px) and (max-width: 767px) {
  .cc-routineitem-info {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto;
    align-content: stretch;
    justify-content: stretch;
    grid-row-gap: 0px;
    grid-column-gap: 0px;
  }

  .cc-routineinfo-group1 {
    grid-row: 1 / span 1;
    grid-column: 1 / span 1;
    align-self: start;
  }

  .cc-routineinfo-group2 {
    grid-row: 1 / span 1;
    grid-column: 2 / span 2;
  }

  .cc-routineinfo-group3 {
    grid-row: 2 / span 1;
    grid-column: 2 / span 2;
    align-self: end;
  }

  .cc-routineinfo-group4 {
    grid-row: 3 / span 1;
    grid-column: 2 / span 1;
  }

  .cc-routineinfo-group5 {
    grid-row: 2 / span 1;
    grid-column: 1 / span 1;
    display: flex;
    flex-direction: column-reverse;
    align-self: end;
  }

  .cc-group5-routinetime {
    margin-bottom: 0;
    font-weight: normal;
  }

  .cc-routineinfo-group6 {
    grid-row: 3 / span 1;
    grid-column: 1 / span 1;
    align-self: end;
    border-right: 1px solid #000;
  }

  .cc-group5-routineday {
    margin-bottom: 5px;
  }

  .cc-routineitem-action:not(.cc-hasfile) .cc-routineaction {
    display: none;
  }
}

/* Mobile Small */
@media only screen and (max-width: 479px) {
  .cc-routineitem {
    display: block;
  }

  .cc-routineitem-action {
    display: block;
    width: 100%;
    border-radius: 0 0 3px 3px;
  }

  .cc-routineaction {
    flex-direction: row;
  }

  .cc-routineitem-info {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
    align-content: stretch;
    justify-content: stretch;
    grid-row-gap: 0px;
    grid-column-gap: 0px;
    border-right: 1px solid #ccc;
    border-bottom: 0;
    border-radius: 3px 3px 0 0;
  }

  .cc-routineinfo-group {
    text-align: center;
  }

  .cc-routineinfo-group1 {
    grid-row: 1 / span 1;
    grid-column: 1 / span 2;
    align-self: start;
  }

  .cc-routineinfo-group2 {
    grid-row: 2 / span 1;
    grid-column: 1 / span 2;
    border-bottom: 1px solid #ccc;
  }

  .cc-routineinfo-group3 {
    grid-row: 3 / span 1;
    grid-column: 1 / span 2;
    border-bottom: 1px solid #ccc;
  }

  .cc-routineinfo-group4 {
    grid-row: 4 / span 1;
    grid-column: 1 / span 2;
    border-bottom: 1px solid #ccc;
  }

  .cc-routineinfo-group5 {
    grid-row: 5 / span 1;
    grid-column: 1 / span 1;
  }

  .cc-routineinfo-group6 {
    grid-row: 5 / span 1;
    grid-column: 2 / span 1;
    border-right: 0;
  }

  .cc-metahidden--resultinfo .cc-routineinfo-group5 {
    grid-column: 1 / span 2;
  }

  .cc-routineaction .cc-action {
    width: 50%;
  }

  .cc-routineaction .cc-action:only-child {
    width: 100%;
  }

  .cc-routineaction .cc-action:first-of-type {
    border-right: 0;
  }

  .cc-routineaction .cc-action a {
    padding: 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
  }

  .cc-routineitem-action.cc-hasfile .cc-action {
    border-left: 0;
    border-bottom: 0;
  }
}

/* MODAL CSS */

@media (min-width: 768px) {
  .modal-dialog.cc-videomodal {
    max-width: 800px;
    width: 95%;
    margin: 1.75rem auto;
  }
}

.modal#player-modal {
  background-color: #000000dd;
}

.cc-videomodal .modal-content {
  border: 0;
  border-radius: 3px;
  box-shadow: 0px 5px 20px -5px rgba(0, 0, 0, 0.7);
  background-color: transparent;
}

body > .breakdance {
  -webkit-transition: 100ms -webkit-filter linear;
  -moz-transition: 100ms -moz-filter linear;
  -moz-transition: 100ms filter linear;
  -ms-transition: 100ms -ms-filter linear;
  -o-transition: 100ms -o-filter linear;
  transition: 100ms filter linear, 300ms -webkit-filter linear;
}

body.modal-open > .breakdance {
  filter: blur(3px);
  -webkit-transition: 100ms -webkit-filter linear;
  -moz-transition: 100ms -moz-filter linear;
  -moz-transition: 100ms filter linear;
  -ms-transition: 100ms -ms-filter linear;
  -o-transition: 100ms -o-filter linear;
  transition: 100ms filter linear, 100ms -webkit-filter linear;
}

button.close.cc-modalclose {
  /* position: absolute; */
  z-index: 1099;
  right: 0px;
  top: 0px;
  margin-right: 5px;
  background-color: #000000cc;
  opacity: 1;
  padding: 0;
  border-radius: 20px;
  color: #fff;
  transition: all 300ms linear 0s;
  opacity: 0;
  line-height: 1em;
  display: flex;
  margin-bottom: 2px;
}

button.close.cc-modalclose:hover {
  background-color: var(--pagetheme, #3169f7);
}

button.close.cc-modalclose span {
  display: inline-block;
  height: 100%;
  line-height: 0.5em;
  padding: 4px 7px 8px;
  color: #ffffff;
  text-shadow: none;
  font-size: 18px;
}

.cc-modalclose.close:not(:disabled):not(.disabled):focus,
.cc-modalclose.close:not(:disabled):not(.disabled):hover {
  opacity: 1;
  color: #3169f7;
  transition: all 300ms linear 0s;
}

/* PLAYER CSS */

#cc-plyr-title {
  /* position: absolute; */
  /* display: inline-block; */
  padding: 7px 11px;
  margin: 5px 5px 0 5px;
  border-radius: 20px;
  border: 1px solid #000000;
  background-color: #000000cc;
  color: #ffffff;
  font-size: 8px;
  line-height: 1em;
  transition: opacity 400ms linear 0s;
  opacity: 0;
  z-index: 99;
  text-transform: uppercase;
  font-weight: 700;
}

.modal-content:hover #cc-plyr-title {
  opacity: 1;
  transition: opacity 400ms linear 0s;
}

.plyr--video {
  border-radius: 3px;
}

/* PAGINATION */

.cc-pagination-section {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #9a9a9a;
  padding-top: 10px;
  margin-top: 10px;
  font-size: 14px;
  text-transform: uppercase;
}

.cc-pagination-column {
  flex: 1 49%;
}

.cc-pagination-leftcolumn {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.cc-paginaton-numberofresults {
  font-size: 11px;
}

.cc-paginaton-numberofresults strong {
  font-weight: 900;
}

.cc-pagination-rightcolumn {
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
}

#cc-pagination,
#cc-pagination-gallery {
  margin-right: 0px;
}

#cc-pagination .cc-pagination-container,
#cc-pagination-gallery .cc-pagination-container {
  display: flex;
  border: 1px solid #9a9a9a;
  border-radius: 3px 0 0 3px;
  height: 100%;
}

#cc-pagination span,
#cc-pagination a,
#cc-pagination-gallery span,
#cc-pagination-gallery a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  line-height: 1.3em;
  margin-right: 0;
  color: #000;
  border-radius: 0;
  font-size: 11px;
  font-weight: normal;
}

#cc-pagination span.current,
#cc-pagination-gallery span.current {
  background-color: #efefef;
  color: var(--pagetheme);
  font-weight: 700;
}

#cc-pagination a.next,
#cc-pagination-gallery a.next {
  margin-right: 0;
}

#cc-pagination span:first-of-type.page-numbers,
#cc-pagination-gallery span:first-of-type .page-numbers {
  border-radius: 3px 0 0 3px;
}

#cc-pagination .page-numbers,
#cc-pagination-gallery .page-numbers {
  padding-bottom: 2px;
}

#cc-pagination a.next,
#cc-pagination a.prev,
#cc-pagination-gallery a.next,
#cc-pagination-gallery a.prev {
  background-color: #efefef;
}

#cc-pagination a.next,
#cc-pagination-gallery a.next {
  border-left: 1px solid #9a9a9a;
}

#cc-pagination a.prev,
#cc-pagination-gallery a.prev {
  border-right: 1px solid #9a9a9a;
}

#cc-pagination span.arrow_carrot-right,
#cc-pagination span.arrow_carrot-left,
#cc-pagination-gallery span.arrow_carrot-right,
#cc-pagination-gallery span.arrow_carrot-left {
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  margin-right: 0;
  font-size: 9px;
  color: #000;
}

#cc-pagination span.arrow_carrot-left::before,
#cc-pagination-gallery span.arrow_carrot-left::before {
  content: "\f053";
  margin-left: 0px;
  margin-top: 1px;
}

#cc-pagination span.arrow_carrot-right::before,
#cc-pagination-gallery span.arrow_carrot-right::before {
  content: "\f054";
  margin-left: 0px;
  margin-top: 1px;
}

.cc-pagination-perpage select {
  font-size: 11px;
  padding: 2px 20px 4px 15px !important;
  line-height: 25px;
  background-position: right 1em top 51%;
  background-size: 7px;
  border: 1px solid #9a9a9a;
  border-left: 0;
  border-radius: 0 3px 3px 0;
  font-weight: normal;
  background-color: #fff;
}

.cc-pagination-perpage select:hover {
  cursor: pointer;
}

@media only screen and (max-width: 768px) {
  .cc-pagination-section {
    flex-wrap: wrap;
  }

  .cc-pagination-column {
    flex: 0 100%;
  }

  .cc-pagination-leftcolumn {
    justify-content: center;
  }

  .cc-pagination-rightcolumn {
    justify-content: space-between;
    order: -1;
    margin-bottom: 10px;
  }
}

@media only screen and (max-width: 479px) {
  .cc-pagination-section {
    background-color: #fff;
    border: 1px solid #000;
    padding: 20px;
  }

  .cc-pagination-leftcolumn {
    margin-bottom: 8px;
  }

  .cc-pagination-rightcolumn {
    flex-direction: column;
    order: 1;
    margin-bottom: 0;
  }

  #cc-pagination,
  #cc-pagination-gallery {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .cc-pagination-perpage select {
    border-left: 1px solid #000;
  }
}

/* GALLERIES */

.cc-routinegallery-content {
  width: 100%;
  border: 1px solid #ccc;
  border-top: 0;
  border-radius: 0 0 3px 3px;
}

.cc-routinegallery-collapse {
  width: 100%;
}

a.cc-gallery-button,
a.cc-collapse-gallery {
  font-size: 12px;
  font-weight: 600;
  background-color: #000;
  color: #fff !important;
  padding: 7px;
  line-height: 1.3em;
  min-width: 100px;
  min-height: 30px;
  text-align: center;
}

a.cc-gallery-button:hover,
a.cc-collapse-gallery:hover {
  cursor: pointer;
}

.cc-action-opengallery .progress {
  font-size: 12px;
  font-family: "area-normal", sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 0;
  min-width: 100px;
  min-height: 30px;
  background-color: #000;
  align-content: center;
  align-items: center;
  height: 100%;
}

.cc-action-opengallery .progress-bar {
  color: #fff;
  background-color: var(--pagetheme, #3169f7);
  transition: width 0.6s ease;
  border-radius: 0;
  padding: 10px;
  font-weight: 600;
  line-height: 1.3em;
  min-height: 30px;
  height: 100%;
}

.progress-bar-text {
  color: #fff;
  min-width: 100px;
  text-align: center;
  position: absolute;
}

.cc-action-opengallery {
  background-color: #000;
  min-width: 100px;
  min-height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.cc-action-downloadzip a {
  color: #ccc;
  line-height: 0;
  border: 0;
  padding: 10px 20px;
  border-radius: 0;
}

.lg-backdrop {
  z-index: 999991 !important;
}

.lg-outer {
  z-index: 999992 !important;
}

/* CHANGES KSN */
#cc-plyr-cameras {
  margin-right: 5px;
  z-index: 999;
}

.cc-plyr-cameras-link {
  cursor: pointer;
  /* position: absolute; */
  display: inline-block;
  padding: 7px 11px;
  margin: 5px 0px 0px 0px;
  border-radius: 0px;
  border: 1px solid #000000;
  background-color: #000000cc;
  color: #ffffff;
  font-size: 8px;
  line-height: 1em;
  transition: opacity 400ms linear 0s;
  opacity: 0;
  z-index: 99;
  text-transform: uppercase;
  font-weight: 700;
  height: 24px;
}

.cc-plyr-cameras-link:first-of-type {
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  border-right: 1px solid #ffffff55;
}

.cc-plyr-cameras-link:last-of-type {
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

.cc-plyr-cameras-link svg {
  display: none;
}

.cc-angle-active {
  color: var(--pagetheme, #3169f7);
}

.modal-content:hover .cc-plyr-cameras-link {
  opacity: 1;
  transition: opacity 400ms linear 0s;
}
.modal-content:hover .cc-modalclose {
  opacity: 1;
  transition: opacity 400ms linear 0s;
}

.cc-plyr-button-container {
  display: flex;
  align-items: end;
  /* justify-content: flex-end; */
  /* top: 25px; */
  /* position: relative; */
}
.cc-plyr-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  top: 31px;
  position: relative;
}

.cc-plyr-cameras-title {
  pointer-events: none;
  cursor: default;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  transition: opacity 400ms linear 0s;
  opacity: 0;
  z-index: 99;
}
.modal-content:hover .cc-plyr-cameras-title {
  opacity: 1;
  transition: opacity 400ms linear 0s;
}

.cc-modal-download {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #000000;
  background-color: #000000cc;
  color: #ffffff;
  transition: opacity 400ms linear 0s;
  opacity: 0;
  z-index: 99;
}

.modal-content:hover .cc-modal-download {
  opacity: 1;
  transition: opacity 400ms linear 0s;
}
.cc-modal-download:hover {
  background-color: var(--pagetheme, #3169f7);
}

.cc-routine-list-year {
  padding: 0px 5px;
  font-size: 10px;
  color: #4daab9;
}