﻿* {
    box-sizing: border-box;
}

/**********************************
 *  Estilos Seccion de favoritos.
 *  @2020
 *  By: Yesid Davila
**********************************/

.separator-bar {
    width: 100%;
    height: 1px;
    background-color: #bfbfbf;
    margin-top: 20px;
    margin-bottom: 15px;
}

.section-favorite {
    width: 100%;
}

.header-favorite {
    cursor: pointer;
    color: white;
    background-color: #2196f3;
    border: none;
    padding-left: 9px;
    padding-top: 6px;
    padding-bottom: 6px;
    transition: background-color 600ms ease;
}

.header-favorite:hover {
    background-color: #1645b3;
}

.header-favorite > .icon-header {
    margin-left: 4px;
    margin-right: 15px;
    font-size: 20px;
    transition: all 500ms ease;
}

.header-favorite:hover > .icon-header {
    transform: rotate(360deg);
    transition: transform 500ms ease;
}

.collapse-style {
    background-color: #2196f3;
    border: none;
}

.menu-favorite {
    background-color: #9ed1f7;
    width: 100%;
    position: relative;
}

.wrapper-items-fav {
    display: flex;
    align-items: center;
}

.wrapper-items-fav > a {
    display: flex;
    align-items: center;
    padding-left: 20px;
    text-decoration: none;
    color: #1645b3;
    border-bottom: 1px solid #71a0ce;
    min-height: 25px;
    z-index: 1;
    width: 100%;
}

.wrapper-items-fav > a:hover {
    color: white;
}

.wrapper-items-fav > a > i {
    font-size: 8px;
    margin-right: 10px;
}

.wrapper-items-fav > .delete-icon {
    display: flex;
    align-items: center;
    font-size: 8px;
    margin-right: 10px;
    color: #dd0000;
    position: absolute;
    right: 0;
    font-size: 12px;
    z-index: 10000;
    transition: all .300s ease;
    opacity: .100;
}

.wrapper-items-fav > .delete-icon:hover {
    cursor: pointer;
    transform: scale(1.150);
    transition: transform .300s ease;
    color: #ff5555;
    opacity: .900;
}

/***********************************
 *   Estilos: liquidacion de nomina y conceptos-nomina.
 *   @2020 
 *   By: Yesid Davila
************************************/
.liq-nom-container {
    overflow-y: auto;
    width: 100%;
}

.row-first-liq {
    position: relative;
}

.nomina-row {
    margin-top: 6px;
}

.lbl-num-nomina {
    position: absolute;
    top: -10px;
    right: 10px;
    z-index: 10000;
}

/***********************************
 *   Estilos: Secciones nomina.
 *   @2020 
 *   By: Yesid Davila
************************************/

.header-collapse-nom {
    cursor: pointer;
    transition: all 300ms ease;
}

.header-collapse-nom:active {
   transform: scale(.990);
}

.gridCss {
    display: grid;
    grid-template-columns: auto;
    justify-content: space-around;
    grid-gap: 10px;
}


/*** Margin Class ***/
.mt-4px {
    margin-top: 4px;
}

.mt-10px {
    margin-top: 10px;
}

.ml-4px {
    margin-left: 4px !important;
}

.ml-10px {
    margin-left: 10px;
}

.ml-20px {
    margin-left: 20px;
}

.mr-2px {
    margin-right: 2px;
}

.mr-4px {
    margin-right: 4px;
}

.mr-6px {
    margin-right: 6px;
}

.mr-10px {
    margin-right: 10px;
}

.mb-2px {
    margin-bottom: 2px;
}

.mb-4px {
    margin-bottom: 4px;
}

.mb-6px {
    margin-bottom: 6px;
}

.mb-15px {
    margin-bottom: 15px;
}

.mb-25px {
    margin-bottom: 25px;
}

.mb-30px {
    margin-bottom: 30px;
}

.mb-last-row {
    margin-bottom: 15px;
}

.m-0 {
    margin: 0;
}

/*** Width Class ***/
.width-49 {
    width: 49%;
}

.width-100 {
    width: 100%;
}

/*** Height Class ***/
.height-100 {
    height: 100%;
}

.height-30px {
    height: 30px;
}

.height-40px {
    height: 40px;
}

.height-84px {
    height: 84px;
}

.max-height-150px {
    max-height: 150px;
}

.max-height-200px {
    max-height: 200px;
}

.max-height-300px {
    max-height: 300px;
}

/*** Background Class ***/
.bg-gray-light {
    background-color: #eeeeee;
}

.bg-blue-light {
    background-color: #d0eafd;
}

.bg-blue-primary {
    background-color: #2196f3;
    
}

.bg-blue-ss {
    background-color: #1976d2;
}

.bg-yellow {
    background-color: yellow;
}

.bg-red {
    background-color: red;
}

/*** Text Class ***/
.text-color-white {
    color: #eeeeee;
}

.text-color-green {
    color: #1E7E34;
}

.text-color-light-blue {
    color: rgb(2, 193, 211);
}

.text-color-red {
    color: red;
}

.text-color-blue-sky {
    color: rgb(0, 98, 255);
}

.font-size-12 {
    font-size: 12px;
}

.font-size-15 {
    font-size: 15px;
}

.font-size-20 {
    font-size: 20px;
}

/*** Border Class ***/

.rounded-0 {
    border-radius: 0;
}

.rounded-4px {
    border-radius: 4px;
}

.rounded-50per {
    border-radius: 50%;
}

.rounded-2esq {
    border-radius: 4px 4px 0 0;
}

.border-1px {
    border: 1px solid #cacaca;
}

/*** Padding Class ***/
.p-2px {
    padding: 2px;
}

.pl-4px {
    padding-left: 4px;
}

.pl-8px {
    padding-left: 8px;
}

.p-10px {
    padding: 10px;
}

/*** Flex Class ***/
.d-flex-aux {
    display: flex;
}

.justify-content-flex-between {
    justify-content: space-around;
}

.justify-content-flex-center {
    justify-content: center;
}

.justify-content-flex-end {
    justify-content: flex-end;
}

.align-content-flex-center {
    align-content: end;
}

.align-items-flex-center {
    align-items: center;
}

.row-table-employee:hover, .row-table-detail-employee:hover {
    cursor: pointer;
}

.row-table-employee:focus {
    background-color: aquamarine;
}

/*** Classes Modal ***/
.modal-xl {
    width: 90%;
    /*height: 100px;*/
}

.modal-dialog-custom {
    display: -ms-flexbox;
    -ms-flex-align: center;
    display: flex;
    height: 300px;
    /*align-items: flex-end;*/
    /*min-height: calc(100% - 1rem);*/
}

.modal-top {
    align-items: flex-start;
}

.modal-centered {
    align-items: center;
}

.modal-bottom {
    align-items: flex-end;
}

.modal-header-detail {
    position: relative;
}

.container-modal {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    height: 350px;
    max-height: 500px; /** Altura del modal dialog **/
}

.txtTitle {
    font-size: 15px;
}

.txtColorPrimary {
    color: #1976d2;
}

.txtColorDefault {
    color: #eeeeee;
}

.btn-x-close {
    position: absolute;
    right: 15px;
    top: 10px;
    color: red;
    opacity: 1;
}

.btn-close {
    position: absolute;
    bottom: 10px;
    right: 10px;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    color: red;
    background: #d0eafd;
    background: linear-gradient(180deg, #d0eafd 0%, rgb(240, 240, 240) 100%);
    -webkit-box-shadow: 0px 9px 10px -3px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 9px 10px -3px rgba(0,0,0,0.75);
    box-shadow: 0px 9px 10px -3px rgba(0,0,0,0.75);
}

.shadow-aux {
    -webkit-box-shadow: 0px 3px 5px -3px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 3px 5px -3px rgba(0,0,0,0.75);
    box-shadow: 0px 3px 5px -3px rgba(0,0,0,0.75);
}

@media screen and (min-width: 600px) {
    .gridCss {
        grid-template-columns: repeat(2, auto);
    }
}

@media screen and (min-width: 1050px) {
    .gridCss {
        grid-template-columns: repeat(3, auto);
    }
}