.facebook-share-button {
    display: inline-block;
    height: 20px;
    background: #5f78ab;
    border: 1px solid #1a356e;
    color: #fff;
    cursor: pointer;
    vertical-align: top;
}

.facebook-share-button-img {
    float: left;
    width: 20px;
    height: 17px;
    background: url(/static/img/facebook-share-icon.png) no-repeat center;
    vertical-align: top;
}

.facebook-share-button-border {
    display: inline-block;
    border-top: 1px solid #879AC0;
}

.facebook-share-button-text {
    display: inline-block;
    padding: 3px 6px 3px 2px;
    font-weight: bold;
    font-size: 10px;
    line-height: 12px;
    vertical-align: top;
    white-space: nowrap;
}

.lingq-share-rendered {
    text-align: left;
}

/* Share button */
.lingq-share .share-button {
    float: left;
    margin: 0 4px 0 0;
    padding: 0 13px 0 6px;
    height: 23px;
    background: #f5f5f5;
    border: 1px solid #cecece;
    border-radius: 4px;
    color: #666;
    cursor: pointer;
    font: bold 12px/22px Arial, sans-serif;
    text-align: center;
    white-space: nowrap;
}

.lingq-share .share-button:before {
    content: "";
    float: left;
    margin-right: 3px;
    width: 22px;
    height: 19px;
    background: url(../../lingq_wall/img/share-normal.png) no-repeat 0 4px;
}

.lingq-share .share-active {
    background: #e3f5ff;
    border: 1px solid #1d84bc;
    box-shadow: inset 0 0 9px 1px #84bfe2;
}

.lingq-share .share-button:hover {
    background: #f0f9ff;
    background-image: linear-gradient(bottom, #d7f0ff 10%, #f0f9ff 55%);
    background-image: -webkit-linear-gradient(bottom, #d7f0ff 10%, #f0f9ff 55%);
    border: 1px solid #5fbbed;
    border-bottom-color: #1f85bd;
    box-shadow: inset 0 1px #fff;
    color: #3296cc;
}

/* Share and Rose button */
.lingq-share_and_rose .share_and_rose-button {
    float: left;
    margin-right: 4px;
    width: 44px;
    height: 22px;
    background: #f5f5f5;
    border: 1px solid #cecece;
    border-radius: 4px;
    cursor: pointer;
}

.lingq-share_and_rose .share_and_rose-button:before {
    content: "";
    position: relative;
    top: -4px;
    left: 6px;
    display: inline-block;
    width: 30px;
    height: 24px;
    background: url(../../lingq_wall/img/rose-normal.png) no-repeat;
}

.lingq-share_and_rose .share_and_rose-button:hover {
    background: #f0f9ff;
    background-image: linear-gradient(bottom, #d7f0ff 10%, #f0f9ff 55%);
    background-image: -webkit-linear-gradient(bottom, #d7f0ff 10%, #f0f9ff 55%);
    border: 1px solid #5fbbed;
    border-bottom-color: #1f85bd;
    box-shadow: inset 0 1px #fff;
}

.lingq-share_and_rose .share_and_rose-active {
    background: #e3f5ff;
    border: 1px solid #1d84bc;
    box-shadow: inset 0 0 9px 1px #84bfe2;
}

.lingq-share_and_rose .share_and_rose-button {
    padding-right: 12px;
    width: auto;
    height: 21px;
    color: #666;
    cursor: pointer;
    font: bold 12px/21px Arial, sans-serif;
}

.lingq-share_and_rose .share_and_rose-button:before {
    float: left;
    width: 26px;
    background-position: -16px 0;
}

.lingq-share_and_rose .share_and_rose-button:hover:before {
    background-position: -16px -25px;
}

.lingq-share_and_rose .share_and_rose-active:before {
    background-position: -16px -50px;
}

.lingq-share_and_rose .share_and_rose-button:hover {
    color: #3296cc;
}

.lingq-share_and_rose .share_and_rose-active {
    color: #3296cc;
}

/* wall rose button */
.lingq-rose .rose-button {
    float: left;
    margin-right: 6px;
    width: 59px;
    height: 23px;
    background: #f5f5f5;
    border: 1px solid #cecece;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
}

.lingq-rose .rose-button:before {
    content: "";
    position: relative;
    top: -4px;
    left: 6px;
    display: inline-block;
    width: 30px;
    height: 24px;
    background: url(../../lingq_wall/img/rose-normal.png) no-repeat;
}

.lingq-rose .rose-active {
    background: #e3f5ff;
    border: 1px solid #1d84bc;
    box-shadow: inset 0 0 9px 1px #84bfe2;
}

.lingq-rose .rose-active:before {
    background: url(../../lingq_wall/img/rose-normal.png) no-repeat left -50px;
}

.lingq-rose .rose-button:hover {
    background: #f0f9ff;
    background-image: linear-gradient(bottom, #d7f0ff 10%, #f0f9ff 55%);
    background-image: -webkit-linear-gradient(bottom, #d7f0ff 10%, #f0f9ff 55%);
    border: 1px solid #5fbbed;
    border-bottom-color: #1f85bd;
    box-shadow: inset 0 1px #fff;
}

.lingq-rose .rose-button:hover:before {
    background: url(../../lingq_wall/img/rose-normal.png) no-repeat left -25px;
}

/* lingq round rose button */
.round-lingq-rose {
    display: inline-block;
    margin-top: 20px;
    width: 59px;
    height: 59px;
    vertical-align: top;
}

.round-lingq-rose .rose-button {
    display: block;
    width: 59px;
    height: 59px;
    background: url(/static/reader/img/new_elements_lesson_controls.png) no-repeat 0 -30px;
    cursor: pointer;
}

.round-lingq-rose .rose-button:hover{
    background-position: -59px -30px;
}

.round-lingq-rose .rose-button:hover .rose-counter,
.round-lingq-rose .rose-button:active .rose-counter {
    display: none;
}

.round-lingq-rose .rose-button:active{
    background-position: -118px -30px;
}

.round-lingq-rose .rose-button .rose-counter{
    position: relative;
    top: 23px;
    left: 30px;
    color: #666;
    font: bold 14px/23px Arial, sans-serif;
}

/* lingq annotation */
.lingq-annotation-right .annotation {
    display: inline-block;
    margin-right: 5px;
}

.lingq-annotation-right .annotation:before {
    content: "";
    position: relative;
    top: 4px;
    right: -8px;
    float: left;
    width: 16px;
    height: 16px;
    border: 1px solid #ccc;
    border-width: 0 0 1px 1px;
    cursor: pointer;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.lingq-annotation-right .annotation-text {
    display: inline-block;
    padding-right: 16px;
    padding-left: 5px;
    height: 23px;
    background: #fff url(/static/style/images/rose_plus_count_small.png) no-repeat right center;
    border: 1px solid #d0d0d0;
    border-left: none;
    border-radius: 0 4px 4px 0;
    color: #666;
    cursor: pointer;
    font: bold 14px/23px Arial, sans-serif;
    text-align: center;
    text-decoration: none;
    vertical-align: bottom;
}

/*wall rose count top*/
.lingq-annotation-top .annotation-text {
    display: inline-block;
    margin-top: 3px;
    padding: 0 7px 0 25px;
    min-width: 30px;
    max-width: 60px;
    min-height: 21px;
    background: #fff url(/static/style/images/rose_plus_count.png) no-repeat 12px 2px;
    border: 1px solid #4caae6;
    border-radius: 4px;
    color: #2087C8;
    cursor: pointer;
    font: 15px/20px Arial, sans-serif;
    text-decoration: none;
    word-wrap: break-word;
}

.lingq-annotation-top .annotation:after {
    content: "";
    position: relative;
    left: 18px;
    top: -2px;
    display: block;
    width: 14px;
    height: 9px;
    background: url(/static/style/images/rose_plus_count_nub.png) no-repeat;
}

.lingq-share_and_rose.lingq-annotation-top .annotation:after {
    left: 28px;
}

.lingq-annotation-top .annotation {
    min-height: 34px;
}

.lingq-annotation-top.lingq-annotation-text-center .annotation-text{
    text-align: center;
}

.lingq-annotation-top.lingq-annotation-text-left .annotation-text{
    text-align: left;
}

/* end wall rose button */
.lingq-annotation-top .annotation-text.unlink,
.lingq-annotation-right .annotation-text.unlink {
    cursor: text;
}

/*addthis toolbox */
.addthis-toolbox .share-button {
    display: inline-block;
    vertical-align: middle;
}

.addthis-toolbox .addthis_button_tweet.size20 {
    height: 20px;
}

.addthis-toolbox .custom-share-button {
    padding: 1px 5px;
    border: 1px solid #a4a4a4;
    border-radius: 5px;
    background: #f1eeee;
    background: -webkit-linear-gradient(top, #fff, #ede9e9);
    background: linear-gradient(top, #fff, #ede9e9);
    color: #333;
    cursor: pointer;
    font: bold 12px Arial, sans-serif;
    outline: none;
    text-decoration: none;
    text-shadow: 0 1px #fff;
}

.addthis-toolbox .custom-share-button:hover,
.addthis-toolbox .custom-share-button:active {
    background: #fff;
    background: -webkit-linear-gradient(top, #ede9e9, #fff);
    background: linear-gradient(top, #ede9e9, #fff);
    color: #666;
    outline: none;
    text-decoration: none;
}

.addthis-toolbox .custom-share-button span {
    display: inline-block;
    padding-right: 3px;
    padding-left: 20px;
    height: 16px;
    font: 11px/16px Verdana, Helvetica, sans-serif;
    white-space: nowrap;
}

.addthis-toolbox .custom-share-button.addthis_button_google_plusone_share span {
    background: url(../../img/googleplus_16.png) no-repeat left 1px;
}

.addthis-toolbox .custom-share-button.addthis_button_email span {
    background: url(../../img/email-icon-16x11.png) no-repeat left center;
}

.addthis-toolbox .custom-share-button.gplusone_white {
    border: 1px solid rgba(0, 0, 0, 0.17);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    border-radius: 2px;
}

.addthis-toolbox .custom-share-button.gplusone_white,
.addthis-toolbox .custom-share-button.gplusone_white:hover {
    background: #fff;
}

.addthis-toolbox .custom-share-button.gplusone_white:hover {
    border: 1px solid rgba(0, 0, 0, 0.25);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.01);
}

.addthis-toolbox .custom-share-button.gplusone_white .custom-text {
    color: #262626;
    font: bold 10px/16px Roboto, Arial, sans-serif;
}

.addthis-toolbox .custom-layout-button.addthis_button_facebook {
    padding: 0;
    height: 20px;
    background-image: -webkit-linear-gradient(bottom, #4c69ba 0%, #3b54a0 100%);
    background-image: linear-gradient(to bottom, #4c69ba 0%, #3b54a0 100%);
    border: none;
    border-radius: 2px;
    color: #fff;
    cursor: pointer;
    font: bold 11px/20px "Helvetica Neue", Helvetica, Arial;
    text-shadow: 0 -1px 0 #354c8c;
    white-space: nowrap;
}

.addthis-toolbox .custom-layout-button.addthis_button_facebook:hover {
    background-image: -webkit-linear-gradient(bottom, #5b7bd5 0%, #4864b1 100%);
    background-image: linear-gradient(to bottom, #5b7bd5 0%, #4864b1 100%);
    border-color: #5874c3 #4961a8 #41599f;
    box-shadow: 0 0 1px #607fd6 inset;
}

.addthis-toolbox .custom-layout-button.addthis_button_facebook .custom-text:before {
    content: "";
    position: relative;
    top: 3px;
    left: 0;
    display: inline-block;
    margin: 0 4px;
    width: 14px;
    height: 14px;
    background: url(../../img/facebook-icons.png) no-repeat 0 -42px;
    vertical-align: top;
}

.addthis-toolbox .custom-layout-button.addthis_button_facebook .custom-text {
    position: relative;
    padding: 0 5px 0 0;
    color: #fff;
    cursor: pointer;
    line-height: 20px;
    text-shadow: 0 -1px 0 #354c8c;
    vertical-align: top;
    white-space: nowrap;
}

.addthis-toolbox .custom-layout-button.addthis_button_twitter {
    padding: 0;
    height: 20px;
    background-image: -webkit-linear-gradient(bottom, #fff 0%, #dedede 100%);
    background-image: linear-gradient(to bottom, #fff 0%, #dedede 100%);
    border: 1px solid #ccc;
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
    font: bold 11px/18px "Helvetica Neue", Helvetica, Arial;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

.addthis-toolbox .custom-layout-button.addthis_button_twitter:hover {
    background-image: -webkit-linear-gradient(bottom, #f8f8f8 0%, #d9d9d9 100%);
    background-image: linear-gradient(to bottom, #f8f8f8 0%, #d9d9d9 100%);
    border-color: #bbb;
    box-shadow: none;
}

.addthis-toolbox .custom-layout-button.addthis_button_twitter .custom-text:before {
    content: "";
    position: relative;
    top: 4px;
    left: 0;
    display: inline-block;
    margin: 0 2px;
    width: 16px;
    height: 13px;
    background: url(../../img/twitter-icons.png) no-repeat;
    vertical-align: top;
}

.addthis-toolbox .custom-layout-button.addthis_button_twitter .custom-text {
    display: inline-block;
    padding: 0 3px 0 0;
    min-width: 50px;
    color: #333;
    cursor: pointer;
    font-weight: bold;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    vertical-align: top;
    white-space: nowrap;
}

.addthis-toolbox .jumbo-style {
    color: #fff;
    text-decoration: none;
    text-transform: none;
    transition: all 0.2s ease-in-out 0s;
}

.addthis-toolbox .jumbo-style:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-4px);
}

.addthis-toolbox .jumbo-style {
    margin: 0 5px 25px 0;
    padding: 0 15px;
    height: 32px;
    outline: none;
    text-decoration: none;
}

.addthis-toolbox .jumbo-style .custom-text {
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    line-height: 32px;
    text-align: left;
}

.addthis-toolbox .jumbo-style.addthis_button_facebook {
    background: #405d9b;
}

.addthis-toolbox .jumbo-style.addthis_button_facebook .custom-text:before {
    content: "";
    display: inline-block;
    margin-right: 2px;
    width: 20px;
    height: 100%;
    background: url(../../images/icons/facebook-logo.png) no-repeat left center;
    line-height: 32px;
    vertical-align: top;
}

.addthis-toolbox .jumbo-style.addthis_button_twitter {
    padding-left: 5px;
    background-color: #2ca8d2;
}

.addthis-toolbox .jumbo-style.addthis_button_twitter .custom-text:before {
    content: "";
    display: inline-block;
    margin-right: 8px;
    width: 26px;
    height: 100%;
    line-height: 32px;
    vertical-align: top;
    background: url(../../images/icons/twitter-logo.png) no-repeat left center;
}

.addthis-toolbox .jumbo-style.addthis_button_google_plusone_share {
    padding-left: 5px;
    background-color: #ce4d39;
}

.addthis-toolbox .jumbo-style.addthis_button_google_plusone_share .custom-text:before {
    content: "";
    display: inline-block;
    margin-right: 8px;
    width: 18px;
    height: 100%;
    background: url(../../images/icons/g-logo.png) no-repeat left center;
    line-height: 32px;
    vertical-align: top;
}

.addthis-toolbox .jumbo-style.addthis_button_compact {
    padding-left: 0;
    background-color: #f8694d;
}

.addthis-toolbox .jumbo-style.addthis_button_compact:hover {
    transform: none;
}

.addthis-toolbox .jumbo-style.addthis_button_compact .custom-text:before {
    content: "";
    display: inline-block;
    margin-right: 5px;
    width: 26px;
    height: 100%;
    background: url(../../images/icons/more-logo.png) no-repeat left center;
    line-height: 32px;
    vertical-align: top;
}

.rose-plus.small-rose {
    padding-right: 16px;
    background: url(/static/style/images/rose_plus_count_small.png) no-repeat right center;
    outline: none;
}

.rose-plus.small-rose.right-rose {
  padding-right: 0;
  padding-left: 10px;
  background-position: left center;
}
