/*
 * Copyright (c) 2017. Mobifly Grzegorz Zagrobelny, mobifly.pl
 * -------------------------------------------------------------------------------------------------------
 * Unauthorized copying of this file and any file from this project package, via any medium is strictly prohibited.
 * Any edition of the sources of files from this project without permission of the author is prohibited may result
 * in loss of services and guarantees obtained by means of the agreement on the final product.
 * -------------------------------------------------------------------------------------------------------
 * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
 * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
 * -------------------------------------------------------------------------------------------------------
 * Proprietary and confidential.
 * Written by Grzegorz Zagrobelny <mobifly@mobifly.pl>
 *
 * KendoUI extends and common classes (files could be edited only by project leader)
 */
@font-face {
    font-family: 'RobotoRegular';
    src: url('../fonts/Roboto-Regular-webfont.eot');
    src: url('../fonts/Roboto-Regular-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Roboto-Regular-webfont.woff') format('woff'),
    url('../fonts/Roboto-Regular-webfont.ttf') format('truetype'),
    url('../fonts/Roboto-Regular-webfont.svg#robotoregular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'OpenSansRegular';
    src: url('../fonts/OpenSans-Regular-webfont.eot');
    src: url('../fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/OpenSans-Regular-webfont.woff') format('woff'),
    url('../fonts/OpenSans-Regular-webfont.ttf') format('truetype'),
    url('../fonts/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    color: #555;
    font: 400 10pt RobotoRegular, OpenSansRegular, Arial, Helvetica, sans-serif;
    margin: 0;
    overflow: hidden;
}

/* Common Rules */

a:visited,
a:active {
    outline: none;
}

a {
    color: inherit;
    text-decoration: none;
    outline: none;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    clear: both;
    *zoom: 1;
}

.img-responsive,
.thumbnail > img,
.thumbnail a > img {
    display: block;
    max-width: 100%;
    height: auto;
}

.img-rounded {
    border-radius: 6px;
}

.img-thumbnail {
    display: inline-block;
    max-width: 100%;
    height: auto;
    padding: 4px;
    line-height: 1.42857143;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.img-circle {
    border-radius: 50%;
}

img {
    font-family: 'Helvetica';
    font-weight: 300;
    line-height: 2;
    text-align: center;
    position: relative;
}

img:after {
    content: "\f1c5" " " attr(alt);

    font-size: 16px;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: rgb(100, 100, 100);

    display: block;
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
}

img.profile-img:before {
    content: " ";
    display: block;
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 50%;
}

img.profile-img:after {
    z-index: 3;
    background: transparent;
    transform: translateY(-50%);
    top: 50%;
}

.full-width {
    width: 100% !important;
}

.k-relative {
    position: relative;
}

.k-paragraph {
    margin: 0px 0.3em;
    padding: 0.5em 1em;
}

.k-paragraph.small {
    font-size: 8pt;
}

.k-no-select,
.no-select {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

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

.k-hidden {
    display: none !important;
}

.k-no-wrap,
.no-wrap,
ul.k-no-wrap li,
ul.no-wrap li {
    white-space: nowrap;
}

.k-no-border,
.no-border {
    border: none;
}

.k-no-padding,
.no-padding {
    padding: 0;
}

.k-no-padding-top,
.no-padding-top {
    padding-top: 0;
}

.k-no-padding-bottom,
.no-padding-bottom {
    padding-bottom: 0;
}

.k-no-padding-left,
.no-padding-left {
    padding-left: 0;
}

.k-no-padding-right,
.no-padding-right {
    padding-right: 0;
}

.k-padding,
.padding {
    padding: 1em;
}

.k-no-margin,
.no-margin {
    margin: 0;
}

.k-no-margin-top,
.no-margin-top {
    margin-top: 0;
}

.k-no-margin-bottom,
.no-margin-bottom {
    margin-bottom: 0;
}

.k-no-margin-left,
.no-margin-left {
    margin-left: 0;
}

.k-no-margin-right,
.no-margin-right {
    margin-right: 0;
}

.k-no-top,
.no-top {
    top: 0;
}

.k-no-bottom,
.no-bottom {
    bottom: 0;
}

.k-no-left,
.no-left {
    left: 0;
}

.k-no-right,
.no-right {
    right: 0;
}

.k-textbox .k-i-clock, .k-textbox .k-i-calendar {
    top: 0px;
    position: relative;
}

.k-textbox .k-icon.k-i-calendar {
    margin: 0px 0px 0px 5px;
}

.k-autocomplete .k-input, .k-dropdown-wrap .k-input, .k-numeric-wrap .k-input, .k-picker-wrap .k-input, .k-selectbox .k-input, .k-textbox > input {
    height: auto !important;
}

.k-picker-wrap.k-state-default {
    border-color: transparent !important;
}

.k-shadow,
.shadow,
.k-grid.k-shadow,
.k-grid.shadow {
    -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .2);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .2);
}

html .k-text-center,
html .k-align-center,
html .text-center {
    text-align: center;
}

html .k-text-left,
html .k-align-left,
html .text-left {
    text-align: left;
}

html .k-text-right,
html .k-align-right,
html .text-right {
    text-align: right;
}

html .k-text-italic,
html .text-italic {
    font-style: italic;
}

html .k-text-uppercase,
html .text-uppercase {
    text-transform: uppercase;
}

html .k-pull-right,
html .pull-right {
    float: right;
}

html .k-pull-left,
html .pull-left {
    float: left;
}

kbd {
    display: inline-block;
    margin: 0 .1em;
    padding: .1em .6em;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 11px;
    line-height: 1.4;
    color: #242729;
    text-shadow: 0 1px 0 #FFF;
    background-color: #e1e3e5;
    border: 1px solid #adb3b9;
    border-radius: 3px;
    box-shadow: 0 1px 0 rgba(12, 13, 14, 0.2), 0 0 0 2px #FFF inset;
    white-space: nowrap;
}

.plain-toolbar {
    border-left: 0 none;
    border-right: 0 none;
    border-top: 0 none;
}

.border-bottom {
    border-bottom: 1px solid #e6e6e6;
}

.border-top {
    border-top: 1px solid #e6e6e6;
}

.border {
    border: 1px solid #e6e6e6;
}

.border-left {
    border-left: 1px solid #e6e6e6;
}

.border-right {
    border-right: 1px solid #e6e6e6;
}

.tsn {
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    -ms-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}

.flex-columns {
    display: flex;
    flex-direction: column;
}

/* Page Loader */
#k-page-loader {
    position: absolute;
    width: 86px;
    height: 50px;
    top: 50%;
    left: 50%;
    margin: -25px 0 0 -43px;
    text-align: center;
    padding: 5px;
}

/* Better Window and Footer */
.k-card > .k-content > .k-footer,
.k-form > .k-footer,
.k-window-content .k-footer,
.k-edit-form-container .k-edit-buttons {
    border-top: 1px solid #eee;
    clear: both;
    margin-top: 10px;
    padding: 10px 0 4px;
}

.k-edit-form-container .k-edit-buttons {
    background-color: transparent;
    width: 97.5%;
    margin: 0 1em;
    padding: 15px 0;
}

.k-card > .k-content > .k-footer,
.k-form > .k-footer {
    padding: 15px 0;
}

.k-card .k-footer.right,
.k-form .k-footer.right,
.k-window-content .k-footer.right {
    text-align: right;
}

.k-card .k-footer.center,
.k-form .k-footer.center,
.k-window-content .k-footer.center {
    text-align: center;
}

.k-card .k-footer .k-button,
.k-form .k-footer .k-button,
.k-window-content .k-footer .k-button,
.k-menu.k-menu-horizontal.as-button {
    margin: 0 5px;
}

/* Extra colours */
html .k-warning-colored {
    background-color: #fff1e8;
    border-color: #ffd1b5;
    color: #404040;
}

html .k-danger-colored,
.k-edit-form-container .k-scheduler-delete {
    background-color: #d9534f;
    border-color: #d43f3a;
    color: #FFF;
}

html .k-dimmed-colored {
    background-color: #f8f8f8;
    color: #A0A0A0;
    border-color: #e6e6e6;
}

.k-button.k-danger-colored:not(.k-state-disabled):not([disabled]):hover,
.k-edit-form-container .k-scheduler-delete:not(.k-state-disabled):not([disabled]):hover,
.k-button.k-danger-colored:not(.k-state-disabled):not([disabled]).k-state-hover {
    color: #FFF;
    border-color: #AC2925;
    background-color: #D2322D;
}

/* Headers extra styles */
.k-header > .k-align-right {
    float: right;
}

.k-header > .k-align-left {
    float: left;
}

.k-header > .k-align-center {
    float: none;
    text-align: center;
}

/* Extra button styles */
.k-button.k-small {
    padding: 5px 10px;
    font-size: 11px;
}

.k-button.k-small > .k-sprite.fa,
.k-button.k-small > .k-sprite.fab,
.k-button.k-small > .k-sprite.fas,
.k-button.k-small > .k-sprite.far {
    font-size: 13px;
    margin-right: 0;
}

.k-toolbar > * {
    max-height: 2.5em;
}

.k-button, .k-toolbar .k-button {
    line-height: 1;
    padding: 7px 12px;
    height: 2.3em;
    margin-bottom: -webkit-calc(-.42857143em + 1px);
    margin-bottom: calc(-.42857143em + 1px);
}

.k-toolbar .k-overflow-anchor + .k-button {
    margin-left: .2em;
}

.k-toolbar .k-split-button {
    height: 2.2em;
    line-height: 1;
    padding: 0;
    margin-top: calc(-.255em + 1px);
    margin-bottom: 0;
}

.k-toolbar .k-split-button .k-split-button-arrow {
    padding: 0;
}

.k-button, .k-calendar .k-header .k-link, .k-calendar .k-footer {
    text-transform: none;
}

.k-calendar .k-header .k-link {
    color: #444;
}

.k-toolbar .k-button .k-icon,
.k-toolbar .k-button .k-sprite,
.k-overflow-container .k-button .k-icon,
.k-overflow-container .k-button .k-sprite {
    margin-bottom: -5px;
    margin-top: -8px;
    vertical-align: middle;
}

.k-button-icontext .k-icon, .k-button-icontext .k-image, .k-button-icontext .k-sprite {
    margin-right: .3em;
}

.k-split-wrapper .k-button, .k-overflow-container .k-button {
    font-family: RobotoRegular, OpenSansRegular, sans-serif;
    font-size: 13px;
    line-height: 2em;
    height: auto;
    padding: 0 .5em;
}

.k-split-wrapper .k-button {
    line-height: 2.5em;
    height: 2.5em;
    padding: 0 1em;
    border: 0;
}

.k-overflow-container .k-overflow-button {
    border: none;
    line-height: 2.5em;
    height: 2.5em;
    padding: 0 1em;
}

.k-overflow-container .k-item {
    padding: 0;
}

.k-overflow-container .k-item:last-child {
    padding-bottom: 4px;
}

.k-overflow-container .k-overflow-button {
    border: none;
}

.k-overflow-container .k-button.k-item {
    padding: 0;
    height: 2.3em;
}

/* Icons */
.k-sprite.fa,
.k-sprite.fab,
.k-sprite.far,
.k-sprite.fas {
    font-size: 13px;
}

.k-sprite.fa.fa-plain-icon,
.k-sprite.fab.fab-plain-icon,
.k-sprite.far.far-plain-icon,
.k-sprite.fas.fas-plain-icon {
    left: 0px;
}

.fa.fa-icon-small,
.fab.fab-icon-small,
.far.far-icon-small,
.fas.fas-icon-small {
    min-width: 40px !important;
    border: 0;
}

.k-toolbar .k-button:not(.k-toggle-button) .k-sprite.fa.fa-plain-icon,
.k-toolbar .k-button:not(.k-toggle-button) .k-sprite.fab.fab-plain-icon,
.k-toolbar .k-button:not(.k-toggle-button) .k-sprite.far.far-plain-icon,
.k-toolbar .k-button:not(.k-toggle-button) .k-sprite.fas.fas-plain-icon {
    left: 4px;
}

/* Treeview Fix */
.k-treeview .k-in {
    cursor: pointer !important;
    padding: 1px 5px;
}

.k-treeview .k-checkbox {
    margin-top: .5em;
}

.k-window > div.k-popup-edit-form {
    overflow: hidden;
    padding: .8em;
}

.k-popup-message {
    text-align: left;
    padding-left: 1em;
}

.k-window > div.k-popup-edit-form.k-scheduler-edit-form {
    padding-top: 0;
}

.k-event-actions, .k-event > .k-link, .k-task > .k-link {
    top: -2px;
    right: -1px;
}

.k-button.k-button-icon.k-button-bare.k-tabstrip-next,
.k-button.k-button-icon.k-button-bare.k-tabstrip-prev {
    border: 0px;
    border-radius: 0px;
    height: 24px;
    width: 24px;
    top: 7px;
    right: 6px;
    display: block;
    background: rgb(255, 255, 255) !important;
}

.k-button.k-button-icon.k-button-bare.k-tabstrip-next > .k-icon,
.k-button.k-button-icon.k-button-bare.k-tabstrip-prev > .k-icon {
    position: relative;
    top: -3px;
    left: -1px;
}

.k-button.k-bare {
    position: relative;
    top: -3px;
}

/* Google Map */
#pac-input {
    margin-top: 30px;
    width: 470px;
}

.pac-container {
    width: 400px;
    z-index: 99999;
}

.k-window-titlebar .k-link {
    position: relative;
    top: -2px;
}

.k-window-titlebar .k-state-hover {
    background-color: #ccc;
    border-color: #ccc;
}

.k-panelbar > li > ul.k-group > li.k-item > span {
    padding-left: 2.2em;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.k-panelbar .k-item > span {
    height: 39px;
    line-height: 39px !important;
}

.k-panelbar .k-link > .k-sprite {
    margin-top: 11px;
}

.k-loading-mask {
    background: rgba(255, 255, 255, .5);
}

.k-loading-image {
    background-image: none;
}

.k-loading-image .circular {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -50px;
    margin-left: -50px;
    height: 100px;
    width: 100px;
    animation: loader-rotate 2s linear infinite;
}

.k-loading-image .circular > .path {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    animation: loader-dash 1.5s ease-in-out infinite, loader-color 6s ease-in-out infinite;
    stroke-linecap: round;
}

@keyframes loader-rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes loader-dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -124;
    }
}

@keyframes loader-color {
    100%, 0% {
        stroke: #d62d20;
    }
    40% {
        stroke: #0057e7;
    }
    66% {
        stroke: #008744;
    }
    80%, 90% {
        stroke: #ffa700;
    }
}

/* Grid Layout */
.k-grid-layout {
    display: flex; /* 1 */
    flex-wrap: wrap; /* 2 */
    margin: -0.5em; /* 5 (edit me!) */
}

.k-grid-layout > * {
    flex: 1 0 5em; /* 3 (edit me!) */
    margin: 0.5em; /* 4 (edit me!) */
}

/* Login Dialog */
#k-login-dialog .forgot-password-container,
#k-forgot-dialog .back-container {
    margin-bottom: 5px;
    margin-top: 15px;
}

#k-login-dialog .forgot-password,
#k-forgot-dialog .back {
    cursor: pointer;
    font-size: 8pt;
    text-align: center;
    margin: 0 auto;
    position: relative;
    left: -25px;
}

#k-login-dialog input,
#k-login-dialog button {
    width: 18em;
}

#k-forgot-dialog .copyright-url,
#k-login-dialog .copyright-url {
    text-transform: uppercase;
}

/**
 * Faster animation for animate.css
 */
.fast-animation.animated {
    -webkit-animation-duration: .45s;
    animation-duration: .45s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.fast-animation-x2.animated {
    -webkit-animation-duration: .25s;
    animation-duration: .25s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

/* Material ink animation */
.k-button {
    position: relative;
    overflow: hidden;
}

.ink {
    display: block;
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 100%;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    z-index: 1;
}

.ink-animate {
    -webkit-animation: ripple 0.65s linear;
    -moz-animation: ripple 0.65s linear;
    -ms-animation: ripple 0.65s linear;
    -o-animation: ripple 0.65s linear;
    animation: ripple 0.65s linear;
}

@-webkit-keyframes ripple {
    100% {
        opacity: 0;
        -webkit-transform: scale(2.5);
    }
}

@-moz-keyframes ripple {
    100% {
        opacity: 0;
        -moz-transform: scale(2.5);
    }
}

@-o-keyframes ripple {
    100% {
        opacity: 0;
        -o-transform: scale(2.5);
    }
}

@keyframes ripple {
    100% {
        opacity: 0;
        transform: scale(2.5);
    }
}

@media only screen and (max-width: 1024px) {
    .k-edge .k-scheduler-toolbar > ul.k-scheduler-views.k-state-expanded, .k-ff .k-scheduler-toolbar > ul.k-scheduler-views.k-state-expanded, .k-ie11 .k-scheduler-toolbar > ul.k-scheduler-views.k-state-expanded, .k-safari .k-scheduler-toolbar > ul.k-scheduler-views.k-state-expanded, .k-webkit .k-scheduler-toolbar > ul.k-scheduler-views.k-state-expanded {
        background-color: inherit;
    }
}
