/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   ESTILOS PARA ERP ARLEQUIN
   TRANSORTES ARLEQUIN, S.A. DE C.V.
   https://tarlequin.com
   ------------------------------------------------------------------------
   COPYRIGHT 2021
   PROHIBIDA SU REPRODUCCION PARACIAL O TOTAL
   ------------------------------------------------------------------------
   ING. JAVIER VELEZ <javier.velez@tarlequin.com>
   ING. ANTONIO CARDONA <antonio.cardona@tarlequin.com>
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++  */

@import url('https://fonts.googleapis.com/css?family=Roboto+Slab:400,600,800&display=swap');
@import url('https://fonts.googleapis.com/css?family=IBM+Plex+Sans:400,500,600,700&display=swap');

/* +++++++++++++++++++++++++++++++++++++++ BODY ++++++++++++++++++++++++++++++++++++++++++++ */
body {
    font-family: 'IBM Plex Sans', Tahoma, 'Arial', sans-serif;
    font-size:1em;
    -webkit-touch-callout:none;
    -webkit-text-size-adjust:none;
    -webkit-user-select:none;
    background: #f9f9f9;
}

* {-webkit-tap-highlight-color:rgba(0,0,0,0);}
.btn:active {outline:0 !important;}
.btn:focus {outline:0 !important;}
.btn:hover {outline:0 !important;}

::placeholder { color:#e0e0e1 !important; opacity: 1; text-transform: none; }
:-ms-input-placeholder { color:#e0e0e1 !important; text-transform: none; }
::-ms-input-placeholder { color:#e0e0e1 !important;text-transform: none; }
::-webkit-input-placeholder { color:#e0e0e1 !important;text-transform: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Slab', serif;
    font-weight: 500;
    margin-bottom:0;
}

a, a:visited { color:#ffffff; font-weight: 400; }
a:hover, a:active { color: #e70f2c; }

input[type='text']:focus,
input[type='password']:focus,
input[type='number']:focus,
input[type='tel']:focus,
input[type='search']:focus,
input[type='date']:focus,
select.form-control:focus,
textarea:focus {
    border-width: 2px;  border-color: rgba(0,52,30,0.10);  -webkit-box-shadow: none; box-shadow: none;
}

/*        Input type file   */
[type=file] { color: #c3c3c6; }

/*        Widths            */
.w60 { width:60px !important; }
.w70 { width:70px !important; }
.w80 { width:80px !important; }
.w90 { width:90px !important; }
.w100 { width:100px !important; }
.w110 { width:110px !important; }
.w120 { width:120px !important; }
.w130 { width:130px !important; }
.w140 { width:140px !important; }
.w150 { width:150px !important; }
.w160 { width:160px !important; }
.w170 { width:170px !important; }
.w180 { width:180px !important; }
.w200 { width:200px !important; }

/*        Weights            */
.weight500 { font-weight: 500; }
.weight600 { font-weight: 600; }


.ucfirst:first-letter{
    text-transform: capitalize
}

.btn-purple { background: #5F4B8B; color: #ffffff; }
.btn-purple:hover, .btn-purple:active { background: #4F3B7B; color: #f4f4f6; }


/* +++++++++++++++++++++++++++++++++++++++ LOGIN ++++++++++++++++++++++++++++++++++++++++++++ */
#main-100vh { height:100vh; padding:0 0.2rem; padding-top: 65px; padding-top: 80px; }
#footer-login { line-height: 1em; padding-left:1em; position: fixed; bottom: 0; width:100%; color:rgba(255,255,255,0.35); background: rgba(255,255,255,0.1); }
#footer-login a { color:rgba(255,255,255,0.30); }

/*  +++++++++++++++++++++++++++++++++++ LOADER CSS  ++++++++++++++++++++++++++++++++++++++++ */
#loader { height: 4px; width: 100%; position: fixed; overflow: hidden; background-color:transparent; top:0; z-index:11000; }
#loader:before{ display: block; position: absolute; content: ""; left: -200px; width: 200px; height: 4px; background-color: rgba(255,255,255,0.60); animation: loading 1.5s linear infinite; }
@keyframes loading { from {left: -200px; width: 30%;} 50% {width: 30%;} 70% {width: 70%;} 80% { left: 50%;} 95% {left: 120%;} to {left: 100%;} }

/* ++++++++++++++++++++++++++++++++++++++ MODALES ++++++++++++++++++++++++++++++++++++++++++++ */
#modal-frame .modal-dialog { margin:0; width:100%; max-width: 100%; }
#modal-frame .modal-content { color:#e6e6e6; border-bottom:1px solid #e6e6e6; border-radius: 0 !important; }
#modal-frame .modal-body p { margin-bottom: 0.5em; }
#modal-frame .modal-body span { margin-top: 0.3em; }
#modal-preview { font-size: 0.95em; }
#modal-preview .modal-body { padding: 1rem; }

.modal-header { color: #ffffff; padding:0.5em 0.75em; font-size:1.2em; font-weight: 500; }


/* +++++++++++++++++++++++++++++++++++++ NAVBAR SIDE +++++++++++++++++++++++++++++++++++++++++ */
.navbar .dropdown-menu { left: inherit; right: 0; }
#nav-fmtkd { padding: 0.15rem 1rem; }
#title-navbar { font-family: 'Roboto Slab', serif; font-weight: 400; font-size: 0.9em; margin-left: 0.5rem; color: #e2e2e8; }

/* +++++++++++++++++++++++++++++++++++++ SIDEBAR ++++++++++++++++++++++++++++++++++++++++++++ */
.wrapper { display: flex; width: 100%; align-items: stretch; }
#content { width:100%; max-width: 100%; overflow: hidden; padding:0.5rem; margin-top:62px; }
#sidebar { min-width: 210px; max-width: 210px;  min-height: calc(100vh - 56px); margin-top: 56px; background: #1e1e20; color: #f0f0f0;  }
#sidebar-email { font-size:0.65em; text-overflow: ellipsis; max-width: 100%; overflow: hidden; color:#909096; }
#sidebar.active { margin-left: -200px; }
#sidebar-caret { font-size:16px; height: 100%; width:10px; float: right; background: rgba(0,0,0,0.2); cursor: pointer; display: flex; }

#sidebar .side-title { border-bottom:1px solid rgba(255,255,255,0.1); }

#sidebar ul p { color: #f0f0f0; padding: 10px; }
#sidebar ul li a { color:#f0f0f0; font-size:0.95em; padding:5px 0 5px 1em; display: block; }
#sidebar > ul > li > ul > li > a { padding-left:2.6em; font-size: 0.85em; }
#sidebar ul li a:hover { color: #f0f0f0; background: #878797; transition: 0.3s ease-in; opacity: 1; }
#sidebar > ul > li > ul  { background: #25252a; }
#sidebar > ul > li { border-bottom:1px solid rgba(255,255,255,0.1); }
#sidebar > ul > li > ul >li { border-bottom:1px solid rgba(255,255,255,0.03); }

#sidebar .dropdown-toggle::after { display: block; position: absolute; top: 50%; right: 16px; transform: translateY(-50%); }
#sidebar a[data-toggle="collapse"] { position: relative; }

/* +++++++++++++++++++++++++++++++++++++ BREADCRUMB ++++++++++++++++++++++++++++++++++++++++++++ */
.breadcrumb-item+.breadcrumb-item::before { content:""; padding-right: 0; }
.breadcrumb-item+.breadcrumb-item { padding-left:0; }


/*  +++++++++++++++++++++++++++++++++++ DATATABLES  ++++++++++++++++++++++++++++++++++++++++ */
#tDatos { width:100%; margin: 0 auto !important; clear: both; border-collapse: collapse;  word-wrap:break-word; color:#212529;}

table.dataTable thead .sorting:before, table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_desc:before {
    bottom:0.2em !important;
}

#tDatos th { padding-top:0.4rem; padding-bottom:0.3rem; padding-left:0.3rem; background-color: #0053b0 ; font-size:0.85em; color:#f2f2f2; font-weight: 500; }
#tDatos td { font-size:0.75em; vertical-align: middle; padding:0.1rem 0.3rem; font-weight: 500; }

#tDatos .sorting_1 { background-color: #d8d8da; }
#tDatos tbody tr:hover { background-color: #f9ddc0; }

.table-botonera { min-width: 80px !important; text-align: center; }
.btn-table { margin:0; padding:3px 8px !important; border-radius: 0; }
.btns-export { padding:6px 12px !important;  margin:4px 2px 0 0; }
.btn-table:hover, .btns-export:hover { opacity: 0.85;}

.dataTables_info { font-size:0.9em; }
.dataTables_filter label { margin-bottom:0; padding-bottom:2px !important; padding-top:6px; font-size:0.9em; }

.pagination .page-item.active .page-link { color: #4A4A4F; background-color: transparent; font-weight: 500; font-size:0.8em; box-shadow: none; -moz-box-shadow: none; border:1px solid #e3e3e3; }

.pagination .page-item.active .page-link:hover, .pagination .page-item.active .page-link:focus {
    color: #ffffff !important;
    background-color: #4d82ac !important;
    border:1px solid #4d82ac;
}

div.dataTables_wrapper div.dataTables_info { font-size:0.8em; }
div.dataTables_wrapper div.dataTables_paginate { padding-top: 0.5rem !important; padding-bottom: 0 !important; }
div.dataTables_wrapper div.dataTables_paginate ul.pagination { margin-bottom:0; }

.dataTables_length { padding-top:0.3rem; font-size:0.8em; }

#tDatos .dataTables_empty { padding: 0.75rem 0; font-size:0.9em; color: #4A4A4F;}


.row1 { background-color: #e0e0e0; }
.row2 { background-color: #ffffff; }

/* ++++++++++++++++++++++++++++++++++++++++ FORMAS ++++++++++++++++++++++++++++++++++++++++++++++++ */
.form-container { background-color: #00844c; padding:0.75rem 0.5rem; margin-left:auto; margin-right:auto; border-radius: 0.25rem;}

.form-outline input {
    color: #ffffff !important;
}
.form-outline label {
    color: #ffffff !important;
}


select option {
    margin: 40px;
    background: #00844c;
    color: #fff;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
    padding-top:6px;
    padding-bottom: 4px;
}
select {
    border:1px solid white;
}


.form-notch-leading, 
.form-notch-middle,
.form-notch-trailing {
    border-color: white !important;
}

.arle-a-button, .arle-a-button:visited { color:#f4f4f4; }
.arle-a-button:hover, .arle-a-button:active { color: #d4d4d4; }


/* ++++++++++++++++++++++++++++++++++++++++++ VIDEO CONTROLS ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
.arle-video {
    width: 100%;
    max-width: 920px;

    box-shadow: 3px 4px 9px -1px rgba(0,0,0,0.31);
    -webkit-box-shadow: 3px 4px 9px -1px rgba(0,0,0,0.31);
    -moz-box-shadow: 3px 4px 9px -1px rgba(0,0,0,0.31);
}

.btn-arle { width: 100%; max-width: 920px; }

.arle-shadow-title {
    text-shadow: 3px 3px 7px rgba(0,0,0,0.7);
}



/* ------------------------------------------------------------------------------------------------------------------ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++ BREAKPOINTS +++++++++++++++++++++++++++++++++++++++++++++++++++++ */
@media all and (max-width: 575px) {
    #main-100vh { padding-top: 30%; }
    #form-login { width: 98vw; }
    .btn-arle { width: 100%; }
}

@media all and (max-width: 767px) {
    #modal-preview .modal-dialog { max-width: 763px;}
}

@media all and (min-width: 768px) {
    #modal-preview .modal-dialog { max-width: 860px;}
}