/* Some general styles:
// TODO: adjust when too general.
-----------------------------------------------------------*/
body {
    margin: 0;
}
form {
    margin: 0;
    padding: 0;
}

/* Framing styles for master page:
-----------------------------------------------------------*/
.header {
    background-color: #B51032;
}
.footer {
    background-color: #B51032;
}
.content {
    padding: 0 .3em;
}
.base-frame {
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Styles for master page header and toprow:
-----------------------------------------------------------*/
.app-icon img {
    float: left;
    vertical-align: middle;
    padding: .5em;
}
.app-title {
    clear: right;
    color: White;
    font-size: 2em;
    /* min-height set to make sure to display the app-icon correctly. */
    min-height: 50px;
}
span.app-top-row {
    float: right;
    margin-right: .8em;
    margin-top: 0.2em;
}
/* Form tag is used for input type submit action-button. Make sure they are shown on the same row. */
.app-top-row form {
    display: inline;
}

/* Styles for master page footer:
-----------------------------------------------------------*/
.footer-text {
    color: White;
    background-color: #B51032;
    text-align: center;
}

/* Styles for master page message and error:
-----------------------------------------------------------*/
.temp-message {
    font-weight: normal;
    color: black;
}
.temp-error {
    font-weight: bold;
    color: red;
}
.temp-message, .temp-error {
    background-color: #FFC;
    padding: .2em;
}

/* Styles for action buttons (links and inputs).
-----------------------------------------------------------*/
.action-button A, .action-button input {
    font-size: .8em;
    font-weight: bold;
    color: White;
    background-color: #711515;
    margin: 0 .5em 0 .5em;
    padding: .1em .4em .1em .4em;
    border: 1px solid black;
    cursor:pointer;
}
.action-button A {
    text-decoration: none;
}
.action-button A:hover, .action-button input:hover {
    color: White;
    background-color: #B51032;
}
/* Styles for page numbers.
-----------------------------------------------------------*/
.pager {
    font-size: 1.1em;
    font-weight: bold;
    text-align:right;
    border-top: 2px solid silver;
    padding: .5em 0 0 0;
    margin-top: 1em;
}
.pager A {
    color: Black;
    text-decoration: none;
    padding: 0 .4em 0 .4em;
}
.pager A:hover {
    color: Black;
    background-color: #ED9F9F;
}
.pager A.selected {
    color: White;
    background-color: #711515;
}

/* Styles for Windows Live SignIn/Out control.
-----------------------------------------------------------*/
.liveid-logon A, .liveid-logon A:hover {
    /* Override .action-button settings: */
    background-color: transparent;
    margin: 0;
    padding: 0;
    border: none;
}
.liveid-logon img {
    border: none;
    vertical-align: top;
}

/* Style to re-align text after right/left floated images: */
.clear-float {
    clear: both;
}

/* Styles for link and arrow to top: */
.top-link {
    float: right;
}
.top-link a {
    text-decoration: none;
}
.top-link a:link img, .top-link a:visited img {
    border: 0;
}
