/* This file will hold styles for the mobile version of your website (mobile first). */
/* This also can include ANY global CSS that applies site-wide. Unless overwritten by a more specific style rule, CSS declarations in global.css will apply site-wide. */

/* Redefinitions */

body {
	color: #646464;
	font: 0.8em/1.3em Arial, sans-serif;
	padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1em;
	margin-bottom: 1em;
}
h1, h2, h3, h4 {
	color: #000;
	font-family: Arial, sans-serif;
	font-weight: normal;
}
h5, h6 {
	color: #000;
}

h1 { font-size: 1.4em; }
h2 { font-size: 1.3em; }
h3 { font-size: 1.2em; }
h4 { font-size: 1.1em; font-weight: bold; }
h5 { font-size: 1em; font-weight: bold; }
h6 { font-size: 1em; font-style: italic; }

p {
	margin-bottom: 1em;
}
  p:last-child {
    margin-bottom:0;
  }
	
blockquote {
  font-style: italic;
  margin-bottom: 1em;
  margin-left: 3em;
  margin-right: 3em;
}

a {
	color: #01669c;
  text-decoration: none;
}
	a:hover {
		text-decoration: underline;
	}

table {
	border: 1px solid #aaa;
	margin-bottom: 1em;
	width: 100%;
}
	table thead,
	table tbody {
		border-bottom: 1px solid #aaa;
	}
	table tr, table tr.even, table tr.odd {
		border-bottom: 1px solid #aaa;
	}
	table tr.even,
	table tr:nth-child(n+2) {
		background: #e7e7e7;
	}
	table tr.odd,
	table tr:nth-child(2n+1) {
		background: #f5f5f5;
	}
	table tr th,
	table tr td {
		border-right: 1px solid #aaa;
		padding: 5px 8px;
		vertical-align: top;
	}
	table tr th {
		background: #fff;
		color: #000;
		font-size: 0.8em;
		font-weight: bold;
	}
		table tr th:last-child,
		table tr td:last-child {
			border-right: 0;
		}

input, select, textarea {
	font: 1em Arial, sans-serif !important;
}
fieldset {
	margin-bottom: 1em;
}

hr {
	border: 1px solid #aaa;
	margin: 1.5em auto;
	width: 75%;
}

/* Drupal & Module Redefinitions */

ul, ol {
	list-style-position: outside;
	margin-left: 1.1em;
	margin-bottom: 1em;
}

ul li {
	list-style-type: disc;
}
	ul li.leaf {
		list-style-image: none;
		list-style-type: disc;
	}
	ul li.expanded, ul li.collapsed, ul li.leaf {
		padding: 0;
	}
	ul li.collapsed {
  	list-style-image: none;
	}

ul.menu li {
	margin: 0;
}

ul.inline li,
.breadcrumb {
	padding: 0;
}

ul.tabs,
ul.tabs li a {
	margin: 0;
	padding: 0;
}

ol {
	margin-left: 1.1em;
}
	ol li {
		list-style-type: decimal;
	}

.item-list ul {
	margin-bottom: 1em;
	margin-left: 1.1em;
}
	.item-list ul li {
		margin: 0;
	}

.form-item {
  display: block;
  margin: 0 0 1em;
}
.form-actions {
	margin: 0;
}

.profile {
	margin: 0;
}

#messages {
	margin-bottom: 1em;
}
	#messages div.status a {
		color: #234600;
	}
	#messages div.warning a {
		color: #840;
	}
	#messages div.error a {
		color: #8c2e0b;
	}
  
.block {
  margin-bottom:1em;
}
#region-sidebar-second .block,
#region-sidebar-third .block,
#region-sidebar-fourth .block {
  background-image:url('/sites/all/themes/systems_biology/images/background-block.png');
  background-repeat: repeat-x;
  background-position: center bottom;
  padding-bottom:15px;
}

/* SECTIONS / ZONES / REGIONS */

#zone-branding {
  padding:1em 0;
  background-color:#000000;
  font-size:0.9em;
}
  #zone-branding .block {
    margin-bottom:0;
  }
  #zone-branding ul.menu {
    margin:0;
  }
    #zone-branding ul.menu li {
      display:inline;
      list-style-type: none;
      border-right:1px solid #ffffff;
      padding-right:0.5em;
      margin-right:0.5em;
    }
    #zone-branding ul.menu li.last {
      border-right:none;
      padding-right:0;
      margin-right:0;
    }
      #zone-branding ul.menu li a {
        color:#ffffff;
        font-weight:bold;
      }

#zone-menu {

}
  #region-menu {
    margin: 0;
    width: 100%;
  }
    #region-menu .block-superfish {
      margin-bottom:0.5em;
    }
      #region-menu .block-superfish li.sf-depth-1 {
        width:100%;
        float:none;
      }
        #region-menu .block-superfish li.sf-depth-1 a {
          color:#ffffff;
          font-weight:bold;
          font-size:1.25em;
          padding:0.5em;
          padding-left:1em;
        }
        #region-menu .block-superfish li.sf-depth-1 ul {
          display:none;
        }
          #region-menu .block-superfish li.sf-depth-1.active-trail ul {
            display:none !important;
          }
        
      #menu-218-1 {
        background-color: #0e8dc2;
      }
        #menu-218-1 ul {
          background-color: #0e8dc2;
        }
      #menu-367-1 {
        background-color: #e02563;
      }
        #menu-367-1 ul {
          background-color: #be276a;
          left: -100%;
        }
      #menu-368-1 {
        background-color: #ec8f1f;
      }
        #menu-368-1 ul {
          background-color: #e6710a;
          left: -200%;
        }
      #menu-369-1 {
        background-color: #689b3e;
      }
        #menu-369-1 ul {
          background-color: #578a2e;
          left: -300%;
        }
        
    #region-menu .block-menu-block {
      background-color:#0e8dc2;
      margin-top:1em;
    }
      #region-menu .block-menu-block ul.menu {
        margin:0;
      }
        #region-menu .block-menu-block ul.menu li {
          float:left;
          list-style-image:none;
          list-style-type:none;
          padding:0.75em;
          line-height:1em;
        }
          #region-menu .block-menu-block ul.menu li a {
            color:#ffffff;
          }
          #region-menu .block-menu-block ul.menu li .active-trail {
            font-weight:bold;
          }
      #region-menu #block-menu-block-5 {
        margin:0;
        box-shadow:inset 0 5px 10px 0 rgba(1,1,1,0.25);
      }
          
#zone-content {
  margin-bottom:1em;
}

#region-sidebar-first,
#region-sidebar-second,
#region-sidebar-third,
#region-sidebar-fourth {
  font-size:0.9em;
}

#zone-footer {
  background-color:#ebebeb;
  color:#707070;
  padding-top:1em;
  margin-bottom:1em;
}
  #zone-footer .block .block-title,
  #zone-footer .block .block-title {
    color:#707070;
    font-size:1em;
    margin-bottom:0.5em;
  }
    #zone-footer .block .block-title a,
    #zone-footer .block .block-title a {
      color:#707070;
    }
#zone-footer .block .content,
#zone-footer .block .content {
  font-size:0.85em;
}
  #zone-footer .block .content a,
  #zone-footer .block .content a {
    color:#707070;
  }
  #zone-footer .block .content ul,
  #zone-footer .block .content ul {
    margin:0;
  }
    #zone-footer .block .content li,
    #zone-footer .block .content li {
      list-style: none;
      margin-bottom:0.5em;
    }
#region-footer-second #block-copyright-block-copyright-block {
  
}
  #region-footer-second #block-copyright-block-copyright-block h2.block-title {
    display:none;
  }
  #region-footer-second #block-copyright-block-copyright-block .content {
    text-align:right;
  }

/* Blocks */

.block-title {
  font-weight:bold;
  color:#666666;
}

#block-system-user-menu {
  margin-top:1em;
}

#block-search-form {
  margin-top:1em;
}
  #block-search-form .search-form {
    margin-bottom:0;
  }
  #block-search-form input.form-text {
    border: none;
    background-color: transparent;
    color: #ffffff;
    border-bottom: 1px solid #ffffff;
    padding:0;
    margin:0;
    width:100%;
  }
  
#block-easy-breadcrumb-easy-breadcrumb {
  margin-bottom:2em;
  font-size:0.85em;
  text-transform: lowercase;
}


#block-menu-block-1 {
  
}
  #block-menu-block-1 h2.block-title {
    color:#656565;
    font-size:1.2em;
    padding-bottom:0.5em;
    border-bottom:1px solid #656565;
    margin-bottom:0.5em;
  }
    #block-menu-block-1 .content ul.menu {
      margin:0;
    }
      #block-menu-block-1 .content ul.menu li {
        list-style: none;
        padding-bottom:0.25em;
        border-bottom:1px dotted #cccccc;
        margin-bottom:0.25em;
      }
        #block-menu-block-1 .content ul.menu li:last-child {
          list-style: none;
          padding-bottom:0;
          border-bottom:none;
          margin-bottom:0;
        }
          #block-menu-block-1 .content ul.menu li a {
            color:#656565;
          }
            #block-menu-block-1 .content ul.menu li a.active {
              color:#656565;
              font-weight:bold;
            }



#block-block-1 {
  
}
  #block-block-1 .content {
    padding:1em;
    padding-top:0.5em;
  }
  #block-block-1 .content p {
    color:#ffffff;
    font-size:1.25em;
    font-weight:bold;
    background:rgb(0,0,0);
    background: transparent\9;
    background:rgba(0,0,0,0.7);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#b2000000,endColorstr=#b2000000);
    zoom: 1;
    float:left;
    clear:left;
    padding:0.25em 1em;
    margin-bottom:0.25em;
  }

  #block-block-22 > div > div.content.clearfix > p,
  #block-block-23 > div > div.content.clearfix > p {
    color: #ffffff;
    font-size: 1.25em;
    font-weight: bold;
    background:rgb(0,0,0);
    background: transparent\9;
    background:rgba(0,0,0,0.7);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#b2000000,endColorstr=#b2000000);
    zoom: 1;
    float: left;
    clear: left;
    padding: 0.50em 1em;
    margin-bottom: 0.25em;
    margin-top: 30px;
    margin-left: 12px;
  }
  
#block-user-login {
  width:50%;
  float:left;
  margin:1em 0;
}
  #block-user-login .block-inner {
    border:3px solid #90b5e2;
    background-color: #7399ca;
    padding:10px;
    margin-right:10px;
  }
    #block-user-login .block-inner .block-title {
      color:#ffffff;
      font-size:1.2em;
    }
    #block-user-login .block-inner .content {
      color:#ffffff;
    }
      #block-user-login .block-inner .content ul {
        margin:0;
      }
        #block-user-login .block-inner .content ul li {
          
        }
          #block-user-login .block-inner .content ul li a {
            color:#ffffff;
          }
          
#block-mailchimp-lists-newsletter {
  width:50%;
  float:left;
  margin:1em 0;
}
  #block-mailchimp-lists-newsletter .block-inner {
    padding:10px;
    border:3px solid #a0bc1c;
    background-color: #80b356;
    margin-left:10px;
  }
    #block-mailchimp-lists-newsletter .block-inner .block-title {
      color:#ffffff;
      font-size:1.2em;
    }
    #block-mailchimp-lists-newsletter .block-inner .content {
      color:#ffffff;
    }
      #block-mailchimp-lists-newsletter .block-inner .content .form-text {
        margin:0;
        width:98%;
      }
          
#block-user-login,
#block-mailchimp-lists-newsletter {
  
}  
  #block-user-login .form-submit,
  #block-mailchimp-lists-newsletter .form-submit {
    margin:0;
    margin-top:0.5em;
    background-color:#0e8dc2;
    color:#ffffff;
    font-weight:bold;
    border:0;
    padding:0.5em 1em;
    box-shadow:inset 0 0 5px 5px rgba(0,0,0,0.25);
  }
  
/* Views */

.block-views .views-row {
  margin-bottom:1em;
}
  .block-views .views-row:last-child {
    margin-bottom:0;
  }
  .block-views h3 {
    color:#666666;
    border-bottom:1px solid #cccccc;
    padding-bottom:0.25em;
    margin-bottom:0.5em;
  }
  .block-views .views-row,
  .block-views h3 {
    clear:left;
  }

/* Context-specific */

body.context-academics {
  
}
  body.context-academics #region-menu .block-superfish {
    margin-bottom:0;
  }
  body.context-academics #region-menu .block-menu-block {
    background-color:#be276a;
  }
  body.context-academics a {
    color:#a01744;
  }  

body.context-clinicians {
  
}
  body.context-clinicians #region-menu .block-superfish {
    margin-bottom:0;
  }
  body.context-clinicians #region-menu .block-menu-block {
    background-color:#e6710a;
  }
  body.context-clinicians a {
    color:#ae660f;
  }
  
body.context-public {
  
}
  body.context-public #region-menu .block-superfish {
    margin-bottom:0;
  }
  body.context-public #region-menu .block-menu-block {
    background-color:#578a2e;
  }
  body.context-public a {
    color:#557f33;
  }

.field-name-field-news-associated-projects {
  margin-top: 1em;
  text-transform: capitalize;
}
      
/* Homepage specific */
body.front #region-content {
  
}
  body.front #region-content h1 {
    font-weight:bold;
  }
  body.front #region-content .content p {
    font-size:1.2em;
    line-height:1.5em;
  }
  
  
  
/* People */
#block-views-people-front {
  
}
  #block-views-people-front .views-field-nothing {
    font-size:1.5em;
    line-height:1.5em;
  }
  #block-views-people-front .views-field-view-user a {
    background-color:#0e8dc2;
    padding:0.5em;
    margin-top:0.5em;
    display:block;
    color:#ffffff;
    text-decoration: none;
  }
    #block-views-people-front .views-field-view-user a:hover {
      text-decoration: underline;
    }
  
body.page-user {

}
  body.page-user #page-title {
    font-size:2em;
    margin-bottom:0;
  }
  body.page-user .profile .field-name-field-user-institution {
    font-weight:bold;
  }
  body.page-user .profile .field-name-field-user-profile {
    background-color:#eeeeee;
    padding:1em;
    margin:1em 0;
    margin-right:240px;
  }
  
  body.page-user .field-collection-view .field-label {
    width:auto;
  }
  
/* Events */

#block-views-events-front {
  
}
  #block-views-events-front .views-field-title {
    font-weight:bold;
  }
  #block-views-events-front .views-field-field-event-date {
    font-style: italic;
  }
  #block-views-events-front .view-footer {
    margin-top:1em;
  }
    #block-views-events-front .view-footer ul {
      margin:0;
      padding:0;
    }
      #block-views-events-front .view-footer ul li {
        list-style:none;
        background-color:#0e8dc2;
        padding:0.5em;
      }
        #block-views-events-front .view-footer ul li a {
          display:block;
          color:#ffffff;
          text-decoration: none;
        }
          #block-views-events-front .view-footer ul li a:hover {
            text-decoration: underline;
          }

#block-views-events-academic-events {
  
}
  #block-views-events-academic-events .views-field-title {
    font-weight:bold;
  }
  #block-views-events-academic-events .views-field-field-event-date {
    font-style: italic;
  }
  
#block-block-16 {
}
  #block-block-16 .content a {
    background-color:#e44f93;
    padding:0.5em;
    display:block;
    color:#ffffff;
    text-decoration: none;
  }
    #block-block-16 .content a:hover {
      text-decoration: underline;
    }

  body.context-public #block-block-16 .content a {
    background-color:#689b3e;
    padding:0.5em;
    display:block;
    color:#ffffff;
    text-decoration: none;
  }
    body.context-public #block-block-16 .content a:hover {
      text-decoration: underline;
    }

  body.context-clinicians #block-block-16 .content a {
    background-color:#ec8f1f;
    padding:0.5em;
    display:block;
    color:#ffffff;
    text-decoration: none;
  }
    body.context-clinicians #block-block-16 .content a:hover {
      text-decoration: underline;
    }

  body.front #block-block-24 .content a {
    background-color:#0e8dc2;
    padding:0.5em;
    display:block;
    color:#ffffff;
    text-decoration: none;
  }
    body.front #block-block-24 .content a:hover {
      text-decoration: underline;
    }

  body.context-academics #block-block-16 .content a {
    background-color:#e02563;
    padding:0.5em;
    display:block;
    color:#ffffff;
    text-decoration: none;
  }
    body.context-academics #block-block-16 .content a:hover {
      text-decoration: underline;
    }

/* News */

#block-views-news-front {
  
}
  #block-views-news-front .views-field-title {
    font-weight:bold;
  }
  #block-views-news-front .view-footer {
    margin-top:1em;
  }
    #block-views-news-front .view-footer ul {
      margin:0;
      padding:0;
    }
      #block-views-news-front .view-footer ul li {
        list-style:none;
        background-color:#0e8dc2;
        padding:0.5em;
        margin-bottom:0.5em;
      }
        #block-views-news-front .view-footer ul li.academics {
          background-color:#e02563;
        }
        #block-views-news-front .view-footer ul li.clinicians {
          background-color:#ec8f1f;
        }
        #block-views-news-front .view-footer ul li.public {
          background-color:#689b3e;
        }
        #block-views-news-front .view-footer ul li a {
          display:block;
          color:#ffffff;
          text-decoration: none;
        }
          #block-views-news-front .view-footer ul li a:hover {
            text-decoration: underline;
          }

        #block-views-news-front .view-footer ul li:last-child {
          margin-bottom:0em;
      }

#block-views-news-academic-news,
#block-views-news-clinical-news,
#block-views-news-public-news {
  
}
  #block-views-news-academic-news .views-row .views-field-title,
  #block-views-news-clinical-news .views-row .views-field-title,
  #block-views-news-public-news .views-row .views-field-title {
    font-weight:bold;
    margin: 10px auto;
  }
  #block-views-news-academic-news .views-row .views-field-field-news-image,
  #block-views-news-clinical-news .views-row .views-field-field-news-image,
  #block-views-news-public-news .views-row .views-field-field-news-image {
    float:left;
    margin:0 0.5em 0.5em 0;
  }

footer.submitted h3 {
  color: #666666;
  border-bottom: 1px solid #cccccc;
  padding-bottom: 0.25em;
  margin-bottom: 0.5em;
}

body.node-type-news {
  
}
  body.node-type-news .field-name-field-news-image {
    float:left;
    margin:0 1em 0.5em 0;
  }
  
/* Projects */

#block-views-projects-all-projects {

}
  #block-views-projects-all-projects .views-field-title {
    font-weight:bold;
    margin: 10px auto;
  }
  
/* Careers */

#block-views-vacancies-academics,
#block-views-vacancies-clinicians {

}
  #block-views-vacancies-academics .views-field-title,
  #block-views-vacancies-clinicians .views-field-title {
    font-weight:bold;
  }
  #block-views-vacancies-academics .views-field-nothing,
  #block-views-vacancies-clinicians .views-field-nothing {
    font-style: italic;
  }
  
/* Project */

#block-block-15 {
}
  #block-block-15 .content a {
    background-color:#e44f93;
    padding:0.5em;
    display:block;
    color:#ffffff;
    text-decoration: none;
  }
    #block-block-15 .content a:hover {
      text-decoration: underline;
    }

 
/* Clinicians */

#block-block-21 > div > div.content.clearfix > p {
  color: #ffffff;
  font-size: 1.25em;
  font-weight: bold;
  background:rgb(0,0,0);
  background: transparent\9;
  background:rgba(0,0,0,0.7);
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#b2000000,endColorstr=#b2000000);
  zoom: 1;
  float: left;
  clear: left;
  padding: 0.50em 1em;
  margin-bottom: 0.25em;
  margin-top: 30px;
  margin-left: 12px;
}

/* Event Calendar Styles */

@media(max-width: 460px){
  .view-display-id-block_4, .view-display-id-block_5, .view-display-id-block_6{
    display: none;
  }
  #block-user-login, #block-mailchimp-lists-newsletter {
    width: 100%;
  }

  #block-mailchimp-lists-newsletter .block-inner {
    margin-left:0px;
  }

  #block-user-login .block-inner {
    margin-right:0px;
  }

  section#block-views-news-front h2.block-title {
    margin-top: 400px;
  }
}

@media (min-width:461px) and (max-width: 739px){
  section#block-views-news-front h2.block-title {
    margin-top: 275px;
  }
}

input#edit-name,
input#edit-pass {
  width: 98%;
}

.view-display-id-block_4, .view-display-id-block_5, .view-display-id-block_6{
  border: 1px #CCCCCC solid;
}

.single-day{
  background-color: #FFF !important;
}


.context-academics .today{
  background-color: rgba(224, 37, 99, 0.3) !important;
  border-left: 2px solid #e02563 !important;
  border-right: 2px solid #e02563 !important;
  border-bottom: 2px solid #e02563 !important;
}

.context-clinicians .today{
  background-color: rgba(236, 143, 31, 0.3) !important;
  border-left: 2px solid #ec8f1f !important;
  border-right: 2px solid #ec8f1f !important;
  border-bottom: 2px solid #ec9f1f !important;
}

.context-public .today{
  background-color: rgba(104, 155, 62, 0.3) !important;
  border-left: 2px solid #689b3e !important;
  border-right: 2px solid #689b3e !important;
  border-bottom: 2px solid #689b3e !important;
}

.context-academics .date-box.today{
  border-top: 2px solid #e02563 !important;
}

.context-clinicians .date-box.today{
  border-top: 2px solid #ec8f1f !important;
}

.context-public .date-box.today{
  border-top: 2px solid #689b3e !important;
}

.context-academics .event-link-button{
  background-color: #e02563;
}

.context-clinicians .event-link-button{
  background-color: #ec8f1f;
}

.context-public .event-link-button{
  background-color: #689b3e;
}

.event-link-button{
  margin-top: 15px;
}

.event-link-button{  
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
  padding-right: 60px;
  display: inline-block;
  background-image: url('/sites/all/themes/systems_biology/images/event-button-right.PNG');
  background-repeat: no-repeat;
  background-position: top right;
}

.event-link-button a{
  color: #FFF !important;
}

/*.event-link-button a:after{
  background-color: #aaaaaa;
  content: '>';
  padding: 10px;
  margin-left: 15px;
  border-left: 1px solid #FFF;
  border-bottom: 1px solid #aaaaaa;
  height: auto;
}*/

.event-link-button a:hover{
  text-decoration: none;
}

.event-link-button:hover{
  background-color: #aaaaaa;
}

.event-location-field{
  margin-bottom: 10px;
}

.event-image img{
  max-width: 100%;
  height: auto;
}

.event-image-border{
  background-image: url("/sites/all/themes/systems_biology/images/event-image-border.png");
  height: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
}



.event-content{
  margin-top: 10px;
  margin-bottom: 10px;
}


.date-next,.date-prev{ 
  background-color: #595959 !important;
  color: #eeeeee;
  border-radius: 0 !important;
  position: block !important;
  top: -5px !important;
  height: 20px;
  padding-top: 10px !important;
}

.pager{
  margin: 0 !important;
}

.monthview{
  background-color: #eeeeee !important;
}

.date-nav{
  padding: 0 !important;
  margin: 0 !important;
}

.node-type-project .field {
  margin-bottom: 20px;
}

.node-type-project .field-label {
  margin-bottom: 5px;
}