/* 
	The cuuks red: #8d181c
	The darker red:#65181C;
	Hover yellow: #ffffd0
	Hover blue: #E8F2FE
	Hover dark blue: #B5D5FF
*/

/* Main Elements */
#container
{
    margin: 0 auto;
    width: 840px;
    padding:0 20px 20px 20px;
    background-color:#eee;
    background-image:url('../img/backpapier.jpg');
    background-repeat: repeat-y;
    min-height:100%;
}
#popupContainer {
    padding: 20px;
    background-color:#eee;
    background-image:url('../img/backpapier.jpg');
    background-repeat: repeat-y;
    min-height:100%;
}

/*
**	NAVIGATION
*/
#navigation {
    display:inline;
    float:left;
    width:840px;
    color:#FFFFFF;
    background-image: url('../img/panelBottomGradient.png');
    background-position:bottom left;
    background-repeat: x-repeat;
    height:23px;
    opacity: 0.8;
    -moz-border-radius: 0 0 5px 5px;
    -khtml-border-radius: 0 0 5px 5px;
    -webkit-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
}

#navigation li {
    line-height:normal;
}	
#navigation a {
    color:#FFFFFF;
    padding:5px;
    text-decoration:none;
}
#mainNavigation {
    margin:0 10px 0 10px;
    border-left:1px solid #FFFFFF;
    height:23px;
    font-size:14px;
    font-weight:bold;
}
li.mainNaviTab {
    list-style: none;
    float:left;
    margin-left:0;
    border-right:1px solid #FFFFFF;

}
#mainNavigation li a {
    float:left; /* This fixes a IE6 bug with with display:block in floated elements */
    margin:0;
    padding:0;
    display:block;
    height:100%;
    padding:3px 20px 3px 20px;
}
#mainNavigation li:hover {
    background-color:#8d181c;
}
#secondaryNavigation {
    float:right;
    height:18px;
    padding:3px 0 0 10px;;
}
#secondaryNavigation li {
    display:inline;
    padding:3px 10px 3px 10px;
    margin:0px;
}	
#secondaryNavigation a {
    text-decoration: underline;
}
#userstatus {
    float:right;
    vertical-align:bottom;
    font-weight:normal;
    /* margin:0 0 0 400px; */
    font-size:12px;
}

/*
** HEADER BELOW NAVIGATION
*/
#header {
    width:100%;
    float:left;
    /* padding: 5px 5px 20px 5px; */
    vertical-align: bottom;
}
#howToButton {
    position:relative;
    left:-40px;
    top:-10px;
    height:0px;
}
#pageTitle {
    margin: 42px 0px 0px 10px;
    float:left;
}

#pageTitle h1, #pageTitle h2 {
    margin:0px;
}

#searchFieldWrapper {
    width: 236px;
    margin-top: 29px;
    float:left;
}
#startSearchFieldWrapper {
    margin: 0 7px 20px 7px;
}
#startSearchField {
    width: 99%;
}
#ingredientFilter {
    width: 223px;
}
#compositionSearch {
    width: 180px;
}
.bigSearchField {
    padding:2px;
    font-size:14pt;
}

/*
 * CONTENT LAYOUT
*/

#startPageMainRow {
    min-height:200px;
}
#logo {
    margin:20px 7px;
    height:100px;
    text-align: right;
}

.twoColumnLayoutSXL #column1 {
    float:left;
    width:200px;
}
.twoColumnLayoutSXL #column2 {
    float:left;
    width:620px;
    margin-left:20px;
}
.twoColumnLayoutXLS #column1 {
    float:left;
    width:620px;
}
.twoColumnLayoutXLS #column2 {
    float:left;
    width:200px;
    margin-left: 20px;
}
.twoXLsubColumns #XLsubColumn1 {
    float:left;
    width:300px;
}
.twoXLsubColumns #XLsubColumn2 {
    float:left;
    width:300px;
    margin-left: 20px;
}
.twoLsubColumns #subColumn1 {
    float:left;
    width:280px;
}
.twoLsubColumns #subColumn2 {
    float:left;
    width:280px;
    margin-left: 20px;
}
.twoColumnLayoutLM #column1 {
    float:left;
    width:580px;
}
.twoColumnLayoutLM #column2 {
    float:left;
    width:240px;
    margin-left:20px;
}
.threeColumnLayoutLSL #column1 {
    display:inline;
    float:left;
    width:310px;
}
.threeColumnLayoutLSL #column2 {
    margin-left:330px;
    width:205px;
}
.threeColumnLayoutLSL #column3 {
    display:inline;
    float:right;
    width:305px;
}
.threeColumnLayoutSLL #column1 {
    display:inline;
    float:left;
    width:200px;
}
.threeColumnLayoutSLL #column2 {
    margin-left:220px;
    width:300px;
}
.threeColumnLayoutSLL #column3 {
    display:inline;
    float:right;
    width:300px;
}
.threeColumnLayoutSLS #column1 {
    display:inline;
    float:left;
    width:250px;
}
.threeColumnLayoutSLS #column2 {
    margin-left:270px;
    width:350px;
}
.threeColumnLayoutSLS #column3 {
    display:inline;
    float:right;
    width:200px;
}
.threeColumnLayoutLLS #column1 {
    display:inline;
    float:left;
    width:300px;
}
.threeColumnLayoutLLS #column2 {
    margin-left:320px;
    width:300px;
}
.threeColumnLayoutLLS #column3 {
    display:inline;
    float:right;
    width:200px;
}	
.threeColumnLayoutMMM #column1 {
    display:inline;
    float:left;
    width:270px;
}
.threeColumnLayoutMMM #column2 {
    margin-left:290px;
    width:280px;
}
.threeColumnLayoutMMM #column3 {
    display:inline;
    float:right;
    width:270px;
}
.colspan3 {
    clear:both;
    padding:5px;
    margin-top:20px;
    font-size:12px;
    width:840px;
}
.clearFloat {
    clear:both;
}
.row {
    clear:both;
}
#footer {
    border-top: 1px solid #DDD;
    color: #999;
    clear:both;
    padding-top:10px;
    margin:20px 0;
    font-size:12px;
    width:840px;
}
#footer a {
    color: #999;
    text-decoration:underline;
}

/*
 * GENERAL
*/

html {
    /* Always show a scrollbar for short pages - stops the jump when the scrollbar appears. non-IE browsers */
    height: 100%;
    margin-bottom: 1px; /**/
}
body {
    font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, sans-serif;
    background-color: #fff;
    font-size:12px;
    height:100%;
    margin:0;
    word-wrap: break-word;
}
p {
    /* margin:5px 0 5px 0; */
    word-wrap: break-word;
    line-height: 1.5em;
}
.panel > p:last-child {
    margin-bottom: 0;
}

div {
    margin:0px;
}
table {
    margin:0px;
    padding:0px;
    border-spacing:0px;
    border-collapse:collapse;
}
ul {
    margin:0;
    padding:0;
}
td {
    font-size: 12px;
    vertical-align: top;
}
a {
    color:#8d181c;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
h1 {
    font-size: 36px;
    font-weight:bold;
    color:#333;
}
h2 {
    font-size: 24px;
    font-weight:bold;
    color:#333;
}	
h3 {
    font-size:14px;
    font-weight:bold;
    color:#333;
}
.panel h3:first-child {
    margin-top: 0;
}

h4 {
    font-size:12px;
    font-weight:bold;
    color:#333;
    /*	margin-top: 7px;
	margin-bottom:10px;*/
    vertical-align:top;
}

.composition-listview h4 {
    margin: 4px 0 3px;
}
.composition-listview .compositionIngredients {
    /*	font-weight:bold;*/
    /*	margin: 0 0 15px;*/
}

form {
    margin:0px;
    padding:0px;
    position:relative;
    top:0px;
    font-size:12px;
}
img {
    border:0;
}
ol li {
    margin-bottom:10px;
}
ul li {
    line-height:2em;
    list-style:none;
}
li img {
    margin-top:4px;
}

/* Specifics */

#notificationSettings td {
     padding-bottom: 7px;
}

.rightAlignedButtons {
    text-align:right;
    margin-top:10px;
}

input.round {
    background-color:transparent;
    border: 0 solid #999;
}

.panel-title h3, .panel-divider h3 {
    font-size:14px;
    font-weight:bold;
    color:#FFFFFF;
    vertical-align:top;
    margin:0;
}

.panel-subtitle {
    border-top: 1px solid #DDD;
    background-color: #EEE;
    border-bottom: 1px solid #DDD;
    padding: 5px 7px;
    margin: 0;
}
.panel-subdivider {
    background-color: #EEE;
    border-bottom: 1px solid #DDD;
    padding: 5px 7px;
    margin: 0px;
}
.panel-title {
    margin:0;
    background-image: url('../img/panelHeaderGradient.png');
    background-repeat: repeat-x;
    padding:5px 0 5px 7px;
    opacity: 0.8;
}
table.panel-title, table.panel-bottom{
    width: 100%;
}
td.panel-title-left, td.panel-bottom-left {
    padding: 5px 0 5px 7px;
}
td.panel-title-right, td.panel-bottom-right {
    padding: 2px 7px 3px 0px;
    text-align: right;
}

.panel-divider {
    margin:0;
    background-image: url('../img/panelHeaderGradient.png');
    background-repeat: repeat-x;
    padding: 3px 0 4px 7px;
    opacity: 0.8;
}
.panel-bottom {
    background-image: url('../img/panelHeaderGradient.png');
    background-position: bottom left;
    background-repeat: repeat-x;
    padding:4px 0 4px 7px;
    color:#FFFFFF;
    vertical-align: middle;
    margin:0;
    opacity: 0.8;
}
.panel {
    height:100%; /* damit der MS gradient=tranpsarenz hack funzt.*/
    margin:0 0 20px 0;
    background-color:rgba(255,255,255,0.8);
    filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#ccFFFFFF', EndColorStr='#ccFFFFFF');
}
.popup {
    height:100%; /* damit der MS gradient=tranpsarenz hack funzt.*/
    background-color:rgba(255,255,255,0.8);
    filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#ccFFFFFF', EndColorStr='#ccFFFFFF');
}

.rounded {
    -moz-border-radius: 10px;
    -khtml-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

.rounded .panel-title {
    -moz-border-radius: 5px 5px 0 0;
    -khtml-border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
}
.rounded .panel-bottom {
    -moz-border-radius: 0 0 5px 5px;
    -khtml-border-radius: 0 0 5px 5px;
    -webkit-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
}
.padded {
    padding: 7px;
}
.info {
    padding: 14px;
    -moz-border-radius: 10px;
    -khtml-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}
.info p {
    color: #555;
}

.topPad {
    padding-top: 10px;
}
.bottomPad {
    padding-bottom: 10px;
}
.sidePad {
    padding-left: 7px;
    padding-right: 7px;
}
.borderBottom {
    border-bottom: 1px solid #DDD;
}

.rowspan2{
    height:800px;
}
.rowspan1{
    height:360px;
}
/* selected Ingredients */
.selectedIngredient {
    border-bottom: 1px solid #DDD;
    padding: 5px;
    margin: 0px;
}
.selectedIngredient p.name {
    font-size: 26px;
    line-height: 1.2em;
    margin: 0px;
}

.selectedIngredient .actions {
    white-space: nowrap;
    text-align: right;
}

a.removeIngredient {
    font-size:1em;
}
#saveComposition {
    width:100%;
    text-align:right;
}
#saveComposition table {
    width:100%;
    background-color:#ffd;
}


/* Suggested Ingredients */
.suggestedIngredient {
    border-bottom: 1px solid #DDD;
    padding:7px;
}
.suggestedIngredient:hover {
    background-color: #E8F2FE;
    cursor: pointer;
}
.suggestedIngredient:hover a{
    text-decoration: none;
}
.suggestedIngredient td {
    font-size:14px;
    vertical-align: middle;
}
.suggestedIngredient .gauge {
    white-space: nowrap;
    text-align: right;
}
#suggestedIngredientsFooter {
    padding: 7px;
    font-size: 10px;
    min-height: 12px;
}

/* selected Ingredients */
.composition {
    border-bottom: 1px solid #000;
    padding:3px;
    margin:0px 0px 5px 0px;
}
.composition .title, .composition-title {
    font-size: 26px;
    font-weight:bold;
    height: 40px;
}
.composition .tags {
    color:#aaa;
    margin: 0px;
}

.composition a.mgmt {
    font-size:small;
}
td.description {
    border-bottom:1px solid #bbe;
}
td.composer {
    border-top:1px solid #bbe;
    font-style:italic;
}
#emptyCompositionPanel {
    height:200px;
    vertical-align: middle;
}
#composition-like {
    text-align: right;
}
#composition-like-Form {
    font-size: 10px;
}
#composition-save {
    float:right;
    text-align: right;
}

/* right panels */

.composer {
    font-size:10px;
    font-style: italic;
}

#composition-properties p, #composition-properties input {
    font-size: 10px;
    margin: 3px;
}

.form-explanation {
    font-size:12px;
    font-style: italic;
}

.panelContentNoPad p.noData {
    margin:0;
    padding:20px;
}

.tagClass0 {
    font-size:8pt;
}
.tagClass1 {
    font-size:9pt;
}
.tagClass2 {
    font-size:10pt;
}
.tagClass3 {
    font-size:12pt;
}
/*TODO: Darf man keine underscores verwenden?! */
.matching_scale_element {
    margin: 0 2px;
    vertical-align: text-bottom;
    width: 2px;
    height: 13px;
}
.tag {
    margin-right:5px;
    white-space: nowrap;
    line-height: 1.6;
    /*	text-decoration: underline;*/
    background-color: #E8F2FE;
}
.descriptor {
    font-weight: normal;
    font-size: 10px;
}

/* 
 *	COMPOSITION 
*/

#composition-title-field {
    font-size: 14px;
    width: 93%;
    /*font-weight: bold;
	color: #8d181c;
	padding: 0;
	margin: 0;*/
}
.composition-listview {
    border-bottom: 1px solid #DDD;
    padding: 7px;
}
.composition-listview:hover {
    background-color: #E8F2FE;
    cursor: pointer;
}
.composition-listview h4 a:hover {
    text-decoration: none;
}

p#honey {
    display:none;
}
.metaButtons {
    float: right;
    position: relative;
    top: -45px;
    height: 0px;
    padding: 0 7px;
}

#viewComposition a.removeIngredient {
    display:none;
}

#editComposition div.panelContentNoPad {
    /*background-color: #E8F2FE;*/
}

.compositionTable {
    width: 100%;
}
.compositionTable h4 {
    margin: 2px 0;
}
.compositionRow {
    border-top:1px solid #555;
    border-bottom:1px solid #DDD;
}
.compositionRow:hover {
    background-color: #E8F2FE;
    cursor: pointer;
}
.compositionRow h4 a:hover {
    text-decoration: none;
}
th {
    background-color:#eee;
    font-size:9px;
    padding:5px;
    text-align:left;
    white-space: nowrap;
}
.compositionRow td {
    padding:5px;
    max-width:300px;
}
#compositionResultList .loadMore, #suggestedIngredientsList .loadMore {
    text-align: right;
}
#footerNavi {
    float:left;
}
#footerNavi li {
    list-style: none;
    float:left;
    margin-right:10px;
}
#impressum {
    /* float:right; */
    text-align:right;
}
.errorMessage {
    color: #8d181c;
    font-weight: bold;
}
.floatright {
    float:right;
    text-align:right;
}
.makePublic
{
    line-height: 2em;
    /*    border-top: 1px solid #555;*/
    margin: 5px;
}

.noData {
    padding: 14px;
    color: #666;
}

/* Composition Comments */
#compositionCommentPanelContent {
    min-height: 30px;
}

.comment {
    border-bottom: 1px solid #DDD;
}

.compositionCommentAuthor {
    font-style: italic;
    font-size: 10px;
    margin-bottom: 4px;
}

.compositionComment {
    margin-top:3px;
}

.legal {
    font-size: 10px;
}

.readMore {
    font-size: 10px;
}
#userProfileAvatar {
    float: left;
    padding:14px 7px;
}
#userProfileAvatar img {
    max-width: 140px;
    max-height: 280px;
}
#userProfileBio {
    min-height: 160px;
    margin-left: 154px;
}
#upload_target {
    width:0;
    height:0;
    border:0px solid #fff;
}