/**
 * @file
 * Page Styling
 *
 * Style the markup found in page.tpl.php. Also includes some styling of
 * miscellaneous Drupal elements that appear in the $content variable, such as
 * ul.links, .pager, .more-link, etc.
 */

.column .field .field-items .field-item h3 { color:#038ABA !important; }

/*
 * Body
 */

body {
  margin: 0;
  padding: 0;
  font-size: 62.5%;
}

#page {
  position: relative;
  max-width: 1000px;
}

#content h1, #content h2, #content h3, #content h4, #content h5, #content h6 {
  /* color: #002d62; */
 color: #FFFFFF;
}

#content h1 {
  font-size: 3em;
}

#content h2 {
  font-size: 2.66em;
  line-height: 1.5em;
  margin: 0.76em 0;
}

#content h3 {
  font-size: 2.16em;
  line-height: 1.36em;
  margin: 0.66em 0;
}

#content h4 {
  font-size: 1.86em;
  line-height: 1em;
  margin: 0.52em 0;
  font-weight: normal;
}

#content h5 {
  font-size: 1.76em;
  margin: 0;
}

#content h6 {
  font-size: 1.46em;
  margin: 0;
  font-weight: 500;
}

body p {
  /*font-size: 1.3em*/;
  color: #3a4650;
}
.region-content-bottom .block .view-faces-of-mathematics .view-content .views-row .views-field-field-read-more .field-content a { font-size: 1.4em !important; }
.region-content-bottom .block .view-faces-of-mathematics .view-content .views-row a { font-size: 1em !important; }
.block .view .view-content .skin-default .views_slideshow_main .views-slideshow-cycle-main-frame .views_slideshow_slide .views-row .views-field .field-content p {color:#fff; }
#main .column .field-name-body .field-items .field-item table h2 {color:#038ABA; margin:0; }
body a { color: #418fec; }
.block-views .view-homepage-widgets .view-content .skin-default .views_slideshow_cycle_main .views-slideshow-cycle-main-frame .views-slideshow-cycle-main-frame-row .views-slideshow-cycle-main-frame-row-item .views-field .field-content p { color:#000 !important; }
.block-views .view-homepage-widgets .view-content .skin-default .views_slideshow_cycle_main .views-slideshow-cycle-main-frame .views-slideshow-cycle-main-frame-row .views-slideshow-cycle-main-frame-row-item .views-field .field-content p a { font-size: 1em; }
.views_slideshow_cycle_main .views-slideshow-cycle-main-frame .views-slideshow-cycle-main-frame-row .views-row-0 .views-field-body .field-content p { color:#fff !important; padding-left:15px; }
#main .column .view-2015-calendar .view-content h3 { color:#193450; }
#main .column .view-2015-calendar .view-content .views-field-title h4 { color:#038ABA; }
.field-item table tr td h5 b { color:#038ABA; }

article.node {
  position: relative;
  overflow-y: hidden;
}
/*article.node p,
article.node table td p,
article.node table td,
article.node table td div,
#content article ul li,
#content article ol li,
#content .block-views div.field-content {
  font-size: 1.4em
}*/

/*
p, table td, #content ul {
  font-size: 1.4em
}
*/


table td p,
ul li p {
  font-size: inherit;
}

table td {
  padding: 5px;
}
/*
 * The skip-link link will be completely hidden until a user tabs to the link.
 * See the element-focusable rule in system.base.css.
 */

#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;
}

/*
 * Header
 */

#header {
  position: relative;
  padding: 0;
  margin: 0;
}

#logo { /* Wrapping link for logo */
  float: left; /* LTR */
  margin: 0;
  padding: 0;
}
#logo img {
  vertical-align: bottom;
}

#name-and-slogan { /* Wrapper for website name and slogan */
  float: left;
}

#site-name { /* The name of the website */
  margin: 0;
  font-size: 2em;
  line-height: 1.5em;
}
#site-name a:link,
#site-name a:visited {
  color: #000;
  text-decoration: none;
}
#site-name a:hover,
#site-name a:focus {
  text-decoration: underline;
}

#site-slogan { /* The slogan (or tagline) of a website */
  margin: 0;
  font-size: 1em;
}

.region-header { /* Wrapper for any blocks placed in the header region */
  clear: both; /* Clear the logo */
}

/*
 * Main (container for everything else)
 */

#main {
  padding-top: 0;
  margin-bottom: 15px;
}

/*
 * Content
 */

#content {
}

.region-highlighted {
}

.breadcrumb { /* The path to the current page in the form of a list of links */
}
.breadcrumb ol {
  margin: 0;
  padding: 0;
}
.breadcrumb li {
  display: inline;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

/*h1.title,*/ /* The title of the page */
h2.node-title, /* Title of a piece of content when it is given in a list of content */
h2.block-title, /* Block title */
h2.title, /* Comment section heading */
h2.comment-form, /* Comment form heading */
h3.title { /* Comment title */
  font-weight: normal;
}

h1.title {
	/*font-size: 2em !important;*/
  font-weight: normal;
  line-height: 1.25em;
}

tr.even { /* Some tables have rows marked even or odd. */
  /* background-color: #eee; */ /* Drupal core uses a #eee background */
}

tr.odd {
  /* background-color: #eee; */ /* Drupal core uses a #eee background */
}

div.messages { /* Important messages (status, warning, and error) for the user. See also the declarations in messages.css. */
  margin: 1.5em 0; /* Drupal core uses "6px 0" margin */
}
div.messages ul {
  margin-top: 0;
  margin-bottom: 0;
}

div.status { /* Normal priority messages */
}

div.warning,
tr.warning { /* Medium priority messages */
  /* border: 1px solid #f0c020; */ /* Drupal core uses: 1px solid #f0c020 */
}

div.error,
tr.error { /* High priority messages. See also the .error declaration below. */
}

.error { /* Errors that are separate from div.messages status messages. */
  /* color: #e55; */ /* Drupal core uses a #e55 background */
}

.warning { /* Warnings that are separate from div.messages status messages. */
  /* color: #e09010; */ /* Drupal core uses a #e09010 background */
}

.tabs { /* See also the tabs.css file. */
}

.region-help { /* Help text on a page */
}

.more-help-link { /* Link to more help */
}

.region-content { /* Wrapper for the actual page content */
}

ul.inline { /* List of links generated by theme_links() */
  display: inline;
  padding: 0;
}
ul.inline li {
  display: inline;
  list-style-type: none;
  padding: 0 1em 0 0; /* LTR */
}

span.field-label { /* The inline field label used by the Fences module */
  padding: 0 1em 0 0; /* LTR */
}

.item-list .pager { /* A list of page numbers when more than 1 page of content is available */
  padding: 0;
}
.item-list .pager li { /* Each page number in the pager list */
  padding: 0 0.5em;
}

.feed-icon { /* The link to the RSS or Atom feed for the current list of content */
}

.more-link { /* Aggregator, blog, and forum more link */
}

/*
 * First sidebar (on left in LTR languages, on right in RTL)
 *
 * Remember to NOT add padding or margin to your .region-sidebar-first
 * (see the layout.css file.)
 */

.region-sidebar-first {
}

/*
 * Second sidebar (on right in LTR languages, on left in RTL)
 *
 * Remember to NOT add padding or margin to your .region-sidebar-second
 * (see the layout.css file.)
 */

.region-sidebar-second {
  color: #485e75;
}

.region-sidebar-second p {
  font-size: 1.3em;
  color: #485e75;
  margin: 0.5em 0;
}

/*
 * Footer
 */

#footer {
}

/*
 * Page bottom
 */

.region-bottom { /* Wrapper for any blocks placed in the page bottom region */
  float: left;
  width: 100%;
}

/*
 * Front
 */


.front p.submitted {
  display: none;
}

h1#page-title {
  font-size: 3.2em;
  font-weight: normal;
  /* color: #002d62; */
 color: #038ABA;
}

#header #logo {
  padding: 10px 0;
}

h2.block-title,
h2.field-content {
  font-size: 2.86em;
  line-height: 1.2em;
  padding: 15px 0 15px 15px;
  margin: 0;
  color: #966b45;
}

.view-homepage-slideshow h2.field-content {
  background: #f4ece4;
}

#content .block-views h2.field-content {
  padding-left: 0;
}

aside h2.block-title {
  font-size: 2em;
}

h4 {
  font-size: 1.6em;
  margin: 0;
  color: #002d62;
}

h4 a {
  color: inherit;
  text-decoration: none;
  font-weight: normal;
}

#content article.node-page p.intro {
  font-size: 1.8em;
  font-style: italic;
}

.front aside .region-sidebar-second {
  background: rgb(228,227,226); /* Old browsers */
  background: -moz-linear-gradient(left, rgba(228,227,226,1) 0%, rgba(255,255,255,1) 40%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(228,227,226,1)), color-stop(40%,rgba(255,255,255,1))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(left, rgba(228,227,226,1) 0%,rgba(255,255,255,1) 40%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(left, rgba(228,227,226,1) 0%,rgba(255,255,255,1) 40%); /* Opera 11.10+ */
  background: -ms-linear-gradient(left, rgba(228,227,226,1) 0%,rgba(255,255,255,1) 40%); /* IE10+ */
  background: linear-gradient(to right, rgba(228,227,226,1) 0%,rgba(255,255,255,1) 40%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e4e3e2', endColorstr='#ffffff',GradientType=1 ); /* IE6-9 */
}

#page #content,
#page .region-sidebar-second {
  padding: 0;
  margin-bottom: 20px;
}

.front h1#page-title,
#page .region-sidebar-second .view-homepage-widgets .view-content,
#block-block-18 h4, #block-block-18 p, #block-block-18 div { /* add side padding the long way because of the heading borders */
  padding: 0 15px;
  margin: 0;
  color: #193450;
}

#content article.node-page {
  padding: 0 15px 0 0;
}

/*
 * Footer and Page Bottom
 */

#footer,
.region-bottom {
  position: relative;
  padding: 0;
  background: #002d62;
  color: #FFF;
  clear: both;
}

/* Full width footer background */
#footer:before, #footer:after,
.region-bottom:before, .region-bottom:after {
  display: block;
  content: "";
  position: absolute;
  background: #002d62;  /* Match the background */
  top: 0;
  bottom: 0;
  width: 9999px;   /* some huge width */
}

#footer:before,
.region-bottom:before {
  right: 100%;
}

#footer:after,
.region-bottom:after {
  left: 100%;
}

.region-bottom,
.region-bottom:before,
.region-bottom:after {
  background: #001d3f;
}

#footer p,
#footer h4,
.region-bottom p,
.region-bottom h4 {
  color: #fff;
}

#footer #address p {
  margin: 0;
}

.region-bottom #block-block-7,
.region-bottom #block-menu-menu-footer-menu ul {
  background: #001d3f;
  padding: 10px;
  margin: 0;
  clear: both;
}

#footer h4,
.region-bottom h4 {
  font-weight: normal;
  margin-top: 0.5em;
}

#footer #block-block-8 {
  padding: 25px 10px 0px 15px;
}

.region-bottom #block-menu-menu-footer-menu ul li {
  float: left;
  display: inline;
  color: #73a1d8;
  padding: 0 10px;
  font-size: 1.1em;
}

#footer #block-block-8 a,
.region-bottom #block-menu-menu-footer-menu ul li a {
  color: #73a1d8;
}

#footer .block-menu,
.region-bottom .block-menu {
  padding: 5px 0;
}

#footer h2,
.region-bottom h2 {
  background: transparent;
  color: #FFF;
  font-weight: normal;
  font-size: 1.6em;
  margin: 0;
}

#footer h2:before, #footer h2:after {
  background: transparent;
}

#footer ul,
.region-bottom ul {
  padding: 0 15px;
  margin: 0;
}

#footer .block-menu h2.block-title,
#footer ul {
  padding-left: 0;
}

#footer ul,
#footer ul li {
  list-style: none;
  list-style-image: none;
}

#footer ul li a {
  text-decoration: none;
  color: #c9d8e9;
  font-size: 1.1em;
}

#members .photo {
	float:left;
	width: 75px;
	height: 113px;
	margin-right: 10px;
	box-shadow: 3px 3px 5px #888888;
}
#members td {
	width: 300px;
}

#staff .photo {
	float:left;
	width: 90px;
	height: 120px;
	margin-right: 10px;
	box-shadow: 3px 3px 5px #888888;
}
#staff .title {
	float: left;
	width: 220px;
	line-height: 1.3em;
}
#staff tr {
	margin-bottom: 10px;
	padding-bottom: 10px;
}
#staff td {
	vertical-align: top;
	line-height: 1.3em;
}

.field-items {
	padding-left: 20px;
	font-size: 1.2em;
}
.field-items p { font-size: 1.2em; }
.field-item li { color: #3A4650; font-size:1.2em; }
.field-item li p { font-size:1em; }

.pubTable { margin:0; }
.pubTable h3 { margin: 0; font-size:24px !important; line-height: 24px;}
.pubTable p { font-size: 14px;}

.vacancyTbl { width:98%; margin:0; }
.vacancyTbl td { border: 1px solid #cccccc; font-size:1.16em; }
.vacancyTbl th { border: 1px solid #cccccc; font-weight:700; font-size:1.26em; background-color:#000; color:#fff; padding:3px; }
.vacancyTbl a:link { text-decoration:none; color:#002d62; }
.vacancyTbl a:visited { text-decoration:none; color:#002d62; }
.vacancyTbl a:hover { text-decoration:underline; color:#ffffff; }
.vacancyTbl tr:hover { background-color:#b3791c; }

.views-table { margin-top: 0 !important; }
.views-table tbody { font-size:0.76em; }
.views-field-name .field-content {font-size: 1.16em; }
.field-content p { font-size: 1.16em; }

.views-fieldZ { background-color: #F7F7F7; }

article.node-minutes { font-size: 2em !important; }
article.node-minutes ul { font-size: 13px !important; }

#user-login { font-size: 1.36em; }
#user-login .form-text { font-size:12px; padding:5px; }
#user-login .form-submit { font-size:14px; font-weight:700; padding:5px 20px; font-style:normal !important; font-family:Verdana;  }

.views-row { margin-bottom: 10px; }
.views-row .views-field { /* font-size:1.16em; */ overflow-y:hidden; color:#3A4650; }
/* .views-field-title { font-size:1.56em !important; } */
.block.view .view-content .views-row .views-field { font-size: 14px !important; }
/* .views-field h4 { font-size: 1em !important; } */
.block-views.view-og-minutes-content-per-group.view-content { font-size: 14px;}
.view.views-field h4 { font-size: 1.46em; }
.block-block p { font-size: 1.16em; margin-bottom:0;}
.block-block h5 { margin:0.5em 0 0; line-height:1em; font-size:1.6em !important; font-weight:500 !important; }
/*.block-block h2 { margin-bottom:0 !important; font-weight:700; padding-left:0 !important; } */
/* .block { font-size: 1.16em; } */
/* .field-content { font-size:1.16em; } */
/* .field-item ol, ul { font-size:1.2em; } */
.block ul { font-size:1em; }
.block .view .view-content .views_slideshow_slide .views-row .views-field .field-content a {font-size: 1.5em; color:#FFFFFF; }
.block .view .view-content .views-row .views-field .field-content a {font-size: 1.5em; color:#193450; line-height:1.25em; }

.page-user #content h3, .page-user #content h2 {
  color:#3a4650;
}

.page-user #content h2 {
  font-size: 2em;
}

.page-user #content h3 {
  font-size: 1.5em;
}

#mem-type-help, #mem-status-help { cursor: pointer; }

.page-user .crm-container h3 {
  background-color: #FFFFFF;
}

.page-user .crm-container .label {
  font-weight:bold;
}

#handbook-info .label {
  font-weight: bold;
  float: left;
  text-align: right;
  width: 17%;
}

#handbook-info .content {
  margin-left: 19%;
}

#handbook-info .clear {
  clear: both;
}

.page-user p, .profile .label, .profile .content {
  font-size: 1.2em;
  color: #000;
}

#edit-donation-amount .form-type-radio {
  display: block;
}

#lms-profile-donation-form .form-item-gift-aid-confirmation .description {
  margin: 0px;
  font-size: 1em;
}

#lms-profile-donation-form  .form-item-free-amount {
  display: inline;
}

/* CC payment: hide everything except logo and content*/

.page-lms-profile-cc-payment #page #main .region-highlighted,
.page-lms-profile-cc-payment #page #header .region-header,
.page-lms-profile-cc-payment #page #footer,
.page-lms-profile-cc-payment #page .region-bottom
{
  display: none;
}

/* Updating width for user profile */

.page-user  #content{
  margin-left: 25%;
  width: 80%;
}

.page-user .region-sidebar-first{
  width: 20%;
}
.page-user .form-item-rows-new-note-new #edit-rows-new-note-new,
.page-user .form-item-rows-new-date-new-date #edit-rows-new-date-new-datepicker-popup-0 {
  width: 120px;
}

.page-user #edit-contact,
.page-user #edit-overlay-control {
  display: none;
}

.error, .crm-error {
  border-color: #ed541d;
  color: #8c2e0b;
}

/* colr for the calendar header */
#content .view-id-lms_calendar h3 {
  color: #193450;
}

#gc-preauth-loading {
  display: none;
}

#lms-dd-gc-preauth-manual-import-form .form-item-gc-user-id {
  display: inline
}

#lms-dd-gc-preauth-manual-import-form #edit-submit-button {
  display: none;
}


/* MS directory*/

.view-directory-search table {
  font-size: 14px;
  width: 800px;
}

.view-directory-search table .views-field-first-name {
  width: 100px
}

.view-directory-search table .views-field-last-name {
  width: 100px
}
.view-directory-search table .views-field-country {
  width: 100px
}
.view-directory-search table .views-field-city {
  width: 100px
}
.view-directory-search table .views-field-fields-184 {
  width: 200px
}
.view-directory-search table .views-field-drupal-id {
  width: 100px
}

.view-directory-search .view-filters {
  font-size: 14px;
}

#content .entity-civicrm-contact h3 {
 clear: both;
 color: #002d62;
 font-size: 16px;
}

#content .entity-civicrm-contact .entity-property {
  clear: both;
}
#content .entity-civicrm-contact .entity-property div {
    width: 300px;
    font-size: 14px;
    float: left;
}

#content .entity-civicrm-contact .entity-property div.entity-property-label {
   width: 200px;
}

#content .entity-civicrm-contact div {
  font-size: 14px;
}

#content .entity-foi .entity-property-label {
  height: 150px;
}

.page-user fieldset#edit-ckeditor {
  display: none;
}

#lms-profile-generic-donation-cc-form .form-item label {
  margin-left: 10px;
  margin-right: 0px;
  width: 120px;
  display: inline-block;
}


#lms-profile-generic-donation-cc-form .form-item input.form-text {
  width: 150px;
}

#lms-profile-generic-donation-cc-form .form-item-gift-aid-uk-address label {
  width: 90%;
}

#lms-profile-generic-donation-cc-form #edit-gift-aid-uk-address {
  margin-top: -25px;
}

#lms-profile-generic-donation-cc-form .form-item-privacy label {
  width: 90%;
}

#lms-profile-generic-donation-cc-form #edit-privacy {
  margin-top: -25px;
}

.view.view-og-minutes-content-per-group.view-id-og_minutes_content_per_group.view-display-id-block_1 th.views-field.views-field-title {
  padding-left: 56px;
}

.view.view-og-minutes-content-per-group.view-id-og_minutes_content_per_group.view-display-id-block_1 th.views-field.views-field-name {
  padding-left: 30px;
}

.view.view-og-minutes-content-per-group.view-id-og_minutes_content_per_group.view-display-id-block_1 th.views-field-field-file {
padding-left: 85px;
}

.view.view-og-minutes-content-per-group.view-id-og_minutes_content_per_group.view-display-id-block_1 th.views-field.views-field-field-date-created {
  padding-left: 23px; 
}

.view.view-og-minutes-content-per-group.view-id-og_minutes_content_per_group.view-display-id-block_1 th.views-field.views-field-created {
  padding-left: 34px;
}

.view.view-og-minutes-content-per-group.view-id-og_minutes_content_per_group.view-display-id-block_1 table td {
  padding-left: 10px;
  padding-right: 11px
}

article.node-minutes {
  font-size: 10px;
}

div.views-field.views-field-title {
  padding-left: 15px;
}

#block-views-homepage-widgets-block-2 div.views-field.views-field-title {
  padding-left: 0px;
}

#block-views-og-members-block-1 a.username {
  padding-left: 15px;
}

.page-node-1000 #page-title {
  text-align: center;
}

.alpaca-field-radio .col-sm-9 {
    margin-bottom: 0px;
}
#block-views-8389d5d6ba06c2327de5ee5bafa9fcf2 a.username, img, span, .views-field-created  {
  font-size: 12px;
}

#block-views-og-members-block-1 a.username, #block-views-8389d5d6ba06c2327de5ee5bafa9fcf2 span, #block-views-f9db2e395dcccbe68dda3b48fc0b0b0e span {
  padding: 0px;
}

#block-views-8389d5d6ba06c2327de5ee5bafa9fcf2 td, img, span, .views-field-created {
  font-size: 12px;
}

#block-views-og-members-block-1 a.username, #block-views-8389d5d6ba06c2327de5ee5bafa9fcf2 span, #block-views-f9db2e395dcccbe68dda3b48fc0b0b0e span {
  padding: 0px;
}

#block-views-og-memberships-block a {
  font-size: 15px;
}

