﻿/*input, textarea, md-radio-button {
    outline: none;
}*/

/*#region z-index */

/* 
    50 : mdDialog
    -- : mdToast
    50 : fastbar
    50 : calendarEvents
*/

/*#endregion */

* {
    outline:none;
}

body {
    font-family: 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;
}

a, a:hover, a:visited, a:focus {
    cursor: pointer;
    text-decoration: none;
    color:initial;
}

.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 {
    display:flex;
    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;
}
.paging > li:hover {
    background-color:#dee2e6;
}
.paging>li.active{
    background-color:#3f51b5;
    color:#fff;
}
.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;
}
/*#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;
}
.overrides {
    display: none;
    position: absolute;
    bottom: 0px;
    right: 8px;
    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;
}