.contact-card {
    display: inline;
    float: left;
    margin: 0px;
    margin-left: 8px;
    margin-right: 8px;
    margin-bottom: 16px;
    padding: 10px;
    width: 250px;
    height: 150px;
    border-radius: 4px;
    box-shadow: 1px 1px 12px #555;
}

.contact-card img.contact-avatar {
    float: left;
    max-width: 75px;
    max-height: 75px;
    margin-right: 10px;
    cursor: pointer;
}

.contact-card label:not(.toggle) {
    height: 75px;
    font-weight: bold;
}

.contact-card ul.contact-details {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
}

.contact-card ul.contact-details li {
    font-size: 75%;
}

.contact-card ul.contact-details li img {
    vertical-align: text-top;
    margin-right: 3px;
}

.wrapper {
    border-radius: 10px;
    -webkit-box-shadow: 0px 0px 8px rgba(0,0,0,0.3);
    -moz-box-shadow:    0px 0px 8px rgba(0,0,0,0.3);
    box-shadow:         0px 0px 8px rgba(0,0,0,0.3);
    position: relative;
    z-index: 110;
}

.ribbon-wrapper {
    width: 85px;
    height: 88px;
    overflow: hidden;
    position: absolute;
    top: -12px;
    right: -12px;
}

.ribbon {
    color: #333;
    text-align: center;
    letter-spacing: 2px;
    text-shadow: rgba(255,255,255,0.5) 0px 1px 0px;
    -webkit-transform: rotate(45deg);
    -moz-transform:    rotate(45deg);
    -ms-transform:     rotate(45deg);
    -o-transform:      rotate(45deg);
    position: relative;
    padding: 4px 0;
    left: -5px;
    top: 15px;
    width: 120px;
    background-color: #BFDC7A;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#BFDC7A), to(#8EBF45)); 
    background-image: -webkit-linear-gradient(top, #BFDC7A, #8EBF45); 
    background-image:    -moz-linear-gradient(top, #BFDC7A, #8EBF45); 
    background-image:     -ms-linear-gradient(top, #BFDC7A, #8EBF45); 
    background-image:      -o-linear-gradient(top, #BFDC7A, #8EBF45); 
    color: #6a6340;
    -webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.3);
    -moz-box-shadow:    0px 3px 3px rgba(0,0,0,0.3);
    box-shadow:         0px 3px 3px rgba(0,0,0,0.3);
}

.ribbon:before, .ribbon:after {
    content: "";
    border-top:   3px solid #6e8900;   
    border-left:  3px solid transparent;
    border-right: 3px solid transparent;
    position:absolute;
    bottom: -3px;
}

.ribbon:before {
    left: 0;
}
.ribbon:after {
    right: 0;
}
