/*
 * Password Management Servlets (PWM)
 * http://code.google.com/p/pwm/
 *
 * Copyright (c) 2006-2009 Novell, Inc.
 * Copyright (c) 2009-2012 The PWM Project
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

html, body {
    font-family: Arial, Helvetica, sans-serif;
    color: #333333;
    font-size: 12px;
    height: 100%;
    margin: 0
}

a {
    color: #2D2D2D;
    text-decoration: underline;
    font-weight: bold
}

p {
    max-width: 100%;
    color: #2D2D2D;
    position: relative;
    margin-left: auto;
    margin-right: auto
}

hr {
    float: none;
    width: 100%;
    position: relative;
    margin-left: 5px;
    margin-top: 30px;
    margin-bottom: 30px;
}

h1 {
    font-size: 16px;
}

h2 {
    font-size: 14px;
}

h3 {
    font-size: 12px;
}

select {
    font-family: Trebuchet MS, sans-serif;
    width: 80%
}

#form {
    border-radius: 3px;
    -moz-border-radius: 3px;
    border-collapse: separate;
}

table {
    border-collapse: collapse;
    border: 2px solid #D4D4D4;
    width: 100%;
    margin-left: auto;
    margin-right: auto
}

table td {
    border: 1px solid #D4D4D4;
    padding-left: 5px;
}

table td.title {
    text-align: center;
    font-weight: bold;
    font-size: 150%;
    padding-right: 10px;
    background-color: #DDDDDD
}

table td.key {
    text-align: right;
    font-weight: bold;
    padding-right: 10px;
    width: 40%;
}

.health-GOOD {
    white-space:nowrap;
    background-color: #8ced3f;
    text-align: center;
}

.health-CAUTION {
    white-space:nowrap;
    background-color: #ffcd59;
    text-align: center;
}

.health-CONFIG {
    white-space:nowrap;
    background-color: #ecd5d5;
    text-align: center;
}

.health-WARN {
    white-space:nowrap;
    background-color: #d20734;
    text-align: center;
}

.health-UNKNOWN {
    white-space:nowrap;
    background-color: red;
    text-align: center;
}

.inputfield {
    width: 60%;
    margin: 5px;
    height: 18px;
}

.changepasswordfield {
    width: 90%;
}

.menubutton {
    padding: 4px;
    white-space: nowrap;
    border-radius: 3px;
    padding-right: 11px;
    padding-left: 11px;
    margin-right: 10px;
    margin-top: 10px;
    margin-left: 0;
    text-decoration: none;
    color: black;
    background: #E8E1F6;
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #E8E1F6), color-stop(1, #B2B1B9) );
    background:-moz-linear-gradient( center top, #E8E1F6 5%, #B2B1B9 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#E8E1F6', endColorstr='#B2B1B9');
 }

/* main body wrapper, all elements (except footer) should be within wrapper */
#wrapper {
    width: 100%;
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0;
}

/* main content section, all content should be inside a centerbody div */
#centerbody {
    width: 600px;
    min-width: 600px;
    padding: 0;
    position: relative;;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    clear: both;
    padding-bottom: 60px;
}

/* all forms use a buttonbar div containing the action buttons */
#buttonbar {
    margin-top: 30px;
    width: 100%;
    margin-bottom: 15px;
    text-align: center
}

.btn {
    font-family: Trebuchet MS, sans-serif;
    border-style:none;
    border-radius: 5px;
    padding: 3px;
    padding: 3px;
    padding-right: 11px;
    padding-left: 11px;
    margin: 9px;
    margin-right: 7px;
    margin-left: 7px;
    text-decoration: none;
    color: white;
    background: #3e374c;
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #3e374c), color-stop(1, #08070f) );
    background:-moz-linear-gradient( center top, #3e374c 5%, #08070f 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#3e374c', endColorstr='#08070f');
}.btn:hover {
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #08070f), color-stop(1, #3e374c) );
    background:-moz-linear-gradient( center top, #08070f 5%, #3e374c 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#08070f', endColorstr='#3e374c');
}.btn:disabled {
    color: #656565;
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #4f485d), color-stop(1, #191820) );
    background:-moz-linear-gradient( center top, #4f485d 5%, #191820 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#4f485d', endColorstr='#191820');
}


#LogoutButton {
    height: 26px;
    width: 26px;
    border-width: 0;
    display: block;
    background-image: url('logout.png');
}

#WaitDialogBlank {
    height: 46px;
    width: 46px;
    margin-left: auto;
    margin-right: auto;
    background-image: url('wait.gif');
}

/* used for password complexity meter */
div.progress-container {
    border: 1px solid #ccc;
    width: 90px;
    margin: 2px 5px 2px 0;
    padding: 1px;
    float: left;
    background: white;
}

div.progress-container > div {
    background-color: #ffffff;
    height: 10px;
}

/* header stuff */
#header {
    width: 100%;
    height: 70px;
    margin: 0;
    background-image: url('header-gradient.gif');
    z-index: 5;
    position: relative;
}

#header-page {
    width: 600px;
    padding-top: 9px;
    margin-left: auto;
    margin-right: auto;
    font-family: Trebuchet MS, sans-serif;
    font-size: 22px;
    color: #FFFFFF;
}

#header-title {
    width: 600px;
    margin: auto;
    font-family: Trebuchet MS, sans-serif;
    font-size: 14px;
    color: #FFFFFF;
}

#header-warning {
    width: 100%;
    background-color: #FFDC8B;
    text-align: center;
    padding-top: 4px;
    padding-bottom: 4px
}

.clear {
    clear: both;
}

.message {
    display: block;
    padding: 6px;
    width: 90%;
    background-color: inherit;
    border-radius: 3px;
}

.message-info {
    background-color: #DDDDDD;
}

.message-error {
    background-color: #FFCD59;
}

.message-success {
    background-color: #EFEFEF;
}

#footer {
    position: relative;;
    text-align: center;
    bottom: 0;
    width: 100%;
    color: #555555;
    font-size: 11px;
    height: 60px;
    margin: 0;
    margin-top: -60px
}

#footer .infotext {
    font-family: Arial, Helvetica, sans-serif;
    color: #333333;
    font-size: 12px;
    padding-bottom: 10px;
}

#capslockwarning {
    width: 60%;
    padding: 0;
    position: relative;;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: #ffffff;
    font-weight: bold;
    font-variant: small-caps;
    margin-top: 2px;
    margin-bottom: 2px;
    background-color: #d20734;
    border-radius: 3px;
}


#dialogPopup_underlay {
    background-color: #222222;
}

#idleDialog_underlay {
    background-color: #111111;
}

#TopMenu {
    width:620px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    clear: both;
}

.agreementText {
    border: 0;
    background-color: #DDDDDD;
    border-radius: 7px;
    padding: 10px;
    max-height: 300px;
    overflow: auto;
    font-family: monospace;
}
