/* Main CSS file, for Crewe LHPL Summer 2025 */
/* RedsealSW version 4.7.28.F on Friday, 4 Jul at 13:17:12 */
/* Registered until 31/07/2025 */


HEADER {padding:2vw 0 2vw 0; }

/* Links */
a:link { COLOR: inherit; BACKGROUND-COLOR: transparent; TEXT-DECORATION: underline;}
a:visited { COLOR: inherit; BACKGROUND-COLOR: transparent;}
a:active { COLOR: inherit; BACKGROUND-COLOR: transparent; TEXT-DECORATION: underline;}
a:hover { COLOR: inherit; BACKGROUND-COLOR: transparent; TEXT-DECORATION: underline;}

BODY {FONT-SIZE:100%; MARGIN: 0;}
*.bgroundmain {background-color: #ffffff; color:inherit;}
*.bground {background-color: #ffffff; color:inherit;}

*.ulmcontent { margin: 0; padding: 0; min-height:100vh; min-height:100dvh}
*#contentcenter {TEXT-ALIGN: center;}
img {MARGIN-LEFT: 0.5em; MARGIN-RIGHT: 0.5em}
/* Headers */
h1,h2,h3,h4,h5,h6,*.ulm1,*.ulm3,*.ulm4, ul li {TEXT-ALIGN: center;}
h1, *.ulm1 {font: bold 1.49em /1.79em Tahoma, 'Lucida Grande', sans-serif; COLOR: #000000; BACKGROUND-COLOR: transparent; MARGIN: 0.4vw auto 0.4vw auto;}
h2, *.ulm2 {font: bold 1.32em /1.59em Tahoma, 'Lucida Grande', sans-serif; COLOR: #000000; BACKGROUND-COLOR: transparent; MARGIN: 0.4vw auto 0.4vw auto;}
h3, *.ulm3 {font: bold 1.16em /1.39em Tahoma, 'Lucida Grande', sans-serif; COLOR: #000000; BACKGROUND-COLOR: transparent; MARGIN: 0.4vw auto 0.4vw auto;}
h4, *.ulm4 {font: 0.82em /0.99em Tahoma, 'Lucida Grande', sans-serif; COLOR: #000000; BACKGROUND-COLOR: transparent; MARGIN: 0.4vw auto 0.4vw auto;}
h5 {font: 0.74em /0.89em Tahoma, 'Lucida Grande', sans-serif; COLOR: #000000; BACKGROUND-COLOR: transparent; MARGIN: 0.4vw auto 0.4vw auto;}
h6, *.ulm6 {font: 0.74em /0.89em Tahoma, 'Lucida Grande', sans-serif; COLOR: #000000; BACKGROUND-COLOR: transparent; MARGIN: 0.4vw auto 0.4vw auto;}
*.ulmfooter{COLOR:#000000; BACKGROUND-COLOR:inherit;}
footer{PADDING: 10px}
*.profileText, *.profileData {font: 0.82em /0.99em Tahoma, 'Lucida Grande', sans-serif; COLOR: #000000; BACKGROUND-COLOR: transparent;}
*.profileText {TEXT-ALIGN: right; FONT-WEIGHT: normal;}
*.profileData {TEXT-ALIGN: left; FONT-WEIGHT: bold; PADDING-LEFT: 4px;}
*.profilePic {FLOAT:left;}

/* Tables */
*.withheader { BORDER-COLLAPSE: collapse; MARGIN: 20px auto 20px auto;}
*.withoutheader { BORDER-COLLAPSE: collapse; MARGIN: 20px auto 20px auto;}
* caption { TEXT-ALIGN: center; font: bold 1.32em /1.59em Tahoma, 'Lucida Grande', sans-serif; COLOR: #000000!important; BACKGROUND-COLOR: transparent; BORDER-RADIUS: 0.5em 0.5em 0.0em 0.0em;}
* button {font: bold 1.16em /1.39em Tahoma, 'Lucida Grande', sans-serif;}
*.w3-button {font: bold 1.16em /1.39em Tahoma, 'Lucida Grande', sans-serif;}
table.withoutheader caption, table.withheader TH ,*.kotitle { font: bold 1.16em /1.39em Tahoma, 'Lucida Grande', sans-serif; COLOR: #000000; BACKGROUND-COLOR: #ffff33; BORDER-COLLAPSE: collapse;}

caption {BORDER-TOP-LEFT-RADIUS:0.5vw; BORDER-TOP-RIGHT-RADIUS:0.5vw}
*.withheader caption {BORDER-BOTTOM-LEFT-RADIUS:0.5vw; BORDER-BOTTOM-RIGHT-RADIUS:0.5vw}
*.withheader tr:last-child td:first-child {BORDER-BOTTOM-LEFT-RADIUS:0.5vw}
*.withheader tr:last-child td:last-child {BORDER-BOTTOM-RIGHT-RADIUS:0.5vw}
*.withoutheader tr:last-child td:first-child {BORDER-BOTTOM-LEFT-RADIUS:0.5vw}
*.withoutheader tr:last-child td:last-child {BORDER-BOTTOM-RIGHT-RADIUS:0.5vw}
*.withheader tr:first-child th:first-child {BORDER-TOP-LEFT-RADIUS:0.5vw}
*.withheader tr:first-child th:last-child {BORDER-TOP-RIGHT-RADIUS:0.5vw}

/* Table data */
*#contentcenter td { BORDER-COLLAPSE: collapse; PADDING-LEFT: 4px; PADDING-RIGHT: 4px; VERTICAL-ALIGN:middle;}

/* Table rows */
table.withoutheader tr:nth-child(odd), table.withheader tr:nth-child(even) {BACKGROUND-COLOR: #BFBFBF; COLOR:inherit;}
table.withoutheader tr:nth-child(even), table.withheader tr:nth-child(odd) {BACKGROUND-COLOR: #8F8F8F; COLOR:inherit;}

table.col1ascaption td:first-child {BACKGROUND-COLOR: #ffff33; COLOR:inherit;}

/* Define the widths of all tables */
*.table-matchsheet, *.table-koreport {width: 90%}
*.table-main, *.table-results, *.table-playerstats, *.table-listofmatches, *.table-doublespairs {width: 60%}
*.table-league, *.table-teamlist, *.table-referees, *.table-doublesindividual {width: 50%}
*.table-downloads {width: 40%}

/* Define the font of all table cells */
td.text, td.text4 {font: 0.82em /0.99em Tahoma, 'Lucida Grande', sans-serif; COLOR: #000000; BACKGROUND-COLOR: transparent;}
td.data {font: 0.74em /0.89em Tahoma, 'Lucida Grande', sans-serif; COLOR: #000000; BACKGROUND-COLOR: transparent;}
th.text, td.text3 {font: bold 1.16em /1.39em Tahoma, 'Lucida Grande', sans-serif; COLOR: #000000; BACKGROUND-COLOR: transparent;}
td.textbig {font: bold 1.16em /1.39em Tahoma, 'Lucida Grande', sans-serif; COLOR: #000000!important; BACKGROUND-COLOR: transparent;}
td.sm-text {font: 0.74em /0.89em Tahoma, 'Lucida Grande', sans-serif; COLOR: #000000; BACKGROUND-COLOR: transparent;}
th.fix-data {font-size:0.82em!important}
td.strikethru {text-decoration: line-through;text-decoration-style: double;text-decoration-thickness:2px}
s.strikethru {text-decoration: line-through;text-decoration-style: double;}

/* Define the table cells */
*.ms-score {WIDTH: 8%;}
*#contentcenter *.ms-hteam {WIDTH: 34%; PADDING-RIGHT: 1em}
*#contentcenter *.ms-ateam {WIDTH: 34%;}
*#contentcenter *.ms-iscore {WIDTH: 8%; font-weight: bold;}
*#contentcenter *.ms-fscore {WIDTH: 8%; font-weight: bold;}
*#contentcenter *.ms-thscore {WIDTH: 34%; font-weight: bold;}
*#contentcenter *.ms-tascore {WIDTH: 34%; font-weight: bold;}
*.ms-bscore.data{WIDTH: 8%;}
*.ms-thscore, *.ms-tascore, *.ms-bline {background-color: #ffffff!important}
*.ms-thscore, *.ms-bline {border-left-color: #ffffff!important}
*.ms-tascore, *.ms-bline {border-right-color: #ffffff!important}
*.ms-thscore.last, *.ms-tascore.last {border-bottom-color: #ffffff!important}
*.ms-bigbscore.data{WIDTH: 8%;}
*.ms-bteam.text{WIDTH: 34%;}
*#contentcenter *.lp-data {WIDTH: 8%; PADDING-RIGHT: 0.2em}
*#contentcenter *.lp-pcent {WIDTH: 8%;}
*#contentcenter *.lp-text {WIDTH: 34%;}
*#contentcenter *.lp-team {WIDTH: 34%;}
*#contentcenter *.lp-textN {WIDTH: 100%;}
*.di-text {WIDTH: 25%;}
*#contentcenter *.di-pcent {WIDTH: 10%; PADDING-RIGHT: 1.2em}
*.di-data {WIDTH: 10%;}
*.di-textN {WIDTH: 100%;}
*.dp-text {WIDTH: 25%;}
*#contentcenter *.dp-pcent {WIDTH: 10%; PADDING-RIGHT: 1.2em}
*.dp-data {WIDTH: 10%;}
*.dp-textN {WIDTH: 100%;}
*#contentcenter *.lom-date {WIDTH: 16%;}
*#contentcenter *.lom-textl {WIDTH: 30%;}
*.lom-data {WIDTH: 8%;}
*.lom-result {WIDTH: 8%;}
*#contentcenter *.lom-textr {WIDTH: 30%; PADDING-RIGHT: 1em}
*.lom-textN {WIDTH: 100%;}
*#contentcenter *.lomt-date {WIDTH: 16%;}
*#contentcenter *.lomt-textl {WIDTH: 30%;}
*.lomt-data {WIDTH: 8%;}
*.lomt-result {WIDTH: 8%;}
*#contentcenter *.lomt-textc {WIDTH: 38%;}
*#contentcenter *.lomt-textr {WIDTH: 30%; PADDING-RIGHT: 1em}
*.lomt-textN {WIDTH: 100%;}
*.res-data {WIDTH: 10%;}
*#contentcenter *.res-textl {WIDTH: 40%;}
*#contentcenter *.res-textr {WIDTH: 40%; PADDING-RIGHT: 1em}
*.res-textb {WIDTH: 100%;}
*#contentcenter *.pl-text {WIDTH: 30%;}
*.pl-text img {PADDING-LEFT: 0.5em; PADDING-RIGHT: 1em}
*.table-league *.data {WIDTH: 9.428%;}
*#contentcenter *.table-league *.text {WIDTH: 34%;}
*.mp-text {WIDTH: 25%;}
*.mp1-data {WIDTH: 25%;}
*.mp1-textbig {WIDTH: 50%;}
*.mp1-text {WIDTH: 25%;}
.ms-ateam,.lp-text,.lp-team,.di-text,.dp-text,.lom-textl,.lom-result,.lomt-textl,.lomt-result,.lomt-textc,.res-textl,.pl-text,.table-league *.text {text-align: left}
.ms-score,.ms-iscore,.ms-fscore,.lp-textN,.di-data,.di-textN,.dp-data,.dp-textN,.lom-data,.lom-textN,.lomt-data,.lomt-textN,.res-data,.res-textb,.table-league *.data,.mp-text,.mp1-data,.mp1-textbig,.mp1-text {text-align: center}
.ms-hteam,.ms-thscore,.ms-tascore,.lp-data,.lp-pcent,.di-pcent,.dp-pcent,.lom-date,.lom-textr,.lomt-date,.lomt-textr,.res-textr {text-align: right}
*#contentcenter .lp-pcent {padding-right: 0.6em}
*#contentcenter .ms-ateam,*#contentcenter .lom-date,*#contentcenter .lom-textl,*#contentcenter .lomt-date,*#contentcenter .lomt-textl,*#contentcenter .lomt-textc,*#contentcenter .res-textl,*#contentcenter .pl-text,*#contentcenter .table-league *.text {padding-left: 1.0em}
*#contentcenter .lp-text,*#contentcenter .lp-team {padding-left: 0.5em}

/* Extra CSS bits */
*#contentcenter td.mp-text,*#contentcenter td.mp1-text {VERTICAL-ALIGN: top!important;}
div.mainMatchesAndResults table.table-main tr td {line-height:24px;}
table.table-matchsheet tr:nth-child(11) td{border-bottom: 5px solid;}
th.ms-score.data{font: bold small /120% Tahoma, 'Lucida Grande', sans-serif;}
*.sitesearch {margin: 4px auto 4px auto; width:40%}
*#contentcenter *.sitesearch td { border-style: none;}
*.prevnext a:link {font-weight: bold;padding:0.5em;}
*.iconrs {font-size:0.82em;color:red}
*.lom-newdate, *.ven-newvenue {border-top: 1px solid!important}

.ulm-box-shadow, #contentcenter table, .ulmcontent {box-shadow: 0 4px 8px 0 rgba(0,0,0,0.21),0 4px 16px 0 rgba(0,0,0,0.18);}
.ulm-info-panel {border: 2px solid #1c1c1e!important;border-radius: 12px; width:100%; margin: auto;flex-grow: 1;flex-basis: auto;}
.ulm-info-panel{width: 90.0%;}
*.ulm-nav-bar {margin-top: 16px}
#ulmmenu .w3-button {font-size: 1em}

*.w3-row {padding-top:1em}

/* Styles for small screens */
@media (max-width: 768px) {
BODY, *.ulmcontent, *#contentcenter {BORDER: none !important;}
img, *.knockout *.koround *.match *.playerpic, *.piechart, *.barchart, *.chartheader, *#ulmlistofmatches *.teampic, *.material-icons, *.fa-youtube-play {display: none;}
.ulmfooter img, .fix-data img, .mainMatchesAndResults img, .mandr img {display: inline;}
*#contentcenter table, *#contentcenter .flex-container > div {width:98% !important}
td.data a:link, td.text4 a:link, td.text a:link {line-height: 170%;}
body, *.bgroundmain, *.bground {BACKGROUND-IMAGE:none}
*.kogrid {visibility: collapse; height:0;}
*.kolines1 {visibility: visible; height:auto;}
*.kolines2 {visibility: visible;}
*.ulmtable {overflow-x:auto;}
*.prevnext a:link {font-size:120%}
td.lom-date, *.playersmall {font-size:80%}
th.text, td.text, th.data, td.data, td.textbig, div.noticetext {font-size:60%!important;}
*.nomobile {display: none !important;}
}

/* Iphone portrait */
@media (max-width: 420px) and (orientation: portrait) {
/* Do not display */
*.lom-venue, *.lomt-venue, *.pr-venue, *.pr-opposition, *.hplayerpic, *.aplayerpic {display: none!important;}
}

/* For DeviceTest */
@media (max-width: 420px) {
*.flex-container2.mandr > div {height:150px;}
}
@media (max-height: 280px) {
*.flex-container2 > div {height:30px;}
}

/* Styles for medium screens */
@media (min-width: 769px) and (max-width: 992px) {
*#contentcenter table, *#contentcenter .flex-container > div {width:98% !important}
*.knockout *.koround {width: 25%}
*.navbarwidth {width: 24%;}
th.text, td.text, th.data, td.data, td.textbig, div.noticetext {font-size:90%!important;}
}
