/**
* @author   Open Images Platform
* @since    May 2009
* @name     Main stylesheet
* @version  '$Id: main.css 39925 2009-11-25 08:45:10Z andre $'
*/

@import url("framework.css");
@import url("specific-styles.css");
@import url("components.css");
@import url("smallscreen.css");

/* General elements */
*
{
	padding: 0;
	margin: 0;
}

html
{
	background: #fff;
	color: #555;
}

body
{
	line-height: 1.5em;
	font-family: Helvetica, sans-serif;
	font-size: 0.85em;
}

/*
@font-face    {
  webkit-font-family: "DINEngEot";
  src: url(../fonts/DINEngschriftStd.eot);
}

@font-face    {
  font-family: "DINEng";
  src: url(../fonts/DINEngschriftStd.otf);
}
*/

/* html styles */
img { border: 0; }
hr
{
	clear: both;
	margin: 1em 0;
}

h1, h2, h3
{
	font-family: Helvetica, sans-serif;
	font-weight: normal;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin: 8px 0 12px 0;
	color: #777;
	clear: both;
}

div.error h1, div.error h2 div.error.h3 {
    font-family: Helvetica, sans-serif;
    text-transform: none;
}

h2 { font-size: 1.6em; }
h3 { font-size: 1.4em; }
h4
{
	font-size: 1.05em;
	color: #777;
}

h5
{
	font-size: 1em;
	color: #777;
}

a:link { color: #c00; }
a:visited { color: #333; }
a:hover, a:active
{
	color: #c00;
	text-decoration: underline;
}

h2 a:link, h2 a:visited,
h3 a:link, h3 a:visited,
h4 a:link, h4 a:visited,
h5 a:link, h5 a:visited
{
	color: #777;
	text-decoration: none;
}

h2 a:hover, h2 a:active,
h3 a:hover, h3 a:active,
h4 a:hover, h4 a:active,
h5 a:hover, h5 a:active
{
	color: #C00;
	text-decoration: underline;
}


p { margin-bottom: 1em; }

/* generic classes */
.hidden { display: none; }


/* generic messages */
.msg, .err
{
	font-family: Helvetica, sans-serif;
	width: auto;
	text-align: center;
	color: #000;
	clear: both;
}

.err em, .msg em
{
	font-size: 0.8em;
	display: block;
}

.msg
{
	border: 2px solid #679911;
	background-color: #CEFFCD;
}

.err
{
	border: 2px #F93537 solid;
	background-color: #FDD3C7;
}

p.msg, div.msg, p.err, div.err
{
	margin: 4px 0 4px 0;
	padding: 0.5em;
}

div#error.err
{
	text-align: left;
}
div#error.err p
{
	font-family: Monaco, Courier, monospaced;
	font-size: 0.9em;
}

/* forms */
fieldset
{
	border: 0;
	margin-bottom: 1em;
}

input
{
	padding: 3px;
	margin: 0 0 6px 0;
	color: #888;
	width: 312px;
	font-size: 1em;
	border: 1px solid #cfcfcf;
}

/*
select
{
	margin-bottom: 6px;
	padding: 2px;
}

select option
{
	padding: 2px;
	margin: 0;
}
*/


textarea
{
	width: 314px;
	padding: 3px;
	font-size: 1em;
	color: #888;
	border: 1px solid #cfcfcf;
}

label
{
	font-weight: bold;
	padding-left: 2px;
	display: block;
}

form p.info
{
	display: none;
	position: absolute;
	z-index: 1;
	width: 280px;
	background: #777;
	color: #fff;
	margin: 0;
	padding: 4px !important;
	font-size: 0.9em;
	text-align: left;	
}

input.radiobutton { width: auto; }

input.submit, input.cancel
{
	width: auto;
	float: right;
	color: #555;
	border: 1px solid #cfcfcf;
	background-color: #efefef;
	cursor: pointer;
	text-transform: lowercase;
	padding: 2px 10px 2px 10px;
	margin-top: 8px;
	font-size: 1.1em;
	margin-left: 16px;
}
input[disabled] { cursor: auto; } 

span.text, span.text span {
  display: inline-block;
  color: transparent;
  overflow: hidden;
  background-repeat: no-repeat;
  white-space: nowrap;
}

/* 
  Trick for IE, which SUCKS
  IE does not support color: transparent;
  It also does not support [class=text] selector.
  In IE6 you can't search/select the text, but at least it looks ok.
  I don't know about IE7/IE8.
*/
span.text span {
    visibility: hidden;
}
/*
span[class=text] span  { 
  visibility: visible !important
}
*/

/* TODO: class */
.TODO {
  /*text-decoration: blink;*/
}
