/* Sofiethic.org main style sheet */

/* font base */
@font-face {
	font-family: 'TradeGothicCT';
	src: url('TRGBCT__.TTF') format('truetype');
	font-weight: normal;
	font-style: normal;
}

/* reset */
* {
	margin: 0;
	padding: 0;
}

/* render html5 elements as block */
header, footer, section, aside, nav, article {
	display: block;
}

body {
	/* font: "Helvetica Nue", serif; font-stretch: condensed ; */
	font-family: arial, sans-serif;
	/*, Ubuntu, Verdana, , Tahoma, OpenSymbol, Helvetica, sans-serif; */
	color:#000;
	font-size:14px;
	line-height: 17px;
	background-color:#eee;
	overflow-y: scroll;
}

h4 {
	color:#000;
	margin-bottom:16px;
}

h3 {
	display:block;
	clear:both;
	padding:10px;
	padding-bottom:0;
	padding-left:16px;	
}

a {
	color:#000000;
	color: #da1c1c;
	text-decoration:none;
}

img {
	border:0;
}

/* layout */
#wrapper {
	width:1008px;
	margin:0 auto;
	margin-top: 8px;
	margin-bottom: 8px;
	background-color:#ffffff;	
	-webkit-box-shadow: 5px 5px 11px #aaa;
	-moz-box-shadow: 5px 5px 11px #aaa;
	box-shadow: 5px 5px 11px #aaa;	
	-moz-border-radius: 5px 5px 5px 5px;
	border-radius: 5px 5px 5px 5px;
}

header {	
	/*font: 1em 'TradeGothicCT', Arial, sans-serif; */
	font: 16px 'TradeGothicCT', Arial, sans-serif;
	color:#da1c1c;
	text-align:center;
	padding-top: 4px;
	padding-bottom: 4px;
	border-bottom:4px solid #da1c1c;
}

nav {
	float:left;
	/* margin-bottom:0.3em;	*/
	margin-bottom:4px;
	width:100%;
}

nav ul li {
	float:left;
	list-style-type:none;
	text-align:center;
	margin-right:1px;
}

nav ul li>a {
	float:left;
	background-color:#da1c1c;
	min-width:144px;
	height:20px;
	font-weight:bold;
	color:#fff;
	-moz-border-radius: 0px 0px 5px 5px;
	border-radius: 0px 0px 5px 5px;
}

nav ul li:hover>a {
	background-color:#fff;
	color:#da1c1c;
}

.sel {
	background-color:#fff;
	color:#da1c1c;
}

.idiomes {
	float:right;
	margin-right:16px;
	font-size:12px;
}

.idiomes ul li>a {
	min-width:auto;
	min-width:30px; /* safari la caga amb el width auto i per tant es fixa */
	padding-left:10px;
	padding-right:10px;
	font-weight:normal;
}

articles {
	float:left;	
	width:576px;
	background: url('/static/img/sofiethic_star_mini.png') top right repeat-y;	
	margin-bottom:4px;
	padding:0;
	min-height:496px;	
}

article {
	float:left;
	width:536px;
	padding:16px;
	margin-bottom:4px;
	color:#333;
	font-size:14px;
}

article ul {	
	padding:16px;
	list-style-type: none;
}

article li {
	background-image: url('/static/img/sofiethic_star_mini.png');
	background-repeat: no-repeat;
	background-position: 0px 4px;
	padding-left: 16px;
	padding-bottom: 4px;
}

/*
aside {
	float:left;
	width:192px;
	padding:16px;
	-moz-border-radius: 16px 16px 16px 16px;
	border-radius: 5px 5px 5px 5px;
	background-color:rgba(0,0,0,0.1);
    color:#333;
}

section {
    width:180px;
    float:right;
	background-color:#aaa;
	-moz-border-radius: 16px 0px 0px 16px;
	border-radius: 16px 0px 0px 16px;
	padding:16px;
	background-color:yellow;
}
*/
/*
section h3 {
	color:#000;
}*/
/*
section form label {
	color:#000;
}

section form input {	
	width:180px;
    float:right;
	background-color:#aaa;
	-moz-border-radius: 16px 0px 0px 16px;
	border-radius: 16px 0px 0px 16px;
	padding:16px;
}
*/

bigsection {
	display:block;
	width:400px;
	padding:16px;
	padding-top:0;
	float:right;
}

imgs {
	float:right;
}

imgs img {
	/* border: 0.1em solid #aaa; */
}

.softlinks {
	margin-top:1em;
	float:left;	
}

.softlinks li {
	display:inline;
	float:left;
	list-style-type:none;
	text-align:center;
	background-color:gold;	
}

.softlinks li>a {	
	display:block;	
	width:66px;
	height:48px;	
	/* filter: grayscale(100%); */
    -webkit-filter: grayscale(100%);  /* For Webkit browsers */
    /* filter: gray; */  /* For IE 6 - 9 */
    -webkit-transition: all .6s ease;  /* Transition for Webkit browsers */
}

.softlinks li>a {	
	display:block;	
	width:66px;
	height:48px;	
	/* filter: grayscale(100%); */
    -webkit-filter: grayscale(100%);  /* For Webkit browsers */
    /* filter: gray; */  /* For IE 6 - 9 */
    -webkit-transition: all .6s ease;  /* Transition for Webkit browsers */
}

.softlinks li>a img{	
	width:80%;
	height:auto; 
}

.softlinks li:hover>a {	
	/* filter: grayscale(0%); */
    -webkit-filter: grayscale(0%);
    /* filter: none; */
}

.separador_softlinks {
	display:block;
	clear:both;
	height:1em;
}

.softlinks_named {
	float:left;
	margin-top:32px;
	list-style:none;	
    width:100%;
    text-align: center; /* this will center the list items */
}

.softlinks_named li {
	float:left;
	background-image: url('/static/img/sofiethic_star_mini.png');
	background-repeat: no-repeat;
	background-position: 0px 4px;
	padding-left: 16px;
	padding-right: 12px;
	padding-bottom: 16px;	
}

.softlinks_named li>a {
	color:gray;
}

.softlinks_named li>a:hover {
	color:#da1c1c;
}


txtinfo {
	display:table;
	margin: 0 auto;	
	font-size:12px;
	padding:16px;	
	margin-top:4px;
	background-color:rgba(0,0,0,0.1);
    color:#333;    
	-moz-border-radius: 16px 16px 16px 16px;
	border-radius: 16px 16px 16px 16px;	
}

data {	
	font-size:12px;
    color:#777;
}

footer {	
	width:1008px;
	margin:0 auto;
	margin-top: 16px;
	margin-bottom: 4px;
	background-color:transparent;	
}

footer llicencia {
	float:left;
	font-size:12px;
	margin-left:4px;	
}

footer img {
	float:left;
}

/*
.dropShadow {
 	font-family: "TradeGothicCT", Tahoma, Geneva, Verdana;
 	font-size: medium;
 	color: #CC3300; 	
 	text-shadow: 4px 4px 2px #999;
}

.ref_modes {
	color:orange;
}
*/

.vermell {
	color:#da1c1c;
}
