﻿html {
    position: relative;
    min-height: 100%;
}

body {
    margin: 0 0 60px; /* bottom = footer height */
}

body{
	font-family: 'Raleway', sans-serif;
	color: #333;
	font-size: 16px;
}

::selection {
  background: #219BC0;
  color: #ffffff;
}

::-moz-selection {
  background: #219BC0;
  color: #ffffff;
}

body{
	scrollbar-base-color: #219BC0;
	scrollbar-base-color: #219BC0;
	scrollbar-3dlight-color: #219BC0;
	scrollbar-highlight-color: #219BC0;
	scrollbar-track-color: #FFFFFF;
	scrollbar-arrow-color: #FFFFFF;
	scrollbar-shadow-color: #219BC0;
	scrollbar-dark-shadow-color: #219BC0;
}

::-webkit-scrollbar-thumb:vertical {
	background-color: #219BC0;
	height: 80px;
}
::-webkit-scrollbar {
	height: 0px;
	width: 7px;
	background-color: #FFFFFF;
}

a{
	color: #219BC0;
	text-decoration: none;
}

a:hover, a:active, a:focus {
	color: #104d60;
	text-decoration: none;
}

h1{
	font-family: 'Raleway', sans-serif;
    font-size: x-large !important;
}

#img-login{
	background-color: #F7F7F7;
	height: 140px;
    padding: 10px 0;
}

#form-login, #form-pass{
	background: rgba(0, 0, 0, 0) url(../img/VP19173.jpg) no-repeat scroll center top / cover;
    min-height: 100vh;
	/*min-height: 453px;*/
}

.img-fundo{
	min-height: 100vh;
	margin-top: 90px;
	-webkit-transition: background 0.3s linear;
	transition: background 0.3s linear;
}

.bg-img{
	background: url(../img/bg.png) no-repeat scroll center top / cover;
    min-height: 100vh;
	margin-top: 90px;
	color: #fff;
}

#padding{
	padding-top: 40px;
}

#centrar-div{
	/*display: flex;
    justify-content: center;
    align-items: center;*/
	padding-top: 450px;
	text-align: center;
}

@media screen and (min-width: 1920px){
	#centrar-div{
		padding-top: 600px;
	}
}
.left-div{
	display: inline-block;
	max-width: 260px;
	text-align: left;
	padding: 30px;
	background-color: #fff;
	border-radius: 3px;
	margin: 15px;
	vertical-align: top;
}

.right-div{
	display: inline-block;
	max-width: 280px;
	text-align: left;
	padding: 30px;
	background-color: #fff;
	border-radius: 3px;
	margin: 15px;
}

@media screen and (max-width: 1200px){
	.left-div, .right-div{
		max-width: 100%;
		display: block;
    }
	#centrar-div{
		padding-top: 0px;
	}
}

/*@media screen and (min-width: 992px) and (max-width: 1200px){
	.right-div{
		background-color: #fff;
		height: 280px;
	}
}*/

#caixa{
	background-color: rgba(0, 0, 0, 0.52);
}
#caixa h4{
	color: #219BC0;
	font-size: 20px;
}
#caixa a {
	color: #fff;
	text-decoration: none;
}
#caixa a:hover {
	color: #219BC0;
	text-decoration: none;
}
.caixa{
	list-style: none;
	margin-left: -25px;
}

/*@media screen and (max-width: 765px){
	#form-login {
		background: rgba(0, 0, 0, 0) url(../img/fundo-login-mobile.jpg) no-repeat scroll left top / cover;
		min-height: 100vh;
	}
}*/

.marcas{
	padding: 35px 0 0 60px;
}

#wrapper{
	padding-bottom: 0;
	padding-top: 0;
}

.centro{
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

@media screen and (min-width: 1600px){
	.centro{
		margin-left: -200px;
	}
}

/*Login*/
.login-container{
	margin: 0 auto;
    background: rgba(0, 0, 0, 0.21);
    margin-top: 50px;
    padding-bottom: 40px;
    padding-top: 50px;
	width: auto;
}

@media screen and (min-width: 768px){
	.login-container {
		/*margin-top: 100px;*/
		width: 390px;
	}
}

@media screen and (max-width: 765px){
	.login-container {
		margin: 50px 15px 0;
	}
}

/*remover rounding safari*/
input[type="text"], input[type="password"],input[type="tel"], input[type="number"], input[type="email"], input[type="submit"] {
	-webkit-appearance:none;
	-webkit-border-radius:0;
}

input.sign-in{
    outline: none;
    font-size: 1em;
    border: none;
    border-bottom: 1px solid #eee;
    background: none;
    width: 92.5%;
    color: #fff;
    padding: 1em 0 1em 2em;
    letter-spacing: 1px;
}

input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill{
	border: 0;
	-webkit-text-fill-color: #ffffff;
	-webkit-box-shadow: 0 0 0px 1000px transparent inset;
	transition: background-color 5000s ease-in-out 0s;
	color: #ffffff;
}

.icon-user, .icon-pass, .icon-email{
	color: #fff;
    font-size: 1em;
    position: absolute;
	right: 91%;
}

.icon-email{
	top: 54%;
}

.icon-user{
	top: 21%;
}

.icon-pass{
	top: 38%;
}

.user-icon{
	top: 36%;
}

.pass-icon{
	top: 50%;
}

.user{
	top: 29%;
}

.pass{
	top: 44%;
}

@media screen and (max-width: 767px){
	.icon-user, .icon-pass{
		right: 93%;
	}
	.icon-email{
		top: 51%;
		right: 94%;
	}
}

/*@media screen and (max-width: 766px){
	.icon-user{
		top: 21%;
	}
	.icon-pass{
		top: 38%;
	}
}*/

@media screen and (max-width: 640px){
	.icon-user, .icon-pass{
		right: 93%;
	}
}

@media screen and (max-width: 623px){
	.icon-email{
		top: 54%;
	}
}

@media screen and (max-width: 571px){
	.icon-user, .icon-pass, .icon-email{
		right: 93%;
	}
	.icon-user{
		top: 21%;
	}
	.icon-pass{
		top: 38%;
	}
	.user-icon{
		top: 36%;
	}
	.pass-icon{
		top: 50%;
	}
	.user{
		top: 29%;
	}
	.pass{
		top: 45%;
	}
}

@media screen and (max-width: 483px){
	.icon-user, .icon-pass{
		right: 92%;
	}
	.user-icon, .pass-icon{
		right: 92%;
	}
	.icon-email{
		right: 91%;
	}
}

@media screen and (max-width: 401px){
	.icon-email{
		top: 50%;
	}
}

@media screen and (max-width: 367px){
	.icon-email{
		top: 53%;
		right: 89%;
	}
}

@media screen and (max-width: 359px){
	.icon-email{
		top: 56%;
		right: 89%;
	}
}

@media screen and (max-width: 310px){
	.icon-email{
		top: 52%;
		right: 87%;
	}
}

/*@media screen and (max-width: 430px){
	.icon-user, .icon-pass{
		right: 91%;
	}
}*/

.btn-login{
	color: #fff;
    background: #219BC0;
    border: none;
    padding: .5em 4em;
    outline: none;
    font-size: 1.2em;
    cursor: pointer;
	margin-top: 30px;
	
	/*border-radius: 50px;
    border-style: solid;
    border-width: 1px;
    font-size: 12px;
    padding: 7px 15px;
	background-color: #ffffff;
    border-color: #219BC0;
    color: #219BC0;
	font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;*/
}

.btn-login:hover{
	background-color: #000;
	/*background-color: #219BC0;
    border-color: #219BC0;
    color: white;*/
}

label.remember-login{
	color: #6c6c6c;
    font-size: 13px;
    line-height: 26px;
}

/* Underline */
.bar {
	position: relative;
	display: block;
	width: 100%;
}

.bar:before, .bar:after {
	content: '';
	height: 2px; 
	width: 0;
	bottom: 1px; 
	position: absolute;
	background: rgba(0, 0, 0, 0.32); 
	-webkit-transition:all 0.2s ease; 
	transition: all 0.2s ease;
}

.bar:before {
	left: 50%;
}

.bar:after {
	right: 50%;
}

/* active */
input:focus ~ .bar:before, input:focus ~ .bar:after {
	width: 50%;
}

.erro, .erro-invalido{
	margin: 0 0 15px;
    color: red;
}

.sucesso {
	margin: 0 0 15px;
    color: green;
}

/* caixa de mensagens */
#msgbar {
	position: fixed;
	top: 90px;
	width: 100%;
	padding: 0.5em;
	border: 1px solid #757575;
	border-top: 0;
	background-color: rgba(240, 240, 240, 0.5);
	cursor: pointer;
}

#msgbar p {
	margin: 0;
	padding: 0;
}

/*Menu*/
.navbar-default{
	background-color: #ffffff !important;
	background: #ffffff none repeat scroll 0 0;
    box-shadow: 0 3px 3px rgba(0,0,0,0.05);
    height: 90px;
	border: 0 !important;
}

.navbar-default .navbar-nav>li>a{
	display: inline-block;
    padding: 0 10px;
    line-height: 90px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999 !important;
}

.navbar-default .navbar-nav>li:hover>a, .navbar-default .navbar-nav>li.active>a, .navbar-default .navbar-nav>li:focus>a {
	color: #219BC0 !important;
	background-color: transparent !important;
}

.navbar-default .navbar-nav>li>a:focus{
	color: #999 !important;
	background-color: transparent !important;
}

.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover{
	color: #219BC0 !important;
	background-color: transparent !important;
}

.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:focus, .navbar-default .navbar-nav>.open>a:hover{
	color: #219BC0 !important;
    background-color: transparent !important;
}

.navbar-toggle{
	margin-right: 15px;
    margin-top: 25px;
}

.navbar-default .navbar-collapse{
	background-color: #ffffff;
}

.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover{
	background-color: transparent !important;
}

.navbar-default .navbar-toggle{
	border-color: transparent !important;
}

.navbar-brand{
	padding: 20px 15px !important;
}

.dropdown-menu{
	background-color: #219BC0;
}

.dropdown-menu li a{
	color: #ffffff;
}

.dropdown-menu li a:hover {
	text-decoration: none;
	color: #104d60;
	background-color: transparent;
}

.dropdown-menu>.active>a, .dropdown-menu>.active>a:focus, .dropdown-menu>.active>a:hover{
	color: #104d60;
    text-decoration: none;
    background-color: transparent;
    outline: 0;
}

.dropdown-menu.columns-2 {
	min-width: 600px;
}

.multi-column-dropdown {
	list-style: none;
  margin: 10px;
  padding: 0px;
}
.multi-column-dropdown li a {
	display: block;
	clear: both;
	padding: 3px 20px;
	line-height: 1.428571429;
	color: #ffffff;
	white-space: nowrap;
}
.multi-column-dropdown li a:hover {
	text-decoration: none;
	color: #104d60;
	background-color: transparent;
}
 
@media (max-width: 1200px) {
	.dropdown-menu.multi-column {
		min-width: 240px !important;
		overflow-x: hidden;
	}
	
	.navbar-nav .open .dropdown-menu {
		position: static;
		float: none;
		width: auto;
		margin-top: 0;
		background-color: transparent;
		border: 0;
		-webkit-box-shadow: none;
		box-shadow: none;
	}
	
	.multi-column-dropdown li a{
		white-space: normal;
	}
	
	.dropdown-menu li a{
		color: #999;
	}
	
	.dropdown-menu li a:focus, .dropdown-menu li a:hover {
		color: #219BC0;
		background-color: transparent;
	}
	
	.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus, .navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{
		color: #219BC0;
		background-color: transparent;
	}
	
	.navbar-default .navbar-nav .open .dropdown-menu>.active>a, .navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus, .navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{
		color: #219BC0;
		background-color: transparent;
	}
}

@media only screen and (min-width: 1200px) {
	#menu {
		width: 1170px;
		padding-right: 15px;
		padding-left: 15px;
		margin-right: auto;
		margin-left: auto;
	}
	
	#msgbar {
		width: 1170px;
	}
}

@media only screen and (max-width: 1200px) {
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
		margin-top: 23px;
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
        display:block !important;
    }
	.navbar-collapse.in {
		overflow-y: visible;
		overflow-y: auto !important;
	}
	.navbar-default .navbar-nav>li>a{
		line-height: 60px;
	}
	.navbar-collapse{
		max-height: 316px !important;
		overflow-x: visible;
		-webkit-overflow-scrolling: touch;
	}
}

/*#top{
	height:50px;
	margin:-70px auto 0 auto;
}*/

#contentwrapper{
	margin-bottom: 40px;
}

.botao{
	background-color: rgba(0, 0, 0, 0.32);
    color: #fff;
    /*border-color: #219BC0;*/
    border-radius: 0;
    padding: 10px 20px;
    text-transform: uppercase;
    word-spacing: 3px;
    font-size: 13px;
    margin: 5px;
	border-width: 0;
	-webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.botao:hover{
	background-color: #000;
    color: #fff;
}

.botao.focus, .botao:focus, label.focus, label:focus{ /*remover a caixa azul quando o campo está em focus*/
	outline-style:none !important;
	box-shadow:none !important;
	border-color:transparent !important;
}

input.password, select, input.utilizador{
	display: block;
    padding: 0;
    border: none;
    border-bottom: 1px solid #fff;
    box-shadow: none;
    border-radius: 0;
    width: 100%;
    font-size: 20px;
    outline: none;
    color: #fff;
    /*background-color: #fff;*/
	height: 31px;
	outline: none;
    background: none;
}

input.password:focus ~ .bar:before, input.password:focus ~ .bar:after, select:focus ~ .bar:before, select:focus ~ .bar:after, input.utilizador:focus ~ .bar:before, input.utilizador:focus ~ .bar:after{
	width: 50%;
}

input.password:focus, input.password.focus, input.utilizador:focus, input.utilizador.focus{
	outline-style:none !important;
	box-shadow:none !important;
	border-color:transparent !important;
}

input.search {
	background: url('../img/lupa.png') no-repeat left;
	padding-left: 1.2em;
}

textarea{
	color: #000;
}

select {
	-webkit-appearance: none;
	-moz-appearance: none;
	background: transparent url('../img/seta.png') no-repeat right;
}

select option {
	background-color: #104d60;
}

select[multiple] {
	height: 9em;
	overflow-y: auto;
	background-color: transparent;
	background-image: none;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 24px;
}

select.wait {
	background-color: rgba(255, 255, 255, 0.2);
}

select[multiple].wait {
	background-color: rgba(255, 255, 255, 0.2);
	background-image: url('../img/throbber.gif');
	cursor: progress;
}

select[multiple] option {
	background-color: transparent;
}

select[multiple] option::before {
	display: inline-block;
	width: 1.2em;
	font-family: FontAwesome;
	font-size: 24px;
	content: "\f096";
	color: white;
}

select[multiple] option:checked::before {
	content: "\f046";
}

select option.evol_pos {
	color: green;
}

select option.evol_neg {
	color: red;
}

select option.trade {
	color: #2060ee;
}

select option.formacao {
	color: #6020ee;
}

table {
	width: 100%;
    table-layout: fixed;
    border: 1px solid rgba(0, 0, 0, 0.32);
    border-radius: 5px;
	word-wrap: break-word;
}

table>tbody>tr>td>a{
	color: #fff;
}

@media only screen and (max-width: 800px) {
	table{
		border: none;
	}
    /* Force table to not be like tables anymore */
	#no-more-tables table, 
	#no-more-tables thead, 
	#no-more-tables tbody, 
	#no-more-tables th, 
	#no-more-tables td, 
	#no-more-tables tr { 
		display: block; 
	}
 
	/* Hide table headers (but not display: none;, for accessibility) */
	#no-more-tables thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
 
	#no-more-tables tr {
		border: 1px solid #ccc;
	}
 
	#no-more-tables td { 
		/* Behave like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%; 
		white-space: normal;
		text-align:left;
	}
 
	#no-more-tables td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
		text-align:left;
		font-weight: bold;
	}
 
	/*Label the data*/
	#no-more-tables td:before {
		content: attr(data-title);
	}
}

/*checkbox custom*/
input[type="checkbox"]:focus{
	outline: 0;
}

input[type=checkbox]{
	display: none;
}

label.btn{
	padding: 0;
}

label.btn span {
	font-size: 16px;
	margin-left: 6px;
	vertical-align: top;
}

label.align span{
	vertical-align: top;
	margin-right: 4px;
}

label input[type="checkbox"] ~ i.fa.fa-square-o, label input[type="radio"] ~ i.fa.fa-square-o{
	color: #fff;
	display: inline;
}

label input[type="checkbox"] ~ i.fa.fa-check-square-o, label input[type="radio"] ~ i.fa.fa-check-square-o{
	display: none;
}

label input[type="checkbox"]:checked ~ i.fa.fa-square-o, label input[type="radio"]:checked ~ i.fa.fa-square-o{
	display: none;
}

label input[type="checkbox"]:checked ~ i.fa.fa-check-square-o, label input[type="radio"]:checked ~ i.fa.fa-check-square-o{
	color: #104d60;
	display: inline;
}

label:hover input[type="checkbox"] ~ i.fa, label:hover input[type="radio"] ~ i.fa {
	color: #fff;
}

label input[type="checkbox"]:checked, label input[type="radio"]:checked{
	color: #104d60;
}

label input[type="checkbox"]:checked ~ span, label input[type="radio"]:checked ~ span{
	color: #104d60;
}

div[data-toggle="buttons"] label {
	display: inline-block;
	padding: 6px 12px !important;
	margin-bottom: 0;
	font-size: 12px;
	font-weight: normal;
	text-align: left;
	white-space: nowrap;
	vertical-align: top;
	cursor: pointer;
	background-color: none;
	border: 0px solid #f0f0f0;
	border-radius: 3px;
	color: #f0f0f0;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
}

div[data-toggle="buttons"] label:hover {
	color: #219BC0;
}

div[data-toggle="buttons"] label:active, div[data-toggle="buttons"] label.active, label.btn:active, label.btn.active {
	-webkit-box-shadow: none;
	box-shadow: none;
}

.btn.focus, label.btn.focus, .btn.btn-default:focus{ /*remover a caixa azul quando o campo está em focus*/
	outline-style:none !important;
	box-shadow:none !important;
	border-color:transparent !important;
}

#tabevol{
	font-size: 12px;
}

.image-preview-input {
    position: relative;
	overflow: hidden;
	margin: 0px;    
    color: #333;
    background-color: #fff;
    border-color: #ccc;    
}
.image-preview-input input[type=file] {
	position: absolute;
	top: 0;
	right: 0;
	margin: 0;
	padding: 0;
	font-size: 20px;
	cursor: pointer;
	opacity: 0;
	filter: alpha(opacity=0);
}
.image-preview-input, .image-preview-clear, .image-preview-input:active, .image-preview-clear:active, .image-preview-input:focus, .image-preview-clear:focus {
	background-color: rgba(0, 0, 0, 0.32);
	color: #ffffff;
	border-color: transparent;
}
.image-preview-input:hover, .image-preview-clear:hover {
	background-color: rgba(0, 0, 0, 0.62);
	color: #ffffff;
	border-color: transparent;
}
.image-preview-input-title {
    margin-left:2px;
}

#subfooter{
	background-color: #252525;
	margin-bottom: 60px;
}

#subfooter h3{
	color: #ccc;
}

#subfooter a{
	color: #ccc !important;
    text-decoration: none;
}

#subfooter a:hover{
    color: #219BC0 !important;
    text-decoration: none;
}

footer{
    position: absolute;
    left: 0;
    bottom: 0;
    height: 60px;
	line-height: 60px;
    width: 100%;
	background-color: #F7F7F7;
	color: #4b555a;
	text-align: center;
	font-size: 12px;
}

/*botão back to top*/
.cd-top {
	display: inline-block;
	height: 40px;
	width: 40px;
	position: fixed;
	bottom: 70px;
	right: 20px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
	background: rgba(33,155,192, 0.8) url(../img/cd-top-arrow.svg) no-repeat center 50%;
	visibility: hidden;
	opacity: 0;
	-webkit-transition: opacity .3s 0s, visibility 0s .3s;
	-moz-transition: opacity .3s 0s, visibility 0s .3s;
	transition: opacity .3s 0s, visibility 0s .3s;
}
.cd-top.cd-is-visible, .cd-top.cd-fade-out, .cd-top:hover {
	-webkit-transition: opacity .3s 0s, visibility 0s 0s;
	-moz-transition: opacity .3s 0s, visibility 0s 0s;
	transition: opacity .3s 0s, visibility 0s 0s;
}
.cd-top.cd-is-visible {
	visibility: visible;
	opacity: 1;
}
.cd-top.cd-fade-out {
	opacity: .5;
}
.cd-top:hover {
	background-color: #219BC0;
	opacity: 1;
}