.global-container .social-links {
    position: static;
}

.global-container .social-links .flyout {
    display: block;
    position: static;
}

.cq-element-share {
    position: relative;
    width: 400px;
}

.social-links {
    display: none;
    position: absolute;
    list-style-type: none;
    right: 0;
    margin: 0;
    top: 12px;
    padding: 6px;
    background: rgba(255,255,255,.38);
    border: 1px solid #ddd;
}

.social-links li {
    display: block;
    float: left;
    padding: 0;
}

.social-links a {
    display: block;
    background: url(../img/com_ico_share_hero.png) no-repeat;
    width: 50px;
    height: 50px;
    overflow: hidden;
    cursor: pointer;
}

.social-links li:first-child {
    margin-left: 0;
}

.social-links .share {
    position: relative;
    padding: 6px;
    background: rgba(255,255,255,.38);
    border: 1px solid #ddd;
}

.social-links .flyout {
    position: absolute;
    display: none;
    background: url('../img/com_ico_share_hero.png') no-repeat scroll left top transparent;
    z-index: 1;
    right: 51px;
    top: 49px;
    padding-top: 17px;
}

.social-links > a {
    background-position: -200px -17px;
    padding-left: 46px;
    height: 39px;
    width: auto;
}

.social-links > a span {
    height: 40px;
    line-height: 40px;
    text-transform: uppercase;
    color: #484848;
    font-size: 11px;
}

.social-links .email a {
    background-position: -98px -12px;
}

.social-links ul {
    overflow: hidden;
    margin: 0;
    padding: 0;
    display: block;
    width: 200px;
    /* width: 150px; if fourth share */
}

.social-links ul span {
    visibility: hidden;
}

.social-links .facebook a {
    background-position: 0px -17px;
}

.social-links .facebook a:hover, .social-links .facebook a:focus {
    background-position: 0px -67px;
}

.social-links .pinterest a {
    background-position: -100px -17px;
}

.social-links .pinterest a:hover, .social-links .pinterest a:focus {
    background-position: -100px -67px;
}


.social-links .twitter a {
    background-position: -50px -17px;
}

.social-links .twitter a:hover, .social-links .twitter a:focus {
    background-position: -50px -67px;
}

.social-links .linkedin a{
    background-position: -150px -17px;
}

.social-links .linkedin a:hover, .social-links .linkedin a:focus {
    background-position: -150px -67px;
}

.social-links h6 {
    font-size: 14px;
    line-height: 22px;
    margin: 12px 0 0;
}

.social-links p {
    font-size: 12px;
    line-height: 20px;
    margin: 0 0 3px;
}

.social-links input {
    font-size: 12px;
    padding: 5px 10px;
    width: 245px;
}

@media only screen and (min-width:980px) {
    .social-links {
        display: block;
    }
}
