/* GENERAL STYLES */

  body,html{
    height: 100%;
    width: 100%;
    color: black;
    border: 0;
    margin: 0;
    padding-right: 8px;
    padding-left: 8px;
    font-size: 12pt;
    font-family: 'Source Sans Pro', helvetica, sans-serif;
    line-height: 1.3;
    font-weight: 400;
    background: white;
  }

  *{
      -webkit-box-sizing: border-box;
          -moz-box-sizing: border-box;
          box-sizing: border-box;


    -webkit-transition: all 200ms ease;
    -moz-transition: all 200ms ease;
    -o-transition: all 200ms ease;
    transition: all 200ms ease;
  }

::-moz-selection { /* Code for Firefox */
  color: black;
  background: orange;
}

::selection {
  color: black;
  background: orange;
}

  a{
    color: #000;
    outline: 0;
    text-decoration: underline;
    cursor: pointer;
  }

  a:hover,  a:active{
    text-decoration: underline;
    cursor: pointer;
  }

  
  a[href], input[type='submit'], input[type='image'], label[for], select, button, .pointer {
       cursor: pointer;
}

  a.active{
    cursor: pointer;
  }

  a.active:hover{
    cursor: pointer;
    text-decoration: none;
  }

  img{
    max-height: 100%;
    max-width: 100%;
  }

  .pure-g{
    margin-bottom: 8px;
    
    
  }

  .pure-g [class *= "pure-u"]{

  }


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

  /* SITE STYLES */

  .container{
    max-width: 1330px;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0em;
    padding-right: 0em;
    background: white;
    border-right: 0px solid #EEE;
    border-left: 0px solid #EEE;
  }

  .pure-button{
    background-color: white;
  }

  .header{
    font-size: 0.8em;
    padding-bottom: 0.5em;
    padding-left: 0.5em;
    margin-top: 1.5em;
    border-bottom: 1px solid #FFF !important;
    margin-bottom: 0.5em;
    background-color: white;
  }

  .header .edition{
    padding-left: 10px;
    font-size: 1.2em;
    font-variant: small-caps;
  }

  .header .pure-menu-list{
    padding-top: 13px;
    width:100%;
  }


  .header .pure-menu-list > .pure-menu-item:after{
    content: ' ! ';
    color: #999;
  }

  .header .pure-menu-list > .pure-menu-item:last-child:after{
    content: '';
    padding-right: 5px;
  }

  .header .pure-menu-children{
    padding: 3px;
    background-color: white;
    border-bottom: 1px solid black;
    -webkit-transition:  opacity 1s;
    transition: opacity 1s;
  }

  .header .pure-menu-item.active a{
    border-bottom: 1px solid black;
    cursor: pointer;
  }

  .header ul li > ul,
  .courge-side-menu ul li > ul {
    opacity: 0;
    display: none;
    height: 0px;
    overflow: hidden;
  }

  /* Display Dropdowns on Hover */
  .header ul li:hover > ul,
  .courge-side-menu ul li:hover > ul {
    opacity: 1;
    display: block;
    height: auto;
    overflow: hidden;
  }

  .courge-side-menu{  
    font-size: 1em;
  }

@media screen and (max-width: 48em){
  .courge-side-menu{  
    max-height: 25vh;
  } 
}

  .courge-side-menu .pure-menu-children {
    display: block;
  }

  .courge-side-menu .pure-menu-has-children > .pure-menu-children {
    display: block;
  }

  .courge-side-menu .pure-menu-list{
    margin-bottom: 1em;
    padding-bottom: 1em;
  }

  .courge-side-menu .pure-menu-list .separation{
    margin-bottom: 0.5em;
    padding-bottom: 0.5em;
    border-bottom: 1px solid black;
  }

  .courge-side-menu .pure-menu-item{ 
    line-height: 19pt;
  }

  .courge-side-menu .pure-menu-item a{
    
    padding-bottom: 0em;
    line-height: 1em;
    cursor: pointer;
    text-decoration: none;

    -webkit-transition: font 0.2s, border ease 0.2s, padding 0.5s, background 0.6s; /* Safari */
    transition: font 0.2s, border ease 0.2s, padding 0.5s, background 0.6s;
  }

  .courge-side-menu .pure-menu-item:hover + .pure-menu-item
  {  
    padding-top: 0em;
    cursor: pointer;
  }

  .courge-side-menu .pure-menu-item a:hover
  { 
    font-size: 1.1em;
    cursor: pointer;
    padding-left: 0em;
  }

  .pure-menu-item a {
    position: relative;
    color: black;
    background-color: white;
    text-decoration: none;
  }

  .pure-menu-item a:hover {
    color: black;
  }

  .pure-menu-item a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 20px;
    bottom: 0px;
    left: 0%;
    background-color: rgba(255,255,255,1);
    mix-blend-mode: difference;

    -webkit-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
    -ms-transform: matrix(1, 0, 0, 1, 0, 0); /* IE 9 */
    -webkit-transform: matrix(1, 0, 0, 1, 0, 0); /* Safari */
    transform: rotate(0deg) translate(50%, 0px) scale(0,1)
  }

  .pure-menu-item:not(.active) a:hover:before {
    visibility: visible;
    cursor: pointer;
    -webkit-transform: scaleX(1);
    transform: skewY(30deg);
    -ms-transform: matrix(1, 0, 0, 1, 0, 0); /* IE 9 */
    -webkit-transform: matrix(1, 0, 0, 1, 0, 0); /* Safari */
    transform: rotate(0deg) translate(0%, 0px) scale(1.2, 1.2)
  }



  .courge-side-menu .pure-menu-item.active a:before
  {
    visibility: visible;
    -webkit-transform: scaleX(1);
    transform: skewY(0deg);
    cursor: pointer;
    -ms-transform: matrix(1, 0, 0, 1, 0, 0); /* IE 9 */
    -webkit-transform: matrix(1, 0, 0, 1, 0, 0); /* Safari */
    transform: rotate(0deg) translate(0%, 0px) scale(1.1, 1.1)
  }

  .pure-menu-item .pure-menu-style a:hover
  { cursor: pointer;
    color:blue;
    padding-top: 3em;
  }

  .info{
    border: 3px double red;
    width: 100%;
    padding: 20px;
    text-align: center;
    font-weight: bold;
  }

  .rect{
    display: inline-block;
    width: 25px;
    height: 15px;
    border: 1px solid black;
    margin-right: 0.5em;
  }

  .green{
    background-color: #00FF00;
  }

  .red{
    background-color: red;
  }

  .footer{
    border-top: 1px solid black;
    margin-top: 1em;
    padding-top: 0.5em;
    font-size: 0.9em;
  }

  /* HELPER CLASSES */

  .lined{
    margin-left: 0.5em;
    margin-right: 0.5em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    border-top: 0px solid black;
  }

  .lined p:first-child{
    margin-top: 0px;
    padding-top: 0px;
    }

  .lined:hover{
    margin-left: 0.5em;
    margin-right: 0.5em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    border-top: 0px solid white !important;
  }

  .justified{
      text-align: justify;
      text-justify: inter-word;
  }

  .inline{
    display: inline;
  }

  .center{
    text-align:center;
  }

  .centered{
    margin-left: auto;
    margin-right: auto;
  }
  
  .align-right{
    text-align: right;
  }
