/*
 * 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
 */

@import url("button.css");
@import url("fonts.css");

/* apply a natural box layout model to all elements */ 
* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

/* ##############  General  ################# */
html, body {
  font-family: georgia, serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
    background-color: #f5f5f5;
    color: #666;
    font-size: 100%;
    height: 100%;
    margin: 0;
}

a {
    color: #0044AA;
    text-decoration: none;
    font-weight: bold;
}

a:hover, a:active, a:focus {
    text-decoration: underline;
}

a.menubutton:hover, a.menubutton:active, a.menubutton:focus {
    text-decoration: none;
}

p {
    color: #666;
    font-family: georgia,serif;
    font-size: 100%;
    line-height: 1.375;
    margin-left: auto;
    margin-right: auto;
}

hr {
    float: none;
    width: 100%;
    position: relative;
    margin-left: 5px;
    margin-top: 30px;
    margin-bottom: 30px;
}

h1, h2, h3, .formFieldLabel {
    color: #001158;
    font-family: vestula,arial,sans-serif;
    font-weight: bold;
    margin: 0;
}

h1, h2, .formFieldLabel {
    color: #990000;
    font-size: 1.25rem;
    line-height: 1.375;
    margin-top: 0.6875rem;
}

h3 {
    font-size: 1.125rem;
    line-height: 1.22222;
    margin-top: 0.6875rem;
}

select {
    font-family: sans-serif;
    width: 80%;
}

#form {
    border-radius: 3px;
    -moz-border-radius: 3px;
    border-collapse: separate;
}

/* Hide hidden cancel form */
#form-hidden-cancel {
	display: none;
}

table {
    border-collapse: collapse;
    border: 1px solid #D4D4D4;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

table td {
    border: 1px dotted #ccc;
    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 check  ################# */
.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;
}

/* ##############  Input elements  ################# */

.inputfield, .changepasswordfield {
    font-size: 100%;
    height: auto;
    padding: 5px;
    margin: 5px;
    text-shadow: 0px 1px 0px #fff;  
    outline: none;  
    background: -webkit-gradient(linear, left top, left bottombottom, from(#FAFAFA), to(#FFFFFF));
    background: -webkit-linear-gradient(top, #FAFAFA, #FFFFFF);
    background: -moz-linear-gradient(top,  #FAFAFA,  #FFFFFF);
    background: -ms-linear-gradient(top,  #FAFAFA,  #FFFFFF);
    background: -o-linear-gradient(top,  #FAFAFA,  #FFFFFF);
    background: linear-gradient(top,  #FAFAFA,  #FFFFFF);
    -webkit-border-radius: 5px;  
    -moz-border-radius: 5px;  
    border-radius: 5px;  
    border: 1px solid #CCCCCC; 
    -webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition:border linear .2s, box-shadow linear .2s;
    -moz-transition:border linear .2s, box-shadow linear .2s;
    -o-transition:border linear .2s, box-shadow linear .2s;
    transition:border linear .2s, box-shadow linear .2s;
} 

.inputfield:focus, .changepasswordfield:focus {
    background: #FFFFFF;
    border-color:rgba(82, 168, 236, 0.8);
    outline: 0;
    outline: thin dotted transparent \9;
    -webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);
    -moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);
    box-shadow:inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);
}  

.inputfield[disabled], .inputfield[disabled]:hover {
    background: #eaeaea;
    text-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.inputfield {
    width: 65%;
}

#token {
    width: 65% !important;
    height: 3.5rem !important;
    overflow:hidden !important;
}


.changepasswordfield {
    width: 90%;
}

/* ##############  Global DIV's  ################# */
#wrapper {
    position: relative;
    width: 100%;
    height: auto !important;
    margin: 0 auto -40px;
    min-height: 100%;
}

#centerbody {
    background-color: #FFFFFF;
    zoom: 1;
    -moz-box-shadow: 0 0 5px 1px rgba(120, 110, 100, 0.3);
    -webkit-box-shadow: 0 0 5px 1px rgba(120, 110, 100, 0.3);
    box-shadow: 0 0 5px 1px rgba(120, 110, 100, 0.3);
    width: 90%;
    max-width: 1024px;
    padding: 15px;
    margin: 30px auto;
    position: relative;
    clear: both;
    behavior: url("/account/public/resources/themes/LU-theme/pie/PIE.htc");
}

#centerbody.tile-centerbody {
    background-color: #f5f5f5;
    margin-top: 0;
    margin-bottom: 0;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* ##############  Menu tiles  ################# */
.tile {
    background-color: #FFFFFF;
    zoom: 1;
    -moz-box-shadow: 0 0 5px 1px rgba(120, 110, 100, 0.3);
    -webkit-box-shadow: 0 0 5px 1px rgba(120, 110, 100, 0.3);
    box-shadow: 0 0 5px 1px rgba(120, 110, 100, 0.3);
    position: relative;
    clear: both;
    behavior: url("/account/public/resources/themes/LU-theme/pie/PIE.htc");
    min-height: 200px;
    min-width: 175px;
    border: none;
    border-radius: unset;
}

.tile:hover, .tile:active, .tile:focus {
    background-color: #f5f5f5;
    border: 1px solid 001158;
}

.tile-title {
    color: #333;
    font-family: vestula,arial,sans-serif;
    font-weight: bold;
    font-size: 1.125rem;
    line-height: 1.22222;
    margin-bottom: 0.575rem;
}

.tile-image {
    color: #001158;
}

.tile:hover > .tile-content > .tile-image, .tile:active > .tile-content > .tile-image, .tile:focus > .tile-content > .tile-image {
    color: #7f88ab;
}

.tile-subtitle {
    color: #666;
    font-size: 0.9rem;
}

/* ##############  Header  ################# */
#header {
    width: 100%;
    height: 154px;
    margin: 0;
    background-color: #ffffff;
    background-image: none;
    border-bottom: 40px solid #001158;
    z-index: 5;
    position: relative;
}

#header-page {
    padding-top: 15px;
    margin-left: auto;
    margin-right: auto;
    color: #333;
    font-family: vestula,arial,sans-serif;
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.03125;
    margin: 0 0 0.875rem;
}

#header-title {
    color: #b27f2b;
    font-family: vestula,arial,sans-serif;
    font-size: 1.3125rem;
    line-height: 1.30952;
    margin: 0 0 1.375rem;
}

#header-center {
    width: 100%;
    text-align: center;
}

#header-center-left {
    float: none;
    max-width: none;
    margin-right: 150px;
}

#header-center-right {
   margin-right: 10px;
}

#header-menu-wrapper {
    margin-right: 0;
    text-align: right;
}

#header-warning {
    width: 100%;
    background-color: #FFDC8B;
    text-align: center;
    padding-top: 4px;
    padding-bottom: 4px;
}

#header-company-logo {
    position: relative;
    float: left;
    background-image: url("../images/zegel.png");
    background-size: 151px 64px;
    top: 0px;
    left: 10px;
    width: 151px;
    height: 64px;
    margin: 25px 0;
    z-index: 1;
}

#header-username-group {
    color: #666;    
}

#header-username-group:hover, #header-username-group:active, #header-username-group:focus {
    color: #b27f2b;
}

#buttonbar {
    margin-top: 30px;
    width: 100%;
    margin-bottom: 15px;
    text-align: center;
}

#header-menu {
  margin: 0 0 0.875rem;
}

.header-button {
    background-color: #001158;
    color: #ffffff;
}

.header-button:hover, .header-button:active, .header-button:focus {
    background-color: #7f88ab;
    color: #ffffff;
}

#HomeButton span.pwm-icon, #LogoutButton span.pwm-icon, #header-username-caret span.pwm-icon {
    font: 1.8rem FontAwesome;
    margin-right: 0;
}

.clear {
    clear: both;
}

/* ##############  Ajax message feedback  ################# */
.message {
    display: block;
    padding: 6px;
    width: 90%;
    background-color: #EEEEEE;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.message-info {
    background-color: #B6CCDB;
}

.message-error {
    background-color: #FFCCCC;
}

.message-success {
    background-color: #9ecc59;
}

/* ##############  Footer  ################# */
#footer {
    background-color: #001158;
    border-top: 3px solid #DBDBDB;
    color: #FFFFFF; /* <= IE8 fallback */
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    text-align: center;
    width: 100%;
    font-size: 0.8rem;
}

#footer-content {
    position: absolute;
    bottom: auto;
    top:50%;
    height:14px; margin-top:-10px;
}

.push, #footer {
    height: 40px; /* .push must be the same height as #footer + border */
}

#footer .infotext {
    font-family: Georgia, sans-serif;
    font-size: 1.125rem;
    line-height: 15px;
    color: #FFFFFF;
    padding-right: 40px;
    position: absolute;
    right: 0;
    top: 25%;
}

@media only screen and (max-width: 900px) {
    #footer .infotext {
        display: none;
    }
}

#capslockwarning {
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 101;
    height: 5rem;
    text-align: center;
    padding: 0;
    position: fixed;
    margin-left: auto;
    margin-right: auto;
    color: #FFFFFF;
    font-weight: bold;
    font-variant: small-caps;
    margin-top: 2px;
    margin-bottom: 2px;
    background-color: #d20734;
    border-radius: 3px;
}

.agreementText {
    border: 0;
    background-color: #DDDDDD;
    border-radius: 7px;
    padding: 10px;
    max-height: 300px;
    overflow: auto;
    font-family: monospace;
}

#localeSelectionMenu {
    cursor: pointer;
}

.dijitHidden {
    position: absolute;
    visibility: hidden;
    display: none;
}

.grecaptcha-badge {
    bottom: 50px !important;
}

#setupOtpSecret > div[style*="text-align: center"] {
    text-align: left !important;
}

#html5Dialog {
  top: 164px;
}

