/* (c) Metaswitch Networks. All rights reserved. */
/* Portions (c) Microsoft Corporation. All rights reserved. */
/* Highly Confidential Material */

/* This styling is to make a hidden submit button so that the Enter works as expected. */
/* Note that simply making the button invisible with a display:none stops IE processing the Enter key. */

div.hideSubmit
{
  border: none;
  width: 0px;
  height: 0px;
  overflow: hidden;
}

#loginForm
{
  width: 380px;
  margin-top: 60px;
  margin-left:auto;
  margin-right:auto;
  padding:15px;
  border-radius: 4px;
  box-shadow: 0 3px 3px rgba(124, 124, 124, 0.37);
  overflow: hidden;
}

#loginForm h4
{
  margin-top: 0px;
}

div.headerBox
{
  margin-top:0;
}

.marginText div
{
  margin-bottom: 20px;
}

#loginForm #loginRememberMe,
#loginForm #allowCookies
{
  display: none;
}

#loginForm #loginRememberMe p,
#loginForm #allowCookies p
{
  margin: 5px 0;
}

#loginForm #loginSubmit
{
  margin: 10px 0;
}

#loginForm.rememberMe #loginSubmit,
#loginForm.resetPassword #loginSubmit
{
  margin: 0;
}

#loginForm.rememberMe #loginRememberMe
{
  display: block;
}

#loginForm.allowCookies #allowCookies
{
  display: block;
}

#loginForm.resetPassword #forgottenPassword,
#loginForm #resetPassword
{
  display: none;
}

#loginForm.resetPassword #resetPassword
{
  display: block;
}

ul#allowList
{
  list-style-type: disc;
  margin-left: 19px;
}

div#allowStorageConfirmation li
{
  margin-bottom:6px;
}


#loginBrowser
{
  text-align: center;
  margin-top: 120px;
}

#scriptDisabled
{
  margin-top: 30px;
  text-align: center;
  color:red;
}

#loginError
{
  text-align:center;
  color:red;
}

div#adminAsLineSessionExpiredWarning,
div#phoneProfileSessionExpiredWarning,
div#catSessionExpiredWarning,
div#catAgentDashboardSessionExpiredWarning
{
  padding-top: 40px;
  text-align:center;
  font-size: 16px;
  color:red;
}

#loginError p
{
  display:none;
}

div#loginToUseText
{
  display: none;
}

/* This item is hidden if behaviors are enabled (since the filter line is
   understood, but if these are disabled, then the text protected by this
   class will be visible to the user.  Note that for the filter to have any
   effect, the item must have layout - which is achieved by giving the item
   a height */
.isIE .hideIfBehaviorsEnabled
{
  height: 20px;
  filter:alpha(opacity=0);
}

.isIE #behaviorRequired
{
  margin-top: 10px;
  text-align:center;
}

/* Tweaks to apply to CSS if we detect that the login page is running within
  Microsoft Teams. */
#bodyLogin.isMSTeams #loginForm
{
  margin-top: 10px;
}

#bodyLogin.isMSTeams #loginForm.resetPassword #forgottenPassword,
#bodyLogin.isMSTeams #loginForm #resetPassword
{
  display: none;
}
