@keyframes spin {
    from {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.share-button-container {
    display: inline-block;
    text-align: left;
    vertical-align: top;
    position: relative;
}

.share-button-container .share-speech-arrow {
    pointer-events: none;
    position: absolute;
    left: 0;
    top: -11px;
    height: 11px;
    overflow: hidden;
    width: 21px;
}

.share-button-container .share-speech-arrow:before {
    content: '';
    position: absolute;
    left: 3px;
    top: 3px;
    width: 15px;
    height: 15px;
    background-color: white;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    border: 1px solid rgba(0, 0, 0, 0.125);
    z-index: -1;
    -webkit-box-shadow: 0 0 6px rgba(0, 0, 0, 0.125);
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.125);
}

.share-button-container .share-button > button {
    font-size: .8em;
    padding: .4em 2em .1em 2em;
    border-bottom-width: 2px !important;
    -webkit-text-shadow: none;
    text-shadow: none;
    font-weight: normal;
    -webkit-border-radius: 9px;
    border-radius: 9px;
    background: #8cc53f;
}

.share-button-container .share-button > button:focus {
    outline: 0;
}

.share-button-container .share-button .dropdown-menu {
    left: auto;
    right: 0;
    width: 220px;
    padding: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 5px;
}

.share-button-container .share-button .dropdown-menu > .share-speech-arrow {
    left: auto;
    right: 43px;
}

.share-button-container .share-button .dropdown-menu h4 {
    font-size: 1em;
    font-weight: bold;
}

.share-button-container .share-button .dropdown-menu .fa-trash {
    color: #EF6680;
}

.share-button-container .share-button .dropdown-menu input {
    border: 1px solid #555555;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    padding: .75em .5em .6em .75em;
    font-size: 12px;
    width: 100%;
    margin-bottom: 4px;
}

.share-button-container .share-button .dropdown-menu label {
    font-size: .85em;
}

.share-button-container .share-button .dropdown-menu ul {
    margin: 0;
    margin-bottom: 1em;
    padding: 0;
    font-size: .8em;
    font-weight: bold;
    list-style-type: none;
}

.share-button-container .share-button .dropdown-menu .share-selected-usernames {
    margin-top: 2px;
    margin-bottom: 3px;
}

.share-button-container .share-button .dropdown-menu .share-username {
    margin-bottom: 5px;
}

.share-button-container .share-button .dropdown-menu .share-username > * {
    vertical-align: middle;
}

.share-button-container .share-button .dropdown-menu .share-username button {
    border: 0;
    background: 0;
    padding: 0;
    font-size: 1.3em;
    margin-left: 6px;
}

.share-button-container .share-button .dropdown-menu .share-username img {
    -webkit-border-radius: 2px;
    border-radius: 2px;
    margin-right: 6px;
    width: 20px;
    height: 20px;
}

.share-button-container .share-button .dropdown-menu button.share-go,
.share-button-container .share-button .dropdown-menu button.share-close {
    font-size: 1em;
    font-weight: normal;
    padding-top: .35em;
    padding-bottom: .25em;
    margin-bottom: 0;
    border-bottom-width: 3px !important;
    border-radius: 15px;
    background-color: #0495ce;
    border-color: #03719c !important;
}

.share-button-container .share-button .dropdown-menu button.share-close {
    margin-top: 8px;
}

.share-button-container .share-button .dropdown-menu .tt-menu {
    background: white;
    border-radius: 10px;
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(0, 0, 0, 0.25);
}

.share-button-container .share-button .dropdown-menu .tt-menu .share-speech-arrow {
    left: 10px;
}

.share-button-container .share-button .dropdown-menu .tt-menu .share-speech-arrow:before {
    border-color: rgba(0, 0, 0, 0.25);
    top: 5px;
    width: 12px;
    height: 12px;
}

.share-button-container .share-button .dropdown-menu .tt-suggestion {
    font-size: .8em;
    line-height: normal;
    font-weight: bold;
    cursor: pointer;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

.share-button-container .share-button .dropdown-menu .tt-suggestion:hover {
    background: #eeeeee;
}

.share-button-container .share-progress,
.share-button-container .share-success,
.share-button-container .share-error {
    display: none;
}

.share-button-container .share-progress {
    padding: 10px;
    text-align: center;
}

.share-button-container .share-progress .fa {
    display: inline-block;
    animation-name: spin;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    font-size: 2.5em;
    color: #00c0f3;
}

.share-button-container.state-progress .share-select {
    display: none;
}

.share-button-container.state-progress .share-progress {
    display: block;
}

.share-button-container.state-success .share-select {
    display: none;
}

.share-button-container.state-success .share-success {
    display: block;
}

.share-button-container.state-error .share-select {
    display: none;
}

.share-button-container.state-error .share-error {
    display: block;
}

.tt-menu {
    display: block;
    z-index: 1000;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
}

.tt-dataset-usernames > li {
    padding: 4px 0;
}

.tt-dataset-usernames > li > img {
    margin: 4px;
    border-radius: 3px;
    width: 24px;
    height: 24px;
    position: absolute;
}

.tt-dataset-usernames > li > a {
    display: block;
    padding: 4px 20px 3px 38px;
    clear: both;
    font-weight: normal;
    line-height: 24px;
    color: #333;
    white-space: nowrap;
    text-decoration: none;
}

.tt-dataset-usernames > li > a {
    font-size: 14px;
}

.tt-dataset-usernames > li > a.dropdown-prevent-highlight {
    padding: 3px 20px;
}

.tt-dataset-usernames > li > a.dropdown-prevent-highlight:hover, .tt-dataset-usernames > li > a.dropdown-prevent-highlight:focus {
    background-image: none;
    background-color: #ffffff;
    color: #333;
    cursor: default;
}

.tt-dataset-usernames > li > a strong {
    font-weight: bold;
}

.tt-dataset-usernames > li > a:hover, .tt-dataset-usernames > li > a:focus, .tt-dataset-usernames:hover > a, .tt-dataset-usernames:focus > a {
    color: #fff;
    text-decoration: none;
    background-color: #0081c2;
    background-image: -moz-linear-gradient(top, #08c, #0077b3);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#08c), to(#0077b3));
    background-image: -webkit-linear-gradient(top, #08c, #0077b3);
    background-image: -o-linear-gradient(top, #08c, #0077b3);
    background-image: linear-gradient(to bottom, #08c, #0077b3);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft;
}

.tt-dataset-usernames > .active > a, .tt-dataset-usernames > .active > a:hover, .tt-dataset-usernames > .active > a:focus {
    color: #fff;
    text-decoration: none;
    background-color: #0081c2;
    background-image: -moz-linear-gradient(top, #08c, #0077b3);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#08c), to(#0077b3));
    background-image: -webkit-linear-gradient(top, #08c, #0077b3);
    background-image: -o-linear-gradient(top, #08c, #0077b3);
    background-image: linear-gradient(to bottom, #08c, #0077b3);
    background-repeat: repeat-x;
    outline: 0;
    filter: progid:DXImageTransform.Microsof;
}

@media (max-width: 400px) {
    .archive .share-button-container .share-button .dropdown-menu {
    left: 0;
    }
    .archive .share-button-container .share-button .dropdown-menu > .share-speech-arrow {
        left: 10px;
    }
    .single-story .share-button-container .share-button .dropdown-menu {
        left: 0;
    }
    .single-story .share-button-container .share-button .dropdown-menu > .share-speech-arrow {
        left: 10px;
    }
    .share-button-container .share-button .dropdown-menu > .share-speech-arrow {
        left: 190px;
    }
}

