@font-face {
    font-family: 'Futura';
    src: url('../fonts/Futura Book font.ttf?3ocs8m') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    font-family: 'Futura';
}

h2,
h3,
h4,
h5 {
    font-family: 'Futura';
}

.alert-primary {
    background-color: #52748C !important;
    color: #FFFFFFD6;
}

body {
    background-color: #FFF !important;
}

/** Page **/
.page {
    padding-top: 70px !important;
    overflow: auto;
    padding-bottom: 60px;
}

.page.page-no-navbar {
    padding-top: 0;
}

/** Navbar **/
.navbar-fixed-top {
    /*border-bottom: 1px solid #66bb6a*/
}

.navbar-nav a.navbar-btn-icon-only {
    margin-left: 10px;
}

.navbar-nav.navbar-right a.navbar-btn-icon-only {
    margin-right: 10px;
}

a.navbar-btn-icon-only {
    padding: 10px !important;
}

.navbar-form input {
    font-size: 20px;
    padding-top: 8px;
}

/** Hack: Avoid navbar collapse **/
.navbar-collapse.collapse {
    display: block !important;
}

.navbar-nav > li, .navbar-nav {
    float: left !important;
}

.navbar-nav.navbar-right:last-child {
    /*margin-right: -15px !important;*/
}

.navbar-form {
    float: left !important;
    width: auto;
    padding-top: 0;
    padding-bottom: 0;
    margin-right: 0;
    margin-left: 0;
    border: 0 !important;
    box-shadow: none !important;
}

.navbar-right {
    float: right !important;
}

.navbar-nav {
    margin: 0
}

.container-fluid {
    padding: 0 0 65px;
}

.container-body {
    padding: 0 15px 20px 15px;
}

.list-group .list-group-item {
    padding: 15px 15px 10px 15px !important;
    border-bottom: 1px solid #E8E8E8;
}

.list-group .list-group-item .row-picture i, .list-group .list-group-item .row-action-primary i {
    font-size: 32px;
}

.list-group .list-group-item .list-group-item-heading {
    line-height: 20px;
    margin-top: 5px;
}

.list-group-item-text {
    max-height: 56px;
    overflow: hidden;
}

p.navbar-text {
    margin-left: 15px;
}

.navbar .navbar-brand {
    padding: 10px 0 !important;
    margin: 4px 6px 6px 0;
    font-weight: bold;
    font-size: 16px;
    line-height: 34px;
    max-width: calc(100% - 130px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.list-group-standard .list-group-separator:before {
    width: 100%;
}

.list-group-standard .list-group-item {
    padding: 0 10px !important;
}

.list-group-standard .list-group-item .row-content {
    min-height: 0;
    width: 100%;
}

.list-group .list-group-action {
    margin-top: 4px;
}

.list-group .list-group-action i {
    font-size: 44px;
}

.header-panel {
    color: rgba(255, 255, 255, .84);
    margin: -18px -15px 15px -15px;
    padding: 0 15px 15px 28px;
    border-top: 1px solid #66BB6A;
}

.header-panel a {
    margin-left: 10px !important;
    margin-top: 6px !important;
}

.content-panel {
    margin-top: 25px;
    margin-left: 14px;
}

hr {
    border: 0;
    height: 0;
    margin: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.container-toolbar {
    position: fixed;
    bottom: 0;
    right: 0;
    margin: 0 15px 15px 0;
    width: 60px;
}

.container-toolbar.left {
    left: 0;
    right: auto;
    margin: 0 0 15px 15px;
}

.label-tag {
    font-size: 14px;
    line-height: 15px;
    display: inline-block;
}
.material-tag{
    margin-right: 15px;
    color: #111;
}

label.control-label {
    color: #D2D2D2 !important;
    font-size: 12px !important;
}

.radio {
    display: inline-block;
    margin-bottom: 0 !important;
}

.radio label {
    padding-left: 30px !important;
}

th.light {
    font-weight: normal !important;
}

td.etiqueta {
    padding-top: 15px !important;
}

td.opciones {
    white-space: nowrap;
}

/* Validation */
div.has-error label.control-label, div.has-error .help-block {
    color: #F44336 !important;
}

input.incorrecto,
select.incorrecto {
    border-bottom: 1px solid #F44336 !important;
    color: #F44336 !important;
}

/* Checkbox */

.checkbox {
    margin-top: 5px;
    margin-bottom: 5px;
}

.checkbox label {
    font-size: 18px;
    line-height: 20px;
    width: 100%;
}

.checkbox label small {
    font-size: 60%;
    line-height: 1.2em;
    display: block;
    margin-top: 4px;
}

.checkbox .checkbox-material .check {
    margin-top: -3px;
}

.checkbox .checkbox-material {
    margin-right: 5px;
}

.panel .panel-heading .btn-fab {
    margin-top: -18px;
    margin-right: -10px;
}

ul.navbar-nav {
    width: 100%;
}

.navbar-nav .navbar-btn i {
    margin-top: 5px;
    margin-right: 10px;
    float: left;
}

.navbar-nav .navbar-btn .navbar-brand {
    height: auto;
    float: left;
    padding: 3px 5px;
    margin: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 85%;
}

.navbar .navbar-nav > li > a {
    padding-top: 16px;
    padding-bottom: 16px;
    float: left;
    display: block;
    margin: 0;
}

.stdFilterAction {
    padding: 7px 20px;
    margin-top: 0;
}

.nomargin {
    margin: 0 !important;
}

.nopadding {
    padding: 0 !important;
}

.nopadding-h {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.nopadding-v {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.margin-top-10 {
    margin-top: 10px
}

.margin-top-20 {
    margin-top: 20px
}

.nav-tabs.tabs-primary {
    background: #52748C !important;
}

.nav-tabs.tabs-warning {
    background: #FF5722 !important;
}

.nav-tabs.tabs-danger {
    background: #F44336 !important;
}

.nav-tabs.tabs-material-red-800 {
    background: #C62828 !important;
}

.nav-tabs.tabs-inverse {
    background: #3F51B5 !important;
}

.nav-tabs.tabs-transparent {
    background: transparent !important;
}

.nav-tabs.tabs-transparent li {
    color: #333;
    background: transparent !important;
    border-top: 1px solid #BABABA;
}

.nav-tabs.tabs-transparent li {
    color: #333;
    background: transparent !important;
    border-top: 1px solid #BABABA;
}

.nav-tabs.tabs-transparent li a {
    color: #333 !important;
}

.nav-tabs.tabs-transparent li.active a {
    color: #52748C !important;
    font-weight: bold;
}

.nav-tabs li.disabled a {
    color: #BBB !important;
}

#calendar .fc-left h2 {
    position: absolute;
    top: -35px;
    right: 5px;
    font-size: 22px;
}


.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {
    font-size: 0.8em;
    padding: 7px;
}

.table-striped-each2 > tbody > tr:nth-child(4n+1),
.table-striped-each2 > tbody > tr:nth-child(4n+2) {
    background-color: #EFEFEF;
}

.table-striped-each2 > tbody > tr td {
    border-top: none;
}

.nav-tabs > li {
    margin-bottom: 0 !important;
    padding: 0 !important;
}

.nav-tabs li.active {
    border-bottom: 4px solid #FFF;
}

.nav-tabs li a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 15px 1px 10px;
}

.nav-tabs li.active a {
    color: #FFF !important;
    font-weight: bold;
}

.ficha .container-fluid {
    padding-left: 0;
    padding-right: 0;
}

.ficha .tab-content {
    padding: 55px 10px 10px 10px;
}

.m-signature-pad--body canvas {
    background: #FFF;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.img-firma {
    width: 95%;
    background: #EFEFEF;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.dashboard .well {
    margin-left: 1%;
    display: inline-block;
    width: 48%;
}

.dashboard .well h2 {
    color: #FFF;
    margin: 0;
    font-size: 20px;
}

.dashboard .well a {
    padding: 30px;
    display: block;
}

.dashboard .well i.mdi {
    margin-top: -8px;
    font-size: 86px;
    display: block;
}

.dashboard .well a:hover {
    text-decoration: none;
}

.dashboard .dashboard-tablet .well {
    display: block;
    width: 100%;
    margin-left: 0;
    padding: 50px 30px;
}

.dashboard .dashboard-tablet .well h2 {
    color: #FFF;
    margin: 0;
    font-size: 38px;
}

.dashboard .dashboard-tablet .well a {
    padding: 30px;
    display: block;
}

.dashboard .dashboard-tablet .well i.mdi {
    margin-bottom: -8px;
    margin-right: 20px;
    display: inline-block;
    font-size: 60px;
}

.dashboard .dashboard-tablet .well a:hover {
    text-decoration: none;
}

.jumbotron p {
    font-size: 14px;
}

.modal-content {
    margin: -10px !important;
}

.modal-dialog .modal-footer {
    padding: 5px 25px;
}

.form-horizontal .form-control {
    margin-bottom: 10px;
}

hr {
    margin-top: 10px;
    margin-bottom: 10px;
}

.big-input {
    height: 40px;
    font-size: 22px;
    background-color: #FFF;
    text-align: center;
}

.radio.btn {
    padding-left: 10px !important;
}

.well .control-label strong {
    font-size: 22px;
}

label.control-label {
    color: #C0C0C0 !important;
    font-size: 12px !important;
}

.btn-horas {
    line-height: 40px;
    padding: 5px;
    border: 1px solid #C1C1C1;
    font-size: 0.9em;
    overflow: hidden;
    width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-transform: capitalize;
}

.btn-horas.btn-success,
.btn-horas.btn-danger {
    text-shadow: 1px 1px 2px #000;
}

.least-content {
    line-height: 14px;
}

.least-content .text-success {
    color: #4CAF50 !important;
}

.least-content .text-danger {
    color: #F44336 !important;
}

.table-lineas input,
.table-lineas select {
    font-size: 12px;
    height: 25px;
}

.td-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90px;
}

.list-group .list-group-item .row-content .least-content {
    top: 7px;
    right: 0px;
    font-size: 16px;
}

.list-group .list-group-item .row-content em.list-group-item-text {
    font-size: 0.9em;
}

.container-fluid p.well {
    margin-top: 5px;
    padding: 8px !important;
    margin-bottom: 10px;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, .2), 0 3px 10px 0 rgba(0, 0, 0, .19);
}

.container-fluid .tab-content {
    overflow: hidden;
}

.container-fluid .tab-content .tab-pane p.well {
    margin-top: -5px;
}

.container-fluid .tab-content .tab-pane p.well {
    margin-top: -5px;
}

.nav.nav-tabs.navbar-fixed-top {
    top: 58px;
    z-index: 2;
}

.tab-pane .nav.nav-tabs.navbar-fixed-top {
    top: 100px;
}

.nav.nav-tabs {
    background-color: #52748C;
    border-top: 1px solid #7193AB;
}

.nav.nav-tabs .tab-pane {
    margin: 0;
}

.nav.nav-tabs li {
    background-color: #52748C;
}

.tab-content .tab-pane .tab-content .tab-pane {
    padding: 40px 5px 5px 0;
}

#fichas_tecnicas_ficha .tab-content .tab-pane {
    padding: 50px 5px 5px 5px;
}

blockquote {
    padding: 10px;
}

.position-right {
    position: absolute;
    right: 5px;
    top: 5px
}

.well.well-danger .badge {
    background: #FFF;
    line-height: 30px;
    font-size: 20px;
    min-width: 35px;
    color: #333;
    border-radius: 50%;
}

.line {
    margin-left: 0;
    padding-right: 5px;
    padding-left: 5px;
}

.line > div:first-child {
    font-size: 0.8em;
    text-align: left;
    color: #474747;
}

.line > div {
    padding: 7px 5px;
    border-top: 1px solid #EEE;
    line-height: 20px;
    vertical-align: bottom;
}

.line > div .badge {
    font-size: 0.7em;
    position: absolute;
    top: 1px;
    right: 2px;
}

.line input[type='number'] {
    text-align: center;
    z-index: 1;
}

.line input[type='text'] {
    text-align: left;
    z-index: 1;
}

.result-ko {
    color: #F44336;
}

.ficha_tecnica .form-control:disabled {
    background-color: rgba(0, 0, 0, 0.05);
}

.group {
    padding-right: 10px;
}

.group .help-block {
    position: absolute;
    top: 7px;
    font-size: 10px;
    line-height: 10px;
    margin: 0 !important;
    z-index: 0;
}

.group .alta .help-block,
.group .baja .help-block,
.group .calor .help-block,
.group .frio .help-block {
    top: 0px;
}

.group-even {
    background: rgba(173, 183, 255, 0.3);
}

.borrar-firma {
    margin-top: -5px;
}

.calor {
    border-radius: 2px;
    border: 1px solid #F49486;
    position: relative;
}

.calor::after {
    border: 1px solid #F49486;
    content: 'CALOR';
    position: absolute;
    background: #F49486;
    font-size: 8px;
    color: #FFF;
    width: 104%;
    text-align: center;
    line-height: 9px;
    left: -1px;
    bottom: -8px;
}

.frio {
    border-radius: 2px;
    border: 1px solid #6776B5;
    position: relative;
}

.frio::after {
    border: 1px solid #6776B5;
    content: 'FRÍO';
    position: absolute;
    background: #6776B5;
    font-size: 8px;
    color: #FFF;
    width: 104%;
    text-align: center;
    line-height: 9px;
    left: -1px;
    bottom: -8px;
}

.alta {
    border-radius: 2px;
    border: 1px solid #7BB578;
    position: relative;
}

.alta::after {
    border: 1px solid #7BB578;
    content: 'ALTA';
    position: absolute;
    background: #7BB578;
    font-size: 8px;
    color: #FFF;
    width: 105%;
    text-align: center;
    line-height: 9px;
    left: -1px;
    bottom: -8px;
}

.baja {
    border-radius: 2px;
    border: 1px solid #F49486;
    position: relative;
}

.baja::after {
    border: 1px solid #F49486;
    content: 'BAJA';
    position: absolute;
    background: #F49486;
    font-size: 8px;
    color: #FFF;
    width: 105%;
    text-align: center;
    line-height: 9px;
    left: -1px;
    bottom: -8px;
}

.navbar-tipo {
    font-size: 13px;
    margin: -2px -2px 0 0;
    padding: 0 3px;
    z-index: 7;
    background: #FFF;
    color: #3F51B5;
}

.text-inverse {
    color: #1F2E80;
}

.ficha_tecnica table th {
    text-align: center;
    vertical-align: middle !important;
    border-left: 2px solid !important;
    border-right: 2px solid !important;
    border-color: rgba(173, 183, 255, 0.2) !important;
    background: rgba(173, 183, 255, 0.3);
}

.ficha_tecnica .line .has_error .empty {
    background: #FFE8E8 !important;
}

.ficha_tecnica .line .help-block.small {
    right: 3px;
    top: 40px;
    z-index: 1;
    -webkit-animation-duration: 0.3s;
    animation-duration: 0.3s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: fadeInDown;
    animation-name: fadeInDown;

}

.btn-raised {
    z-index: 2;
}

.line.pulsable .line-control .line-result .label {
    font-size: 18px;
    line-height: 32px;
}

.line .line-control .line-result .label {
    line-height: 32px;
}

.check-all {
    width: 30px;
    height: 30px;
    margin: -5px 5px 0px 5px !important;
    float: right;
}

.line .toggle span {
    font-size: 18px;
    padding: 2px 6px;
}

.line-control .checkbox-inline {
    line-height: 18px;
}

.archivo_thumb {
    position: relative;
}

.archivo_sincronizado {
    position: absolute;
    right: -4px;
    bottom: -4px;
    color: #4CAF50 !important;
    font-size: 12px;
}

.archivo_subiendo {
    position: absolute;
    right: -4px;
    bottom: -4px;
    font-size: 12px;
}

.text-ellipsis {
    width: 100%;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.text-info {
    color: #1976D2 !important;
}

.list-group .list-group-item .row-content .least-content {
    top: 7px;
    right: 10px;
    font-size: 13px;
}

.list-group .list-group-item.mini .row-action-primary {
    font-size: 14px;
}

.list-group .list-group-item.mini .row-action-primary i {
    width: 24px;
    line-height: 24px;
    height: 24px;
    font-size: 14px;
}

.list-group .list-group-item.mini p {
    margin-bottom: 0;
    font-size: 12px;
}

.list-group .list-group-item.mini .list-group-item-heading {
    margin-top: 0;
    margin-bottom: 2px;
    font-size: 15px;
    line-height: 10px;
}

.list-group .list-group-item.mini .row-action-primary {
    padding-right: 10px;
}

.list-group .list-group-item.mini .row-content {
    display: inline-block;
    width: calc(100% - 40px);
    min-height: 25px;
}

.list-group .list-group-item.mini .row-content .least-content {
    top: 3px;
    right: 0;
    font-size: 12px;
}

.list-group .list-group-item.mini {
    padding: 10px 10px 0 10px !important;
}

p.ellipsis {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

span.etiqueta_horas {
    float: left;
    margin: 2px;
    font-size: 12px;
}

span.etiqueta_horas strong {
    font-size: 16px;
}

.leyenda_horas .etiqueta_horas strong {
    float: none;
    display: block;
}

.well blockquote {
    margin: 0 0 5px;
}

#search-form-menu {
    position: fixed;
    top: 60px;
}

#search-form-menu .error-block {
    color: #FFF !important;
}

.modal {
    padding-left: 0 !important;
}

@media (max-width: 766px) {
    .modal-content {
        height: 99vh !important;
    }

    .modal-footer {
        position: absolute;
        bottom: 5px;
        width: 100%;
    }

    .modal-body {
        max-height: 88vh;
        overflow: auto;
    }
}

.btn-primary.btn,
.navbar-primary.navbar {
    background-color: #52748C !important;
}

.progress .progress-bar, .progress .progress-bar-default {
    background-color: #52748C;
}

.label-primary {
    background-color: #52748C !important;
}

.panel-primary .panel-heading {
    background-color: #52748C !important;
}

.list-group-item-heading a,
.list-group-item-heading a:hover,
.list-group-item-heading a:focus {
    color: #52748C !important;
}


/*TEMA OSCURO*/
body.dark button.navbar-btn {
    color: black !important;
}

body.dark *:not(i) {
    color: white !important;
}

body.dark .list-group-item:hover,
body.dark tr,
body.dark .jumbotron,
body.dark .panel,
body.dark .well:not(.well-primary):not(.well-warning):not(.well-danger):not(.well-inverse),
body.dark .modal-content {
    background: #2B2B2B !important;
}

body.dark .page {
    background: #373737 !important;
}

body.dark .list-group .list-group-item {
    border-bottom: 1px solid #525252 !important;
}

body.dark .group-even {
    background: rgba(0, 0, 0, 0.3);
}

body.dark .navbar-tipo {
    background: rgba(0, 0, 0, 0.3);
}

.fc-title {
    font-size: 0.9em;
}

.btn-fixed-bottom {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    margin: 0;
}

.btn-fixed-bottom a.btn {
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 20px;
}

.btn-fixed-bottom a.btn i.mdi {
    font-size: 30px;
}
