/* ANS: Custom CSS overrides */

/* Commonly used paragraph styles - Duplicate for CKEditor & local.css*/
.padded {padding:8px; margin-bottom:2px;}
.cgn-aside, .data, .form {padding:8px; margin-bottom:6px; background-color: #d9e2e5;}
.cgn-hints, .achtung {padding:8px; margin-bottom:6px; color: white; background-color: #02a3e1; }
.cgn-warning {padding:8px; margin-bottom:6px; color: white; background-color: #c29a1d;}	
.cgn-marker1 {background-color: yellow;}	
.cgn-marker2 {background-color: lime;}	 
.cgn-tiny {color: #999; font-size: 11px; font-style: italic;}	 

code {
	display: block;
	font-family: monospace;
	background-color: #f9f8db;
	color: #7e2e2e;
	margin-left: 40px;
	padding: 8px 8px 8px 20px;
}
code br {
	line-height: 0px;
	display: none;
}

/* More space between bullets in content */
div.field-name-body.field-type-text-with-summary li {
	margin-bottom: 8px;
}

#header {
	background-color: black;
	background-image: url("/sites/all/themes/scholarly_lite/images/header.jpg");
	background-repeat: no-repeat;
	background-position: right;
	background-size: 100%;
	height:  120px;
}

#banner {
	background: #eee;
}

#logo {
	margin-right: 12px;
}

#site-name a,
#site-slogan {
	letter-spacing: 3px;
}

/* Language switcher */
ul.language-switcher-locale-url {
	display: block;
	list-style: none; 
	margin: 8px 0px 2px 0px;	
	padding: 0px;
}
ul.language-switcher-locale-url li {
	display:inline-block;
	margin-right: 2px;
	margin-bottom: 2px;
	cursor: pointer;	
	background: black;
	padding: 6px;
}
ul.language-switcher-locale-url li a, 
ul.language-switcher-locale-url li a:visited, 
ul.language-switcher-locale-url li a:link {
	color:white;
	text-decoration:none; 
}
ul.language-switcher-locale-url li:hover {	
	background:black !important; }	
	
ul.language-switcher-locale-url li.active {
	background: #eaa11c;
	font-weight:bold !important;
}

/* Breadcrumbs */
#block-crumbs-breadcrumb div.content {
	margin-top: 6px;
}

/* Content tabs */
div.tabs ul {
	padding-bottom: 4px;
}
ul.tabs.primary li a {
	padding-bottom: 4px;
}

/* ANS: Who's online */
div#block-user-new div.item-list li,
div#block-user-online div.item-list li {
	display: inline-block;
}

div#block-user-new div.item-list li a,
div#block-user-online div.item-list li a {
	display: list-item;
}

/* Home main search form */
#block-search-form {
	margin-top: 25px;
	width: 500px;
	margin-left: auto;
	margin-right: auto;
}

/* Breadcrumbs */
span.breadcrumb-separator::before {
	display: inline-block;
	width: 16px;
	content: "/";
	color: #666;
}

/* Views fields */
.views-field-field-tags a,
.views-field-term-node-tid a {
	background-color: rgb(210,210,210);
	border-radius: 2px;
	font-size: 11px;
	color: rgb(125,125,125);
	padding:  4px 8px 4px 8px;
	display: inline-block;
	margin: 1px;
}

/* Home action icons */
div.action-grid {
	width: auto;
	text-align: center;
	border-bottom: 1px solid #333;
}
div.action-item {	
	display: inline-block;
	vertical-align: top;
	width: 180px;
	margin-bottom: 20px;
}
div.action-icon {
	text-align: center;
}
div.action-title {
	text-align: center;
	font-size: 26px;
	font-weight: bold;
	padding: 4px;
}
div.action-text {
	text-align: center;
	font-size: 13px;
	padding: 8px;
}

/* Fivestar: Eliminate whitepace */

.fivestar-static-item div.form-item {
	margin-top: 0px;
	margin-bottom: 0px;
	padding:  0px;
}


/* Search */
p.search-snippet strong {
	color: red;
}

img.inline-icon {
	float: left;
	padding: 0px;
	margin-top:  0px;
	margin-bottom: 8px;
	margin-right:  10px;
}

/* Search results */
ol.search-results.node-results {
	margin-left: 0px;
	padding-left: 0px;
}

/* Article featured main image */
article.node-article div.field-item img {
	float: right;
	border: 1px solid #CCC;
	padding: 4px;
	margin-top:  0px;
	margin-bottom: 8px;
	margin-left:  10px;
	background: #F3F3F3;
}

/* Teaser image */
article.node-article.node-teaser div.field-item img {
	margin: 0px 8px 8px 0px;
}

article.node-article.node-teaser div.field-name-field-image {
	margin-right: 0px !important;
}

/* Article author picture */
article.node-article div.user-picture,
article.node-research div.user-picture {
	display: none;
}

article div.node-main-content header {
	margin-bottom: 20px;
}

/* Tutorial responsive grid */
div.spanner {
	display: inline-block;
	vertical-align: top;
	margin-right: 8px;
}

@media (max-width: 460px) { 
div.spanner {
	width: 100%;
}}
@media (min-width: 700px) { 
div.spanner {
	width: 45%;
}}
@media (min-width: 1200px) { 
div.spanner {
	width: 240px;
}}

/* Tutorials Grid */

article.node-tutorial header > h2 {
	font-size: 16px;
	font-weight: 500;
}

div.view-tutorials-grid article.node-tutorial div.field-type-text-with-summary p,
div.view-tutorials-featured article.node-tutorial div.field-type-text-with-summary p {
	font-size: 13px;
}

/* Get rid of teaser stats at left margin */
article.node-tutorial div.node-main-content.custom-width.clearfix {
	margin-left: 0px !important;
}
article.node-tutorial .post-submitted-info {
	display: none;
	width: 0px !important;
}

article.node-tutorial .field-name-field-teaser-image {
	margin-bottom: 8px;
}

/* Tutorial pages & items */
article.node-tutorial-page div.node-main-content {
	border-top: 1px solid #666;
	margin-top: 40px;
}
article.node-tutorial-page div.node-main-content p {
	padding-top: 12px;
}
article.node-tutorial div.node-main-content div.book-navigation {
	margin-top: 40px;
}


/* Book navigation, sidebar */
ul.menu li {
	
}
ul.menu li.active-trail.leaf {
	color:  white;
	background: #2a68af;
}
ul.menu li.active-trail.leaf a {
	color:  white;
}

/* Book navigation on book page */
div.book-navigation ul.menu {
	padding-bottom: 20px;
}

/* Autor panel */
div.author-online {
	color: green;
	font-weight: bold;
}

div.author-pane-line.author-name a {
	font-size: 12px;
}

.author-last-seen {
	display: none;
}

/* Sticky forum */
tr.sticky td {
	background-color: #e8c6c6;
}

/* Social Links */
a.follow-link {
	display: inline-block;
	height: 40px;
	line-height: 0; 
	font-size: 0;
	color: transparent; 
}

a.follow-link.follow-link-twitter {
	background-image: url(/sites/all/themes/scholarly_lite/images/bw-twitter.png);
	background-position: 0px 0px;
	background-repeat: no-repeat;
	width: 40px;	
}
a.follow-link.follow-link-youtube {
	background-image: url(/sites/all/themes/scholarly_lite/images/bw-youtube.png);
	background-position: 0px 0px;
	background-repeat: no-repeat;
	width: 60px;		
}
a.follow-link.follow-link-soundcloud {
	background-image: url(/sites/all/themes/scholarly_lite/images/bw-soundcloud.png);
	background-position: 0px 0px;
	background-repeat: no-repeat;
	width: 60px;		
}
a.follow-link.follow-link-facebook {
	background-image: url(/sites/all/themes/scholarly_lite/images/bw-facebook.png);
	background-position: 0px 0px;
	background-repeat: no-repeat;
	width: 40px;		
}
a.follow-link.follow-link-newsletter {
	background-image: url(/sites/all/themes/scholarly_lite/images/bw-newsletter.png);
	background-position: 0px 0px;
	background-repeat: no-repeat;
	width: 40px;		
}


/* Featured content block */
section.sidebar div.view-featured-content, 
section.sidebar div.view-featured-wiki, 
section.sidebar div.view-featured-files, 
section.sidebar div.view-news {
	padding:  8px;
	background-color: #eee;
	font-size: 85%;
}

div.author-signature {
	color: #ccc;
}

/* oEmbed responsive video scaling */

.oembed-content {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px; height: 0; overflow: hidden;
}

.oembed-content iframe,
.oembed-content object,
.oembed-content embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


