/* Copyright (C) YOOtheme GmbH, http://www.gnu.org/licenses/gpl.html GNU/GPL */

/*
 * Modules Style Sheet - Defines general module defaults, headings, badges and icons
 */


.module { position: relative; }


/* Module Defaults
----------------------------------------------------------------------------------------------------*/
.deepest > *:first-child { margin-top: 0; }
.deepest > *:last-child { margin-bottom: 0; }


/* Module Headings
----------------------------------------------------------------------------------------------------*/
.module .module-title { margin: 0 0 15px 0; }

/* Subtitles */
.module .module-title span.title { display: block; }
.module .module-title span.subtitle {display: block;margin-top: 2px;line-height: 14px;font-size: 12px;text-indent: 1px;}


/* Module Badges
----------------------------------------------------------------------------------------------------*/
.module .badge {position: absolute;top: 0px;right: 0px;z-index: 1;width: 32px;height: 22px;background: url(../images/module_badges.png) 0 0 no-repeat;}
.module .badge-hot { background-position: 0 0; }
.module .badge-top { background-position: 0 -25px; }
.module .badge-free { background-position: 0 -50px; }
.module .badge-new { background-position: 0 -75px; }


/* Module Icons
----------------------------------------------------------------------------------------------------*/
.module .module-title .icon {display: block; position: relative;top: -6px;width: 30px;height: 30px;margin-right: 5px;overflow: hidden;float: left;}
.module .module-title .icon { background: url(../images/module_icons.png) 0 0 no-repeat; }
.module .module-title .icon-download { background-position: 0 0; }
.module .module-title .icon-twitter { background-position: 0 -30px; }
.module .module-title .icon-mail { background-position: 0 -60px; }
.module .module-title .icon-bubble { background-position: 0 -90px; }
.module .module-title .icon-login { background-position: 0 -120px; }
.module .module-title .icon-cart { background-position: 0 -150px; }


/* Module Type: Box
----------------------------------------------------------------------------------------------------*/
.mod-box {padding: 20px;background:#f3f2dd;}
.mod-box .badge { top: 10px; right: 10px; }


/* Custom Box Styles
----------------------------------------------------------------------------------------------------*/
aside#sidebar-b .mod-box {
  background: transparent; /*#e5e3bc;*/
  -webkit-border-top-left-radius: 0px;
  -moz-border-radius-topleft: 0px;
  border-top-left-radius: 0px;
  border-left: 1px solid #8E8A41;
  padding: 0 20px 20px 20px;
}

/* force the h3 to look like an h1 on the homepage */
.wp-front_page aside#sidebar-b h3 {
  font-size: 32px;
  text-transform: lowercase;
  font-weight: normal;
  font-family: "Futura W01 Light",Arial,Helvetica,sans-serif;
}

aside#sidebar-a .mod-box {
  -webkit-border-top-right-radius: 50px;
  -moz-border-radius-topright: 50px;
  border-top-right-radius: 50px;
}

/* Events
------------------------------------------------------------------------------------ */
ul.eventDatesList {
  margin: 0;
}

ul.eventDatesList li {
  list-style: none;
}

#maininner{
	overflow:hidden;
}

section#top-a .mod-box{background: #FFFFFF; border: 1px solid #DCDCDC;padding:10px;
-webkit-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.3);
box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.3); }

article.item-home {}
article.item-home img{background: none repeat scroll 0 0 #FFFFFF; box-shadow: 0 0 3px #C0BFAE; margin: 0 0 10px; padding: 10px; float:left; clear:left;}
article.item-home .content{overflow:hidden;}
article.item-home .content > p:first-child {margin-top: 0;}
article.item-home header .title {padding:0;margin:0!important;clear:both;line-height:30px}
article.item-home header h1.title {margin:0 0 10px 0!important;}
article.item-home header {float:left;}
header .title {line-height:30px; text-transform:lowercase;}

#bottom-a h1{
  text-transform:lowercase;
}

/* Our Team
------------------------------------------------------------------------------------ */
.team-member .wp-post-image {
  max-width: 150px;
  height: auto!important;
}

.wp-team-member .content .wp-post-image {
  max-width: 200px;
  height: auto!important;
  float: right;
  margin: 0 0 2em 2em;
}

.wp-team-member h1.title {
  margin-bottom: 0;
  line-height: 1.2em;
}

.wp-team-member .role {
  font-weight: bold;
  font-size: 1.2em;
  line-height: 1;
}

.team-member {
  clear: both;
}
.profile-image {
  float: left;
  max-width: 179px;
  height: auto!important;
  margin: 0 1em 1em 0;
}

.profile-image figure {
  margin: 0;
}

.profile-image img  {
  max-width: 100%;
  height: auto!important;
}

.team-member-name h3,
.team-member-name .role,
.team-member-name .teaching-role {
  margin: 0;

}