/* resets */
body {
    font-family: helvetica;
    font-size: 16px;
}
dl, dt, dd, h1, li, ul {
    margin: 0;
    padding: 0;
}
li {
    position: relative;
    list-style-type: none;
}
.widgetContainer {
    border-color: #5f86be;
    border-style: solid;
    border-width: .071em; 
    border-radius: .714em;
    width: 25.785em;
}
.widgetContainer dl {
    padding: 0 .744em;
}
.widgetContainer h1 {
    background-color: #e0edfe; /* fallback */
    background-image: linear-gradient(to left, #e0edfe, #edf2fa);
    font-size: 1.214em;
    margin-bottom: .714em;
    padding: .357em .714em;
}
.widgetContainer {
    border-radius: .714em;
}
.widgetContainer h1 {
    border-radius: .714em .714em 0 0;
}
.widgetContainer div {
    border-radius: 0 0 .714em .714em;
}
.widgetContainer .dropdown {
    background-color: #e0edfe; /* fallback */
    background-image: linear-gradient(to top, #e0edfe, #ffffff);
    margin-top: .714em;
    overflow: auto;
	width: 100%
}
.widgetContainer select {
    float: right;
    font-size: 1.143em;
    margin: .428em;
}
.contacts .address span {
    display: block;
}
.contacts .address .city,
.contacts .address .state {
    display: inline;
}
.contacts .singleContact {
    position: relative;
    padding-bottom: .142em;
}
.contacts .singleContact > dt,
.contacts .singleContact > dd {
    display: inline-block;
}
.contacts .details {
    min-width: 14.357em;
    position: absolute;
    padding-right: 4.33em; /* space for the images */
    z-index: 1;
}
.contacts .details .image {
    background-color: transparent;
    float: right;
    margin-right: -4.286em;
    margin-top: .4em;
}
.contacts img {
    background-color: transparent;
    width: 4.5em;
}
.contacts .details dd {
    height: 0;
    overflow: hidden;
    visibility: hidden;
    width: 0;
}
.contacts .details dt, /* these terms are for screen readers only */
.contacts .hidden { 
    height: 0;
    overflow: hidden;
    position: relative;
    visibility: hidden;
    width: 0;
}
.contacts .details .show,
.contacts .pinned .details dd,
.allowHover .singleContact:hover .details dd {
    height: auto;
    padding-bottom: .357em;
    position: inherit;
    visibility: visible;
    white-space: nowrap;
    width: auto;
}
.contacts .name {
    cursor: pointer;
}
.contacts .singleContact {
    border-bottom: transparent solid .071em; 
    border-top: transparent solid .071em; 
}
.contacts .singleContact .details {
    border-bottom: transparent solid .071em; 
    border-top: transparent solid 0; 
}
.allowHover .singleContact:hover,
.contacts .pinned{
    border-top: #5f86be solid .071em; 
}
.allowHover .singleContact:hover .details,
.contacts .pinned .details {
    border-left: #5f86be solid .071em;
    margin-left: -.071em; /* so that the email doesn't move when the border is added*/
}
.contacts .pinned,
.contacts .pinned .details,
.allowHover .singleContact:hover,
.allowHover .singleContact:hover .details {
    border-bottom: #5f86be solid .071em;
}
.allowHover .singleContact:hover,
.allowHover .singleContact:hover .details,
.contacts .pinned,
.contacts .pinned .details{
    background-color: #f2f2f2; /* a slightly different color for the un-pinned hover state */
    z-index: 2;
    border-right: #5f86be solid .071em;
}
.contacts .pinned,
.contacts .pinned .details,
.contacts .pinned:hover,
.contacts .pinned:hover .details { 
    background-color: #e9e9e9; /* a slightly different color for the pinned state */
    z-index: 2;
}
.contacts .name {
    width: 7.143em;
}
.contacts .details {
    left: 7.143em;
    top:0;
}
.allowHover dl:hover .details dl:after,
.contacts .pinned .details dl:after {
    content:"";
    background: #f2f2f2 ;
    position: absolute;
    top: 0;
    left: -.143em;
    height: 1.3em;
    width: .214em;
}
.allowHover dl:hover .details .hasAddressLine2:after,
.contacts .pinned .details .hasAddressLine2:after {
    height: 1.285em;
}
.contacts .pinned .details dl:after,
.contacts .pinned:hover .details dl:after {
    background: #e9e9e9;
}
.phoneFirst .pinned .details .email,
.allowHover.phoneFirst .singleContact:hover .details .email {
    position: relative;
    top: 1.4em; /* two more than the font-size */
}
.phoneFirst .pinned .details .phone,
.allowHover.phoneFirst .singleContact:hover .details .phone {
    position: relative;
    top: -1.4em; /* two more than the font-size */
}
.pinState .singleContact,
.contacts:hover .singleContact,
.pinState.contacts .singleContact:hover,
.contacts .singleContact:hover {
    opacity: 0.5;
}
.contacts .singleContact:hover,
.pinState.contacts .singleContact.pinned {
    opacity: 1;
}
