﻿/* ===== GEN Sites Styles ===== */
/* Theme independent basic stylesheet for GEN Sites
 *
 * Features to be applied by CSS class
 * 
*/



/* ------ Team teaser ----- */
/* Showing all team members in the team teaser */


/* ===== Box ==== */
/* Box style applied to panes through panels UI */

/* ----- Box description ----- */
.box .box-description { /* description text as header of boxes defined by pane nodes */
	font-size: 0.9em;
	line-height: 1.35em;
	color: #888;
	margin: 0 4% 10px 4%;
}

/* ----- Hover box ----- */

div.hover-box .content {
	display: none;
}
div.hover-box:hover .content {
	display: block;
}

/* ----- Box menu ----- */
/* defined by menu class in views UI */
/* Applied as Menu of project related pages */

.box > .menu {
	font-size: 1.1em;
	line-height: 1.2em; 
}
.box > ul.menu > li > a {
	font-size: 1.3em;
}
.box > ul.menu > li {
	list-style: none; 
}
.box .menu ul {
	margin: 0 0 0 0.7em;
	padding: 0;
}
.box .menu li {
	margin: 0;
	padding: 0;
}
.box .menu a {
	display: block;
	padding: 4px 1px;
}
.box .menu a.active {
	background: #eee;
	font-weight: bold;
}


/* ===== Project tabs ===== */
/* Vertical tabs menu for project presentation */
/* Generated by views, switching panel node_view variants */

.view-project-tabs .view-content a {
	display: block;
	padding: 5px;
	font-size: 20px;
}
.view-project-tabs .view-content a .small {
	font-size: 14px;
}
.view-project-tabs .view-content a.active {
	background: #eee;
}

/* ===== Group terms ===== */
/* Field group for combining different taxonomy vocabolaries into one row */

.group-terms .field-item {
	display: inline-block; display:-moz-inline-stack; zoom:1; *display:inline; /* Hack: providing inline-blocks on all browsers */
	float: left;
 	margin-right: 7px;
}

/* ===== Social Networking ===== */
/* ----- FB like ----- */

.width-1 .fb-like {
	margin-right: 5px;
	top: -9px;
}
.width-3 .fb-like {
	margin-bottom: 20px;
}
.fb-width-1 {
	overflow: hidden;
}
.IN-widget {
	margin-left: 5px;
	}
	
/* ----- AddThis ----- */

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



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

.openlayers-tooltip-description {
	font-size: 0.8em;
}
.view-maps .views-exposed-form {
	position: relative;
}
.view-maps .views-exposed-widgets {
	position: absolute;
	font-size: .85em;
	top: 380px;
	z-index: 999;
	color: #fff;
	margin-left: 10px;
	background-color: rgba(0, 0, 0, 0.3);
	border-radius: 5px;
	padding-left: 7px;
	text-align: left;
}
.view-maps #popup h2 {
	display: none;
}


/* ===== User activity ====????= */

.view-user-activity .views-field-picture img {
	margin: 20px 8px -20px 50px;
}

/* ----- Activity list ----- */
/* User activities in take part */

.activity-list li {
	padding: 5px 0 20px 0;
}
.activity-list .views-field-picture {
	display: inline-block; display:-moz-inline-stack; zoom:1; *display:inline; /* Hack: providing inline-blocks on all browsers */

	vertical-align: middle;
	margin: 0;
}
div.panel-pane div.activity-list .node-teaser {
	margin-top: 0;
}


/* ===== Field 'website' icons formatter ===== */
/* @todo: define class for its application */

.field-name-field-websites .field-items {
	text-align: justify;
	margin: 0 -5px
}
.group-icons .field,
.group-icons .field-items {
	display: inline-block;
	vertical-align: top;
}
div.group-icons div.field-item {
	display: inline-block;
	vertical-align: top;
	margin: 2px;
}

.group-icons a,
.field-name-field-websites a.icon {
	display: block;
	height: 32px;
	min-width: 40px;
	background: url('/sites/default/files/grafic/earth-icon.png') no-repeat center center;
	font-size: 10px;
	font-weight: bold;
	color: #000;
	padding-top: 8px;
}
.field-name-field-websites a.facebook,
.field-name-field-websites a.twitter {
	color: transparent;
	font-size: 2px;
}
.field-name-field-websites a.twitter {
	background-image: url('/sites/default/files/grafic/twitter-icon.png');
}
.field-name-field-websites a.facebook {
	background-image: url('/sites/default/files/grafic/facebook-icon.png');
}
.group-icons .field-name-field-emails a {
	background-image: url('/sites/default/files/grafic/email-icon.png');
}
.group-icons  .field-name-field-contact-email a {
	color: transparent;
	font-size: 2px;
	background-image: url('/sites/default/files/grafic/email-form-icon.png');
}

	
/* ===== Compact Teaser ===== */
/* ----- appying to--compact-teaser.tpl.php ----- */

.compact-teaser-wrapper {
	height: 140px;
}
.compact-teaser-wrapper .teaser-box-inner img {
	float: right;
	margin-left: 5px;
}
.compact-teaser-wrapper .teaser-box-inner {
	height: 120px;
	min-height: 120px;
	max-height: 300px;
	overflow: hidden;
}
.compact-teaser-wrapper .teaser-box-inner:hover {
	height: auto;
}
.compact-teaser-wrapper .teaser-box:hover {
	height: auto;
	margin-bottom: -150px;
	position: relative;
	z-index: 77;
}
.compact-teaser-wrapper .teaser-box .field-name-body p {
	line-height: 115%;
	margin: 0;
}
.compact-teaser-wrapper .meta {
	float: left;
	clear: left;
	max-width: 130px;
	margin-right: 10px;
	line-height: 1.1em;
}
.compact-teaser-wrapper .meta .field {
	padding: .2em 0;
}
.compact-teaser-wrapper .meta .clearfix:after {
	clear: none;
}

/* ===== Box ===== */
/* applied by using applying the style plugin 'box' in Panels UI */

/* ===== Box: image list ===== */
/* A list of entries with thumbnail images beside */
/* applied by defining 'box-list-img' in Views UI or Panels UI */

.box-list-img img {
	float: right;
}
.box-list-img-left div img {
	float: left;
}
.box-list-img-left li {
    clear: left;
}
.box-list-img ul {
	margin: 0 0 0 5px;
	padding: 0;
	line-height: 120%;
}
.box-list-img li {
	padding: 0.5em 0;
}
.box-list-img img {
	margin: -2px -3px 5px 5px;
}
.box-list-img-left div img {
    background: #fff;
	margin: -2px 5px 5px -10px;
}
.box-list-img div.views-field-title-field,
.box-list-img div.views-field-title {
	margin-left: -5px;
	font-weight: bold;
}



/* ===== Box: accordeon ===== */
/* applied by defining 'box-accordeon' in Views UI or Panels UI */
.box-accordeon .content {
	display: none;
}
.box-accordeon:hover .content {
	display: block;
}

/* ===== Box: user gallery ===== */
/* applyed by defining 'box-user-gallery' in Views UI or Panels UI */

.box-user-gallery ul {
	margin: 0 -5px;
}

/* ----- user gallery ------ */

.user-gallery li {
	display: inline-block; display:-moz-inline-stack; zoom:1; *display:inline; /* Hack: providing inline-blocks on all browsers */

	position: relative;
	margin: 1px;
	padding: 0;
	line-height: .9em;
}
.user-gallery .tooltip {
	display: none;
	position: absolute;
	top: 45px;
	left: 45px;
	z-index: 44;
	padding: 5px;
	background: #fff;
}
.user-gallery li:hover .tooltip {
	display: block;
}




/* ===== Horizontal gallery ===== */
/* can be applied to views or field display */
/* applied by defining 'horizontal-gallery' in  Views UI or Panels UI */

.horizontal-gallery {
	text-align: justify;
}
.horizontal-gallery .views-row,
.horizontal-gallery .field-item,
.horizontal-gallery.views-row {
	display: inline-block; display:-moz-inline-stack; zoom:1; *display:inline; /* Hack: providing inline-blocks on all browsers */
	vertical-align: top;
	margin: 0 7px 10px 0
}
.horizontal-gallery .views-field-title-field .field-content,
.horizontal-gallery .views-field-title {
	margin-right: -200px;
}





/* ===== Field collections: accordeon group ===== */
/* Applied by defining class 'accordeon-group' in Panels UI
/* srinked boxes with small font size which get expanded on hover */

.accordeon-group .field-group-div .field-group-format-wrapper {
	font-size: 9px;
	line-height: 11px;
	padding: 5px 0;
}
.accordeon-group .field-label {
	float: left;
	min-width: 77px;
	margin-right: 3px;
}
.accordeon-group .field-group-div .field-item {
	display: inline-block; display:-moz-inline-stack; zoom:1; *display:inline; /* Hack: providing inline-blocks on all browsers */

	padding-left: 8px;
	text-indent: -8px;
	padding-right: 6px;
}
.accordeon-group .content .field-item:after {
	content: ', ';
}
.accordeon-group .field-group-div:hover {
	position: relative;
	z-index: 55;
	margin-right: -250px;
	background: #fff;
	border: 2px solid #666;
}
.accordeon-group .field-group-div:hover .field-group-format-wrapper {
	padding: 10px;
	font-size: 14px;
	line-height: 125%;
}
.accordeon-group .field-group-div:hover .field-label {
	float: left;
	margin-right: 12px;
}
.accordeon-group .field-group-div:hover .field-item {
	display: block;
	margin-left: 8px;
	text-indent: -8px;
}
.accordeon-group .field-group-div:hover .field-item:after {
	content: '';
}

/* ===== Buttons ===== */
/* Created by applying class 'button' in template or module */
/* can be used in combination with 'big-button', 'medium-button' or 'small-buttom' */

.button {
	text-align: center;
}
.button a,
a.button {
	text-align: center;
	margin: 5px 10px 15px 10px;
}
.button a,
a.button {
	display: inline-block; display:-moz-inline-stack; zoom:1; *display:inline; /* Hack: providing inline-blocks on all browsers */
	padding : .5em 1em;
	background: #ddd;
}
.button a:active,
a.button:active {
	background: #666;
	color: #fff;
}
.button a:hover,
a.button:hover {
	background: #ccc;
}
.big-button a,
a.big-button {
	font-size: 1.8em;
	white-space: nowrap;
}
.medium-button a,
a.medium-button {
	font-size: 1.3em;
}
.small-button a,
a.small-button {
	font-size: .8em;
	margin: 7px;
}

/* ===== Top flags ===== */
/* Flags displayed on top of nodes or node teasers */

div.pane-node div.flags-top {
	display: none;
}

.flags-top ul.links {
	display: block;
	position: relative;
	height: 0px;
}
.flags-top ul.links .flag-wrapper {
	position: absolute;
	display: none;
	top: -18px;
	background: transparent;
}
.node:hover .flags-top ul.links .flag-wrapper {
	display: block;
}
.flags-top ul.links .flag-wrapper a {
	display: block;
	color: transparent;
	-moz-opacity: .3; -khtml-opacity: .3; opacity: .3; filter: alpha(opacity=30);
	width: 30px;
	height: 30px;
}
.flags-top .flag-wrapper.flagged,
.flags-top .flag-wrapper.unflag-action {
	display: block;
}
.flags-top .flag-wrapper.flagged a,
.flags-top ul.links .flag-wrapper.unflag-action a {
	display: block;
	-moz-opacity: 1; -khtml-opacity: 1; opacity: 1; filter: alpha(opacity=100);
}

.flags-top ul.links .flag-wrapper:hover a,
.flags-top ul.links .flag-wrapper:hover a {
	-moz-opacity: 1; -khtml-opacity: 1; opacity: 1; filter: alpha(opacity=100);

}
.flags-top .flag-wrapper.flag-like a {
	background: transparent url('/sites/default/files/grafic/inspiring-mini.png') no-repeat center center;
}
.flags-top .flag-wrapper.flag-bookmarks a {
	background: transparent url('/sites/default/files/grafic/toolbox-mini.png') no-repeat center center;
}
.flags-top .flag-wrapper.flag-user-wall a {
	background: transparent url('/sites/default/files/grafic/post-mini.png') no-repeat center center;
}
.flags-top .flag-wrapper.flag-like {
	right: 70px;
}
.flags-top .flag-wrapper.flag-bookmarks {
	right: 35px;
}
.flags-top .flag-wrapper.flag-user-wall {
	right: 0px;
}

 /* ===== Help: Tutorial ===== */
/* Helpers to style tutorials in content type: help */

.tutorial-wrapper {
	position: relative;
	padding: 0 40px;
}
.tutorial-img img {
	float: right;
	margin-left: -400px;
}
h2.tutorial-big {
	font-size: 1.8em;
	line-height: 1.5em;
	color: #666;
}
h3.tutorial-big {
	font-size: 1.4em;
	line-height: 1.5em;
	color: #999;
}
div.develop {
	border: 1px #aaa solid;
	background: #eef;
	padding: 10px;
	margin: 20px;
}

.node-type-help img { /* Displaying a frame arround tutorial images */
	margin: 20px 0;
	border: 1px solid #eee;
}


