.navbar-inner {
background-color: #AE432E !important;
background-image: -moz-linear-gradient(top, #D95338, #AE432E) !important;
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#D95338), to(#AE432E)) !important;
background-image: -webkit-linear-gradient(top, #D95338, #AE432E) !important;
background-image: -o-linear-gradient(top, #D95338, #AE432E) !important;
background-image: linear-gradient(to bottom, #D95338, #AE432E) !important;
border: 1px solid #AE432E !important;
webkit-border-radius: 0px !important;
-moz-border-radius: 0px !important;
border-radius: 0px !important;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#D95338', endColorstr='#AE432E', GradientType=0) !important;
}

.navbar .brand {
color: #fff !important;
text-shadow: 0 0px 0 #ffffff !important;
}
.breadcrumb {
	margin: 0 12px 15px 12px !important;
}
.navbar .nav > li > a {
	color: #fff !important;
	text-shadow: 0 0px 0 #ffffff !important;
}
.navbar .nav > .active > a, .navbar .nav > .active > a:hover, .navbar .nav > .active > a:focus {
	background-color: #ae432e !important;
}

.navbar .nav li.dropdown.open > .dropdown-toggle, .navbar .nav li.dropdown.active > .dropdown-toggle, .navbar .nav li.dropdown.open.active > .dropdown-toggle {
color: #555555;
background-color: #ae432e !important;
}

label {
display: inline;
margin-bottom: 0px !important;
}
.grid-view {
padding-top: 0px;
}
.navbar .brand {
/*padding: 6px 20px 0px;*/
}
.botaoPaginacao {
	width: auto !important;
	margin-top: 5px;
}
.pager .next > a, .pager .next > span {
float: none;
}
.pager .previous > a, .pager .previous > span {
float: none;
}
.row {
margin-left: 0px;
}
.grid-view .pager {
margin-top: 0px;
}
.pager {
margin: 0px 0;
}
/*button, input, select, textarea {
vertical-align: baseline;
}*/
/*label, input, button, select, textarea {
font-size: 12px;
font-weight: normal;
line-height: 20px;
}*/

.segcampos legend, .formulario legend {
display: block;
width: auto;
padding: 0;
margin-bottom: 0px;
font-size: 14px;
line-height: 0px;
color: #333333;
border: 0;
border-bottom: 0px;
}
.formulario fieldset {
	margin-bottom: 10px;
}

.sidebar-nav {
    padding: 9px 0;
}

.dropdown-menu .sub-menu {
    left: 100%;
    position: absolute;
    top: 0;
    visibility: hidden;
    margin-top: -1px;
}

.dropdown-menu li:hover .sub-menu {
    visibility: visible;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.nav-tabs .dropdown-menu, .nav-pills .dropdown-menu, .navbar .dropdown-menu {
    margin-top: 0;
}

.navbar .sub-menu:before {
    border-bottom: 7px solid transparent;
    border-left: none;
    border-right: 7px solid rgba(0, 0, 0, 0.2);
    border-top: 7px solid transparent;
    left: -7px;
    top: 10px;
}
.navbar .sub-menu:after {
    border-top: 6px solid transparent;
    border-left: none;
    border-right: 6px solid #fff;
    border-bottom: 6px solid transparent;
    left: 10px;
    top: 11px;
    left: -6px;
}


.formulario button, .formulario input[type="button"], .formulario input[type="submit"] {
display: inline-block;
padding: 4px 12px;
margin-bottom: 0;
font-size: 14px;
line-height: 20px;
color: #333333;
text-align: center;
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
vertical-align: middle;
cursor: pointer;
background-color: #f5f5f5;
background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
background-repeat: repeat-x;
border: 1px solid #cccccc;
border-color: #e6e6e6 #e6e6e6 #bfbfbf;
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
border-bottom-color: #b3b3b3;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.formulario button:hover, .formulario input[type="button"]:hover, .formulario input[type="submit"]:hover, .formulario button:focus, .formulario input[type="button"]:focus, .formulario input[type="submit"]:focus {
color: #333333;
text-decoration: none;
background-position: 0 -15px;
-webkit-transition: background-position 0.1s linear;
-moz-transition: background-position 0.1s linear;
-o-transition: background-position 0.1s linear;
transition: background-position 0.1s linear;
}

.btn-primary, .formulario button, .formulario input[type="button"], .formulario input[type="submit"] {
 color: #ffffff !important;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #D95338 ;
  *background-color: #D95338;
  background-image: -moz-linear-gradient(top, #D95338, #AE432E );
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#D95338), to(#AE432E));
  background-image: -webkit-linear-gradient(top, #D95338, #AE432E);
  background-image: -o-linear-gradient(top, #D95338, #AE432E);
  background-image: linear-gradient(to bottom, #D95338, #AE432E);
  background-repeat: repeat-x;
  border-color: #AE432E #AE432E #802420;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffbd362f', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-primary.disabled,
.btn-primary[disabled], .formulario button:hover, .formulario input[type="button"]:hover, .formulario input[type="submit"]:hover {
  color: #ffffff;
  background-color: #AE432E;
  *background-color: #AE432E;
}

.btn-primary:active,
.btn-primary.active {
    background-color: #942a25 \9;
}


.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus,
.dropdown-submenu:hover > a,
.dropdown-submenu:focus > a {
	color: #ffffff;
	text-decoration: none;
	background-color: #AE432E !important;
	background-image: -moz-linear-gradient(top, #D95338, #AE432E) !important;
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#D95338), to(#AE432E)) !important;
	background-image: -webkit-linear-gradient(top, #D95338, #AE432E) !important;
	background-image: -o-linear-gradient(top, #D95338, #AE432E) !important;
	background-image: linear-gradient(to bottom, #D95338, #AE432E) !important;
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#D95338', endColorstr='#AE432E', GradientType=0);
}
.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
  color: #ffffff;
  text-decoration: none;
  background-color: #AE432E !important;
  background-image: -moz-linear-gradient(top, #D95338, #AE432E) !important;
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#D95338), to(#AE432E)) !important;
  background-image: -webkit-linear-gradient(top, #D95338, #AE432E) !important;
  background-image: -o-linear-gradient(top, #D95338, #AE432E) !important;
  background-image: linear-gradient(to bottom, #D95338, #AE432E) !important;
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#D95338', endColorstr='#AE432E', GradientType=0);
}
.grid-view .summary {
margin-bottom: 0px !important;
}
h1, h2, h3 {
line-height: 20px;
}
.btn {
	/*margin-bottom: 10px !important;*/
}
.checkbox {
	display: block !important;
}
.radio.inline {
  padding-left: 0px !important;
}
.input-append, .input-prepend, .formulario select {
	/*margin-bottom: 10px !important;*/
}
.ui-dialog {
  z-index: 2000 !important;
}
body .modal {
  width: 70%; /* desired relative width */
  left: 15%; /* (100%-width)/2 */
  /* place center */
  margin-left:auto;
  margin-right:auto; 
}
#calendar select {
  margin-top: 5px;
  width: auto;
}
#calendar .td, #calendar .td_empty, #calendar .td_actday, #calendar .td_selday {
  padding-top: 30px !important;
}

.navbar .nav li.dropdown > a:hover .caret, .navbar .nav li.dropdown > a:focus .caret {
border-top-color: #fff;
border-bottom-color: #fff;
}

.navbar .nav li.dropdown > .dropdown-toggle .caret {
border-top-color: #fff;
border-bottom-color: #fff;
}

.navbar .nav li.dropdown.open > .dropdown-toggle .caret, .navbar .nav li.dropdown.active > .dropdown-toggle .caret, .navbar .nav li.dropdown.open.active > .dropdown-toggle .caret {
border-top-color: #c1c1c1;
border-bottom-color: #c1c1c1;
}

legend + .control-group {
  margin-top: 0px;
  }
  
  
.btn-group.open .btn-primary.dropdown-toggle {
background-color: #AE432E;
}  

.modal-alert{
  width:30%!important;
  left: 35% !important;
  margin:8% auto!important;
}

.addRelacionamento {
  float: right !important;
  position: relative !important;
  margin-top: -60px;
}

.formulario.titulo {
  padding-bottom: 25px !important;
}

.relacionamento .well label{
  margin-right: 10px;
  margin-left: 10px;
}

.bootstrap-tagsinput {
  width: 70%!important;
}



.twitter-typeahead .tt-query,
.twitter-typeahead .tt-hint {
  margin-bottom: 0;
}
.tt-query {
  vertical-align: inherit !important;
}
.tt-dropdown-menu {
  min-width: 160px;
  margin-top: 2px;
  padding: 5px 0;
  background-color: #fff;
  border: 1px solid #ccc;
  border: 1px solid rgba(0,0,0,.2);
  *border-right-width: 2px;
  *border-bottom-width: 2px;
  -webkit-border-radius: 6px;
     -moz-border-radius: 6px;
          border-radius: 6px;
  -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
     -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
          box-shadow: 0 5px 10px rgba(0,0,0,.2);
  -webkit-background-clip: padding-box;
     -moz-background-clip: padding;
          background-clip: padding-box;
}
.tt-dropdown-menu { max-height: 124px; overflow-y: auto; }

.tt-suggestion {
  display: block;
  padding: 3px 20px;
}

.tt-suggestion.tt-is-under-cursor {
  color: #ffffff !important;
  text-decoration: none;
  background-color: #AE432E !important;
  background-image: -moz-linear-gradient(top, #D95338, #AE432E) !important;
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#D95338), to(#AE432E)) !important;
  background-image: -webkit-linear-gradient(top, #D95338, #AE432E) !important;
  background-image: -o-linear-gradient(top, #D95338, #AE432E) !important;
  background-image: linear-gradient(to bottom, #D95338, #AE432E) !important;
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#D95338', endColorstr='#AE432E', GradientType=0);

}
.tt-suggestion.tt-is-under-cursor p {
  color: #ffffff !important;
}

.tt-suggestion.tt-is-under-cursor a {
  color: #fff;
}

.tt-suggestion p {
  margin: 0;

}

/** Configuração especial para idioma e software por ter um tamanho maior **/
.idioma .twitter-typeahead, .software .twitter-typeahead {
  width: 20% !important;
  margin-right: 20px !important;

}
.idioma .twitter-typeahead, .software .twitter-typeahead {

}
.idioma .tt-hint, .software .tt-hint {
  display:none;

}
.idioma .tt-query, .software .tt-query {
  background-color: #ffffff !important;
}
.tab-content {
  overflow: visible !important;
}

@media (max-width: 979px) {
  .nav-collapse .nav .nav-header {
    color: #FFF;
    text-shadow: none;
  } 
  .nav-collapse .nav > li {
    background-color: #ae432e;
  }
  .nav-collapse .dropdown-menu li + li a {
    color: #fff;
  }

}
