﻿h1.panel-title {
    font-size: 36px;
}
h2.panel-title {
    font-size: 30px;
}
h3.panel-title {
    font-size: 24px;
}
h4.panel-title {
    font-size: 18px
}
h5.panel-title {
    font-size: 14px
}
h6.panel-title {
    font-size: 10px;
}

legend.panel-subtitle {
    font-size: 16px;
    font-weight: 600;
}

.icon-stack {
    position: relative;
}
.icon-stack .fa {
    position: absolute;
}

.step-wizard.step-wizard-padding-15 {
    padding: 15px;
}

.padding-top-xs {
    padding-top: 5px !important;
}

.padding-bottom-xs {
    padding-bottom: 5px !important;
}

.padding-bottom-xxs {
    padding-bottom: 2px !important;
}

.padding-left-sm {
    padding-left: 12px !important;
}

.padding-horizontal-none {
    padding-left: 0;
    padding-right: 0;
}

.padding-icon-stack {
    padding-left: 22px !important;
}

.margin-top-xxs {
    margin-top: 2px !important;
}

.margin-top-xs {
    margin-top: 5px !important;
}

.margin-top-sm {
    margin-top: 12px !important;
}

.margin-top-md {
    margin-top: 20px !important;
}

.margin-bottom-xs {
    margin-bottom: 5px !important;
}

.margin-bottom-xxs {
    margin-bottom: 2px !important;
}

.margin-bottom-sm {
    margin-bottom: 12px !important;
}

.margin-bottom-md {
    margin-bottom: 20px !important;
}

.margin-right-sm {
    margin-right: 12px !important;
}

.margin-right-xs {
    margin-right: 5px !important;
}

.margin-right-sm {
    margin-right: 12px !important;
}

.margin-left-xs {
    margin-left: 5px !important;
}

.display-block {
    display: block;
}

.display-inline {
    display: inline;
}

.display-inline-block {
    display: inline-block;
}

a.disabled {
    color: gray;
    cursor: default;
}

.display-inline-block {
    display: inline-block;
}

.font-bold {
    font-weight: bold;
}

.font-size-800 {
    font-size: .800em;
}

input.ng-invalid.ng-touched, textarea.ng-invalid.ng-touched {
    border: 1px solid #DA3637;   
}

input.ng-valid.ng-touched, textarea.ng-valid.ng-touched {
    border: 1px solid #509D12;   
}

.form-group-inline-block {
    display: inline-block;
}

/*
.ng-invalid .btn {
    background: gray;
}*/

.checbox-padding-top {
    padding-top: 7px;
}

.table tbody tr {
     cursor: pointer;
 }

.table tbody tr.no-pointer {
    cursor: default;
}

.table tbody tr:hover {
    background-color: #717988;
}

.td-width-selected {
    width: 20px !important;
}

.td-width-xs {
   width: 40px;
}

.td-width-sm {
   width: 80px;
}

.td-width-md {
   width: 120px;
}

.td-width-lg {
   width: 180px;
}

.td-width-xl {
   width: 260px;
}

.td-width-xxl {
   width: 350px;
}

.td-width-xxxl {
    width: 420px;
}

.table-responsive-hidden-overflow {
    overflow: hidden;
}

.table-responsive div.dataTables-overflow {
    overflow-x: auto !important;
    overflow-y: hidden;
}

.items-order-none-select {
    pointer-events: none;
    cursor: default;
}

.login-page {
    background-image: url('img/Fondo4-full.jpg');
    -ms-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}

.login-box {
    margin: 15% auto;
}

.login-logo-no-margin-bottom {
    margin-bottom: 0;
    background-color: white;
}

.login-box-body-no-padding-top {
    padding-top: 0;
}

.box-body-no-padding-bottom {
    padding-bottom: 0;
}

.no-rezise {
    resize: none;
}

.selected {
    background-color: #696969;
}

.selected-unidad {
    background-color: #f0f0f0 !important;
}

.toast-top-md {
  top: 0;
  right: 25%;
  width: 50%;
}

.toast-middle-md {
    top: 40%;
    right: 20%;
    width: 60%;
}

.height-report {
    min-height: 355px;
    height: 355px;
    resize: vertical;
    overflow: auto;
}

.height-report-pdf {
    min-height: 490px;
    height: 490px;
    resize: vertical;
    overflow: auto;
}

/*.pdf-toolbar-btn {*/
/*    padding: 2px;*/
/*    height: 25px;*/
/*    width: 25px;*/
/*}*/

.main-footer {
    height: 50px;
}

.row-main, .row-map {
    margin-left: -15px;
    margin-right: -15px;
}

.form-control-inline {
    min-width: 0 !important;
    width: auto !important;
    display: inline !important;
}

.select2-disabled {
    color: #6c757d !important;
    background-color: #e9ecef !important;
}

/* class switch */
.switch {
    position: relative;
    display: inline-block;
    width: 90px;
    height: 34px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ca2222;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2ab934;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(55px);
    -ms-transform: translateX(55px);
    transform: translateX(55px);
}

.on-switch {
    display: none;
}

.on-switch, .off-switch {
    color: white;
    position: absolute;
    transform: translate(-50%,-50%);
    top: 50%;
    left: 50%;
    font-size: 10px;
    font-family: Verdana, sans-serif;
}

input:checked + .slider .on-switch {
    display: block;
}

input:checked + .slider .off-switch {
    display: none;
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}
/* endclass switch */

/*
 * Component: services List
 * ------------------------
 */
.services-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.services-list > .item {
  border-radius: 3px;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  padding: 2px 0;
  background: #fff;
}

.services-list > .itemdisabled {
  opacity: .4;
  -ms-opacity: .4;
  cursor: default;
  pointer-events: none;
}

.services-list > .item:before,
.services-list > .item:after {
  content: " ";
  display: table;
}
.services-list > .item:after {
  clear: both;
}
.services-list .service-header {
    display: block;
    font-size: 12px;
    margin-bottom: 2px;
}

.services-list .service-header-timestamp {
    color: #999;
}

.services-list .service-header-client, .services-list .service-header-telefono {
    font-weight: 600;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.services-list .service-img {
  float: left;
}
.services-list .service-img img {
  width: 50px;
  height: 50px;
}
.services-list .service-info {
  font-size: 12px;
  margin-left: 60px;
}
.services-list .service-title {
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.services-list .service-description {
  color: #999;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.services-list .service-footer {
    display: block;
    font-size: 12px;
    margin-top: 2px;
}

.services-list .service-footer-timer-asignacion {
    font-size: 11px;
}

.services-list .service-footer-asignar {
    padding-top: 0;
    font-size: 11px;
    font-weight: 600;
}

.services-list .service-footer-cancelar {
    padding-top: 0;
    font-size: 11px;
    font-weight: 600;
}

.services-list .service-footer-unidad {
    font-weight: 600;
}

.services-list .service-footer-timestamp {
    color: #999;
}

.service-list-in-box > .item {
  -webkit-box-shadow: none;
  box-shadow: none;
  border-radius: 0;
  border-bottom: 1px solid #f4f4f4;
  padding-bottom: 4px;
}
.service-list-in-box > .item:last-of-type {
  border-bottom-width: 0;
}

.services-box {
    margin-bottom: 5px;
}
.services-box .box-body {
    padding: 5px;
    overflow: auto;
    overflow-x: hidden;
}

.iw-label {
    width: 80px;
}
.iw-row {
    width: 190px;
}

/*
 * Component: grua List
 * ------------------------
 */
ul.gruas-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
ul.gruas-list > li {
  float: left;
}
.col-grua-box-padding {
    padding-right: 5px;
    padding-left: 5px;
}
.grua-box {
  display: block;
  min-height: 38px;
  background: #fff;
  width: 100%;
  box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.1);
  border-radius: 2px;
  margin-bottom: 10px;
}
    .grua-box-width {
        width: 100px;
    }
    .grua-box-margin {
        margin-right: 5px;
    }
.grua-box-icon {
  border-top-left-radius: 2px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 2px;
  display: block;
  float: left;
  width: 40px;
  text-align: center;
  font-size: 27px;
  background: rgba(0, 0, 0, 0.2);
}
.grua-box-icon > img {
  max-width: 100%;
}
.grua-box-content {
  padding: 0 5px;
  margin-left: 40px;
}
.grua-box-text {
  display: block;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.grua-box-text {
  text-transform: uppercase;
}
.grua-box-number {
  display: block;
  font-weight: bold;
  font-size: 14px;
}

.bg-white {
  color: #000000 !important;
  border-top: 1px solid #f5f5f5;
  border-right: 1px solid #f5f5f5;
  border-left: 1px solid #f5f5f5;
  background-color: #ffffff !important;
}

.bg-color-operate {
  color: #696969 !important;
}

.blinking-end {
    -webkit-animation-name: blinker;
    -webkit-animation-duration: 1s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    
    -moz-animation-name: blinker;
    -moz-animation-duration: 1s;
    -moz-animation-timing-function: linear;
    -moz-animation-iteration-count: infinite;
    
    animation-name: blinker;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.text-align-top {
    vertical-align: top !important;
}

.text-align-bottom {
    vertical-align: bottom !important;
}

.text-align-middle {
    vertical-align: middle !important;
}

.custom-marker {
  font-size: .9em;
  padding: 5px;
  max-width: 250px;
  background: #fff;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  border: #7F7F7F solid 1px;
  text-align: center;
}

.custom-marker:after {
  content: '';
  position: absolute;
  border-style: solid;
  border-width: 7px 6px 0;
  border-color: #fff transparent;
  display: block;
  width: 0;
  z-index: 1;
  margin-left: -6px;
  bottom: -6px;
  left: 50%;
}

.custom-marker:before {
  content: '';
  position: absolute;
  border-style: solid;
  border-width: 7px 6px 0;
  border-color: #7F7F7F transparent;
  display: block;
  width: 0;
  z-index: 0;
  margin-left: -6px;
  bottom: -7px;
  left: 50%;
}


@-moz-keyframes blinker {  
    0% { opacity: 1.0; }
    50% { opacity: 0.0; }
    100% { opacity: 1.0; }
}

@-webkit-keyframes blinker {  
    0% { opacity: 1.0; }
    50% { opacity: 0.0; }
    100% { opacity: 1.0; }
}

@keyframes blinker {  
    0% { opacity: 1.0; }
    50% { opacity: 0.0; }
    100% { opacity: 1.0; }
}

@media (max-width: 767px) {
    .toast-top-md {
      top: 0;
      right: 0;
      width: 100%;
    }

    .services-list .service-info {
        margin-left: 0;
    }

    .autosized { font-size: 12px; }

    .login-box {
        width: 90%;
        margin-top: 160px;
    }

    .table-responsive div.dataTables-overflow {
        overflow-x: hidden !important;
    }

    /* Force table to not be like tables anymore */
    table.dataresponsive, table.dataresponsive thead, table.dataresponsive tbody, table.dataresponsive th, table.dataresponsive tr, table.dataresponsive td {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    table.dataresponsive thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    table.dataresponsive {
        background-color: transparent;
        border: none;
    }

    table.dataresponsive tr {
        border: 1px solid #CCC;
        margin-bottom: 10px;
        padding: 0;
    }

    table.dataresponsive td {
        /* Behave  like a "row" */
        border: none !important;
        border-bottom: 1px solid #eee !important;
        position: relative;
        padding: 4px 6px 4px 6px;
        width: 100%;
    }

    table.dataresponsive td span {
        display: block;
    }

    table.dataresponsive tr td:last-child {
        border-bottom: 0 !important;
    }

    table.dataresponsive tr td:last-child.d-action-none {
        display: none !important;
    }

    table.dataresponsive tr td:nth-last-child(2).border-bottom-0 {
        border-bottom: 0 !important;
    }

    table.dataresponsive td.td-checkbox, table.dataresponsive td.td-number, table.dataresponsive td.td-date, table.dataresponsive td.td-text {
        text-align: left;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .toast-top-md {
      top: 0;
      right: 10%;
      width: 80%;
    }

    .autosized { font-size: 12px; }

    .table-responsive-md div.dataTables-overflow {
        overflow-x: hidden !important;
    }

    /* Force table to not be like tables anymore */
    table.dataresponsive-md, table.dataresponsive-md thead, table.dataresponsive-md tbody, table.dataresponsive-md th, table.dataresponsive-md tr, table.dataresponsive-md td {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    table.dataresponsive-md thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    table.dataresponsive-md {
        background-color: transparent;
        border: none;
    }

    table.dataresponsive-md tr {
        border: 1px solid #CCC;
        margin-bottom: 5px;
        padding: 0;
    }

    table.dataresponsive-md td {
        /* Behave  like a "row" */
        border: none !important;
        border-bottom: 1px solid #eee !important;
        position: relative;
        padding: 2px 6px 1px 8px;
        width: 100%;
    }

    table.dataresponsive-md td span {
        display: block;
    }

    table.dataresponsive-md tr td:last-child {
        border-bottom: 0 !important;
    }

    table.dataresponsive-md tr td:last-child.d-action-none {
        display: none !important;
    }

    table.dataresponsive-md tr td:nth-last-child(2).border-bottom-0 {
        border-bottom: 0 !important;
    }

    table.dataresponsive-md td input {
        margin: 2px 0 1px;
    }

    table.dataresponsive-md td.td-checkbox, table.dataresponsive-md td.td-number, table.dataresponsive-md td.td-date, table.dataresponsive-md td.td-text {
        text-align: left;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .toast-top-md {
      top: 0;
      right: 20%;
      width: 60%;
    }

    .autosized { font-size: 12px; }
}

@media (min-width: 1200px) {
    .toast-top-md {
      top: 0;
      right: 25%;
      width: 50%;
    }

    .autosized { font-size: 12px; }
}

@media (max-height: 320px) and (orientation: landscape) {
    .modal-body-height{
        max-height: 120px;
        overflow: auto;
    }
}

@media (min-height: 321px) and (max-height: 480px) and (orientation: landscape) {
    .modal-body-height{
        max-height: 150px;
        overflow: auto;
    }
}

@media (min-height: 481px) and (max-height: 640px) and (orientation: landscape) {
    .modal-body-height{
        max-height: 300px;
        overflow: auto;
    }
}

@media (min-height: 641px) and  (max-height: 768px) and (orientation: landscape) {
    .modal-body-height{
        max-height: 450px;
        overflow: auto;
    }
}

@media (min-height: 769px) and (max-height: 900px) and (orientation: landscape) {
    .modal-body-height{
        max-height: 600px;
        overflow: auto;
    }
}

@media (min-height:900px) and (orientation: landscape) {
    .modal-body-height{
        max-height: 700px;
        overflow: auto;
    }
}

@media (max-height: 320px) and (orientation: portrait) {
    .modal-body-height{
        max-height: 200px;
        overflow: auto;
    }
}

@media (min-height: 321px) and (max-height: 480px) and (orientation: portrait) {
    .modal-body-height{
        max-height: 280px;
        overflow: auto;
    }
}

@media (min-height: 481px) and (max-height: 640px) and (orientation: portrait) {
    .modal-body-height{
        max-height: 350px;
        overflow: auto;
    }
}

@media (min-height: 641px) and (max-height: 768px) and (orientation: portrait) {
    .modal-body-height{
        max-height: 400px;
        overflow: auto;
    }
}

@media (min-height: 769px) and (max-height: 900px) and (orientation: portrait) {
    .modal-body-height{
        max-height: 500px;
        overflow: auto;
    }
}

@media (min-height: 901px) and (max-height: 1079px)  and (orientation: portrait) {
    .modal-body-height{
        max-height: 600px;
        overflow: auto;
    }
}

@media (min-height: 1080px) and (orientation: portrait) {
    .modal-body-height{
        max-height: 700px;
        overflow: auto;
    }
}