/* ------------------------ */
/* [ Esta folha contém os estilos para as popups de Sessão, alertas e diálgos do Portal ] */
/* ------------------------ */
.popup {
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
	background-color: white;
	padding: 5px 5px 0;
	border-radius: 3px;
}

.popupView {
	overflow: hidden;
}

.popup-overflow {
	overflow: auto !important
}

.popup.popupView .popup.popupView {
	box-shadow: none;
}

.popup .ui-dialog-titlebar {
	display: none;
}

.popup .ui-resizable-handle {
	display: none !important;
}

.modalBackground {
	background-color: Gray;
	opacity: 0.7;
	position: fixed !important;
	z-index: 100 !important;
}

.popup .popup-titulo {
    font-size: 1.1rem;
    font-weight: normal;
    padding: .3rem 0 .5rem 0;
    margin-right: 1.3rem;
    white-space: nowrap;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
}

.popup .popup-fechar {
    cursor: pointer;
    width: 1.3rem;
    position: absolute;
    top: .3rem;
    right: .3rem;
    font-size: 1.2rem;
    color: #333;
    line-height: 1.3;
}

.popup-fechar:hover {
	opacity: .6;
}

.popup-fechar:focus {
	color: rgb(250, 162, 0);
	outline: none;
}

.popup-msg {
	font-size: .8rem;
	padding: 0 .5rem .5rem;
}

.popup-cabecalho-itens {
	margin: 0 .5rem .5rem 0;
}

.popup-cabecalho-item {
	font-size: .75rem;
	line-height: 2;
	color: #666;
}

.popup-cabecalho-itens b {margin-right: .3rem}

/* -------------------- */
/* [ POPUPS DE SESSÃO ] */
/* -------------------- */
.sessiontimeout-dialog {
	border: none !important;
	min-width: 420px;
	padding: 1rem !important;
}

.sessiontimeout-dialog .ui-dialog-titlebar {
	display: none;
}

.expiring_session_popup,
.expired_session_popup {
	color: #333;
	font-size: 12px;
	line-height: 2em;
	text-align: center;
	text-shadow: 1px 1px 1px white;
	-moz-transition-duration: .2s;
	-o-transition-duration: .2s;
	-webkit-transition-duration: .2s;
	transition-duration: .2s;
	width: 100%;
}

.expiring_session_popup h1,
.expired_session_popup h1 {
	color: #DD3232;
	font-weight: 100;
}

.aLogout,
.aRenewSession {
	color: #0052B0;
	font-size: 14px;
}

.session_expiring,
.session_expired {
	height: 100px;
	line-height: 100px;
	margin: 0 auto;
	position: relative;
	width: 100px;
}

.session_expiring::before {
	color: #DD3232;
	content: "\e65e";
	font-family: 'sagresportal';
	font-size: 6rem;
	-moz-animation: brilhar 1s infinite;
	-o-animation: brilhar 1s infinite;
	-webkit-animation: brilhar 1s infinite;
	animation: brilhar 1s infinite;
}

.session_expired::before {
	content: "\e635";
	color: #DD3232;
	font-family: 'sagresportal';
	font-size: 6rem;
	-moz-animation: surgir 1s 1;
	-o-animation: surgir 1s 1;
	-webkit-animation: surgir 1s 1;
	animation: surgir 1s 1;
}

/* --------------------------------- */
/* [ POPUP DE PROGRESSO (AGUARDE...) */
/* --------------------------------- */
.popupprogress {
	background: #333;
	border-radius: 3px;
	box-shadow: 0 6px 2px -6px rgba(102, 102, 102, 0.5);
	color: white;
	font-size: 1rem;
	height: 55px;
	padding: 1rem;
	position: fixed !important;
	min-width: 160px;
	z-index: 9999999 !important;
	text-align: center;
	-moz-transition: .2s;
	-o-transition: .2s;
	-webkit-transition: .2s;
	transition: .2s;
}

.popupprogress-modal, .popupprogress_modalbackground {
	background-color: #333;
	opacity: 0.4;
	position: fixed;
	z-index: 9999998 !important;
}

@keyframes spinner {
	to {
		-moz-transform: rotate(360deg);
		-ms-transform: rotate(360deg);
		-o-transform: rotate(360deg);
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

@-moz-keyframes spinner {
	to {
		-moz-transform: rotate(360deg);
		-ms-transform: rotate(360deg);
		-o-transform: rotate(360deg);
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

@-webkit-keyframes spinner {
	to {
		-moz-transform: rotate(360deg);
		-ms-transform: rotate(360deg);
		-o-transform: rotate(360deg);
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

.spinner {
	float: left;
	margin: -3px 10px 0 0;
	min-height: 30px;
	min-width: 30px;
	position: relative;
}

.spinner:before {
	content: 'Aguarde…';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 24px;
	height: 24px;
	margin-top: -13px;
	margin-left: -13px;
}

.spinner:not(:required):before {
	content: '';
	border-radius: 50%;
	border: 1px solid #fff;
	border-top-color: rgba(0, 0, 0, 0.6);
	-moz-animation: spinner .6s linear infinite;
	-o-animation: spinner .6s linear infinite;
	-webkit-animation: spinner .6s linear infinite;
	animation: spinner .6s linear infinite;
}
