/*
 * NOTICE: This is a commercial Drupal theme. Elements of this theme including this field
 * are licensed under a standard commercial license which does not permit redistribution.
 */
html {
  line-height: 1.6;
  height: 100%;
  overflow-y: scroll;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  text-rendering: optimizeLegibility\9;
  margin: 0;
  padding: 0;
}

h1,h2,h3,h4,h5,h6,
h1 img,h2 img,h3 img,h4 img,h5 img,h6 img,
em,dfn,del,ins,
a,
tbody,tfoot,thead,tr,
ul,li,
label,legend,
figure,figcaption {
  margin: 0;
  padding: 0;
}

/* Reset HTML5 elements */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

img,
a img {
  border: 0;
}

p {
  margin: 0 0 1.5em;
  padding: 0;
}

em,
dfn {
  font-style: italic;
}

ins {
  border-bottom: none;
  text-decoration: none;
}

pre,
code,
tt,
samp,
kbd,
var {
  font-size: 1em;
  font-family: Consolas, "Lucida Console", Menlo, Monaco, "DejaVu Sans Mono", monospace, sans-serif; /* sans-serif Safari hack */
}

blockquote,
q {
  font-style: italic;
  quotes: "" "";
}

blockquote {
  margin: 0 0 1.5em;
  padding: 0 0 0 40px;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
}

blockquote p {
  margin: 0;
}

strong,
dfn,
caption,
th {
  font-weight: 700;
}

ul,
ol {
  margin: 0 0 1.5em 40px;
  padding: 0;
}

.item-list ul,
.item-list ol {
  margin: 0 0 0 15px;
  padding: 0;
}

.item-list ul li {
  margin: 0;
  padding: 0;
}

ul ul,
ul ol,
ol ol,
ol ul,
.block ul ul,
.block ul ol,
.block ol ol,
.block ol ul,
.item-list ul ul,
.item-list ul ol,
.item-list ol ol,
.item-list ol ul {
  margin-bottom: 0;
}

ul {
  list-style-type: disc;
}

ul ul ul {
  list-style-type: square;
}

ol {
  list-style-type: decimal;
}

ol ol {
  list-style-type: lower-alpha;
}


ol ol ol {
  list-style-type: lower-roman;
}

ul ul,
ul ul ul ul {
  list-style-type: circle;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 0 1.5em 40px;
}

/**
 * Flexible Media and Cross browser improvements
 * - This can cause issues in table cells where no width is set on the column,
 *   only in some versions of webkit and IE 7/8.
 * - declaring the width attribute on image elements and using max-width causes
 *   the "dissappering images" bug in IE8.
 * - Google maps break also, see below for fixes.
 */

img {
  max-width: 100%;
  height: auto;
  -ms-interpolation-mode: bicubic;
}

/* /ht Ethan Marcotte - http://front.ie/l8rJaA */
img,
embed,
object,
video {
  max-width: 100%;
}

/* Disable flexiblity for IE8 and below */
.lt-ie9 img,
.lt-ie9 object,
.lt-ie9 embed,
.lt-ie9 video {
  max-width: none;
}

/* Override max-width 100% for map displays, as much as possible anyway... */
#map img,
.gmap img,
.view-gmap img,
.openlayers-map img,
#getlocations_map_canvas img,
#locationmap_map img,
.geofieldMap img,
.views_horizontal_slider img {
  max-width: none !important;
}

/* Improve IE's resizing of images */
svg:not(:root) {
  overflow: hidden;
}

/* Corrects inline-block display not defined in IE6/7/8/9 & FF3 */
audio,
canvas,
video {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}

/* Prevents modern browsers from displaying 'audio' without controls */
audio:not([controls]) {
  display: none;
}

/* Prevent overflowing content */
header[role=banner],
.content-inner,
.nav,
.region-sidebar-first,
.region-sidebar-second,
.region-secondary-content,
.region-tertiary-content,
.region-footer {
  overflow: visible;
  word-wrap: break-word;
}

/**
 * General classes for hiding content. These are all included as SASS mixins.
 * @SEE: sass/custom.scss
 */

/**
 * Image replacement
 * Kellum Method: http://www.zeldman.com/2012/03/01/replacing-the-9999px-hack-new-image-replacement
 * Additional helpers from http://html5boilerplate.com/docs/css/
 */
.ir {
  /* Kellum Method */
  display: block !important;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  /* Additional helpers */
  border: 0; /* Remove the default border from elements like button */
  font: 0/0 a; /* Crush the text down to take up no space */
  text-shadow: none; /* Remove any text shadows */
  color: transparent; /* Hide any residual text in Safari 4 and any mobile devices that may need it */
  background-color: transparent; /* Hide the default background color on elements like button */
}

/* More robust element-invisible and element-focuable classes */
.element-invisible {
  border: 0;
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
}

.element-invisible.element-focusable:active,
.element-invisible.element-focusable:focus {
  clip: auto;
  height: auto;
  overflow: visible;
  position: static !important;
  width: auto;
}

/* Shift content offscreen, can be usefull when you reall need to do this */
.offscreen {
  position: absolute;
  top: -99999em;
  width: 1px;
  height: 1px;
  overflow: hidden;
  outline: 0;
}

/* Hide content from all users */
.element-hidden {
  display: none;
}

/* Contextual links reset */
html div.contextual-links-wrapper * {
  font-size: small;
  line-height: 1.5;
  min-height: 0;
  text-shadow: 0 0 0 transparent;
}

#page-title {
  margin-bottom: 20px;
}

/* Links */
a {
  text-decoration: none;
}

/* Header and Branding */
#header-wrapper {
  padding: 25px 0 20px;
}

#header-wrapper.with-header-region {
  padding: 5px 0 20px;
}

header #logo,
header hgroup  {
  float: left;
}

header hgroup {
  line-height: 1.3;
}

.site-name-hidden #name-and-slogan {
  clear:both;
}


/**
 * Main menu region
 * The theme can't do much, otherwise we run into issues with Superfish which
 * is more important to support out of the box, we try always to work with
 * Superfish and not fight it; bertha, its bigger than both of us...
 */
#menu-wrapper {
  margin-top: 15px;
  position: relative;
}

#menu-bar .block-menu,
#menu-bar .block-menu ul,
#menu-bar .block-menu ul li {
  list-style: none;
  padding: 0;
  margin: 0;
}

#menu-bar ul ul {
  margin-left: 0;
}

.nav .block-menu ul li {
  float: left;
}

.nav .block-menu ul {
  float: left;
}

.nav .block-menu ul ul {
  padding-left: 0;
}

.nav .block-menu ul a {
  padding: 0.75em 1em;
  text-decoration: none;
}

.nav .block-menu ul li:hover,
.nav .block-menu ul li.sfHover,
.nav .block-menu ul a:focus,
.nav .block-menu ul a:hover,
.nav .block-menu ul a:active {
  outline: 0;
}

/* Superfish tweaks */
.sf-menu.sf-style-default.sf-navbar {
  margin-bottom: 30px;
}

/* Region header */
.region-header {
  clear: both;
  font-size: 0.923em;
}

.region-header .block {
  float: left;
  display: inline;
  margin: 0 auto;
}

#region-header-wrapper {
  padding-bottom: 20px;
}

.region-header .block-menu  ul.menu {
  margin: 0;
  padding: 0;
}

.region-header .block-menu  ul.menu li{
  float: left;
  list-style: none;
  line-height: 2.5em;
  height: 2.5em;
  margin: 0;
  padding: 0 15px 0 0;
}

.region-header .block-menu  ul.menu li a{
  float: left;
  display: block;
  line-height: 2.5em;
  height: 2.5em;
}

/* Region secondary content */
#secondary-content-wrapper .container {
  padding: 30px 0 20px;
}

.region-secondary-content .block {
  margin: auto auto 15px;
  width: 95%;
}

.region-secondary-content .block-title {
  font-size: 2em;
  text-transform: none !important;
}

#secondary-content-wrapper .region-secondary-content img {
  padding: 0;
  -moz-box-shadow: 0 1px 9px rgba(255, 255, 255, 0.45);
  -webkit-box-shadow: 0 1px 9px rgba(255, 255, 255, 0.45);
  box-shadow: 0 1px 9px rgba(255, 255, 255, 0.45);
}

/* Sub panels */
#sub-panels-wrapper .container  {
  padding: 30px 0 20px;
}

#sub-panels-wrapper .container  .three-3x33 .block,
#sub-panels-wrapper .container .three-3x33 .block h1  {
  text-align: center !important;
}

#sub-panels-wrapper .container  .three-3x33 .block .node-content,
#sub-panels-wrapper .container .three-3x33 .block .block-content,
#sub-panels-wrapper .container .three-3x33 .block .content  {
  text-align: justify !important;
}

#sub-panels-wrapper .container .three-3x33 .block h1 {
  margin-top: 5px;
}

.three-3x33 .block {
  margin-bottom: 15px;
}

.three-3x33 .block-title {
  margin: 0 0 10px;
}

.three-3x33 .item-list ul,
.three-3x33 .item-list ul li,
.four-4x25 .item-list ul,
.four-4x25 .item-list ul li {
  margin: 0;
  padding: 0;
  list-style: none;
  list-style-image: none;
}

.four-4x25 {
  padding: 30px 0 10px;
}

.two-50 {
  padding: 0 0 40px;
}

.region-tertiary-content {
  padding: 30px 0 10px;
}

#footer-wrapper .container {
  padding: 30px 0 10px;
}

#content-wrapper {
  padding-top: 40px;
}

#columns {
  padding-bottom: 60px;
}

/* Gutters - if gutters are set in theme settings they will override these
   values: see Extensions > Modify Output > Design */
#main-content,
.block-inner,
.pane-inner,
.menu-wrapper,
.branding-elements,
.breadcrumb-wrapper,
.attribution,
.at-panel .rounded-corner,
.block-panels-mini > .block-title,
div.messages {
  margin-left: 10px;
  margin-right: 10px;
}

/*
 * Panel pages need negative margin equal to the gutter width applied to #content,
 * this is taken care of in theme settings as per above for normal gutters
 */
#content .panel-display,
#content .panel-flexible {
  margin-left: -10px;
  margin-right: -10px;
}

/* Article, Comments, Titles */
.node,
.block  {
  margin-bottom: 30px;
}

.comment {
  margin-top: 15px;
  margin-bottom: 15px;
}

.node .comment-title,
#content-wrapper  .node .comment-title {
  border: 0;
}

.node .title,
#content-wrapper .node h1.title,
#comments h2.title,
#content-wrapper .block .title {
  border-bottom: 1px solid #ccc;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
}

#content-wrapper .block .title {
  margin-bottom: 25px;
}

.block .title {
  margin-top: 0;
  margin-bottom: 0;
}

.node .comment-title {
  border: 0;
  padding: 6px 0 0 0;
}

#content-wrapper .block .comment-title {
    margin: 0;
}

.view .node-title {
  border: 0;
  margin: 0;
  padding: 0;
  line-height: 1;
}

.user-picture,
.picture {
  float: left;
  margin: 4px 15px 5px 0;
  width: 60px;
}

#comments {
  clear: both;
  padding-top: 15px;
}

.comment .user-picture, .picture {
 margin: 13px 0 5px 0;
}

.comment .user-picture img {
  width: 50px;
}

.node-with-picture .node-header {
  margin-left: 85px;
}

.comment-with-picture .comment-header {
  margin-left: 75px;
}

.submitted {
  margin-top: 5px;
}

.comment .author-datetime {
  margin: 0;
  padding: 0;
}

article nav ul.links.inline {
  display: block;
  padding-left: 0;
  margin: 10px 0;
  text-align: right;
}

article nav ul.links.inline li {
  padding: 0 0 0 10px;
}

.user-picture img,
.picture img,
.field-type-image img {
  border: 1px solid #CCC;
  padding: 5px;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box; 
}

.field-type-image {
  margin-bottom: 15px;
}

.field-label {
  font-size: 1em;
  font-weight: 400;
}

.field-label-inline ul {
  margin: 0 0 0 4px;
  padding: 0;
  list-style: none;
}

.field-type-taxonomy-term-reference ul li {
  list-style: none;
}

.comment-with-picture .comment-content {
  margin-left: 75px;
}

.indented {
  margin-left: 42px;
}

/* Local task tabs */
#tasks ul li a,
#tasks ul li a:hover,
#tasks ul li a.active,
#tasks ul li.active a,
#tasks ul li a.active:hover,
#tasks ul li a.active:focus {
  background: none;
  border: none;
  display: block;
}

#tasks ul  {
  border-bottom: 0;
  border-collapse: collapse;
  line-height: 2;
  margin: 27px 0 20px;
  padding: 0;
  white-space: normal;
}

#tasks ul li {
  float: left;
  display: block;
  margin-bottom: 5px;
}

#tasks ul  li a  {
  margin-right: 5px;
  padding: 0 10px;
  font-weight: 400;
  background: url(images/button-grad.png) repeat-x 0 bottom;
  border-width: 1px;
  border-style: solid;
  border-color: #eee #ddd #CCC #ddd;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
}

#tasks ul li a:hover,
#tasks ul li a.active,
#tasks ul li.active a,
#tasks ul li a.active:hover,
#tasks ul li a.active:focus  {
  color: #333;
  background: url(images/button-grad.png) repeat-x 0 bottom;
  border-width: 1px;
  border-style: solid;
  border-color: #eee #ddd #CCC #ddd;
}

#tasks ul.secondary li {
  padding: 0;
  border: 0;
}

#tasks ul.secondary li a {
  background: transparent !important;
  border: 0 none !important;
}

/* Pager */
.item-list .pager {
  border: 1px solid #CCCCCC;
  margin: 20px 0 30px;
  padding: 5px 0;
  font-weight: 400;
}

.pager-current {
  font-weight: 400;
}

/* Tables */
table {
  width: 100%;
  margin-bottom: 20px;
  border-width: 1px;
  border-style: solid;
  border-color: #eee;
  border-color: rgba(0,0,0,0.2);
}

table caption {
  text-align: left;
  margin: 5px 0;
}

th,
td {
  padding: 8px 12px;
  border: 0;
}

th,
thead,
tbody {
  border-color: #eee;
  border-color: rgba(0,0,0,0.2);
}

thead {
  background: #f7f7f7;
  background: rgba(0, 0, 0, 0.05);
}

tr {
  border: 0;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-color: #eee;
  border-color: rgba(0, 0, 0, 0.1);
}

tr:hover {
  background: #f7f7f7;
  background: rgba(0, 0, 0, 0.03);
}

/* Form */
.filter-wrapper,
input.form-text,
textarea {
  border: 1px solid #CCCCCC;
}

.filter-wrapper {
  border-top: 0 !important;
}

input.form-text,
textarea {
  padding: 3px;
}

select {
  padding: 4px;
}

.tips {
  font-size: 0.846em;
  list-style: none;
  margin: 0;
  padding: 0;
}

input.form-submit {
  margin: 5px 10px 0 0;
  padding: 2px 6px 5px;
  border: 1px solid;
  cursor: pointer;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  -ms-border-radius: 2px;
  border-radius: 2px;
  -moz-transition: all 0.3s linear;
  -webkit-transition: all 0.3s linear;
  transition: all 0.3s linear;
}

form[id*="search-block-form"] .form-submit,
#search-block-form .form-submit {
  background: url(images/65.png) no-repeat 0 0;
  height: 24px;
  width: 24px;
  text-indent: -999999em;
  text-transform: uppercase;
  border: 0 none;
}

.lb-h .form-actions,
.lb-h .form-submit {
  margin: 0;
  padding: 3px;
  font-size: 0.9em;
}

.lb-h form .item-list {
  margin: 3px;
}

.lb-h form .item-list ul {
  margin: 0;
}

.lb-h form .item-list ul li {
  list-style: none;
  margin-right: 5px;
}

/* Menu */
ul.menu {
  padding: 0 0 0 15px;
  margin: 0;
}

.book-navigation .menu {
  padding: 20px 30px;
}

.book-navigation .page-links {
  border: 1px solid #CCCCCC;
}

.node-type-book ul.inline {
  margin: 5px 1px 10px;
}


/* Breadcrumbs */
#breadcrumb {
  margin: 10px 0;
}

#breadcrumb ol {
  margin: 0;
  padding: 0;
}

/* If the label is set to show in theme settings the label class is added */
#breadcrumb .breadcrumb-label {
  font-size: 1em;
  display: inline;
  padding-right: 10px;
}

#breadcrumb .breadcrumb-label:after {
  content: ":";
}

#breadcrumb .with-breadcrumb-label ol {
  display: inline;
}

#breadcrumb li {
  list-style: none;
  display: inline;
}

.crumb-sepreator {
  padding: 0 3px;
}


/* Profile */
.profile .user-picture {
  float: right;
  margin: 50px 0 10px 10px;
}

/* Social networking block */
.view-social-network ul {
  padding: 0;
  margin: 0;
}

.view-social-network ul li {
  list-style: none;
  display: inline;
}
