/*
@import url('https://fonts.googleapis.com/css?family=Source Sans Pro:400,900');
*/
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,900');


@-webkit-keyframes rotating {
	from {
		-ms-transform: rotate(0deg);
		-moz-transform: rotate(0deg);
		-webkit-transform: rotate(0deg);
		-o-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	to {
		-ms-transform: rotate(360deg);
		-moz-transform: rotate(360deg);
		-webkit-transform: rotate(360deg);
		-o-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}
@keyframes rotating {
	from {
		-ms-transform: rotate(0deg);
		-moz-transform: rotate(0deg);
		-webkit-transform: rotate(0deg);
		-o-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	to {
		-ms-transform: rotate(360deg);
		-moz-transform: rotate(360deg);
		-webkit-transform: rotate(360deg);
		-o-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

* {
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

body {
	font-family: "Source Sans Pro", Arial, sans-serif;
	font-size: 14px;
	color: #2D3039;
	background-color: #F4F7FC;
	position: relative;
	min-height: 100vh;
	margin: 0;
	padding: 0;
}

body:after {
	content: "";
	z-index: 9998;
	position: fixed;
	top: 0;
	height: 0;
	left: 0;
	right: 0;
	background: #343a40;
	-webkit-transition: all 500ms ease-in-out;
	   -moz-transition: all 500ms ease-in-out;
	    -ms-transition: all 500ms ease-in-out;
	     -o-transition: all 500ms ease-in-out;
	        transition: all 500ms ease-in-out;
}

table {
	width: 100%;
	border-collapse: collapse;
}

table tbody tr {
	border-top: 1px solid #D8DDE1;
}

table th,
table td {
	padding: 0.5rem;
	text-align: left;
	border-left: 1px solid #D8DDE1;
}

table th:first-child, table td:first-child {
    border-left: 0;
}

h2 {
    font-weight: 900;
    font-size: 2rem;
    margin: 1rem 0 2rem 0;
    padding: 0;
}

body.loading:after {
	height: 100vh;
}

#loader {
	display: none;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0,0,0,0.5);
	z-index: 99999;
}

#loader b {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 80px;
	height: 80px;
	margin-top: -40px;
	margin-left: -40px;
	border-radius: 80px;
	border: 8px solid transparent;
	border-top-color: #FFF;
	border-left-color: #FFF;


	-webkit-animation: rotating 1s linear infinite;
	   -moz-animation: rotating 1s linear infinite;
	    -ms-animation: rotating 1s linear infinite;
	     -o-animation: rotating 1s linear infinite;
	        animation: rotating 1s linear infinite;

}

#loader b:before {
	content: "";
	position: absolute;
	bottom: 3px;
	left: 3px;
	width: 8px;
	height: 8px;
	background: #FFF;
	border-radius: 8px;
}

#loader b:after {
	content: "";
	position: absolute;
	top: 2px;
	right: 3px;
	width: 8px;
	height: 8px;
	background: #FFF;
	border-radius: 8px;
}

.loading #loader {
	display: block;
}

.btn {
	background: #7057D2;
	color: #FFF;
	text-align: center;
	border-radius: 5px;
	margin: 0 0 0 1rem;
	float: right;
	padding: 1rem 2rem;
	text-transform: uppercase;
	cursor: pointer;
	display: inline-block;
}

.btn.small {
	padding: 0.25rem 0.5rem;
}

.btn:hover {
	background: #4d30bd;
}

.btn.btn-secondary {
	background: #8B90A1;
}

.btn.btn-secondary:hover {
	background: #8B90A1;
}

.btn.btn-link {
	background: transparent;
	color: #333;
}

.btn.btn-danger {
	background: #e4322b;
}

.btn.btn-small {
	padding: 0.5em 1em;
}

.btn.btn-left {
	float: left;
	margin: 0;
	padding: 1rem 0;
}

.btn-spacer-right {
	margin-right: 1rem;
	position: relative;
}

.btn-spacer-right:after {
	content: "";
	position: absolute;
	top: -4px;
	bottom: -4px;
	right: -1rem;
	border-right: 1px solid #D0D8E9; 
}

.btn-spacer-right:last-child {
	margin-right: 0;
}

.btn-spacer-right:last-child:after {
	display: none;
}

.btn-spacer-left {
	margin-left: 2rem;
	position: relative;
}

.btn-spacer-left:after {
	content: "";
	position: absolute;
	top: -4px;
	bottom: -4px;
	left: -1rem;
	border-left: 1px solid #D0D8E9; 
}

@media all and (max-width: 800px) {
	.form-actions {
		margin: 0 -1%;
		padding: 0 1% !important;
	}

	.form-actions > .btn {
		width: 31.33333%;
		margin: 0 1%;
		padding: 1em 0;
		text-align: center;
	}
}

/***********************************************
 **** MENU *************************************
 ***********************************************/

.header {
	position: fixed;
	top: 0%;
	bottom: 0;
	left: -330px;
	width: 320px;
	opacity: 0;
	z-index: 9999;
	background: rgba(255,255,255,0.99);
	overflow-y: auto;
	-webkit-transition: all 250ms ease-in-out;
	-moz-transition: all 250ms ease-in-out;
	-ms-transition: all 250ms ease-in-out;
	-o-transition: all 250ms ease-in-out;
	transition: all 250ms ease-in-out;
	/* text-align: center; */
}

.header.active {
	left: 0;
	opacity: 1;
	box-shadow:	0 0 50px 0 rgba(0,0,0,0.5),
				0 0 0 9999px rgba(0,0,0,0.25);
}

.header .menu-toggle {
	position: fixed;
	top: 0;
	bottom: 0;
	right: 100%;
	left: 0;

}

.header.active .menu-toggle {
	left: 320px;
	right: 0;
}

#status .menu-toggle {
	margin-right: 1rem;
	cursor: pointer;
	position: relative;
}

#status .menu-toggle:hover:after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 30px;
	height: 30px;
	margin: -15px 0 0 -15px;
	border-radius: 100%;
	background: #F4F7FC;
	opacity: 0.5;

}


.home-button {
	color: #e4322b;
	text-decoration: none;
	font-size: 2rem;
	text-transform: uppercase;
	font-weight: 900;
	background: url(../img/logo-alpha.png) no-repeat center 1rem;
	background-size: auto 80px;
	/* height: 80px; */
	/* padding-left: 132px; */
	/* padding-top: 10px; */
	display: block;
	/* float: left; */
	/* padding: 2rem; */
	padding: 120px 2rem 2rem 2rem;
	text-align: center;
}

.home-button span {
	color: #000;
	font-size: 1rem;
	display: block;
}

.menu {
	padding: 0;
	margin: 0 0 32px 0;
	list-style: none;
}

.menu li,
.menu ul {
	padding: 0;
	margin: 0;
}

.menu ul {
	margin-left: 1rem;
	z-index: 9999;
}

.menu li.inactive a,
.menu li.inactive span {
	color: #999 !important;
}

.menu a,
.menu span {
	color: #2D3039;
	text-decoration: none;
	cursor: pointer;
	display: block;
	padding: 8px 16px;
	border-bottom: 1px solid #eee;
}

.menu .active a,
.menu .active span {
	font-weight: 900;
	text-decoration: underline;
}

.menu a:hover,
.menu span:hover {
	background: #ddd;
}

.menu ul a {
	padding-left: 32px;
}

.banner {
	background: url(../img/inter.jpg) no-repeat center center;
	margin: 0;
	padding: 0;
	height: 280px;
	background-size: cover;
	filter: saturate(120%);
}

.with-submenu > ul {
	display: none;
	list-style: none;
	padding: 0;
	margin: 0;
}

.with-submenu > ul > li a:hover {
	font-weight: bold;
}

.with-submenu > span .fa {
	float: right;
	position: relative;
	top: 2px;
	color: #ccc;
}

.with-submenu > span:hover .fa {
	color: #333;
}

/***********************************************
 **** MAIN PAGES *******************************
 ***********************************************/
.main {
	padding: 0 2%;
	position: relative;
	width: 100%;
	overflow: hidden;
}


/***********************************************
 **** CARDS ************************************
 ***********************************************/

.card-list-out {
	padding: 0 2%;
	margin-top: 32px;
}

.card-list {
	margin: 0 -1%;
}

.card {
	box-sizing: border-box;
	border-radius: 8px;
	padding: 1rem;
	margin: 0 1% 2rem 1%;
	float: left;
	background: #FFF;
	-webkit-box-shadow: 0 0 60px 0 rgba(0,0,0,0.1);
	box-shadow: 0 0 60px 0 rgba(0,0,0,0.1);
}

@media all and (max-width: 800px) {
	.card {
		width: 98% !important;
	}
}

.card h2 {
	margin: 0 0 0.5rem 0;
	padding: 0;
	font-size: 1.25rem;
	font-weight: 900;
	text-transform: uppercase;
}

.card h2 .fa {
	margin-right: 0.5rem;
}

.card-header-button {
	float: right;
	font-size: 0.8rem;
	text-transform: none;
	font-weight: 400;
	background: rgba(0,0,0,0.1);
	padding: 0.25rem 0.5rem;
	border-radius: 5px;
	cursor: pointer;
}

.card-header-button:hover {
	background: #e4322b;
	color: #FFF;
}

.card.col-1  { width: 6.33333%; }
.card.col-2  { width: 14.66666%; }
.card.col-3  { width: 23%; }
.card.col-4  { width: 21.33333%; }
.card.col-5  { width: 39.66666%; }
.card.col-6  { width: 48%; }
.card.col-7  { width: 56.33333%; }
.card.col-8  { width: 64.66666%; }
.card.col-9  { width: 73%; }
.card.col-10 { width: 81.33333%; }
.card.col-11 { width: 89.66666%; }
.card.col-12 { width: 98%; }

.card-icon {
	position: absolute;
	top: 0.5rem;
	left: 1rem;
	font-size: 3rem;
	opacity: 0.25;
    color: #000;
}

.card-icon-big {
	text-align: center;
	position: relative;
	font-size: 3rem;
	left: 0;
	top: 0;
	margin-bottom: 1rem;
}

.card-icon.right {
	left: auto;
	right: 1rem;
}

.card-actions {
    padding: 1rem 0 0 0;
    text-align: right;
    /* border-top: 1px solid #ddd; */
    /* margin-top: 1rem; */
}

.card-button {
	display: inline-block;
	margin: 0 0 0 auto;
	cursor: pointer;

    color: #7057D2; /* #00B4B5; */
    font-weight: 900;
}

.card-lbl {
	margin-bottom: 0.5rem;
	overflow: hidden;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	padding-bottom: 0.5rem;
}

.card-lbl:last-child {
	border-bottom: 0;
	margin-bottom: 0;
	padding-bottom: 0;
}

.card-lbl b {
	float: right;
}

.card-lbl.gigantic {
	font-size: 3rem;
	text-align: center;
	font-weight: 900;
	padding: 1.5rem 0;
}

.card-msg b {
	display: block;
	font-size: 1.2rem;
	margin-top: 0.5rem;
}

.no-data {
	font-size: 1.5rem;
	margin: 2rem 0 0 0;
	text-align: center;
	display: block;
	opacity: 0.5;
}

/***********************************************
 **** STATUS ***********************************
 ***********************************************/
#status {
	background: #FFF;
	padding: 1rem;
	margin-bottom: 1rem;
}

.home #status {
	margin-bottom: 0;
}


#username {
	font-weight: 900;
}

#username a {
	color: #2D3039;
	font-weight: 400;
	cursor: pointer;
	text-decoration: none;
}

.menu-right select {
	background: #ab2520;
	border: 0;
	outline: none;
	color: #fff;
	padding: 4px 0 4px 8px;
	border-radius: 4px;
	font-family: "Source Sans Pro", Arial, sans-serif;
	font-size: 14px;
}

.menu-right {
	float: right;
	position: relative;
	top: -4px;
	margin-left: 1rem;
}

/***********************************************
 **** LOGIN ************************************
 ***********************************************/

#body-login {
	min-height: 0;
}

#body-login .home-button {
	float: none;
	margin-bottom: 2rem;
}

.login-box {
	max-width: 420px;
	width: 80%;
	margin: 5rem auto;
	background: #fff;
	border-radius: 5px;
	padding: 2rem;
	overflow: hidden;
}

.login-box label,
.login-box input {
	display: block;
	margin: 0.5rem 0;
}

.login-box input {
	font-family: "Source Sans Pro", Arial, sans-serif;
	font-size: 1rem;
	padding: 1rem;
	width: 100%;
	border: 1px solid #ddd;
	border-radius: 5px;
	margin-bottom: 2rem;
	outline: none;
}

.login-box input:focus {
	border: 1px solid #333;
}

.btn-login {
	margin: 0 auto;
	width: 80%;
	max-width: 120px;

}

.popup-recover-pass label,
.popup-recover-pass input {
	display: block;
	margin-bottom: 1rem;
	width: 100%;
}

/***********************************************
 **** FORMS ************************************
 ***********************************************/

.form-out {
	padding: 0 2% 2rem 2%;
	position: relative;
	width: 100%;
	overflow: hidden;
}

.form {
	margin: 0 -1%;
}

.form-actions {
	padding: 0 1rem;
	overflow: hidden;
	clear: both;
}

.main-actions {
	padding: 2rem 0 0 0;
	overflow: hidden;
	clear: both;
}

.form-group {
	position: relative;
	float: left;
	margin: 0 1% 2rem 1%;
	padding: 1rem;
	border-radius: 8px;
	background: #FFF;
	-webkit-box-shadow: 0 0 60px 0 rgba(0,0,0,0.1);
	box-shadow: 0 0 60px 0 rgba(0,0,0,0.1);
}

.form-group.xs { width: 23%; }
.form-group.s  { width: 31.33333%; }
.form-group.m  { width: 48%; }
.form-group.l  { width: 73%; }
.form-group.xl { width: 98%; }

@media all and (max-width: 800px) {
	.form-group {
		float: none;
		width: 98% !important;
	}
}

.form-group.space-left-xs { margin-left: 25%; }
.form-group.space-left-s  { margin-left: 31.33333%; }
.form-group.space-left-m  { margin-left: 48%; }
.form-group.space-left-l  { margin-left: 73%; }

.form-group.error {
	background: #e4322b;
	color: #FFF;
	padding-left: 80px;
	position: relative;
}

.form-group.info {
	background: #00B4B5;
	color: #FFF;
	padding-left: 80px;
	position: relative;
}

.form-group.info h2,
.form-group.error h2 {
	color: #FFF;
	padding: 0 0 0.5rem 0;
}

.form-group-out {
	background: transparent;
	-webkit-box-shadow: none;
	box-shadow: none;
	padding: 0;
	float: left;
}

.form-group-out.l {
	width: 75%;
}

.form-group-out.xs {
	width: 25%;
}

.form-field {
	position: relative;
	display: block;
	padding: 0.5rem 0.5rem 0 0.5rem;
    overflow: hidden;
}

.form-field.small {
	width: 50%;
	float: left;
}

.form-field label {
	display: block;
	margin-bottom: 0.5rem;
}


.form-field input[disabled],
.form-field input[disabled] + label {
	opacity: 0.5;
}

.form-field input[type="text"],
.form-field input[type="date"],
.form-field input[type="datetime-local"],
.form-field input[type="number"],
.form-field input[type="password"],
.form-field input[type="color"],
.form-field textarea,
.form-field select,
.quick-actions-out select,
.custom-input,
.modal .list input,
.modal .list select {
	background: #FFF;
	display: block;
	padding: 0.5rem 1rem;
	font-family: "Source Sans Pro", Arial, sans-serif;
	font-size: 1rem;
	outline: none;
	border: 1px solid #D0D8E9;
	border-radius: 5px;
	margin-bottom: 0.5rem;
	width: 100%;
}


.form-field input[type="color"] {
	padding: 4px;
	height: 38px;
}

.form-field textarea {
	height: 110px;
}

.form-field.checkbox {
	position: relative;
	overflow: hidden;
}

.form-field.checkbox label {

}

.form-field input[type="radio"],
.form-field input[type="checkbox"] {
	display: none;
}

.form-field input[type="radio"] + label,
.form-field input[type="checkbox"] + label {
	padding-left: 2rem;
}

.form-field input[type="radio"] + label:after,
.form-field input[type="checkbox"] + label:after {
	content: "";
	position: absolute;
	left: 0.5rem;
	top: 0.5rem;

	z-index: 1;
	float: right;
	width: 1rem;
	height: 1rem;
	overflow: hidden;
	background: #D0D8E9;
	border-radius: 3px;
}

.form-field input[type="radio"] + label:after {
	border-radius: 100%;
}


.form-field input[type="radio"]:checked + label:before,
.form-field input[type="checkbox"]:checked + label:before {
	content: "";
	position: absolute;
	left: 0.75rem;
	top: 0.75rem;
	z-index: 2;
	float: right;
	width: 0.5rem;
	height: 0.5rem;
	overflow: hidden;
	background: #7057D2;
	border-radius: 2px;
}

.form-field input[type="radio"]:checked + label:before {
	border-radius: 100%;
}

.form-group h2 {
	font-size: 1rem;
	text-transform: uppercase;
	margin: 0;
	padding: 0 0.5rem 0.5rem 0.5rem;
	color: #1F2128;
}

.row {
	overflow: hidden;
}

.form-field.col-12,
.form-field.col-11,
.form-field.col-10,
.form-field.col-9,
.form-field.col-8,
.form-field.col-7,
.form-field.col-6,
.form-field.col-5,
.form-field.col-4,
.form-field.col-3,
.form-field.col-2,
.form-field.col-1 {
	float: left;
	overflow: hidden;
}

.form-field.col-12 { width: 100%; }
.form-field.col-9  { width: 75%; }
.form-field.col-8  { width: 66.66666%; }
.form-field.col-6  { width: 50%; }
.form-field.col-5  { width: 41.66666%; }
.form-field.col-4  { width: 33.33333%; }
.form-field.col-3  { width: 25%; }
.form-field.col-2  { width: 16.66666%; }


/***********************************************
 **** HOME *************************************
 ***********************************************/
#user-info,
#mensagens,
#comunicados,
#reclamacoes {
    min-height: 235px;
}

#user-info {
	background: #7057D2;
	color: #FFF;
	padding: 1rem;
	position: relative;
}

#user-info h2 {
	color: #FFF;
	opacity: 0.9;
}

#mensagens,
#reclamacoes,
#expiradas,
#comunicados,
#recentes {
	position: relative;
	padding-bottom: 3rem;
}

#mensagens h2,
#mensagens .card-button {
	color: #36C537;
}

#comunicados h2,
#comunicados .card-button {
	color: #42adf4;
}

#reclamacoes h2,
#reclamacoes .card-button {
	color: #F12B2C;
}

div#comunicados {
    background: #1abc9c;
    padding: 0;
    color: #fff;
    min-height: auto;
}

#comunicados .no-data {
	margin: 0;
	padding: 1rem 0;
}

#comunicados h2 i {
    position: absolute;
    font-size: 10rem;
    top: -16px;
    left: 0;
    opacity: 0.25;
}

#comunicados tr {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
}

#comunicados td:first-child {
    width: 120px;
    padding: 16px 0 16px 2%;
}

#comunicados .card-actions {
    bottom: auto;
    top: -2rem;
    background: #1abc9c;
    right: 2%;
    left: auto;
    padding: 8px 16px;
    text-align: center;
    border-radius: 8px 8px 0 0;
}

#comunicados tr:first-child {
    border-top: 0;
}

#comunicados .card-actions a {
    color: #FFF;
    text-decoration: none;
}

.comunicado-leituraObrigatoria {
	background: #f39c12;
}

.card-actions {
	position: absolute;
	bottom: 1rem;
	left: 1rem;
	right: 1rem;
}

.subtle {
	opacity: 0.5;
}

.fromToTable td,
.fromToTable th {
	text-align: center;
}

.fromToTable select {
	width: 90%;
	display: block;
	margin: 0 auto;

	padding: 0.5rem 1rem;
	font-family: "Source Sans Pro", Arial, sans-serif;
	font-size: 1rem;
	outline: none;
	border-radius: 5px;
	background: #FFF;
	border: 1px solid #D0D8E9;
}

.fromToTable .btn {
	margin: 0;
}

.detail-table input[type="checkbox"] {
	display: block;
}

.detail-table tbody tr:hover {
	background: #eee;
}

div#popup-msg {
	display: none;
	position: fixed;
	top: 32px;
	bottom: 32px;
	left: 50%;
	width: 480px;
	background: rgba(255, 255, 255, 099);
	z-index: 999;
	padding: 16px;
	border-radius: 8px;
	box-shadow: 0 0 0 9999px rgba(0,0,0,0.5);
	margin-left: -240px;
}

.popup-msg--assunto {
	font-size: 1.5em;
	font-weight: 999;
	margin: 0 0 8px 0;
}

.popup-msg--tipo {
	color: #999;
	margin-bottom: 16px;
}

.popup-msg--corpo {
	border: 1px solid #CCC;
	padding: 8px;
	margin: 8px 0;
	border-radius: 4px;
	background: #eee;
}

.popup-msg--close {
	position: absolute;
	top: 0;
	right: 0;
	padding: 0 8px;
	font-size: 2em;
	cursor: pointer;
	color: #CCC;
}

.popup-msg--close:hover {
	color: #333;
}



.popup-msg--delete {
	position: absolute;
	bottom: 16px;
	left: 16px;
	margin: 0;
}

.popup-msg--reply {
	position: absolute;
	bottom: 16px;
	right: 16px;
	margin: 0;
}

.popup-msg--resposta > div,
.popup-msg--anterior > div {
    border: 1px solid #CCC;
    border-radius: 4px;
    padding: 8px;
    background: #eee;
    margin-top: 16px;
    opacity: 0.75;
    cursor: pointer;
}

.popup-msg--resposta > div:hover,
.popup-msg--anterior > div:hover {
	opacity: 1;
}

.popup-msg--resposta p,
.popup-msg--anterior p {
    margin: 0 0 8px 0;
}

.popup-msg--resposta p:last-child,
.popup-msg--anterior p:last-child {
    margin-bottom: 0;
}


.form-group-header-link {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 9;
}

.form-group-header-link a {
    padding: 4px 8px;
    display: block;
    color: #333;
    text-decoration: none;
    background: #eee;
    border-radius: 4px;
}

.series-list {
    background: #FFF;
    padding: 1em;
    border-radius: 0.5em;
    margin-bottom: 2em;
}

.series-list table {
	border-bottom: 1px solid #ddd;
}

.series-list tbody tr:hover {
	background: #eee;
}

.crud-list.editable tr {
	cursor: pointer;
}

.crud-list.editable tbody tr:hover {
	background: #eee;
}

.crud-list-actions{
	width: 2em;
	text-align: center;
}

.crud-list .deleted-line {
	text-decoration: line-through;
	opacity: 0.5;
}



#status {
	background: #e4322b;
	padding: 1rem;
	margin-bottom: 1rem;
	color: #FFF;
}

#username a {
	color: #FFF;
}

.select2-container--default .select2-selection--multiple {
	border: 1px solid #D0D8E9;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    background: #FFF;
    width: 800px;
    height: 600px;
    margin: -300px 0 0 -400px;
    border-radius: 5px;
    box-shadow: 0 0 0 9999px rgba(0,0,0,0.5);
    padding: 16px;
    overflow-y: auto;
    z-index: 999;
    display: none;
}

.modal-xl {
    position: fixed;
    top: 5%;
    left: 15%;
    background: #FFF;
    width: 70%;
    height: 90%;
    margin: 0;
    border-radius: 5px;
    box-shadow: 0 0 0 9999px rgba(0,0,0,0.5);
    padding: 16px;
    overflow-y: auto;
    z-index: 9999;
    display: none;
}

@media all and (max-width: 820px) {
	.modal {
	    top: 5%;
	    left: 5%;
	    right: 5%;
	    bottom: 5%;
	    margin: 0;
	    width: auto;
	    height: auto;
	}

	.modal-xl {
	    top: 5%;
	    left: 5%;
	    right: 5%;
	    bottom: 5%;
	    margin: 0;
	    width: auto;
	    height: auto;
	}
}

.modal.modal-small {
	width: 480px;
	height: 320px;
	margin: -160px 0 0 -240px;
}

@media all and (max-width: 500px) {
	.modal.modal-small {
	    top: 20%;
	    left: 5%;
	    right: 5%;
	    bottom: 20%;
	    margin: 0;
	    width: auto;
	    height: auto;
	}
}

.modal-close {
	position: absolute;
	top: 0;
	right: 0;
	height: 40px;
	width: 40px;
	border-radius: 100%;
	line-height: 40px;
	text-align: center;
	font-size: 22px;
	font-weight: 900;
	cursor: pointer;
}

.modal-xl-close {
	position: absolute;
	top: 0;
	right: 0;
	height: 40px;
	width: 40px;
	border-radius: 100%;
	line-height: 40px;
	text-align: center;
	font-size: 22px;
	font-weight: 900;
	cursor: pointer;
}


.modal::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}

.modal::-webkit-scrollbar-track {
	background: transparent; 
}

.modal::-webkit-scrollbar-thumb {
	background: rgba(128,128,128,0.25);
	border-radius: 5px;
}

.modal::-webkit-scrollbar-thumb:hover {
	background: rgba(128,128,128,0.95);
}

.jqx-scheduler-appointment.jqx-scheduler-appointment-bootstrap.jqx-rc-all.jqx-rc-all-bootstrap {
	height: auto !important;
	border-color: rgba(0, 0, 0, 0) !important;
	font-size: 11px;
    border-radius: 10px;
}

.eliminado {
	background: #dc3545;
}

.diaNaoProdutivo {
	background: #a4b3b3;
}

.diaAtual {
	background: #428bca;
}

.hidden {
	display: none;
}

.btn2 {
	background: #777777;
	color: #FFF;
	text-align: center;
	border-radius: 5px;
	margin: 0 0 0 1rem;
	padding: 0.3rem 1rem;
	text-transform: uppercase;
	cursor: pointer;
	display: inline-block;
}

.cmbFormandos {
	min-width: 120px;	  
	z-index: 99999;
	position: relative;
}

.select2-dropdown {
	z-index: 999999;
}

.div#innerCalendarjqxWidget076d528b3b16
{
	z-index: 999999;
}

.jqx-scrollbar-thumb-state-normal,
.jqx-scrollbar-thumb-state-normal-horizontal {
    border: 0;
    background: #ccc;
}
 
.log-datahora {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 8px;
}

.log-accao {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.log-descricao {
    margin-bottom: 8px;
}

.log-erro {
    font-weight: 600;
    color: #e4322b;
}

.cc-entry {
    background: #FFF;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    overflow: hidden;
}

.cc-entry > div {
    float: left;
}

.cc-entry--data {
    font-size: 24px;
    width: 150px;
}

.cc-entry--desc {
    line-height: 31px;
    margin-right: 100px;
}

.cc-entry--valor {
    float: right !important;
    font-size: 22px;
    font-weight: 900;
    color: #1abc9c;
}

.cc-entry.negative .cc-entry--valor{
	color: #e74c3c;
}

.cc-entry--valor:after {
    content: " €";
}

.cc-entry.cc-entry-total {
    background: #1abc9c;
    font-size: 18px;
    line-height: 32px;
    color: #FFF;
}

.cc-entry.cc-entry-total.cc-entry-negative {
	background: #e74c3c;
}

.cc-entry.cc-entry-total b {
    float: right;
    font-size: 22px;
}

td.actions {
    text-align: center;
    font-weight: 900;
}

td.actions > div {
    cursor: pointer;
    font-size: 18px;
}

.modal .list {
	position: relative;
}

.modal .list tr[data-id='-1'] {
    background: #ddd;
    height: 32px;
    position: relative;
}

.modal .list tr[data-id='-1']:after {
    content: "+";
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    text-align: center;
    height: 32px;
    line-height: 32px;
}

.modal .list tr[data-id='-1'].active:after {
	display: none;
}

.msg-add-formandos {
	padding-bottom: 32px;
}

#popup-inscricoes input,
#popup-inscricoes select {
    width: 130px;
}


.modal2 {
    position: fixed;
    top: 50%;
    left: 30%;
    background: #FFF;
    width: 90%;
    height: 600px;
    margin: -300px 0 0 -400px;
    border-radius: 5px;
    box-shadow: 0 0 0 9999px rgba(0,0,0,0.5);
    padding: 16px;
    overflow-y: auto;
    z-index: 999;
    display: none;
}

.modal2-close {
	position: absolute;
	top: 0;
	right: 0;
	height: 40px;
	width: 40px;
	border-radius: 100%;
	line-height: 40px;
	text-align: center;
	font-size: 22px;
	font-weight: 900;
	cursor: pointer;
}

.btnGrid {
	background: #28a745;
	color: #FFF;
	text-align: center;
	border-radius: 5px;
	margin: 0 0 0 1rem;
	float: right;
	padding: 0.3rem 1.0rem;
	text-transform: uppercase;
	cursor: pointer;
	display: inline-block;
}

.alert-info {
    background-color: #d9edf7;
    border-color: #bcdff1;
    color: #31708f;
}

.alert {
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
	border-radius: .25rem;
	float: right;
}

.filter-search {
	position: relative;
	text-align: center;
	margin-bottom: 32px;
}

.filter-search .fa {
	position: absolute;
	top: 13px;
	right: 12%;
	color: #D0D8E9;
}

.filter-search input {
	color: #333;
	background: #FFF;
	padding: 0.5rem 1rem;
	font-family: "Source Sans Pro", Arial, sans-serif;
	font-size: 1rem;
	outline: none;
	border: 1px solid #D0D8E9;
	border-radius: 5px;
	margin-bottom: 0.5rem;
	width: 80%;
	margin: 0 auto;
}

.erro {
	border-color: red !important;
}

.btnUpdateStatus {
	margin: 1rem auto 0 auto;
    float: none;
    display: block;
    width: 200px;
}


.LigadoPropostaID {
    text-align: center;
    text-decoration: none;
}

.LigadoPropostaID a {
    /* text-decoration: none; */
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

#popup-facturacao table th:nth-child(1)  { width: 15%; }
#popup-facturacao table th:nth-child(2)  { width: 65%; }
#popup-facturacao table th:nth-child(3)  { width: 15%; }
#popup-facturacao table th:nth-child(4)  { width: 5%; }

#popup-creditoDebito table th:nth-child(1)  { width: 15%; }
#popup-creditoDebito table th:nth-child(2)  { width: 65%; }
#popup-creditoDebito table th:nth-child(3)  { width: 15%; }
#popup-creditoDebito table th:nth-child(4)  { width: 5%; }

.modal .list input {
	width: 100%;
}

select#seriesFrom,
select#seriesTo {
	outline: none;
	border: 0;
	padding: 4px 8px;
	color: #FFF;
	background: rgba(0,0,0,0.25);
	border-radius: 4px;
	margin-left: 8px;
}


tr.inscrito td:first-child {
	padding-left: 32px;
}

.email {
	padding: 4px 8px;
	border-radius: 4px;
	background: rgba(0,0,0,0.05);
	margin-left: 8px;
	color: rgba(0,0,0,0.5);
	cursor: pointer;
}

.email:hover {
	background: rgba(0,0,0,0.25);
	color: #333;
}

.email-lido {
    color: #fff;
    background: #1abc9c;
}

.email-lido:hover {
	color: #FFF;
	background: #16a085;
}

#ListaInscricoes td:last-child {
    text-align: right;
}

#UploadProposalLink,
#DownloadProposalLink,
#ClearProposalLink {
    float: left;
    width: 31%;
    margin: 0 1%;
    white-space: nowrap;
    overflow: hidden;
}

.filter {
	display: block;
	width: 100%;
	padding: 0;
}

.filter label {
	display: block;
}

.grid-filters {
	overflow: hidden;
	margin: 0 0 32px auto;
}

@media all and (min-width: 920px) {
	.grid-filters {
		width: 900px;
		position: absolute;
		top: 0;
		right: 32px;
	}

	.filter {
		float: left;
		width: 220px;
		padding: 0 0 0 16px;
	}
}

.grid-filters-proposals {
	overflow: hidden;
	margin: 0 0 32px auto;
}

@media all and (min-width: 800px) {
	.grid-filters-proposals {
		width: 260px;
		position: absolute;
		top: 0;
		right: 32px;
	}

	.filter {
		float: left;
		width: 220px;
		padding: 0 0 0 16px;
	}
}

@media all and (min-width: 900px) {
	.grid-filters-proposals {
		width: 300px;
	}
}

@media all and (min-width: 1000px) {
	.grid-filters-proposals {
		width: 360px;
	}
}

@media all and (min-width: 1100px) {
	.grid-filters-proposals {
		width: 460px;
	}
}

@media all and (min-width: 1200px) {
	.grid-filters-proposals {
		width: 560px;
	}
}

@media all and (min-width: 1300px) {
	.grid-filters-proposals {
		width: 760px;
	}
}

@media all and (min-width: 1400px) {
	.grid-filters-proposals {
		width: 860px;
	}
}

@media all and (min-width: 1500px) {
	.grid-filters-proposals {
		width: 960px;
	}
}

@media all and (min-width: 1600px) {
	.grid-filters-proposals {
		width: 1060px;
	}
}

.filter input,
.filter select{
	background: #FFF;
	display: block;
	padding: 0.5rem 1rem;
	font-family: "Source Sans Pro", Arial, sans-serif;
	font-size: 1rem;
	outline: none;
	border: 1px solid #D0D8E9;
	border-radius: 5px;
	margin-bottom: 0.5rem;
	width: 100%;
}

.filter .btn {
	padding: 0.5rem 1rem;
	font-family: "Source Sans Pro", Arial, sans-serif;
	font-size: 1rem;
	outline: none;
	/* border: 1px solid #D0D8E9; */
	/* border-radius: 5px; */
	/* margin-bottom: 0.5rem; */
	width: 100%;
	border: 1px solid transparent;
	position: relative;
	top: 2px;
}

input#inputFutFormacoes,
input#inputSugestoes {
    background: #FFF;
    display: block;
    padding: 0.5rem 1rem;
    font-family: "Source Sans Pro", Arial, sans-serif;
    font-size: 1rem;
    outline: none;
    border: 1px solid #D0D8E9;
    border-radius: 5px;
    margin-bottom: 0.5rem;
    width: 100%;
}



@media all and (max-width: 680px) {
	.menu-right {
	    float: none;
	    margin: 16px 0 0 0;
	    display: block;
	    overflow: hidden;
	}

	.menu-right + .menu-right {
	    margin-top: 4px;
	}

	.menu-right select {
	    width: 60%;
	    float: right;
	}

	#username {
	    padding-bottom: 32px;
	}
}

.hist-agendamento-item {
	background: #eee;
	padding: 8px;
	border-radius: 8px;
	margin-bottom: 32px;
	position: relative;
	cursor: pointer;
}

.hist-agendamento-item:hover {
	background: #ddd;
}

.hist-agendamento-item:before {
	content: "";
	position: absolute;
	background: #eee;
	bottom: -18px;
	left: 50%;
	margin-left: -8px;
	width: 16px;
	height: 18px;
}

.hist-agendamento-item:hover:before {
	background: #ddd;
}

.hist-agendamento-item:after {
	content: "";
	position: absolute;
	bottom: -32px;
	left: 50%;
	margin-left: -14px;
	width: 0px;
	height: 0px;
	border: 14px solid #eee;
	border-bottom: 0;
	border-left-color: transparent;
	border-right-color: transparent;
}

.hist-agendamento-item:hover:after {
	border-top-color: #ddd;
}

.hist-agendamento-item:last-child:before,
.hist-agendamento-item:last-child:after {
	display: none;
}

.hist-agendamento-item-estado-1 {
	border-left: 5px solid #e74c3c;
}

.hist-agendamento-data {
	top: -8px;

	-webkit-box-shadow: 0 0 25px 0 rgba(0,0,0,0.25);
	        box-shadow: 0 0 25px 0 rgba(0,0,0,0.25);

	-webkit-transform: rotate(5deg);
	   -moz-transform: rotate(5deg);
	    -ms-transform: rotate(5deg);
	     -o-transform: rotate(5deg);
	        transform: rotate(5deg);
	position: absolute;
	right: 8px;
	text-align: center;
	border-radius: 5px;
	overflow: hidden;
	

	-webkit-transition: all 250ms ease-in-out;
	   -moz-transition: all 250ms ease-in-out;
	    -ms-transition: all 250ms ease-in-out;
	     -o-transition: all 250ms ease-in-out;
	        transition: all 250ms ease-in-out;
}

.hist-agendamento-data--mes {
	background: #e74c3c;
	color: #FFF;
	font-weight: 900;
	text-transform: uppercase;
	padding: 1px 8px;
	font-size: 12px;
}

.hist-agendamento-data--dia {
	background: #FFF;
	color: #000;
	text-transform: uppercase;
	padding: 4px 8px;
	font-size: 14px;
}

.hist-agendamento-estado {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 16px 0;
}

.hist-agendamento-sel {
    border: 2px solid #666;
}

.card.msgFilters {
    position: absolute;
    top: 0;
    right: 2%;
    margin: 0;
    /* vertical-align: middle; */
    padding: 8px;
}

.card.msgFilters .form-field {
    display: inline-block;
    margin-left: 32px
}

.card.msgFilters .form-field:first-child {
    margin-left: 0;
}

.msgFilters select {
    padding: 4px;
    font-size: 14px;
    position: relative;
    top: 4px;
}

.tipomsg {
    padding: 16px 4px;
}

.showmail {
    margin: 0 2%;
    padding: 16px;
    border-radius: 8px;
    background: #FFF;
}

.showmail h1 {
    margin-top: 0;
}

.delete {
    background: #dc3545!important;
}

.delete:hover:before {
    border: 24px solid #720202 !important;
    border-right: 0 !important;
    border-top: 0 !important;
    border-bottom-color: #FFF !important;
    border-left-color: #720202 !important;
}

.delete:before {
    border: 16px solid #720202 !important;
    border-right: 0 !important;
    border-top: 0 !important;
    border-bottom-color: #FFF !important;
}

#tableAddDatasReag td:nth-child(2) {
    width: 110px;
}

#tableAddDatasReag {
	width: 70%;
    border-collapse: collapse;
}

.subGrid {
	height: 200px !important;
	margin: 10px;
}

.jqx-scheduler-appointment-content {
    font-family: "Source Sans Pro", Arial, sans-serif;
    font-size: 13px;
}

.msg_box {
    /* padding: 8px 20px 8px 46px; */
    margin-bottom: 10px;
    position: relative;
    color: #444;
	overflow: hidden;
	border-radius: 4px;
	margin: 5%;
}

.msg_alert {
     background: #faf5c8  no-repeat 14px center;
    border: 1px solid #e6c26e;
}

div#divCalendario {
    float: left;
}

#filtros-agenda {
	overflow: hidden;
}

#filtros-agenda > div {
	width: 100%;
	float: none;
}

#filtros-agenda > div .btn {
    float: none;
    width: 98%;
	margin: 8px 1%;
}

@media all and (min-width: 590px) {
	
	#filtros-agenda > div .btn {
		float: left;
		width: 48%;
	}
}

@media all and (min-width: 820px) {

	#filtros-agenda > div {
		height: 50px;
	}

	#filtros-agenda > div:first-child {
		width: 31.33333%;
		float: left;
		margin: 8px 1%;
		overflow: hidden;
	}

	#filtros-agenda > div:first-child label,
	#filtros-agenda > div:first-child select {
		display: block;
		float: left;
		width: 30%;
	}

	#filtros-agenda > div:first-child select {
		width: 70%;
	}
	
	#filtros-agenda > div .btn {
		float: left;
		width: 31.3333%;
	}
}

@media all and (min-width: 1100px) {
	#filtros-agenda > div:first-child,
	#filtros-agenda > div .btn {
		width: 23%;
	}

	#filtros-agenda > div .btn:nth-child(4) {
		margin-left: 51%;
	}
}

table#ListaDias {
	font-weight: bold;
	font-size: larger;
}

.jqx-scheduler-month-outer-cell
{
    color: #55555561 !important;
}

.jqx-scheduler-month-cell {
	font-weight: bold !important;
}

.table-fixed{
	width: 100%;
	
}

.table-fixed tbody{
	height:400px;
	overflow-y: scroll;
	width: 100%;
}

.table-fixed thead,
.table-fixed tbody,
.table-fixed tr,
.table-fixed td,
.table-fixed th{
	display:block;
	border-top: 0px;
	
}

.table-fixed thead th,
.table-fixed tbody td{
	padding: 0.5rem;
	border: 0;
}

.table-fixed thead tr,
.table-fixed tbody tr{
	border-bottom: 1px solid #CCC;
	overflow: hidden;
}

.table-fixed thead tr th{
	float:left;
}

.table-fixed thead{
	overflow-y: scroll;
}

.redClass
{
	background-color: #e4322b;
	color: white;
}