Team:Imperial College/Templates:custom css

From 2013.igem.org

(Difference between revisions)
 
(56 intermediate revisions not shown)
Line 1: Line 1:
@charset "UTF-8";
@charset "UTF-8";
-
/* PLEASE READ https://2013.igem.org/wiki/index.php?title=Team:Imperial_College/Templates:StyleGuide&action=edit  */
 
body,
body,
Line 6: Line 5:
   font-size: 14px;
   font-size: 14px;
   font-family: 'Noto Sans', sans-serif;
   font-family: 'Noto Sans', sans-serif;
 +
  overflow-x: hidden;
 +
}
 +
 +
p{
 +
  text-align: justify;
 +
}
 +
 +
.clear {
 +
  clear: both;
 +
}
 +
 +
a,
 +
a:link,
 +
a:visited {
 +
  color: #d0952b;
 +
  text-decoration: none;
 +
}
 +
 +
a:hover,
 +
a:focus {
 +
  color: #f9b233;
 +
}
 +
 +
/* Hide thumbnail button */
 +
div.thumb div.magnify {
 +
  display: none;
 +
}
 +
 +
table,
 +
table.wikitable {
 +
  background-color: transparent;
 +
}
 +
 +
div.thumb div {
 +
  border: none;
 +
  background-color: transparent;
 +
}
 +
 +
div.thumb div a img {
 +
  border: none;
 +
  box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.5);
 +
  margin-bottom: 0.5em;
 +
}
 +
 +
table.wikitable.top {
 +
  vertical-align: top;
 +
}
 +
 +
table.wikitable.no-border {
 +
  border: none;
 +
}
 +
 +
 +
table.wikitable.no-border td {
 +
border: none;
 +
padding: 5px 10px 5px 10px;
}
}
/* ---------------- WikiMedia Elements / Page Structure---------------- */
/* ---------------- WikiMedia Elements / Page Structure---------------- */
 +
 +
#content { border: none; }
/* HIDE
/* HIDE
Line 44: Line 101:
#menubar {
#menubar {
     top: 0 !important;
     top: 0 !important;
-
     font-size: 0.7em;  
+
     font-size: 0.7em;
}
}
Line 71: Line 128:
/* Edit */
/* Edit */
#menubar.left-menu{
#menubar.left-menu{
-
   
+
 
}
}
Line 81: Line 138:
/* User */
/* User */
#menubar.right-menu {
#menubar.right-menu {
-
   
+
 
}
}
Line 117: Line 174:
#footer-box #f-copyrightico {
#footer-box #f-copyrightico {
-
   
+
 
}
}
Line 197: Line 254:
#BackToTop:link,
#BackToTop:link,
#BackToTop:visited {
#BackToTop:visited {
 +
     position: fixed;
     position: fixed;
     bottom: 5px;
     bottom: 5px;
Line 209: Line 267:
/* ---------------- Navigation ---------------- */
/* ---------------- Navigation ---------------- */
 +
@charset "UTF-8";
ul.navigation-menu {
ul.navigation-menu {
   list-style-type: none;
   list-style-type: none;
   list-style-image: none;
   list-style-image: none;
-
   width: 960px;
+
   width: 965px;
   height: 50px;
   height: 50px;
   text-align: center;
   text-align: center;
   display: inline-block;
   display: inline-block;
-
   margin: 0 0 1em 0;
+
   margin: 0 -9999999px 1em -9999999px;
-
   padding: 0;
+
   padding: 0 9999999px 0 9999999px;
   position: relative;
   position: relative;
   font-family: Helvetica, Arial, sans-serif;
   font-family: Helvetica, Arial, sans-serif;
   color: #ffffff;
   color: #ffffff;
-
  cursor: pointer;
 
-
  /* CSS3 Gradient */
 
-
  background: #36a9e1;
+
    background-color: #36a9e1;
 +
    background-image: url(https://static.igem.org/mediawiki/2013/4/43/Nav_bg.png);
 +
    background-repeat: repeat-x;
 +
    background-position: top;
 +
 
 +
}
 +
ul.navigation-menu * {
 +
  cursor: pointer;
}
}
ul.navigation-menu ul {
ul.navigation-menu ul {
Line 251: Line 315:
   margin: 0;
   margin: 0;
   border-right: 1px solid #2b87b4;
   border-right: 1px solid #2b87b4;
-
   box-shadow: 1px 0 0 rgba(255, 255, 255, 0.5) inset;
+
   border-left: 1px solid rgba(255, 255, 255, 0.5);
   -webkit-transition: all 300ms ease;
   -webkit-transition: all 300ms ease;
   -moz-transition: all 300ms ease;
   -moz-transition: all 300ms ease;
Line 257: Line 321:
   -o-transition: all 300ms ease;
   -o-transition: all 300ms ease;
   transition: all 300ms ease;
   transition: all 300ms ease;
 +
}
 +
ul.navigation-menu > li:first-of-type {
 +
  border-left: 1px solid white;
 +
}
 +
ul.navigation-menu > li:last-of-type {
 +
  border-right: 1px solid white;
}
}
ul.navigation-menu > li > ul {
ul.navigation-menu > li > ul {
Line 410: Line 480:
   background-color: #93b4d9;
   background-color: #93b4d9;
}
}
-
/* ---------------- Footer ---------------- */
 
-
 
-
#sponsor-logo{
 
-
display: block;
 
-
background-color: #ffffff;
 
-
margin-left:auto;
 
-
margin-right:auto;
 
-
width:20%;
 
-
margin: 15px;
 
-
text-align:center
 
-
}
 
-
 
-
#ourfooter{
 
-
position:relative;
 
-
display:block;
 
-
background-color:#fff;
 
-
width: 975px;
 
-
float:right;
 
-
border-top: 1px dotted #d9d9d9;
 
-
border-bottom: 1px dotted #d9d9d9;
 
-
}
 
-
 
/* ---------------- Main Content ---------------- */
/* ---------------- Main Content ---------------- */
/* Full Page container */
/* Full Page container */
-
#content {
+
#main-content {
     position: relative;
     position: relative;
-
     width: 960px;
+
     width: 965px;
     margin: 0 auto;
     margin: 0 auto;
     padding:0;
     padding:0;
Line 449: Line 497:
#contentSub {
#contentSub {
margin: 0 0 0 0;
margin: 0 0 0 0;
-
}
+
}
/* ---------------- Footer ---------------- */
/* ---------------- Footer ---------------- */
Line 460: Line 508:
#supporters a {
#supporters a {
     margin-right: 2em;
     margin-right: 2em;
-
}
 
-
/* LINKS */
 
-
a:visited {
 
-
    color: #F9B233;
 
}
}
Line 473: Line 517:
   border: 1px solid #E5E5E5;
   border: 1px solid #E5E5E5;
   font-size: 100%;
   font-size: 100%;
-
   background: #333;
+
   background: #444;
-
  -webkit-transition: all 300ms ease;
+
-
  -moz-transition: all 300ms ease;
+
-
  -ms-transition: all 300ms ease;
+
-
  -o-transition: all 300ms ease;
+
-
  transition: all 300ms ease;
+
   display: block;
   display: block;
 +
  max-width: 300px;
 +
  -webkit-transition: top 300ms ease 100ms;
 +
  -moz-transition: top 300ms ease 100ms;
 +
  -ms-transition: top 300ms ease 100ms;
 +
  -o-transition: top 300ms ease 100ms;
 +
  transition: top 300ms ease 100ms;
}
}
Line 503: Line 548:
   right: 0;
   right: 0;
   display: block;
   display: block;
-
  padding: 5px;
 
   overflow: hidden;
   overflow: hidden;
 +
  height: 33px;
 +
  width: 33px;
 +
}
 +
 +
#toc.scroll:hover,
 +
.toc.scroll:hover {
 +
  width: auto;
 +
  height: auto;
}
}
Line 515: Line 567:
.toc.scroll:before {
.toc.scroll:before {
   content: '«';
   content: '«';
-
   font-size: 200%;
+
   font-size: 300%;
   text-align: center;
   text-align: center;
-
   line-height: 20px;
+
   line-height: 10px;
-
   height: 20px;
+
   height: 33px;
-
   width: 20px;
+
   width: 33px;
}
}
#toc.scroll:hover tbody,
#toc.scroll:hover tbody,
.toc.scroll:hover tbody {
.toc.scroll:hover tbody {
-
   display: table-row-group;
+
   display: block;
}
}
Line 543: Line 595:
#toc ul ul ul, .toc ul ul ul {
#toc ul ul ul, .toc ul ul ul {
-
  margin-left: 2em;
 
   display: none;
   display: none;
}
}
-
 
-
#toc ul ul li:hover ul, .toc ul ul li:hover ul {
 
-
  display: block;
 
-
}
 
-
 
.tocnumber, #toctitle { display: none; }
.tocnumber, #toctitle { display: none; }
-
 
#toc li a,
#toc li a,
Line 578: Line 623:
   background-color: #eee;
   background-color: #eee;
   text-decoration: none;
   text-decoration: none;
 +
}
 +
 +
/** Reference List **/
 +
ol.reference {list-style-type: none;}
 +
ol.reference li:target {
 +
  background-color: #ddd;
 +
}
 +
ol.reference li:before {content: "(" counter(section) ") ";}
 +
ol.reference li { counter-increment: section;}
 +
 +
 +
/* Styles for Collapible panels */
 +
 +
.CollapsiblePanel {
 +
    margin:0px ;
 +
    padding: 0px;
 +
    border-left: solid 0px #CCC;
 +
    border-right: solid 0px #999;
 +
    border-top: solid 0px #999;
 +
    border-bottom: solid 0px #CCC;
 +
}
 +
 +
.CollapsiblePanelTab {
 +
 +
    background-color: #fff;
 +
    border-bottom: solid 1px #CCC;
 +
    margin: 0px;
 +
    padding: 2px;
 +
    cursor: pointer;
 +
 +
}
 +
 +
.CollapsiblePanelContent {
 +
    margin: 0px;
 +
    padding: 0px;
 +
    background-color: #FFFFFF;
 +
}
 +
 +
 +
.CollapsiblePanelTab a {
 +
    color: black;
 +
    text-decoration: none;
 +
}
 +
 +
 +
.CollapsiblePanelOpen .CollapsiblePanelTab {
 +
    background-color: #FFFFFF;
 +
}
 +
.CollapsiblePanelClosed .CollapsiblePanelTab {
 +
/* background-color: #EFEFEF */
 +
}
 +
.CollapsiblePanelTabHover, .CollapsiblePanelOpen .CollapsiblePanelTabHover {
 +
    background-color: #FFFFFF;
 +
}
 +
.CollapsiblePanelFocused .CollapsiblePanelTab {
 +
    background-color: #FFFFFF;
 +
}
 +
 +
.TabbedPanels {
 +
    overflow: hidden;
 +
    margin: 0px;
 +
    padding: 0px;
 +
    clear: none;
 +
    width: 100%; /* IE Hack to force proper layout when preceded by a paragraph. (hasLayout Bug)*/
 +
}
 +
.TabbedPanelsTabGroup {
 +
    margin: 0px;
 +
    padding: 0px;
 +
}
 +
.TabbedPanelsTab {
 +
    position: relative;
 +
    top: 1px;
 +
    float: left;
 +
    padding: 4px 10px;
 +
    margin: 0px 1px 0px 0px;
 +
    background-color: #FFFFFF;
 +
    list-style: none;
 +
    border-left: solid 1px #CCC;
 +
    border-bottom: solid 1px #999;
 +
    border-top: solid 1px #999;
 +
    border-right: solid 1px #999;
 +
    -moz-user-select: none;
 +
    -khtml-user-select: none;
 +
    cursor: pointer;
 +
}
 +
.TabbedPanelsTabHover {
 +
    background-color: #CCC;
 +
}
 +
.TabbedPanelsTabSelected {
 +
    background-color: #FFFFFF;
 +
    border-bottom: 1px solid #EEE;
 +
}
 +
.TabbedPanelsTab a {
 +
    color: black;
 +
    text-decoration: none;
 +
}
 +
.TabbedPanelsContentGroup {
 +
    clear: both;
 +
    border-left: solid 1px #CCC;
 +
    border-bottom: solid 1px #CCC;
 +
    border-top: solid 1px #999;
 +
    border-right: solid 1px #999;
 +
    background-color: #FFFFFF;
 +
}
 +
.TabbedPanelsContent {
 +
    overflow: hidden;
 +
    padding: 4px;
 +
}
 +
.TabbedPanelsContentVisible {
 +
}
 +
.VTabbedPanels {
 +
    overflow: hidden;
 +
    zoom: 1;
 +
}
 +
.VTabbedPanels .TabbedPanelsTabGroup {
 +
    float: left;
 +
    width: 10em;
 +
    height: 20em;
 +
    background-color: #EEE;
 +
    position: relative;
 +
    border-top: solid 1px #999;
 +
    border-right: solid 1px #999;
 +
    border-left: solid 1px #CCC;
 +
    border-bottom: solid 1px #CCC;
 +
}
 +
.VTabbedPanels .TabbedPanelsTab {
 +
    float: none;
 +
    margin: 0px;
 +
    border-top: none;
 +
    border-left: none;
 +
    border-right: none;
 +
}
 +
.VTabbedPanels .TabbedPanelsTabSelected {
 +
    background-color: #EEE;
 +
    border-bottom: solid 1px #999;
 +
}
 +
.VTabbedPanels .TabbedPanelsContentGroup {
 +
    clear: none;
 +
    float: left;
 +
    padding: 0px;
 +
    width: 30em;
 +
    height: 20em;
 +
}
 +
 +
/* Styles for Printing */
 +
@media print {
 +
.TabbedPanels {
 +
    overflow: visible !important;
 +
}
 +
.TabbedPanelsContentGroup {
 +
    display: block !important;
 +
    overflow: visible !important;
 +
    height: auto !important;
 +
}
 +
.TabbedPanelsContent {
 +
    overflow: visible !important;
 +
    display: block !important;
 +
    clear:both !important;
 +
}
 +
.TabbedPanelsTab {
 +
    overflow: visible !important;
 +
    display: block !important;
 +
    clear:both !important;
}
}

Latest revision as of 00:59, 5 October 2013

@charset "UTF-8";

body,

  1. globalWrapper {
  font-size: 14px;
  font-family: 'Noto Sans', sans-serif;
  overflow-x: hidden;

}

p{

 text-align: justify;

}

.clear {

 clear: both;

}

a, a:link, a:visited {

 color: #d0952b;
 text-decoration: none;

}

a:hover, a:focus {

 color: #f9b233;

}

/* Hide thumbnail button */ div.thumb div.magnify {

 display: none;

}

table, table.wikitable {

 background-color: transparent;

}

div.thumb div {

 border: none;
 background-color: transparent;

}

div.thumb div a img {

 border: none;
 box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.5);
 margin-bottom: 0.5em;

}

table.wikitable.top {

 vertical-align: top;

}

table.wikitable.no-border {

 border: none;

}


table.wikitable.no-border td {

border: none;
padding: 5px 10px 5px 10px;

}

/* ---------------- WikiMedia Elements / Page Structure---------------- */

  1. content { border: none; }

/* HIDE Search Controls Page title */

  1. p-logo,
  2. search-controls,

.firstHeading {

   display: none;

}

h1, h2, h3, h4, h5, h6 {

 color: #36a9e1;

}

/* Remove default top header */

  1. top-section {
   background-color: rgba(54, 169, 225, 0.1);
   border: none;
   height:20px;
   margin-top: 0;
   margin-bottom: 20px;
  -webkit-transition: all 300ms ease;
  -moz-transition: all 300ms ease;
  -ms-transition: all 300ms ease;
  -o-transition: all 300ms ease;
  transition: all 300ms ease;

}

  1. top-section:hover {
   background: #36A9E1;

}

/* Edit and user menu */

  1. menubar {
   top: 0 !important;
   font-size: 0.7em;

}

  1. menubar li,
  2. menubar li a:link {
   text-transform: uppercase;

}

/* Highlight with background colour on hover */

  1. top-section:hover #menubar li a {
   color: #FFF;

}

  1. menubar li a:link,
  2. menubar li a:visited {
   color: #DDD;
   background-color: transparent;

}

  1. menubar li a:hover,
  2. menubar li a:focus {
   color: #A3C4E9;
   text-decoration: none;

}

/* Edit */

  1. menubar.left-menu{

}

  1. menubar.left-menu:hover {
   background-color: transparent;

}


/* User */

  1. menubar.right-menu {

}


/* ? */

  1. catlinks {
   border:none;
   background: #ffffff;

}

/* Wikimedia related links at base of page */


  1. footer-box {
   border:none;
   margin: 30px auto;
   width: 100%;
   background-color: #aeaeae;
   padding: 3em 0 5em 0;

}

  1. footer {
   text-align: center;

}

  1. footer-box #f-poweredbyico,
  2. footer-box #f-copyrightico {
   float: none;
   display: inline-block;
   vertical-align: middle;
   margin-bottom: 10px;

}

  1. footer-box #f-copyrightico {

}

  1. footer-box #f-list {
   float: none;
   display: block;
   width: 100%;
   margin: 0;
   padding: 0;

}


  1. footer-box #f-list li {
   text-transform: uppercase;
   padding: 0 .75em;
   margin: 0;

}

  1. footer-box #f-list li a:link,
  2. footer-box #f-list li a:visited {
   color: #CCC;
   font-size: 0.7em;

}

  1. footer-box #f-list li a:hover,
  2. footer-box #f-list li a:focus {
   color: #36A9E1;
   text-decoration: none;

}

/* ---------------- Header ---------------- */

  1. imperial-banner {
   position: relative; /* this is to allow positioning of elements within */
   text-align: right;
   margin: 0 0 1em 0;
   line-height: 80px;

}

   #imperial-igem-banner {
       position: absolute;
       left: 0;
       top: 50%;
       margin-top: -40px;
   }
   #igem-logo,
   #imperial-logo {
       display: inline-block;
       margin-left: 5px;
   }
   #imperial-igem-banner img,
   #igem-logo img {
       height: 80px;
   }
   #igem-logo img {
       -webkit-transition: all 1s ease-in-out;
       -moz-transition: all 1s ease-in-out;
       -ms-transition: all 1s ease-in-out;
       -o-transition: all 1s ease-in-out;
       transition: all 1s ease-in-out;
   }
   #igem-logo img:hover {
       -webkit-transform: rotate(360deg);
       -moz-transform: rotate(360deg);
       -o-transform: rotate(360deg);
       -ms-transform: rotate(360deg);
       transform: rotate(360deg);
   }
   #imperial-logo img {
       height: 45px;
   }
  1. BackToTop,
  2. BackToTop:link,
  3. BackToTop:visited {
   position: fixed;
   bottom: 5px;
   right: 5px;
   text-decoration: none;
   color: #36a9e1;

}

  1. BackToTop:hover {
   color: #a3c4e9;

}

/* ---------------- Navigation ---------------- */ @charset "UTF-8"; ul.navigation-menu {

 list-style-type: none;
 list-style-image: none;
 width: 965px;
 height: 50px;
 text-align: center;
 display: inline-block;
 margin: 0 -9999999px 1em -9999999px;
 padding: 0 9999999px 0 9999999px;
 position: relative;
 font-family: Helvetica, Arial, sans-serif;
 color: #ffffff;
   background-color: #36a9e1;
   background-image: url(Nav_bg.png);
   background-repeat: repeat-x;
   background-position: top;

} ul.navigation-menu * {

 cursor: pointer;

} ul.navigation-menu ul {

 list-style-type: none;
 list-style-image: none;
 opacity: 0;
 position: relative;
 z-index: -999;

} ul.navigation-menu a:link, ul.navigation-menu a:visited {

 text-decoration: none;
 color: #ffffff;
 display: inline-block;
 width: 100%;
 height: 100%;

} ul.navigation-menu > li {

 display: block;
 float: left;
 line-height: 50px;
 height: 50px;
 text-align: center;
 width: 191px;
 padding: 0;
 margin: 0;
 border-right: 1px solid #2b87b4;
 border-left: 1px solid rgba(255, 255, 255, 0.5);
 -webkit-transition: all 300ms ease;
 -moz-transition: all 300ms ease;
 -ms-transition: all 300ms ease;
 -o-transition: all 300ms ease;
 transition: all 300ms ease;

} ul.navigation-menu > li:first-of-type {

 border-left: 1px solid white;

} ul.navigation-menu > li:last-of-type {

 border-right: 1px solid white;

} ul.navigation-menu > li > ul {

 -webkit-transition: all 300ms ease;
 -moz-transition: all 300ms ease;
 -ms-transition: all 300ms ease;
 -o-transition: all 300ms ease;
 transition: all 300ms ease;
 list-style-type: none;
 list-style-image: none;
 text-align: center;
 padding: 0;
 margin: 0;
 height: 0;

} ul.navigation-menu > li > ul > li {

 display: block;
 opacity: 0;
 padding: 0;
 margin: 0;
 height: 0;
 -webkit-transition: all 300ms ease;
 -moz-transition: all 300ms ease;
 -ms-transition: all 300ms ease;
 -o-transition: all 300ms ease;
 transition: all 300ms ease;

} ul.navigation-menu > li:hover {

 background-color: #a3c4e9;

} ul.navigation-menu > li:hover > ul {

 -webkit-transition: all 300ms ease;
 -moz-transition: all 300ms ease;
 -ms-transition: all 300ms ease;
 -o-transition: all 300ms ease;
 transition: all 300ms ease;
 position: relative;
 z-index: 9999;
 height: auto;
 opacity: 1;
 border-bottom-left-radius: 5px;
 border-bottom-right-radius: 5px;
 box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.5);
 background: #36a9e1;

} ul.navigation-menu > li:hover > ul > li {

 opacity: 1;
 border-bottom: 1px solid #2b87b4;
 box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
 height: 50px;
 line-height: 50px;

} ul.navigation-menu > li:hover > ul > li:first-child {

 box-shadow: none;

} ul.navigation-menu > li:hover > ul > li:last-child {

 border-bottom: none;

} ul.navigation-menu > li:hover > ul > li:hover {

 background-color: #a3c4e9;

} ul.navigation-menu > li:hover > ul > li:active {

 background-color: #93b4d9;

} ul.navigation-menu > li:hover > ul > li.maple {

 background-image: url('https://static.igem.org/mediawiki/2013/8/82/MapleLogo.png');
 background-size: 65% auto;
 background-repeat: no-repeat;
 background-position: 40% 40%;
 background-color: #ffce32;

} ul.navigation-menu > li:hover > ul > li.maple a {

 text-indent: -9999999px;

} ul.navigation-menu > li:hover > ul > li.maple:hover {

 background-color: #fff;

} ul.navigation-menu > li:hover > ul > li.maple:active {

 background-color: #ffce32;

} ul.navigation-menu > li:hover > ul > li > ul {

 -webkit-transition: all 300ms ease;
 -moz-transition: all 300ms ease;
 -ms-transition: all 300ms ease;
 -o-transition: all 300ms ease;
 transition: all 300ms ease;
 list-style-type: none;
 list-style-image: none;
 text-align: center;
 padding: 0;
 margin: 0;
 position: relative;
 left: 191px;
 top: -50px;
 opacity: 1;

} ul.navigation-menu > li:hover > ul > li > ul:before {

 content: "»";
 display: block;
 position: absolute;
 left: -20px;
 text-align: right;
 line-height: 50px;

} ul.navigation-menu > li:hover > ul > li > ul > li {

 -webkit-transition: all 300ms ease;
 -moz-transition: all 300ms ease;
 -ms-transition: all 300ms ease;
 -o-transition: all 300ms ease;
 transition: all 300ms ease;
 width: 0;
 width: 0;
 opacity: 0;
 padding: 0;
 margin: 0;

} ul.navigation-menu > li:hover > ul > li > ul.left {

 left: 0;
 right: 191px;

} ul.navigation-menu > li:hover > ul > li:hover > ul {

 height: auto;
 width: 191px;
 opacity: 1;
 border-top-right-radius: 5px;
 border-bottom-left-radius: 5px;
 border-bottom-right-radius: 5px;
 box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.5);
 background: #36a9e1;
 z-index: 9999999;

} ul.navigation-menu > li:hover > ul > li:hover > ul > li {

 width: 191px;
 height: 50px;
 line-height: 50px;
 opacity: 1;
 border-bottom: 1px solid #2b87b4;
 box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;

} ul.navigation-menu > li:hover > ul > li:hover > ul > li:first-child {

 box-shadow: none;
 border-top-right-radius: 5px;

} ul.navigation-menu > li:hover > ul > li:hover > ul > li:last-child {

 border-bottom: none;
 border-bottom-left-radius: 5px;
 border-bottom-right-radius: 5px;

} ul.navigation-menu > li:hover > ul > li:hover > ul > li:hover {

 background-color: #a3c4e9;

} ul.navigation-menu > li:active {

 background-color: #93b4d9;

}

/* ---------------- Main Content ---------------- */

/* Full Page container */

  1. main-content {
   position: relative;
   width: 965px;
   margin: 0 auto;
   padding:0;
   background: #ffffff;
   border: none;
   z-index: 2;

}


  1. contentSub {

margin: 0 0 0 0; }

/* ---------------- Footer ---------------- */

  1. supporters {
   border-top: solid 1px #CCC;
   margin-top: 2em;
   padding-top: 2em;

}

  1. supporters a {
   margin-right: 2em;

}

/* ---------------- Table of contents ---------------- */

  1. toc,

.toc {

 color: #36A9E1;
 border: 1px solid #E5E5E5;
 font-size: 100%;
 background: #444;
 display: block;
 max-width: 300px;
 -webkit-transition: top 300ms ease 100ms;
 -moz-transition: top 300ms ease 100ms;
 -ms-transition: top 300ms ease 100ms;
 -o-transition: top 300ms ease 100ms;
 transition: top 300ms ease 100ms;

}

  1. toc tr,

.toc tr,

  1. toc td,

.toc td,

  1. toc tbody,

.toc tbody {

 display: block;

}

  1. toc.scroll-top,

.toc.scroll-top {

 float: right;
 margin: 0 0 1em 1em;

}

  1. toc.scroll,

.toc.scroll {

 position: absolute;
 z-index: 99999;
 right: 0;
 display: block;
 overflow: hidden;
 height: 33px;
 width: 33px;

}

  1. toc.scroll:hover,

.toc.scroll:hover {

 width: auto;
 height: auto;

}

  1. toc.scroll tbody,

.toc.scroll tbody {

 display: none;

}

  1. toc.scroll:before,

.toc.scroll:before {

 content: '«';
 font-size: 300%;
 text-align: center;
 line-height: 10px;
 height: 33px;
 width: 33px;

}

  1. toc.scroll:hover tbody,

.toc.scroll:hover tbody {

 display: block;

}


  1. toc.scroll:hover:before,

.toc.scroll:hover:before {

 content: ;

}

  1. toc td,

.toc td {

 padding: 0.7em;

}

  1. toc ul ul, .toc ul ul {
 margin-left: 1em;

}

  1. toc ul ul ul, .toc ul ul ul {
 display: none;

}

.tocnumber, #toctitle { display: none; }

  1. toc li a,

.toc li a {

 display: block;
 margin: 0 0 -1px;
 padding: 8px 14px;
 font-size: 0.8em;
 text-transform: uppercase;
 text-decoration: none;

}

.toc li a:link, .toc li a:visited,

  1. toc li a:link,
  2. toc li a:visited {
 color: #36A9E1;
 text-decoration: none;

}

.toc li a:hover,

  1. toc li a:hover {
 color: #F9B233;
 background-color: #eee;
 text-decoration: none;

}

/** Reference List **/ ol.reference {list-style-type: none;} ol.reference li:target {

 background-color: #ddd;

} ol.reference li:before {content: "(" counter(section) ") ";} ol.reference li { counter-increment: section;}


/* Styles for Collapible panels */

.CollapsiblePanel {

   margin:0px ;
   padding: 0px;
   border-left: solid 0px #CCC;
   border-right: solid 0px #999;
   border-top: solid 0px #999;
   border-bottom: solid 0px #CCC;

}

.CollapsiblePanelTab {

   background-color: #fff;
   border-bottom: solid 1px #CCC;
   margin: 0px;
   padding: 2px;
   cursor: pointer;

}

.CollapsiblePanelContent {

   margin: 0px;
   padding: 0px;
   background-color: #FFFFFF;

}


.CollapsiblePanelTab a {

   color: black;
   text-decoration: none;

}


.CollapsiblePanelOpen .CollapsiblePanelTab {

   background-color: #FFFFFF;

} .CollapsiblePanelClosed .CollapsiblePanelTab { /* background-color: #EFEFEF */ } .CollapsiblePanelTabHover, .CollapsiblePanelOpen .CollapsiblePanelTabHover {

   background-color: #FFFFFF;

} .CollapsiblePanelFocused .CollapsiblePanelTab {

   background-color: #FFFFFF;

}

.TabbedPanels {

   overflow: hidden;
   margin: 0px;
   padding: 0px;
   clear: none;
   width: 100%; /* IE Hack to force proper layout when preceded by a paragraph. (hasLayout Bug)*/

} .TabbedPanelsTabGroup {

   margin: 0px;
   padding: 0px;

} .TabbedPanelsTab {

   position: relative;
   top: 1px;
   float: left;
   padding: 4px 10px;
   margin: 0px 1px 0px 0px;
   background-color: #FFFFFF;
   list-style: none;
   border-left: solid 1px #CCC;
   border-bottom: solid 1px #999;
   border-top: solid 1px #999;
   border-right: solid 1px #999;
   -moz-user-select: none;
   -khtml-user-select: none;
   cursor: pointer;

} .TabbedPanelsTabHover {

   background-color: #CCC;

} .TabbedPanelsTabSelected {

   background-color: #FFFFFF;
   border-bottom: 1px solid #EEE;

} .TabbedPanelsTab a {

   color: black;
   text-decoration: none;

} .TabbedPanelsContentGroup {

   clear: both;
   border-left: solid 1px #CCC;
   border-bottom: solid 1px #CCC;
   border-top: solid 1px #999;
   border-right: solid 1px #999;
   background-color: #FFFFFF;

} .TabbedPanelsContent {

   overflow: hidden;
   padding: 4px;

} .TabbedPanelsContentVisible { } .VTabbedPanels {

   overflow: hidden;
   zoom: 1;

} .VTabbedPanels .TabbedPanelsTabGroup {

   float: left;
   width: 10em;
   height: 20em;
   background-color: #EEE;
   position: relative;
   border-top: solid 1px #999;
   border-right: solid 1px #999;
   border-left: solid 1px #CCC;
   border-bottom: solid 1px #CCC;

} .VTabbedPanels .TabbedPanelsTab {

   float: none;
   margin: 0px;
   border-top: none;
   border-left: none;
   border-right: none;

} .VTabbedPanels .TabbedPanelsTabSelected {

   background-color: #EEE;
   border-bottom: solid 1px #999;

} .VTabbedPanels .TabbedPanelsContentGroup {

   clear: none;
   float: left;
   padding: 0px;
   width: 30em;
   height: 20em;

}

/* Styles for Printing */ @media print { .TabbedPanels {

   overflow: visible !important;

} .TabbedPanelsContentGroup {

   display: block !important;
   overflow: visible !important;
   height: auto !important;

} .TabbedPanelsContent {

   overflow: visible !important;
   display: block !important;
   clear:both !important;

} .TabbedPanelsTab {

   overflow: visible !important;
   display: block !important;
   clear:both !important;

}