
/*
THIS IS THE MAIN GRID LAYOUT StUFF.
NO NEeD TO CHANgE THIS
*/

/* Micro Clearfix */
.clear:before,
.clear:after {
  content: "";
  display: table;
}
.clear:after {
  clear: both;
}
.clear {
  zoom: 1;
}
.section:before,
.section:after {
  content: "";
  display: table;
}
.section:after {
  clear: both;
}
.section {
  zoom: 1;
}
.checkbox:before,
.checkbox:after {
  content: "";
  display: table;
}
.checkbox:after {
  clear: both;
}
.checkbox {
  zoom: 1;
}
/* General Resets */
/* Start font size at 100% */
html {
/*  font-size: 100%;*/
}
/* Make all form fonts consistent */
button,
input,
select,
textarea {
  font-family: sans-serif;
}
/* Remove default borders */
form,
fieldset,
a img {
  border: 0;
}
/* Remove default spacing */
form,
fieldset {
  margin: 0;
  padding: 0;
}
/* Common Classes */
.left {
  float: left;
}
.right {
  float: right;
}
.block {
  display: block;
}
.inline-block {
  display: inline-block;
  *zoom: 1;
  *display: inline;
}
.inline {
  display: inline;
}
.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  left: -9999em;
}
.visuallyvisible {
  clip: auto;
  width: auto;
  height: auto;
  overflow: visible;
  left: 0;
}
.strong {
  font-weight: bold;
}
.alert {
  background-color: #ffffcc;
  display: block;
  padding: 4px 8px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
}
.nolist {
  list-style: none;
}
.nopadding {
  padding: 0;
}
.nomargin {
  margin: 0;
}
.none,
.nodesktop {
  display: none;
}
/* ==========================================================================
   ========================================================================== */

/* Buttons */
.buttons {
  padding: 1em 0;
}
.button {
  font-size: 14px;
  font-size: 0.875rem;
  line-height: normal;
  cursor: pointer;
  border: 0;
  padding: 0.8em 3em;
  color: #222222;
  text-decoration: none;
  text-align: center;
}
.orange-button {
  background-color: #fee9cc;
}
.orange-button:hover {
  background-color: #ffe0b5;
  -webkit-tap-highlight-color: #fdeed8;
}
.orange-button:active {
  background-color: #fdeed8;
}
.button[disabled],
.button.disabled {
  color: #999999;
  background-color: #f1f1f1;
}
.no-style-button {
  font-size: 13px;
  font-size: 0.8125rem;
  color: #ff3300;
  text-decoration: underline;
  border: 0;
  background: transparent;
  height: auto;
  padding: 0;
}
.no-style-button:hover {
  text-decoration: none;
}
.no-style-button[disabled],
.no-style-button.disabled {
  text-decoration: none;
  color: #999999;
}
/* ==========================================================================
/* 2.0 - Grid Layout (Responsive)
   ========================================================================== */
/* Sections & Content Blocks */
.section {
  position: relative;
}
.row {
  margin-bottom: 1em;
}
.container {
  max-width: 940px;
  margin: 0 auto;
  padding-left: 10px;
  padding-right: 10px;
}
.container-full {
  max-width: 960px;
  margin: 0 auto;
}
/* Fluid Grid */
.col {
  margin-left: 2%;
  *margin-left: 1.7%;
  float: left;
}
.col:first-child {
  margin-left: 0;
}
/* Columns */
.one {
  width: 6.5%;
}
.two {
  width: 15%;
}
.three {
  width: 23.5%;
}
.four {
  width: 32%;
}
.five {
  width: 40.5%;
}
.six {
  width: 49.0%;
}
.seven {
  width: 57.5%;
}
.eight {
  width: 66%;
}
.nine {
  width: 74.5%;
}
.ten {
  width: 83%;
}
.eleven {
  width: 91.5%;
}
.twelve {
  width: 100%;
}
.quarter {
  width: 23.5%;
}
.half {
  width: 49.0%;
}
.one-third {
  width: 32%;
}
/* ==========================================================================
/* -- Tablet Devices (Layout, Modifications, etc)
   ========================================================================== */
@media only screen and (min-width: 762px) and (max-width: 939px) {
  .container {
    width: 720px;
    padding-left: 10px;
    padding-right: 10px;
  }
  /* Tablet Grid
    * For stacking full width columns, please use the new class .tablet-full
    * New tablet columns have been added
  */
  .tablet-one {
    width: 6.5%;
  }
  .tablet-two {
    width: 15%;
  }
  .tablet-three {
    width: 23.5%;
  }
  .tablet-four {
    width: 32%;
  }
  .tablet-five {
    width: 40.5%;
  }
  .tablet-six {
    width: 49.0%;
  }
  .tablet-seven {
    width: 57.5%;
  }
  .tablet-eight {
    width: 66%;
  }
  .tablet-nine {
    width: 74.5%;
  }
  .tablet-ten {
    width: 83%;
  }
  .tablet-eleven {
    width: 91.5%;
  }
  .tablet-twelve {
    width: 100%;
  }
  .tablet-full {
    clear: both;
    float: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-top: 1em;
  }
  .tablet-full:first-child {
    margin-top: 0;
  }
  .notablet {
    display: none;
  }
  .showtablet {
    display: block;
  }
}
/* End Tablet Media Query */
/* ==========================================================================
/* -- Mobile Devices (Layout, Modifications, etc)
   ========================================================================== */
@media only screen and (max-width: 761px) {
  /* Mobile Grid
    * For stacking full width columns, please use the new class .mobile-full
    * New mobile columns have been added
  */
  .mobile-one {
    width: 6.5%;
  }
  .mobile-two {
    width: 15%;
  }
  .mobile-three {
    width: 23.5%;
  }
  .mobile-four {
    width: 32%;
  }
  .mobile-five {
    width: 40.5%;
  }
  .mobile-six {
    width: 49.0%;
  }
  .mobile-seven {
    width: 57.5%;
  }
  .mobile-eight {
    width: 66%;
  }
  .mobile-nine {
    width: 74.5%;
  }
  .mobile-ten {
    width: 83%;
  }
  .mobile-eleven {
    width: 91.5%;
  }
  .mobile-twelve {
    width: 100%;
  }
  .mobile-full {
    clear: both;
    float: none;
    width: 100%;
    margin: 1em 0 0 0;
  }
  .mobile-full:first-child {
    margin-top: 0;
  }
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  /* Mobile Tables */
  table th,
  table td {
    padding: 4px;
  }
  /* Mobile Forms */
  input[type=text],
  input[type=password],
  input[type=email],
  input[type=search],
  input[type=tel],
  textarea {
    width: 90%;
    padding: 5%;
  }
  select {
    width: 100%;
  }
  .nomobile {
    display: none;
  }
  .showmobile {
    display: block;
  }
}
/* End Mobile Media Query */

html { font-size: 62.5%; }






a.logo, a.logo:visited  {
  font-weight: bold;
  text-decoration: none;
  line-height:1.7em;
  text-transform: uppercase;
}



/* Body */
body {
  background-color: #ffffff;
  font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
  
  font-weight: 400;
  font-style: normal;
  font-size:20px;
  line-height:30px;


  color: #303030;
  margin: 0;


  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  text-rendering: optimizeLegibility;

  }

::-moz-selection {
  background: #2c3e50;
  color: white;
  text-shadow: none; 
}

::selection {
  background: #2c3e50;
  color: white;
  text-shadow: none; 
}


.footer-bottom {
 
  font-size:1.4rem;
  line-height:1.9rem;
}
.footer-bottom ul {padding-left:20px;}

/* 1.1 Headings - h1, h2, h3, h4, h5, h6 & other (if any)
   ========================================================================== */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  font-style: normal;
  color:#303030;
}

h1 {
  letter-spacing: -1px;
  font-size: 4rem;
  line-height: 4rem;
  padding-bottom: 0px;
}
nav h1 {font-size:5rem;line-height: 6rem;}
h2 {
  font-size: 3.2rem;
  line-height: 3.8rem;
  padding-bottom:0;
  -webkit-margin-after:0;
  margin-bottom:20px;
}
/* front page stuff */
.middle h2 {}
.middle h2 em{color:#e74c3c;font-style:normal;}

h3 {
  font-size: 2.1rem;
  margin-bottom: 3px;
  margin-top: 1.6em;
}
/* front page stuff */
.middle #news h4 {font-size:1.6rem;font-weight:500;margin:0 0 -8px 0;line-height:1.7rem;}
.middle #news time {font-size:1.2rem;
                    
                    color:#aaa;
                    margin-bottom:10px;
}
.middle #news {border-left:1px solid #bebebe;text-align:right;}
.middle #news ul {list-style: none}
.middle #news ul li {padding-bottom:10px;}
/*.middle ul.posts li{padding:0;margin:0;}*/
h4 {
  font-size: 1.9rem;
  margin-bottom: 4px;
  margin-top: 1.2em;
  -webkit-margin-before: 5px;
  font-weight:500;
  color:#adadad;
}
h5 {
  color: #5f554b;
  font-size:1.4rem;
  margin-bottom:6px;
}


/*
body.frontpage h1,
body.frontpage h2,
body.frontpage h3,
body.frontpage h4 {color:#2F3235;}
*/

/* 1.2 Paragraphs, block quotes, code, pre, etc
   ========================================================================== */
time {
  text-transform: uppercase;
  font-family:Helvetica, sans-serif;
}
small {
  font-size: 12px;
  font-size: 0.75rem;
}
/* Block Quotes, Pre and Code Blocks */
blockquote,
q {
  font-size: 20px;
  font-size: 1.25rem;
  line-height: 32px;
  line-height: 2rem;
  padding: 20px 30px;
  margin: 20px 0;
  font-family: "Georgia", "Times";
  font-style: italic;
}
blockquote:before,
q:before,
blockquote:after,
q:after {
  font-size: 80px;
  font-size: 5rem;
  color: #999999;
}
blockquote:before,
q:before {
  content: "\201C";
  margin-left: -0.5em;
  float: left;
}
blockquote:after,
q:after {
  content: "\201D";
  margin-right: -0.5em;
  float: right;
}
code {
  padding: 4px 8px;
  font-family: Monaco, Andale Mono, "Courier New", monospace;
  font-size: 0.8em;
  background-color: #e9e9e9;
  line-height: normal;
  color: #222222;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
}
/* Horizontal Rule */
hr {
  border: 0;
  background: none;
  outline: 0;
  height: 1px;
  background-color: #dddddd;
  margin: 2em 0;
}
/* 1.3 Tables
   ========================================================================== */
table {
  width: 100%;
  border-collapse: collapse;
  border-left: 0;
  background-color: #fff;
  border-spacing: 0;
  table-layout: fixed;
  word-wrap: break-word;
  -ms-word-wrap: break-word;
  *white-space: normal;
  font-size:1.5rem;
}
table th,
table td {
  padding: 11px 0;
  line-height: 18px;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid #eeeeee;
}
table thead th {
  vertical-align: bottom;
  font-weight: bold;
  background-color: #ffffff;
  color: #222222;
}
table tfoot td {
  font-weight: bold;
}
table caption {
  padding: 0.5em;
  font-style: italic;
  background-color: #eeeeee;
  border-bottom: 0;
  font-weight: bold;
}
/* 1.4 Lists
   ========================================================================== */
ul {
  list-style: square;
  padding: 0 0 0 20px;
  margin: 0 0 20px;

}
ol {
  list-style: decimal;
  padding: 0 0 0 20px;
  margin: 0;
}
ul#output li { /* faculty publications list */
	margin-bottom:20px
}

/* 1.5 Forms, Labels and Inputs
   ========================================================================== */
.fieldset {
  margin: 1.5em 0;
}
legend {
  font-family: arial, helvetica, clean, sans-serif;
  font-size: 32px;
  font-size: 2rem;
  line-height: normal;
  width: 100%;
  display: block;
  border: 0;
  *margin-left: -5px;
}
label {
  font-weight: bold;
  cursor: pointer;
}
.inline-field label {
  display: inline-block;
  *zoom: 1;
  *display: inline;
  margin-right: 1em;
}
.field {
  padding: 0.2em 0;
}
.field label {
  display: block;
}
.checkbox {
  display: block;
  position: relative;
  line-height: normal;
  padding: 0.2em 0;
}
.checkbox label {
  display: block;
  overflow: hidden;
  *zoom: 1;
}
.checkbox input[type=checkbox],
.checkbox input[type=radio] {
  float: left;
  top: -2px;
  position: relative;
  margin-right: 1em;
}
/* Inputs (Text, Search, Email, etc) */
input[type=text],
input[type=password],
input[type=email],
input[type=search],
input[type=tel],
input[type=file] {
  outline: 0;
  padding: 2px 5px;
  height: 28px;
  -webkit-appearance: none;
  -moz-appearance: none;
  vertical-align: middle;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  background-color: #ffffff;
  color: #666666;
  border: 1px solid #dddddd;
  border-top: 1px solid #999999;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}
input[type=file] {
  border: 0;
  height: 20px;
}
input[type=button]::-moz-focus-inner,
input[type=submit]::-moz-focus-inner,
input[type=reset]::-moz-focus-inner {
  padding: 0;
  border: 0;
}
input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
input[type=submit],
input[type=button],
input[type=reset] {
  line-height: normal;
  cursor: pointer;
  -webkit-appearance: none;
  /* Remove Default Browser Behaviour for Safari */

  -moz-appearance: none;
  /* Remove Default Browser Behaviour for Firefox */

}
textarea {
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  background-color: #ffffff;
  color: #666666;
  outline: 0;
  padding: 2px 5px;
  vertical-align: top;
  border: 1px solid #dddddd;
  padding: 10px;
  resize: none;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}
select {
  font-size: 14px;
  font-size: 0.875rem;
  outline: 0;
  border: 0;
  padding: 7px;
  line-height: normal;
  display: inline-block;
  *zoom: 1;
  *display: inline;
  vertical-align: middle;
  border: 1px solid #999999;
}
select[multiple] {
  min-height: 100px;
  vertical-align: top;
  border: 1px solid #dddddd;
}
select,
input[type=text],
input[type=password],
input[type=email],
input[type=search],
input[type=tel] {
  width: 280px;
}
textarea {
  width: 260px;
}

/* Addresses, Definitions, etc. */
pre {
  background: #E9E9E9;
  padding: 0.2rem 1rem;
  border-radius: 2px;
}

/* blog index page */

.cmp-news h2 { margin-bottom: 0px; margin-top: 20px; }
.cmp-news h3 { margin-top: -20px; }


.author { margin-top: 0; color: #bbb; font-size: 1.5rem; }

.post-content { padding-top: 6px; }

/* bio page */


#details {
  font-size:1.4rem;
  line-height:1.9rem;
  font-style:italic;
}

#pages-menu {font-size:1.4rem;margin-top:30px;}
#pages-menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  margin-bottom:20px;
}

#pages-menu ul li {
}
#pages-menu ul ul {padding-left:10px;}
#pages-menu ul ul li {margin-left:10px;list-style-type: square;color:#ddd;}


#pages-menu ul li:last-child {
}
.pages-menu ul li a {
  color:#777;display: block;
  width: 100%;
  padding: 0 0 0 6px;
  position: relative;
  left: -6px; /* pad and shift left, so text aligns with grid but bg on hover extends beyond */
 
  -webkit-transition: font-size 0.3s ease, background-color 0.3s ease;
  -moz-transition: font-size 0.3s ease, background-color 0.3s ease;
  -o-transition: font-size 0.3s ease, background-color 0.3s ease;
  -ms-transition: font-size 0.3s ease, background-color 0.3s ease;
  transition: font-size 0.3s ease, background-color 0.3s ease;
}
.pages-menu ul li a:hover {
  color:#aaa;
  font-size: 1.7rem;
}

/* sidebar menu: highlight current page */
.Faculty:not(.Affiliates) .faculty,
.Affiliates .affiliated,
.Staff .staff,
.Publications .publications,
.Department .cmp-administration,
.Grants .grants,
.Fellowships:not(.Grants) .fellows,
.Computer.Support .computer-support,
.Email.Services .email-support,
.Connecting.Fileserver .file-servers,
.Desktop.Services .desktop-support,
.Purchasing .purchasing,
.Contact .contact,
.Teaching .teaching,
.Chemical.Graduate .ccbgrad,
.Postdoctoral .postdocs,
.Student .students {
  background: #62a2cb;
  color: white;
}
.Faculty:not(.Affiliates) .faculty:hover,
.Affiliates .affiliated:hover,
.Staff .staff:hover,
.Publications .publications:hover,
.Department .cmp-administration:hover,
.Grants .grants:hover,
.Fellowships:not(.Grants) .fellows:hover,
.Computer.Support .computer-support:hover,
.Email.Services .email-support:hover,
.Connecting.Fileserver .file-servers:hover,
.Desktop.Services .desktop-support:hover,
.Purchasing .purchasing:hover,
.Contact .contact:hover,
.Teaching .teaching:hover,
.Chemical.Graduate .ccbgrad:hover,
.Postdoctoral .postdocs:hover,
.Student .students:hover {
  background: #62a2cb;
  color: white;
  font-size: 1.4rem;
  cursor: default;
}

/* page-specific fixes */
.Fellowships ul { margin: 0.2em 0 1em; }

table.people td { padding-right: 0.5em; }
tr:hover { background-color: #f8f8f8; }

/* General overrides */

/* Header */
header {
  position: fixed;
  top: -5.5em;
  left: 0;
  z-index: 2;
  width: 100%;
  font-size: 87.5%;
}

/*

a.logo-small, a.logo-small:visited  {
margin: 30px 0 0 0;
z-index:2147483647;
}
*/

a.logo{ /*float:left;height:40px;margin-top:5px;*/
 display:block; margin:17px 0 0 0px;height:26px; width:79px;float:left;
 }

a.ucsf {
  display:block; margin:24px 0 0 6px;height:40px; width:100px;float:left;
}

a.logo{opacity:.85}
a.logo:hover {opacity:1;}

a.ucsf{opacity:.45}
a.ucsf:hover {opacity:.8;}
/*
body.frontpage a.logo {opacity:.85}
body.frontpage a.logo:hover  {opacity:1;}

body.frontpage a.ucsf{opacity:.3}
body.frontpage a.ucsf:hover {opacity:.6;}
*/

/* this class wraps around the content column and keeps the footer from leaping up */
#page {min-height:500px; margin-bottom: 3em; }
/* needed for front page and contact page to prevent a crazy top margin at top of page */
body.frontpage #page, body.contact #page {min-height:0;}


.details {
  background: url('/assets/images/ucsf_mission_bay.jpg') 38% bottom no-repeat;
  padding-bottom:292px;
}
/* footer */
.footer-bottom {
	padding:30px 0;
}
#rss {
  background: #fe9900 url('/assets/icons/logo-sprite.png') no-repeat scroll -190px 0;
  border-radius: 2px;
  height: 40px;
  display: block;
  width: 40px;
}

/* following not used yet */
#back-to-top a {
  text-align: right;
  background: url("/images/icon_sprites.png") no-repeat 0 -295px;
  display: inline;
  float: right;
  padding-left: 16px; }

#back-to-top a:hover {
  background: url("/images/icon_sprites.png") no-repeat 0 -320px; }

th.sort:hover { cursor: pointer; }


/* fixes */


body.frontpage .top-margin {margin-top:110px;}
body.default .top-margin {margin-top:80px;}
body.contact .top-margin{margin-top:-8px;}

.frontpage .top {padding:100px 0 10px;margin:-200px 0 10px;}
.icon-right-thin { position: relative; top: 2px; }

body.frontpage .middle {padding:200px 0 20px 0;margin:-235px 0 0 0;}
body.frontpage .highlighted { 
  padding-top: 25px;
  padding-bottom: 25px;
  margin-bottom: 20px;
}
.feature { 
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  min-height: 150px;
  padding: 1em 1em 1em 105px;
  position: relative;
}
.feature:hover { opacity: 0.9 }
.feature i {
  font-size: 3em;
  padding: 0px 4px 0 20px;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  line-height: 2.2;
}

/* sortable tables */

th.sort-header {
  cursor:pointer;
  }
th.sort-header::-moz-selection,
th.sort-header::selection {
  background:transparent;
  }
table th.sort-header:after {
  content:'[sort]';
  font-size: 1.3rem;
  float:right;
  margin-right: 14px;
  opacity:0.4;
  }
table th.sort-header:hover:after {
  opacity:1;
  }
table th.sort-up:after,
table th.sort-down:after,
table th.sort-down:hover:after {
  content:'';
  margin-top:7px;
  margin-right:14px;
  border-width:0 4px 4px;
  border-style:solid;
  border-color:#404040 transparent;
  opacity:0.4;
  visibility:visible;
  }
table th.sort-up:after {
  border-bottom:none;
  border-width:4px 4px 0;
  }
  
.post-more {
  font-size: 1.6rem;
  margin-bottom: 6rem;
}
.post-more a {
  float: right;
  margin: -2em 0em 0em;
}
/* images: class to wrap full-width responsive images or images sized by column */
.stretch { margin-right: 20px; }
.stretch img { width: 100%; }

/* FIXES FOR MEDIA QUERIES */
/* ==========================================================================
/* -- Tablet Devices (Layout, Modifications, etc)
   ========================================================================== */
@media only screen and (min-width: 762px) and (max-width: 939px) {
 nav h1 {font-size:3rem;}
}
/* End Tablet Media Query */
/* ==========================================================================
/* -- Mobile Devices (Layout, Modifications, etc)
   ========================================================================== */
@media only screen and (max-width: 761px) {
  header {height:70px; line-height: 1.5}
  nav h1 {font-size:2rem; line-height: 1.5}

  .top-margin{margin-top:60px;}

  h1 {font-size:3rem;line-height:3.5rem;margin:10px 0;}
  h2 {font-size:1.8rem; line-height:1.4;}
  
  /* front page */

  .frontpage #page { display: none; }
  body.frontpage .middle {
    margin: 3rem 0 0;
    padding: 1rem 0 0.5rem;
  }
  /* news, latest blogs.. stops being on the right margin, text enlarges */
  body.frontpage .middle #news {
    font-size:1.8rem;
    border:none;
    text-align:left;
  }
  #more-news {
    display: block;
    float: right;
    margin-top: -10px;
  }
  .middle #news ul {list-style: none;padding-left:0;}

  body.frontpage .highlighted { margin: 0; padding: 0; }
  .content-inner.features { padding: 0; }
  
  .details { margin-top: -2rem; padding-bottom: 160px; }
  
  .footer-bottom {font-size:1.6rem;line-height:2.2rem;}

}
/* End Mobile Media Query */




menu, nav ol, nav ul {
  padding: 0 0 0 40px; }

nav ul, nav ol {
  list-style: none;
  list-style-image: none; }




/* media Queriess */
/* Mobile Portrait */
.menu {margin-top:26px;}
.menu-column { position: relative; }
.menu p {

  border-radius: 4px 4px 4px 4px;

  font-size: 22px;
  letter-spacing: 3px;
  padding: 0 7px 2px 11px;
  position: absolute;
  right: 45px;
  text-transform: uppercase;
  top: 4px;

  font-size:18px;
}

p a {
  /* Optimized for touch devices */
  margin: -.5em;
  padding: .5em;
  position: relative; }



/* Colors */


.menu {
  float: right;
  display: block;
  pointer-events: auto; }

.menu span {
  width: 30px;
  height: 4px;
  margin-bottom: 6px;
  border-radius: 1000px;
  display: block; 
  top:4px;
}


/* Navigation */
nav {
  font-family: Helvetica, sans-serif;
  position: fixed;
  top: -2000px;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100px;
  min-height: 100%;
  background-color: #f7f7f7;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  color: #333;
  text-transform: uppercase; }

nav time {color:#ccc;font-size:1.5rem;}

.navigation {
  padding-top: 6em;
  text-align: center; }

.navigation-end {
  margin-top: 5em;
  margin-bottom: 2.5em;
  text-align: center; }

.navigation-end img {
  height: 2em;
  margin: 1.5em; }

nav hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 5px solid #2980b9;
  margin: 1em 0;
  padding: 0; }

.headline {
  margin-top: 3em;
  margin-bottom: 2em;
  font-weight: bold;
  font-size: 0.77273em;
  color: #2980b9; }

.headline a {
  float: right;
  padding-left: 20px;
  cursor: pointer;
}

nav ul {
  margin: 1em 0;
  padding: 0; }

nav li {
  border-top: 2px solid #2980b9;
  -moz-transition: all 0.2s ease-out;
  -o-transition: all 0.2s ease-out;
  -webkit-transition: all 0.2s ease-out;
  -ms-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  padding: 0.5em;
  font-weight: bold; 
  position: relative;
}

nav li:hover,
nav li.view-all:hover,
.nav-close span:hover {
  background: #2980b9;
  -moz-transition: all 0.2s ease-out;
  -o-transition: all 0.2s ease-out;
  -webkit-transition: all 0.2s ease-out;
  -ms-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out; 
  color:#fff;
}
nav li:hover:after { /* right angle bracket on right edge of menu item */
  content: '\e805';
  position: absolute;
  right: 1em;
  top: 0.65em;
  font-family: 'cmpicons';
}

nav li:last-child {
  border-bottom: 2px solid #2980b9; }
nav li.view-all { /* link to blog index */
  text-transform: none;
  background: #F0EDEA;
}
nav li.view-all a {
  position: relative;
  left: -6px;
}
nav li a {
  color: #2980b9;
  width: 100%;
  display: block;
  margin: -0.6em;
  padding: 0.6em;
  position: relative; }

nav li a:visited {
  color: #2980b9; }

nav li a:hover {
  color: #fff;
  text-decoration: none; }

.nav-close {
  text-align: center;
  margin: 4rem 0 0;
}
.nav-close span {
  background: #2980b9;
  border-radius: 8px 8px 0 0;
  color:#fff;
  cursor: pointer;
  display: inline-block;
  font-size: 1.4rem;
  padding: 10px 15px 5px;
}


/* 

orange: #dc4e3c;
grey: #363636;
light-grey: #f2f2f2;

/* Links */
a,a:visited  {
  color: #2980b9;
  text-decoration: none;
  /*font-weight: bold;*/
}

a:hover {
  color: #3498db;
  text-decoration: none; 
}
/*
a:active {
  color: #373A3D;
}
*/








#header{
/*  background:#f7f7f7;
background:#5f554b;*/
background:#2980b9; /* or #333 */
}



.menu p {
 /* background: none repeat scroll 0 0 #3498db;*/
  color: #77addb;
}
.menu span {
    background: #62a2cb;
}


.footer-bottom {background-color:#1c1c1c;color:#fff;}
.footer-bottom a:link,
.footer-bottom a:visited {color:#F2D984;}
.footer-bottom ul li {color:#eee}
.footer-bottom a:hover {color:#fff;}
.footer-bottom time {color:#eee;font-size:1rem;}
.footer-bottom h5 {color:#fff;}

body.frontpage {/*background:#fbfbfb;*/color:#333;}






.frontpage .top{
  background:#2980b9;
	color:#555;
}

.feature {
 background: #e65d5d;
 line-height:25px;
 font-size:17px;
}
.feature i {
  background: #e65d5d; 
  color: #fff;
}
.feature p { 
  color:#fff;
  margin-bottom:5px;
  line-height:25px;
}

.feature {
  color:#0F2E42;
}

.feature.students { background: #dfbc42; }
.students i { background: #dfbc42; }
.feature.admin { background: #6fc1d2; }
.admin i { background: #6fc1d2; }

.middle{background:#f5f5f5;}


@font-face {
  font-family: 'cmpicons';
  src: url('../font/cmpicons.eot?16432911');
  src: url('../font/cmpicons.eot?16432911#iefix') format('embedded-opentype'),
       url('../font/cmpicons.woff?16432911') format('woff'),
       url('../font/cmpicons.ttf?16432911') format('truetype'),
       url('../font/cmpicons.svg?16432911#cmpicons') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'cmpicons';
    src: url('../font/cmpicons.svg?16432911#cmpicons') format('svg');
  }
}
*/
 
 [class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "cmpicons";
  font-style: normal;
  font-weight: normal;
  speak: none;
 
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */
 
  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;
     
  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;
 
  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;
 
  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */
 
  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}
 
.icon-mail:before { content: '\e808'; } /* '' */
.icon-users:before { content: '\e800'; } /* '' */
.icon-print:before { content: '\e803'; } /* '' */
.icon-direction:before { content: '\e809'; } /* '' */
.icon-phone:before { content: '\e806'; } /* '' */
.icon-right-open:before { content: '\e805'; } /* '' */
.icon-up-open-mini:before { content: '\e802'; } /* '' */
.icon-right-thin:before { content: '\e807'; } /* '' */
.icon-library:before { content: '\e804'; } /* '' */
.icon-town-hall:before { content: '\e801'; } /* '' */
