﻿
@font-face {
    font-family: 'CopperPlate';
    src: url('https://tracking.distra.mx/fonts/Copperplate-Bold.ttf') format('truetype');
}

/*General*/
#wrapper {
    padding-bottom: 80px;
}
html.login {
    background: none;
}
#datatable-ajax {
    width:100% !important;
}
.d-inlie-block {
    display: inline-block;
}

.font-weight-bold {
    font-weight: bold;
}
.w-100 {
    width: 100%;
}

.white-space-unset {
    white-space: unset !important;
}

.ml-0 {
    margin-left: 0 !important;
}

.cursor-pointer {
    cursor: pointer;
}

.d-block {
    display: block;
}

.m-auto {
    margin: auto;
}
.display-inline-block {
    display:inline-block;
}

.position-relative {
    position: relative;
}
.float-right {
    float: right;
}
.py-1{
    padding-top:1rem;
    padding-bottom:1rem;
}
.px-1{
    padding-right:1rem;
    padding-left:1rem;
}
.open > .dropdown-menu {
    top: 100% !important;
}
.circle-17 {
    border-radius: 50%;
    width: 17px;
    height: 17px;
    display: inline-block;
}
.label-yellow {
    background-color: #f2e840;
}
.main-color {
    color: #EEB768 !important
}
.label-offline,
.label-online {
    width: 20px;
    height: 20px;
    display: inline-block;
    border-radius: 50%;
    margin-right: auto;
    margin-left: auto;
}
.label-offline {
    border: solid 4px #e31d42;
}
.label-online {
    border: solid 4px #50e31d;
}
.marker-position {
    color: white !important;
    background-color: black;
    font-size: 12px !important;
    position: relative;
    top: -14px;
}
/*content*/
.content-page {
    overflow: auto;
}

.red {
    color: red;
}

/*Parsey form validation*/
.parsley-errors-list.filled {
    position: absolute;
    z-index: 999;
    bottom: -20px;
}

.form-group {
    padding-bottom: 10px;
}

/*Notifications*/
#NotificationList .list-group-item:last-child .user-list-item .user-desc {
    padding-bottom: 50px;
}

.row.display-flex {
    display: flex;
}

.row.display-flex > [class*='col-'] {
    display: flex;
    flex-direction: column;
}
/*Login*/
.style-login {
    background:white;
}
.style-login > .row div.banner-login, .style-login > .row div.content-login {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
    padding:20px;
}
.style-login > .row div.banner-login, .style-login {
    background-repeat:no-repeat;
    background-size:cover;
}
.style-login > .row div.content-login form{
    padding: 15px;
    width:100%;
    max-width: 400px;
}
.style-login > .row div.content-login form input{
    border-right: none;
    border-left: none;
    border-top: none;
    font-size: 16px;
}
.style-login > .row div.banner-login h1{
    color:white;
    font-weight: bold;
    margin:0;
}
.style-login > .row div.banner-login p{
    position: absolute;
    bottom: 0;
    color: white;
    font-weight: bold;
}
.row.display-flex {
    display: flex;
} 
.row.display-flex > [class*='col-'] {
  display: flex;
  flex-direction: column;
}
/*Bootstrap datetime*/
.bootstrap-datetimepicker-widget.dropdown-menu {
    bottom: 50px;
    top: 50px;
}
#viajesCurso .bootstrap-datetimepicker-widget.dropdown-menu {
    z-index: 9999999999 !important;
    position: fixed !important;
    top: 50px;
}

.button-menu-mobile:hover {
    color: #4CB6EA !important;
}
#sidebar-menu > ul > li > a {
    display: flex;
}
#sidebar-menu > ul > li > a.active {
    border-left: 3px solid #4CB6EA;
}

.user-box ul li a {
    color: #98a6ad !important;
}

/* Table */
table .btn-action {
    border: solid 1px #656465;
    padding: 6px 15px;
    display: inline-block;
    border-radius: 15px;
    line-height: 1;
    transition: .5s all;
}
table .btn-action i {
    color:#656465 !important;
    font-size: 17px !important;
}

table .btn-action:hover {
    background-color:#656465;
}
table .btn-action:hover i{
    color:white !important;
}

table .btn-alert {
    background: transparent;
    border: 0;
}

table thead > tr > th {
    text-align: center;
}

table tbody > tr > td {
    text-align: center;
    font-size: 12px
}

.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
    vertical-align: middle !important;
}

th.text-center.sorting_disabled {
    padding-right: 8px !important;
}

th {
    background-color: #656465;
    color: #fff;
}

table i, table a {
    color: #000 !important;
}

table i:hover, table a:hover {
    color: #4CB6EA !important;
}

table > thead > tr > th {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}

.table > tbody > tr > td,
.table > tbody > tr > td > span,
.table > tbody > tr > td > a,
.form-control, .required-field {
    font-family: 'Arial' !important;
}
table.dataTable thead th[data-orderable="false"].sorting::after,
table.dataTable thead th[data-orderable="false"].sorting_asc::after,
table.dataTable thead th[data-orderable="false"].sorting_desc::after,
table.dataTable thead th[data-orderable="false"].sorting_asc_disabled::after,
table.dataTable thead th[data-orderable="false"].sorting_desc_disabled::after {
    display: none;
}
table.dataTable thead .sorting::after, 
table.dataTable thead .sorting_asc::after, 
table.dataTable thead .sorting_desc::after, 
table.dataTable thead .sorting_asc_disabled::after, 
table.dataTable thead .sorting_desc_disabled::after {
    top: 3px !important;
    opacity: 0.5 !important;
}
table.table td.long-text,
table.table th.long-text {
    max-width: 450px !important;
    width: 450px !important;
}
/*TripUSG*/
table.datatable-tripUSG td.long-text,
table.datatable-tripUSG th.long-text {
    min-width: 450px !important;
    width: 450px !important;
}

table.datatable-tripUSG td.unit,
table.datatable-tripUSG th.unit {
    min-width: 200px !important;
    width: 200px !important;
}

table.datatable-tripUSG td.unit select, table.datatable-tripUSG td.unit button {
    display: inline-block;
    width: auto;
}

table.datatable-tripUSG td.long-text,
table.datatable-tripUSG th.long-text,
table.datatable-tripUSG td.unit,
table.datatable-tripUSG th.unit {
    white-space: unset !important;
}
.tableFixHead .scrooll_div {
    overflow-y: scroll !important;
    height: 100%;
    max-height:600px;
}
.tableFixHead thead, .tableFixHead thead tr th {
    position: sticky;
    top: 0;
    z-index: 9;
}
table.dataTable thead tr > .dtfc-fixed-left {
    background-color: #656465 !important;
    z-index: 999 !important;
    position:relative !important;
}
table.dataTable tbody tr > .dtfc-fixed-left, table.dataTable tbody tr > .dtfc-fixed-right {
    z-index: 4 !important;
}
/*
table.dataTable.table.fixedHeader-locked {
    position: fixed !important;
    top: 0;
    z-index: 1;
}
*/
.suwala-doubleScroll-scroll-wrapper {
    width: 100% !important;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    background-color: #000 !important;
    border-color: #000 !important;
}

.card-box {
    border-radius: 0px;
    box-shadow: none;
}

.btn {
    border-radius: 0px;
}

.btn-primary {
    background-color: #000 !important;
    border: 1px solid #000 !important;
}

.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
    background-color: #fff !important;
    border: 1px solid #000 !important;
    color: #000 !important;
}

.form-control {
    border-radius: 0px;
    height: 33px;
}

.label {
    border-radius: 0px;
}

/* Ajax Loader */
.invalid-feedback {
    color:red;
    display:none;
}
.loader, .loader2, .loader3, .ajax_loader {
    display: none;
}
.loader, .loader2, .loader3 {
    position: absolute;
    right: -11px;
    top: 20%;
}

/*Geocerca*/
#SearchAddress {
    position: absolute;
    z-index: 1;
    max-width: 250px;
    right: 8%;
    top: 3px;
}
#SearchAddress {
    position: relative;
    max-width: 100%;
    left: 0;
    right: 0;
}
#SearchAddress input {height:auto;border-radius: 0;}

/* dashboard */
/*
.dashboard-center {
    height: 90vh;
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}
*/
.dashboard .row.display-flex {
    display: block;
}
.dashboard .table > tbody > tr > td, .dashboard .table > tbody > tr > td > span {
    font-size: 10.5px;
}

.dashboard-center .dashboard-card {
    display: flex;
    align-items: center;
    min-height: 150px;
    box-shadow: 0px 0px 28px -11px rgba(0,0,0,0.17);
    -webkit-box-shadow: 0px 0px 28px -11px rgba(0,0,0,0.17);
    -moz-box-shadow: 0px 0px 28px -11px rgba(0,0,0,0.17);
    border: solid 2px rgba(210, 210, 210, 0.17);
    transition:.5s all;
}
.dashboard-center .dashboard-card:hover {
    transform: scale(1.04);
    box-shadow: 0px 0px 27px -16px rgba(0,0,0,0.5);
-webkit-box-shadow: 0px 0px 27px -16px rgba(0,0,0,0.5);
-moz-box-shadow: 0px 0px 27px -16px rgba(0,0,0,0.5);
}
.dashboard-center .dashboard-card .dashboard-card-content {
    
}
.dashboard-center .dashboard-card .dashboard-card-content h4 {
    margin: 0;
}
.dashboard-center .dashboard-card .dashboard-card-content small {
    font-style: italic;color: #acacacde;
}
.dashboard-center .dashboard-card .icon {
    font-size: 35px;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    min-width: 70px;
    min-height: 70px;
    margin-right: 10px;
    max-width: 70px;
    max-height: 70px;
}
    .dashboard-center .dashboard-card a h4 {
        margin-bottom: 0;
        max-width: 235px;
    }
.dashboard-center .dashboard-card a small{
    font-style: italic;color: #b7b7b7;
}
/* Chat */
.chat {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 40px;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    z-index: 999;
    left: 10px;
}

.chat img {
    max-width: unset !important;
}

.my-chat {
    margin-top: 22px;
}

/* Multiple select */
.easySelect .styledSelect {
    color: rgb(56, 51, 51) !important;
    font-size: 13px;
    padding-top: 7px;
}
.easySelect .clearSelectfromDiv {
    top: 2px;
    color: red;
    display: block;
    font-weight: bold;
}
.divSearcheasySelect .divOptionsesySelect p {
    padding: 3px 0 10px 0;
    margin: 0 !important;
}
.divSearcheasySelect .divOptionsesySelect {
    clear: both;
}
.divSearcheasySelect .divOptionsesySelect #selectAlleasySelect {
    float: right;
}
.easySelect .checkmark {
    width: 1.55rem;
    height: 1.5rem;
}
.container-item .checkmark::after {
    border: 2px solid #469f13;
}

/* Page Tracking Shipment */
#page-tracking-shipment .form-tracking-shipment {
    display: inline-block;
    background: white;
    padding: 20px;
    border-radius: 15px;
    border: solid 1px #eee;
}
#page-tracking-shipment .form-tracking-shipment form{
    display: flex;
}
#page-tracking-shipment .form-tracking-shipment form input {
    height: 40px;
}
#page-tracking-shipment .empty-tracking-shipment h2 {
    margin: 2.5rem 0;
    font-weight: 600;
}
#page-tracking-shipment .footer-tracking-shipment,
#page-tracking-shipment .body-tracking-shipment,
#page-tracking-shipment .header-tracking-shipment {
    background: white;
    padding: 25px 20px 20px 20px;
    margin: 2.5rem 0;
    max-width: 720px;
    margin-right: auto;
    margin-left: auto;
    border-radius: 15px;
    border: solid 1px #eee;
}
#page-tracking-shipment .body-tracking-shipment .text-process {
    display: flex;
    align-items: center;
}
#page-tracking-shipment .body-tracking-shipment .text-process .icon {
    font-size: 5rem;
    margin-right: 1.5rem;
    border-right: solid 1px #e3e3e3;
    padding-right: 1.55rem;
}
#page-tracking-shipment .body-tracking-shipment .text-process h2 {
    font-weight:600;
}
#page-tracking-shipment .body-tracking-shipment .border-process {
    height: 5px;
    background: #eee;
    margin-bottom: .7rem;
    margin-top: 1rem;
}
#page-tracking-shipment .footer-tracking-shipment .timeline::before {
    left: 0;
    display: none;
}
#page-tracking-shipment .footer-tracking-shipment .timeline .timeline-desk {
    display: block;
    width: 100%;
}
#page-tracking-shipment .footer-tracking-shipment .timeline .time-show {
    margin-right: 0;
}
#page-tracking-shipment .footer-tracking-shipment .timeline::before {
    top: 10%;
    height: 76%;
}
#page-tracking-shipment .footer-tracking-shipment .timeline .timeline-icon {
    left: -34px;
}

/* form float */
.form-float {
    position: relative;
}
.form-float label {
    position: absolute;
    top: -10px;
    background: white;
    left: 5px;
    font-size: 12px;
}
.form-float input,
.form-float textarea {
    padding: 10px 8px;
    height: auto;
}

/* Page QR */
#page-qr {
    max-width: 600px;
    margin: 3rem auto;
    background: white;
    padding: 2rem 1rem;
}
#page-qr img {
    max-width: 200px;
    margin-bottom: 1rem;
}
#page-qr h1 {
    font-weight: 600;
    margin-bottom: 3rem;
    border-bottom: solid 1px #eee;
    padding-bottom: 1rem;
    font-size: 2.5rem;
    line-height: 1.4;
}
#page-qr .copy {
    margin-bottom: 0;
    margin-top: 2rem;
    border-top: solid 1px #eee;
    padding-top: 2rem;
}
/* FORM UPDATE DATE */
.update_date_form input {
    min-width: 190px;
    height: 38px;
}
.update_date_form .btn-primary,
.update_date_form .btn-primary:hover {
    background: black !important;
    color: white;
}
.update_date_form .btn-primary i:hover{
    color: white !important;
}

.field-datetime-gray input {
    border: solid 1.7px #c1c1c1;
    color: #000;
}

.field-datetime-success input {
    border: solid 1.7px #0fea0f;
    color: #00a400;
}

.field-datetime-danger input {
    border: solid 1.7px #ff0404;
    color: #9d0000;
}

/* Owl Generic */
.owl-carousel-generic img {
    height: 250px;
    object-fit: cover;
}
@media (min-width: 1200px) {
    .float-lg-right {
            float: right;
        }

        .modal-xl {
            width: 1100px;
        }
    }

    @media (min-width: 992px) and (max-width:1199px) {

        .float-md-right {
            float: right;
        }
    }

    @media (max-width: 991px) {
        #SearchAddress {
            position: relative;
            max-width: 100%;
            left: 0;
            right: 0;
        }

            #SearchAddress input {
                height: auto;
                border-radius: 0;
            }

        /*Login*/
        .style-login > .row div.banner-login {
            min-height: 600px;
            height: 100%;
            background-size: cover !important;
            text-align: center;
        }

        .style-login > .row div.content-login {
            min-height: 200px;
            height: 100%;
            text-align: center;
        }

            .style-login > .row div.content-login form {
                margin: auto;
                margin: auto;
            }

        .style-login > .row div.banner-login p {
            position: relative;
            bottom: 0;
            color: white;
            font-weight: bold;
        }
        /* dashboard */
        .dashboard .row.display-flex {
            display: block;
        }
    }
