/*
Theme Name:     Tema GRComplex
Theme URI:      http://grupcomplex.uab.cat///
Description:    Tema fill del Ink de Theme Trust
Author:         estampa@tallerestampa.com
Author URI:     http://tallerestampa.com
Template:       inkthemetrust
Version:        0.0.1
*/

@import url("../inkthemetrust/style.css");

.clear_both {
	clear: both;
}

html {
    height: 100%;
    background-color: transparent;
}

body {
	background-color: #ffffff !important;
	background: url('./img/fons.png');
	height:100%;
	color: #000000;
	position: relative;
}

a, a * {
	text-decoration: underline;
}

p {
	font-size: 0.75rem;
}

.float_right {
	float: right;
}

.float_left {
	float: left;
}

#mainNav a, #xarxes a, #idiomes a {
	text-decoration: none;
}

a:hover, a:hover * {
	text-decoration: none;
}


#header {
	width: 230px;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	height: auto;
	position: relative;
	float: left;
	background: url("./img/blanc085.png");
	background: rgba(255, 255, 255, 0.8);
	overflow: hidden;
}

#complex_footer {
	width: 230px;
	padding-bottom: 36px;
	position: relative;
	clear: left;
	float: left;
	background: url("./img/blanc085.png");
	background: rgba(255, 255, 255, 0.8);
	overflow: hidden;
}

#sidebar {
	padding-top: 0;
}

#apartat {
	width: 234px;
	height: 100%;
	position: absolute;
	left: 230px;
	top: 0;
	/*background: url("./img/columna2.png") 0 -1px, url("./img/columna1.png") ;*/
}


#apartat > * {
	position: relative;
}


/* General */
body,
.current_page_item,
.background {
	background-color: #edf6c7;
}

/* Inici */
.page-template-page-home-php,
.page-template-page-home-php .current_page_item,
.page-template-page-home-php .background {
	background-color: #edf6c7;
}

/* El GRC */
.page-template-page-descripcio-php,
.page-template-page-descripcio-php .current_page_item,
.page-template-page-descripcio-php .background {
	background-color: #d1edf7;
}

/* L'Equip GRC */
.page-template-page-quisom-php,
.page-template-page-quisom-php .current_page_item,
.page-template-page-quisom-php .background {
	background-color: #edf6c7;
}

/* Projectes de recerca */
.page-template-page-projectes-php,
.page-template-page-projectes-php .current_page_item,
.page-template-page-projectes-php .background,
.single-project {
	background-color: #d1edf7;
}

/* Contractes de Transferència */
.page-template-page-contractes-php,
.page-template-page-contractes-php .current_page_item,
.page-template-page-contractes-php .background,
.single-contracte {
	background-color: #edf6c7;
}

/* Producció */
.apartat_projectes,
.page-template-page-articles-php,
.page-template-page-articles-php .current_page_item,
.page-template-page-articles-php .background,
.single-article {
	background-color: #d1edf7;
}

/* Spin Off */
body.page-id-404,
body.page-id-407,
body.page-id-406,
body.page-id-404 .current_page_item,
body.page-id-407 .current_page_item,
body.page-id-406 .current_page_item,
body.page-id-404 .background,
body.page-id-407 .background,
body.page-id-406 .background {
	background-color: #edf6c7;
}

/* Agenda */
.apartat_rdi,
body.page-id-9,
body.page-id-13,
body.page-id-12,
body.page-id-9 .current_page_item,
body.page-id-13 .current_page_item,
body.page-id-12 .current_page_item,
body.page-id-9 .background,
body.page-id-13 .background,
body.page-id-12 .background {
	background-color: #d1edf7;
}

/* Enllaços */
body.page-id-410,
body.page-id-413,
body.page-id-412,
body.page-id-410 .current_page_item,
body.page-id-413 .current_page_item,
body.page-id-412 .current_page_item,
body.page-id-410 .background,
body.page-id-413 .background,
body.page-id-412 .background {
	background-color: #edf6c7;
}

/* Contacte */
.apartat_contacta,
body.page-id-156,
body.page-id-168,
body.page-id-169,
body.page-id-156 .current_page_item,
body.page-id-168 .current_page_item,
body.page-id-169 .current_page_item,
body.page-id-156 .background,
body.page-id-168 .background,
body.page-id-169 .background /*,
body.page-id-156 #apartat,
body.page-id-168 #apartat,
body.page-id-169 #apartat */{
	background-color: #d1edf7;
}

.apartat_noticies {
	background-color: #e6f0cb;
}

#main {
	position: relative;
	float: right;
	margin: 0;
	width: 512px;
	background: rgba(255, 255, 255, 0.8);
	padding: 0 0 60px 0;
}

#main:after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -3000px;
	width:100%;
	height: 3000px;
	visibility: visible;
	background: inherit;
}

h1, h2, h3, h4, h5, h6 {
	color: #000000;
}

#main #content,
#main #extra_content {
	width: 100%;
	float: right;
	padding: 0 0 16px 0 ! important;
	position: relative;
}

#main #content {
	margin-top: 105px;
}

#main #extra_content {
	margin-top: 35px;
}

#content .inside,
#extra_content .inside {
	margin: 0 auto;
	padding: 0 12px;
	max-width: 488px;
}

#container {
	max-width: 980px;
	width: 100%;
	margin: 0 auto;
	min-height: 100%;
	overflow: hidden;
	position: relative;
	background-color: #ffffff;
}

/* General */
#content .page h2, .single #content h2 {
	font-size: 14px;
	text-transform: uppercase;
}

.single #content h2 {
	width: 100%;
}

.post.box, .page.box, .project.box, .attachment.box {
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	margin: 0 !  important;
	background: none;
}



#header > * {
	margin: 24px 0;
}

#logo {
	padding: 0 12px;
}

#mainNav ul {
	width: 100%;
}

#mainNav ul a {
	padding: 0 12px;
	font-size: 14px;
	color: #000000;
	line-height: 27px;
	width: auto;
}

#idiomes {
	padding: 0 12px;
}

#idiomes li {
	display: inline-block;
	text-transform: uppercase;
	font-size: 12px;
	padding-right: 7px;
	font-family: 'Montserrat', sans-serif;
}
#idiomes li a {
	color: #000000;
}


#idiomes li a.idioma_actiu {
	color: #000000;
	font-weight: bold;
}

#complex_footer > * {
	margin: 24px 0;
	padding: 0 12px;
}

#logo-uab {
	margin-top: 60px;
}

#logo-uab img {
	width: 110px;
	display: initial;
}

.titol {
	border-bottom: 1px solid #000000;
	text-transform: uppercase;
	font-size: 12px;
}

.titol_1 {
	width: 64px;
}

.titol_2 {
	width: 128px;
}

.page_navigation {
	padding: 4px 16px;
	margin-bottom: 12px;
	text-transform: uppercase;
	font-size: 14px;
}

.page_navigation a {
	color: #000000;
}

h2.titol_subratllat {
	padding-bottom: 8px;
	border-bottom: 1px solid #000000;
	margin-bottom: 20px;
    display:inline-block;
}

.widget_text.sidebarBox.widgetBox {
	margin-top: 32px;
	padding: 0 12px;
}

#sidebar p a {
	color: #a0a0a0;
}

#politica {
	margin-top: 12px;
	margin-bottom: 12px;
	padding: 0 12px;
	font-size: .75em;
}

#politica a {
	color: #a0a0a0;
}

input[type="email"], input[type="text"], textarea {
	background: url("../inkthemetrust/images/field_bkg.png") repeat-x scroll 0 0 #FAFAFA;
	border: 1px solid #DDDDDD;
	border-radius: 2px;
	color: #6A6A6A;
	font-family: "Droid Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
	padding: 10px;
}

.a_up {
	text-decoration: none;
	float: right;
}

/* Ajax */

#container.ajax {
	position: relative;
	margin: 20px auto;
}

#container.ajax #content {
	background-color: #ffffff;
	margin: 60px auto;
}

#container.ajax #content .inside {
	padding-top: 12px;
}

#container.ajax #content .membres h1 {
	margin: 12px 0;
	font-size: 16px;
	color: #000000;
}

.mfp-close {
	background-color: #ffffff;
}

/* Llistat de notícies i coses membres */
body.blog #container #main .blog_header h1 {
	font-size: 14px;
	text-transform: uppercase;
	margin-bottom: 24px;
}

#content .post {
	margin-bottom: 24px ! important;
	background: none;
}

#content .post h1 a,
#content .membres h1 a {
	margin-bottom: 12px;
	font-size: 14px;
	color: #000000;
}

#content .post .meta {
	margin-bottom: 12px;
}

#content .post p {
	margin-bottom: 12px;
}

#content .post .moreLink {
	text-align: right;
}


.img_hover .hidden {
    display: none;
}

.img_hover:hover .visible
{
    display: none;
}

.img_hover:hover .hidden {
    display: block;
}

/* Portada */

.latest_news, .latest_news * {
	font-size: 12px;
	line-height: 1.5em;
	
}

.latest_news h3 {
	margin-top: 12px;
	margin-bottom: 24px;
	text-transform: uppercase;
}
/*
.latest_news ul {
	list-style: none;
	margin: 0;
}
*/
.latest_news ul li {
	line-height: 1.5em;
}

.latest_news .entry-title {
	margin-bottom: 12px;
}

.latest_news span {
	display: inline-block;
}

.all_news {
	margin-top: 24px;
}

#latest_news #all_news {
	text-align: right;
}

#single_all_news {
	font-size: 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid #888888;
	margin-bottom: 24px;
}

#single_all_news a {
	text-decoration: none;
}


/* Membres i clients */
.membre, .client {
	float: left;
	width: 116px;
	margin-right: 12px;
}

.membre {
	min-height: 236px;
}

.client {
	height: 116px;
	text-align: center;
	line-height: 116px;
}

.client img {
	vertical-align: middle;
	display: inline-block;
}



.membre.last, .client.last {
	/*margin-right: 0;*/
}

.membre_nom {
/*	min-height: 40px; */
}

.membre a p {
	margin-bottom: 0px;
}

/* Projectes */
.project_filter {
	padding: 0 12px;
	margin-bottom: 12px;
}

.project_filter a {
	padding: 5px 4px 3px 4px;
	text-decoration: none;
	text-transform: uppercase;
	display: block;
	float: left;
	font-size: 14px;
	height: 16px;
}

.project_filter div.filtre_separator {
	padding: 4px 0;
	float: left;
	margin: 0 8px;
}

.project_filter a.active {
	background-color: #000000;
	color: #ffffff;
}

.project_sub_filter div {
	border-bottom: 1px solid #000000;
	display: none;
}

.project_sub_filter div#filtre_ambits {
	display: block;
}

.project_sub_filter div.filtre_taxonomia ul {
	list-style: none;
	margin: 0 ! important;
	overflow: auto;
}

.project_sub_filter div.filtre_taxonomia ul li {
	display: block;
	float: left;
	cursor: pointer;
	margin-top: 2px ! important;
	margin-bottom: 6px ! important;
}

.project_sub_filter div.filtre_taxonomia ul li span {
	margin-left: 4px ! important;
	margin-right: 4px ! important;
}

.project_sub_filter div.filtre_taxonomia ul li.active span {
	font-weight: bold;
	text-decoration: underline;
}

.project_sub_filter div.filtre_taxonomia ul li::after {
	content: "-"
}

.project_sub_filter div.filtre_taxonomia ul li:last-child::after {
	content: ""
}


ul#project_list {
	margin: 0;
}

.mix {
	display: none;
	opacity: 0;
}

ul#project_list li.project_item {
	width: 100%;
	line-height: 1em;
	margin-bottom: 20px;
	font-size: 14px;
}

ul#project_list li.project_item .entry-title {
	margin-bottom: 3px;
}

ul#project_list.taxonomy_archive li.project_item {
	display: block;
	opacity: 1;
}


ul#project_list li.project_item div.project_picture {
	width: 116px;
	height: 116px;
	margin-right: 12px;
	float: left;
}

ul#project_list li.project_item div.project_picture.empty {
	background-color: #e8e8e8;
}

/*
ul#project_list li.project_item.article div.project_picture {
	width: 88px;
	margin-right: 40px;
}
*/

ul#project_list li.project_item.article div.project_picture img{
	background-color: #ffffff;
}

ul#project_list li.project_item div.project_content {
	margin-left: 128px;
}

ul#project_list li.project_item div.project_tags {
	font-size: 12px;
}

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

#content ul li {
	font-size: 0.75rem;
}

ul#project_list ul.project_tags {
	font-size: 12px;
}

ul#project_list ul.project_tags li {
	margin: 0;
}

.label {
	font-weight: bold;
	margin-right: 3px;
}

#resum p {
	font-size: 1em;
}

#pdf_links a img {
	display: inline-block;
	vertical-align: middle;
	margin-right: 5px;
}

.single .previous a, .single .next a {
	text-decoration: none;
}

.single .next {
	float: right;
}

.single .previous {
	float: left;
}

.skillList {
	border-top: 1px solid #888888;
}

.skillList li span a {
	background: none;
	color: #000000 ! important;
	font-size: 1em;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
}

.skillList li span a:hover {
	background: none;
	text-decoration: underline;
}

.img_inline {
	display: inline;
}

.a_no_under {
	text-decoration: none;
}

/* Agenda */

#content .ui-widget-content {
	background: #fafafa;
}

#content .ui-state-highlight,
#content .ui-widget-content .ui-state-highlight,
#content .ui-widget-header .ui-state-highlight {
	background: #ffe45c;
}

.em-location-map-container {
	max-width: 100%;
}

/* Animació */

#apartat svg g {
	opacity: 0;
}

#apartat svg g * {
	fill: #777;
	transition-property: fill;
}

.home #apartat svg g:hover:not(.show) * {
	transition-duration: 0.3s !important;
}

.home #apartat svg g.green:hover:not(.show) * {
	fill: #95ae31 !important;
	transition-duration: 0.3s !important;
}

.home #apartat svg g.blue:hover:not(.show) * {
	fill: #0b99bc !important;
	transition-duration: 0.3s !important;
}

.home #apartat svg g {
	opacity: 0;
	transition-duration: 1s;
	transition-property: opacity;
	cursor: pointer;
}


#apartat svg g.show, .home #apartat svg g:hover {
	visibility: visible;
	opacity: 1 !important;
}
#apartat svg g.show {
	transition-duration: 1s !important;
}


#apartat svg g.hide {
	visibility: hidden;
	opacity: 0;
	
}




@media only screen and (max-width: 800px) {
	
	#apartat {
		/*display: none;*/
		left: 33.5%;
	}

	#header {
		width: 33.333%;
	}
	
	#main {
		width: 66.666%;
	}
	
	#complex_footer {
		width: 33.333%;
	}

	#container {
	}
}

@media only screen and (max-width: 650px) {

	body {
		padding-bottom: 30px;
		height: auto;
	}
	#container {
		min-height: 0;
		
	}
	#header, #complex_footer {
		width: 100%;
		text-align: center;
		float: none;
	}
	

	.l_tinynav1 {
		display: none;
	}
	
	.tinynav1 {
		display: initial;
	}
	
	#apartat {
		left: 0;
	}
	
	#main {
		position: relative;
		width: 100%;
		padding-bottom: 0;
		min-height: 0;
	}
	
	#main:after {
		content: "\0020";
		width: auto;
		height: 0;
		visibility: hidden;
	}
	
	#main #content {
		margin-top: 32px;
	}
	
}

@media only screen and (max-width: 380px) {
	
	.fc-header td {
		display: block;
	}
	
}