/*
    < 640         = Small
    > 640 < 1024  = Medium
    > 1024        = Large
*/

html, body {
    color: #607d8b;
}

.button {
    color: #607d8b;
}

.k - dropdown - wrap > .k - input, .k - dropdown.k - dropdown - wrap.k - select, .k - list, .k - reset {
    background - color: lightblue;
}

/* Error States */
.validation-summary-errors > ul {
    list-style: none;
    color: red;
    padding: 0;
    text-align: center;
}

.field-validation-error {
    color: red;
    white-space: pre;
}

.field-validation-error:before{
    content: '\A';
}

iframe {
    height: calc(calc(90vh) - 100px);
    width: calc(calc(90vw) - 50px);
    border: none;
}

.k-grid-norecords-template {
    width: 100%;
}

.k-grid {
    font-size: 0.85em;
}

.k-textbox, .k-combobox {
    width: 90%;
}

.k-chart > svg {
    overflow: visible !important;
}

[type="checkbox"] + label {
    vertical-align: top;
}

[type="text"] {
    margin: 0;
}

.button {
    margin: 0;
}

@media (max-width:640px) {
    .top-bar .top-bar-left {
        flex: none;
    }
}

.spacer {
    padding-top: 25px;
}

.grid-x > h4,
.grid-x > h5 {
    padding-top: 12px;
}

.cell.page-header {
    align-self: center;
    text-overflow: clip;
}

.cell.button-area {
    display: flex;
    flex-direction: row-reverse;
    /*padding: 5px 0 5px 5px;*/
    align-content: center;
}

.cell.button-area-nopad {
    display: flex;
    flex-direction: row-reverse;
}

    .cell.button-area > .button {
        margin: 5px 0 5px 5px;
        align-self: flex-start;
    }


    #addEditDialog {
        padding-top: 5px;
    }



.k-dialog-titlebar {
    padding-bottom: 0px;
}

/* LOGIN STRUCTURE */
.wrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

#formContent {
    -webkit-border-radius: 10px 10px 10px 10px;
    border-radius: 10px 10px 10px 10px;
    background: #fff;
    padding: 30px;
    width: 90%;
    max-width: 450px;
    position: relative;
    padding: 0px;
    -webkit-box-shadow: 0 30px 60px 0 rgba(0,0,0,0.3);
    box-shadow: 0 30px 60px 0 rgba(0,0,0,0.3);
    text-align: center;
}

#formFooter {
    background-color: #f6f6f6;
    border-top: 1px solid #dce8f1;
    padding: 25px;
    text-align: center;
    -webkit-border-radius: 0 0 10px 10px;
    border-radius: 0 0 10px 10px;
}


/* FORM TYPOGRAPHY*/

input [type=button],
input[type=submit],
input[type=reset] {
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

    input[type=button]:active,
    input[type=submit]:active,
    input[type=reset]:active {
        -moz-transform: scale(0.95);
        -webkit-transform: scale(0.95);
        -o-transform: scale(0.95);
        -ms-transform: scale(0.95);
        transform: scale(0.95);
    }

#formContent input[type=text],
#formContent input[type=password] {
    width: 80%;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 5px;
    padding: 15px 32px;
    font-size: 16px;
}

/*
    background-color: #f6f6f6;
    color: #0d0d0d;
    border: none;
    border: 2px solid #f6f6f6;
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
*/

#formContent input[type=button],
#formContent input[type=submit],
#formContent input[type=reset] {
    background-color: #56baed;
    border: none;
    color: white;
    padding: 15px 80px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    font-size: 13px;
    -webkit-box-shadow: 0 10px 30px 0 rgba(95,186,233,0.4);
    box-shadow: 0 10px 30px 0 rgba(95,186,233,0.4);
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    margin: 5px 20px 40px 20px;
}

    #formContent input[type=button]:hover,
    #formContent input[type=submit]:hover,
    #formContent input[type=reset]:hover {
        background-color: #39ace7;
    }

input[type=text],
input[type=password] {
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

    /*background-color: #fff;*/
    input[type=text]:focus,
    input[type=password]:focus {
        border-bottom: 2px solid #5fbae9;
    }

    input[type=text]:placeholder,
    input[type=password]:placeholder {
        color: #cccccc;
    }

/* ANIMATIONS */
/* Simple CSS3 Fade-in-down Animation */
.fadeInDown {
    -webkit-animation-name: fadeInDown;
    animation-name: fadeInDown;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }

    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }

    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

/* Simple CSS3 Fade-in Animation */
@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fadeIn {
    opacity: 0;
    -webkit-animation: fadeIn ease-in 1;
    -moz-animation: fadeIn ease-in 1;
    animation: fadeIn ease-in 1;
    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation-duration: 1s;
    -moz-animation-duration: 1s;
    animation-duration: 1s;
}

    .fadeIn.first {
        -webkit-animation-delay: 0.4s;
        -moz-animation-delay: 0.4s;
        animation-delay: 0.4s;
    }

    .fadeIn.second {
        -webkit-animation-delay: 0.6s;
        -moz-animation-delay: 0.6s;
        animation-delay: 0.6s;
    }

    .fadeIn.third {
        -webkit-animation-delay: 0.8s;
        -moz-animation-delay: 0.8s;
        animation-delay: 0.8s;
    }

    .fadeIn.fourth {
        -webkit-animation-delay: 1s;
        -moz-animation-delay: 1s;
        animation-delay: 1s;
    }

/* Simple CSS3 Fade-in Animation */
.underlineHover:after {
    display: block;
    left: 0;
    bottom: -10px;
    width: 0;
    height: 2px;
    background-color: #56baed;
    content: "";
    transition: width 0.2s;
}

.underlineHover:hover {
    color: #0d0d0d;
}

    .underlineHover:hover:after {
        width: 100%;
    }

/* OTHERS */
*:focus {
    outline: none;
}

#icon {
    width: 30%;
    padding-top: 10px;
}


.drilldown a {
    background-color: transparent;
}

.drilldown .is-drilldown-submenu {
    background-color: #e6e6e6;
}

.top-bar-title {
    padding-left: 20px;
}

.main-menu a,
.profile-menu a {
    color: #607d8b;
}
    .profile-menu>li.is-active>a {
        color: #607d8b !important;
    }

    .main-menu a::after,
    .profile-menu a::after {
        color: #607d8b;
        border-top-color: #607d8b !important;
    }

.menu-title {
    display: grid;
    padding: 15px;
}

    .menu-title > img {
        grid-column: 1;
        width: 70%;
    }

.menu-title-text {
    grid-column: 2;
    margin: 0;
}

.warehouse-selection-container {
    padding-right: 50px;
}

.main-content {
    padding-left: 25px;
    padding-right: 25px;
    margin-top: 10px;
}
