﻿/*input, textarea, md-radio-button {
    outline: none;
}*/

/*#region z-index */

/* 
    50 : mdDialog
    -- : mdToast
    50 : fastbar
    50 : calendarEvents
*/

/*#endregion */

* {
    outline: none;
}

body {
    font-family: Open Sans, Segoe UI,Frutiger,Frutiger Linotype,Dejavu Sans,Helvetica Neue,Arial,sans-serif !important;
}

html, body, ui-view, .h100 {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
}

[ng:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
    display: none !important;
}

a, a:hover, a:visited, a:focus {
    text-decoration: none;
    color: initial;
}

    a[href], a[href]:hover, a[href]:visited, a[href]:focus {
        cursor: pointer;
    }

aside::-webkit-scrollbar {
    display: none;
}

.list {
    padding: 0;
    margin: 0;
    list-style: none;
}

/*#region Fix */
.fix-firefox-flex {
    min-height: 0;
    min-width: 0;
}
/*#endregion */

/*#region Controls */
.textbox {
    /*margin: 40px 25px;
    width: 200px;*/
    display: block;
    border: none;
    padding: 10px 0;
    border-bottom: solid 1px #0052a6;
    -webkit-transition: all 0.3s cubic-bezier(0.64, 0.09, 0.08, 1);
    transition: all 0.3s cubic-bezier(0.64, 0.09, 0.08, 1);
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 96%, #0052a6 4%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 96%, #0052a6 4%);
    background-position: -300px 0;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    color: #222;
    margin: 40px 0;
    width: 100%;
}

    .textbox:focus, .textbox:valid {
        box-shadow: none;
        outline: none;
        background-position: 0 0;
    }

    .textbox::-webkit-input-placeholder {
        font-family: 'roboto', sans-serif;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }

    .textbox:focus::-webkit-input-placeholder, .textbox:valid::-webkit-input-placeholder {
        color: #0052a6;
        /*font-size: 11px;*/
        -webkit-transform: translateY(-20px);
        transform: translateY(-20px);
        visibility: visible !important;
    }

.text-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-light {
    font-family: 'Segoe UI Light', Helvetica;
}

.table-wrap {
    /*max-height: 500px;
    overflow-y: auto;*/
}

.table-scroll {
    max-height: 500px;
    overflow-y: auto;
}

.table-va-middle > tbody > tr > td,
.table-va-middle > tbody > tr > th,
.table-va-middle > tfoot > tr > td,
.table-va-middle > tfoot > tr > th,
.table-va-middle > thead > tr > td,
.table-va-middle > thead > tr > th {
    vertical-align: middle;
}
/*.table tr.active {
    background-color:#3f51b5;
    color:#fff;
}*/
.edit {
    background-color: #ccc;
}

.ripplelink {
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.ink {
    display: block;
    position: absolute;
    /*background:rgba(156, 156, 156, 0.50);*/
    /*background:#59a182;*/
    background: rgba(255, 255, 255, 0.40);
    border-radius: 100%;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
}

.animate {
    animation: ripple 0.65s linear;
}

@keyframes ripple {
    100% {
        opacity: 0;
        transform: scale(2.5);
    }
}

/*#region Pagination */
.paging .mdi {
    padding-top: 1px;
}
/* Fix */
.paging {
    justify-content: center;
    align-items: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eef1f5;
    margin: 10px 0;
}

    .paging li {
        flex: 1 1 auto;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 40px;
        max-width: 50px;
        white-space: pre;
    }

    .paging > li:hover {
        background-color: #dee2e6;
    }

    .paging > li:last-child {
        background-color: transparent !important;
        flex-grow: 0;
        padding: 0 7px;
        max-width: 100px;
    }

    .paging .separator {
        background-color: transparent !important;
        color: #dadada;
        cursor: default;
    }


@media (max-width:600px) {
    .em-pager-responisive {
        display: none !important;
    }
}

@media (min-width:559px) {
    .em-pager-responisive-inv {
        display: none !important;
    }
}
/*#endregion */

/*#endregion */

/*#region Angular Drag & Drop directive */
/**
* For the correct positioning of the placeholder element, the dnd-list and
* it's children must have position: relative
*/

.drop-area {
    min-height: 100px;
    border: 3px dashed #d2d2d2;
    cursor: default;
    padding: 20px;
}

ul[dnd-list],
ul[dnd-list] > li {
    position: relative;
}

/**
* The dnd-list should always have a min-height,
* otherwise you can't drop to it once it's empty
*/
ul[dnd-list] {
    min-height: 42px;
    padding-left: 0;
}

    /**
    * The dndDraggingSource class will be applied to
    * the source element of a drag operation. It makes
    * sense to hide it to give the user the feeling
    * that he's actually moving it.
    */
    ul[dnd-list] .dndDraggingSource {
        display: none;
    }

    /**
    * An element with .dndPlaceholder class will be
    * added to the dnd-list while the user is dragging
    * over it.
    */
    ul[dnd-list] .dndPlaceholder {
        display: block;
        background-color: #ddd;
        min-height: 42px;
    }

    /**
    * The dnd-lists's child elements currently MUST have
    * position: relative. Otherwise we can not determine
    * whether the mouse pointer is in the upper or lower
    * half of the element we are dragging over. In other
    * browsers we can use event.offsetY for this.
    */
    ul[dnd-list] li {
        /*background-color: #fff;*/
        border: 1px solid #ddd;
        border-top-right-radius: 4px;
        border-top-left-radius: 4px;
        display: block;
        padding: 15px 15px;
        margin-bottom: -1px;
    }

        /**
    * Show selected elements in green
    */
        ul[dnd-list] li.selected {
            background-color: #dff0d8;
            color: #3c763d;
        }

table[dnd-list],
table[dnd-list] tr {
    position: relative;
}

    table[dnd-list] .dndDraggingSource {
        display: none;
    }

    table[dnd-list] .dndPlaceholder {
        display: block;
        background-color: #ddd;
        min-height: 42px;
    }

/*#endregion */

/*#region Material Design Overrides */
/*md-dialog {
	width: 70vw;
	min-width: 500px;
}*/

md-content.md-default-theme, md-content {
    color: rgba(0,0,0,0.87);
    background: none;
}

.md-button,
.md-checkbox-intable {
    margin: 0;
}
/*#endregion */

/*#region Bootstrap Overrides */



/*#endregion */

.paste-area {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    font-size: 1.5em;
    border: 3px dashed #d2d2d2;
    cursor: default;
}

.actionViewArea {
    position: relative;
    height: 100%;
}

    .actionViewArea > div {
        height: 100%;
    }


.overrides {
    position: fixed;
    bottom: 0;
    right: 10px;
    padding: 5px;
    background-color: rgba(0, 0, 0, 0.00);
}

/*.overrides {
    display: none;
    position: absolute;
    bottom: 0;
    right: 10px;
    padding: 5px;*/
    /*width: 140px;*/
    /* background-color: #ccc; */
    /* border: 1px solid #ccc; */
/*}*/

.actionViewArea:hover .overrides {
    display: block;
}

.user-select-none {
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

textarea, pre {
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;
}

.textEdit {
    font-family: monospace;
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;
}

.editor {
    min-height: 300px;
    width: 100%;
}

.emCustomScroll::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.emCustomScroll::-webkit-scrollbar-thumb {
    background: #0000;
    border-radius: 5px;
}

.emCustomScroll:hover::-webkit-scrollbar {
    background: #7771;
}

.emCustomScroll:hover::-webkit-scrollbar-thumb {
    background: #53549a;
}

.emCustomScroll::-webkit-scrollbar-thumb:hover {
    background: #7576ae;
}



table.xlTable {
    border-collapse: collapse;
    margin: 20px;
}

.xlTable td span {
    padding: 2px 10px;
}

.xl-input {
    outline: 0 none;
}

    .xl-input span {
        padding: 0;
    }

    .xl-input input {
        width: 100%;
        margin: 0;
        padding: 0;
        border: 0 none;
        outline: 0 none;
        background-color: inherit;
        color: inherit;
        text-align: right;
    }

.emc-table {
    width: 100%;
    border-collapse: collapse;
}

    .emc-table th {
        padding: 1px 10px;
    }

    .emc-table td {
        border: 1px solid lightgrey;
        padding: 1px 10px;
    }

        .emc-table td > span {
            padding: 0;
        }

md-card, md-dialog, md-toolbar, md-card-title, .md-button {
    border-radius: 8px;
}

.md-button {
    line-height: 30px;
    min-height: 30px;
    padding: 0 8px;
}

    .md-button > span {
        margin: 0 5px;
    }

md-toolbar {
    min-height: 50px;
}

.md-toolbar-tools {
    height: 50px
}

md-card md-toolbar, md-dialog md-toolbar, md-card md-card-title {
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

md-content > md-toolbar {
    border-radius: 0;
}

md-card md-card-title {
    padding: 16px 8px 8px;
}

/*.h1, .h2, .h3, .h4, h1, h2, h3, h4 {
    margin: 15px 0;
}*/

md-toolbar h1, md-toolbar h2, md-toolbar h3, md-toolbar h4, md-toolbar .h1, md-toolbar .h2, md-toolbar .h3, md-toolbar .h4 {
    margin: 15px;
}


md-card-title .md-headline {
    margin: 0 8px 8px;
}

.emFormTable .emFormTableCell2 {
    width: 30vw;
}

.md-tab {
    text-transform: initial;
}

@media only screen and (max-width: 960px) {
    .mobile-headline {
        top: 0;
        color: #fff;
        background-color: #242C48;
        padding: 10px 15px 10px 15px;
    }
}

emc-Pagination.tblPaging ul {
    margin: 0;
}

.emcTableDirective td, .emcTableDirective th {
    max-width: 20vw;
    text-overflow: ellipsis;
    overflow: hidden;
    border: 1px solid black;
    padding: 5px 10px;
    vertical-align: top;
}



.emc-absolute-scroll {
    position: absolute;
    overflow-y: auto;
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
}

md-dialog-content {
    padding: 7px;
}

.md-button {
    text-transform: none;
}

.ace-monokai {
    background-color: black;
}

[monaco] {
    width: 100%;
    min-height: 200px;
    display: inline-block
}