/* 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. */

a:link, a:visited, a:hover, a:focus, a:active {text-decoration:none;}
p {margin-bottom:.75em; margin-top:.75em;}
#page {min-width:240px;}

/* Admin menu */
#admin-menu-wrapper {height:24px;}
html body.html.admin-menu {margin-top:0 !important;}
div#admin-menu {display:none;}

/* Mobile Menu Bar */
#zone-user-wrapper {display:none;}
#incubator-mobile-menu-bar {
  position:absolute;  z-index:1000;
  top:0;  left:0;  height:28px;  width:100%;
}
.incubator-mobile-menu-box {
  height:24px;  width:32px;  padding:0; margin:2px;
  overflow:hidden;
  border-radius: 9px;
  -moz-border-radius: 9px;
  -webkit-border-radius: 9px;
  position:relative;  z-index:1000;
  float:right;
}
.incubator-mobile-menu-box.has-content.show-it {overflow:visible;}
#incubator-mobile-menu-bar .incubator-mobile-menu-box ul {
  position:absolute; right:0;
  min-width:200px; padding:4px 6px;
  background:black;
  border-radius: 9px 0 9px 9px;
  -moz-border-radius: 9px 0 9px 9px;
  -webkit-border-radius: 9px 0 9px 9px;
}
#incubator-mobile-menu-bar .incubator-mobile-menu-box ul li {
  text-align:center;list-style:none none outside;margin:0;padding:0;
}
#incubator-mobile-menu-bar .incubator-mobile-menu-box ul li a,
#incubator-mobile-menu-bar .incubator-mobile-menu-box ul li a:link,
#incubator-mobile-menu-bar .incubator-mobile-menu-box ul li a:visited,
#incubator-mobile-menu-bar .incubator-mobile-menu-box ul li a:hover,
#incubator-mobile-menu-bar .incubator-mobile-menu-box ul li a:active {
  color:#e2e2e2; font-size:18px; font-weight:bold; display:block;
  width:100%; margin-bottom:1px; padding:6px 0; background-color:#333;
}
#incubator-mobile-menu-bar .incubator-mobile-menu-box ul li a:hover,
#incubator-mobile-menu-bar .incubator-mobile-menu-box ul li a:active {
  background-color:#999;
}
a.incubator-mobile-menu {
  background-image: url(mobile-menus.png);
  background-color: black;
  background-repeat: no-repeat;
  display: block;
  height: 24px;
  overflow: hidden;
  text-indent: -9999px;
  width: 32px;
  border-radius: 9px;
  -moz-border-radius: 9px;
  -webkit-border-radius: 9px;
}
.incubator-mobile-menu-box.has-content.show-it a.incubator-mobile-menu {
  height:26px;
  border-radius: 9px 9px 0 0;
  -moz-border-radius: 9px 9px 0 0;
  -webkit-border-radius: 9px 9px 0 0;
}
#mobile-menu-user a.incubator-mobile-menu {background-position:-32px 0;}
#mobile-menu-main a.incubator-mobile-menu {background-position:-64px 0;}

/* Background */
#bg-gradient {
  width:100%;
  position:absolute;
  top:0;
  height:450px;
  z-index:0;
}
#zone-user {position:relative; z-index:1;}
#zone-header {position:relative; z-index:1; padding-top:9px; padding-bottom:12px;}
#zone-menu {position:relative; z-index:1;}

/* Branding */
hgroup.site-name-slogan {font-size:40%;width:100%;display:table-cell;vertical-align:middle;}
.logo-img {float:left; margin-right:9px; display:none;}

.site-name {margin-top:20px;}
.site-name a {text-decoration:none;}

.site-name, .site-slogan {margin-bottom:0;}

/* Banner */
#header-banner-image {position:relative;height:400px !important;}
#zone-header {margin-top:-368px;}


/* Mobile branding */
.logo-img {width:50px; max-width:10%;}
.logo-img a, .logo-img img {width:100%; display:block;}
.site-name-slogan .site-name {margin-top:5px;}
h1.site-name, h6.site-slogan {width:100%;}


/* Navigation */
nav.navigation {display:none;}

nav.mobile-navigation {text-align:center; font-size:150%;}
nav.mobile-navigation ul li a {padding:6px 0; margin:1px 0 0; display:block; width:100%;}

body.not-logged-in.page-user-reset #block-system-user-menu li a,
body.not-logged-in.page-user-login #block-system-user-menu li a {display:none;}


/* Main content */
#zone-content {position:relative; z-index:1;}
#zone-content .region {margin-top:18px;margin-bottom:12px;}
#zone-triptych .region {margin-top:12px;margin-bottom:12px;}

#zone-content, #section-content #region-content .block-inner {background:white; padding-top:1px;}

h1#page-title {margin:0 0 18px 0;}

.submitted {margin-bottom:.5em; line-height:20px; font-size:80%;}

.field-type-taxonomy-term-reference .field-label {display:none;}

/* Node views */
.node .field {margin-top:19px; margin-bottom:19px;}
.node .field-name-field-event-date {clear:both;}

.field-type-taxonomy-term-reference .field-item {
    display: block;
    float: left;
    font-size: 90%;
    margin: 0 5px 5px 0;
    padding: 2px 9px;
}

/* Submitted information */
.incubator-user-submitted {
  float: left;
  font-size: 80%;
  left: -12px;
  margin: 0 0 4px -4px;
  padding: 8px 12px 2px 16px;
  position: relative;
  width: 34px;
}
.node .user-picture,
.node .submitted {
  display:block;
  float:left;
  margin:0 0 9px;
  line-height:1.3em;
  width:34px;
}
.node .user-picture img {width:34px;}
.node .submitted span {
  display:block;
  width:100%;
  text-align:center;
  font-size:160%;
  font-weight:bold;
  width:100%;
}
.node .submitted span.submitted-month {font-size:120%;}


/* Teasers */
article.node-teaser {
  margin-top:12px;
  margin-bottom:18px;
  padding:12px;
  border-width: 1px 1px 5px;
  border-style: solid;
}

/* Blocks */
div.contextual-links-wrapper {font-size:9px; line-height:10px;}

#section-content .block, nav.mobile-navigation {margin-bottom:9px;}
#section-content h2.block-title {
  padding: 10px 9px;
  margin:0;
  text-align:center;
  border-radius: 5px 5px 0px 0px;
  -moz-border-radius: 5px 5px 0px 0px;
  -webkit-border-radius: 5px 5px 0px 0px;
}
#section-content #region-content h2.block-title {text-align:left; background:transparent; border-radius:none; padding:0;}
#section-content .block-inner, nav.mobile-navigation {padding: 10px 9px; border-width: 1px 1px 5px 1px; border-style:solid;}
#section-content #region-content .block-inner {padding:0; border-style:none;}

#zone-content aside input {max-width:100%;}
#zone-content aside input.form-submit,
#zone-content aside submit {float:right; margin-top:5px;}

#zone-content aside #block-search-form .form-type-textfield input {
  width:100%; border-width:1px; border-style:solid;
}

#section-header #block-search-form form {
  float:right; margin:9px 0;
}

/* Views */

.views-row {margin-bottom:.5em;}
.views-row.views-row-last {margin-bottom:0;}

.view-localities table {display:none;}
.view-localities .attachment .view-display-id-attachment_1 {display:block;}


/* Footer */
#region-footer {min-height:60px;}
.region-footer ul.menu li {
    display: inline;
    list-style-type: none;
    padding: 0 0.5em;
}
.region-footer #block-menu-footer {float:right; line-height:2em; position:relative; z-index:1;}

#block-incubator-copyright {font-size:75%;}

/* Tabs */
div.tabs {position:absolute; top:-7px; left:0; font-size:10px;}
div.tabs ul.primary {border-bottom:none;}
div.tabs li {margin-right:1px;}
div.tabs ul.primary li a {
  border-style:solid; margin-right:5px; color:grey;
  border-radius: 0 0 12px 12px;
  -moz-border-radius: 0 0 12px 12px;
  -webkit-border-radius: 0 0 12px 12px;
}
div.tabs ul.primary li.active a {
  color:black;
  border-radius: 0;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
}

/* Borders */
body.borders-round #zone-menu ul.main-menu li {
  border-radius: 20px 20px 0px 0px;
  -moz-border-radius: 20px 20px 0px 0px;
  -webkit-border-radius: 20px 20px 0px 0px;
}
body.borders-round #section-content h2.block-title {
  border-radius: 20px 20px 0px 0px;
  -moz-border-radius: 20px 20px 0px 0px;
  -webkit-border-radius: 20px 20px 0px 0px;
}
