body {
    height: 96%;
    margin: 0;
    padding: 0;
}

table.sortable
    th:not(.sorttable_sorted):not(.sorttable_sorted_reverse):not(.sorttable_nosort):after {
    content: "";
}

.custom_container {
    margin: 0 10px;
}

.input-custom-form {
    height: 34px;
}

.summary-tile .tile {
    cursor: default;
}

.equipamentos {
    background: #fff;
    max-height: 400px;
    margin-top: 8px;
    overflow: auto;
    padding: 10px 30px;
}
.grid-width {
    width: 89%;
}

.menu-button {
    position: fixed;
    right: 0;
    width: 10%;
    margin-top: 40px;
}

.menu-button button {
    width: 90%;
    margin: 5px;
}

.select2-results__options {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.fixed-table-title table {
    width: 100%;
}

.fixed-table-title thead,
.fixed-table-title tbody,
.fixed-table-title tr,
.fixed-table-title td,
.fixed-table-title th {
    display: block;
}

.fixed-table-title tr:after {
    content: " ";
    display: block;
    visibility: hidden;
    clear: both;
}

.fixed-table-title tbody {
    max-height: 120px;
    overflow-y: auto;
}

.fixed-table-title thead {
    /* fallback */
    width: 99.1%;
}

.fixed-table-title tbody td {
    height: 50px;
    font-size: 11px !important;
}
.fixed-table-title tbody td,
.fixed-table-title thead th {
    width: 10%;
    float: left;
    font-size: 11px !important;
    /*padding: 4px !important;*/
}

.error {
    color: red;
}

.custom_row {
    width: 225px !important;
}
.custom_row_last {
    width: 15.3% !important;
}

#busca {
    overflow: auto;
}
.comando_name {
    overflow: hidden;
    white-space: nowrap;
}
#cmd_confirm.fixed-table-title td {
    width: 19.9%;
    height: 32px;
}
#cmd_pendentes.fixed-table-title td {
    width: 24.9%;
    height: 32px;
}
#multiplos_comandos.fixed-table-title td {
    width: 11.1%;
    height: 32px;
}

#table_msg_keyboard.fixed-table-title tbody td,
#table_msg_keyboard.fixed-table-title thead th {
    width: 24.5%;
}
#cmd_pendentes.fixed-table-title thead th {
    width: 24.5%;
}
#multiplos_comandos.fixed-table-title thead th {
    width: 11.1%;
}
#cmd_confirm.fixed-table-title thead th {
    width: 19.5%;
}
#cmd_confirm.fixed-table-title td,
#cmd_pendentes.fixed-table-title td {
    font-size: 11px;
}
#multiplos_comandos.fixed-table-title td {
    font-size: 11px;
}
#cmd_confirm.fixed-table-title tbody,
#cmd_pendentes.fixed-table-title tbody {
    max-height: 70px;
    overflow-y: scroll;
}
#multiplos_comandos.fixed-table-title tbody {
    max-height: 380px;
    overflow-y: scroll;
}
#busca_clientes.fixed-table-title tbody {
    max-height: 220px;
}
#busca_clientes.fixed-table-title tbody td,
#busca_clientes.fixed-table-title thead th {
    width: 16.5%;
}

#busca-dispositivo-grid.fixed-table-title tbody {
    max-height: 220px;
}
#busca-dispositivo-grid.fixed-table-title tbody td,
#busca-dispositivo-grid.fixed-table-title thead th {
    width: 32.5%;
}
#veiculos.fixed-table-title tbody td,
#veiculos.fixed-table-title thead th {
    width: 32.9%;
}
div#isento.select {
    margin-right: 21px;
}
.cellEditing input {
    width: 30px;
    height: 20px;
    text-align: center;
}
#grid-monitor-disp td,
#grid-monitor-comandos td,
#grid-monitor-sinistros td,
#grid-monitor-clientes td,
#eventos td {
    height: 40px;
}

table#eventos input {
    max-width: 30px;
    text-align: center;
}

.error-field {
    border-color: #f00;
}
.ign-none {
    background-color: #8a8a8a;
}
.first-row {
    width: 4% !important;
}
table#list_historico.fixed-table-title tbody td,
table#list_historico.fixed-table-title thead th {
    width: 8%;
	max-width: 9%;
}
table#list_diag.fixed-table-title tbody td,
table#list_diag.fixed-table-title thead th {
    width: 10.6%;
}
table#list_diag.adjust-col-8.fixed-table-title tbody td,
table#list_diag.adjust-col-8.fixed-table-title thead th {
    width: 13.7%;
}

table#list_diag.fixed-table-title tbody td[colspan="8"] {
    width: 100%;
}
table#list_diag.fixed-table-title tbody td[colspan="8"] div {
    height: 100%;
    justify-content: center;
}

table#list_diag.fixed-table-title tbody td div{
    display: flex;
    align-items: center;
}
table#list_diag.fixed-table-title tbody td div.checkbox {
    margin-bottom: 0;
}

table#tbl_comandos.fixed-table-title tbody td,
table#tbl_comandos.fixed-table-title thead th,
table#tbl_funcionalidades.fixed-table-title tbody td,
table#tbl_funcionalidades.fixed-table-title thead th,
table#tbl_master.fixed-table-title tbody td,
table#tbl_master.fixed-table-title thead th {
    width: 49%;
}

table#tbl_trp_eventos.fixed-table-title tbody td,
table#tbl_trp_eventos.fixed-table-title thead th {
    width: 33%;
}

table#tbl_trp_eventos.fixed-table-title tbody,
table#tbl_comandos.fixed-table-title tbody,
table#tbl_funcionalidades.fixed-table-title tbody,
table#tbl_master.fixed-table-title tbody {
    max-height: 345px;
}

table#grid-monitor-disp.table,
table#grid-monitor-comandos.table,
table#grid-monitor-sinistros.table,
table#grid-monitor-clientes.table,
table#grid-monitor.table {
    margin-bottom: 0px;
}
#grid {
    height: 32%;
    margin-left: -21px;
    margin-top: -21px;
    /*overflow: auto;*/
    position: fixed;
    width: 99%;
    /*bottom: 39px;*/
}
#grid-monitor.fixed-table-title thead {
    width: 99.1%;
}
#grid-monitor-disp.fixed-table-title tbody,
#grid-monitor-comandos.fixed-table-title tbody,
#grid-monitor-sinistros.fixed-table-title tbody,
#grid-monitor-clientes.fixed-table-title tbody,
#grid-monitor.fixed-table-title tbody {
    max-height: 182px;
    overflow-y: scroll;
}

#grid-monitor-disp.fixed-table-title thead th,
#grid-monitor-comandos.fixed-table-title thead th,
#grid-monitor-sinistros.fixed-table-title thead th,
#grid-monitor-clientes.fixed-table-title thead th,
#grid-monitor-disp.fixed-table-title tbody td,
#grid-monitor-comandos.fixed-table-title tbody td,
#grid-monitor-sinistros.fixed-table-title tbody td,
#grid-monitor-clientes.fixed-table-title tbody td,
#grid-monitor.fixed-table-title thead th,
#grid-monitor.fixed-table-title tbody td {
    /*height: auto;*/
    font-size: 11px;
}

.busca-id-disp-cliente {
    width: 49% !important;
}
.busca-id-disp-chassi {
    width: 20% !important;
}
.busca-id-disp-placa {
    width: 10% !important;
}
.busca-id-disp {
    width: 20% !important;
}
.grid-list-mon-id-disp {
    width: 3.8vw !important;
}
.grid-list-mon-cliente {
    width: 5vw !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis-word;
}
.grid-list-mon-comandos {
    width: 11.1vw !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis-word;
}
.grid-list-mon-observacao {
    width: 24vw !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis-word;
}
.grid-list-mon-placa {
    width: 4vw !important;
}

.grid-list-mon-nome {
    width: 7.5vw !important;
}

.grid-list-mon-fabricante {
    width: 5vw !important;
}
.grid-list-mon-chassi {
    width: 8vw !important;
}
.grid-list-mon-evento {
    width: 10.5vw !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis-word;
}
.grid-list-mon-data-gps,
.grid-list-mon-data-sis {
    width: 7.6vw !important;
}
.grid-list-mon-lat {
    width: 4.6vw !important;
}
.grid-list-mon-long {
    width: 5vw !important;
}
.grid-list-mon-status {
    width: 3.5vw !important;
}
.grid-list-mon-end-disp-chassi {
    width: 9vw !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis-word;
}
.grid-list-mon-end-disp {
    width: 9vw !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis-word;
}
.grid-list-mon-end-chassi {
    width: 5vw !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis-word;
}
.grid-list-mon-end {
    width: 9vw !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis-word;
}
.event-list-mon-data-sis,
.event-list-mon-data-gps {
	width: 10vw !important;
}

.grid-list-mon-ign,
.grid-list-mon-vel,
.grid-list-mon-e1,
.grid-list-mon-e2,
.grid-list-mon-e3,
.grid-list-mon-s1,
.grid-list-mon-s2,
.grid-list-mon-tensao,
.grid-list-mon-link {
    width: 2.2vw !important;
}
.grid-list-mon-rpm {
    width: 2.8vw !important;
}

.grid-list-mon-bateria {
    width: 3.3vw !important;
}

.without-icon {
    content: "" !important;
}

.all_content {
    height: 100%;
    width: 100%;
}

.red {
    color: red !important;
}
.green {
    color: green !important;
}
.grey {
    color: lightgrey !important;
}

/*Loader*/
.loader-wrapper,
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.loader,
#loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #3498db;
    -webkit-animation: spin 2s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 2s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}

.loader:before,
#loader:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #e74c3c;
    -webkit-animation: spin 3s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 3s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}

.loader:after,
#loader:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #f9c922;
    -webkit-animation: spin 1.5s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 1.5s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg); /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(0deg); /* IE 9 */
        transform: rotate(0deg); /* Firefox 16+, IE 10+, Opera */
    }
    100% {
        -webkit-transform: rotate(360deg); /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(360deg); /* IE 9 */
        transform: rotate(360deg); /* Firefox 16+, IE 10+, Opera */
    }
}
@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg); /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(0deg); /* IE 9 */
        transform: rotate(0deg); /* Firefox 16+, IE 10+, Opera */
    }
    100% {
        -webkit-transform: rotate(360deg); /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(360deg); /* IE 9 */
        transform: rotate(360deg); /* Firefox 16+, IE 10+, Opera */
    }
}
/*Loader*/

#map_canvas {
    margin: 0;
    padding: 0;
    height: 100%;
}

#map_control {
    position: fixed;
    left: 15px;
    top: 415px;
    z-index: 1032;
}

#wheel3 .disable,
.toolbar-group {
    background: #000;
    border-radius: 4px;
    padding: 3px;
}

#wheel3 .enable {
    background: #666;
    border-radius: 4px;
    padding: 3px;
}

.table-font th,
.table-font td {
    font-size: 11px !important;
}

#wrapper {
    height: 25%;
    overflow-x: auto;
    white-space: nowrap;
    overflow-y: hidden;
}

.agenda-display-inline {
    display: inline-block;
}

#os #form_veiculo,
#os #form_chassi,
#os #form_agendada,
#os #form_resultado,
#os #form_instalador {
    display: none;
}

#os_list td {
    font-size: 11px;
}

.button-info-window {
    width: 110px;
}

#user_with_profile {
    background: #fff;
    min-height: 115px;
    max-height: 115px;
    border: 1px solid #d9d9d9;
    overflow-y: scroll;
}

/*.metro .tab-control .tabs > li > a*/
#tab_tratamento.metro.tab-control.tabs > li .disabled {
    background: #ccc;
}

.readonly {
    background: #eee;
    color: #666;
}

div#parameter {
    width: 1110px;
    font-size: 1.3rem;
}
.metro #map_canvas [draggable] {
    cursor: inherit;
}

.map_view {
    height: 350px;
    margin-bottom: 10px;
}

@media (max-width: 1500px) {
    .sidebar .on-right {
        margin-left: -7px;
    }
    .metro ul,
    .metro ol {
        font-size: 10pt;
    }
    .metro .span7,
    .metro .size7 {
        width: 495px !important;
    }
    /*Tela de comandos*/
    #parameter {
        margin: 0 0 0 -16px;
        width: 1482px;
    }
    #comando_screen .span1 {
        width: 28px !important;
    }
    #comando_screen .span8 {
        width: 600px !important;
    }
    #parameter .input-control.text,
    #parameter .input-control.password,
    #parameter .input-control.file,
    #parameter .input-control.email,
    #parameter .input-control.tel,
    #parameter .input-control.number {
        height: 29px;
    }
    .grid-list-mon-data-sis,
    .grid-list-mon-data-gps {
        white-space: nowrap;
    }
}

/* MENU */
@media (max-width: 1210px) {
    .menu-text {
        display: none;
    }
    .menu-button {
        width: 5%;
    }
}
@media (max-width: 800px) {
    .menu-text {
        display: inline;
    }
    .sidebar .menu-text {
        display: none;
    }
    .menu-button {
        width: 5%;
    }
}
/* FIM MENU */
@media (min-width: 1600px) {
    .map_view {
        height: 395px;
    }
    #map_control {
        top: 462px;
    }
}
@media (min-width: 1680px) {
    .map_view {
        height: 489px;
    }
    #map_control {
        top: 532px;
    }
}
@media only screen and (max-width: 1350px) {
    #grid-monitor-disp.fixed-table-title thead th,
    #grid-monitor-comandos.fixed-table-title thead th,
    #grid-monitor-sinistros.fixed-table-title thead th,
    #grid-monitor-clientes.fixed-table-title thead th,
    #grid-monitor-disp.fixed-table-title tbody td,
    #grid-monitor-comandos.fixed-table-title tbody td,
    #grid-monitor-sinistros.fixed-table-title tbody td,
    #grid-monitor-clientes.fixed-table-title tbody td,
    #grid-monitor.fixed-table-title thead th,
    #grid-monitor.fixed-table-title tbody td {
        font-size: 10px;
    }
}

@media only screen and (max-width: 1366px) {
    #grid-monitor-disp.fixed-table-title thead th,
    #grid-monitor-comandos.fixed-table-title thead th,
    #grid-monitor-sinistros.fixed-table-title thead th,
    #grid-monitor-clientes.fixed-table-title thead th,
    #grid-monitor-disp.fixed-table-title tbody td,
    #grid-monitor-comandos.fixed-table-title tbody td,
    #grid-monitor-sinistros.fixed-table-title tbody td,
    #grid-monitor-clientes.fixed-table-title tbody td,
    #grid-monitor.fixed-table-title thead th,
    #grid-monitor.fixed-table-title tbody td {
        font-size: 10px;
    }
    #grid-monitor-disp.fixed-table-title tbody,
    #grid-monitor-comandos.fixed-table-title tbody,
    #grid-monitor-sinistros.fixed-table-title tbody,
    #grid-monitor-clientes.fixed-table-title tbody,
    #grid-monitor.fixed-table-title tbody {
        max-height: 121px;
    }
    #grid-monitor-clientes th,
    #grid-monitor th {
        cursor: pointer;
    }
    .map_view {
        height: 300px;
        margin-bottom: 10px;
    }
    #map_control {
        top: 339px;
    }
    #comando_screen .span8 {
        width: 575px !important;
    }
}

/* Smartphones (portrait and landscape) ----------- */
/*@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
 Styles
}*/

/* Smartphones (landscape) ----------- */
/*@media only screen
and (min-width : 321px) {
 Styles
}*/

/* Smartphones (portrait) ----------- */
/*@media only screen
and (max-width : 320px) {
 Styles
}*/

/* iPads (portrait and landscape) ----------- */
/*@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px) {
 Styles
}*/

/* iPads (landscape) ----------- */
/*@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : landscape) {
 Styles
}*/

/* iPads (portrait) ----------- */
/*@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : portrait) {
 Styles
}*/

/* Large screens ----------- */
/*@media only screen
and (min-width : 1824px) {
 Styles
}*/

/* iPhone 4 ----------- */
/*@media
only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5) {
 Styles
}*/

.fixed_headers table {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 550px; /* this can vary */
}

.fixed_headers table * {
    box-sizing: inherit;
    -moz-box-sizing: inherit;
}

.fixed_headers thead {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 98.9%;
}

.fixed_headers tbody {
    overflow-y: scroll;
    display: inline-block;
    width: 100%;
}

.fixed_headers thead > tr,
.fixed_headers tbody > tr,
.fixed_headers tfoot > tr {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.fixed_headers thead,
.fixed_headers tfoot {
    flex-shrink: 0;
}

.fixed_headers th,
.fixed_headers tbody td {
    width: 20%; /* this can vary */
    overflow-x: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}

.fixed_headers tfoot {
    display: inline-block;
}

.fixed_headers tfoot td {
    width: 100%;
    display: inline-block;
}

#blanket {
    background-color: #111;
    opacity: 0.75;
    *background: none;
    position: absolute;
    z-index: 99991;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
}

#popUpDiv {
    position: absolute;
    left: 50%;
    top: 15%;
    background: url(../popup_manutencao.png) no-repeat;
    width: 452px;
    height: 559px;
    margin-left: -226px;
    z-index: 99992;
    cursor: pointer;
}

#popUpDivMobile {
    position: absolute;
    left: 40%;
    top: 15%;
    background: url(../popup_manutencao_mobile.png) no-repeat;
    width: 800px;
    height: 400px;
    margin-left: -226px;
    z-index: 99992;
    cursor: pointer;
}

.metro.notify-container {
    top: 50px;
}

.pagination {
    display: inline-block;
    max-height: 20px;
}

.pagination a {
    color: black;
    float: left;
    padding: 6px 10px;
    text-decoration: none;
    cursor: pointer;
}

.pagination a.active {
    background-color: #4caf50;
    color: white;
    border-radius: 5px;
}

.pagination a:hover:not(.active):not(.reticences) {
    background-color: #ddd;
    border-radius: 5px;
}

th > i.fa.fa-caret-up,
th > i.fa.fa-caret-down {
    padding-left: 5px;
}

.metro.window-overlay > .window.flat {
    top: 20px !important;
    display: table !important;
}

@supports (-moz-appearance:none) {
    .metro .input-control[data-role="datepicker"] button.btn-clear {
        display: block;
        color: #b5b5b5
    }
}
.select2-selectionspan ul {
    height: 27px;
    overflow-y: scroll;
    padding-right: 24px;
}
.select2-selectionspan ul span.select2-selection__clear {
    position: absolute;
    right: 0px;
}

div#formProprio .span4 {
	width: 400px !important;
}

.no-border {
	border: 0 !important;
}

.align-check {
	margin-bottom: -6px;
	margin-left: 58px;
}
.check-text {
	display: inline;
	margin-left: 9px;
	vertical-align: sub;
}
.monitoramento-text {
	min-height: 156px !important;
}
.atendimento-box {
	max-height: 156px;
}
.atendimento-btn {
	width: 100%;
}
#save_atendimento {
	margin-right: 180px;
}
.evento-card {
	width: 150px !important;
}
.evento-tile {
	width: 150px !important;
}
.agendamento-card {
	width: 308px !important;
}
.agendamento-tile {
	width: 308px !important;
}
/* DASHBOARD*/
.sumario-informativo {
	width: 205px;
}
.panel-content a {
	display: block;
}
.dados-cliente,
.suporte-card {
	width: 300px !important;
}
.ultima-comunicacao {
	width: 460px !important;
}
.tabela-apn {
	margin-right:20px;
	width: 300px !important;
}
.grafico-evolucao {
	width: 700px !important;
}
.diagnostico-header,
.diagnostico-td {
	width: 10.6668% !important;
}
.diagnostico-td div {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 800px) {
	.sumario-informativo,
	.dados-cliente,
	.suporte-card,
	.grafico-evolucao {
		width: 100% !important;
	}
	.ultima-comunicacao {
		margin-left: 0 !important;
		width: 100% !important;
	}
	.tabela-apn {
		margin-left: 0 !important;
		margin-right: 0 !important;
		width: 100% !important;
	}
}

.metro button.success:disabled {
	background-color: #c9c9c9 !important;
}

.metro button:disabled {
	background-color: #c9c9c9 !important;
}

i.icon-loading {
	animation: spinner 1500ms infinite linear;
}

@keyframes spinner {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
