/**
 * @file
 * Page Styling
 *
 * Style the markup found in page.tpl.php. Also includes some styling of
 * miscellaneous Drupal elements that appear in the $content variable, such as
 * ul.links, .pager, .more-link, etc.
 */


/*
 * Body
 */

body {
  margin: 0;
  padding: 0;
  background-image:url(../images/bg.png);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

#page {
	background-color:#FFF;
	margin-top: 20px;
}

/*
 * The skip-link link will be completely hidden until a user tabs to the link.
 * See the element-focusable rule in system.base.css.
 */

#skip-link {
  margin: 0;
}
#skip-link a,
#skip-link a:visited {
  display: block;
  width: 100%;
  padding: 2px 0 3px 0;
  text-align: center;
  background-color: #666;
  color: #fff;
}

/*
 * Header
 */

#header {
	padding-top: 20px;
	max-height:560px;
}

#logo { /* Wrapping link for logo */
  float: left; /* LTR */
  margin: 0;
  padding: 0;
  margin-left: 30px;
  margin-bottom: 20px;
}
#logo img {
  vertical-align: bottom;
}

#name-and-slogan { /* Wrapper for website name and slogan */
  float: left;
}

#site-name { /* The name of the website */
  margin: 0;
  font-size: 2em;
  line-height: 1.5em;
}
#site-name a:link,
#site-name a:visited {
  color: #000;
  text-decoration: none;
}
#site-name a:hover,
#site-name a:focus {
  text-decoration: underline;
}

#site-slogan { /* The slogan (or tagline) of a website */
  margin: 0;
  font-size: 1em;
}

.region-header { /* Wrapper for any blocks placed in the header region */
 /* clear: both; /* Clear the logo */
}

/*
 * Main (container for everything else)
 */
#main {
	margin:0;
	min-height: 480px;
}
/*#main {
	margin: 0 38px
}

*/
/*
 * Content
 */
.front #content {
	margin: 0;
}

#content {
	margin: 0 45px;
}



.region-highlighted {
}

.breadcrumb { /* The path to the current page in the form of a list of links */
}
.breadcrumb ol {
  margin: 0;
  padding: 0;
}
.breadcrumb li {
  display: inline;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

h1.title, /* The title of the page */
h2.node-title, /* Title of a piece of content when it is given in a list of content */
h2.block-title, /* Block title */
h2.title, /* Comment section heading */
h2.comment-form, /* Comment form heading */
h3.title { /* Comment title */
  margin: 0;
  color: #666666;
  font-weight: 200;
}
h1.title {
	margin-bottom: 1em;
	border-bottom:thin solid #EEE;
}

tr.even { /* Some tables have rows marked even or odd. */
  /* background-color: #eee; */ /* Drupal core uses a #eee background */
}

tr.odd {
  /* background-color: #eee; */ /* Drupal core uses a #eee background */
}

div.messages { /* Important messages (status, warning, and error) for the user. See also the declarations in messages.css. */
  margin: 1.5em 0; /* Drupal core uses "6px 0" margin */
}
div.messages ul {
  margin-top: 0;
  margin-bottom: 0;
}

div.status { /* Normal priority messages */
}

div.warning,
tr.warning { /* Medium priority messages */
  /* border: 1px solid #f0c020; */ /* Drupal core uses: 1px solid #f0c020 */
}

div.error,
tr.error { /* High priority messages. See also the .error declaration below. */
}

.error { /* Errors that are separate from div.messages status messages. */
  /* color: #e55; */ /* Drupal core uses a #e55 background */
}

.warning { /* Warnings that are separate from div.messages status messages. */
  /* color: #e09010; */ /* Drupal core uses a #e09010 background */
}

.tabs { /* See also the tabs.css file. */
}

.region-help { /* Help text on a page */
}

.more-help-link { /* Link to more help */
}

.region-content { /* Wrapper for the actual page content */
}

ul.inline { /* List of links generated by theme_links() */
  display: inline;
  padding: 0;
}
ul.inline li {
  display: inline;
  list-style-type: none;
  padding: 0 1em 0 0; /* LTR */
}

span.field-label { /* The inline field label used by the Fences module */
  padding: 0 1em 0 0; /* LTR */
}

.item-list .pager { /* A list of page numbers when more than 1 page of content is available */
  padding: 0;
}
.item-list .pager li { /* Each page number in the pager list */
  padding: 0 0.5em;
}

.feed-icon { /* The link to the RSS or Atom feed for the current list of content */
	visibility: hidden;
}

.more-link { /* Aggregator, blog, and forum more link */

}

.node-readmore a {
	color:#FF7A21;
	text-decoration:none;
	text-transform:capitalize;
}
.node-readmore a:after {
    content: " »»";
}
/*
 * First sidebar (on left in LTR languages, on right in RTL)
 *
 * Remember to NOT add padding or margin to your .region-sidebar-first
 * (see the layout.css file.)
 */

.region-sidebar-first {
}

/*
 * Second sidebar (on right in LTR languages, on left in RTL)
 *
 * Remember to NOT add padding or margin to your .region-sidebar-second
 * (see the layout.css file.)
 */

.region-sidebar-second {
}

/*
 * Footer
 */

#footer {
	background-color:#363636;
	color: #969696;
}

/*
 * Page bottom
 */

.region-bottom { /* Wrapper for any blocks placed in the page bottom region */
}





/**** front page ***/

.view-front-image-slider div.flexslider {
    background: none repeat scroll 0 0 #FFFFFF;
    border:none;
    border-radius: none;
    box-shadow: none;
    margin: none;
}

p.flex-caption {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.6);
    bottom: 0;
    color: #FFFFFF;
    font-size: 12px;
    left: 0;
    line-height: 18px;
    /*padding: 2%;
	top:-75px;*/
	padding: 1%;
	top: -55px;
	position:relative;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
	
}


.view-front-image-slider-carousel .view-content{
	text-align:center;
	width: 700px;
	margin-left:150px;
}

.view-front-image-slider-carousel div.flexslider {
    background: none repeat scroll 0 0 #FFFFFF;
    border:none;
    border-radius: none;
    box-shadow: none;
    margin: none;	
}

.view-front-image-slider-carousel div.flexslider div.flex-viewport ul.slides li img {
	border: 4px solid #FFFFFF;
    border-radius: 4px 4px 4px 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    margin: 0 0 60px;
}

/*.view-front-image-slider-carousel div.flexslider div.flex-viewport ul.slides li{
	margin-right: 40px;
}*/

.front #first-time, .front #page-title {
	display:none;
}

.front #main {
	background-color:#F6F6F6;
}

.front article {
	width: 29%;
	float: left;
	padding: 0 5px;
	padding-left: 30px;
}

/*.flexslider .slides img {
  height: 355px;
}
*/


.front article header a {
	color:#666666;
	text-decoration:none;
	font-family: AsapRegular;
	text-transform:uppercase;
	font-weight:200;
}

.front article  .field-type-text-with-summary p {
	padding:0;
	padding-right: 10px;
	margin:0;
	line-height:normal;
	color:#545353;
	text-align:justify;
}

.front article div.field-items div.field-item img {
	padding: 5px;
	border:thin solid #CCC;
	margin-top: 1em;
	margin-bottom: 1.5em;
}


.front article .links { /*read more*/
	padding:0;
	margin:0;
}

#footer-content {
	border-top:#CCC solid 1px;
	background-color: #EFEFEC;	
	padding: 35px 45px;
	min-height: 240px;
	clear: both;	
}

.front #footer-content {
	padding: 25px 30px;
	margin-top: 50px;
	min-height: 410px;	
}

.section-summary #footer-content {
	min-height: 425px;
}

.section-summary article .field-type-file {
	margin-bottom: 10px;
}

.section-summary  article .field-type-file a {
    color: #757474;
	text-decoration:none;
}

.section-summary article .field-type-file a:hover {
    color: #333;
	text-decoration:none;
}

.section-summary article .field-type-file .file-icon {
	border: none;
	padding:0;
}



.not-front article img{
	padding: 5px;
	border:thin solid #CCC;
}



#footer-content .block-views {
	padding-right: 5%;
    width: 20%;
	float:left;
}

#footer-content .block-views ul {
    padding: 0;
}
#footer-content .block-views li,
#footer-content #block-block-7 li
{
	list-style: none;
	border-bottom: thin solid #999;
	margin:0;
	padding:5px 0;
}

#footer-content .block-views li.views-row-last,
#footer-content #block-block-7 li.last
{
	border-bottom:none;
}


#footer-content h2.block-title{
	font-family: AsapRegular;
	text-transform:uppercase;
	font-size:small;
	font-weight: 600;	
}
#footer-content a {
    color: #757474;
	text-decoration:none;
}

#footer-content a:hover {
    color: #333;
	text-decoration:none;
}


.front #footer-content a {
	text-decoration:none;
	font-size:90%;
}

.front #block-block-7 {
	width:160px;
	margin-top: 30px;
	float:left;
	margin-right: 20px;
}

.front #block-views-front-pictures-block-1{
	width: 245px;
	padding-right:0;
}

.front #block-views-front-pictures-block-1 .view-front-pictures {
	margin-top: 20px;
}

.front #block-views-front-pictures-block-1 .view-content div div div {
	width:100px;
	height:100px;
	float:left;
	margin-right: 10px;
	margin-bottom:10px;
}

.front #block-views-front-pictures-block-1 .view-content div div div {
	border:#CCC solid thin;
	background-color:#FFF;
	padding:5px;
}

/***members*/


#contact-site-form{
	width: 350px;
	margin-left: 450px;
	padding-top:2px;
    max-width: 400px;
    position: absolute;	

}

.i18n-pt-pt #contact-site-form:before{
	content:"Contacte-nos";
 	font-size: 1.5em;
}

.i18n-en #contact-site-form:before{
	content:"Contact us";
 	font-size: 1.5em;
}



.page-contact #content {
	min-height:600px;
}

.page-contact #footer-content {
	display:none;
}



.page-contact .grippie {
	width: 380px;
}


.page-contact h2, .page-contact h2.block-title{
	margin:0;
	padding:0;
	line-height: normal;
    font-size: 1.5em;
	font-weight:400;
}

.page-contact #edit-actions {
	text-align:right;
	width: 400px;
}




.page-contact #edit-submit {
	-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
	box-shadow:inset 0px 1px 0px 0px #ffffff;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf) );
	background:-moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf');
	background-color:#ededed;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #dcdcdc;
	display:inline-block;
	color:#777777;
	font-family:arial;
	font-size:15px;
	font-weight:bold;
	padding:6px 24px;
	text-decoration:none;
	text-shadow:1px 1px 0px #ffffff;
}
.page-contact #edit-submit:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed) );
	background:-moz-linear-gradient( center top, #dfdfdf 5%, #ededed 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed');
	background-color:#dfdfdf;
}
.page-contact #edit-submit:active{
	position:relative;
	top:1px;
}


#contact-site-form .input {
  margin: 5px 0;
  background: white;
  float: left;
  clear: both;
}

#contact-site-form .input span {
  position: absolute;
  padding: 5px;
  margin-left: 3px;
  color: #999;
}

#contact-site-form .form-textarea-wrapper {
	width: 450px;
}

#contact-site-form .form-text, #contact-site-form textarea  {
  position: relative;
  margin: 0;
  border-width: 1px;
  padding: 4px 0;
  background: #E5E5E5;
  font: inherit;
  width: 380px;
}


#contact-site-form label {
	display:none;
}



/*** actividades ***/

.section-activities .views-field-field-file {
	margin-bottom: 10px;
}
.section-activities .views-field-field-file a {
    color: #757474;
	text-decoration:none;
}

.section-activities .views-field-field-file a:hover {
    color: #333;
	text-decoration:none;
}

.section-activities #footer-content {
	display:none;
}

.section-activities h3 {
  color: #666666;
  font-weight:200;
}



/**** galeria ***/

.section-pictures .view-content div {
	width: 250px;
	float:left;
	margin: 20px;
}

.section-pictures #footer-content {
	display: none;
}

.section-pictures .pager {
	clear: both;
}

.section-pictures .pager li {
	display: inline;
}


/**** bibliography ***/

.section-bibliography #footer-content {
	display: none;
}

.section-bibliography article a {
    color: #757474;
	text-decoration:none;
}

.section-bibliography article a:hover {
    color: #333;
	text-decoration:none;
}




/**** links ***/

.section-links #footer-content {
	display: none;
}

.section-links article a {
    color: #757474;
	text-decoration:none;
}

.section-links article a:hover {
    color: #333;
	text-decoration:none;
}



/*** others pages ***/
.section-content article .field-type-file {
	margin-bottom: 10px;
}

.section-content  article .field-type-file a {
    color: #757474;
	text-decoration:none;
}

.section-content  article .field-type-file a:hover {
    color: #333;
	text-decoration:none;
}

.section-content  article .field-type-file .file-icon {
	border: none;
	padding:0;
}
.section-content #footer-content {
    display: none;
}

article {
	text-align:justify;
}


#block-locale-language {
	width: 60px;
    margin: 0;
    padding: 0;
    text-align: center;
  	position: absolute;
    top: 0;
    width: 50px;
}

.language-switcher-locale-url  {
    margin: 0;
    padding: 0;
    width: 50px;
}
.language-switcher-locale-url li {
    display: inline;
    font-size: 12px;
    margin: 0;
    padding: 0;
    width: 10px;
}
.language-switcher-locale-url li a {
	color:#333;
}
.language-switcher-locale-url li a:hover {
	color: #757474;
}