html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-size: 13px;
    font-family: open sans;
}

.text-fhc{
    text-align: justify;
    line-height: 20px;
}

.container {
    padding-top: 15px;
    min-height: 100%;
    position: relative;
}

header {
    background-color:white;
    /*height: 60px;*/
    /* margin-bottom: 10px; */
}

header .separador{
    height: 40px;    
}

nav#linguas{
    margin-right: 10px;
}

nav#linguas ul li {
    list-style-type: none;
    display: inline;
    padding: 0 5px;
    text-align: center;
}

.logo {
    /*width: 300px;
    height: 50px; */
    margin: 5px 0 10px 10px;
}

.lang {
    width: 32px;
    height: 20px;
    margin: 25px 0 0 0px;
}

.op{
    opacity: 0.3;
    filter: alpha(opacity=50); /* For IE8 and earlier */
}

.pull-right {
    float: right !important;
}

.banner {
    margin-top: 6px;
}

.banner .imgSize {
    width: 100%;
}

.content .login {
    background-color: white;
    /*height: 230px;*/
    border-style: solid;
    border-width: 1px;
    border-color: lightgrey;
}

.degrade{
    background:purple; 
    background: -webkit-linear-gradient(left,purple , #e600ac); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(right, purple , #e600ac); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(right, purple , #e600ac); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to right, purple , #e600ac); /* Standard syntax */
    vertical-align: middle;
}

.content .login .login-header {
    height: 44px;
}

.img-logo-center{
    margin-top: 5px;
}

.login-header > .col-md-9{
    padding-top: 6px;
}

.titulo{
    color: white;
    padding: 12px;
}

main {
    /*min-height: 100%;
    overflow: auto;*/
    margin-bottom: 20px;
    padding-bottom: 37px;
}

footer {
    padding: 1rem;
    background-color: #404040;
    max-width: 1170px;
    width: 100%;  

    height: 37px;
    position: absolute;
    bottom: 0;
    left: 0;
}

footer .row{
    margin-right: -15px;
    margin-left: -15px;
}

footer .text
{
    font-size: 12px;
    vertical-align: middle;
    color: #ffffff;
}

footer a{
    color: #d56d1c;
}
footer a:hover, a:focus{
    color: #d56d1c;
}

.model-column-right{
    text-align: right;
}

@media (min-width: 992px) {
    .content .login {
        margin-top: -45px;
        padding: 0;
    }
}

/* Menu fornecedores - retirar borda */
@media (max-width: 992px) {
    .content nav#fornecedores ul, nav#clientes ul{
        border-right: 0;
    }  
}

/* Escolha de login */
.btn-group{
     text-align: center;
     padding: 0 10px 5px 10px;
     display: block;
}
.btn-group>.btn:first-child{
    background-color: #303136;
    color: white;
    width: 100%;
}
.btn-group>.btn{
    float: none;
}
.dropdown-menu{
    right: 10px;
    left: 10px;
}
.dropdown-menu > li > a {
    padding: 3px;
    border: 0;
    margin: 0;
    color: #303136;
    text-decoration: none;
    background-color: #fff !important;
    text-align: center;
}
.dropdown-menu > li > a:hover{
    background-color: #303136 !important;
    border-radius: 0;
    color:#fff;
    border: 0;
}
.dropdown-menu>.active>a{
    color: #303136;
}

.tab-content{
    text-align: center;
    color: darkgray;
    font-size: 11px;
    margin: 5px 10px 0 10px;
}

/*
.tab-content form{
    padding: 5px 5px 0px 5px;
}*/
/*
.row{
    margin: 0;
}
*/
.form-group{
    margin: 5px;
}

.form-control {
    display: block;
    width: 100%;
    /*height: 26px; */
    height: 100%;
    padding: 6px;
    font-size: 12px;
    line-height: 1.42857143;
    color: #555;
    background-color: #ccc;
    background-image: none;
    
    border-radius: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

label{
    margin-bottom: 0;
}

form .btn{
    width: 100px;
    border-radius: 0;
    color:white;
    margin-top: 5px;
}

.input-group-addon {
    padding: 6px 12px;
    font-size: 13px;
    line-height: 1;
    color: white;
    text-align: center;
    background-color:#404040;
    border-radius: 0;
    border: 1px;
}

/* Secção 1 & 2 - Pagina Inicial - x */

.media-left { 
    text-align: center;
}

.media-left > .icon { 
    position: relative; 
    margin-top: 30px; 
    width: 100px; 
    height: 100px; 
    line-height: 100px; 
    border-radius: 50%;  
    vertical-align: middle; 
    margin-left: 10px;
}

.media-left > .icon > img { 
    width: 70px;
    padding-top: 14px;
}

.media-heading {
    margin-top: 30px;/*15px;*/
    margin-bottom: 5px;
}

.media-body, .media-left, .media-right {
    display: table-cell;
    /*vertical-align: middle;*/
}

.degradeOrange{
    background: #965614; background:chocolate; 
    background: -webkit-linear-gradient(left,chocolate , orange); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(right, chocolate , orange); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(right, chocolate , orange); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to right, chocolate , orange); /* Standard syntax */
}

.degradeTabEncomenda{
    background: #965614; 
    background: -webkit-linear-gradient(left,#965614 , #c68a49); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(right, #965614 , #c68a49); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(right, #965614 , #c68a49); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to right, #965614 , #c68a49); /* Standard syntax */
}

/* Header color datatable - Encomendas Clientes */
 

/* Icon Login & Pass color */
.input-group-addon {
     color: #ccc;
}

/* text Login & Pass color */
.form-control::-webkit-input-placeholder {
    color:#404040;
}   
.form-control:-moz-placeholder {
    color:#404040;
}
 
.form-control::-moz-placeholder { 
    color:#404040;
}
 
.form-control:-ms-input-placeholder {
    color:#404040;
}

/* Estilo Fornecedores */
nav#fornecedores ul,nav#clientes ul {
	padding:0;
	margin:0;
	list-style:none;
    background-color: #810080;
}
nav#fornecedores ul .active, 
nav#clientes ul .active,
nav#menu-backoffice ul .active{
    background-color: #404040;
}
nav#fornecedores ul li,nav#clientes ul li,
nav#menu-backoffice ul li{
  display: table-cell;
  width: 146px; /* REVER */
}
nav#fornecedores ul li  > a,
nav#clientes ul li > a,
nav#menu-backoffice ul li > a{
  color: #fff;
  text-align: center;
  line-height: 40px;
  display: inline-block;
  border-right: solid 2px #fff;
  width: 100%;
  text-decoration: none;
}
nav#fornecedores ul li > a:hover, 
nav#clientes ul li > a:hover,
nav#menu-backoffice ul li > a:hover {
   background-color:#ccc;
   color: #404040;
}
nav#fornecedores .fa,nav#clientes .fa,
nav#menu-backoffice .fa{
    padding-right: 10px;
} /* Espaçamento icon menu fornecedores */

.cor-cinza{
    background-color: #404040;
    padding-right: 0;
    padding-left: 0;
}

/* FORMATAÇÃO BTN DOWNLOAD - DATATABLE INFO */
.fa-download{
    color: #fff;

    padding: 12px 12px;
    height: 34px;
    /* width: 37px; */
    color: white;
    text-align: center;
    background-color:#404040;
    border-radius: 0;
    border: 1px;
}

button.dt-button, div.dt-button, a.dt-button {
    padding: 0;
    border: 0;
    border-radius: 0;
    margin-right: 0;
}
a.dt-button:hover:not(.disabled){
    border: 0;
}

/* DATATABLES FORNECEDORES FORMATAÇÃO */

.datatable-backoffice{
    padding-top: 15px;
}

.datatable{
    padding-top: 0px;
}

.datatable input.form-control{
    margin: 0;
}

#artigo_length, #artigo_filter, #tabUtilizadores_filter,#artigo-stocks_filter,
#artigo-du_filter, #artigo-vendas_filter, #backoffice-gestao_filter,
#table-docs_filter, #tabBackOfficeDocumentation_filter {
    margin-bottom: 10px;
    width: auto;
    height: 34px;
}

#artigo_length > label,
#artigo-stocks > label,
#artigo-du > label,
#artigo-vendas > label,
#backoffice-gestao > label,
#table-docs > label {
    color: #404040;
}/* label show entries*/

.table > thead > tr > th {
    vertical-align: bottom;
    border-bottom: 1px solid purple;
}

.tableFornecedorNoBorder{
    border-bottom: none !important;
    text-align: center;
}

table.dataTable {
    border-collapse: collapse;
    border-spacing: 0;
    border-top: 1px solid #404040;
}

table.dataTable.no-footer {
    border-bottom: 1px solid purple;
}

table.dataTable .column-format{
    background-color: #404040;
    color: white;
} /* formatação 1ªCol datatable  */

.dataTables_wrapper .dataTables_paginate .paginate_button {
    margin: 0;
    padding: 0;
    border: 0 !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    border: 0;
    background: none;
}
div.dataTables_wrapper div.dataTables_filter input{
    margin-left: 0;
}
table.dataTable tbody th, table.dataTable tbody td {
    padding: 6px 8px;
    vertical-align: middle;
}
div.dataTables_wrapper div.dataTables_length select{
    background-color: #ffffff;
}
div.dataTables_wrapper div.dataTables_info {
    padding-top: 12px;
}
/* Paginação Datatable*/
.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
    background-color: #820081;
    border-color: #810080;
}
.pagination>li>a, .pagination>li>span {
    color: #404040;
}

/* A carregar informação datagrid - Loading*/
.panel-default {
    border: 0;
}

#myModal .modal-body p { margin-bottom: 900px }
.modal.modal-wide .modal-dialog {
  width: 90%;
}
.modal-wide .modal-body {
  overflow-y: auto;
}

/* Media Query - Modal Format */
@media (min-width: 768px){
    .modal-dialog {
        width: 90%;
        padding: 30px;
        margin: 30px auto;
    }
}
div.dt-buttons {
    position: relative;
    float: right;
}

/*Formatação menu utilizador | logout*/
.format-user-menu{
    background-color: transparent;
    border-radius: 0;
    border: transparent;
    height: 40px;
    font-size: 12px;
    font-family: 'Roboto', sans-serif;
}
.fa-user-circle{
    color: #fff;
    vertical-align: middle;
    margin-top: 12px;
    display: table-cell;
}
.btn-default:hover {
    background-color: transparent;
    border-color: #fff;
}
.dropdown-menu{
    margin-top: 40px;
}
.btn-default.active, .btn-default:active, .open>.dropdown-toggle.btn-default,
.open>.dropdown-toggle.btn-default:hover,
default:active:focus, .btn-default:active:hover,
.open>.dropdown-toggle.btn-default:focus,
.btn-default:focus
{
    background-color:transparent;
}
/* Login Erro */
.help-block {
    display: none;
}

.menu-text-format{
    font-size: 13px;
    font-family:  sans-serif;
    padding-left: 5px;
}

/* Clientes - Shipment */
.fa-search{
    color: white;
}

#row-cli-filter .fa-search{
    padding-top: 10px;
}
.cli-menu-degrade{
    background:#965513; 
    background: -webkit-linear-gradient(left,#965513 , #ca8d4b); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(right, #965513 , #ca8d4b); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(right, #965513 , #ca8d4b); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to right, #965513 , #ca8d4b); /* Standard syntax */ 
    cursor: pointer;
    height: 34px;
    font-size: 14px;
    font-weight: 400;
    color: white;
    line-height: 34px;
}

.color-icon-menu{
    background-color: darkgray;
    height: 34px;
    width: 38px;
    border-right: 4px solid white;
    text-align: center;
    margin-right: 10px !important;
}

.panel-show-color{
    background-color:#eee;
}
#row-cli-filter{
    padding-top: 10px;
}
#row-cli-filter-group{
    padding-top: 4px;
}
#panel-Documents .input-group-addon{
    background-color: #404040;
    color:white !important;
}
#panel-filtro .input-group-addon,
#panel-shipment .input-group-addon,
#panel-Logistics .input-group-addon
{
    background-color: darkgray;
    color:white;
    width: 100px;
    text-align: left;
}
#panel-filtro .form-control,
#panel-shipment .form-control,
#panel-Logistics .form-control,
#panel-Documents .form-control{
    background-color: white;
    /*padding-right: 20px;*/
}
#panel-filtro{
    padding-top: 5px;
}

#panel-filtro, #panel-shipment,
#panel-Logistics, #panel-Documents{
    padding: 10px;
}

#panel-filtro .form-group {
    margin: 0 0 15px 0;
}

/*  Clientes - Track your order*/
#btn-filtrar-CV{
    background-color: #404040;
    border-radius: 0;
    border: 1px solid #404040;
}

.track-format{
    color: white;
    text-align: right;
}
.sub-totals{
    text-align:  right;
}


.row-backoffice-filter{
     padding-top: 15px;
}

.btn-track-filtro{
    color: white !important;
    width: inherit;
}
.btn-track{
    width: inherit !important;
    background-color: whitesmoke !important;
    color: #404040 !important;
    border-radius: 0;
    border-color: #404040;
}

.btn-track.active, 
.btn-track:active,
.btn-track:visited, 
.btn-track .open>.dropdown-toggle.btn{
    width: inherit !important;
    background-color: #810080 !important;
    color: white !important;
    border-radius: 0;
    border-color: #810080;
}

/* Filtrar por CV */
.input-group-btn{
    width: 0;
}

#encomenda-detalhada {
    vertical-align: bottom;
    border-bottom: 1px solid chocolate;
    border-collapse: collapse;
    border-spacing: 0;
    border-top: 1px solid chocolate;
}

/* Igualar espacamento - Encomendas */
.table-top-magin{
    padding-top: 0px !important;
}
.btn-magin-bottom{
    padding-bottom: 0px !important;
}
/* ------ */ 

#encomeda-detalhada > thead{
    background-color: transparent; 
}

.table-encomenda-detalhada > thead > tr > th {
    vertical-align: bottom;
    border-bottom: 1px solid chocolate;
    vertical-align: middle;
}

#encomenda-detalhada .dataTable {
    border-collapse: collapse;
    border-spacing: 0;
    border-top: 1px solid #404040;
}

#encomenda-detalhada.dataTable.no-footer {
    border-bottom: 1px solid chocolate;
}

#encomenda-detalhada.dataTable .column-format{
    background-color: #404040;
    color: white;
}
.inputs-height{
    height: 34px !important;
}

#encomenda-detalhada td:nth-child(10),
#encomenda-detalhada th:nth-child(10),
#encomenda-detalhada td:nth-child(8),
#encomenda-detalhada th:nth-child(8),
#encomenda-detalhada td:nth-child(9),
#encomenda-detalhada th:nth-child(9),
#encomenda-detalhada th:nth-child(1),
#encomenda-detalhada th:nth-child(2),
#encomenda-detalhada th:nth-child(3),
#encomenda-detalhada th:nth-child(4),
#encomenda-detalhada th:nth-child(5),
#encomenda-detalhada th:nth-child(6),
#encomenda-detalhada th:nth-child(7),
#artigo th:nth-child(1),
#artigo th:nth-child(2),
#artigo th:nth-child(3),
#artigo th:nth-child(4), #artigo td:nth-child(4),
#artigo th:nth-child(5),
#artigo-du th:nth-child(1),#artigo-du th:nth-child(2),
#artigo-du th:nth-child(3), #artigo-du th:nth-child(4),
#artigo-vendas th:nth-child(1),
#artigo-vendas th:nth-child(2), #artigo-vendas th:nth-child(3),
#artigo-vendas th:nth-child(4),#artigo-vendas th:nth-child(5)
{
    vertical-align: middle;
    text-align : center;
}

#encomenda-detalhada td:nth-child(1),
#encomenda-detalhada td:nth-child(2),
#encomenda-detalhada td:nth-child(3),
#encomenda-detalhada td:nth-child(4),
#artigo td:nth-child(3){
    text-align: left;
}

#encomenda-detalhada td:nth-child(5),
#encomenda-detalhada td:nth-child(6),
#encomenda-detalhada td:nth-child(7),
#encomenda-detalhada td:nth-child(8),
#encomenda-detalhada td:nth-child(9),
#artigo-du td:nth-child(4),
#artigo-vendas td:nth-child(5),
#artigo-du td:nth-child(5),
#backoffice-gestao td:nth-child(11),
#backoffice-gestao td:nth-child(10)
{
    text-align : right;
}

#artigo-vendas td:nth-child(4),
#artigo-du td:nth-child(1),
#artigo-du td:nth-child(2),
#artigo-du td:nth-child(3),
#tabembarques td:nth-child(9),
#tabembarques td:nth-child(3),
#tabembarques td:nth-child(4),
#tabembarques td:nth-child(5),
#tabembarques td:nth-child(6),
#tabembarques td:nth-child(7)
{
    text-align: center;
}

#artigo-du >thead:first-child>tr:first-child>th {
    text-align: center;
}

.dataTables_empty{
    text-align: center !important;
}

/* Sub Tabela Listagem de artigos por documento de fornecedores - tack me */
.format-align-text-left{
    text-align: left;
}

/* BackOffice*/
.backoffice-menu-degrade{
    background:rebeccapurple; 
    background: -webkit-linear-gradient(left,rebeccapurple , mediumpurple); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(right, rebeccapurple , mediumpurple); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(right, rebeccapurple , mediumpurple); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to right, rebeccapurple , mediumpurple); /* Standard syntax */ 
}
nav#menu-backoffice ul{
	padding:0;
	margin:0;
	list-style:none;
    background-color: rebeccapurple;
}
.format-dialog-utilizador{
    width: 600px;
}

.format-dialog-gestao{
    width: 800px;
}

.hr-format{
    margin: 6px !important;
}
/* Paginação Datatable*/
#tabUtilizadores_paginate .pagination>.active>a, 
#tabUtilizadores_paginate .pagination>.active>a:focus, 
#tabUtilizadores_paginate .pagination>.active>a:hover, 
#tabUtilizadores_paginate .pagination>.active>span, 
#tabUtilizadores_paginate .pagination>.active>span:focus, 
#tabUtilizadores_paginate .pagination>.active>span:hover,
#tabBackOfficeDocumentation_paginate .pagination>.active>a, 
#tabBackOfficeDocumentation_paginate .pagination>.active>a:focus, 
#tabBackOfficeDocumentation_paginate .pagination>.active>a:hover, 
#tabBackOfficeDocumentation_paginate .pagination>.active>span, 
#tabBackOfficeDocumentation_paginate .pagination>.active>span:focus, 
#tabBackOfficeDocumentation_paginate .pagination>.active>span:hover
{
    background-color: rebeccapurple;
    border-color: rebeccapurple;
}
#embarque-listagem_paginate .pagination>.active>a, 
#embarque-listagem_paginate .pagination>.active>a:focus, 
#embarque-listagem_paginate .pagination>.active>a:hover, 
#embarque-listagem_paginate .pagination>.active>span, 
#embarque-listagem_paginate .pagination>.active>span:focus, 
#embarque-listagem_paginate .pagination>.active>span:hover{
    background-color: rebeccapurple;
    border-color: rebeccapurple;
}

#backoffice-fornecedores_paginate .pagination>.active>a, 
#backoffice-fornecedores_paginate .pagination>.active>a:focus,
#backoffice-fornecedores_paginate .pagination>.active>a:hover,
#backoffice-fornecedores_paginate .pagination>.active>span,
#backoffice-fornecedores_paginate .pagination>.active>span:focus, 
#backoffice-fornecedores_paginate .pagination>.active>span:hover,
#backoffice-documentos_paginate .pagination>.active>a, 
#backoffice-documentos_paginate .pagination>.active>a:focus,
#backoffice-documentos_paginate .pagination>.active>a:hover,
#backoffice-documentos_paginate .pagination>.active>span,
#backoffice-documentos_paginate .pagination>.active>span:focus, 
#backoffice-documentos_paginate .pagination>.active>span:hover{
    background-color: rebeccapurple;
    border-color: rebeccapurple;
}

.table-embarque-listagem > thead > tr > th {
    vertical-align: bottom;
    border-bottom: 1px solid rebeccapurple;
    vertical-align: middle;
}

#menu-backoffice .dropdown-menu > li > a {
    padding: 3px;
    border: 0;
    margin: 0;
    color: #303136;
    text-decoration: none;
    text-align: center;
}
#menu-backoffice .dropdown-menu > li > a:hover{
    background-color: darkgray !important;
    border-radius: 0;
    color:#fff;
    border: 0;
}
#menu-backoffice .dropdown-menu>.active>a{
    color: #303136;
}
#menu-backoffice .open>.dropdown-menu{
    display: inline-grid;
}

/* Icons user  - Backoffice filtro por estados de utilziador*/
#inactive{
    width: 40px;
}
#active{
    width: 40px;
}
#all{
    width: 40px;
}
.users-filtro{
    border-left: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
}
.users-filtro-all{
    border-left: 1px solid #ffffff;
}

/* Backoffice Lista de embarques - Estado */
.embarque-fechado{
    color:green;
}
.embarque-pendente{
    color: #d56d1c;
}

.chosen-container-single .chosen-single{
    border-radius: 0;
    height: 28px;
        line-height: 2;
}
.chzn-select{
    width: 100%;
    height: 28px;
}
.color-icon-menu-backoffice{
    height: 34px;
    width: 38px;
    text-align: center;
}
.cor-menu-filtro{
    background:#404040;
    height: 34px;
    font-size: 14px;
    font-weight: 400;
    color: white;
    line-height: 34px;
    border-right: 2px solid #ffffff;
}

#panel-filtro-backoffice{
    background-color:#fff;
}
.btn-format{
    margin-top: 0;
}
.btn-novo-embarque{
    width: 100%;
    border-radius: 0;
    background-color:#9b5c1c;
    color: white;
}
/* Icon pesquisa avançada */
.fa-plus-circle, .fa-minus-circle{
    margin-left: 10px;
    font-size: 13px;
    color: #404040;
}

#filtros-embarque .btn-track.active, 
#filtros-embarque .btn-track:active,
#filtros-embarque .btn-track:visited, 
#filtros-embarque .btn-track .open>.dropdown-toggle.btn{
    width: inherit !important;
    background-color: rebeccapurple !important;
    color: white !important;
    border-radius: 0;
    border-color: rebeccapurple;
}
#btn-filtra-embarque,
#btn-filtra-embarque .btn.focus, 
#btn-filtra-embarque .btn:focus, 
#btn-filtra-embarque .btn:hover{
    height: 26px;
    display: block;
    width: 100%;
    height: 26px;
    padding: 6px;
    font-size: 12px;
    background-color: #404040;
    color: white;
}
/* Centra coluna estado - Listagem de embarques */
#embarque-listagem td:nth-child(8),
#embarque-listagem th:nth-child(8),
#tabUtilizadores td:nth-child(6),
#tabUtilizadores td:nth-child(6)
{
    text-align : center;
}

#tabBackOfficeDocumentation td:nth-child(7){
    text-align: right;
}

#panel-Documents .fa-download{
    padding: 0;
    height: inherit;
    /* width: 37px; */
    background-color: transparent;
    color: white;
}

#embarque-listagem {
    vertical-align: bottom;
    border-bottom: 1px solid rebeccapurple;
    border-collapse: collapse;
    border-spacing: 0;
    border-top: 1px solid rebeccapurple
}

.table-embarque-listagem > thead > tr > th {
    vertical-align: bottom;
    border-bottom: 1px solid rebeccapurple;
    vertical-align: middle;
}

#embarque-listagem .dataTable {
    border-collapse: collapse;
    border-spacing: 0;
    border-top: 1px solid #404040;
}

#embarque-listagem.dataTable.no-footer {
    border-bottom: 1px solid rebeccapurple;
}

#embarque-listagem.dataTable .column-format{
    background-color: #404040;
    color: white;
}
.row-top{
    padding-top: 10px;
}
.well{
    margin-top: 10px;
}
.well-lg{
    display: inline-block;
}
.menu-transporte{
    text-align: center;
}

.tabs-transporte {
    text-align: left;
    color:#333;
}
#tab .btn-default.active
 {
    background-color: #a06124;
    color: white
 }

#tab .btn-default{
    background-color: #404040;
    color: white
}
.datatable-Anexos {
    padding-top: 0;
}

#btn-Recalcula-pl,
#btn-Recalcula-pl:focus{
    margin: 0 !important;
    height: 26px !important;
    width: 26px !important;
    background-color: #404040;
     color: white;
}
.pl-format{
    width: 100% !important;
}
.input-group-btn-pl{
    display: inline-block;
}

#btn-Recalcula-pl:hover {
    background-color: white;
    color: #404040;
}
.datepicker-dropdown{
    right: inherit !important;
    margin-top: inherit !important;
}
input[type=checkbox], input[type=radio]{
    margin: 0;
}

/* Formatação texto anexos */
.texto-anexos{
    text-align: center;
    font-size: 13px;
    font-family: sans-serif;
    color: #404040;
}
.remove-color{
    color:darkred !important;
}

/* Criar embarque - Tipo de contentor */
.format-grid{
    padding-left: 2px;
    padding-right: 2px;
}

@media (min-width: 992px){ 
    .col-md-3 {
        width: 20%;
    }
} /* REVER | caso col-md-3 */

.alert{
    padding-bottom:0 !important;
    padding-left:15px !important;
    padding-top: 0px !important;
}
.alert-dismissable{
    padding-right: 0px !important;
}

.chosen-container-single {
    height: 28px !important;
}

.btns-backoffice,
.btns-backoffice:focus{
    background-color: rebeccapurple;
    color: white;
}
.btns-backoffice:hover {
    color: #639 ;
    text-decoration: none ;
    background-color: white ;
    border-color: #639 ;
}
.btn-add-certificado,
.btn-add-certificado:focus{
    background-color:#404040;
    color: white;
}
.btn-add-certificado:hover{
    background-color: white;
    color: #404040;
}
.btns-format-border{
    width: 100px;
    border-radius: 0 !important;
}
.btns-format-border-envio-mail{
    width: 160px;
    border-radius: 0 !important;
}
.fa-eye{
    color: #404040;
}
.dhl-color{
    background-color: #FECB00;
    text-align: center;
}
.color-icon {
    color: white !important;
}
.btn-logout{ /* INDEX */
    width: 100px;
    border-radius: 0;
    color:white;
    margin-top: 5px;
    margin-bottom: 10PX;
}

@media (min-width: 641px) {
    span.icon {display:none}
    span.text {display:inline-block}
}

div.dataTables_wrapper div.dataTables_length select{
    height: 34px;
}

/* MEDIA QUERIES */
.responsive-menu{
    overflow: hidden;
}
.responsive-menu a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}
.responsive-menu a:hover {
  background-color: #ddd;
  color: black;
}

.responsive-menu .icon {
  display: none;
}

@media screen and (max-width: 600px) {
  .responsive-menu a:not(:first-child) {display: none;}
  .responsive-menu a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .responsive-menu.responsive {position: relative;}
  .responsive-menu.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .responsive-menu.responsive a {
    float: none;
    display: block;
    text-align: left;
  }

}

.btns-backoffice,
.btns-backoffice:focus {
    background-color: rebeccapurple;
    color: white;
}

.btns-backoffice:hover {
    color: #639;
    text-decoration: none;
    background-color: white;
    border-color: #639;
}

.navbar-default {
    background-color: #fff;
    position: relative;
    min-height: 40px;
    margin-bottom: 20px;
    border: 0;
}

.navbar-default .navbar-brand {
    color: #555;
}

.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
    color: #3b3b3b;
    background-color: transparent;
}

.navbar-default .navbar-text {
    color: #555;
}

.navbar-default .navbar-nav {
    width: 100%;
}

.navbar-default .navbar-nav>li>a {
    padding: 0px 15px;
    line-height: 40px;
    color: #fff;
    display: inline-block;
    border-right: solid 2px #fff;
    width: 100%;
    text-decoration: none;
}

.navbar-default .navbar-nav>li.pull-right>a {
    border: 0;
}

.navbar-default .navbar-nav>li>a .fa-user-circle {
    margin-top: 0;
    display: inherit;
}

.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>li>a:focus {
    background-color: #ccc;
    color: #404040;
}

.navbar-default .navbar-nav>li.pull-right>a:hover,
.navbar-default .navbar-nav>li.pull-right>a:focus {
    background-color: inherit;
}

.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus {
    color: #fff;
    background-color: #404040;
    width: 188px;
    text-align: center;
}

.navbar-default .navbar-nav>.disabled>a,
.navbar-default .navbar-nav>.disabled>a:hover,
.navbar-default .navbar-nav>.disabled>a:focus {
    background-color: #ccc;
    color: #404040;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: #ddd;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #888;
}

.navbar-default .navbar-nav>.open>a,
.navbar-default .navbar-nav>.open>a:hover,
.navbar-default .navbar-nav>.open>a:focus {
    background-color: #f8f8f8;
    color: #333333;
}

.navbar-collapse {
    padding: 0;
}

/* Small Devices Potrait */
@media (max-width: 800px){
     /* Tabela embarques */
    #tabembarques, #encomenda-detalhada, 
    #artigo, #artigos-table, #artigo-stocks, 
    #artigo-vendas, #backoffice-gestao,
    #table-docs{
        overflow-x: scroll;
        overflow-y: hidden;
        display: block;
    }
}

@media (max-width: 767px) {

    /* Index */
    .media-left{
        vertical-align: middle;
             padding-left: 5px;
    }

    .media-left > .icon { 
        position: relative; 
        margin-top: 30px; 
        width: 60px; 
        height: 60px; 
        line-height: 50px; 
        border-radius: 50%;  
        vertical-align: middle; 
    }

    .media-left > .icon > img { 
        width: 35px;
        padding-top: 14px;
    }
    #img-fhc-branca{
        margin-top: -38px;
    }

    .login-header > .col-md-9{
        padding-top: 0px;
    }

    footer {
        padding: 1rem;
        background-color: #404040;
        width: 100%;  

        /*height: 50px;*/
        position: absolute;
        bottom: 0;
        left: 0;
    }

    .text-media{
        text-align: center;
    }

    .text-media-remove{
        display: none;
    }
    
    /* Tabela embarques */
    #tabembarques, #encomenda-detalhada, 
    #artigo, #artigos-table,#artigo-stocks,
    #artigo-vendas, #artigo-du, #backoffice-gestao,
    #table-docs{
        overflow-x: scroll;
        overflow-y: hidden;
        display: block;
    }
 
    #tabembarques_length, #encomenda-detalhada_length, 
    #artigo_length, #artigo-stocks_length,
    #artigo-vendas_length, #artigo-du_length, #backoffice-gestao_length,
    #table-docs_length{
        display: none;
    }
    
    #row-cli-filter, #row-cli-filter-group{
        margin-left: 5px;
        margin-right: 5px;
    }
    .navbar-default .navbar-nav {
        margin: 0;
    }
    .navbar-default .navbar-nav>li>a {
        padding: 0px;
        line-height: 40px;
        color: #fff;
        background-color: #333;
        display: inline-block;
        border-right: 0;
        width: 100%;
        text-decoration: none;
        cursor: pointer;
        text-align: center;
    }
    .navbar-default .navbar-nav>li.pull-right {
        float: inherit !important;
    }
    .navbar-collapse {
        background: #333333;
    }
    .navbar-collapse ul.navbar-nav>li>a {
        color: #fff;
    }
    .dropdown-menu li a,
    .dropdown-menu>li>a:hover {
        color: #fff;
        border-bottom: 1px solid rgba(0, 0, 0, .3);
    }
    .navbar-nav .open .dropdown-menu>li>a,
    .navbar-nav .open .dropdown-menu .dropdown-header {
        padding: 5px;
        background-color: #404040 !important;
    }
    ul.navbar-nav>li {
        display: block;
        width: 100%;
    }
    ul.navbar-nav>li>a {
        padding: 20px 0;
    }
    .navbar-nav .open .dropdown-menu>li>a {
        line-height: 30px;
        font-size: 13px;
    }
    .navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,
    .navbar-default .navbar-nav .open .dropdown-menu>li>a:hover {
        color: #fff;
    }
    .navbar-default .navbar-nav>.open>a,
    .navbar-default .navbar-nav>.open>a:hover,
    .navbar-default .navbar-nav>.open>a:focus {
        background-color: #333;
        color: #fff;
    }

    .navbar-default .navbar-nav>.active>a,
    .navbar-default .navbar-nav>.active>a:hover,
    .navbar-default .navbar-nav>.active>a:focus {
        color: #fff;
        background-color: #404040;
        width: 100%;
        text-align: center;
    }

    .dropdown-menu .divider {
        display: none;
    }

    .logo {
        margin: 5px 0 0px 10px;
    }

    div.dataTables_wrapper div.dataTables_filter input {
        margin-left: 0;
        width: 100%;
    }
 
    /*.fa-download{
        display: none;
    }*/

    #row-cli-filter{
        margin-top: -20px;
    }

    .datatable{
        margin-top: -20px;
    }

    .btn-track{
        display: none;
    }

    .format-dialog-utilizador{
        width: 90%;
    }

    .row-cli-filter-trackYourOrder{
        display: none;
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button {
        padding : 0px;
        margin-left: 0px;
        display: inline;
        border: 0px;
    }

    div.dt-buttons {
        display: -webkit-inline-box;
    }

    /* Atenção tablet */
    .col-text-info{
        display: none;
    }
    .content{
        padding-top: 30px;
    }
    /*.navbar{
        margin-bottom: 0px; 
        margin-top: -15px;
    }*/
    .content .login {
        /*height: 230px;*/
        border-style: none;
        padding-right: 0px;
    }

    /* Imp.07-07-2017 - Index.blade.php */
    .layout-small-devices{
        margin-right: 0px !important;
    }

}

.format-icons-menus{
    width: 188px;
    text-align: center;
}

.sub-Table{
    margin-bottom: 0px !important;
}

/* ### BackOffice - Gestão ### */
.fornecedores-add-Oculto{
    display: flex;
}

.btn-gestao-format{
    color: white;
    text-align: center;
    background-color: #404040;
    margin-left: 4px !important;
    display: inline-block !important;
    border-radius: 1px !important;
    height: 28px;
    line-height: 28px;
    padding: 0 8px;
}
/*Formatação icon add Forncedor & Download Info*/
.icon-format{
    margin-top: 7px ;
    margin-left: 2px
}

.Fornecedor-chosen-size{
    min-width: 529px;
}
#backoffice-documentos > thead > tr > th{
    text-align: center;
}

#backoffice-documentos td:nth-child(11),
#documents-table td:nth-child(3),
#documents-table td:nth-child(5),
#documents-table td:nth-child(7)
{
    text-align: right;
}

#documents-table .table>tbody>tr>td
{
    vertical-align: middle !important;
}

.remove-margin{
    margin-top: 12px !important;
    margin-bottom: 12px !important;
}

#backoffice-panel-filtro{
    color: #404040 !important;
}

#exportar{
    margin: 5px;
}

/* RANGE PICKER - Imp.22-02-2018 */
#dataFiltroRangePicker{
    padding-right: 10px;
    margin-right: 10px;
    color: #404040;
    text-align: center;
}

.ranges li {
    font-size: 13px;
    background-color: #f5f5f5;
    border: 1px solid #f5f5f5;
    border-radius: 0;
    color: #404040;
    padding: 3px 12px;
    margin-bottom: 8px;
    cursor: pointer;
}
.ranges li.active{
    background-color: #810080;
    border: 1px solid #810080;
    color: #fff;
}
.ranges li:hover {
    background-color: #e500ac;
    border: 1px solid #e500ac;
    color: #fff;
}
.applyBtn{
    border-radius: 0;
    background-color: #404040 !important;
    border-color: #404040;
}

.daterangepicker .input-mini, .daterangepicker .input-mini.active, 
.daterangepicker td.start-date, .daterangepicker td.end-date,
.cancelBtn {
    border-radius: 0;
}
.daterangepicker td.active, .daterangepicker td.active:hover {
    background-color: #810080;
    border-color: transparent;
    color: #fff;
}

.bootbox{
    width: 400px !important;
    padding: 30px;
    margin: 30px auto;
}

/* Imp.26-02-2018 */
.daterangepicker{
    margin-top: 0!important;
}

.text-email-send-result{
    text-align: left !important;
    padding-top: 6px;
}

.btn-group-backoffice{
    text-align: center;
    display: block;
}
.btn-group-backoffice>.btn:first-child{
   color: white;
   width: 100%;
}
.btn-group-backoffice>.btn{
   float: none;
}

/* Chosen - Top Margim */
.chosen-top-margin{
    padding-top: 18px;
}

/* Termos layout format */
.termos-separador{
    height: 34px;
    display:flex;
    align-items:center;
    color: white;
}

#termosDescricao{
    margin: 20px 0 0 0;
    height: 100%;
    width: 100%;
    border: 0px !important;
}

.btns-termos,
.btns-termos:focus{
    background-color: #800080;
    color: white;
}
.btns-termos:hover {
    color: #800080 ;
    text-decoration: none ;
    background-color: white ;
    border-color: #800080 ;
}

.text-align-right{
    text-align: right !important;
}

.text-modal-gestao{
    text-align: right;
    margin-right: 20px;
}

.img-backoffice-logo{
    height: 68px !important;
}

a#exportExcel {
    color: #fff;
}
a#exportExcel:hover {
    color: #fff;
}

/* ### INQUÉRITOS ###*/
.inquerito-titulo{
    text-align: center;
}
.inquerito-titulo-descricao{
    text-align: justify;
} 
.inquerto-height-space{
    padding: 10px 10px 10px 10px;
}
.inquerito-observacao{
    margin-top: 10px;
}
.inquerito-observacoes{
    background-color: white !important;
}
.calc{
    margin-top: 3px !important;
}

/* Clientes - Formatação de tabela envios : Imp.04-06-2019 */
#tab-row-shipment{
    border-bottom: none !important;
}

.fa-download-client-doc{
    color: #333 !important;
    background-color: transparent !important;
    padding: 0;
    height: 15px;
}
#tabembarques th{
    text-align: center;
    vertical-align: middle;
}

#tabembarques tr{
    height: 50px;
}

#logistics th, #tab-row-shipment, #technicaldocs th{
    text-align: left !important;
}

#aditionalinformation, #logistics, #technicaldocs{
    border: 1px solid #ececec;
    margin-bottom: 5px;
}

#aditionalinformation tr,
#logistics tr, 
#technicaldocs tr{
    height: 0px !important;
}

.clients-view-more{
    color: #333 !important;
}

.text-right{
    text-align: right !important;
}
.client-summary-format{
    border-top: solid 1px #404040 !important;
}
.shown > tr{
    border: solid 1px #f3f3f3;
}
.client-force-menu-layout{
    width: 210px !important;
}

/*BackOffice Documentação*/
.disabled {
    pointer-events:none; 
    opacity:0.6;      
    background-color: #888;   
}
.danger-item{
    color: #f5ce07;
}
.ok-item{
    color:#3c763d;
}
.format-dialog-documentacao {
    width: 700px;
}
.format-item-upload-download-docs{
    margin-right: 15px;
}
.file-down{
     color: #404040;
    background-color: #f9f9f9;
    padding: 0;
    height: auto;
}