/**************************************************************************
 Style Sheet
 login.css file used to format the opening login screen only.
***************************************************************************/
body {
    margin: 0;
    padding: 0;
}

#disclaimerContainer {
    width: 100%;
    box-sizing: border-box;
    background-color: #CFE2F2;
    color: #0D3D68;
    padding: 12px;
    text-align: left;
    font-size: 14px;
    border: 1px solid #205A8D;
    border-radius: 4px;
    margin-top: 24px;
}

#disclaimerContainer p {
    font-size: 14px;
}

.hidden {
  display: none;
}

.splitPage {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.leftSide {
    display: flex;
    width: 50%; height: 100%;
    background: url(building-interior-floors.jpg) no-repeat 0 0;
    background-size: cover;
    background-position: center;
}

.rightSide {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%; height: 100%;
    overflow: auto;
}

.loginContainer {
    display: flex;
    width: auto;
    margin: auto;
    padding: 24px 0px;
}

.loginWrapper {
    width: 600px;
    max-width: 600px;
    min-width: 320px;
}

.loginDialog {
	position: relative;
	height: auto;
    background: #fff;
    border-radius: 6px;
    padding: 0px 32px 16px;
}

#loginTop {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 48px;
}

#signin_label {
    font-size: 24px;
    color: transparent;
    height: 52px;
    width: 179px;
    background-image: url(logo-archibus.svg);
    margin-bottom: 20px;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: transparent;

}

#localizeLink {
    margin-top: 6px;
}

#localizeLink span {
	float: right;
	position: relative;
	top: 14px; left: -6px;
}

input:not([type=checkbox]), select {
    width: 100%;
    height: 48px;
    font-size: 16px;
    background: #FEFEFE;
    border: none;
    outline: 1px solid #8D93A0;
    color: #141922;
    padding: 0px 12px;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	border-radius: 4px;
}

select {
    border-right: 12px solid transparent;
}

input[type=text], input[type=password] {

}

input[type=button] {
    cursor: pointer;
    outline: none;
}

/* Customized Checkbox */
.cb-container {
  display: inline-block;
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  color: #494F5A;
}

.cb-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 15px;
  width: 15px;
    margin-top: 2px;
  background-color: #fff;
  border: 1px solid #a4a9b7;
  border-radius: 2px;
}

.cb-container:hover input ~ .checkmark {
  background-color: #fff;
}

.cb-container input:checked ~ .checkmark {
  background-color: #fff;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.cb-container input:checked ~ .checkmark:after {
  display: block;
}

.cb-container .checkmark:after {
  left: 4px;
  top: 0;
  width: 4px;
  height: 9px;
  border: solid #1B4BC5;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.spacer {
	height: 16px;
}

.input-label {
    font-size: 14px;
    color: #494F5A;
    margin-bottom: 8px;
    margin-top: 8px;
}

#signin_button {
    color: #FFFFFF;
    background: #1B4BC5;
    font-size: 14px;
}

#continue_button {
    color: #FFFFFF;
    background: #1B4BC5;
    width: 40%;
    float: left;
}

#cancel_button {
    color: #eee;
    background: #1B4BC5;
    width: 40%;
    float: right;
}


#signin_button:hover {
    color: #fff;
}

#guest_button {
    color: #1B4BC5;
    background: #fff;
    border: 0px;
    margin-top: 8px;
    font-size: 14px;
}

#optionsContainer {
    width: 100%;
    font-size: 14px;
    color: #1B4BC5;
}

#remember_username {
    position: relative;
    top: 1px;
}

#forgot_password_control {
	display: inline-block;
	float: right;
	text-align: right;
	cursor: pointer;
}

.account-info {
	position: relative;
	width: 100%;
    background: transparent;
    font-size: 12px;
	line-height: 1.33;
    text-align: center;
    color: #6D7483;
    padding-top: 10px;
}

.callout_container {
    position: absolute; top: 0; left: 0;
    width: 100%;
}
.callout {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    background: #FEFEFE;
    font-size: 1.4em;
    width: calc(100% - 32px);
    z-index: 100;
    padding: 24px 32px;
    border-radius: 6px;
    margin: 0px 16px;
    box-shadow: 0px 4px 8px 0px rgba(141, 147, 160, 0.24), 0px 8px 24px 0px rgba(141, 147, 160, 0.24);
}
#forgotPasswordCallout {
    top: 300px;
}
.callout .callout_title {
    margin-bottom: 20px;
    font-weight: 400;
    font-size: 15px;
    color: #141922;
}
.callout .loginDialogButton {
    padding: 4px 15px 3px 15px;
    font-size: 12px;
    border: 1px solid #1B4BC5;
    color: #1B4BC5;
    height: 32px;
}
.buttonGroup {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}
.callout .buttonGroup .loginDialogButton {
    height: 32px;
    width: 108px;
    font-size: 12.5px;
}
#forgot_password_y_button {
    color: #FFF;
    background: #1B4BC5;
}
.callout .closeX {
    height: 16px;
    width: 16px;
    float: right;
    font-size: 0;
    cursor: pointer;
}
.callout .closeX img {
    position: relative;
    height: 16px;
    width: 16px;
}

.localizeLink span {
    color: #494F5A;
    position: relative;
    top: -2px;
    font-size: 12.5px;
    cursor: pointer;
}

.localizeLink img {
	float: right;
	clear: right;
	position: relative;
    top: -5px;
	cursor: pointer;
}
#login_form .localizeLink img {
	position: relative;
	top: 10px;
}
#localeList div {
	height: 30px;
}


#changeLanguageCallout {
    margin-top: -200px;
    font-style: italic;
    color: #dee9ec;
}
#changeLanguageCallout .calloutTriangle {
    top: 170px;
}

#changeLanguageCallout .localizeLink {
    padding: 2px 0px 0px 5px;
    font-weight: normal;
    font-style: normal;
}
#changeLanguageCallout .localizeLink:hover {
    background: #567089;
}


/* Text fields   Check if all are needed */
input:-webkit-autofill {
    -webkit-text-fill-color: black;
    -webkit-box-shadow: inset 0 0 0px 9999px #FEFEFE;
}
::-webkit-input-placeholder {
    font-style: italic;
    color: #9ba4ab;
}
:-moz-placeholder { /* Firefox 18- */
    font-style: italic;
    color: #9ba4ab;
}
::-moz-placeholder {  /* Firefox 19+ */
    font-style: italic;
    color: #9ba4ab;
}
:-ms-input-placeholder {
    font-style: italic;
    color: #9ba4ab;
}
input[type=text]:focus, input[type=password]:focus, input[type=button]:focus, select:focus {
    outline: 2px solid #141922;
}

/* Tablet in landscape mode */
@media only screen
and (max-width: 1250px) {
    .loginWrapper { width: 100%; max-width: 100%; }
    .loginContainer { width: 100%; }
}

/* Tablet in portrait mode */
@media only screen
and (max-width: 980px) {
    .leftSide { display: none; }
    .rightSide { width: 100%; }
    .loginContainer { margin: 0; padding: 0;}
}

/* Phone in landscape mode */
@media only screen
and (min-height: 320px)
and (max-height: 480px)
and (orientation : landscape) {
    #signin_label { font-size: 20px; width: 179px; height: 52px; }
}

/* Phone in portrait mode */
@media only screen
and (min-width: 320px)
and (max-width: 480px)
and (orientation : portrait) {
    #loginTop { flex-direction: column; }
    #signin_label { font-size: 20px; width: 179px; height: 52px; }
}

/* Minimal size laptops based on viewport size and not screen size:
   To prevent scrolling resize height of spacer elements and inputs only */
@media only screen
and (max-height: 720px)
and (orientation : landscape) {
	.spacer { height: 12px; }
	input:not([type=checkbox]), select { height: 40px; }
}
