/*
 *************************************************************************
 * The contents of this file are subject to the Openbravo  Public  License
 * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
 * Version 1.1  with a permitted attribution clause; you may not  use this
 * file except in compliance with the License. You  may  obtain  a copy of
 * the License at http://www.openbravo.com/legal/license.html
 * Software distributed under the License  is  distributed  on  an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
 * License for the specific  language  governing  rights  and  limitations
 * under the License.
 * The Original Code is Openbravo ERP.
 * The Initial Developer of the Original Code is Openbravo SLU
 * All portions are Copyright (C) 2017-2025 Openbravo SLU
 * All Rights Reserved.
 * Contributor(s):  ______________________________________.
 ************************************************************************
*/

@import url(./Openbravo_ERP_250.css);

* {margin: 0px; padding: 0px;}

body {
  margin-top: 0px;
  overflow: auto;
}

/*
 *************************************************************************
 * HTML5 CSS hacks
 *************************************************************************
*/

input {
  box-shadow: none;
}

input:-moz-ui-valid {
  box-shadow: none;
}

input:-moz-ui-invalid {
  box-shadow: none;
}

/*
 *************************
 * Button
 *************************
*/

.Button_width {
  min-width: 32px;
}


/*
 *************************
 * TextBox
 *************************
*/

/*
 *************************
 * Label
 *************************
*/


/*
 *************************************************************************
 * Login window specific CSS
 *************************************************************************
*/

.Login_Img_Link img {
  border: 0;
}

.Login_Main {
  background: none;
  background-color: #F6F6F7;
  width: 100%;
  height: 100%;
}

.Login_Container {
  background: url(../../Default/Login/Login-bgLogo.png) no-repeat 0 89px;
  width: 770px;
  padding-top: calc(28vh - 100px);
  position: absolute;
  top: 0;
  left: 50%; /*~RTL   right: 50%; */
  margin-left: -375px; /*~RTL   margin-right: -395px; */
}

.Login_LogForm {
  background-color: white;
  box-shadow: 0rem .1rem .3rem .1rem color-mix(in srgb, #121212 15%, transparent), 0rem .1rem .2rem 0rem color-mix(in srgb, #121212 30%, transparent);
  left: 162px;
  position: absolute;
  top: calc(28vh - 100px);
  border: none;
  height: 360px;
  margin: 0 auto;
  width: 440px;
  z-index: 99;
  border-radius: var(--obuiapp-shape-border-radius);
}

.Login_LogForm dl {
  padding-left: 80px; /*~RTL   padding-right: 80px; */
  position: relative;
}

.Login_LogForm dt {
  margin-bottom: .2em;
}

.Login_LogForm dd {
  margin-bottom: 1em;
}

.Login_LogForm_CompanyLogo_Container {
  height: 115px;
  text-align: center;
}

.Login_LogForm_CompanyLogo {
  padding-top: 25px;
}

.Login_LogForm_Input_Container {
  height: 162px;
}

.Login_LogForm_Button_Container {
  text-align: center;
  height: 83px;
}

.Login_LogForm_Button {
  margin-top: 10px;
}

.Login_TopLogos_Container_Support {
  position: relative;
  padding-top: 290px;
  text-align: center;
  width: 100%;
}

.Login_TopLogos_Container_None {
  position: relative;
  padding-top: 366px;
  text-align: center;
  width: 100%;
}

.Login_TopLogos_Container_Support .Login_TopLogos_SupportLogo_Container {
  left: 616px;
}

.Login_TopLogos_Container_None .Login_TopLogos_SupportLogo_Container {
  display: none;
}

.Login_TopLogos_SupportLogo_Container {
  width: 260px;
  position: relative;
  float: left;
}

.Login_TopLogos_SupportLogo_Text {
  text-align: center;
  margin-bottom: 5px;
}

.Login_TopLogos_SupportLogo_Logo_Container {
  text-align: center;
}

.Login_BottomLogos_Container {
  position: relative;
  clear: left;
  padding-top: 10px;
  left: 255px; /*~RTL   right: 255px; */
  width: fit-content;
}

.Login_BottomLogos_Openbravo_Logo_Container {
  position: relative;
  height: 70px;
}

.Login_BottomLogos_CopyrightText_Container {
  position: relative;
  clear: left;
  padding-top: 5px;
  background-color: transparent;
}

.Login_BottomLogos_CopyrightText {
  display: block;
  color: #afafaf;
  font-size: var(--obuiapp-type-s-font-size);
  line-height: 0.9em;
  text-align: center;
}


.Login_ErrorMsg_Container {
  position: absolute;
  overflow: auto;
  height: 66px;
  bottom: 0;
  left: 80px; /*~RTL   right: 80px; */
  margin-bottom: 62px;
  margin-right: 64px; /*~RTL   margin-left: 64px; */
}

.Login_ErrorMsg_Title {
  color: red !important;
  font-weight: bold;
  font-size: var(--obuiapp-type-s-font-size);
}

.Login_ErrorMsg_Content {
  color: red !important;
  font-weight: normal;
  font-size: var(--obuiapp-type-s-font-size);
}

.Login_TextBox,
.Login_TextBox_focus {
  width: 280px;
  height: 32px;
  padding-top: 2px;
}

.Login_Home_Logo_Icon {
  display: block;
  margin: auto;
  padding: 50px 0px 0px 0px;
  width: 520px;
  height: 120px;
  background: url(../../../../../utility/ShowImageLogo?logo=companylogo) no-repeat center center;
}

.error-text {
  margin: 0 auto;
  padding: 50px 0px 0px 0px;
  text-align: center;
  font-family: var(--obuiapp-type-font-family);
  font-size: 28px;
  color: red;
}

@media all and (max-width: 650px) {
  .Login_Home_Logo_Icon {
    padding: 7.5vw 0px 0px 0px;
    width: 82%;
  }

  .error-text {
    padding: 7.5vw 0px 0px 0px;
    font-size: 4.3vw;
  }
}

/*
 *************************************************************************
 * Logos
 *************************************************************************
*/

.Login_Logo_Openbravo {
  width: 260px;
  height: 70px;
  background: url(../../../../images/openbravoLogo.svg) no-repeat center center;
}

.Login_Logo_Company {
  width: 197px;
  height: 55px;
  background: url(../../../../../utility/ShowImageLogo?logo=companylogo) no-repeat center center;
  background-size: contain;
}

.Login_Logo_Support {
  width: 197px;
  height: 55px;
  background: url(../../../../../utility/ShowImageLogo?logo=youritservicelogin) no-repeat center center;
}

/*
 *************************************************************************
 * Authentication Provider Buttons
 *************************************************************************
*/

.signInButton {
  display: inline-block;
  color: white;
  width: 24px;
  border-radius: 2px;
  white-space: nowrap;
  border: 1px solid #d9d9d9;
  transition: opacity 0.3s ease;
}
.signInButton:hover,
.signInButton:active {
  border-color: #c0c0c0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
  cursor: hand;
}
.signInButton:hover {
  opacity: 0.7;
}
.signInButton > span {
  display: inline-block;
  height: 24px;
  width: 24px;
  margin-top: -1px;
  vertical-align: middle;
}
