@CHARSET "UTF-8";

*, ::before, ::after {
	box-sizing: content-box;
}

html,body {
	height: 100%;
}

h1 {
	color: #1C94C4;
	font-size: 1.83rem;
}

a {
	text-decoration: none;
	color: #1c94c4;
	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
}

a:hover {
	text-decoration: underline;
	color: #ea7d1e;
}

#login-title {
	width: 70%;
	margin-left: 15%;
}

#login-body {
	background: #E1E7EC;
	margin: 0;
	padding: 0;
	height: 100%;
	position: relative;
	font-size: 1rem;
	font-family: "Raleway";
	font-weight: 500;
}

#login-header {
}

#login-logo, #login-content {
	width: 350px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
}

#login-logo {
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 10px;
	padding-bottom: 10px;
	height: 94px;
	margin-top: 110px;
}

#login-content {
	padding: 20px;
	background-color: #fff;
	border: 2px solid #CCD4DB;
	border-radius: 4px;
	margin-top: 224px;
}

@media (max-height: 700px)
{
	#login-logo {
		margin-top: 0;
		padding-top: 0;
	}
	#login-content {
		margin-top: 94px;
	}
	h1 {
		margin-top: 0;
	}
}

#login-logo img {
	border: 0;
	max-height: 94px;
}

#login-form {
	padding-top: 1em;
}

#login-additional-content {
	position: absolute;
	left: 0;
	top: 0;
	margin-top: 150px;
}

#login-form-content > div {
	width: 70%;
	margin-left: 15%;
	color: #37322f;
	margin-top: 10px;
}

#login-form-content .divider {
	margin-top: 17px;
}

#login-form-content .divider hr {
	margin: 0.5rem auto;
	width:40%;
	background-color: #E1E7EC;
}

#login-form-content .divider hr.left {
	float:left;
}

#login-form-content .divider hr.right {
	float:right;
}

#login-input > div {
	text-align: left;
	margin-top: 10px;
}

#login-additional-controls > div {
	text-align: left;
	margin-top: 10px;
}

#login-additional-controls input {
	background-color: #fff;
	height: 2em;
	padding: 0.1em 1em;
	border: solid 2px #DDD;
	border-radius: 0.25em;
	width: calc(100% - 2em - 4px);
}

#login-additional-controls input:focus {
	border-color: #A0AEC0;
}

#login-submit.forgotpwd-submit input,
#login-submit.changepwd-submit input
{
	width: 100%;
}

#login-submit input.login-submit-secondary, #forgot_pwd_sent input.forgot_pwd_done {
	background-color: #e0e0e0;
	color: #333a4b;
}

#login-submit input, #forgot_pwd_sent input{
	background-color: #404B5A;
	padding: 0.1em 1em;
	border-radius: 0.25em;
	width: 100%;
	color: #E1E7EC;
	border: 0;
	height: 2.2em;
	margin-top: 10px;
	cursor: pointer;
}

.center {
	text-align: center;
}

.v-spacer {
	padding-top: 1em;
}
#login-sso-buttons{
	padding: 0 10px;
}
.sso-button {
	margin: 5px 0px;
	position: relative;
	cursor: pointer;
	padding: 0.7em 0.5em;
	border-radius: 0.25em;
	background-color: #E4E7EB;
	filter: grayscale(1) opacity(0.8);
	transition-duration: 750ms;
	transition-property: filter;
}

.sso-button:hover {
	filter: grayscale(0) opacity(1);
}

.sso-image {
	position: absolute;
	left: 5%;
	height: 1em;
	margin-right: 1em;
	top: 0;
	bottom: 0;
	margin-top: auto;
	margin-bottom: auto;
}

#login-input .invalid input{
	border-color: #F56565;
}

#login-input .invalid .message, #login-submit.invalid .message {
	color: #F56565;
	display: inline-block;
	padding: 5px;
}

#forgot_pwd_sent{
	margin-left: 15%;
	width: 70%;
}


/* =============================================================================
   MEGAWORK BRANDING - Customizações da Tela de Login
============================================================================= */

/* Fundo da página */
#login-body {
	background: linear-gradient(135deg, #dceaf5 0%, #c8daea 50%, #b8cfe0 100%) !important;
}

/* Esconde logo padrão do iTop */
#login-logo img {
	display: none !important;
}

/* Caixa branca da logo - SEM box-sizing override, valores em content-box */
/* margin-top:80 + padding-top:14 + content:90 + padding-bottom:6 = 190px */
#login-logo {
	margin-top: 80px !important;
	height: 90px !important;
	background-color: #FFFFFF !important;
	border-radius: 6px 6px 0 0 !important;
	padding: 14px 20px 6px 20px !important;
	position: absolute !important;
	overflow: visible !important;
}

/* Faixa de 5 cores no rodapé da caixa da logo */
#login-logo::before {
	content: '' !important;
	display: block !important;
	position: absolute !important;
	bottom: -5px !important;
	left: 0 !important;
	right: 0 !important;
	height: 5px !important;
	background: linear-gradient(to right,
		#1e3a8a 0% 20%,
		#0ea5e9 20% 40%,
		#a0c4e8 40% 60%,
		#9ca3af 60% 80%,
		#ffb81c 80% 100%) !important;
	z-index: 5 !important;
}

/* Logo Mega Work */
#login-logo::after {
	content: '' !important;
	display: block !important;
	width: 100% !important;
	height: 90px !important;
	background-image: url('https://itop.megawork.com/itop/images/megawork-logo.png') !important;
	background-size: contain !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
}

/* Formulário: margin-top = 80 + 14 + 90 + 6 + 5(stripe) = 195px */
#login-content {
	border: 1px solid #e2e8f0 !important;
	border-top: none !important;
	border-radius: 0 0 6px 6px !important;
	box-shadow: 0 8px 32px rgba(0, 61, 112, 0.15) !important;
	overflow: visible !important;
	margin-top: 195px !important;
}

/* Título */
h1 {
	color: #005093 !important;
	font-size: 1.5rem !important;
}

/* Links */
a {
	color: #005093 !important;
}
a:hover {
	color: #003D70 !important;
}

/* Botão Login */
#login-submit input,
#forgot_pwd_sent input {
	background-color: #005093 !important;
	color: #FFFFFF !important;
	font-weight: 600 !important;
	letter-spacing: 0.3px !important;
}

#login-submit input:hover,
#forgot_pwd_sent input:hover {
	background-color: #003D70 !important;
}

/* Focus nos campos */
#login-additional-controls input:focus {
	border-color: #005093 !important;
	box-shadow: 0 0 0 2px rgba(0, 80, 147, 0.15) !important;
}