/** Primefaces schedule are truncating, and we want that fixed globally **/
.fc-day-grid-event .fc-content { white-space: normal; overflow: auto}

/** Sometimes we have to use prime:dataList but don't want any of the decoration.  Be careful with the spacing
    in this as css .a.b is not the same as .a .b (first means where both classes on element, second is b nested in a)
 **/
.dataListNoDecoration {}
body .dataListNoDecoration .ui-datalist-content {border: none; padding: 0;}
.dataListNoDecoration .ui-datalist-content {border: none}
.dataListNoDecoration .ui-datalist-content.ui-widget-content {background: none; color: inherit}
.dataListNoDecoration .ui-datalist-data  { list-style: none; margin: 0px; padding-top:0px}
.dataListNoDecoration .ui-datalist-data li  {margin: 0px}
.dataListWithPaginationNoDecoration .ui-paginator {}
.dataListWithPaginationNoDecoration .ui-widget-header {}
.dataListWithPaginationNoDecoration .ui-datalist-content.ui-widget-content {background: none}
.dataListWithPaginationNoDecoration .ui-datalist-content {border: none; color: inherit;}
.dataListWithPaginationNoDecoration .ui-datalist-content a {color: inherit;}
.dataListWithPaginationNoDecoration .ui-datalist-data  { list-style: none; margin: 0px; padding-top:0px}
.dataListWithPaginationNoDecoration .ui-datalist-data li  {margin: 0px}

/** Common product stuff **/
.productMetaPart { padding: 2px}
.productMetaPart .productMetaPartText { text-align: center;background-color:#0b59a2; color: #ffff00; font-family: 'Righteous', cursive; text-transform: uppercase; }
@media screen and (min-width: 40.063em) {
    .productMetaPart .productMetaPartText {  font-size: large; line-height: 30px; }
}
@media screen and (max-width: 40.063em) {
    .productMetaPart .productMetaPartText { font-size: medium; line-height: 25px; }
}

/** Common Shirt image stuff **/
.teamShirtXSMALL { width:24px; height: 20px; display: inline-block; vertical-align:middle}
.teamShirtSMALL { width:32px; height: 27px; display: inline-block; vertical-align:middle}
.teamShirtLARGE { width:100%; height: 169px; display: inline-block; vertical-align:middle; max-width: 200px}
.teamShirtXSMALL.teamShirtnocolour { background: transparent url("/javax.faces.resource/images/team_shirt_small_nocolour.gif.seam?ln=common-layout&nocache=1583747261708&nocache=1583747261708") no-repeat center; background-size: contain;}
.teamShirtXSMALL.teamShirtsolid { background: transparent url("/javax.faces.resource/images/team_shirt_small_solid.gif.seam?ln=common-layout&nocache=1583747261708&nocache=1583747261708") no-repeat center; background-size: contain;}
.teamShirtXSMALL.teamShirtblackstripes { background: transparent url("/javax.faces.resource/images/team_shirt_small_blackstripes.gif.seam?ln=common-layout&nocache=1583747261708&nocache=1583747261708") no-repeat center; background-size: contain;}
.teamShirtXSMALL.teamShirtwhitestripes { background: transparent url("/javax.faces.resource/images/team_shirt_small_whitestripes.gif.seam?ln=common-layout&nocache=1583747261708&nocache=1583747261708") no-repeat center; background-size: contain;}
.teamShirtSMALL.teamShirtnocolour { background: transparent url("/javax.faces.resource/images/team_shirt_small_nocolour.gif.seam?ln=common-layout&nocache=1583747261708&nocache=1583747261708") no-repeat center;}
.teamShirtSMALL.teamShirtsolid { background: transparent url("/javax.faces.resource/images/team_shirt_small_solid.gif.seam?ln=common-layout&nocache=1583747261708&nocache=1583747261708") no-repeat center;}
.teamShirtSMALL.teamShirtblackstripes { background: transparent url("/javax.faces.resource/images/team_shirt_small_blackstripes.gif.seam?ln=common-layout&nocache=1583747261708&nocache=1583747261708") no-repeat center;}
.teamShirtSMALL.teamShirtwhitestripes { background: transparent url("/javax.faces.resource/images/team_shirt_small_whitestripes.gif.seam?ln=common-layout&nocache=1583747261708&nocache=1583747261708") no-repeat center;}
.teamShirtLARGE.teamShirtnocolour { background: transparent url("/javax.faces.resource/images/team_shirt_large_nocolour.gif.seam?ln=common-layout&nocache=1583747261708&nocache=1583747261708") no-repeat center; background-size: cover;}
.teamShirtLARGE.teamShirtsolid { background: transparent url("/javax.faces.resource/images/team_shirt_large_solid.gif.seam?ln=common-layout&nocache=1583747261708&nocache=1583747261708") no-repeat center; background-size: cover;}
.teamShirtLARGE.teamShirtblackstripes { background: transparent url("/javax.faces.resource/images/team_shirt_large_blackstripes.gif.seam?ln=common-layout&nocache=1583747261708&nocache=1583747261708") no-repeat center; background-size: cover;}
.teamShirtLARGE.teamShirtwhitestripes { background: transparent url("/javax.faces.resource/images/team_shirt_large_whitestripes.gif.seam?ln=common-layout&nocache=1583747261708&nocache=1583747261708") no-repeat center; background-size: cover;}

/** Common Fixture type things **/
.fixtureTypeCUP, .fixtureTypePLAYOFF, .fixtureTypeGRADING, .fixtureTypeGRADING {display: inline-block; width:1em; height: 1em; padding-right: 5px}
.fixtureTypeCUP, .fixtureTypePLAYOFF {background: url("https://images.ottawafootysevens.com/footysevens/icons/trophy.png"); background-size: 1em; background-repeat: no-repeat; }
.fixtureTypeGRADING {background: url("https://images.ottawafootysevens.com/footysevens/icons/letterG.png"); background-size: 1em; background-repeat: no-repeat;}
.fixtureTypeFRIENDLY {background: url("https://images.ottawafootysevens.com/footysevens/icons/letterF.png"); background-size: 1em; background-repeat: no-repeat;}

.body-afterdark .teamShirtSMALL { border: 1px solid grey;  }
.body-afterdark .teamShirtLARGE { }

/** Code Mirror on the dark backgrounds, really hard to see **/
.body-afterdark .CodeMirror {background-color: white}
.body-afterdark .CodeMirror pre {color: black}
.body-afterdark label.ui-outputlabel {color: black; font-weight: bold;}
