﻿/* ===== GEN Sites Styles ===== */
/* Theme independent basic stylesheet for GEN Sites
 *
 * All default styles not forming speciffic features
 *  
*/

.images-right {
	float: right;
	max-width: 260px;
}

.images-right .field-item {
	float: right;
	display: inline-block;
	vertical-align: middle;
	margin: 0 0 10px 10px;
	min-height: 80px;
}

/* ===== Hide ===== */

.group-admin { 
	display: none; 
}
.admin-menu .group-admin { 
	display: block; 
}
ul li.comment-reply {  /* Hide reply link below each comment */
	display: none;
}
.links .book_printer {
	display: none;
}
.node-token .submitted {
  display: none; 
 }
ul li.comment-add {
	display: none; 
}
.view-maps .contextual-links-wrapper,
.half-row-wrapper .contextual-links-wrapper {
	display: none !important; 
}
.reduced-meta-data .field-name-field-region .field-label,
.reduced-meta-data .field-name-field-subjects,
.reduced-meta-data .field-name-field-vip-status,
.reduced-meta-data .field-name-field-year-start,
.reduced-meta-data .field-name-field-gen-category,
.reduced-meta-data .field-name-field-languages {
	display: none;
}
.node-meta-data h2 {
	 display: none; /* hide title (needs propoer solution */
}

/* ===== Layout ===== */

#page {
	clear: both;
}
body.full-width #page,
body.full-width #page #main-wrapper {
	width: 100%;
}
body.full-width #page #main {
	width: 97%;
}

/* ===== ? ===== */

h4 {
	margin: .5em 0;
}



div.field-collection-view .entity-field-collection-item { 
	float: none; /* Repair of field_collection.theme.css */
	width: auto; /* Repair of field_collection.theme.css */
	overflow: hidden;
}
.double-field-first:after {
	content: ' ';
}

div.field-collection-view .field-label {
	width: auto;
}


/* div.node-meta-data .field {
	margin: .5em 0 .5em 1em;
	text-indent: -1em;
} */

#mini-panel-author_info_box .pane-user-picture {
	float: right;
	width: 45%;
	text-align: right;
}

.node-teaser .field.clearfix:after {
	clear: left;
}





/* ===== Lists ===== */
/* Lists are widely used as views display, as a cass class can be injected when using this display mode */

ul {
	padding: 0;
	margin: 0;
}
ul li {
	list-style: none;
	padding: 0;
	margin: 0;
}

/* Recreating a list design inside fields, after reseting default list design generally */

.field ul,
.views-field ul {
	padding-left: 2em;
}
.field ul li,
.views-field ul li {
	list-style: disc;
}

/* ===== Tables ===== */

.field table, /* undo table structure display when used in fields */
.field tr,
.field td,
.field thead,
.field tbody,
.views-field table,
.views-field tr,
.views-field td,
.views-field thead,
.views-field tbody {
	border: 0;
	background: transparent;
}

/* ===== Fields ===== */

/* ----- Inline Fields ----- */

.field-label-inline .field-label,
.field-label-inline .field-item {
	display: inline;
	margin-right: 15px;
}
.field-label-inline .field-items {
	float: none;
}
.field-label-inline .field-item:after {
	content: ' ';
}

/* ----- Filefield ----- */

.panel-display .field-name-field-file a {  /* Promoting file field download link display */
	font-size: 1.2em;
	font-weight: bold;
}

/* ===== Field collections ===== */

.box .field-collection-view {
	margin: 0;
	padding: 0;
}
.box .field-collection-item-field-skills,
.box .field-collection-item-field-questionaire {
	font-size: 0.95em;
}
.box .field-collection-item-field-skills .field-label,
.box .field-collection-item-field-questionaire .field-label { /* labels of bar-display */
	width: 100%;
	font-weight: normal;
	line-height: 1.1em;
}


/* ===== Maps ===== */

.view-maps #popup h2 {  /* Error workarround on Openlayers: Groupby used to avoid dublicated entries when using exposed filters */
	display: none;
	margin: 0;
	padding: 0;
	font-size: 1px;
}





div div.box div.node {
	border: 0;
	background: transparent;
	margin: 0;
}

.half-row-wrapper .view-content {
	margin-bottom: 50px;
}


/* ===== Flags ===== */

.pane-node-links ul.links li { 
	padding: 0;
}
.links .flag-wrapper {
	position: relative;
	z-index: 22;
}
.links .flag-wrapper:hover {
	z-index: 44;
}
.links .flag-wrapper a {
	display: inline-block; display:-moz-inline-stack; zoom:1; *display:inline; /* Hack: providing inline-blocks on all browsers */

/*	width: 20px;*/
	overflow: hidden;
	white-space: nowrap;
	padding: 2px;
}

/* ----- Social Networking ----- */

.panel-pane div.addthis_toolbox {
	margin: 15px -1px;
}
.panel-pane div.addthis_toolbox a {
	padding: 0 1px;
}

/* ===== Books ===== */

.pane-node-book-nav {
	clear: both;
	padding-top: 15px;
}

/* ===== Fixes ===== */

.field-name-field-images .field-item { /* repairs space below fotos */
	line-height: 1px;
}
div #modal-content .widget-preview .fieldset-wrapper,
div #modal-content .widget-preview .fieldset-wrapper h2,
div div.ctools-modal-content {
	font-size: 100%;
}
#page-manager-edit {
	margin: 0 -100px;
}
#mini-panel-user_info_box .contextual-links-region { /* Reparing that contextual-links break layout */
  clear: none;
}


