﻿
.selected-node {
    line-height: 1em;
}

.selectable-card {
    cursor: pointer;
    position: relative;
    height: 150px;
}

.selectable-card.selectable-rectangle{
    height:75px;
}

.selectable-card.card:hover {
    border-color: #1d7efd;
    color: #1d7efd;
}

.selectable-card.card.k-state-selected:hover {
    border-color: white;
    color: white;
}

.selectable-card.selectable-rectangle.large-card{
    height:150px;
}

.selectable-card.selectable-rectangle.md-card{
    height:125px;
}

.selectable-card .card-body {
    overflow: hidden;
    text-overflow: ellipsis;
}

.selectable-card-checkbox {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
}

.selectable-card-checkbox ~ .card .selectable-card-check {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 2;
    width: 20px;
    height: 20px;
    background-position: 0 0;
    transition: all 100ms ease-out;
    color: transparent;
}

.selectable-card-checkbox:hover ~ .card:before {
    border-top: 52px solid darkgrey;
}

.selectable-card-checkbox:hover ~ .card {
    border-color: #1d7efd;
    border-width: 2px;
    color: #1d7efd;
}

.selectable-card-checkbox:checked ~ .card {
    transition: all 100ms ease-in;
    border-color:#0d6efd;
    border-width:2px;
    color:#0d6efd;
}

.selectable-card-checkbox:not(checked) ~ .card {
    border-color:gray;
    color:gray;
}

.selectable-rectangle > .selectable-card-checkbox:checked ~ label span.material-icons:before {
    content: "check_circle";
}

.selectable-rectangle > .selectable-card-checkbox:not(checked) ~ label span.material-icons:before {
    content: "radio_button_unchecked";
}

/*for the check mark*/
.selectable-card-checkbox:checked ~ .card .selectable-card-check {
    background-color: #5DFF00;
    color: white;
    border-radius: 30px;
    padding-top:2px;
}

.badge.selected-node{
    white-space:normal;
    display:flex;
    align-items:center;
    flex-wrap:nowrap;
    padding:7px;
}