﻿/* top-menu */
.top-menu-notifications {
    position: absolute;
    right: 140px;
    padding-top: 3px;
    z-index: 1;
}

.top-menu-notifications-badge-container {
    position: absolute;
    right: 150px;
    padding-top: 25px;
    z-index: 2;
}

.top-menu-settings {
    position: absolute;
    right: 75px;
    padding-top: 3px;
}

.top-menu-logout {
    position: absolute;
    right: 10px;
    padding-top: 3px;
}

/* commons */
.message {
    padding: 10px !important;
}

.img-color {
    width: 16px;
    height: 16px;
    border: 1px solid black;
}

.wide-right-border {
    border-right-width: 4px !important;
    border-right-color: rgb(72, 72, 72) !important;
}

.wide-left-border {
    border-left-width: 4px !important;
    border-left-color: rgb(72, 72, 72) !important;
}

.wide-top-border {
    border-top-width: 4px !important;
    border-top-color: rgb(72, 72, 72) !important;
}

.wide-bottom-border {
    border-bottom-width: 4px !important;
    border-bottom-color: rgb(72, 72, 72) !important;
}

.top-menu ul li.dxr-groupSep:last-child {
    width: 0 !important;
    height: 0 !important;
    border: 0 !important;
}

.ribbon-active {
    background: rgb(248,235,178) !important;
    background: linear-gradient(180deg, rgba(248,235,178,1) 0%, rgba(251,243,200,1) 100%) !important;
    border: 1px solid rgb(242,202,88) !important;
    border-radius: 3px !important;
}

.settings {
    padding: 20px 0;
}

.button {
    margin: 3px !important;
    min-width: 90px !important;
}

.button img {
    float: left !important;
}

.button-home {
    text-transform: uppercase;
    color: #fff !important;
    height: 40px;
    border-radius: 10px;
    border: 0 !important;
}

.button-add-event-entry {
    background: #209F4A !important;
}

.button-add-event-other {
    background: #1177D7 !important;
}

.button-home:hover {
    background: gray !important;
}

.button-add-event-exit {
    background: #CA2224 !important;
}

.button-add-event-business-exit {
    background: rgb(0,162,232) !important;
}

/*RadioButtonList*/
.dxe {
    padding-left: 0 !important;
}  

/* Right arrow */
.arrows {
    padding-bottom: 40px;
    padding-top: 40px;
    z-index: 1;
    position: relative;
}

.home-warning-image {
    height: 32px;
    padding: 0 10px;
    display: inline-block;
    position: relative;
    margin-top: -3px;
}

/*tooltip-top*/

.field-arrow {
    position: relative;
    display: inline-block;
}

.right-arrow {
    display: inline-block;
    line-height: 38px;
    margin: 15px 10px;
    position: relative;
    padding-left: 10px;
    padding-right: 20px;
}

.right-arrow:before, .right-arrow:after {
    content: "";
    border-style: solid;
    border-width: 0;
    height: 0;
    position: absolute;
    width: 0;
    border-width: 19px 0 19px 19px;
}

.right-arrow:before {
    border-top-color: inherit;
    border-bottom-color: inherit;
    border-left-color: transparent;
    border-right-color: transparent;
    left: -19px;
}

.right-arrow:after {
    border-top-color: transparent;
    border-bottom-color: transparent;
    border-left-color: inherit;
    border-right-color: inherit;
    right: -19px;
}

/*tooltip-top*/

.has-tooltip:hover + .tooltip,
.has-tooltip:focus + .tooltip,
.has-tooltip.hover + .tooltip {
    opacity: 1;
    transform: translate(-50%, -100%) scale(1) rotate(0);
    pointer-events: inherit;
}

.tooltip {
    display: block;
    position: absolute;
    top: -16px;
    left: 5px;
    transform: translate(-50%, -50%) scale(0.75) rotate(5deg);
    transform-origin: bottom center;
    margin-top: 13px;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    text-align: center;
    transition: 0.15s ease-in-out;
    opacity: 0;
    pointer-events: none;
    z-index: 5;
    background: silver;
    box-shadow: 0 0 0 3px #8B2323;
}

.tooltip p {
    padding-top: 10px;
    padding-left: 1px;
    font-size: 10px;
    font-family: Verdana;
    color: black;
}

.tooltip:hover {
    opacity: 1;
    transform: translate(-50%, -100%) scale(1) rotate(0);
    pointer-events: inherit;
}

.tooltip:after {
    content: "";
    display: block;
    margin: 0 auto;
    height: 18px;
    border: 2px solid;
    border-color: inherit;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 100%);
}

/*tooltip-bottom*/

.has-tooltip:hover ~ .tooltip-bottom,
.has-tooltip:focus ~ .tooltip-bottom,
.has-tooltip.hover ~ .tooltip-bottom {
    opacity: 1;
    transform: translate(-50%, -100%) scale(1) rotate(0);
    pointer-events: inherit;
}

.tooltip-bottom {
    display: block;
    position: absolute;
    transform: translate(-50%, -50%) scale(0.75) rotate(5deg);
    transform-origin: top center;
    margin-top: 13px;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    text-align: center;
    transition: 0.15s ease-in-out;
    opacity: 0;
    pointer-events: none;
    z-index: 6;
    background: silver;
    box-shadow: 0 0 0 3px #8B2323;
    
    bottom: -71px;
    left: 80%;
    transition-delay: 0.15s;
}

.tooltip-bottom p {
    padding-top: 10px;
    padding-left: 1px;
    font-size: 10px;
    font-family: Verdana;
    color: black;
}

.tooltip-bottom:hover {
    opacity: 1;
    transform: translate(-50%, -100%) scale(1) rotate(0);
    pointer-events: inherit;
}

.tooltip-bottom:after {
    content: "";
    display: block;
    margin: 0 auto;
    height: 18px;
    border: 2px solid;
    border-color: inherit;
    position: absolute;
    bottom: 52px;
    left: 50%;
    transform: translate(-50%, 100%);
}

/* tooltip top center - warning */
.has-tooltip:hover + .tooltip-top-warning,
.has-tooltip:focus + .tooltip-top-warning,
.has-tooltip.hover + .tooltip-top-warning {
    opacity: 1;
    transform: translate(-50%, -100%) scale(1) rotate(0);
    pointer-events: inherit;
}

.tooltip-top-warning {
    display: inline-block;
    position: absolute;
    top: -30px;
    left: 50%;
    padding: 0 10px;
    transform: translate(-50%, -50%) scale(0.75) rotate(5deg);
    transform-origin: bottom center;
    margin-top: 13px;
    border-radius: 5%;
    height: 34px;
    text-align: center;
    transition: 0.15s ease-in-out;
    opacity: 0;
    pointer-events: none;
    z-index: 5;
    background: silver;
    box-shadow: 0 0 0 3px #ffb121;
}

.tooltip-top-warning p {
    padding-top: 10px;
    padding-left: 1px;
    font-size: 10px;
    font-family: Verdana;
    color: black;
    white-space: nowrap;
}

.tooltip-top-warning:hover {
    opacity: 1;
    transform: translate(-50%, -100%) scale(1) rotate(0);
    pointer-events: inherit;
}

.tooltip-top-warning:after {
    content: "";
    display: block;
    margin: 0 auto;
    height: 16px;
    border: 2px solid;
    border-color: #ffb121;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 100%);
}

.badge-notifications {
    background: #fff !important;
    font-size: 11px !important;
    color: #000 !important;
}

/* Blick img */
@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.blink-image {
    -moz-animation: blink normal 2s infinite ease-in-out; /* Firefox */
    -webkit-animation: blink normal 2s infinite ease-in-out; /* Webkit */
    -ms-animation: blink normal 2s infinite ease-in-out; /* IE */
    animation: blink normal 2s infinite ease-in-out; /* Opera and prob css3 final iteration */
}

/* Grid week */
.grid-week-cell {
    height: 40px;
    overflow: hidden;
}

.grid-week-cell-day {
    background: #f5f5f5;
    float: left;
    height: 40px;
    width: 40px;
    max-width: 20%;
    margin-top: 0;
    font-size: 10px;
    display: block;
    padding-left: 2px;
    padding-top: 7px;
    text-align: center;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.grid-week-cell-value {
    height: 40px;
    padding-top: 13px;
    float: left;
    padding-left: 15px;
    white-space: nowrap;
    width: 80%;
    overflow: hidden;
    text-overflow: '';
}

.grid-week-cell-blend-mode {
    color: white;
    mix-blend-mode: difference;
}

.grid-week-cell-default {
    height: 40px;
    border: solid #C3C3C3 10px !important;
    border-radius: 20px;
}

.grid-week-cell-selected {
    background: linear-gradient(#F0E68C, #FFFF80) !important;
}

.grid-week-cell-focused {
    background: linear-gradient(#F0E68C, #FFFF80) !important;
}

/* Attendance */

.attendance-card-grid {
    border-collapse: collapse !important;
    background: #C3C3C3 !important;
}

.attendance-card-row {
    height: 60px;
    background: #C3C3C3 !important;
}

.attendance-card-options {
    user-select: none;
}

.attendance-card-cell-show {
    display: block;
    text-overflow: '';
    white-space: nowrap;
    overflow: hidden;
}

.attendance-card-cell-hide {
    display: none;
}

.dxgvRBB {
    background: none !important;
}

/* Work history */
.grid-view-default-row {
    background: white;
}

.grid-view-default {
    background: white !important;
}

/* Attendance list */
.attendance-list-cell {
    color: white;
    mix-blend-mode: difference;
    white-space: nowrap;
    width: 80%;
    overflow: hidden;
    text-overflow: '';
}

/* Home gauge timer*/
#gauge-timer {
    width: 400px;
}

.gauge-container {
    width: auto;
    height: auto;
    display: block;
    padding: 10px;
    overflow: hidden;
}

.gauge-container.timer {
    height: auto;
}

.gauge-container.timer > .gauge > .dial {
    stroke: #c3c3c3;
    stroke-width: 5;
}

.gauge-container.timer > .gauge > .value {
    stroke-dasharray: none;
    stroke-width: 5;
}

.gauge-text-container {
    fill: #fff;
}

.gauge-label-top {
    fill: #fff;
    font-weight: bold;
    font-size: 50%;
}

.gauge-label-bottom {
    fill: #fff;
    font-size: 50%;
}

.img-employee {
    border-radius: 50%;
    border: 3px solid #fff;
}

/*Home bottom*/
.home-bottom-text {
    margin: 3px;
    color: #fff;
    height: 40px;
    border-radius: 10px;
    border: 0;
    display: table;
    font-weight: bold;
    font-size: 22px;
    padding-left: 25px;
    padding-right: 25px;
}

.home-bottom-text > div:first-of-type {
    display: table-cell;
    vertical-align: middle;
}

.home-bottom-green {
    background: #209F4A;
}

.home-bottom-yellow {
    background: #F7B628;
}

.home-bottom-red {
    background: #CA2224;
}

.home-bottom-blue {
    background: #1177D7;
}

.home-bottom-label {
    font-size: 20px;
    padding-bottom: 15px;
}

.col-centered {
    float: none;
    margin: 0 auto;
}