* {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 9pt;
}

body {
  background-image: url("watermark.png");
  Background-repeat: no-repeat;
  background-color: #ccc;
  color: black;
}

div.page {
  padding: 0px;
}

div.page div {
  background-color: #eee;
  padding: 10px 5px;
}

div.multi-col-50-50 div {
  padding: 0;
}

h1 {
  color: black;
  font-size: 1.8em;
  font-weight: bold;
  //padding-top: 40px;
  //padding-bottom: 20px;
  font-family:Arial Narrow,Arial,sans-serif;
}

h1.banner {
  color: white;
  padding-left: 8px;
}

h2 {
  color: #888;
  font-size: 1.3em;
  font-weight: normal;
  padding-top: 5px;
  padding-bottom: 5px;
}
.no-line-space h2 {padding-top: 11px; padding-bottom: 11px;
}

p {padding:6px 0px;}
.no-line-space p {padding: 0px;}

li {list-style-position: outside; margin-left:12px}

a {color: rgb(227, 73, 73);}

table {
  border-spacing: 0px 0px;
}

th, td {
//  border-top: 1px solid black;
  border-bottom: 1px solid #ccc;
  text-align: left;
  padding: 0px 10px 0px 10px;
}

table.invisible td {
  padding-left: 0px;
  border-style: none;
  vertical-align: top;
}

table.kalender th, table.kalender td, table.kalender a {
  font-size: 10pt;
  color: black;
}

table.kalender th, table.kalender td {
  padding: 3px 5px 3px 5px;
}

table.kalender td.rood {
  color: rgb(227, 73, 73);
  font-weight: bold;
}


table.kalender tr:nth-child(even) td {background-color: #f8f8f8;}
table.kalender tr.afgelast td {background-color: #ccc;}
table.kalender tr.special td {background-color: #ff8;}

//div {border:1px dotted orange;} /* debug */
//img {border:1px dotted blue;} /* debug */

.grid {
  display: grid;
  grid-template-columns: 2fr 3fr 3fr;
  grid-template-rows: 30px auto auto auto auto auto auto;
  grid-template-areas: 
  "banner   banner  banner"
  "logo     menu1   menu1"
  "logo     menu2   menu3"
  "logo     menu4   menu5"
  "logo     menu6   menu7"
  "title    title   title"
  "page     page    page";
}

.logo     {grid-area:logo;     padding: 20px; background-color: #258;}
.banner   {grid-area:banner;   line-height: 36px; background-color: #258; color: #fff}
.menu1    {grid-area:menu1;}
.menu2    {grid-area:menu2;}
.menu3    {grid-area:menu3;}
.menu4    {grid-area:menu4;}
.menu5    {grid-area:menu5;}
.menu6    {grid-area:menu6;}
.menu7    {grid-area:menu7;}
.menu-end {grid-area:menu-end; background-color:black;}
.page     {grid-area:page;     line-height:140%; padding: 0px 4px;}
.sponsor  {grid-area:sponsor;  padding: 0px 0px; max-width:  40px;}
.sponsor img {max-width: 50px;  max-height: 50px;}
.facebook {grid-area:facebook; padding:13px 15px; width:  40px;}
.youtube  {grid-area:youtube;  padding:14px 25px; width:  70px;}
.title    {grid-area:title;    font-size:1.8em; font-weight:bold; font-family:Arial Narrow,Arial,sans-serif; padding:15px 4px 10px 4px;}

.sponsor-in-page {max-width: 150px;}

.multi-col-75-25 {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
}

.multi-col-50-50 {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
}

.multi-col-25-75 {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
}

.multi-col-25-25-50 {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
}

.multi-col-25-25-25-25 {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto auto;
}

.foto-img     {padding: 5px 0px;}
.foto-caption {font-size:0.9em; font-style: oblique; }

.tc-menu {
  background-color: #147;
  color: white;
  font-size: 1em;
  padding: 4px;
  padding-left: 20px;
}

.tc-menu:hover {
  color:white!important;
  background-color:#136!important
}


.tc-button{border:none;display:inline-block;padding:2px 2px;vertical-align:middle;overflow:hidden;text-decoration:none;color:inherit;background-color:inherit;text-align:center;cursor:pointer;white-space:nowrap}
.tc-button:hover{color:inherit!important;background-color:#136!important;}

.tc-menu-drop{position:relative;display:inline-block;cursor:pointer}
.tc-menu-drop:hover .tc-menu-sub{display:block}
.tc-menu-drop:hover > .tc-button:first-child{background-color:#136;color:inherit}
.tc-menu-sub {cursor:auto;color:#fff;background-color:#147; display:none;position:absolute;min-width:160px;margin:0;padding:0;z-index:1}
.tc-menu-item{width:100%;display:block;padding:8px 16px;text-align:left;border:none;white-space:normal;float:none;outline:0}

p img {margin-right: 4px; position: relative; top: 6px;}
.multi-col-50-50 img {width:100%;}
.multi-col-75-25 img {width:100%;}
.multi-col-25-75 img {width:100%;}
.multi-col-25-25-50 img {width:100%;}
.multi-col-25-25-25-25 img {width:100%;}


@media screen and (min-width:600px) {

  * {font-size: 12pt;}

  hr {
    height: 1px;
    border-width: 0;
    background-color:#ccc;
  }

  h1 {
    padding-top: 40px;
    padding-bottom: 20px;
  }

  h2 {
    padding-top: 20px;
    padding-bottom: 10px;
  }

  h3 {
    padding-top: 15px;
    padding-bottom: 8px;
  }

  div.page {
    background-color: #fff;
    padding: 20px;
  }
  
  div.page div {
    background-color: #eee;
    padding: 20px;
  }
    
  .rit {
    display: grid;
    grid-template-columns: repeat(10,auto);      
    grid-template-areas:
        'dag datum richting afstand vertrek tocht gps pauze wegkapitein opmerking';
  }

  li {list-style-position: outside; margin-left:15px}

  .grid {
    display: grid;
    grid-template-columns: 1fr 140px 100px 100px 140px 100px 100px 300px 1fr;
    grid-template-rows: auto auto auto ;
    grid-template-areas: 
    ". logo banner banner banner banner banner banner ."
    ". menu1 menu2 menu3 menu4 menu5 menu6 menu7 ."
    ". page page page page page page page ." ;
  } 

  .page     {padding:10px 0px 30px 0px;}
  .title    {padding:30px 0px 15px 0px;}
  .sponsor  {padding:0px 0px; width:100px;}
  .sponsor img {max-width: 100px;  max-height: 100px;}
  .facebook {padding:9px 0px; width:60px;}
  .youtube  {padding:5px 0px; width:100px;}
  .tc-menu  {padding-top:8px; padding-bottom:8px;}

  .sponsor-in-page {max-width: 350px;}

  .multi-col-75-25 {
    display: grid;
    grid-template-columns: 3fr 1fr;
    grid-template-rows: auto;
  }

  .multi-col-50-50 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .multi-col-25-75 {
    display: grid;
    grid-template-columns: 1fr 3fr;
    grid-template-rows: auto;
  }

  .multi-col-25-25-50 {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    grid-template-rows: auto;
  }

  .multi-col-25-25-25-25 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
  }

  .multi-col-75-25 {padding: 10px 0px;}
  .multi-col-50-50 {padding: 10px 0px;}
  .multi-col-25-75 {padding: 10px 0px;}
  .multi-col-25-25-50 {padding: 10px 0px;}
  .multi-col-25-25-25-25 {padding: 10px 0px;}

  /* image formating */
  .multi-col-50-50                     img {width:380px;border:1px solid white;box-shadow:0 0 5px 3px #bbb;}
  .multi-col-75-25 div:nth-child(1)    img {width:580px;border:1px solid white;box-shadow:0 0 5px 3px #bbb;}
  .multi-col-75-25 div:nth-child(2)    img {width:180px;border:1px solid white;box-shadow:0 0 5px 3px #bbb;}
  .multi-col-25-75 div:nth-child(1)    img {width:180px;border:1px solid white;box-shadow:0 0 5px 3px #bbb;}
  .multi-col-25-75 div:nth-child(2)    img {width:580px;border:1px solid white;box-shadow:0 0 5px 3px #bbb;}
  .multi-col-25-25-50 div:nth-child(1) img {width:180px;border:1px solid white;box-shadow:0 0 5px 3px #bbb;}
  .multi-col-25-25-50 div:nth-child(2) img {width:180px;border:1px solid white;box-shadow:0 0 5px 3px #bbb;}
  .multi-col-25-25-50 div:nth-child(3) img {width:380px;border:1px solid white;box-shadow:0 0 5px 3px #bbb;}
  .multi-col-25-25-25-25               img {width:180px;border:1px solid white;box-shadow:0 0 5px 3px #bbb;}

  p img {margin-right: 4px; position: relative; top: 6px;}
}




