/* $Id: local.css,v 1.1 2010/07/12 23:05:43 aross Exp $ */

/**
 * @file
 * For users to customize theme
 *
 * This file will be loaded after the other theme stylesheets so use it to make
 * your own customizations and it will override other settings.
 *
 * IMPORTANT - when upgrading the theme, save a copy of this file and then
 * paste back into the new local.css after the upgrade to keep your customizations
 *
 */

body {
    padding-top: 0;
    padding-bottom: 25px;
}

#content ul li {
    /* list-style-type: circle; */
}

.toc-list ul li {
    list-style-type: none;
}

/*
 * Fix up the display of Taxonomy Terms
 */
.terms-float {
    float: right;
    display: block;
    min-height: 30px;
    width: 100px;
    padding: 1em;
    border: 1px black;
    background: #eee;
    margin-left: 1em;
}

.terms-float h2 {
    margin: 0 0 0.83em 0;
}

h1.title {
    margin-top: 40px;
    margin-bottom: 20px;
}

div.tabs {
    margin: 0 0 -10px -10px;
}


/* Hide teasers in some page previews */
.preview>h3, .preview .node.node-type-wiki.node-teaser,
.preview>h3, .preview .node.node-type-page.node-teaser,
.preview>h3, .preview .node.node-type-event.node-teaser,
.preview>h3, .preview .node.node-type-paper.node-teaser,
.preview>h3, .preview .node.node-type-reference.node-teaser,
.preview>h3, .preview .node.node-type-wiki.node-teaser {
  display: none;
}


/*
html, body, #page-wrapper {
    height: 100%;
}

#page {
    min-height: 100%;
}
*/

.filefield-element .widget-edit .form-item {
    margin: 0 0 0;
}

.form-item .description {
    margin-left: 1em;
}

.filefield-element {
    margin: 0.3em 0;
    white-space: normal;
}

.page-node-add-paper .cke_contents {
    height: 300px !important;
}

.field {
    margin-bottom: 0.5em;
}

.field-item {
    margin-left: 0.25em;

}

/*.field .field-label, .field .field-label-inline, .field .field-label-inline-first {
    font-weight: normal;
    color: #666666;
    font-size: 90%;
}
*/

/*
 * CKEditor Fixups
 */
body.cke_show_borders {
    background-image: none !important;
    font-size: 13px;
}

div.inline-insert {
    border-left: 1px solid gray;
    margin-left: 5px;
    padding-left: 5px;
}


/*
 * Control the way the user profile (view) displays.
 */

/* Set up labels and standard inter-row spacing */
.view-user-profile label {
    color: #666666;
    text-align: right;
    min-width: 90px;
    display: inline-block;
    font-size: 85%;
    margin-right: 1em;
}
.view-user-profile .views-field {
    margin-bottom: 0.3em;
}

/* Image on the right */
.view-user-profile .views-field-field-profile-picture-fid {
    float: right;
    margin-right: 20px;
}

/* Format the name */
.view-user-profile label.views-label-nothing {
    display:none;
}
.view-user-profile .views-field-nothing .field-content {
    font-size: 20pt;
    font-weight: bold;
}
.view-user-profile .views-field-nothing {
    margin-bottom: 15px !important ;
    margin-top: 20px;
    line-height: normal;

}


.view-user-profile .views-field-field-publication-affil-value {
    margin-top: 2em;
    margin-bottom: 10px;
}
.view-user-profile .views-field-field-publication-affil-value .field-content {
    clear: left;
}

textarea {
  font-family: Monaco, Courier, fixed-width, sans-serif;
  font-size: 10px;
}

input[type=text] {
  font-size: 12px;
}

pre.affil {
    font-family: inherit;
    margin: 0;
}

/*
 * Add space around the display of the attach file box
 */
.content-add-more {
    margin-bottom: 2pc;
    padding-left: 30px;
}


/*
 * Views changes.
 */
.views_view .more-link {
    text-align: inherit;
}

/* Make possible lists with commas */
.taglist {
	margin: inherit;
	padding: 0;
}

.taglist li	{
    display: block;
    float: left;
	margin: 0;
	padding: 0;
}

.taglist li:after {
    content: ",\00a0";
}

.taglist li:last-child:after {
    content: "";
}


.caption {
    font-size: 8pt;
    font-style: italic;
    margin-top: 0;
    text-align: right;
}

span.news-item-image {
    display: inline-block;
}

 span.news-item-image a {
    text-align: center;
    width: 100%;
    display: inline-block;
 }

/* Settings for the slide show/news carousel view */

div.view-news-carousel {
    text-align: left;
}

.carousel div.views-field-field-news-image-fid {
    margin-top: 1em;
}

.carousel div.views-row-odd, 
.carousel div.views-row-odd {
  width: 615px !important;
}

.carousel div.views-field-field-news-image-fid {
  text-align: center;
  width: 100%;
}

/* Add a class for tables which need lines between them instead of odd/even columns */
table.border-bottom td {
	border-bottom: 1px solid #666;
}

/* Give definition lists a bit of a margin 
 * (matches html-reset.css line 69) */
dl {
    padding-left: 2em;
}

/* Layout a smaller imge with the text */
img.float-left {
    float: left;
    margin-right: 1pc;
}
img.float-right {
    float: right;
    margin-left: 1pc;
}

/* Layout an image with a headline */

div.header-image {
    position:relative;
    margin-top: 3pc;
    margin-bottom:1.5pc;
    text-align: right; /* Moves the image up against the right margin */
}

div.header-image:first-child {
    margin-top: 0;
}

img.h1-bg-image {
    z-index: -100;
    max-width: 615px;
}

.header-image h1 {
    position:absolute; /* Force header against bottom left */
    bottom: 0;
    left:0;
    margin-bottom: 0;
}


/* Table of Contents CSS
 */
.toc {
  background-color: inherit;
  border: 0;
  font-size: inherit;
  text-align: left;
}

.content .toc {
  max-width: 50%;
}
/* cancel the width formatting in the block */
.block .toc {
  max-width: 100%;
}

.content .toc-title {
  text-align: left;
  font-family: 'Fontin Sans', sans-serif;    
  line-height: normal;
  font-weight: normal;
  font-size: 125%;
  margin-top: 2pc;

}

.block .toc-title {
  display: none;
}

.content .toc-list {
  padding: 0 10px 0 0em;
  margin-left: -2em;
}

.block .toc-list {
  padding: 0 10px 0 0em;
  margin-left: 0;    
}

.toc-toggle-message {
}

#toc ul, #toc li {
  list-style-image: none;
  list-style-type: none;
}

/* Hide the teaser checkbox because it just confuses people! */
.teaser-checkbox { display: none; visibility: hidden;}


/* Content labels 
 *
 *     See also the changes in fonts for the same elements.
 */

.field .field-label-inline, .field .field-label-inline-first {
  display: inline-block;
  width: 150px;
  text-align: left;
}

.field {
  margin-top: 1pc;
  margin-bottom: 1pc;
}

/* For non-inline labels, this is set the same as an H1 */
.field .field-label, .field .field-label-first {
}

/* Hide the "Login to post comments" message */
.comment_forbidden {
  display: none;
  visibility: hidden;
}

/* CSS Styles for the EDR data browser */
img.sdss_thumb, img.flux_thumb, img.vel_thumb {
  cursor: crosshair;
}

/* Fix a problem with the width of paper signups */
#signup-form #edit-signup-form-data-Contribution {
  width: 550px;
}


.dropzone {
  margin: 15px;
  border: 2px dashed #0087F7;
  border-radius: 5px;
  background: white;
}


/* Make names not wrap in the team table/view */

.view-members td.views-field-nothing {
  white-space: nowrap;
}

/* Make an element fade-in and out on hover. 

See:
  http://stackoverflow.com/questions/12992183/css-transition-fade-on-hover
  https://bavotasan.com/2011/amazing-hover-effects-with-css3/
  */
.hover-fade-in {
    opacity: 0.0;
    transition: opacity 1.0s ease-in-out;
    -moz-transition: opacity 1.0s ease-in-out;
    -webkit-transition: opacity 1.0s ease-in-out;
    -o-transition: opacity 1.0s ease-in-out;
}

.hover-fade-in:hover {
    opacity: 1;
    transition: opacity 1.0s ease-in-out;
    -moz-transition: opacity 1.0s ease-in-out;
    -webkit-transition: opacity 1.0s ease-in-out;
    -o-transition: opacity 1.0s ease-in-out;
}

.hover-fade-out {
    opacity: 1;
    transition: opacity 1.0s ease-in-out;
    -moz-transition: opacity 1.0s ease-in-out;
    -webkit-transition: opacity 1.0s ease-in-out;
    -o-transition: opacity 1.0s ease-in-out;
}

.hover-fade-out:hover {
    opacity: 0;
    transition: opacity 1.0s ease-in-out;
    -moz-transition: opacity 1.0s ease-in-out;
    -webkit-transition: opacity 1.0s ease-in-out;
    -o-transition: opacity 1.0s ease-in-out;
}
