/**
 * @file
 * SMACSS Modules
 *
 * Adds modular sets of styles.
 *
 * Additional useful selectors can be found in Zen's online documentation.
 * https://drupal.org/node/1707736
 */

/**
 * Wireframes.
 */
.with-wireframes #header,
.with-wireframes #main,
.with-wireframes #content,
.with-wireframes #navigation,
.with-wireframes .region-sidebar-first,
.with-wireframes .region-sidebar-second,
.with-wireframes #footer,
.with-wireframes .region-bottom {
  outline: 1px solid #ccc;
}
.lt-ie8 .with-wireframes #header,
.lt-ie8 .with-wireframes #main,
.lt-ie8 .with-wireframes #content,
.lt-ie8 .with-wireframes #navigation,
.lt-ie8 .with-wireframes .region-sidebar-first,
.lt-ie8 .with-wireframes .region-sidebar-second,
.lt-ie8 .with-wireframes #footer,
.lt-ie8 .with-wireframes .region-bottom {
  /* IE6/7 do not support the outline property. */
  border: 1px solid #ccc;
}

/**
 * Regions.
.region-sidebar-first,
.region-sidebar-second {
    background-color: #E0E8F0;
}
 */

.mgoc-sidebar-panel {   /* img container */
    margin-left: auto;
    margin-right: auto;
    width: 77%;         /* magic number from experimentation... */
}

.mgoc-sidebar-links-panel {   /* img */
    float: none;
    background-color: #fff;
    border: 1px solid #406ca0;
    padding: 1em;
}
.mgoc-sidebar-links-panel .mgoc-sidebar-facebook-logo {
    margin-left: auto;
    margin-right: auto;
    width: 170px;
}
.mgoc-sidebar-links-panel .mgoc-sidebar-youtube-logo {
    margin-top: 1em;
    margin-left: auto;
    margin-right: auto;
    width: 101px;
}

#content article .field-name-field-main-image .field-item { /* for centred images */
    margin-left: auto;
    margin-right: auto;
    width: 90%;
}
.front #content article .field-name-field-main-image .field-item { /* for Home Page image */
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}

/**
 * Accessibility features.
 */

/* element-invisible as defined by http://snook.ca/archives/html_and_css/hiding-content-for-accessibility */
.element-invisible,
.element-focusable,
#navigation .block-menu .block__title,
#navigation .block-menu-block .block__title {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
}

/* Turns off the element-invisible effect. */
.element-focusable:active,
.element-focusable:focus {
  position: static !important;
  clip: auto;
  height: auto;
  width: auto;
  overflow: auto;
}

/*
 * The skip-link link will be completely hidden until a user tabs to the link.
 */
#skip-link {
  margin: 0;
}
#skip-link a,
#skip-link a:visited {
  display: block;
  width: 100%;
  padding: 2px 0 3px 0;
  text-align: center;
  background-color: #666;
  color: #fff;
}

/**
 * Branding header.
 */

/* Wrapping link for logo. */
.header__logo_wrapper {
  float: left; /* LTR */
  margin-right: 2em;
  width: 159px;
}
.header__logo {
  margin: 0;
  padding: 0;
}

/* Logo image. */
.header__logo-image {
  vertical-align: bottom;
}

/* Wrapper for website name and slogan. */
.header__name-and-slogan {
  float: left;
/*  text-align: center;  */
  margin-top: 3.2em;
  width: 50%;
}

/* The name of the website. */
.header__site-name {
  margin: 0;
/*  margin-top: 1em;  */
  margin-left: auto;
  margin-right: auto;
  font-size: 3.2em;
  line-height: 1em;
/*
  line-height: 1.5em;
  color: #406ca0;
*/
}

/* The link around the name of the website. */
.header__site-link:link,
.header__site-link:visited {
  color: #000;
}
.header__site-link:hover,
.header__site-link:focus {
  text-decoration: none;
}

/* The slogan (or tagline) of a website. */
.header__site-slogan {
  margin: 0;
  margin-top: 0.5em;
  font-size: 1.7em;
}

/* The secondary menu (login, etc.) */
.header__secondary-menu {
  float: right; /* LTR */
  margin-top: 0.5em;
  width: 30%;     /* Needed for IE 9,10,11... ??? */
  font-size: 1.1em;
}
.header__secondary-menu .mgoc-button-column-container {
  display: block;
  float: none;
  /*  margin-top: 0.5em;  */
}
.header__secondary-menu .mgoc-button-column-container .mgoc-button-column {
  display: block;
  float: right;
  margin-top: 0.5em;
  margin-right: 0.5em;
/*  margin-left: 1px; */
/*  width: 74px;    */
}
.header__secondary-menu div#mgoc-user-display-name-column {
  float: right;
  margin-top: 0em;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  background-color: white;
/*  border: 1px solid #dfddd5;  */
}

.header__secondary-menu .mgoc-button-row-container {
  display: block;
  float: right;
  }
.header__secondary-menu .mgoc-button-row {
  margin-top: 0.5em;
  margin-left: 2px;
/*  width: 6em; */
}

/* 
 * Our standard "fancy link" styling.
 * (Forum subscribe links added here, as we can't control their classes)
 */
.more-link a,
.mgoc_fancy_link a,
.header__secondary-menu a,
.forum-post li.subscribe a,
.forum-post li.unsubscribe a {    
/*  display: inline;  */
  color: black;
  text-decoration: none !important;
  padding-left: 1em;
  padding-right: 1em;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  background-color: #a9bdd4;
  text-align: center;
/*  min-width: 10em;    */
  white-space: nowrap;
}
.more-link a:hover,
.mgoc_fancy_link a:hover,
.header__secondary-menu a:hover,
.forum-post li.subscribe a:hover,
.forum-post li.unsubscribe a:hover {    
  background-color: #406ca0;
}

/*
.header__secondary-menu ul li a {
  color: black;
}
*/

/* 
 *  Carousel
 */
/* stop left/right buttons being clipped: */
.optionset-mg-slider .flex-direction-nav a::before {
  font-size: 49px;
}        
.optionset-mg-slider .flex-direction-nav a {
  height: 61px;
  margin: -3px 0 0;
  overflow: visible;
}
.front .flexslider {
  border: none;
}
.flex-viewport {
   height: 450px; 
}
/* Title and caption - float on top of image */
.flex-viewport .views-field-title {
/*  float: left;  */
  position: absolute;
  top: 2em;
  margin-left: 2em;
  background: #222;
  color:  #fff;
  font-size: 1.5em;
  font-weight: bold;
  padding: 15px 20px;
  text-transform: uppercase;
}
.flex-viewport .flex-caption {
  position: absolute;
  top: 30em;
  margin-left: 1em;
/*
  margin-left: 3em;
  margin-right: 2em;
*/
  background: #fff;
  color:  #000;
  font-size: 1.1em;
  font-weight: bold;
  padding: 0.5em; 
}
.flex-viewport .views-field-title a,
.flex-viewport .flex-caption a {
  color: #fff;
  text-decoration: none;
}


/* Footer - override Zen theme defaults */
#footer {
  padding-left: 0;
  padding-right: 0;
}
/* Custom footer links bar */
#mgoc-footer-links-bar {
  padding-top: 1em;
  padding-bottom: 1em;
  text-align: center;
}
#mgoc-footer-links-bar ul li {
  padding: 0;
  padding-left: 0.4em;
  padding-right: 0.4em;
  border-left: 1px solid #406ca0;
}
#mgoc-footer-links-bar ul li:first-child { /* first-child supported from IE7 onwards */
  border-left: none;
}
#mgoc-footer-links-bar ul li a {
/*  display: inline;  */
/*  color: #406ca0;   */
  font-size: 0.9em;
}
/* Font size on IE 8 needs to be slightly smaller... */
.lt-ie9 #mgoc-footer-links-bar ul li a {
  font-size: 0.75em;
}

/* Standard footer links bar */
#mgoc-footer-standard-links-bar {
  padding-top: 1em;
  padding-bottom: 1em;
  text-align: center;
  background-color: #2c2c2c;
}
#mgoc-footer-standard-links-bar ul li {
  padding: 0;
  padding-left: 1em;
  padding-right: 1em;
  border-left: 1px solid white;
}
#mgoc-footer-standard-links-bar ul li:first-child { /* first-child supported from IE7 onwards */
  border-left: none;
}
#mgoc-footer-standard-links-bar ul li a {
/*  display: inline;  */
  color: white;
}

/* Wrapper for any blocks placed in the header region. */
.header__region {
  /* Clear the logo, but allow the search form to float alongside it */
  clear: right;
}

/* search form */
#block-search-form {
  float: right; /* LTR */
  margin-top: 8em;
  margin-bottom: 0.5em;
/*
  text-align: right;
  position: absolute;
  bottom: 34px;
  right: 0;
  width: 290px;
*/
  font-size: 1em;   /* 0.833em; */
}
form#search-block-form input.form-text {
/*  background-color: #dfddd5;  */
  width: 14em;
}
/* Nice little search icon for the button */
form#search-block-form input.form-submit {
/* #search-form input.form-submit {  */
  margin-left: 0;
  margin-right: 0;
  height: 25px;
  width: 34px;
  padding: 0;
  cursor: pointer;
  text-indent: -9999px;
  border-color: #e4e4e4 #d2d2d2 #b4b4b4;
  background: url('../../images/search-button.png') no-repeat center top;
  overflow: hidden;
}
#search-block-form input.form-submit:hover,
#search-block-form input.form-submit:focus,
#search-form input.form-submit:hover,
#search-form input.form-submit:focus { background-position: center bottom; }

/*
 * Search - List of Results (LoR)
 */
body.page-search h1#page-title {
    display: none;
}
body.page-search h2 {
    margin-top: 0;
}
#content form#search-form {
  margin-top: 1em;
  margin-bottom: 0;
}
html.js #content form#search-form fieldset {
  margin-top: 1em;
}
html.js #content form#search-form fieldset.collapsed {
  border-top-width: 0;
}
#content form#search-form fieldset#edit-advanced div.criterion div.form-type-checkboxes {
    display: none;
}
#content form#search-form legend {
  float: right;
}
#content form#search-form legend a.fieldset-title {
  font-weight: bold;
}
.search-results .title {
  margin: 0;
}
.search-results p {
  margin-bottom: 0;
}

/**
 * Navigation bar.
 */
/*
 * Comment out Zen styles
#navigation {
*/
  /* Sometimes you want to prevent overlapping with main div. */
  /* overflow: hidden; */
/* } */
/*
#navigation .block {
  margin-bottom: 0;
}
*/
/* Main menu and secondary menu links and menu block links. */
/*
#navigation .links,
#navigation .menu {
  margin: 0;
  padding: 0;
  text-align: left;
}
#navigation .links li,
#navigation .menu li {
*/
  /* A simple method to get navigation links to appear in one line. */
/*
  float: left;
  padding: 0 10px 0 0;
  list-style-type: none;
  list-style-image: none;
}
*/

/**
 * Breadcrumb navigation.
 */
.breadcrumb ol {
  margin: 0;
  padding: 0;
}
.breadcrumb li {
  display: inline;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

/**
 * Titles.
 */
.page__title,          /* The title of the page. */
.node__title,          /* Title of a piece of content when it is given in a list of content. */
.block__title,         /* Block title. */
.comments__title,      /* Comment section heading. */
.comments__form-title, /* Comment form heading. */
.comment__title {      /* Comment title. */
  margin: 0;
}

/* Suppress page title if a Basic Page node is used as Home Page: */
body.front h1.page__title {      /* Comment title. */
  display: none;
}
/**
 * Messages.
 */
.messages,
.messages--status,
.messages--warning,
.messages--error {
  margin: 1.5em 0;
  padding: 10px 10px 10px 50px; /* LTR */
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAD6UlEQVR42s2WX0xbVRzH3YwmC4k+GF/0ZS/S267/bmnX9nL7bwstZlnbjTDYyoC5GCbB0ZW5pdJCe6swbLFA6bpWIGuRMWVjKGP+21QW3SZBSAjGh4XEaTZTH82Cm/3ztS2xs7mw4KLRk3xyzj33/H6fe5Pz7zEA/yr/vUDukj9FH6drqTaqT8EoPs/UV+nX6TD1BlUh9AqLHlmgPKLcRHmoCOWmElK/FOKTYpS8UwLJkASiUyLI3pKhlClN0g46qj+qL/pbArlbrlO1q25JeiSgR2iYJ8ywXLSg/qP6LNl2ro8+Q4MMkKCd9K2t3q3KdQnkXXIF5aISkgEJzONm1F2qW52pDJN1MI2bUBIuAdVOJWSMTPNQgX6/vkjVpvpREpag6oMqWCYta1IzbsHh9ga0RJtzY8URMdRO9U/KSuWmNQUqh2pY3CtG+fvlqJyofMAFNrZAE+7e/RWR4X4cD9tgOGsA2U2CdtMDqwqyMyIzQ5KKqAKmcyaYxkzYd3YvjGNGFtXRPRj58DT+LOemRrFnrBLyITmUDmUyO/NYgu2d26ukHVJo3tXAMGpAs+cQmh0NeClan30uwN7TgnQ6nRd4r3thOGOAJqYB2UVC79AfZAnKHGUxQa8A2tNaNLW/jKvXv8Dyb8s4yryKA4O10A3roIvpUB+swTdz1/LJZ27PQBvT5lBH1RD4BChzlQ2wBNtc22aE/ULQgzRCl4P5BPcT93GMOYz9wb2QhCRgAq35d8u/L2PXe7tADVGgBlcQ+AXQtmlvsP/gzbJZvp8PMkJCFBYh8m0knyiVSsHe0YIGZz1+/uVOvt8z7QGvnwf+ST5EIRHIUyR4fh50rbp5lsDcYR4ReAXgBrng9q/Qfa0bfy035r7Ot2dvz4IX4IEIEAXwvDzscOw4zxJUd1YfEXlE4Aa4BQHMlwzSSBeI7iXvoTxWDqKPYCFsFaKmr+YVliB0JfS89DVpiuhlB9k/tSOZTuYFvq98yI7L0/MAsVWcGp0bfW61hbahwltxSeARsIKyWKesSKQSWIwvYkvvllwfx88pgOvhwthu/AzAxlVX8vz385tLbaVxwpcLZtEw0QDjsBGctzksiE4CimZFfHp++oWHbnbuUfdB0komMgHsRN1r0MWBsEmYODF5onY92/UTwcvBxuzXcN1ccHycVSn2FaPYWwzCQUDWKIt7z3utAJ5c74Hz+OLSomynY+cVfiM/xW3JiDyZpB3FuZrj4oCwE+Ad4qWMjPHjpTtL0mzMoxyZz9yM39Q7Y85Ok930icqm+k59TL2wm9l90dZv8y/8sPAigGf/iUN/Q4anM2zOsdLe+L+4VfwBVVjDs2rTYx0AAAAASUVORK5CYII=');
  *background-image: url('../../images/message-24-ok.png');
  background-position: 8px 8px; /* LTR */
  background-repeat: no-repeat;
  border: 1px solid #be7;
}
.messages--warning {
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAACuElEQVRIiWP4//8/Ay0xSYqntTpnT252zqeJBf0Njhsykrz/pyd6/e9vcNpGVQv6q2wlm0qc/r0+IPD/3UG+/61l9v9mdrjIUc2C7hqHUzc3S///eZwBjO9tF/vfWe1wjioWTKixVm8otPn38wQT3IKfxxn/t5Va/utpsNSg2ILWcttrNzdJgQ3+dpQRjEHs+9tE/zeXWt+gyILOamuTqlxrsOtPLub+7+emBsSq/88v5wL7oqHQ9H9nmbkF2RbUF1rev7lJEuziuU3i/90ddcB4UZsoJC62ifyvK7R4QJYFrcUGrmUZ5v9hYb9hosh/bzcDMN42VRgeF9W5hv8bi/XdSbagKtfs2c1NEvCIPbaQ/7+/pwkYn17Ki0hR24T/l2eZPCfJgsZ83dCiNOP/yCnn7iau/8G+5mD8aBsHSoqqyNL9X5erHUm0BcVpRm9ubhZHMoTh/4eDzP/DA23+RwTZ/P96hAlF7t5Wof8FyfpvibKgNk8noyDZ4D9quofg1Bjr/1kJlhjiIF+Upmn/r83RzCJoQXaC3qcbm8SwGMLwvybP/H8jMGlik7u7VeB/Zqz2J7wWVGdr1uTG62J1PQgfWST1/+hiCaxyIF8UJqv9r8hQrcVpQVqkzrcbG0WwGvB2H/P/lnx5MAaxsam5vYn3f2KY+jesFpSlqfZnxWjidP2OGWL/g/0swBjExu4Lhv958Ur/i5KU+lEsCA1lYI4JUv95bZ0gTo2Pt3P+z0myBmMQG5e6mxu4/kf4Kf8EmQm3oCRNebKrvSawIGPBqRG9sMOp5hjjfwdrlf/58bKT4RaUpWvtcLZV/39iscD/H0AFP46jYwYiMeP/44u4/9tbKQODSXUH3II9G7v18hI0n8YGKv+IDVT6joxj/BVx4mgcOCde/SnITPRUJAHEGlTCEkQV19TAAN8FC67hZdFXAAAAAElFTkSuQmCC');
  *background-image: url('../../images/message-24-warning.png');
  border-color: #ed5;
}
.messages--error {
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAACpElEQVR42rWWTUgbQRiGQ0Tx4MWDeFM8eBA9iKAoggiCoCiiIiL4L3oQV1CJB0UEf6iRYFpK7UniTw9VSqL2kvQsVDBpSZrtRo35czVNW3oprRf17exSl4yzu1ikAy9h59vvedhkMrMGAGoxknAk2w8MJ/WosXThiZkZt9jdLeglPjn5ATc3mhJNuNjbK0QbG3ExMICL/n6IfX0gcxB7ekDAELu6IHZ2IlJbi1hLS1BLogmPtbUhMTv7oMSamzUlqnByMxLT0/8STQkDj9TV4ZLj5OysrODl8jIu5Gs68dFR7JG6dWkJ0fFx+TpSX89IDMnwcHU1yKec12Yz3rlc4HkeLwjkXJpPip3U3+7vIx6P4ymph4eG5PlwTQ0lMdytlmBxMWKtrXLeT0zA5XTibvj9fjxfXETkb/3N/Dz2dneVuiTZtliU/rPSUsQ5ziuxZYG03IIlJdKKUPJjdRUAKMmzuTnskB/VYbdTtd9HR4g2NCi9Z2VliDY1BSnBaUEBzsrLqXyzWCiQ9HU5HA4afniIUFWV0hOqqMBpURErOM7NxWlhIZOvCwvA7S3Uxq+DA5AnZ3pO8vJYQSArC8c5Oeqx2Rj4udeLQH6+6v2B7GxW8DkjA0JmJpONwUHY7XZGIAgCzCYTeJUewmIFfqMRfEoKlQ2yJbza2oLWcLvdeDI2hk/3+iQWKzAYkJzNjg5srq9TwJ9OJ76YTNScx+ORJT66X1/grKyEbW2NgfPp6XKd/JMZySrHaQsSU1Oe+0/w3WpVgyu5HBlR6lc+H8gioevDwz6JrWwV5+3txyoSFk5DcOX1MnCyJ4Vwfb1zt1UY9SR8aioDpuppaVpwZbPTl+hHF04dOKzk8XBF8DgJC3/woU/W/EciOtELOWi8DDwp//215Q+p7kiKh2lQSAAAAABJRU5ErkJggg==');
  *background-image: url('../../images/message-24-error.png');
  border-color: #ed541d;
}
.messages__list {
  margin: 0;
}
.messages__item {
  list-style-image: none;
}

/* Core/module installation error messages. */
.messages--error p.error {
  color: #333;
}

/* System status report. */
.ok,
.messages--status {
  background-color: #f8fff0;
  color: #234600;
}
.warning,
.messages--warning {
  background-color: #fffce5;
  color: #840;
}
.error,
.messages--error {
  background-color: #fef5f1;
  color: #8c2e0b;
}

/**
 * Tabs.
 */

/* Basic positioning styles shared by primary and secondary tabs. */
.tabs-primary,
.tabs-secondary {
  overflow: hidden;
  *zoom: 1;
  background-image: -webkit-gradient(linear, 50% 100%, 50% 0%, color-stop(100%, #bbbbbb), color-stop(100%, transparent));
  background-image: -webkit-linear-gradient(bottom, #bbbbbb 1px, transparent 1px);
  background-image: -moz-linear-gradient(bottom, #bbbbbb 1px, transparent 1px);
  background-image: -o-linear-gradient(bottom, #bbbbbb 1px, transparent 1px);
  background-image: linear-gradient(bottom, #bbbbbb 1px, transparent 1px);
  /* IE 9 and earlier don't understand gradients. */
  list-style: none;
  border-bottom: 1px solid #bbbbbb \0/ie;
  margin: 1.5em 0;
  padding: 0 2px;
  white-space: nowrap;
}
.tabs-primary__tab,
.tabs-secondary__tab,
.tabs-secondary__tab.is-active {
  float: left; /* LTR */
  margin: 0 3px;
}
a.tabs-primary__tab-link,
a.tabs-secondary__tab-link {
  border: 1px solid #e9e9e9;
  border-right: 0;
  border-bottom: 0;
  display: block;
  line-height: 1.5em;
  text-decoration: none;
}

/* Primary tabs. */
.tabs-primary__tab,
.tabs-primary__tab.is-active {
  -moz-border-radius-topleft: 4px;
  -webkit-border-top-left-radius: 4px;
  border-top-left-radius: 4px;
  -moz-border-radius-topright: 4px;
  -webkit-border-top-right-radius: 4px;
  border-top-right-radius: 4px;
  text-shadow: 1px 1px 0 white;
  border: 1px solid #bbbbbb;
  border-bottom-color: transparent;
  /* IE 9 and earlier don't understand gradients. */
  border-bottom: 0 \0/ie;
}
.is-active.tabs-primary__tab {
  border-bottom-color: white;
}
a.tabs-primary__tab-link,
a.tabs-primary__tab-link.is-active {
  -moz-border-radius-topleft: 4px;
  -webkit-border-top-left-radius: 4px;
  border-top-left-radius: 4px;
  -moz-border-radius-topright: 4px;
  -webkit-border-top-right-radius: 4px;
  border-top-right-radius: 4px;
  -webkit-transition: background-color 0.3s;
  -moz-transition: background-color 0.3s;
  -o-transition: background-color 0.3s;
  transition: background-color 0.3s;
  color: #333;
  background-color: #dedede;
  letter-spacing: 1px;
  padding: 0 1em;
  text-align: center;
}
a.tabs-primary__tab-link:hover,
a.tabs-primary__tab-link:focus {
  background-color: #e9e9e9;
  border-color: #f2f2f2;
}
a.tabs-primary__tab-link:active,
a.tabs-primary__tab-link.is-active {
  background-color: transparent;
  *zoom: 1;
  filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#FFE9E9E9', endColorstr='#00E9E9E9');
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e9e9e9), color-stop(100%, rgba(233, 233, 233, 0)));
  background-image: -webkit-linear-gradient(#e9e9e9, rgba(233, 233, 233, 0));
  background-image: -moz-linear-gradient(#e9e9e9, rgba(233, 233, 233, 0));
  background-image: -o-linear-gradient(#e9e9e9, rgba(233, 233, 233, 0));
  background-image: linear-gradient(#e9e9e9, rgba(233, 233, 233, 0));
  border-color: #fff;
}

/* Secondary tabs. */
.tabs-secondary {
  font-size: .9em;
  /* Collapse bottom margin of ul.primary. */
  margin-top: -1.5em;
}
.tabs-secondary__tab,
.tabs-secondary__tab.is-active {
  margin: 0.75em 3px;
}
a.tabs-secondary__tab-link,
a.tabs-secondary__tab-link.is-active {
  -webkit-border-radius: 0.75em;
  -moz-border-radius: 0.75em;
  -ms-border-radius: 0.75em;
  -o-border-radius: 0.75em;
  border-radius: 0.75em;
  -webkit-transition: background-color 0.3s;
  -moz-transition: background-color 0.3s;
  -o-transition: background-color 0.3s;
  transition: background-color 0.3s;
  text-shadow: 1px 1px 0 white;
  background-color: #f2f2f2;
  color: #666;
  padding: 0 .5em;
}
a.tabs-secondary__tab-link:hover,
a.tabs-secondary__tab-link:focus {
  background-color: #dedede;
  border-color: #999;
  color: #333;
}
a.tabs-secondary__tab-link:active,
a.tabs-secondary__tab-link.is-active {
  text-shadow: 1px 1px 0 #333333;
  background-color: #666;
  border-color: #000;
  color: #fff;
}

/**
 * Inline styles.
 */

/* List of links generated by theme_links(). */
.inline {
  display: inline;
  padding: 0;
}
.inline li {
  display: inline;
  list-style-type: none;
  padding: 0 1em 0 0; /* LTR */
}

/* The inline field label used by the Fences module. */
span.field-label {
  padding: 0 1em 0 0; /* LTR */
}

/**
 * "More" links.
 */
.more-link {
  text-align: right; /* LTR */
}
.more-help-link {
  text-align: right; /* LTR */
}
.more-help-link a {
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA7UlEQVR42qWTPQqDQBCFcwSPkCNITpAj5AjeIm1uYpkyR7Cy2Mot7OwsBAsRwUKwmOwLGRle3EIy8PyBfZ/z3J2TiPylz8VWWZZpUB40BonRKyizaxkA88MYYiqCEgv4MTvnZJom0VqWRbz3FlJZgLYtqmEY1Lg9r+sKsIXcLSC3AC019H0vqLquLeC5AfiHYSGkcdAJimKIBQiJ4+CO92OAtm0FNc8zOjkMwE5Q63FAtbeg6zpAYvG8BWR7i5qmQYwY4MIHqYhE2DOPQWcGJBQF2XU72ZzyUeZ5GCNt5/hybJgYdAXsq5sOEE/jG6dC5IOqCXTmAAAAAElFTkSuQmCC');
  *background-image: url('../../images/help.png');
  background-position: 0 50%; /* LTR */
  background-repeat: no-repeat;
  padding: 1px 0 1px 20px; /* LTR */
}

/**
 * Pager.
 */

/* A list of page numbers when more than 1 page of content is available. */
.pager {
  clear: both;
  padding: 0;
  text-align: center;
}

.pager-item,     /* A list item containing a page number in the list of pages. */
.pager-first,    /* The first page's list item. */
.pager-previous, /* The previous page's list item. */
.pager-next,     /* The next page's list item. */
.pager-last,     /* The last page's list item. */
.pager-ellipsis, /* A concatenation of several list items using an ellipsis. */
.pager-current { /* The current page's list item. */
  display: inline;
  padding: 0 0.5em;
  list-style-type: none;
  background-image: none;
}
.pager-current {
  font-weight: bold;
}

/**
 * Blocks.
 */

/* Block wrapper. */
.block {
  margin-bottom: 1.5em;
}

/**
 * Menus.
 */
/*
 * Comment out Zen styles
 *

.menu__item.is-leaf {
  list-style-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHBAMAAAA2fErgAAAAD1BMVEX///+/v7+Li4sAAADAwMBFvsw8AAAAAXRSTlMAQObYZgAAAB1JREFUCFtjYAADYwMGBmYVZSDhKAwkFJWhYiAAAB2+Aa/9ugeaAAAAAElFTkSuQmCC');
  *list-style-image: url('../../images/menu-leaf.png');
  list-style-type: square;
}
.menu__item.is-expanded {
  list-style-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHAQMAAAD+nMWQAAAABlBMVEX///8AAABVwtN+AAAAAXRSTlMAQObYZgAAABJJREFUeJxj+MdQw2DBIMAABgAUsAHD3c3BpwAAAABJRU5ErkJggg==');
  *list-style-image: url('../../images/menu-expanded.png');
  list-style-type: circle;
}
.menu__item.is-collapsed {
  list-style-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHAQMAAAD+nMWQAAAABlBMVEX///8AAABVwtN+AAAAAXRSTlMAQObYZgAAABFJREFUCB1jVmCGQClmEWYOAAZ8AMy3HPLXAAAAAElFTkSuQmCC');
  *list-style-image: url('../../images/menu-collapsed.png');
  list-style-type: disc;
}
*/

/* The active item in a Drupal menu. */
/*
 * Comment out Zen styles
 
 *.menu a.active {
  color: #000;
}
 */

/*
 * MAIN MENU
 * 
 * #main is the container for the menu bar, 1st sidebar, content, and 2nd sidebar
 */

#main {
  background-color: #f6f6f6;
  /* Allow for main navbar: small gap between it and carousel */
  padding-top: 32px;
}
#content {
  background-color: #f6f6f6;
/*  min-height: 10em; */
}

#navigation {
  padding: 0;
  height: 30px;
}
.region-full-width-top {
  width: 100%;
/*  height: 450px;  */
  overflow: hidden;
/*
  display: block;
  min-height: 10em;
*/
}

/* 3 columns for Home Page */
#mg-three-column-wrapper {
  float: none;
  display: block;
  width: 100%;
  clear: both;
}
#mg-two-column-wrapper {
  display: inline-block;
  width: 58%;
  padding-right: 2%;
}
.region-recent-content-left {
  display: block;
  float: left;
  width: 48%;     /* of #mg-two-column-wrapper */
}
.region-recent-content-middle {
  display: block;
  float: right;
  width: 48%;     /* of #mg-two-column-wrapper */
}
.region-recent-content-right {
  display: block;
  float: right;
  width: 39%;
}
/*
#block-views-news-index-newsbites-block {
  height: 750px;
}
#block-views-classifieds-classifieds-block {
  height: 750px;
}
*/
/* Twitter block */
div#block-block-10 {
  height: 690px;
  border: 1px solid #a9bdd4;
}

/* 4 columns for Home Page footer */
#mg-four-column-wrapper {
  float: none;
  display: block;
  width: 100%;
  clear: both;
}
.region-footer-column-1,
.region-footer-column-2,
.region-footer-column-3,
.region-footer-column-4 {
  display: inline-block;
  /* float: left;  */
  width: 24.5%;
}
.menu-block-1, .menu-block-1 * {
  z-index: 999;
}

/* menus */
.menu-block-1 .menu {
  overflow: hidden;
  margin: 0;
  padding: 0;
  background-color: #A9BDD4;
  width: 100%;
  border-bottom: 1px solid #FFFFFF;
}
/*.lt-ie8 .menu-block-1 .menu {
  position: relative;
}*/
.menu-block-1 .menu .menu {
  position: absolute;
  overflow: visible;
  width: auto;
  border-bottom: 1px solid #a9bdd4;
  background-color: #e0e8f0;
  white-space: nowrap;
}
.menu-block-1 .menu .menu .menu {
  margin-left: -1px;
}

/*.lt-ie8 .menu-block-1 .menu .menu .menu {
  position: static;
}*/
.menu-block-1 .menu .menu {
  display: none;
}
.menu-block-1 .expanded:hover div,
.menu-block-1 .over div,
.menu-block-1 .expanded:hover .menu,
.menu-block-1 .over .menu {
  display: block;
}
.menu-block-1 img {
  display: block;
  padding: 2px;
}

/* menu items */
.menu-block-1 .menu li {
  float: left;
  width: 11%;
  border-top: 0 none;
  border-left: 1px solid #fff;
  color: #333;
  list-style: none !important;
}
.menu-block-1 > .menu > li.first {
/*
  width: 125px;
*/
  border-left: 0 none;
}
.lt-ie7 .menu-block-1 li {
  display: inline;
}
.menu-block-1 .expanded li {
  width: 225px;
  white-space: normal;
}
.menu-block-1 .expanded li {
  border-right: 1px solid #a9bdd4;
  border-left: 1px solid #a9bdd4;
}
.menu-block-1 .expanded .expanded {
    color: black;
    border-color: #406ca0;
}
.menu-block-1 .expanded .leaf {
  float: none;
  background-color: #e0e8f0;
}

/* menu links */
.menu-block-1 .menu a {
  display: block;
/*
  padding-left: 0.25em;
  padding-right: 0.25em;
*/
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  background-color: #a9bdd4;
  color: black;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
  font-weight: normal;
  font-size: 0.8em;
}
/* Font size on IE 8 needs to be slightly smaller... */
.lt-ie9 .menu-block-1 .menu a {
  font-size: 0.75em;
}

.menu-block-1 .menu li.active a,
.menu-block-1 .menu li.active-trail a,
.menu-block-1 .menu li:hover a {
  background-color: #406ca0;
}
.menu-block-1 .menu li li a {
  padding: 8px;
  text-align: left;
}

.menu-block-1 .menu .expanded .leaf a {
  padding: 4px 8px;
  background-color: transparent;
  color: black;
  text-transform: none;
  font-size: 0.9em;
}
.menu-block-1 .menu .expanded .leaf:hover a {
  background-color: #a9bdd4;
}

/* The mega-menu sub-headings... */
.menu-block-1 .menu .expanded .expanded a {
  background-color: #a9bdd4;
  font-size: 100%;
}
.menu-block-1 .menu .expanded .expanded a:hover {
  background-color: #406ca0;
}

/*  hardcoded widths - these need tuning (or removing) later
#block-menu-block-1 .menu-mlid-218 { width: 77px; }
#block-menu-block-1 .menu-mlid-361 { width: 120px; }
#block-menu-block-1 .menu-mlid-365 { width: 134px; }
#block-menu-block-1 .menu-mlid-366 { width: 108px; }
#block-menu-block-1 .menu-mlid-384 { width: 222px; }
#block-menu-block-1 .menu-mlid-385 { width: 169px; }
#block-menu-block-1 .menu-mlid-717 { width: 124px; }
 */
 
/**
 * Context navigation
 * - sidebar block: menu-block-2
 * - mobiles: menu-block-6
 */
.menu-block-2 ul.menu,
.menu-block-6 ul.menu {
  margin-top: 0.5em;
  padding-left: 1em;
}
.menu-block-2 ul.menu li,
.menu-block-6 ul.menu li {
/*
  border-top: 1px solid #D2D9EA;
*/
}
.menu-block-2 ul.menu li.leaf,
.menu-block-6 ul.menu li.leaf {
  list-style-image: none;
  list-style-type: none;
}
.menu-block-2 ul.menu li.collapsed,
.menu-block-6 ul.menu li.collapsed {
  list-style-image: none;
  list-style-type: none;
}
.menu-block-2 ul.menu li.expanded,
.menu-block-6 ul.menu li.expanded {
  list-style-image: url("../../images/navdown.gif");
  list-style-type: circle;
}
/*
.menu-block-2 ul.menu li.active-trail,
.menu-block-6 ul.menu li.active-trail {
  font-weight: bold;
}
*/
.menu-block-2 ul.menu li.active,
.menu-block-6 ul.menu li.active {
  list-style-image: url("../../images/navright.gif");
  background-color: #e0e8f0;
  /* color: #1D4296; */
  font-weight: bold;
}
.menu-block-2 ul.menu li.active ul.menu,
.menu-block-6 ul.menu li.active ul.menu { /* for submenu display */
  font-weight: normal;
}
.menu-block-2 ul.menu a,
.menu-block-6 ul.menu a {
  display: block;
  padding: 5px 1px;
  line-height: 1em;
  color: #1D4296;
  text-decoration: none;
}


/**
 * Marker.
 */

/* The "new" or "updated" marker. */
.new,
.update {
  color: #c00;
  /* Remove background highlighting from <mark> in normalize. */
  background-color: transparent;
}

/**
 * Unpublished note.
 */

/* The word "Unpublished" displayed underneath the content. */
.unpublished {
  height: 0;
  overflow: visible;
  /* Remove background highlighting from <mark> in normalize. */
  background-color: transparent;
  color: #d8d8d8;
  font-size: 75px;
  line-height: 1;
  font-family: Impact, "Arial Narrow", Helvetica, sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  /* A very nice CSS3 property. */
  word-wrap: break-word;
}
.lt-ie8 .node-unpublished > *,
.lt-ie8 .comment-unpublished > * {
  /* Otherwise these elements will appear below the "Unpublished" text. */
  position: relative;
}

/**
 * Comments.
 */

/* Wrapper for the list of comments and its title. */
.comments {
  margin: 1.5em 0;
}

/* Preview of the comment before submitting new or updated comment. */
.comment-preview {
  /* Drupal core will use a #ffffea background. See #1110842. */
  background-color: #ffffea;
}

/* Wrapper for a single comment. */
.comment {
  /* Comment's permalink wrapper. */
}
.comment .permalink {
  text-transform: uppercase;
  font-size: 75%;
}

/* Nested comments are indented. */
.indented {
  /* Drupal core uses a 25px left margin. */
  margin-left: 30px; /* LTR */
}

/**
 * Forms.
 */

/* Wrapper for a form element (or group of form elements) and its label. */
.form-item {
  margin: 1.5em 0;
}

/* Pack groups of checkboxes and radio buttons closer together. */
.form-checkboxes .form-item,
.form-radios .form-item {
  /* Drupal core uses "0.4em 0". */
  margin: 0;
}

/* Form items in a table. */
tr.odd .form-item,
tr.even .form-item {
  margin: 0;
}

/* Highlight the form elements that caused a form submission error. */
.form-item input.error,
.form-item textarea.error,
.form-item select.error {
  border: 1px solid #c00;
}

/* The descriptive help text (separate from the label). */
.form-item .description {
  font-size: 0.85em;
}
.form-type-radio .description,
.form-type-checkbox .description {
  margin-left: 2.4em;
}

/* The part of the label that indicates a required field. */
.form-required {
  color: #c00;
}

/* Labels for radios and checkboxes. */
label.option {
  display: inline;
  font-weight: normal;
}

/* Buttons used by contrib modules like Media. */
a.button {
  -webkit-appearance: button;
  -moz-appearance: button;
  appearance: button;
}

/* Password confirmation. */
.password-parent,
.confirm-parent {
  margin: 0;
}

/*
 * The login page. For MGOC, hide the "Create new account | Log in | Request new password" tabs
 */
body.page-user div#content ul.tabs-primary {
    display: none;    
}

/* Also, if Drupal displays a password reset link on a failed login, hide it! 
 *
 * March 2017: This is now obsolete - email logins and password changing allowed
 *
body.page-user div.messages--error a {
    display: none;    
}
*/

/* Drupal's default login form block. */
#user-login-form {
  text-align: left; /* LTR */
}

/* 
 * User profile edit form:
 * Hide the Authentication fields from mere mortals (Can't have them changing their membership number, paswword etc!)
 * but let the Club Staff (and admins) see it.
 */
/*
form#user-profile-form div#edit-account {
    display: none;
}
body.admin-menu form#user-profile-form div#edit-account {
    display: block;
}
*/

/**
 * OpenID
 *
 * The default styling for the OpenID login link seems to assume Garland's
 * styling of list items.
 */

/* OpenID creates a new ul above the login form's links. */
.openid-links {
  /* Position OpenID's ul next to the rest of the links. */
  margin-bottom: 0;
}

/* The "Log in using OpenID" and "Cancel OpenID login" links. */
.openid-link,
.user-link {
  margin-top: 1.5em;
}
html.js #user-login-form li.openid-link,
#user-login-form li.openid-link {
  /* Un-do some of the padding on the ul list. */
  margin-left: -20px; /* LTR */
}
#user-login ul {
  margin: 1.5em 0;
}

/**
 * Drupal admin tables.
 */
form th {
  text-align: left; /* LTR */
  padding-right: 1em; /* LTR */
  border-bottom: 3px solid #ccc;
}
form tbody {
  border-top: 1px solid #ccc;
}
form table ul {
  margin: 0;
}
tr.even,
tr.odd {
  background-color: #eee;
  border-bottom: 1px solid #ccc;
  padding: 0.1em 0.6em;
}
tr.even {
  background-color: #fff;
}
.lt-ie8 tr.even th,
.lt-ie8 tr.even td,
.lt-ie8 tr.odd th,
.lt-ie8 tr.odd td {
  /* IE doesn't display borders on table rows. */
  border-bottom: 1px solid #ccc;
}

/* Markup generated by theme_tablesort_indicator(). */
td.active {
  background-color: #ddd;
}

/* Center checkboxes inside table cell. */
td.checkbox,
th.checkbox {
  text-align: center;
}

/* Drupal core wrongly puts this in system.menus.css. Since we override that, add it back. */
td.menu-disabled {
  background: #ccc;
}

/**
 * Autocomplete.
 *
 * @see autocomplete.js
 */

/* Suggestion list. */
#autocomplete .selected {
  background: #0072b9;
  color: #fff;
}

/**
 * Collapsible fieldsets.
 *
 * @see collapse.js
 */
html.js .collapsible .fieldset-legend {
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHAQMAAAD+nMWQAAAABlBMVEX///8AAABVwtN+AAAAAXRSTlMAQObYZgAAABJJREFUeJxj+MdQw2DBIMAABgAUsAHD3c3BpwAAAABJRU5ErkJggg==');
  *background-image: url('../../images/menu-expanded.png');
  background-position: 5px 65%; /* LTR */
  background-repeat: no-repeat;
  padding-left: 15px; /* LTR */
}
html.js .collapsed .fieldset-legend {
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHAQMAAAD+nMWQAAAABlBMVEX///8AAABVwtN+AAAAAXRSTlMAQObYZgAAABFJREFUCB1jVmCGQClmEWYOAAZ8AMy3HPLXAAAAAElFTkSuQmCC'); /* LTR */
  *background-image: url('../../images/menu-collapsed.png'); /* LTR */
  background-position: 5px 50%; /* LTR */
}
.fieldset-legend .summary {
  color: #999;
  font-size: 0.9em;
  margin-left: 0.5em;
}

/**
 * TableDrag behavior.
 *
 * @see tabledrag.js
 */
tr.drag {
  background-color: #fffff0;
}
tr.drag-previous {
  background-color: #ffd;
}
.tabledrag-toggle-weight {
  font-size: 0.9em;
}

/**
 * TableSelect behavior.
 *
 * @see tableselect.js
 */
tr.selected td {
  background: #ffc;
}

/**
 * Progress bar.
 *
 * @see progress.js
 */
.progress {
  font-weight: bold;
}
.progress .bar {
  background: #ccc;
  border-color: #666;
  margin: 0 0.2em;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
}
.progress .filled {
  background-color: #0072b9;
  background-image: url('../../images/progress.gif');
}


/**
 * Technical Archive - MGOC php script embed in Drupal page
 */
form#form-mg-tech-archive {
  clear: both;
  height: auto;
  padding-bottom: 1em;
}

form#form-mg-tech-archive #t-a-image {
  float: left;
}
form#form-mg-tech-archive #t-a-fields {
  float: right;
  padding: 1em;
  border: 1px solid #406ca0;
  margin-bottom: 1em;
}
/* and results table styling: */
table.t-a-results {
  width: 100%;
  margin-top: 1em;
  background-color: rgba(0, 0, 0, 0);
  border-collapse: collapse;
  border-spacing: 0;
  max-width: 100%;
  border-left-width: 0;
  border-right-width: 0;
  border-bottom: 1px solid #406ca0;
  border-left:  1px solid #406ca0;
  border-right:  1px solid #406ca0;
}
table.t-a-results th {
    background: none repeat scroll 0 0 #406ca0;
    color: #FFFFFF;
    border-bottom: none;
    padding-right: 1em;
    text-align: left;
    white-space: nowrap;
}
table.t-a-results th a {
    color: #FFFFFF;
}
table.t-a-results tr.even, tr.odd {
    background-color: rgba(0, 0, 0, 0);
    border-bottom: 1px solid #CCCCCC;
    padding: 0.1em 0.6em;
}
table.t-a-results tbody td {
    color: black;
    background-color: #FFFFFF;
    border: none;
}
table.t-a-results tbody td:first-child {
    font-weight: normal;
}

div#t-a-email-help-link {
    font-size: 0.8em;
}
div#t-a-footer-disclaimer {
    font-size: 0.8em;
}

/* Models browse page: */
table.t-a-models {
  width: 100%;
  margin-top: 1em;
/*
  background-color: rgba(0, 0, 0, 0);
  border-collapse: collapse;
  border-spacing: 0;
  max-width: 100%;
  border-left-width: 0;
  border-right-width: 0;
  border-bottom: 1px solid #406ca0;
  border-left:  1px solid #406ca0;
  border-right:  1px solid #406ca0;
*/
}
table.t-a-models td {
/*
  width: 20%;
*/
}

/* for Bulk Import scripts... */
pre {
  background-color: #F5F5F5;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  display: block;
  font-size: 12.025px;
  line-height: 18px;
  margin: 0 0 9px;
  padding: 8.5px;
  white-space: pre-wrap;
  word-break: break-all;
  word-wrap: break-word;
}

body {
/*    background: url("/sites/all/themes/mg/images/backs/pastel_logo_v3.jpg") repeat scroll 0 0 #FFFFFF;    */
  background-color: #f6f6f6;
}

#header, #footer {
  background-color: #f6f6f6;
}

/* Views styling */
div.view-news-index .views-row,
div.view-id-news_views .views-row,
div.view-id-classifieds .views-row,
div.view-id-area_news .views-row,
div.view-id-lost_and_founds .views-row,
div.view-display-id-suppliers_members .views-row,
div.view-id-members_images .views-row,
div.view-empty {
  border: 1px solid #a9bdd4;
  background-color: #fff;
  clear: both;
  padding: 1em;
  margin-bottom: 1em;
  min-height: 13em;
}
div.view-display-id-suppliers_members .views-row {
  min-height: 2em;
}
div.view-display-id-local_meetings_members_page .views-row {
  min-height: 5em;
}

div.view-id-lost_and_founds .view-header,
div.view-display-id-suppliers_members .view-header,
div.view-id-members_images .view-header {
  float: left;
  width: 50%;
  padding: 1em;
  margin-bottom: 1em;
}
div.view-id-lost_and_founds .view-header p,
div.view-display-id-suppliers_members .view-header p,
div.view-id-members_images .view-header p {
    margin: 0;
}
div.view-id-lost_and_founds .view-filters,
div.view-display-id-suppliers_members .view-filters,
div.view-id-members_images .view-filters,
div.view-id-advanced_forum_topic_list .view-filters,
div#block-views-dcb479c560730df6f9ab874f72464419 {
  border: 1px solid #a9bdd4;
  float: right;
  padding: 1em;
  margin-bottom: 1em;
}
/* Gallery Views, Year and Model filters  */
div#block-views-dcb479c560730df6f9ab874f72464419 {
  margin-top: 1em;
/*
  margin-bottom: 0;
  z-index: 200;  
*/
}
div#block-block-26 {
  margin-bottom: 0;
  margin-left: 1em;
/*
  width: 45%;
  z-index: 200;
*/
}
/* ...but not in Juicebox full screen mode
div.jb-flag-large-screen-mode div.jb-classifier-detail-area {
  z-index: 600;
}
*/

div.view-display-id-suppliers_members .views-row .views-field-field-town {
  float: right;
  font-size: 1.2em;
}
.views-field-field-supplier-description {
  width: 60%;
}

/* Date styling for most content types */
.views-field-field-pub-date,
.views-field-field-start-date,
.views-field-field-news-pubdate,
.views-field-created {
  font-size: 0.85em;
  font-weight: bold;
/*
  margin-bottom: 1em;
*/
}
.view-news-index .views-field-field-news-image {
/*
    float: right;
    margin-left: 1em;
    margin-bottom: 1em;
*/
}

/*
 * Scroller support. Note "mgoc-scroller" is set as a extra class in the Views
 */
.mgoc-scroller {
    height: 635px;
    overflow: hidden;
}
.mgoc-small-scroller {
    height: 205px;
    overflow: hidden;
}
.mgoc-scroller .view-content .views-row,
.mgoc-small-scroller .view-content .views-row {
    margin-bottom: 12px;    /* match this up with the jQuery code */
}

.view-id-classifieds .views-field-title,
.view-id-area_news .views-field-title,
.view-id-lost_and_founds .views-field-title,
.view-display-id-suppliers_members .views-field-title,
.view-id-news_index  .views-field-title,
.view-id-members_images .views-field-title {
    font-weight: bold;
}
.view-display-id-classifieds_block .views-field-title,
.view-display-id-newsbites_block .views-field-title {
    font-weight: normal;
    font-size: 0.85em;
}
.view-id-classifieds .views-field-field-price {
/*    float: left;  */
    font-weight: bold;
}
.view-display-id-classifieds_block .views-field-field-price {
    font-size: 0.85em;
}
.view-id-classifieds .views-field-field-price .field-content {
/*    display: inline;      */
    color: red;
}
.view-id-classifieds .views-field-field-year-of-manufacture {
/*    float: left;  */
    margin-left: 2em;
    font-weight: bold;
}
.view-id-classifieds .views-field-field-year-of-manufacture .field-content {
/*    display: inline;      */
}
.view-id-classifieds .views-field-field-display-month,
.view-id-lost_and_founds .views-field-field-display-timeframe {
    float: right;
    font-size: 0.85em;
    font-style: italic;
}

.view-id-classifieds .views-field-field-classifieds-image,
.view-id-area_news .views-field-field-club-news-image,
.view-id-lost_and_founds .views-field-field-lost-car-image,
.view-id-news_index .views-field-field-news-image,
.view-id-members_images .views-field-field-members-image {
    float: right;
    margin-left: 1em;
    margin-right: 1em;
    margin-bottom: 1em;
}

.view-id-area_news .views-field-field-club-description {
    font-style: italic;
}
.view-display-id-local_meetings_members_page .views-field-field-club-description {
    float: right;
    width: 55%;
    min-height: 3em;
    border: 1px solid #a9bdd4;
    margin-left: 1em;
    padding: 1em;
}
.view-display-id-local_meetings_members_page .views-field-field-club-description p {
  margin: 0;
}

.view-display-id-classifieds_block .views-field-field-classifieds-image,
.view-display-id-newsbites_block .views-field-field-news-image {
    float: none;
    margin: 0;
}
.view-id-classifieds .views-field-body {
/*    clear: both;  */
    margin-top: 1em;
/*    margin-bottom: 1em;   */
    height: 9em;
}

/* Views table styling: */
table.views-table,
.page-user-subscriptions table {
  width: 100%;
  margin-top: 1em;
  background-color: rgba(0, 0, 0, 0);
  border-collapse: collapse;
  border-spacing: 0;
  max-width: 100%;
  border-left-width: 0;
  border-right-width: 0;
/*  border: 1px solid #406ca0; */
}
table.views-table thead tr,
.page-user-subscriptions table thead tr {
  background-color: #eee;
  border-bottom: 1px solid #ccc;
  padding: 0.1em 0.6em;
}

/* View filters */
div.mgoc-button-filters {
  margin-top: 0.5em;
  padding: 0;
}
div.mgoc-button-filters ul.mgoc-nav-links {
  list-style-type: none;
  font-size: 1.1em;
  margin: 0;
  padding: 0;
}
div.mgoc-button-filters ul.mgoc-nav-links li {
  float: left;
  margin: 1px;
  margin-right: 0;
}
div.mgoc-button-filters ul.mgoc-nav-links li a {
  background-color: #a9bdd4;
  color: black;
  display: block;
/*
  height: 1.5em;
*/
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  padding-left: 1.0em;
  padding-right: 1.0em;
}
div.mgoc-button-filters ul.mgoc-nav-links li.active a,
div.mgoc-button-filters ul.mgoc-nav-links li a:hover {
  background-color: #406ca0;
  text-decoration: none;
}

/* Override views.css: */
div#block-views-exp-classifieds-page-1 {
  float: none;
  margin: 0;
}
div.views-exposed-form label {
  font-size: 1.1em;
  font-weight: normal;
}
.views-exposed-widgets {
  margin: 0;
}
.views-exposed-form .views-exposed-widget {
  float: left;
  padding: 0;
}

/* "Browse users with email addresses..." page (link on Dashboard) */
#views-exposed-form-people-views-page-1 .views-exposed-form {
  margin-top: 0.5em;
  border: 1px solid #406ca0;
  padding: 1em;
}
#views-exposed-form-people-views-page-1 .views-exposed-form .views-widget-filter-mail_1 label {
  padding-right: 1em;
  float: left;
}
#views-exposed-form-people-views-page-1 .views-exposed-form .views-widget-filter-mail_1 .views-operator,
#views-exposed-form-people-views-page-1 .views-exposed-form .views-widget-filter-mail_1 .views-widget {
  float: left;
}
#views-exposed-form-people-views-page-1 .views-exposed-form .views-exposed-widget {
  padding: 1em;
}
#views-exposed-form-people-views-page-1 .views-exposed-form .views-exposed-widget .form-submit {
  margin-top: 0;
}

#views-exposed-form-lost-and-founds-page .views-exposed-form .views-exposed-widget,
#views-exposed-form-suppliers-suppliers-members .views-exposed-form .views-exposed-widget,
#views-exposed-form-members-images-page .views-exposed-form .views-exposed-widget,
#views-exposed-form-members-images-gallery-page .views-exposed-form .views-exposed-widget {
  float: none;
}
#views-exposed-form-members-images-gallery-page .views-exposed-form .views-exposed-widget.views-submit-button,
#views-exposed-form-members-images-gallery-page .views-exposed-form .views-exposed-widget.views-reset-button,
#views-exposed-form-members-images-gallery-page .views-exposed-form .views-exposed-widget.views-widget-filter-combine {
  float: left;
  padding-right: 1em;
}
#views-exposed-form-advanced-forum-topic-list-default .views-exposed-form .views-exposed-widget,
#views-exposed-form-advanced-forum-topic-list-page-1 .views-exposed-form .views-exposed-widget {
  padding-right: 1em;
}
#views-exposed-form-advanced-forum-topic-list-default .views-exposed-form .views-exposed-widget.views-reset-button,
#views-exposed-form-advanced-forum-topic-list-page-1 .views-exposed-form .views-exposed-widget.views-reset-button,
#views-exposed-form-members-images-gallery-page .views-exposed-form .views-exposed-widget.views-reset-button {
  padding-right: 0;
}
#views-exposed-form-lost-and-founds-page .views-exposed-form label,
#views-exposed-form-suppliers-suppliers-members  .views-exposed-form label,
#views-exposed-form-members-images-page .views-exposed-form label,
#views-exposed-form-members-images-gallery-page .views-exposed-form label,
#views-exposed-form-advanced-forum-topic-list-default .views-exposed-form label,
#views-exposed-form-advanced-forum-topic-list-page-1 .views-exposed-form label {
  font-size: 0.8em;
}
#views-exposed-form-advanced-forum-topic-list-default .views-exposed-form input.form-text,
#views-exposed-form-advanced-forum-topic-list-page-1 .views-exposed-form input.form-text {
  width: 15em;
}
#views-exposed-form-members-images-gallery-page input.form-text {
  width: 11em;
}

/* 
 * Field styling on content types
 */
 
.field-name-field-main-image img {
    float: right;
    max-width: 80%;
    margin-left: 1em;
    margin-bottom: 1em;    
}
.front .field-name-field-main-image img {
    float: none;
    max-width: 100%;
    margin-left: 0;
    margin-bottom: 0;
}

/* .field-name-field-classifieds-image, */
.field-name-field-lost-car-image {
    float: right;
}
.field-name-field-classifieds-image img,
.field-name-field-lost-car-image img {
    margin-left: 1em;
    margin-bottom: 1em;    
    padding: 1em;
}

.field-name-body p {
    word-wrap: normal;
}
/* Home Page blurb */
.front .field-name-body {
    /* margin-top: 3em; */
    margin-bottom: 1em;    
    padding-left: 1em;
    padding-right: 1em;
    background-color: #fff;
    border: 1px solid #406ca0;
}
.front .field-name-body p {
    /* font-size: 1em; */
    margin-top: 0;    
    font-style: italic;
    /* line-height: 1.2em; */
}

.node-classified .field-name-body,
.node-lost-and-found .field-name-body {
    float: right;
    clear: left;
    width: 45%;
    margin-top: 1em;
    margin-bottom: 1em;    
    border: 1px solid #406ca0;
    padding: 1em;
}
.node-classified .field-name-field-classifieds-section {
    margin-top: 1em;
}

/* Container divs */
.node-local-club .mgoc-club-address-fields {
    float: left;
    border: 1px solid #406ca0;
    padding: 1em;
    width: 30%; /* of parent container */
}
.node-local-club .mgoc-club-content-fields {
    float: left;
    /* border: 1px solid #406ca0; */
    margin-left: 1em;
    width: 60%; /* of parent container */
}
.node-local-club .mgoc-club-photo-fields {
/*
    width: 50%;
    margin-top: 1em;
    margin-bottom: 1em;    
*/
    float: right;
    border: 1px solid #406ca0;
    padding: 1em;
    margin-left: 1em;
    margin-bottom: 0.5em;
}
.node-local-club .mgoc-club-photo-fields img {
    width: 100%;    /* of parent div */
}

.node-local-club .field-name-field-club-description {
    font-style: italic;
}
.node-local-club .field-name-field-area-news {
    margin-left: 1em;
}
.node-local-club .field-name-field-area-news p {
    margin: 0;
}
.node-local-club .field-name-field-secretary-name {
    font-size: 1.1em;
    font-weight: bold;
}

.node-recd-supp .field-name-field-supplier-description {
    font-style: normal;
}
.node-recd-supp .mgoc-club-address-fields {
    float: left;
    border: 1px solid #406ca0;
    padding: 1em;
    width: 30%; /* of parent container */
}
.node-recd-supp .mgoc-club-address-fields h3 {
    margin: 0;
}
.node-recd-supp .mgoc-club-address-fields .field-name-field-phone {
    margin-top: 1em;
}

.node-recd-supp .mgoc-club-content-fields {
    float: left;
    /* border: 1px solid #406ca0; */
    margin-left: 1em;
    width: 60%; /* of parent container */
}
.node-recd-supp .mgoc-club-content-fields .field-name-field-services-offered .field-label {
    font-size: 1.2em;
}

.node-recd-supp .mgoc-club-content-fields .field-name-field-services-offered .field-items .field-item {
    float: left;
    width: 33%; /* of parent container - "3-column" layout */
}

.node-member-image .field-name-field-display-name {
    margin-top: 1em;
}

.node-news .field-name-field-news-image {
    float: right;
    border: 1px solid #406ca0;
    padding: 1em;
    margin-left: 1em;
    margin-bottom: 0.5em;
}
.node-news .field-name-field-news-image img {
    width: 100%;    /* of parent div */
}

/* Forum styling */
body.page-forum #forum {
    margin-bottom: 1em;
}
body.page-forum .forum-node-create-links-top {
    margin-bottom: 1em;
}
body.page-forum ul.tabs-primary {
    display: none;
}
body.page-forum .forum-table-superheader {
    display: none;
}
body.page-forum .forum-tools {
    display: none;
}
body.page-forum #forum-sort {
    display: none;
}
body.page-forum .forum-topic-legend {
    padding-top: 4em;
}
.forum-table {
    width: 100%;
}
.forum-post .forum-post-panel-main .post-edited {
    display: none;
}
.forum-post .forum-post-footer .forum-post-links {
    margin-top: 6px;
}
/* Hide the comment-related buttons from mere mortals */
/*
.forum-post .forum-post-footer .forum-post-links li.comment-edit,
.forum-post .forum-post-footer .forum-post-links li.post-edit,
*/
.forum-post .forum-post-footer .forum-post-links li.comment-reply,
.forum-post .forum-post-footer .forum-post-links li.post-delete, 
.forum-post .forum-post-footer .forum-post-links li.comment-add {
    display: none;
}
/* but let the Club Staff (and admins) see the Delete button: */
body.admin-menu .forum-post .forum-post-footer .forum-post-links li.post-delete {
    display: block;
}

form#forum-node-form #edit-field-display-name {
    display: none;
}

/* Forum comments */
#forum-comments form#comment-form #edit-author--2 {
    display: none;
}
/* Forum icon key - hide if not logged in */
body.not-logged-in .forum-list-icon-legend {
    display: none;
}
.forum-node-create-links {
  width: auto;
}
.forum-node-create-links-top {
  clear: none;
}
.forum-node-create-links .forum-add-node {
  margin-right: 2em;
}
.forum-pager .pager, .forum-comment-wrapper .pager {
  float: left;
  width: auto;
}
.forum-post-panel-sub .author-pane .picture img {
   max-width: 90%;
}

/* Blocks */
/* menu items */
#block-block-7 {
    width: 75%;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid red;
    padding: 1em;
}
/*
#block-block-7 h2 {
    width: 75%;
    margin-left: auto;
    margin-right: auto;
}
*/

/* Pseudo menu block for Log in / Join Now links */
#block-block-20 {
    border: 1px solid #a9bdd4;
/*  border-bottom: 1px solid #1d4296;   */
/*  padding: 1em; */
/*    margin-bottom: 0.5em;  */
}
#block-block-20 .menu-block-2 ul.menu {
  margin-bottom: 0.5em;
}

/* 
 * Hide non-address fields in the Area Secretary sidebar Block View 
 * (these are copied by jQuery to the A-S webforms)
 */
#block-views-secretary-admin-club-info-block .views-row-1 .views-field-field-email,
#block-views-secretary-admin-club-info-block .views-row-1 .views-field-field-phone,
#block-views-secretary-admin-club-info-block .views-row-1 .views-field-field-web,
#block-views-secretary-admin-club-info-block .views-row-1 .views-field-field-meeting-town,
#block-views-secretary-admin-club-info-block .views-row-1 .views-field-field-club-description,
#block-views-secretary-admin-club-info-block .views-row-1 .views-field-field-area-club-number {
    display: none;
}

/* Word counter */
span.count_number_words {
    color: red;
}
span.show_remaining_words {
    color: red;
}

div.mgoc-uk-map {
    width: 400px;
    float: right;
}
div.mgoc-uk-map-plus {
    width: 22%;
    float: left;
/*  border: 1px solid #406ca0;  */
    padding: 1em;
}
div.mgoc-uk-map-plus ul {
  padding: 0;
}

/* Recent Features and Upcoming Events blocks */
div#block-views-mg-events-upcoming-events-block,
div#block-views-4da7a6e6ebe83b468615f067e4d8f0d6 {
    background-color: white;
    border: 1px solid #406ca0;
    padding: 1em;
}
/* News Alerts miniform */
div#block-webform-client-block-1994 {
    background-color: white;
    border: 1px solid #406ca0;
    padding: 1em;
}
div#block-webform-client-block-1994 div#webform-component-your-name {
    margin-top: 0.5em;
}
div#block-webform-client-block-1994 div#webform-component-your-name label,
div#block-webform-client-block-1994 div#webform-component-your-email-address label {
    display: none;
}
div#block-webform-client-block-1994 div#webform-component-your-name input,
div#block-webform-client-block-1994 div#webform-component-your-email-address input {
    font-size: 0.8em;
}
div#block-webform-client-block-1994 div#edit-actions--2 {
    margin-bottom: 3em;    
}
div#block-webform-client-block-1994 div#edit-actions--2 input#edit-submit--2 {
    float: right;    
}

/* Special case: Dashboard blocks */
#dashboard div.block  {
    border: 1px solid #406ca0;
    padding: 1em;
}

/* Menu items to hide in Club Matters menu, if user is logged in: */
body.logged-in li.menu-mlid-1009,
body.logged-in li.menu-mlid-1010,
body.logged-in li.menu-mlid-837,
body.logged-in li.menu-mlid-843,
body.logged-in li.menu-mlid-844 { 
    display: none;
}


/* MGOC feedback form */

#webform-client-form-38{
    background: #FFF;
    padding: 30px 30px 20px 30px;
    box-shadow: rgba(187, 187, 187, 1) 0 0px 20px -1px;
    -webkit-box-shadow: rgba(187, 187, 187, 1) 0 0px 20px -1px;
    font: 11px Arial, Helvetica, sans-serif;
    color: #666;
    border-radius: 10px;
    -webkit-border-radius: 10px;
}

/*Area Sec ---- Regional Review form */

#webform-client-form-2000{
    background: #FFF;
    box-shadow: rgba(187, 187, 187, 1) 0 0px 20px -1px;
    -webkit-box-shadow: rgba(187, 187, 187, 1) 0 0px 20px -1px;
    font: 11px Arial, Helvetica, sans-serif;
    color: #666;
    border-radius: 10px;
    -webkit-border-radius: 10px;
}

/*Area Sec  ---- Club Update form */

#webform-client-form-1804{
    background: #FFF;
    box-shadow: rgba(187, 187, 187, 1) 0 0px 20px -1px;
    -webkit-box-shadow: rgba(187, 187, 187, 1) 0 0px 20px -1px;
    font: 11px Arial, Helvetica, sans-serif;
    color: #666;
    border-radius: 10px;
    -webkit-border-radius: 10px;
}

/*Area Sec ---- Forthcoming Events form */

#webform-client-form-1803{
    background: #FFF;
    box-shadow: rgba(187, 187, 187, 1) 0 0px 20px -1px;
    -webkit-box-shadow: rgba(187, 187, 187, 1) 0 0px 20px -1px;
    font: 11px Arial, Helvetica, sans-serif;
    color: #666;
    border-radius: 10px;
    -webkit-border-radius: 10px;
}

/*Area Sec ---- Forthcoming Events form */

#webform-client-form-1801{
    background: #FFF;
    box-shadow: rgba(187, 187, 187, 1) 0 0px 20px -1px;
    -webkit-box-shadow: rgba(187, 187, 187, 1) 0 0px 20px -1px;
    font: 11px Arial, Helvetica, sans-serif;
    color: #666;
    border-radius: 10px;
    -webkit-border-radius: 10px;
}

/*Area Sec ---- Stationery Request form */

#webform-client-form-1802{
    background: #FFF;
    box-shadow: rgba(187, 187, 187, 1) 0 0px 20px -1px;
    -webkit-box-shadow: rgba(187, 187, 187, 1) 0 0px 20px -1px;
    font: 11px Arial, Helvetica, sans-serif;
    color: #666;
    border-radius: 10px;
    -webkit-border-radius: 10px;
}
/* Publications View */

div#block-views-enjoying-mg-publications-block {

    background: #f3f3f3;
}

/* Mobile MenuBlock: hide on desktop view */
div#mgoc-header-menu-button,
div#block-menu-block-6 {
    display: none;
}

/* Events View */
div#block-views-mg-events-block-1 {
}
div.view-mg-events .views-row {

    border-bottom: 1px dotted black;
}
div#block-views-mg-events-upcoming-events-block .view-mg-events .views-row {
    border-bottom: none;
    margin-bottom: 0.5em;
}
div#block-views-mg-events-upcoming-events-block .view-mg-events .views-row-last {
    margin-bottom: 1em;
}

/* Recent Features block on Home Page */
div#block-views-4da7a6e6ebe83b468615f067e4d8f0d6 .view-enjoying-mg-publications .views-row {
    margin-bottom: 0.5em;
}
div#block-views-4da7a6e6ebe83b468615f067e4d8f0d6 .view-enjoying-mg-publications .views-row-last {
    margin-bottom: 1em;
}

/* 
 * Tablet portrait or smaller, i.e. mobile devices:
 * Content type / field-specific display customization.
 */
@media screen and (max-width: 980px) {      /* 960px + 20px for scrollbar */
/*
       screen and (-webkit-min-device-pixel-ratio: 2) {
*/
    html {
        font-size: 80%;
    }

    /**
     * Center the page.
     */
    #page,
    .region-bottom {
      max-width: 640px;
    }

    .region-sidebar-second {
        /* display: none; */
    }

    #navigation {
        display: none;
    }

    #main {
        padding-top: 2px;
    }
    #content {
        min-height: 1em;
    }

    #mg-two-column-wrapper {
      display: block;
      width: 100%;
      padding-right: 0;
    }

    #block-views-news-index-newsbites-block {
      height: auto;
    }
    #block-views-classifieds-classifieds-block {
      height: 1100px;
    }
    .mgoc-scroller {
      height: auto;
    }

    .region-recent-content-left, .region-recent-content-middle, .region-recent-content-right {
      float: none;
      width: 95%;
      padding-left: 10px;
      padding-right: 10px;
    }

    .region-footer-column-1, .region-footer-column-2, .region-footer-column-3, .region-footer-column-4 {
      display: block;
      width: 67%;
      margin-left: auto;
      margin-right: auto;
    }

    .mgoc-sidebar-panel {
      width: 63%;
    }

    .flex-viewport {
      height: auto;
    }
    .flex-viewport .views-field-title {
      margin-left: 1em;
      font-size: 1em;
    }
    .flex-viewport .flex-caption {
      top: 14em;
      font-size: 0.8em;
    }    
    .header__logo_wrapper {
        float: none;
        margin-left: auto;
        margin-right: auto;
    }
    a.header__logo {
        float: none;
        width: 100%;
    }
    .header__logo-image {
        
    }
    .header__site-name {
        font-size: 2.2em;
    }
    .header__name-and-slogan {
        float: none;
        margin-left: auto;
        margin-right: auto;
        margin-top: 1em;
        margin-bottom: 0.5em;
        width: 85%;
    }
    .header__site-slogan {
        font-size: 1.3em;
        margin-left: auto;
        margin-right: auto;
        width: 90%;
    }
    .header__secondary-menu {
      clear: both;
      float: none;
      font-size: 1.1em;
      margin-top: 1em;
      width: 100%;
      height: 2em;
    }
    nav.header__secondary-menu  {
      height: 0em;
      margin-top: 0;
      margin-bottom: 1em;
    }
    nav.header__secondary-menu .mgoc-button-row-container {
      display: block;
      float: none;
    }
    nav.header__secondary-menu .mgoc-button-row-container .mgoc-header-signup-button {
      display: block;
      float: left;
      /* text-align: center; */
    }
    nav.header__secondary-menu .mgoc-button-row-container .mgoc-header-login-button {
      float: left;
      margin-bottom: 1em;
    }
    div.header__secondary-menu .mgoc-button-column-container .mgoc-button-column,
    nav.header__secondary-menu .mgoc-button-row-container .mgoc-button-row {
      float: right;
      margin-top: 1em;
    }
    .header__secondary-menu .mgoc-button-row {
      margin-left: 0;
      margin-right: 0.25em;
    }
    nav.header__secondary-menu .mgoc-button-row-container .mgoc-header-signup-button {
      display: block;
      float: left;
      /* text-align: center; */
    }
    nav.header__secondary-menu .mgoc-button-row-container .mgoc-header-login-button {
      float: left;
      margin-bottom: 1em;
    }
    div.header__secondary-menu .mgoc-button-column-container .mgoc-header-logout-button {
      float: left;
    }
    
    .header__secondary-menu a {
      padding-top: 0.25em;
      padding-bottom: 0.25em;
      padding-left: 1em;
      padding-right: 1em;
      margin-bottom: 1.5em;
    }
    div.header__secondary-menu div#mgoc-user-display-name-column {
      float: none;
      margin-left: 0;
      text-align: center;
      background-color: #f6f6f6;
    }
    #block-search-form {
      display: none;    /* Hide it on the responsive design */
      width: 90%;
      float: none;
      margin-left: auto;
      margin-right: auto;
      margin-top: 0;
    }
    form#search-block-form .form-item {
      /* margin: 0; */
    }
    form#search-block-form input.form-text {
        width: 85%;
    }
    
    /* Normal navbar MenuBlock and the pseudo-menu blocks;
       most of the RHS sidebar blocks:
       - hide on mobile */
    div#block-menu-block-2,
    div#block-block-3,
    div#block-block-13,
    div#block-block-4,
    div#block-block-8,
    div#block-block-20 {
        display: none;
    }
    
    /* Twitter block */
    div#block-block-10 {
      margin-left: auto;
      margin-right: auto;
      max-width: 520px;
    }

    /* Mobile MenuBlock: initially show just the menu "button" */
    div#mgoc-header-menu-button {
        display: block;
    }
    
    div#block-menu-block-6 {
        border: 1px solid #a9bdd4;
        padding: 1em;
        margin-bottom: 0.5em;
    }
/*
    div#block-menu-block-6 div.menu-block-6 {
        display: none;
    }
*/
    #mgoc-header-menu-button > h2.block-title {
      display: inline;
      float: right;
      position: relative;
      cursor: pointer;
      z-index: 500;
      font-size: 1.1em;
      margin-top: 0.25em;
      margin-bottom: 0.5em;
      padding: 0.25em 1em;
      background-color: #a9bdd4;
      color: black;
    }
    #mgoc-header-menu-button > h2.block-title:hover {
      background-color: #406ca0;
    }
    .menu-block-6 ul.menu {
      margin-top: 0em;
      padding-top: 0.5em;
    }
    .menu-block-6 ul.menu a {
      line-height: 2em;
    }
    
    .page__title, .node__title, .block__title,
    .comments__title, .comments__form-title, .comment__title {
      display: inline;
    }
    h1 {
      font-size: 1.4em;
    /*  line-height: 1.5em; */
    }

    #content article .field-name-field-main-image .field-item {
      margin: 0;
      width: 100%;
    }
    .field-name-field-main-image img {
        float: none;
        max-width: 100%;
        margin-left: 0;
        margin-bottom: 0;
    }

    /* Handle our LoR thumbnail images */
    .view-id-classifieds .views-field-field-classifieds-image,
    .view-id-area_news .views-field-field-club-news-image,
    .view-id-lost_and_founds .views-field-field-lost-car-image,
    .view-id-news_index .views-field-field-news-image,
    .view-id-members_images .views-field-field-members-image {
      float: none;
      width: 230px;
      margin-left: auto;
      margin-right: auto;
    }
    /* Any other Views tweaks... */
    div.view-display-id-local_meetings_members_page .views-row {
      min-height: 6em;
    }
    div.view-display-id-local_meetings_members_page .views-field-field-club-description {
      float: none;
      width: 90%;
      margin-left: auto;
      margin-right: auto;
      min-height: 4em;
      /* margin-left: 0; */
    }

    #mgoc-footer-links-bar {
      display: none;
    }

    div.mgoc-uk-map {
      float: none;
      width: 90%;
      margin-left: auto;
      margin-right: auto;
    }

    div.mgoc-uk-map-plus {
      float: none;
      width: 60%;
      margin-top: 1em;
      margin-left: auto;
      margin-right: auto;
    }

    div.view-id-lost_and_founds .view-header,
    div.view-display-id-suppliers_members .view-header {
      width: 90%;
    }
/*
    div.mgoc-button-filters ul.mgoc-nav-links li {
      float: none;
      width: 50%;
    }
*/
    /* Member Image Gallery - year tabs... */
    div#block-block-26 {
      width: 33%;
    }

    div#block-views-exp-classifieds-page-1 {
      float: none;
    }

    div#forum-comments {
      padding-bottom: 1em;
    }

    /* Node styling changes... */
    .node-local-club .mgoc-club-content-fields {
      float: none;
      margin-left: 0;
      margin-bottom: 0.5em;
      width: 100%;
    }
    .node-local-club .mgoc-club-address-fields {
      float: none;
      padding: 1em;
      margin: 1em;
      width: auto;
    }
    .node-local-club .mgoc-club-photo-fields {
      float: none;
      margin-bottom: 0.5em;
      margin-left: 0;
      padding: 1em;
    }

    .field-name-field-classifieds-image,
    .field-name-field-lost-car-image,
    .field-name-field-news-image {
      float: none;
      width: 100%;
    }
    .field-name-field-classifieds-image img,
    .field-name-field-lost-car-image img,
    .field-name-field-news-image img {
      margin-bottom: 0;
      margin-left: 0;
      padding: 1em;
      width: 90%;
    }
    .node-classified .field-name-body,
    .node-lost-and-found .field-name-body {
      margin: 1em;
      width: auto;
    }

    .node-recd-supp .mgoc-club-address-fields,
    .node-recd-supp .mgoc-club-content-fields {
      float: none;
      width: auto;
    }
    .node-recd-supp .mgoc-club-content-fields {
      margin-top: 1em;
    }
    .node-recd-supp .mgoc-club-content-fields .field-name-field-services-offered .field-items .field-item {
      width: 50%;
    }
}

/**
 * Use more width, bigger fonts etc on larger screens.
 */
@media all and (min-width: 1170px) {

    .header__name-and-slogan {
/*
      width: 58%;
*/
    }
/*
    .header__site-name {
      font-size: 4.5em;
    }
    .header__site-slogan {
      font-size: 2em;
    }
*/
    /* menu links */
    .menu-block-1 .menu a {
      font-size: 1em;
    }
    .lt-ie9 .menu-block-1 .menu a {
      font-size: 0.9em;
    }
    .menu-block-1 .menu .expanded .leaf a {
      font-size: 100%;
    }

    /* Use bigger sidebars, etc */
    #views-exposed-form-members-images-gallery-page input.form-text {
      width: 14em;
    }
    div.mgoc-uk-map-plus {
        width: 28%;
    }

    #mgoc-footer-links-bar ul li a {
      font-size: 1em;
    }
    .lt-ie9 #mgoc-footer-links-bar ul li a {
      font-size: 0.9em;
    }

}
