/****************************************************
	estilos globais
****************************************************/

#barra a {
	color: white;
}


* {
	box-sizing: border-box;
	//-moz-transition: 1s all;
	//-webkit-transition: 1s all;
	//transition: 1s all;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	text-decoration: none;
}

.required {
	color: red;
}

.nomargin {
	margin: 0;
}

.nav ul {
	margin:0;
	padding:0;
}

.nav li {
	display: inline-block;
	padding-right: 10px;
	padding-left: 10px;
	border-right: 1px solid black;
}
.nav li:last-child {
	border: 0;
}

/****************************************************
	background-colors
****************************************************/

.cor1 {
/*	background-image: url('http://localhost/dipo/img/grama_verde.png');
	background-repeat: repeat-x; */
	background-color: #00a85a;
}

.cor2 {
	background-color: #a9cf46;
}

.cor_barra {
	background-color: #27374f;
}

.btn-primary {
	background-color: #00a85a;
	border-color: #007d43;
}

.btn-primary:hover, .btn-primary:focus {
	background-color: #007d43;
	border-color: #004f2a;
}

/****************************************************
	tipografia
****************************************************/

body {
	font-family: 'Lato', sans-serif;
	font-size: 11pt;
}

h1 { font-size: 2.0em; }
h2 { font-size: 1.8em; }
h3 { font-size: 1.6em; }
h4 { font-size: 1.4em; }
h5 { font-size: 1.2em; }
h6 { font-size: 1.0em; }

/****************************************************
	cores
****************************************************/

nav a, nav a:hover, nav a:active, nav a:visited {
	color: white !important;
	padding: 5px;
}

footer {
	color: white;
}

/****************************************************
	ul li
****************************************************/

li {
	list-style: none;
}

nav li {
	display: inline-block;
	border-right: 1px solid white;
	padding-right: 5px;
}

nav li:last-child {
	border-right: none;
}

/****************************************************
	padding, margin
****************************************************/

footer, nav {
	padding: 10px;
}

body, ul, li, h1, h2, h3, h4, h5, h6 {
	margin: 0;
	padding: 0;
}

header {
	padding: 20px;
}

section {
	padding: 30px;
}

/****************************************************
	text-align
****************************************************/

header, nav, footer {
	text-align: center; 
}

.center-block {
	margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
	text-align: center;
}

/****************************************************
	shadows
****************************************************/

body {
	text-shadow: 1px 1px 3px rgba(0,0,0,.3);
}

#loading div {
	box-shadow: 0px 2px 3px 1px rgba(0,0,0,.3);
}

nav, main, #cursos_destaque, #cursos_header {
	-webkit-box-shadow: inset 0px 6px 9px -8px rgba(0,0,0,1);
	-moz-box-shadow: inset 0px 6px 9px -8px rgba(0,0,0,1);
	box-shadow: inset 0px 6px 9px -8px rgba(0,0,0,1);
}

footer {
	-webkit-box-shadow: inset 0px 6px 9px -8px rgba(0,0,0,1), 0px 6px 9px -8px rgba(0,0,0,1);
	-moz-box-shadow: inset 0px 6px 9px -8px rgba(0,0,0,1), 0px 6px 9px -8px rgba(0,0,0,1);
	box-shadow: inset 0px 6px 9px -8px rgba(0,0,0,1), 0px 6px 9px -8px rgba(0,0,0,1);
}

/****************************************************
	form
****************************************************/

fieldset {
	border-radius: 8px;
    border: 1px groove #ddd !important;
    padding: 0 1.4em 1.4em 1.4em !important;
    margin: 0 0 1.5em 0 !important;
    -webkit-box-shadow:  0px 0px 0px 0px #000;
            box-shadow:  0px 0px 0px 0px #000;
}

legend {
    width:inherit; /* Or auto */
	margin-top:20px;
    padding: 0 10px; /* To give a bit of padding on the left and right */
    border-bottom:none;
}

input {
	margin-bottom: 15px;
}

/****************************************************
	classes
****************************************************/

.padding-20 {
	padding: 20px;
}

.btm-padding-20 {
	padding-bottom: 20px;
}

.center {
	text-align: center;
}

/****************************************************
	sticky footer
****************************************************/


html {
  position: relative;
  min-height: 100%;
}
body {
  /* Margin bottom by footer height */
  margin-bottom: 45px;
}
footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 45px;
}

/****************************************************
	loading
****************************************************/

#loading {
	display: none;
	top: 0;
	left: 0;
	position: absolute;
	width: 100%;
	min-height: 100%;
	background-color: rgba(0,0,0,.5);
	text-align: center;
	z-index: 9999;
}

#loading div {
	text-align: center;
	position: absolute;
	width: 120px;
	height: 120px;
	left: 50%;
	top: 50%;
	background-color: white;
	margin-top: -60px;
	margin-left: -60px;
	display: table;
	padding-top: 25px;
	border-radius: 15px;
}

/****************************************************
	barra
****************************************************/

#barra {
	padding: 15px;
	padding-top: 0;
	color: white;
}

#barra a, #barra a:hover, #barra a:active, #barra a:visited {
	padding: 5px;
}

/****************************************************
	painel_orcamentos
****************************************************/

table, td, th{
	border: 1px solid;
}

th, .tr_destaque tr td:first-child {
	background-color: #00a75a;
	color: white;
	border-color: black;
	text-align: center;
}

th, td {
	padding: 5px;
}

.plus {
	vertical-align: middle;
	background-color: green;
	color: white !important;
}

.minus {
	background-color: red;
	color: white !important;
}

/****************************************************
	hacks
****************************************************/

.btn {
	margin: 5px;
}

.control_button {
	border-radius: 100px;
	display: table-cell;
	vertical-align: middle;
	width: 30px;
	height: 30px;
	font-weight: bold;
	text-align: center;
}

.control_button:hover {
	opacity: .7;
	text-decoration: none;
}

.plus {
	vertical-align: middle;
	background-color: green;
	color: white !important;
}

.minus {
	background-color: red;
	color: white !important;
}

#orc_linhas {
    counter-reset: rowNumber;
}

#orc_linhas tr {
    counter-increment: rowNumber;
}

.num::before {
    content: counter(rowNumber);
}

#tbody_ccusto tr:hover, #tbody_empresas tr:hover {
	transition: none;
	background-color: #eee;
	cursor: pointer;
}

.header-fixed {
    position: fixed;
    top: 0px; display:none;
    background-color:white;
}

.height-250 {
	height: 250px;
}

.frame {
	overflow-y: scroll;
}

/****************************************************
	barra
****************************************************/

.baloon {
	display: inline-block;
	visibility: hidden;
	position: relative;
	top: 2px;
	display: inline-block;
}

.baloon_left {
	display: inline-block;
	background-image: url('../img/baloon_left.png');
	height: 25px;
	width: 2px;
}
.baloon_caption {
	position: relative;
	margin: 0;
	padding: 0;
	color: red;
	top: -6px;
	font-size: 10px;
	font-weight: bold;
	line-height:30px;
	display: inline-block;
	background-image: url('../img/baloon_caption.png');
	height: 25px;
}
.baloon_right {
	display: inline-block;
	background-image: url('../img/baloon_right.png');
	height: 25px;
	width: 7px;
}
.icon {
	position:relative;
	top: -3px;
}