@charset "UTF-8";
/* CSS Document */

/* Color Palette */
:root {
  --primary-blue: rgb(0, 136, 204);
  --primary-blue-light: rgba(0, 136, 204, 0.1);
  --primary-blue-lighter: rgba(0, 136, 204, 0.05);
  --dark-gray: #444;
  --light-gray: rgb(238, 238, 238);
  --border-gray: #ddd;
  --text-gray: grey;
  --light-bg-gray: rgb(238, 238, 238);
  --light-text-gray: lightgrey;
  --off-white: #eee;
  --white: rgb(255, 255, 255);
  --error-red: rgba(239, 1, 1, 1.00);
  --success-green: rgba(65, 193, 39, 1.00);
  --orange: orange;
  --orange-red: orangered;
  --dark-red: rgb(221, 2, 2);
  --tooltip-bg: rgba(208, 233, 252, 1.00);
  --tooltip-bg-solid: rgb(208, 233, 252);
  --black: #000;
  --border-orange: #F47001;

  /* Spacing Variables */
  --spacing-xs: 5px;
  --spacing-sm: 10px;
  --spacing-md: 20px;
  --spacing-lg: 30px;
  --spacing-xl: 50px;

  /* Layout Variables */
  --menu-width: 50px;
  --content-margin: 70px;
}

@font-face {
  font-family: 'Ubuntu';
  src:  url('../font/Ubuntu-L.ttf')  format('truetype');
}

* {box-sizing: border-box;}
body {background-size: cover;padding:0;margin:var(--spacing-md) 0 40px 0;font-family:'Ubuntu',Geneva, Arial, Helvetica, sans-serif;line-height:20px;font-size:1em;}
.fa {cursor: pointer;}
#menu {position: fixed;top:0;left:0;width: var(--menu-width);height: calc(100vh - 30px);background-color: var(--dark-gray);margin: 0;z-index: 1;}
#menu ol {list-style: none; padding:65px 0;margin:0;}

section {display: block;position: relative;left: 0;margin: 0 var(--spacing-md) 0 var(--content-margin);} 
div.home {border:1px solid var(--light-gray);border-radius: 5px; margin:0px 0;padding:var(--spacing-sm) var(--spacing-sm) 50px var(--spacing-sm);overflow: hidden;position: relative;}
div.registreren,div.informatie {width: 500px;position: relative;left: 50%;margin-left:-250px;}
div.registreren {text-align: center;}
div.informatie h2, div.informatie h3 {margin-top: var(--spacing-lg);}
div.registreren h2,div.registreren h3 {margin-top:var(--spacing-xl);}
div.registreren a {display: block;height: 40px; line-height: 40px; border:1px solid var(--primary-blue);border-radius: 20px;font-weight: bold;width: 200px;left:50%; margin-left:-100px;position: relative;}
div.registreren a:hover {text-decoration: none;filter: brightness(90%);}
div.registreren a.registreren {color:var(--white);background-color: var(--primary-blue);}
div.registreren a.inloggen {color:var(--primary-blue); background-color: var(--white);}

header {display: block;position: relative;left: 0;margin: 0;width: 100vw;border-bottom: 2px solid var(--border-orange);text-align: right;padding: var(--spacing-sm) var(--spacing-md) var(--spacing-sm) calc(var(--content-margin) + var(--spacing-md));}
header h1 {font-size: 2em;margin: 0;}

footer {display: block;width: 100%; height: 30px; line-height: 30px; position: fixed;left:0; bottom:0px; background-color: var(--dark-gray); color: var(--white);font-size: 0.65em;padding: 0 0 0 var(--content-margin);}
footer a {color: var(--white);}

span.melding {position: fixed;top:var(--spacing-lg);right:var(--spacing-md); border-radius: 6px; display: block;width: 400px; margin:80px 0; padding: var(--spacing-sm); background-color:var(--error-red); color:var(--white); animation: fadeinout 5s ease forwards;z-index: 2;}
@keyframes fadeinout {
  0% { opacity: 100;top:0px;}
  85% { opacity: 100;top:0px;}
  100% { opacity: 0;top:0px;}
}
span.melding.succes {background-color: var(--success-green);}
span.melding.info {background-color: var(--primary-blue);}
a {text-decoration:none;color:var(--primary-blue)}
a:hover {text-decoration: underline;cursor: pointer;}
a.disabled-link{pointer-events: none;color:var(--text-gray);}
a.verwijdercompetitie {color: var(--error-red);}
span.verwijderWedstrijd {color: var(--error-red);cursor: pointer;display:block; float:right; padding: 0 10px}
img {margin:0 0 0 0;}
img.logo {margin-left:var(--spacing-xl);}
h1 {font-size:1.7em;font-weight:500;padding:0px 0 var(--spacing-sm) 0;margin:var(--spacing-sm) 0;}
h2 {font-size:1.5em;font-weight:500;padding:0px 0 var(--spacing-sm) 0;margin:var(--spacing-sm) 0;}
h2.speeldag {display: none;}
h3 {font-size:1.3em;font-weight:500;padding:0px 0 var(--spacing-sm) 0;margin:var(--spacing-sm) 0;}
h4 {width: 1024px;font-size:1.1em;font-weight:500;padding:0px 0 var(--spacing-sm) 0;margin:var(--spacing-sm) 0;}
h5 {width: auto;white-space: nowrap;font-size: 1em;font-weight: normal;padding: 0;margin:0;}

ul li {line-height: 20px;}
table {border-collapse: separate; border-spacing: 0;min-width: 300px;}
td,th {border:1px solid var(--border-gray);border-style: none solid solid none;}
tr:first-child th:first-child { border-top-left-radius: 5px; }
tr:first-child th:last-child,tr:first-child td:last-child { border-top-right-radius: 5px; }
tr:last-child th:first-child { border-bottom-left-radius: 5px; }
tr:last-child td:last-child { border-bottom-right-radius: 5px; }
tr:first-child td, tr:first-child th { border-top-style: solid; }
tr td:first-child, tr th:first-child { border-left-style: solid; }

table.formulier {width: auto;}
table.speeldagen {width: 100%;}
table.speeldagen th {border:none;}
table.speeldagen td {border:none;}
th {white-space: nowrap;}
a.toggleUitleg {cursor: pointer; float: right;font-weight: bold;text-decoration: none;}
td.uitleg {min-width: 300px;}
td,th {padding:var(--spacing-xs);vertical-align: top;text-align: left;line-height: 30px;}
tr.current td, tr.current th {background-color: var(--primary-blue-light);font-weight: bold;}
/*tr.current th {border-left: 5px solid var(--primary-blue);}
tr.current td, tr.current th {border-bottom: 1px solid var(--primary-blue);} */
tr.gespeeld td {color: var(--text-gray);}
tr.nietGespeeld td {font-weight: bold;}
table.schema td.tijden {white-space: nowrap;}
td.concept {position: relative;}
td.concept table.wedstrijd td {font-style: italic;}
table.wedstrijd td {text-align: center;vertical-align: middle; border:none;line-height: 20px;}
table.wedstrijd td span {margin:0 1px;padding: 0;position: relative;}
table.wedstrijd td span sup {cursor: pointer;}
span[alt]:hover::after, sup[alt]:hover::after {
	content: attr(alt);
	position: absolute;
	white-space: nowrap;
  top:-20px;
	font-size: 12px;
	border:1px solid var(--dark-gray);
	border-radius: 5px;
	padding:var(--spacing-xs);
  background-color: var(--tooltip-bg);
  color: var(--black);
  z-index: 3;
}
td.uitslag {font-weight: bold;font-size: 0.9em;white-space: nowrap;}
td.team {width: auto;}
td.team.B {background-color: var(--primary-blue-lighter);}
span.team {font-weight: bold;}
.showFeedback {cursor: pointer;color: var(--primary-blue);font-size: 0.9em;text-decoration: underline;display: block;}
.feedbackPanel {position: absolute; margin-top: var(--spacing-sm);padding: var(--spacing-sm);background-color: var(--light-bg-gray);border: 1px solid var(--border-gray);border-radius: 5px;font-size: 0.9em;color: var(--dark-gray); z-index: 4;}
.feedbackPanel ul {list-style: disc; margin:0; padding-left: var(--spacing-md);}
div.spelers {padding:0;margin:var(--spacing-sm) 0;}
div.groep {width: 100%;clear: both; padding: var(--spacing-sm) 2px 2px 2px;font-style: italic;}
div.speler {float: left;border: none;padding:2px var(--spacing-sm) 2px 0;text-align: left;overflow: hidden;}
td.team.A div.v, td.team.A div.V {background-color: var(--off-white);}
td.team.B div.v, td.team.B div.V {background-color: var(--primary-blue-light);}
div.spelerCb {width: 30px;float: left;}
label.spelerNaam {width: 200px;float: left;}
div.spelerGss {width: 50px;float: left;}
tr.uitgeloot {color: var(--error-red);}
input[type=number].inputCriterium {width: 50px;}

label {position:relative; padding-right: var(--spacing-xs);}
label.samengespeeld1 {color: var(--orange);}
label.samengespeeld2 {color: var(--orange-red);}
label.samengespeeld3 {color: var(--dark-red);}
label.tegengespeeld1 {text-decoration: underline;text-decoration-color: var(--orange);}
label.tegengespeeld2 {text-decoration: underline;text-decoration-color: var(--orange-red);}
label.tegengespeeld3 {text-decoration: underline; text-decoration-color: var(--dark-red); }
label.tegengespeeld4 {text-decoration:line-through; text-decoration-color: var(--dark-red);}
label[alt]:hover::after {
    content: attr(alt);
    position: fixed;
    white-space: nowrap;
    font-size: 0.5em;
    border: 1px solid var(--dark-gray);
    border-radius: 5px;
    padding: var(--spacing-xs);
    font-size: 12px;
    background-color: var(--tooltip-bg-solid);
    color: var(--black);
    z-index: 3;
}
label.samengespeeld1:hover::after {content: "1 keer";}
label.samengespeeld2:hover::after {content: "2 keer";}
label.samengespeeld3:hover::after {content: "3 keer of meer";}
label.tegengespeeld1:hover::after {content: "1 keer";}
label.tegengespeeld2:hover::after {content: "2 keer";}
label.tegengespeeld3:hover::after {content: "3 keer";}
label.tegengespeeld4:hover::after {content: "> 3 keer";}
input,button,textarea {font-size: 15px;margin:2.5px; padding:2.5px;}
select {font-size: 15px;padding:2.5px;-webkit-appearance: none; appearance: none;}
button {line-height: 25px;margin: var(--spacing-xs); padding:2.5px var(--spacing-sm); border:1px solid var(--primary-blue); border-radius: 12.5px; background: none;color:var(--primary-blue);min-width: 100px}
button:hover {cursor: pointer; color: var(--white);background-color: var(--primary-blue);}
button:disabled {cursor: not-allowed;opacity: 0.5;}
input[type=text] {width:500px;border: 1px solid var(--border-gray);border-radius: 5px;line-height: 22px;}
input[type=password],input[type=email],input[type=text].naam {width: 300px; line-height: 20px;border:1px solid var(--border-gray);border-radius: 5px;}
input[type=text].mail {width: 500px; line-height: 22px;border:1px solid var(--border-gray);border-radius: 5px;}
input[type=text].instellingen {width: 500px;}
input[type=text].ronde {width: 120px;}
input[type=text].opmerking {width: auto;}
input[type=text].zoekDeelnemer {width: 200px;}
textarea {width: 500px; height: 300px;}
/* mailbox */
#id {display: none;}
.Mappen {width: 150px;}
.berichtenmap {padding:0 0px 0 var(--spacing-sm);border-radius: 12px; line-height: 26px; margin:var(--spacing-sm) 0; cursor:default;}
.berichtenmap.selected {background-color: var(--light-bg-gray);;color:var(--primary-blue);}
.berichtenmap span {display: block;float: right; margin:4px 5px 1px; border-radius: 10px;text-align: center; width: 20px;height: 20px;font-weight: bold;background-color: none;color:var(--light-text-gray);line-height: 20px;}
.berichtenmap.selected span {background-color: var(--light-bg-gray);color:var(--primary-blue);}
.Berichten {min-width: 275px; width: 33.3%;}
td.berichten div {max-height: 420px;overflow-y: auto;}
ol {list-style: none; margin:0; padding:var(--spacing-xs);}
ul.berichten {margin:0;padding:0px 2.5px}
ul.berichten li {padding:var(--spacing-xs);cursor:default;}
ul.berichten .Id {display: none;}
ul.berichten .Ander {display:block; float: left; font-weight:  bold; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;}
ul.berichten .Datum {display: block;float: right;color: var(--text-gray); font-size: 0.95em;}
ul.berichten .Onderwerp {display: block;color: var(--black); clear: both; font-size: 0.95em; width: 200px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;}
ul.berichten div.Ik {width: 300px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;}
ul.berichten span.Ik {color: var(--text-gray); font-size: 0.95em;}
ul.berichten .Bericht, ul.berichten .berichtDatum, ul.berichten .vanEmail {display: none;}
ul.berichten li {padding: var(--spacing-xs);}
ul.berichten li.selected {background-color:var(--primary-blue); color:var(--white);}
ul.berichten li.selected .Ander {color:var(--white);}
ul.berichten li.selected .Datum {color:var(--white);}
ul.berichten li.selected .Onderwerp {color:var(--white);}
ul.berichten li.selected .Ik {color:var(--white);}
td.bericht {overflow: hidden;height: 400px;}
#formBewerken {position: absolute;top:100px;left:290px;}
#mailHeader {display: block;width: 100%; height: 70px;line-height: 22px; }
#mailHeader .Ander {display:block; float: left; font-weight:  bold;  font-size: 1.1em;}
#mailHeader .Datum {display: block;float: right;color: var(--text-gray); font-size: 1em;}
#mailHeader .Onderwerp {display: block;color: var(--black); clear: both; font-size: 1em;}
#mailHeader .Ik {color: var(--text-gray); font-size: 1em;}
td.bericht {position: relative;}
#labelGeenBerichtGeselecteerd {position: absolute;left:calc(50% - 150px); display: none;color:darkgrey;font-size: 1.5em;width: 300px;}
#mailBody {display: block; width:100%; min-height: 350px; padding:var(--spacing-md) var(--spacing-sm);border: none; overflow-y: auto;resize: none;}
@media print {
	span.melding {display: none;}
	h1 {font-size: 1em;}
	h2.speeldag {display:inline;font-size: 1.2em}
	h4,h5 {display: none;}
	.nieuweronde {display: none;}
	a {color: var(--black);}
	footer {position: static;left: auto;bottom: auto;padding-left:15px;}
	footer, footer a {color: var(--black);}
}
@media only screen and (max-width: 900px) {
  :root {
    --menu-width: 45px;
    --content-margin: 65px;
  }
  section {margin: 0 var(--spacing-sm) 0 var(--content-margin);}
  header {padding: var(--spacing-sm) var(--spacing-sm) var(--spacing-sm) calc(var(--content-margin) + var(--spacing-sm));}
  footer {padding: 0 0 0 var(--content-margin);}
  h4 {width: 100%;}
  div.registreren,div.informatie {width: 90%;margin-left: -45%;}
  input[type=text],input[type=text].mail,input[type=text].instellingen {width: 100%;}
  textarea {width: 100%;}
  span.melding {width: 90%;right: var(--spacing-sm);left: var(--spacing-sm);}
}
@media only screen and (max-width: 600px) {
  :root {
    --menu-width: 40px;
    --content-margin: 50px;
    --spacing-md: 15px;
  }
  body {margin: var(--spacing-sm) var(--spacing-xs) var(--spacing-md) var(--spacing-xs);}
  #menu {width: var(--menu-width);}
  section {margin: 0 var(--spacing-xs) 0 var(--content-margin);}
  header {padding: var(--spacing-sm) var(--spacing-xs) var(--spacing-sm) calc(var(--content-margin) + var(--spacing-xs));}
  footer {padding: 0 0 0 var(--content-margin);font-size: 0.6em;}
  img.logo {margin-left: var(--spacing-sm);}
  
  /* Forms responsive */
  div.registreren,div.informatie {width: 95%;margin-left: -47.5%;}
  div.registreren a {width: 85%;margin-left: -42.5%;}
  input[type=text],input[type=password],input[type=email],input[type=text].naam,input[type=text].mail,input[type=text].instellingen,input[type=text].ronde {width: 100%;}
  button {min-width: 80px;padding: 2.5px var(--spacing-xs);}
  textarea {width: 100%;height: 200px;}
  
  /* Tooltip and messaging */
  span.melding {width: 90%;right: var(--spacing-xs);left: var(--spacing-xs);font-size: 0.9em;width: calc(100% - var(--spacing-md));}
  span[alt]:hover::after, sup[alt]:hover::after, label[alt]:hover::after {font-size: 11px;top: -22px;}
  table[text]:hover::before {font-size: 11px;top: -22px;}
  
  /* Tables responsive */
  .schema {width: 100%;}
  .schema thead { display: none; }
  .schema tr { display: block; margin-bottom: 1em;border: 1px solid var(--light-gray);border-radius: 5px; }
  .schema td {
    display: block;
    text-align: right;
    position: relative;
    padding: var(--spacing-xs) var(--spacing-sm);
    border: none;border-bottom: 1px solid var(--border-gray);
  }
  .schema td:last-child {border-bottom: none;}
  .schema td::before {
    content: attr(data-label);
    position: absolute;
    left: var(--spacing-sm);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85em;
    color: var(--text-gray);
  }
  
  /* Mailbox responsive */
  .Mappen {width: 100%;margin-bottom: var(--spacing-md);}
  .Berichten {width: 100%;margin-bottom: var(--spacing-md);}
  td.berichten div {max-height: 300px;}
  ul.berichten .Onderwerp {width: 100%;}
  ul.berichten div.Ik {width: 100%;}
}
@media only screen and (max-width: 360px) {
  :root {
    --spacing-md: 10px;
  }
  h1 {font-size: 1.1em;}
  h2 {font-size: 1.2em;}
  h4 {font-size: 0.5em;}
  input[type=text].ronde {width: 100px;}
}