/*
  CSS 
  W3C Mobile Web: Best Practices
  Author: Miguel A. Rodriguez-Garcia
*/


/* GENERAL STYLES */
html{
  font-family: Helvetica, Arial;
  font-size: 12px;
}

body{
  
}

ul li{
  list-style-type: none;
}

a, 
a:visited{
  font-weight: bold;
  color: #000000;
  text-decoration: none;
  outline: none;
}

.clearfix{
  clear: both;
}

/* HEADINGS */
h1{

}

h2{
  font-style: italic;
}

/* MAIN CONTAINER */
div#main-container{
  width: 60%;
  margin: 0 auto;
}

  /* MAIN CONTENT */
  div#main-content{
    /*float: left;*/
    width: 100%;
  }


  /* LEFT CONTENT */

  nav#left-content{
    width: 20%;
    margin-top: 30px;
    float: left;
  }

    nav#left-content p{
      margin: 5px;
      font-size: 20px;
    }

    nav#left-content ul{
      border: 1px dotted #000000;
      margin: 5px;
      padding: 0px  0px 0px 0px;
      border-radius: 5px;
    }

    nav#left-content ul li a,
    nav#left-content ul li a:visited{
      color: #000000;
      background-color: #CCCCCC;
      padding: 10px;
      display: block;
    }

    nav#left-content ul li a:hover{
      background-color: #999999;
      color: #FFFFFF;
    }

  /* SECTION POPUPS */
  section{
    padding: 20px;
  }

  section#popup-1 a{
    text-decoration: underline;
  }

  /* RIGHT CONTENT */

  div#right-content{
    width: 75%;
    margin-left: 5%;
    float: right;
  }

    div#right-content nav{
      
    }

    div#right-content ul{
      float: left;
      width: 100%;
      padding: 0px;
      margin: 10px 0px 30px 0px;
    }

    div#right-content ul li{
      float: left;
      width: 25%; 
      margin-right: 10%;   
    }

    div#right-content ul li a,
    div#right-content ul li a:visited{
      padding: 10px;
      border-radius: 5px;
      background-color: #999999;
      color: #FFFFFF;
      box-shadow: 3px 3px 5px 0px #333333;
      display: block;
    }

    div#right-content ul li a:hover{
      box-shadow: none;  
      background-color: #CCCCCC;
      color: #000000;
    }

    div#right-content article{
      
    }

    div#right-content article a{
      text-decoration: underline;
    }


  /* POPUP PAGES */
    article dl dt{
      border: 1px dashed #000000;
      background-color: #999999;
      color: #FFFFFF;
      padding: 5px;
      font-weight: bold;
    } 

    article dl dd{
      padding: 5px 10px;
      background-color: #F2F2F2;
      margin: 0px;
    }

    article form label{
      width: 100px;
      float: left;
      font-weight: bold;
    } 

    article form div{
      margin: 10px;
      float: left;
      width: 100%;
    }

    article form input[type="submit"]{ 
      background-color: #CCCCCC;
      padding: 5px;
      border: none;
    }

    article form input[type="submit"]:hover{ 
      background-color: #999999;
      cursor: pointer;
    }