﻿/* Override the default bootstrap behavior where horizontal description lists
   will truncate terms that are too long to fit in the left column
*/
.dl-horizontal dt {
    white-space: normal;
}

html, body {
    font-family: "Helvetica Neue",Helvetica,sans-serif;
    color: #616263;
}

/* Zoom in-out on mouse hover (UI improvement when using img as <a>) */
.grow {
    transition: all .15s ease-in-out;
}

    .grow:hover {
        transform: scale(1.1);
    }

/* Set width on the form input elements since they're 100% wide by default */
/*input,
select,
textarea {
    max-width: 280px;
}*/

h1, h2, h3, h4 {
    color: #687074 !important;
}

#main_login {
    /*	overflow:auto;  */
    width: 406px;
    *width: 408px;
    padding: 20px;
    margin: auto;
    margin-top: 35px;
}

.logo_Login {
    margin: 0 auto;
    display: block;
    width: 288px;
}

.google_Login {
    margin: 0 auto;
    display: block;
}

.vertical-center {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

/* Header */
.header .navbar {
    position: relative;
    border-bottom: 2px;
}

.k-menu, .header, .navbar {
    background-color: #EEEEEE !important;
}

    .header .navbar .k-menu .k-item .k-link {
        line-height: 35px;
        color: #000;
    }

.k-grid-header .k-header {
    background-color: #687074 !important;
    color: #E5FAD3 !important;
}

    .k-grid-header .k-header > .k-link {
        color: #E5FAD3 !important;
        background-color: #687074 !important;
    }

.navbar {
    margin-bottom: 0px;
}

.navbar-right {
    margin-right: 5px;
}

    .navbar-right > li > a,
    .navbar-right > li > a:hover,
    .navbar-right > li > a:focus {
        color: #687074 !important;
    }

/* Keep footer at bottom */
.footer {
    height: 30px;
    min-height: 30px;
    background-color: #EEEEEE;
    padding-top: 9px;
    bottom: 0;
    position: fixed;
    width: 100%;
    font-size: 11px;
}

/* Page container */
#pageWrapper {
    position: relative;
    margin-bottom: 30px;
    margin-right: 0px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    background: #ffffff;
}

#page-content-wrapper {
    width: 100%;
    position: relative;
    padding: 20px 30px 5px 30px
}

/* Form Controls*/
.frmAVG {
    border: none;
    padding: 10px 15px 0px 5px;
    color: #616263;
}

    .frmAVG label {
        font-size: 12px;
    }

    .frmAVG .form-control {
        height: 32px;
        border-color: #a3d0e4 !important;
        border-style: solid !important;
        border-width: 1px !important;
        color: #003f59 !important;
        width: 95%;
    }

.frmProfileGeneral .form-control {
    width: 100% !important;
}

.frmAVG .k-dropdown-wrap {
    border: none;
}

.frmAVG .k-picker-wrap {
    border: none;
}

.frmAVG .form-group {
    margin-bottom: 10px;
}

.frmAVG .control-label {
    padding-right: 3px !important;
}

.frmAVG input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
}

.k-grid input[type="checkbox"] {
    width: 15px !important;
    height: 15px !important;
}

.frmAVG .k-dropdown .k-input {
    min-height: 30px;
}

.frmAVG .k-datepicker .k-input, .frmAVG .k-numerictextbox .k-input {
    height: 30px;
    border: none !important;
}

.k-tabstrip-wrapper .k-widget, .k-tabstrip-wrapper .k-widget * {
    box-sizing: inherit !important;
}

span.k-tooltip {
    font-size: 12px !important;
    position: absolute !important;
}

.k-tabstrip-items .k-link {
    color: #687074 !important;
}

/*Sobreescritura de estilos del grid*/
.k-grid .k-button {
    font-size: 0;
    width: auto !important;
    min-width: 0 !important;
}

.k-grid .k-button {
    padding: 2px 2px 2px 8px !important;
    margin: 0 4px 0 0 !important;
}

.k-grid .k-fa {
    font-size: 12px;
    line-height: 1.3;
    padding: 2px 6px 2px 6px !important;
}

.buttonStrip {
    margin-top: 10px;
    text-align: right;
}

    .buttonStrip a {
        margin: auto;
    }

.top-buffer {
    margin-top: 20px;
}

.dropdown-big {
    width: 100% !important;
}

.hide-errors .text-danger {
    display: none !important;
}

/* Arregla la distorsión en editores popUp */
.k-window .row, .k-window .row * {
    box-sizing: border-box;
    margin-right: 0;
    margin-left: 0;
}

.noLeftPadding {
    padding-left: 0px;
}

.noRightPadding {
    padding-right: 0px;
}

.noHorizontalPadding {
    padding-left: 0px;
    padding-right: 0px;
}

.textWhite {
    color: #ffffff;
}

#CalendarManagementTabs {
    padding: 15px;
}

.alignRight {
    text-align: right;
}

.popupMessage {
    word-wrap: break-word;
    padding-bottom: 7.5px;
}

.footer-btn {
    padding: 2px 10px 5px 10px;
    background: linear-gradient(to bottom, #fff, #f2f2f2);
    border-top: 0px !important;
}

.label-filter {
    padding-top: 0px !important;
}

.panel-filter > .panel-heading, .panelSmallHeading {
    padding: 5px 15px;
    font-size: 0.9em;
}

.panel-filter > .panel-body {
    padding: 5px 5px 10px 5px;
}

.minimal-checkbox {
    height: 20px !important;
}

.panel-filter-inner > .panel-body {
    padding: 5px 10px 10px 10px !important;
}

.panel-filter .k-dropdown .k-dropdown-wrap {
    height: 24px;
}

.panel-filter .form-horizontal .form-group-sm .control-label {
    padding-top: 2px !important;
    font-size: 12px !important;
}

.panel-filter .form-horizontal .form-group-sm .form-control {
    height: 24px;
}

/*** [BEGIN] Kendo 2017.3.913 icon bug ***/

.k-add:before {
    content: "\e11e";
}

.k-edit:before {
    content: "\e10b";
}

.k-delete:before {
    content: "\e10c";
}

.panel-footer {
    background-color: #ffffff !important;
}
/*** [END] Kendo 2017.3.913 icon bug ***/

/*Small screen overrides*/
@media(max-width:480px) {
    #main_login {
        width: 100%;
        padding: .2em;
    }

    #page-content-wrapper, #page-content-wrapper > .container-fluid {
        padding: .8em !important;
    }

    #gridImputations td[data-container-for='Hours'] span.k-select {
        display: none;
    }

    #gridImputations td[data-container-for='Hours'] .k-numeric-wrap {
        padding: 0 !important;
    }

    #gridImputations #Commentary {
        min-width: 100px;
    }

    .k-widget.k-window {
        max-width: 100%;
    }

    #pageWrapper, #gridHolidays {
        overflow-x: auto !important;
    }
}

/*LISTBOX*/
.avangroup-listbox {
    display: flex;
    flex: 1 0 100%;
    flex-direction: column;
}

.source-wrapper, .destination-wrapper {
    min-width: 300px;
    border: 1px solid #ccc;
    flex: 1;
}

.source-main-wrapper, .destination-main-wrapper {
    flex: 1 1 20%;
    max-width: 500px;
}

.avangroup-listbox.btn-container {
    flex-direction: column;
    flex: 0 0 50px;
}

.avangroup-listbox .avangroup-list-item {
    user-select: none;
}

    .avangroup-listbox .avangroup-list-item:hover {
        cursor: pointer;
    }

.avangroup-listbox .selected {
    background-color: #7ad2f7;
}

.avangroup-listbox .avangroup-list-item {
    align-self: stretch;
    padding: .5em;
}

.avangroup-listbox.wrapper {
    display: inline-flex;
    flex-direction: row;
}

.avangroup-listbox.readonly .btn-container, .avangroup-listbox.readonly .source-main-wrapper {
    display: none;
}

#clistBoxEmployees {
    margin-left: 2em;
}

    #clistBoxEmployees .avangroup-listbox, .source-wrapper {
        overflow-y: auto;
    }

    #clistBoxEmployees .destination-wrapper {
        overflow-y: auto;
        position: relative;
        overflow-x: hidden;
    }

.destination-wrapper thead {
    z-index: 999999;
}

#clistBoxEmployees th:first-child {
    width: 45px;
    white-space: nowrap;
}

#clistBoxEmployees tbody.avangroup-listbox {
    display: table-row-group;
    border: 0 !important;
}

#clistBoxEmployees th, .clistbox-header {
    padding: .5em 1em;
    border: 1px;
    background-color: #687074;
    color: #E5FAD3;
    border: 1px solid #ccc;
    font-weight: normal;
}

.invalid-element > div .k-in::before {
    content: "\e101";
    color: red;
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}

.inactive-employee {
    background-color: rgba(100,100,100,.2);
    border: 1px solid white;
}

#frmAVG.orgUnitForm, #frmAVG.orgUnitForm > .panel.panel-default, #frmAVG.orgUnitForm > .panel.panel-default > .panel-body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex: 1;
    max-height: 92%;
}

    #frmAVG.orgUnitForm > .panel.panel-default > .panel-body {
        flex-direction: row;
        max-height: 100%;
    }

    #frmAVG.orgUnitForm #clistBoxEmployees {
        flex: 1;
    }

.employee-portrait {
    max-width: 50px;
    max-height: 50px;
    width: auto;
    height: auto;
}

.employee-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: .4em .7em;
}

    .employee-card .employee-name {
        margin: .5em;
    }

#clistBoxEmployees td:first-child {
    padding-left: 1em;
}

#clistBoxEmployees .avangroup-listbox.btn-container {
    justify-content: center;
    margin: 1em;
}

.avangroup-listbox.avangroup-listbox-source.k-widget.k-listview {
    border: 0 !important;
}

tbody.hide-unselected > tr:not(.k-state-selected), .avangroup-listbox-source.hide-unselected .employee-card:not(.k-state-selected) {
    display: none
}

#treeOrgUnit {
    flex: 1;
    border: 1px solid #ccc;
}

.source-main-wrapper, .destination-main-wrapper {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

    .source-main-wrapper .control-label, .destination-main-wrapper .control-label, .orgUnitContainer .control-label {
        text-align: left;
    }

#clistBoxEmployees .k-button {
    margin: .4em 0;
    padding: .5em;
}

.avangroup-listbox.avangroup-listbox-source {
    position: static;
}

.borderless {
    border: 0 !important;
}

.borderless-right {
    border-right: 0 !important;
}

.borderless-left {
    border-left: 0 !important;
}

.orgUnitContainer {
    flex: 0 0 15%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 250px;
}

.k-ff .k-treelist input[type='checkbox'] {
    transform: scale(1.2) translateY(2px);
}

.MultiTree .modal-header {
    padding-bottom: 0 !important;
}

.k-treeview-lines .k-top,
.k-treeview-lines .k-mid,
.k-treeview-lines .k-bot {
    background-image: url('images/treeview-nodes.png');
}

.k-treeview-lines .k-item {
    background-image: url('images/treeview-line.png');
}

.k-treeview-lines .k-last {
    background-image: none;
}

.k-treeview-lines .k-top,
.k-treeview-lines .k-mid,
.k-treeview-lines .k-bot {
    background-repeat: no-repeat;
    margin-left: -16px;
    padding-left: 16px;
}

.k-treeview-lines .k-top {
    background-position: -91px 0;
}

.k-treeview-lines .k-bot {
    background-position: -69px -22px;
}

.k-treeview-lines .k-mid {
    background-position: -47px -44px;
}

.k-treeview-lines .k-last .k-top {
    background-position: -25px -66px;
}

.k-treeview-lines .k-group .k-last .k-bot {
    background-position: -69px -22px;
}

.k-treeview-lines .k-item {
    background-repeat: no-repeat;
}

.k-treeview-lines .k-first {
    background-repeat: no-repeat;
    background-position: 0 16px;
}

.borderless {
    border-width: 0 !important;
}

.miniToggleContainer {
    float: right;
    display: inline-block;
    /*margin-top: 1px;*/
}

    .miniToggleContainer .toggle {
        width: 20px;
        height: 16px;
    }

        .miniToggleContainer .toggle.btn {
            min-width: 60px;
        }

    .miniToggleContainer .btn-xs {
        font-size: 11px;
        line-height: 1.1;
    }

.form-padding {
    padding: .3em !important;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.size-1 {
    flex: 1;
}

.size-5 {
    flex: 5;
}

.flex-column, .multi-grid-editor-window {
    display: flex;
    flex-direction: column;
}

    .multi-grid-editor-window .k-grid-content {
        height: calc(100% - 30px) !important;
    }

.flex-center-center {
    justify-content: center;
    align-items: center;
}

.flex-center-stretch {
    justify-content: center;
    align-items: stretch;
}

.k-loading-sticky-mask .k-loading-color {
    width: 100%;
    height: 100%;
    position: absolute;
}

/* Sobreescribimos de esta manera la ruta a ../fonts que trae Bootstrap por defecto */
@font-face {
    font-family: 'Glyphicons Halflings';
    src: url('../Content/fonts/glyphicons-halflings-regular.eot');
    src: url('../Content/fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../Content/fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}

.k-radio-label:before {
    border-color: #c4c4c4;
    border-radius: 50%;
    background-color: #ffffff;
    border-width: 1px;
    box-sizing: unset;
}

.k-i-calendar {
    position: static !important;
}

.date-picker {
    width: 100% !important;
}

.k-clear-value {
    position: relative !important;
    left: 1%;
}

.panel-container .header {
    background-color: #f5f5f5 !important;
    cursor: pointer;
}

.panel-container .content {
    display: none;
}
