

#board
{
    position: relative;
    width: 40em;
    height: 52em;
    margin-left: auto;
    margin-right: auto;
}

.card,
.card-site
{
    box-sizing: border-box;
    border-radius: 0.5em; 
    position: absolute;
}

.card
{
    overflow: hidden;
}

.card img,
.card.selectable::after
{
    margin: 0;
    position: absolute;
    width: 100%;
    height: 100%;
}

.card.front
{
    border: none;
    background: none;
}

.card.back
{
    border: 1px solid #832626;
    background: red;
}

.card-site
{
    /*border: 1px solid #686878;*/
    background: #d0c0d0;
    z-index: 0;
	transition: border-radius 0.25s linear, margin 0.25s linear, width 0.25s linear, min-height 0.25s linear, max-height 0.25s linear;
    overflow: hidden;
}

.card-site.committed
{
    background: #e6d7eb;
}

.card-site.expanded
{
    /*border-radius: 1em;*/
    box-shadow: 0px 5px 15px -3px black;
}

.card-site .number
{
    position: absolute;
    top: 0; bottom: 0; left: 0; right: 0;
    text-align: center;
    width: 2em;
    height: 1em;
    padding: 0.4em 0 0.6em 0;
    margin: auto;
    color: #555555;
    /*border: 1px solid #686878;*/
    background: #e6d7eb;
    border-radius: 1em;
}

.card-site.committed .number
{
    display: none;
}

.card-site .site-label
{
    position: absolute;
    top: -1.75em;
    left: -5em;
    right: -5em;
    font-size: 1rem;
    text-align: center;
	transition: all 0.25s linear;
}

.card-site.expanded .site-label
{
    top: 0.4em;
    left: 0em;
    right: 0em;
    font-size: 1.2rem;
}

.card-site .card-desc-container
{
    overflow: hidden;
    padding: 2rem 0.5rem 0.5rem 0.5rem;
}

.card-site .card-desc
{
    display: none;
    border-top: 1px solid rgba(0,0,0,0.2);
}

.card-site.committed .card-desc
{
    display: inline-block;
    text-align: justify;
}

.card-site:not(.expand-left) .card-desc-container
{
    text-align: right;
}

.card-site.expand-left .card-desc-container
{
    text-align: left;
}

.card-site .card-desc h2
{
	font-size: 1.4rem;
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
}

.card-site .card-desc p
{
	font-size: 0.9rem;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

.card-site .card-desc p.card-title
{
	font-weight: bold;
    margin-bottom: 0.5rem;
}

/*
.card.selectable::after
{
    background: white;
    opacity: 0;
    content: "";
}

.card.selectable:hover::after
{
    opacity: 0.25;
}
*/