﻿/* ParentNodeUserControl.ascx shared card styling only */

.ParentNodesXXX {
    width: 100%;
    height: auto;
    padding-top: 20px;
    padding-bottom: 20px;
}

.ParentNodes {
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 0.5em;
    grid-row-gap: 0.75em;
    align-items: stretch;
}

.ParentNode {
    display: flex;
    width: 100%;
    height: 100%;
    background-color: white;
    background-color: var(--page-canvass-color);
    overflow: visible;
    outline: 1px solid transparent;
    border: 1px solid var(--page-primary-color-text);
    box-sizing: border-box;
}

.ParentNodeContainer {
    display: flex;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0.35em;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
}

.ParentNodeContent {
    display: flex;
    width: 100%;
    height: auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.picContainerPN {
    display: block;
    width: 75%;
    max-width: 220px;
    height: auto;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
}

.ParentNodeImage {
    display: block;
    width: 100%;
    height: auto;
}

.ItemImage {
    display: block;
    width: 100%;
    height: auto;
    color: transparent;
}

.HiddenText {
    display: none;
}

.ParentNodeTitle {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 0;
    padding-top: 0;
    box-sizing: border-box;
}

.ParentNodeButton {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0.15em 0.25em 0.25em 0.25em;
    border: none;
    background-color: transparent;
    background: transparent;
    color: #A80532;
    color: var(--page-primary-color-text);
    text-align: center;
    font-size: 120% !important;
    font-weight: bold;
    line-height: 1.2;
    white-space: normal;
    overflow-wrap: break-word;
    cursor: pointer;
    box-sizing: border-box;
}

    .ParentNodeButton:hover,
    .ParentNodeButton:focus {
        color: var(--menuButton-hover-background-color);
        text-decoration: underline;
    }

@media only screen and (min-width: 768px) {
    .ParentNodes {
        width: 95%;
        grid-template-columns: 1fr 1fr 1fr;
        grid-column-gap: 1em;
        grid-row-gap: 1em;
    }
}

@media only screen and (min-width: 1067px) {
    .ParentNodes {
        width: 90%;
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

@media only screen and (min-width: 1366px) {
    .ParentNodes {
        width: 90%;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    }
}
