/*
 * Password Management Servlets (PWM)
 * http://www.pwm-project.org
 *
 * Copyright (c) 2006-2009 Novell, Inc.
 * Copyright (c) 2009-2018 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
 */

#header {
    width: 100%;
    height: 70px;
    margin: 0;
    background-image: none;
    background-color: #BE0F34;
    box-sizing:border-box;
    padding: 0 21%;
    
}

#button-openHeader {
    color: #BE0F34;
}

#header-center {
    width: unset;
    margin: 0;
}

#header-company-logo {
    position: relative;
    float: left;
    background-image: url(stack-full-wordmark-white.png);
    top: 15px;
    width: 150px;
    height: 40px;
    z-index: 1;
}

#header-center-left {
    position: relative;
    float: right;
    clear: right;
}

#header-center-right{
    position: relative;
    top: unset;
    right: unset;
    float: right;
    margin-top: 9px;
}

#HomeButton span.btn-icon, #LogoutButton span.btn-icon, #header-username-caret span.m-icon {
    font: 20px FontAwesome;
    margin-right: 0px;
    color: #666768;
}

.header-button {
    color: #666768;
}

.tile {
    width: 165px;
    height: 165px;
    border: solid 2px lightgrey;
}

.tile:hover {border: 2px solid #BE0F34;}
.tile-image {color: #666768;}

#centerbody {
    background-color: #eeeeee;
    padding: 10px 10px 40px 10px;
    border-radius: 0;
    margin-top: 0;
    animation: fadein 2s;
    -moz-animation: fadein 2s;
    -webkit-animation: fadein 2s;
    width: unset;
    max-width: 1120px;
}

#centerbody.wide {
    width: 90%;
    margin-left: auto;
}

a:hover {
    color: #be0f34;
}

#footer {
    margin-top: 50px;
    margin-left: 30px;
    text-align: right;
}

#centerbody > * {
	max-width: 98%;	
	margin-left: auto;
	margin-right: auto;
}

.message {
	background-color: transparent !important;
	border: 1px dotted #BE0F34;
}

.message-info {
    background-color: #ffffff;
    color: black;
}

.message-error {
	color: #BE0F34;
	font-weight: 700;
	font-size: 14px;
}

.message-success {
    background-color: #0000ff;
    color: black;
}


.btn {
    border-style:none;
    padding: 3px 11px;
    margin: 9px 7px;
    text-decoration: none;
    color: white;
    background-color: #be0f34;
    cursor: pointer;
}.btn:disabled {
     color: #656565;
}

@keyframes fadein { from { opacity:0; } to { opacity:1; } }
@-moz-keyframes fadein { from { opacity:0 } to { opacity:1 } }
@-webkit-keyframes fadein { from { opacity:0 } to { opacity:1 } }


#header-menu-icon {
  display: inline-block;
}

.tab-container > .label:hover {
    color: #ff0000;
    border-top-color: #ff0000;
    border-left-color: #ff0000;
    border-right-color: #ff0000;
}

#centerbody.tile-centerbody {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}
#centerbody.tile-centerbody > a {
    display: inline-block;
    margin: unset;
}

.home-announcement {
    font-size: 1.5em;
}
.home-tile-container .tile {
    box-sizing: border-box;
    margin-bottom: 5;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
}
.home-tile-container{
    position: relative;
    float: left;
    background: #fff;
    width: 165px;
    overflow: hidden;
    z-index: 600;
    font-weight: normal;
}
.home-needhelp {
    text-align: center;
    display: inline-block;
    text-decoration : none;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 0;
    background-color:#ccc
}
.home-needhelp:hover {
    background-color: #be0f34;
    color: #fff;
}
.home-push {
    margin-top: 50px;
    display: block;
    clear: both;
}

@media (max-width: 1120px){
    #header {
        padding: 0 20px;
    }
}
@media only screen and (max-width:980px) {
    .home-tile-container{
        padding: 5px 10px;
    }
}

@media only screen and (max-width:720px) {
    body {
        min-width: unset !important;
    }
    .pwm-form .inputfield {
        width: 100% !important;
        box-sizing: border-box;
    }
    
    #footer {
        max-width: 100%;
        box-sizing: border-box;
        margin-left: 0;
        padding-left: 30px;
    }
    #footer-content {
        position: relative;
    }
    .sign-in {
        margin: 0;
    }
    #login .buttonbar #submitBtn {
        width: 100%;
        font-size: 1.5em;
    }
    .pwm-form .btn, #button-sendReset.btn{
        width: 100%;
        margin: 5px 0;
        font-size: 1.5em;
    }

    #searchForm .btn {
        width: 40%;
        font-size: 1.5em;
        margin: 0 4.5%;
    }
    .pwm-form .inputfield, .pwm-form-captcha .inputfield{
        margin: 0;
        margin-right: 0px;
        padding: 6px;
        width: 100% !important;
        margin-right: 8px;
        font-size: 15px;
        box-sizing: border-box;
    }
}
@media only screen and (max-width:400px) {
    #header-company-logo {
        margin: 0 auto;
        float: unset;
    }
    #header-center {
        display: none;
    }
}