/* Smartphone landscape */
#page {
  box-shadow: 0 0 0 rgba(0, 0, 0, 0) !important;
}

#footer {
   height:140px;   /* Height of the footer */
}

#header {
  height: 210px;
  max-height: 1000px;
  
  padding: 0;
  
  background-image: none;
}

#branding,
#header .region-header {
  width: 100%;
  height: 150px;
  max-height: 1000px;
  
  float: none;
  
  background: transparent !important;
}

#header  .region-header {
  /*margin: 10px 0;*/
}

.not-front #logo,
#logo{
  padding-left: 20px;
  line-height: 150px;
}

#logo a img{
  width: 50%;
}

.region-header{
  display: none;
}

.not-front #header {
  height: 210px;
}


.region-secondary-content .block {
  margin-bottom: 0;
  font-size: 1em;
}

#menu-bar {
  padding: 0;
}
#menu-bar .block {
  clear: both;
  float: none;
}
#menu-bar .menu-wrapper ul ul {
  position: static;
  top: 0;
  width: 100% !important;
  padding-bottom: 0px !important;
}
#menu-bar .menu-wrapper > ul,
#menu-bar .menu-wrapper > ul > li {
  display: block;
  float: none;
  margin: 0;
  border-bottom: 1px solid rgba(255,255,255,0.5);
}

#menu-bar .menu-wrapper ul li{
  height:45px;
  overflow:hidden;
}

#menu-bar .menu-wrapper ul li.active-trail{
  height:auto;
}

#menu-bar .menu-wrapper ul li.active-trail > ul,
#menu-bar .menu-wrapper ul li.sfHover > ul{
  top: 0px !important;
}

#menu-bar .menu-wrapper ul ul li {
  border-bottom: none;
  float: none !important;
}
#menu-bar .menu-wrapper ul ul li.first {
  border-top: 1px solid #fff;
}
#menu-bar .menu-wrapper ul ul li.last {
  border-bottom: 0;
}
#menu-bar .sf-menu {
  height: auto;
  padding: 0;
}


.region-sidebar-first .block,
.region-sidebar-second .block {
  width: 100%;
}
.ie6-7 .mbp-c #menu-bar .menu-wrapper  ul,
.ie6-7 .mbp-c #menu-bar .menu-wrapper  .sf-menu li {
  left: auto;
}

.content-inner .iat-l .field-type-image figure {
  float:none;
  margin: auto;
}

.content-inner .iat-l .field-type-image figure img{
  margin: auto;
}

/*
 * Responsive Grid
 */
.views-responsive-grid.views-columns-2 .views-column{
  width: 100%;
  float:left;
}

.views-responsive-grid.views-columns-2 .views-column-1{
  border-right: none;
}

/*
 * Node Partner Teaser 
*/ 

.node-partner.node-teaser .field-type-image figure {
  float: none;
}

/*
 * Node Lab Teaser 
*/ 
.node-lab.node-teaser .region-two-33-66-second{
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}
.node-lab.node-teaser .region-two-33-66-second .region-inner{
  margin-left: 0;
  margin-right: 0;
}

.node-lab.node-teaser .region-two-33-66-second h2 {
  float: none;
  margin-top: 0px;
  font-weight: bold;
}
 
 .node-lab.node-teaser .region-two-33-66-second .field > ul,
 .node-lab.node-teaser .region-two-33-66-second .field > div{
    margin-left: 0px;
 }

/*
 * workshop teaser
 */
.node-teaser .field-type-image figure {
  float: none;
  margin-right: 0;
}

.node-teaser .field-type-image figure img{
  margin: auto;
}

/*
 * workshop details
 */
.node-workshops.node-full .field-name-field-workshop-image figure{
  margin: 0 0 10px 0;
  float: none;
}

.node-workshops.node-full .field-name-field-workshop-image figure img{
  margin: auto;
  max-width: 100%;
  height: auto;
}