/*
Theme Name: Twodecode Adapted
Theme URI: http://www.twodecode.com/
Description: The customised template for Twodecode Backoffice.
Version: 1.0
Author: Philippe Creytens, Bert Goethals
*/
html, body  {
	background: #ECECEC;
}

#body {
	background-color: white;
	margin: 5px 10px;
	border: 1px solid #8694AA;
}
#body, #body table, #body table * {
  font-size: 1.2em;
	line-height: 1.3em;
}

#header {}

  #header h1 {
    background-image: url('images/EurocleanLogo.png');
    background-repeat: no-repeat;
    height: 85px;
    margin: 5px 0;
  }
    #header h1 * {
      visibility: hidden;
    }

div#loginMessage
{
  position: absolute;
  right: 15px;
  top: 102px;
  z-index: 300;
}
div#hubVersion
{
  position: absolute;
  right: 15px;
  top: 8px;
  z-index: 300;
}
    
    
#footer {
  text-align: right;
  padding-left: 20px;
  padding-right: 20px;
}

#content {
	padding: 5px 10px;
}

a:link, a:active, a:visited {
	text-decoration: none;
	color: #059;
}


span.highlight {
	color: #fff;
}

table {
	border-collapse: collapse;
}

tr {
  border-bottom: solid 1px #ECECEC;
}

th {
  padding-left: 5px;
  padding-right: 5px;
  vertical-align: text-top; 
  background: #ECECEC;
  color:#000;
  border: 1px solid #fff;
  border-right: 1px solid #fff;
}

td {
  padding-left: 5px;
  padding-right: 5px;
  border: 1px solid #fff;
  border-bottom: solid 1px #ECECEC;
  vertical-align: text-top; 
  vertical-align: top; 
}

label {
	display: block;
	background-color:	#8694AA;
	color: #FFF;
	font-weight: bold;
	padding-left: 7px;
	margin-bottom: 2px;
	margin-top: 2px;
}

/*
 *  DESIGN ELEMENTS
 */

/*
 * MAIN MENU
 */

#mainmenubar { 
  clear: both; 
  height: 4em;
	/*border-top: 2px solid #8694AA;*/
  /*height: 51px; */
  background-color: #CB0100;
}

div#mainmenubar ul li span
{
  cursor : pointer;
}

#mainmenubar a { 
    text-decoration: none;
  }

  #mainmenubar ul {
  	margin: 0;
  	padding: 0;
  	list-style-type: none;
  	position: relative;
  	background-color: #8694AA;
  	width: 100%; 
  	border: 0;
    border-bottom: 1px solid #FFF;
  	height: 1.99em;
  }
  
    #mainmenubar ul li {
      border-width: 0;
    	border-right: 1px solid #FFF;
    	display: inline;
    	padding: 0.5em 1em;
    	margin: 0;
    	line-height: 2em;
    }

    #mainmenubar ul li.active
    {
    	background-color: #CB0100;
    	/*border-bottom: 1px solid #CB0100;*/
    }

    #mainmenubar ul li.active a
    {
    }

    #mainmenubar ul li a, #mainmenubar ul li span {
    	color: #fff;
    	text-align: center;
    }

      /*Second and subsequent levels*/

      #mainmenubar ul li ul {
        display:none;
      	position: absolute;
      	top: 2em;
      	left: 0px;
      	background-color: #CB0100;;
      	background-position: bottom right;
      	background-repeat: no-repeat;
      	/*height: 25px;*/
      	height: 2em;
      }
      #mainmenubar ul li.active ul {
      	display: block;
      }

        #mainmenubar ul li ul li { 
        	display: inline; 
        	padding: 0.5em 1em;
        	border: 0;
        	line-height: 2em;
        }

        #mainmenubar ul li ul li a {
        	text-align: center;
        }

        #mainmenubar u li ul li a:hover {
        	text-decoration: underline;
        }

/*
 * MODELS
 */

ul.models {
  list-style-type: none;
  padding-left: 0;
}

  .model, .subgroup {
  	border: 2px solid #8694AA;
  	border-left-width: 7px;
  	padding-left: 2px;
  	margin-top: 2px;
  	margin-bottom: 7px;
  	background-color: #FFF;
  }

    .model .name, .short .name, .subgroup .label {
    	font-weight: bold;
    	font-size: 1.3em;
    	line-height: 1.5em;
    }

    .model label, .subgroup label {
    	margin-left: -2px;
    	padding-left: 2px	;
    }
    
    .model .options {
      background: #ECECEC;
      padding: 2px 0px;
      margin-left: -2px;
      padding-left: 2px;
      color: #8694AA;
      border-top: 2px solid #8694AA;
    }
      .options a {
        color: #CB0100;
        font-weight: bold;
      }

/*
 * MODELS
 */

.eteinactive {} 

.etemet {
  border-left-color: green;
}

.etetentative {
  border-left-color: orange;
}

.etemissed {
  border-left-color: #CB0100;
}

.short {
	border: 1px solid #8694AA;
	border-left-width: 7px;
	padding-left: 2px;
	margin-top: 2px;
	margin-bottom: 2px;
}

  .short div {
  	clear: both;
  }

  .short label {
  	margin-left: -2px;
  	padding-left: 2px	;
  	margin-right: 5px;
  	margin-bottom: 3px;
  	width: 120px;
  	float: left;
  }


ul.model_options {
	padding-left: 0px;
}
ul.model_options li {
	display: inline;
	border-left: 1px solid #8C927F;
	padding-left: 4px;
}

#sorting {
  padding-left: 0px;
  width: 100%;
  text-align: justify;
  list-style : none;
}

  #sorting li {
    /*display: inline;*/
    float : left;
    width: 20%;
  }
  #sorting li.up
  {
    background: url( '../images/up.gif' ) no-repeat left 0.3em;
  }
  #sorting li.down
  {
  	background: url( '../images/down.gif' ) no-repeat left 0.5em;
  }
  #sorting li a   /*.down a, #sorting li.up a*/
  {
    padding-left : 12px;
  }
  /* old way
  #sorting li.up:after {
    content: "(up)";
  }
  #sorting li.down:after {
    content: "(down)";
  }
  */

.filter {
  width: 100%;
  padding: 0;
  border: 2px solid #8694AA; 
  margin: 0;
}
  .filter div {
  }
  
  .filter div div div {
    margin: 0 2px;
    height: 3.2em;
  }
  
  .filter #status {
    list-style-type: none;
    padding-left: 0;
  }
    .filter #status li {
      display: inline;
      margin-right: 1em;
    }

div.error {
  display: inline;
  color: #FFF;
  background-color: #CB0100;
  padding: 0 2px;
}

.nice_title {
  background-color: #CFCFCF; 
  color: #FFF; 
  text-align: right; 
  padding-right: 1em; 
  border-bottom: 2px solid #8694AA; 
  margin: 0; 
  display: block;
  font-size: 1.9em; 
  line-height: 1em; 
  padding-top: 0.3em; 
  padding-bottom: 0.3em;
  font-weight: bold;
}
a.nice_title {
  color: #fff;
}

#help_link {
  color: #FFF;
  font-weight: bold;
  text-decoration: underline;
  letter-spacing: 0.2em;
}

#help_bar {
  position: absolute; 
  right: 15px; 
  top: 120px; 
  z-index: 300; 
}
#help_content {
  padding-top: 0;
  border: 2px solid #8694AA; 
  margin: 0;
  margin-bottom: 1em;
}
#help_content div * {
  margin: 1em;
}

#help_content div .nice_title {
  margin: 0;
}
