/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/


/* 
    Created on : Apr 28, 2018, 11:25:44 PM
    Author     : luciobaumeister
*/


/*
   BEGIN 
  Esto es los estilos definidos para el app-launcher
  Created on : Feb 17, 2018, 10:48:23 PM
  Author     : Laura Aguirre
*/

.app-launcher {
    position: absolute;
    left: initial!important;
    right: 10%;
    top: 50px;
}

.app-launcher::before {
    content: '';
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid white;
    position: absolute;
    top: -10px;
    right: 5px;
    margin-left: -5px;
    z-index: 1;
}

.app-launcher .apps {
    position: relative;
    background-color: white;
    border: 1px solid transparent;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
    -webkit-transition: height .2s ease-in-out;
    transition: height .2s ease-in-out;
    min-height: 196px;
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
    height: 100%;
    margin-bottom: 30px;
    padding: 20px 20px;
}

.app-launcher .hide {
    display: none;
}

.app-launcher .apps ul {
    padding: 0;
    background: #fff;
    margin: 0;
    width: 450px;
    overflow: auto;
    list-style: none;
    margin-bottom: 5px
}

.app-launcher .apps ul li {
    float: left;
    height: 94px;
    width: 84px;
    margin: 3px;
}

.apps .apps-item-container {
    float: left;
    width: 84px;
    color: black;
    border: solid 1px #fff;
    text-align: center;
    border-radius: 2px!important;
    -webkit-transition: all .7s ease;
    transition: all .7s ease;
    padding: 7px 0px 7px;
    background-color: white;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.apps .apps-item-container:hover {
    background-color: white;
    border: solid 1px #eee;
    width: 84px;
    height: auto;
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    z-index: 100;
    position: absolute;
}

.apps .group-set {
    text-decoration: none;
    border-bottom: 1px solid #eee;
    font-size: 12px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.apps .group-set.d-flex {
    display: flex;
}

.apps .group-set.justify-content-between {
    justify-content: space-between;
}

.apps #shortcuts-set {
    display: none;
}

.apps #shortcuts-set.show {
    display: block;
}

.apps .more {
    line-height: 40px;
    text-align: center;
    display: block;
    width: 410px;
    background: #f5f5f5;
    cursor: pointer;
    height: 40px;
    position: absolute;
    text-decoration: none;
    color: #282828;
}

.apps.overflow .more {
    border-bottom: 1px solid #ebebeb;
    left: 28px;
    width: 264px;
    height: 0;
    cursor: default;
    height: 0;
    outline: none;
}

.app-launcher a {
    color: #333;
    font-size: 12px;
}

.app-launcher a {
    text-decoration: none
}


/* Extra Small Devices, Phones */

@media only screen and (max-width: 500px) {
    .apps ul {
        width: 100%!important;
    }
    .app-launcher {
        right: 0%
    }
}

.app-launcher ::-webkit-scrollbar-thumb {
    background-clip: padding-box;
    background-color: rgba(0, 0, 0, .3);
    border: 5px solid transparent;
    border-radius: 10px;
    min-height: 20px;
    min-width: 20px;
    height: 5px;
    width: 5px;
}

.app-launcher ::-webkit-scrollbar {
    height: 15px;
    width: 15px;
    background: white;
}

.app-launcher ::-webkit-scrollbar-button {
    height: 0;
    width: 0;
}


/*
     END app launcher styles 
  */


/* esto se esta usando para dar estilo a los labels del estado de las ordenes de meli */

.meli-order-status {
    font-size: 0.85em;
    padding: 0px 5px 2px 5px;
    font-weight: bold;
    -webkit-border-radius: 4px !important;
    -moz-border-radius: 3px !important;
    border-radius: 3px !important;
}


/** 
  BEGIN 
  definiciones para tablas   VER SI ESTO ES NECESARIO !!
  */

.table {
    font-size: 12px;
}

.table-condensed>thead>tr>th,
.table-condensed>tbody>tr>th,
.table-condensed>tfoot>tr>th,
.table-condensed>thead>tr>td,
.table-condensed>tbody>tr>td,
.table-condensed>tfoot>tr>td {
    padding: 4px;
}

.page-bar {
    margin-bottom: 15px;
}


/* margen del contenedor de la tabla - nivel superior del componente*/

.table-section {
    margin-top: 20px;
}

table thead {
    background-color: #eee;
}


/* END */


/**
  BEGIN  
  Estilos para modal de importacion de registros de stock
  */

.btn.pilot-green {
    background-color: #78C410;
    color: #fff;
}

.btn.pilot-green:hover {
    background-color: #6aad0e;
    color: #fff;
}

.pilot-modal .resultado {
    width: 75px;
    height: 75px;
    border-radius: 50%!important;
    margin: 0 auto;
}

.pilot-modal .resultado.success {
    background-color: #78C410;
}

.pilot-modal .resultado.fail {
    background-color: #d84a38;
}

.pilot-modal .resultado i {
    font-size: 40px;
    color: #fff;
    line-height: 74px;
    text-align: center
}

.pilot-modal .row.vdivide [class*='col-']:not(:last-child):after {
    background: #e0e0e0;
    width: 1px;
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    min-height: 70px;
}

.pilot-modal .modal-header {
    border-bottom: none;
}

.pilot-modal .btn {
    padding: 10px 0px
}

.pilot-modal div[class^="col"] {
    padding-left: 3px;
    padding-right: 3px;
}

.pilot-modal .modal-body {
    padding: 20px 90px 40px
}

.pilot-modal .tabla-resultados {
    padding: 0px 50px
}

.pilot-modal .tabla-resultados h5 {
    min-height: 2em
}


/* END */


/**
  BEGIN
  Estilos para control ContextEventsView
  */


/* Timeline*/

.timeline-icon.pilot-llamada {
    border: solid 1px #bf55ec;
    background: white!important;
}

.pilot-context-event-timeline .pilot-llamada i {
    color: #bf55ec!important;
}

.timeline-icon.pilot-comentario {
    border: solid 1px #e35a5a;
    background: white!important;
}

.pilot-context-event-timeline .pilot-comentario i {
    color: #e35a5a!important;
}

.timeline-icon.pilot-entrevista {
    border: solid 1px #f06292;
    background: white!important;
}

.pilot-context-event-timeline .pilot-entrevista i {
    color: #f06292!important;
}

.timeline.pilot-context-event-timeline:before {
    content: '';
    position: absolute;
    top: 5px;
    bottom: 0;
    width: 1px;
    border-left: dashed 1px #dddddd;
    background: #ffffff;
    left: 5.6%;
}

.timeline.pilot-context-event-timeline>li .timeline-body:after {
    right: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-right-color: #3594cb;
    border-width: 10px;
    top: 17px;
}

.timeline.pilot-context-event-timeline>li .timeline-icon {
    box-shadow: none;
    left: 5%;
}

.timeline.pilot-context-event-timeline>li .timeline-body {
    margin: 0 0 15px 10%;
}

.timeline.pilot-context-event-timeline li.pilot-timeline-item .timeline-body {
    border: solid 1px #dddddd;
    background: #ffffff;
    color: black;
}

.timeline.pilot-context-event-timeline li.pilot-timeline-item .timeline-body:after {
    border-right-color: #fff;
    filter: drop-shadow(0px 0.7px 0 #888888) drop-shadow(0.8px 0 0 #888888);
}

.timeline.pilot-context-event-timeline h4 {
    margin: 0px;
}

.timeline-title {}

.timeline-title-event {
    float: left;
}

.timeline.pilot-context-event-timeline .timeline-title-date {
    text-align: right;
    margin: 0px;
    visibility: hidden;
    font-size: 12px;
}

.timeline.pilot-context-event-timeline li.pilot-timeline-item .timeline-body:hover .timeline-title-date {
    visibility: visible;
}

.timeline-content-description {
    margin-top: 3px;
}

@media (max-width: 767px) {
    .timeline.pilot-context-event-timeline {
        margin-top: 30px;
    }
    .timeline.pilot-context-event-timeline>li .timeline-time span.time {
        font-size: 18px;
    }
    .timeline.pilot-context-event-timeline:before {
        display: none!important;
    }
    .timeline.pilot-context-event-timeline li.pilot-timeline-item .timeline-body:after {
        display: none!important;
    }
    .timeline.pilot-context-event-timeline>li .timeline-time {
        width: 100%;
        position: relative;
        padding: 0 0 20px 0;
    }
    .timeline.pilot-context-event-timeline>li .timeline-time span {
        text-align: left;
    }
    .timeline.pilot-context-event-timeline>li .timeline-body {
        margin: 0 0 75px 0;
        padding: 1em;
    }
    .timeline.pilot-context-event-timeline>li .timeline-body:after {
        right: auto;
        left: 20px;
        top: -20px;
    }
    .timeline.pilot-context-event-timeline>li .timeline-icon {
        position: relative;
        float: left;
        left: auto;
        margin: -48px 5px 0 0px;
    }
    .timeline.pilot-context-event-timeline .timeline-title-date {
        visibility: visible;
    }
    /* portlet adjudicaciones*/
    .pilot-portlet-adjudicaciones .pilot-context-user-asigned {
        margin-top: 20px;
        border-left: none;
    }
}

.timeline {
    width: 100% !important;
    padding: 10px 0px !important;
}


/* END */

.badge-message {
    width: 7px;
    height: 7px;
    background-color: red;
    position: absolute;
    top: 10px;
    left: 55%;
    border-radius: 50% !important;
    animation: badgeIn 1s steps(5, start) infinite;
}

.portlet-placeholder {
    border: 1px dotted black;
    margin: 0 1em 1em 0;
    height: 50px;
}

@keyframes badgeIn {
    to {
        visibility: hidden
    }
}

.loader {
    width: 100px;
    height: 100px;
    border: 10px solid;
    border-color: #3594cb transparent;
    border-radius: 100% !important;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

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


/* Shortcuts fix style */

.pilot-line-height-36 {
    line-height: 36px !important;
}


/* padding full level 1 */

.p-1 {
    padding: 1em;
}

.custom-modal-show-from-right.left .modal-dialog,
.custom-modal-show-from-right.right .modal-dialog {
    position: fixed;
    margin: auto;
    width: 40%;
    height: 100%;
    -webkit-transform: translate3d(0%, 0, 0);
    -ms-transform: translate3d(0%, 0, 0);
    -o-transform: translate3d(0%, 0, 0);
    transform: translate3d(0%, 0, 0);
}

.custom-modal-show-from-right.left .modal-content,
.custom-modal-show-from-right.right .modal-content {
    height: 100%;
    overflow-y: auto;
    border-radius: 0px;
}

.custom-modal-show-from-right.left .modal-body,
.custom-modal-show-from-right.right .modal-body {
    padding: 15px 15px 80px;
}

.custom-modal-show-from-right.right.fade .modal-dialog {
    right: -320px;
    -webkit-transition: opacity 0.3s linear, right 0.3s ease-out;
    -moz-transition: opacity 0.3s linear, right 0.3s ease-out;
    -o-transition: opacity 0.3s linear, right 0.3s ease-out;
    transition: opacity 0.3s linear, right 0.3s ease-out;
}

.custom-modal-show-from-right.right.fade.in .modal-dialog {
    right: 0;
}

.font-weight-bold {
    font-weight: bold;
}

.width-description img {
    width: 100% !important;
    height: auto;
}

.m-0 {
    margin: 0;
}