/* -------------------------------------------------------------- 

    general.css
    * Generic rules used everywhere.

-------------------------------------------------------------- */


/* Elements ================================================ */

a {
    color: #d5b2a1;
    outline: none;
    text-decoration: underline;
}
a:hover,
a:active {
    color: white;
}


/* Display classes ================================================ */

/* Floating */
.left {
    float: left;
    display: inline; /* avoid IE double-margin */
}
.right {
    float: right;
    display: inline; /* avoid IE double-margin */
}

/* Clearing floats [http://www.positioniseverything.net/easyclearing.html] */
.clearfix:after {
    clear: both;
    visibility: hidden;
    overflow: hidden;
    display: block;
    height: 0;
    content: "\0020";

}
.clearfix {
    position: relative;
    display: inline-block;
}
html[xmlns] .clearfix {
    display: block;
}
* html .clearfix {
    height: 1%;
}

/* Hiding */
.hide,
.js .hide-js {
    display: none;
}


/* Decoration elements ================================================ */

.bg-l,
.bg-r,
.button-left,
.button-right,
.button-tl,
.button-tr,
.button-bl,
.button-br {
    overflow: hidden;
    position: absolute;
    top: 0;
    background-repeat: no-repeat;
}
.button-bl,
.button-br {
    bottom: 0;
}
.button-left,
.button-tl,
.button-bl {
    left: 0;
}
.button-right,
.button-tr,
.button-br {
    right: 0;
}


/* Buttons ================================================ */

/* General rules */
.reset .button {
    position: relative;
    float: left;
    display: inline;
    line-height: 22px;
    cursor: pointer;
}
a.button,
a.button:hover {
    text-decoration: none;
}
.button .button-text {
    overflow: hidden;
    float: left;
    display: inline;
    margin: 0 5px;
    padding: 0 5px;
    text-align: center;
    background-repeat: repeat-x;
}
.button .button-left,
.button .button-right {
    height: 22px;
    width: 5px;
}
.button .button-tl,
.button .button-tr {
    height: 5px;
    width: 5px;
}
.button .button-bl,
.button .button-br {
    top: 5px;
    width: 5px;
}
.ie6-down .button .button-bl,
.ie6-down .button .button-br {
    top: auto;
    height: expression(this.parentNode.offsetHeight-5+'px');
}

/* Link button */
.reset a.button {
    font-size: 11px;
    line-height: 16px;
}
a.button span {
    background-image: url(../../images/fl/button_link.png);
}
.ie6-down a.button span {
    background-image: url(../../images/fl/button_link_ie.png);
}
a.button .button-text {
    padding: 3px 15px;
    color: white;
    background-color: #901515;
    background-position: -5px bottom;
}
a.button .button-tl {
    background-position: left top;
}
a.button .button-tr {
    background-position: right top;
}
a.button .button-bl {
    background-position: left bottom;
}
a.button .button-br {
    background-position: right bottom;
}

/* Form button */
.reset label.button {
    font-size: 13px;
}
label.button span {
    background-image: url(../../images/fl/button_form.png);
}
.ie6-down label.button span {
    background-image: url(../../images/fl/button_form_ie.png);
}
label .button-text {
    color: #4b3429;
    background-color: white;
}
label .button-left {
    background-position: 0 -22px;
}
label .button-right {
    background-position: -5px -22px;
}
label:hover .button-text,
label.hover .button-text {
    color: white;
    background-position: 0 -44px;
}
label:hover .button-left,
label.hover .button-left {
    background-position: 0 -66px;
}
label:hover .button-right,
label.hover .button-right {
    background-position: -5px -66px;
}

/* Force submit button behavior by layering it transparently over the button */
label.button input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    opacity: 0;
    filter: alpha(opacity=0);
    cursor: pointer;
}
.ie6 label.button input {
    width: expression(this.parentNode.offsetWidth+'px');
}

