/**
 * Copyright (C) 2013-2014 SecurityDam Ltd. All rights reserved.
 *
 * All information contained herein is, and remains the property
 * of SecurityDam Ltd. and its suppliers, if any. The intellectual
 * and technical concepts contained herein are proprietary to
 * SecurityDam Ltd. and its suppliers and may be covered by
 * international Patents, patents in process, and are protected by
 * trade secret or copyright law. Dissemination of this information
 * or reproduction of this material is strictly forbidden unless
 * prior written permission is obtained from SecurityDam Ltd.
 */

body{
    background:#eff3f6;
}
.box
{
    background:#fefefe;
    border: 1px solid #C3D4DB;
    border-top:1px;
    -webkit-border-radius:5px;
    -moz-border-radius:5px;
    border-radius:5px;
    -moz-box-shadow:rgba(0,0,0,0.15) 0 0 1px;
    -webkit-box-shadow:rgba(0,0,0,0.15) 0 0 1px;
    box-shadow:rgba(0,0,0,0.15) 0 0 1px;
    color:#444;
    font:normal 12px/14px Arial, Helvetica, Sans-serif;
    margin:0 auto 30px;
    overflow:hidden;
}
.box.login
{
    /* height:325px;*/  /* removing the height for the form allow it to self resize when an error message is shown*/
    width:332px;
    position:absolute;
    left:50%;
    top:40%;
    margin:-130px 0 0 -166px;
}
.boxBody
{
    background:#fefefe;
    border-top:1px solid #dde0e8;
    border-bottom:1px solid #dde0e8;
    padding:10px 20px;
}
.boxBody label {cursor: default; }

.box footer
{
    background:#eff4f6;
    border-top:1px solid #fff;
    padding:18px 26px;
    overflow:hidden;
    /*height:32px;*/
}
.box label
{
    display:block;
    font:14px/22px Arial, Helvetica, Sans-serif;
    margin:10px 0 0 6px;
}
.box footer label{
    float:left;
    margin:4px 0 0;
}
.box footer input[type=checkbox]{
    vertical-align:middle;
    *vertical-align:middle;
    margin-right:10px;
}
.box input[type=text],
.box input[type=password],
.txtField,
.cjComboBox
{
    border:6px solid #F7F9FA;
    -webkit-border-radius:3px;
    -moz-border-radius:3px;
    border-radius:3px;
    -moz-box-shadow:2px 3px 3px rgba(0, 0, 0, 0.06) inset, 0 0 1px #95a2a7 inset;
    -webkit-box-shadow:2px 3px 3px rgba(0, 0, 0, 0.06) inset, 0 0 1px #95a2a7 inset;
    box-shadow:2px 3px 3px rgba(0, 0, 0, 0.06) inset, 0 0 1px #95a2a7 inset;
    margin:3px 0 4px;
    padding:8px 6px;
    width:270px;
    display:block;
}
.box input[type=text]:focus,
.box input[type=password]:focus,
.txtField:focus,
.cjComboBox:focus
{
    border:6px solid #f0f7fc;
    -moz-box-shadow:2px 3px 3px rgba(0, 0, 0, 0.04) inset, 0 0 1px #0d6db6 inset;
    -webkit-box-shadow:2px 3px 3px rgba(0, 0, 0, 0.04) inset, 0 0 1px #0d6db6 inset;
    box-shadow:2px 3px 3px rgba(0, 0, 0, 0.04) inset, 0 0 1px #0d6db6 inset;
    color:#333;
}
/*used for the logo in the login page*/
.logo {
    width: auto; 
    height:56px; 
    background-repeat:no-repeat;
    background-position: center center;
    padding: 14px 0;
    min-width:240px;
    border-radius: 5px 5px 0 0;
}
.companyLogo {
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}


.cjComboBox
{
    width:294px;
}
.cjComboBox.small
{
    padding:3px 2px 3px 6px;
    width:100px;
    border-width:3px !important;
}
.txtField.small
{
    padding:3px 6px;
    width:200px;
    border-width:3px !important;
}

.rLink{padding:0 6px 0 0; font-size:11px; float:right; cursor: pointer;}
.box a{color:#999;}
.box a:hover, .box a:focus{text-decoration:underline;}
.box a:active{color:#555555;}
.btnLogin
{
    -moz-border-radius:2px;
    -webkit-border-radius:2px;
    border-radius:5px;
    background:#86B94A;
    background:-moz-linear-gradient(top, #9EB780, #86B94A);
    background:-webkit-gradient(linear, left top, left bottom, from(#9EB780), to(#86B94A));
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#9EB780', EndColorStr='#86B94A')";
    border:1px solid #86B94A !important;
    cursor: pointer;
    padding:11px 16px;
    font:bold 11px/14px Verdana, Tahomma, Geneva;
    text-shadow:rgba(0,0,0,0.2) 0 1px 0px;
    color:#fff;
    -moz-box-shadow:inset rgba(255,255,255,0.6) 0 1px 1px, rgba(0,0,0,0.1) 0 1px 1px;
    -webkit-box-shadow:inset rgba(255,255,255,0.6) 0 1px 1px, rgba(0,0,0,0.1) 0 1px 1px;
    box-shadow:inset rgba(255,255,255,0.6) 0 1px 1px, rgba(0,0,0,0.1) 0 1px 1px;
    margin-left:12px;
    float:right;
    padding:7px 21px;
}

.btnLogin:hover,
.btnLogin:focus,
.btnLogin:active{
    background:#86B94A;
    background:-moz-linear-gradient(top, #7CB27C, #49B749);
    background:-webkit-gradient(linear, left top, left bottom, from(#7CB27C), to(#49B749));
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#7CB27C', EndColorStr='#49B749')";
}
.btnLogin:active
{
    text-shadow:rgba(0,0,0,0.3) 0 -1px 0px;
}
footer#main{
    position:fixed;
    left:0;
    bottom:10px;
    text-align:center;
    font:normal 11px/16px Arial, Helvetica, sans-serif;
    width:100%;
}

input::-webkit-input-placeholder { /* WebKit browsers */
    color:    #999;
}
input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color:    #999;
}
input::-moz-placeholder { /* Mozilla Firefox 19+ */
    color:    #999;
}
input:-ms-input-placeholder { /* Internet Explorer 10+ */
    color:    #999;
}

/** Error messages **/
ul.messages { 
	margin: 5px 0;
	padding: 0;
	list-style-type: none;
}

ul.messages .error {
	color: #d0362c;
	background-color: #fff1f0; 
	border: 1px solid #e3c3c0;
	border-radius: 2px;
	padding: 3px;
}

.modal-body .passwordResetMessage{
    color: #008000;
    font-weight: bold;
    margin-top: 30px;
}
.modal-body .passwordResetMessage.resetError{
    color: #d0362c;
}