﻿.meganav .umb-node-preview-add {
    max-width: 100%;
    border-radius: 3px;
}

.meganav .angular-ui-tree-placeholder,
.meganav .meganav-placeholder {
    border: 1px dashed #bbbabf;
    border-radius: 3px;
    box-sizing: border-box;
}

.meganav .caret--right {
    transform: rotate(-90deg);
}

.meganav-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-auto-rows: minmax(160px, auto);
    grid-gap: 20px;
}

.meganav-card {
    position: relative;
    display: inline-block;
    width: 100%;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
    cursor: pointer;
}

.meganav-card-icon {
    font-size: 42px;
    background-color: #f9f9fa;
    padding: 40px;
}

.meganav-card-title {
    font-weight: 700;
    font-size: 14px;
    padding: 10px 16px;
    color: #1b264f;
}

.meganav-item-wrapper {
    position: relative;
    width: 100%;
}

.meganav-item-container {
    display: block;
    margin-bottom: 4px;
    margin-top: 4px;
    border: 1px solid #e9e9eb;
    border-radius: 3px;
    transition: border-color .12s, background-color .12s;
}

.meganav-item {
    font-weight: 400;
    background-color: #fff;
    width: 100%;
    min-height: 48px;
    color: #1b264f;
    padding-left: 10px;
    text-align: left;
    user-select: none;
    box-sizing: border-box;
}

.meganav-actions {
    background-color: hsla(0, 0%, 100%, .96);
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 0 5px;
    border-radius: 16px;
    opacity: 0;
    transition: opacity .12s;
    z-index: 999999999;
}

.meganav-actions > * {
    font-size: 18px;
    display: inline-block;
    position: relative;
    color: #1b264f;
    padding: 5px;
}

.meganav-actions > *:hover {
    color: #2152a3;
}

.meganav-card:focus .meganav-actions,
.meganav-card:hover .meganav-actions,
.meganav-item-wrapper:focus > meganav-actions > .meganav-actions,
.meganav-item-wrapper:hover > meganav-actions > .meganav-actions {
    opacity: 1;
}

.meganav-add {
    position: absolute;
    width: 100%;
    height: 12px;
    margin-top: -9px;
    margin-bottom: -6px;
    padding-top: 6px;
    outline: 0;
    opacity: 0;
    transition: opacity .24s;
    z-index: 1;
}

.meganav-add:before {
    content: "";
    background-color: #2152a3;
    position: absolute;
    top: 5px;
    right: 0;
    left: 0;
    height: 2px;
    border-top: 1px solid #fff;
    border-radius: 2px;
    transform: scaleX(.99);
    transition: transform .24s ease-out;
}

.meganav-add > .__plus {
    font-size: 14px;
    background-color: hsla(0, 0%, 100%, .96);
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 28px;
    height: 28px;
    margin-top: -16px;
    margin-left: -24px;
    border: 2px solid #2152a3;
    border-radius: 50%;
    color: #2152a3;
    box-shadow: 0 0 0 2px hsla(0, 0%, 100%, .96);
    transform: scale(0);
    transition: transform .24s ease-in;
    pointer-events: none;
    box-sizing: border-box;
}

.meganav-add:focus > .__plus {
    border-color: #6ab4f0;
}

.meganav-add:focus,
.meganav-add:hover {
    opacity: 1;
}

.meganav-add:focus:before,
.meganav-add:hover:before {
    transform: scaleX(1);
}

.meganav-add:focus > .__plus,
.meganav-add:hover > .__plus {
    transform: scale(1);
}