/* treat php-file as css in Netbeans:
<style>
/**/

/*-----------Variables-----------------*/
:root {
  --rootBackgroundColor  : #FFFFFF;
  --bodyBackgroundColor  : #FFFFFF;
  --rootFontFamily       : Arial, Helvetica, sans-serif;
  --rootFontSize         : 16px;
  --rootLineHeight       : 21px;
  
  --bodyMargin           : 0px auto 0px auto;
  --bodyWidth            : 1000px;
  --bodyTextColor        : #333333;
  
  --headerHeight         : auto;
  --headerPadding        : 10px 0px 10px 0px;
  --headerMargin         : auto;
  --headerBorderTop      : auto;
  --headerBorderBottom   : auto;
  --headerFontSize       : 1.33rem;
  --headerLineHeight     : 1.125rem;
  --headerDisplay        : flex;
 
  --headerH1FontSize     : 2.25rem;

  /*--headerLeftLinkBackgroundImage  : ;*/
  --headerLeftLinkBackgroundImage  : url();
  --headerLeftBackgroundRepeat     : no-repeat;
  --headerLeftBackgroundSize       : contain;;
  --headerLeftDisplay              : block;
  --headerLeftHeight               : auto;
  --headerLeftWidth                : 1000px;
  --headerLeftFontSize             : auto;
  --headerLeftContent              :   /* beter use headerLeftContent */
  
  --headerLeftHoverBackgroundImage : auto;
  
  --headerMiddleFlexbasis          : auto;
  --headerMiddleFontSize           : auto;
  
  --topNavTextColor                : auto;
  --topNavFontFamily               : auto;
  --topNavFontSize                 : auto;
  --topNavLetterSpacing            : auto;
  --topNavTextTransform            : auto;
  
  --topNavLinkFontSize             : 1.3rem;

  --headerRightDisplay : none;    
  --headerRightDisplayMobile : block;  --contentWidth : calc(var(--contentWidth) - var(--menuRightWidth) - 25px);  
  --headerHeightMobile          : auto;
  /*--headerHeightMobile          : ;*/
  --headerRightDisplayMobile    : block;  --showMenuRightMobile         : 1;
  --headerRightFontSizeMobile   : 5vh;  --subMenuItemWidthMobile      : 100%;}


/* ----- CSS for all kind of devices -----*/
:root {
  font-family:      var(--rootFontFamily);
  font-size:        var(--rootFontSize);
  line-height:      var(--rootLineHeight);
  background-color: var(--rootBackgroundColor);
}

body {
  margin:           var(--bodyMargin);
  width:            var(--bodyWidth);
  text-align:       var(--bodyTextAlign, left);
  color:            var(--bodyTextColor);
  background-color: var(--bodyBackgroundColor);
}

header {
  height:           var(--headerHeight, 100px);
  padding:          var(--headerPadding, 10px 0px 10px 0px);
  margin:           var(--headerMargin);
  border-top:       var(--headerBorderTop, 1px solid #333333);
  border-bottom:    var(--headerBorderBottom, 1px solid #333333);
  font-size:        var(--headerFontSize, 1.33rem);
  line-height:      var(--headerLineHeight, 1.125rem);
  display:          var(--headerDisplay, flex);
}

#headerLeft {
  height:            var(--headerLeftHeight, 100px);
  width:             var(--headerLeftWidth, 100px);
  flex:         1 1 0px;
}

header h1 {
  font-size:   var(--headerH1FontSize, 2.25rem);
}

#headerLeft > a {
/*#headerLeft {*/
  /*background-image:  var(--headerLeftLinkBackgroundImage, url(../images/logogrijs2.jpg));*/
  /*background-image:  url("../images/VGW_header_1000-1.png");*/
  background-image:  var(--headerLeftLinkBackgroundImage);
  background-repeat: var(--headerLeftBackgroundRepeat, no-repeat);
  background-size:   var(--headerLeftBackgroundSize, contain);
  display:           var(--headerLeftDisplay, block);
  height:            var(--headerLeftHeight, 100px);
  /*width:             var(--headerLeftWidth, 100px);*/
/*  width: 1000px;
  height: auto;*/
  font-size:         var(--headerLeftFontSize, 0);
}

#headerLeft > a {
/*  height: auto;
  width: auto;*/
}
  
#headerLeft > a:hover {
  background-image:   var(--headerLeftHoverBackgroundImage);
  /*background-image:  url("../images/VGW_header_1000-1.png");*/
}

#headerMiddle {
  /*flex-basis:       500px;*/
  /*-webkit-flex-basis: var(--headerMiddleFlexbasis, 50%);*/
  flex-basis:         var(--headerMiddleFlexbasis, 50%);
  margin:             var(--headerMiddleMargin, auto auto);
  font-size:          var(--headerMiddleFontSize);
  text-align:         var(--headerMiddleTextalign, right);
  
}

#headerRight {
  font-size:          var(--headerRightFontSize, 3rem);
  line-height:        var(--headerRightLineHeigth, 90px);
  text-align:         var(--headerRightTextAlign, right);
}

/*#topNav a {*/
#topNav {
  color:              var(--topNavTextColor, #000000);
  font-family:        var(--topNavFontFamily);
  font-size:          var(--topNavFontSize);
  letter-spacing:     var(--topNavLetterSpacing, 1px);
  text-transform:     var(--topNavTextTransform, uppercase);
}

#topNav a {
  font-size:          var(--topNavLinkFontSize);
}

/*--- Basic layout of all menu-item links ---*/

.mainMenuItem, 
.subMenuItem {
  display:block;
  text-decoration: none;
  /*font-size: 0.9375rem;*/
/*  letter-spacing: 1px;*/
  /*text-transform: uppercase;*/
  padding: 0 10px 0 10px;
}

.subMenuItem {
  font-style: italic;
  background-color: white;
}

.subMenuItem:hover {
  color: #827A23; /* military green */
  /*background: #19c589;*/
}

/*-- active menu-item --*/
.active {
  /*background-color: lightgrey;*/
  font-weight: bold;
}

article {
  
}
  
footer {
  height:     20px;
  font-size:  0.8rem;
  text-align: right;
  padding:    10px 0px 0px 0px;
  color:      black;
}

/* Style for forms */
textarea {
  /*float:   right;*/
}
/* -- end CSS for all kind of devices -- */



/*---- Responsive Style for Mobiles ----*/
@media screen and (max-width : 900px) {
  
  body {
    width: 100%;
  }
  
  /*test*/
  /*header > img {*/
  img {
    width: 100%; 
    height: auto; 
  }
  
  header {
    height:        var(--headerHeightMobile, 250px);
    text-align:    left;
    line-height:   5px;
    font-size:     0.5rem;
/*    text-align: center;*/
    padding-left:  10px;
  }
  header h1 {
    /*font-size: 1.0rem;*/
  }
  #headerLeft {
    flex:        1 1 0px;
    /*height:      300px;*/
    width:       1000px;
  }
/*  #headerLeft > a {
  }*/
  
  #headerLeft > a {
/*#headerLeft {*/
  /*background-image:  var(--headerLeftLinkBackgroundImage, url(../images/logogrijs2.jpg));*/
  background-repeat: var(--headerLeftBackgroundRepeat, no-repeat);
  background-size:   var(--headerLeftBackgroundSize, 50px);
  display:           var(--headerLeftDisplay, block);
  /*height:            var(--headerLeftHeight, 50px);*/
  /*width:             var(--headerLeftWidth, 100px);*/
  font-size:         var(--headerLeftFontSize, 0);
}

  #headerLeft:hover {
    
  }
  
  nav {
  /*    height: 0px;*/
  }
  
  #headerMiddle {
   flex-basis:         60%;
  }

  #headerRight {
    font-size:   var(--headerRightFontSizeMobile, 4vh);
    line-height: 50px;
    text-align:  right;
    padding:     4rem 0 0 0;
    display:     var(--headerRightDisplayMobile);
  }
  /*Hide checkbox*/
  /*input[type=checkbox] {*/
  #showMenu {
    display: none;
  }
  /*Show menu when invisible checkbox is checked*/
  /*input[type=checkbox]:checked ~ #menu {*/
  /*#showMenu:checked ~ #menu {*/
  #showMenu:checked ~ #topMenu {
    display: block;
  }

  /*Style 'show menu' label button*/
  .showMenu {
    /*font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;*/
    text-decoration: none;
    /*font-size: 3rem;*/
    /*color: #fff;*/
    /*background: #827A23;*/
    text-align: right;
    /*padding: 0px 10px 20px 0px;*/
    padding: 0px 0px;
    display: block;
  }
  
  #topNav {
/*    padding-bottom: 30px;
    margin-bottom: 30px;*/
  }

  /* Make dropdown links appear inline */
  /*ul {*/
  /*#topNav ul {*/
  /*#topNav > ul {*/
  .mainMenu {
    list-style-type:none;
    margin:0;
    padding:0;
    position: static;
    display: none;
  }
  /*Create vertical spacing*/
  /*#topNav ul li {*/
  .mainMenu > li {
    margin-bottom: 1px;
  }
  /*Make all menu links full width*/
/*  #topNav ul li, 
  #topNav li a {*/
  .mainMenu li, .subMenuItem {
    width: var(--subMenuItemWidthMobile, 70%);
    font-size: 0.8rem;
  }
  /*Display 'show menu' link*/
  #topNav .showMenu {
    display: inline-block;
  }

  /*@media screen and (max-width : 1600px) {*/

  /*Create a horizontal list with spacing*/
  /*#topNav ul li {*/
  .mainMenu li {
    display:      inline-block;
    float:        left;
    margin-right: 1px;
    /*background: #2f3036;*/
    /*background: #EAE9CA;*/
    border-bottom: 1px solid #ddd; /* light grey */
  }
  /*Style for menu links*/
  /*#topNav ul li a {*/
  .mainMenuItem, .subMenuItem {
    height:      50px;
    line-height: 50px;
    /*width:       70%; // TEST 27-01-2020*/
  }
  /*Style for dropdown links*/
  /*#topNav li:hover ul a {*/
  .subMenuItem:hover {
      background: #f3f3f3; /* very light grey */
/*      color: #2f3036;   black */
/*    height: 40px;
    line-height: 40px;*/
  }
  
  /*Hide sub-menu dropdown until they are needed*/
  /*#topNav li ul {*/
  .subMenu {
    display: none;
  }
  /*Make dropdown links vertical*/
  /*li ul li {*/
  .subMenu li {
    display: inline-block;
    float: none;
  }
  /*Prevent text wrapping*/
  /*#topNav li ul li a {*/
  .subMenuItem {  /* not tested*/
/*      width: auto;
      min-width: 100px;
      padding: 0 20px;*/
  }
  /* Display the submenu by hover over the main menu-item or over the submenu itself */
  .mainMenuItem:hover + .subMenu,
  .subMenu:hover {
    display: block;
  }
  
  article {
    padding: 2% 2%;
  }

  footer {
    width:      100%;
    margin:     0;
    /*text-align: right;*/
  }

}  /* -- end @media screen and (max-width : 900px) -- */



/*---- Responsive Style for Computers ---*/
@media screen and (min-width : 900px) {


  /** Hide 'show menu' link **/
  .showMenu, #showMenu {
    display: none;
  }
  
  header {
    /*text-align: center;*/
  }
  
  header {
    /*font-size: 3rem;*/
  }
  header h2 {
    /*font-size: 2rem;*/
  }
  header h3 {
    /*font-size: 1.5rem;*/
  }
  
  #headerLeft {
  }
  #headerRight {
    display:     var(--headerRightDisplay, none);
  }

  #topNav {
    height:        40px;
    margin:        0;
    width:         100%;
    margin:        auto;
    border-bottom: 1px solid var(--bodyTextColor);
  }
  
  /*Strip the ul of padding and list styling*/
  .mainMenu, .subMenu {
    list-style-type: none;
    margin:          0;
    padding:         0;
    position:        absolute;
    width:           inherit;
  }
  /*Create a horizontal list with spacing*/
  .mainMenu > li {
    display:      inline-block;
    float:        left;
    margin-right: 1px;
  }
  /*Style for menu links*/
  .mainMenuItem, .subMenuItem {
    height:      30px;  /* perhaps not needed */
    line-height: 30px;
  }
  /*Make dropdown links vertical*/
  .subMenu > li {
    display: block;
    float:   none;
  }
  .subMenu {
    display: none;
  }
  /*Display the dropdown on hove*/
  .mainMenuItem:hover + .subMenu,
  .subMenu:hover {
    display:      block;
    border-style: none solid solid solid;
    border-width: 0.1px;
    border-color: #999999; /* grey */
  }
  
  article {
    width:       100%;
    margin:      auto;
    padding-top: 2%;
  }
  
  footer {
    width:       100%;
    margin:      auto;
    /*text-align: right;*/
  }
  
  /* --- go-to-top button for computers --- */
  #goTopButton {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    /*background-color: red;*/
    background-color: inherit;
    color: red;
    cursor: pointer;
    padding: 10px;
    /*border-radius: 4px;*/
  }

  #goTopButton:hover {
    color: black;
    background-color: lightgrey;
  }

} /* end @media screen and (min-width : 900px) */

</style>