﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    max-width: 280px;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".jpg"]
{
    width: 100%;
    height: 400px;
    /*height: auto;*/
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
  /* Hide captions */
  .carousel-caption {
    display: none
  }
}

#header {
	position: relative;
	left:0; top:0; right:0;
	z-index:1000;
	/*background-color:#fff;*/
	/*border-bottom: rgba(0,0,0,0.05) 1px solid;*/

	/*-webkit-box-shadow: 0 0 2px rgba(0,0,0,.1) !important;
	   -moz-box-shadow: 0 0 2px rgba(0,0,0,.1) !important;
			box-shadow: 0 0 2px rgba(0,0,0,.1) !important;*/

	-webkit-transition: all .800s;
	   -moz-transition: all .800s;
		 -o-transition: all .800s;
			transition: all .800s;
}
#header a.logo>img {
	height:80px;
	-webkit-transition: all .300s;
	   -moz-transition: all .300s;
		 -o-transition: all .300s;
			transition: all .300s;
            
           
}
#header a.logo.logo-responsive>img {
	height:100%; /* used on center - example: page-coming-soon-1.html */

}

.logo{
    border: 0;
}

/*@media (max-width:767px) {
 .nav.navbar-nav.pull-right {
   float: left !important;
 }
}*/

.navbar-toggle {
    position: relative;
    float: right;
    padding: 9px 10px;
    margin-top: 8px;
    margin-right: 15px;
    margin-bottom: 8px;
    background-color: transparent;
    background-image: none;
    border: 1px solid #333;
    border-radius: 4px;
}

.icon-bar {
    background-color: black;
}


/*@media(min-width: 768px){
    .navbar > .container { max-width: 100%; padding: 0; }
}*/


.form-multiline .form-group {
    margin-bottom: 15px;
    margin-right: 30px;
}
.form-multiline label,
.form-multiline .form-control {
    margin-right: 15px;
}

.regMoradaField{
    max-width: 750px;
}

.regEmpresaField{
    max-width: 750px;
}

.dataInicioGE{
    max-width: 120px;
}


.acreditacoes {
    height: 100%;
    display: inline;
    justify-content: center;
    align-items: center;
}


.box-icon {
  margin: 30px 30px;
      /*
  max-width: 50%;
  max-height: 50%;*/

}
.box-icon.box-icon-left .box-icon-title>i {
	float:left;
}

@media (min-width: 768px) {
    .navbar-right {
        float: right !important;
        margin-right: -15px;
        margin-top: 40px;
    }
}

.centered-text {
    text-align:center
}  

.navbar-fixed-bottom .navbar-collapse {
    max-height: 340px;
}

.navbar-collapse {
    /*margin-right: -15px;
    margin-left: -15px;
    margin-bottom: 50px;*/
}

.gridservicos{
  /*width: 800px;*/
  height: 650px;
  cursor: pointer;
}

.gridrasteabilidade{
  /*width: 800px;*/
  height: 400px;
}


.gridservicosagendados {
  /*width: 800px;*/
  height: 650px;
}


.gridcell-align-right {
    text-align: right;
}


.orange { color: black;  background-color: orange !important; }
.red { color: white;  background-color: red !important; }
.blue { color: white; background-color: blue !important; }
.yellow {color: black; background-color: yellow !important;  }
.green {color:  white; background-color: green !important;  }
.magenta {color:  white; background-color: darkmagenta !important;  }

.greencertificado {color:  white !important; background-color: green !important;  }

.nada{display: none;}


.input-xs {
  height: 22px!important;
  padding: 2px 5px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
  max-width: 100%;
}
.input-group-xs>.form-control,
.input-group-xs>.input-group-addon,
.input-group-xs>.input-group-btn>.btn {
  height: 22px;
  padding: 1px 5px;
  font-size: 12px;
  line-height: 1.5;
}

.navbar-default .navbar-nav>.active> a, 
.navbar-default .navbar-nav>.active> a:focus, 
.navbar-default .navbar-nav>.active> a:hover {
  background: #333; 
  color: white;
}

.app-modal-window .modal-dialog {
  width: 700px;
}

.pdf-modal-window .modal-dialog {
  width: 800px;
}

.servico-modal-window .modal-dialog {
  width: 800px;
}

.rasteabilidade-modal-window .modal-dialog {
  width: 550px;
}



.ui-grid-row{
  height: auto!important;
}

.ui-grid-row   > div {
  display: table-row;
  
}

.ui-grid-row > div .ui-grid-cell {
  display: table-cell;
  float: none;
  vertical-align: middle;
  height: auto!important;
}

.ui-grid-cell-contents{
  white-space: normal;
  text-overflow: inherit;
  word-break: break-word;
}

.ui-grid-viewport .ui-grid-cell-contents {
  word-wrap: break-word;
  white-space: normal !important;
}

.row-centered {
    text-align: center;
    display: table-row;
}


.col-centered {
    display: table-cell;
    float: none;
    vertical-align: top;
}



/*.ui-grid-cell-contents {
    word-wrap: break-word;
  white-space: normal !important;
}*/


/*.ui-grid-viewport .ui-grid-cell-contents {
  word-wrap: break-word;
  white-space: normal !important;
}

.ui-grid-row, .ui-grid-cell {
  height: auto !important;
}

.ui-grid-row div[role=row] {
  display: flex ;
  align-content: stretch;
}*/