.ui-state-default {
    background: none;
}

.btn {
    /*margin-top:.5em;*/
    display: inline-block;
    padding: 4px 6px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

.btn-default {
    text-shadow: 0 1px 0 #fff;
    background-image: -webkit-linear-gradient(top,#fff 0,#e0e0e0 100%);
    background-image: -o-linear-gradient(top,#fff 0,#e0e0e0 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#fff),to(#e0e0e0));
    background-image: linear-gradient(to bottom,#fff 0,#e0e0e0 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
    background-repeat: repeat-x;
    border-color: #dbdbdb;
    border-color: #ccc;
    color: #333 !important;
    text-decoration: none !important;
    font-size: .9em;
    min-width: 9em;
}
.btn-primary {
    background-color: #337ab7;
    text-decoration: none;
    background-image: -webkit-linear-gradient(top,#337ab7 0,#265a88 100%);
    background-image: -o-linear-gradient(top,#337ab7 0,#265a88 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#265a88));
    background-image: linear-gradient(to bottom,#337ab7 0,#265a88 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff265a88', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
    background-repeat: repeat-x;
    border-color: #245580;
    margin-top:-.3em;
}

.btn-success {
    background-color: #5cb85c;
    text-decoration: none;
    background-image: -webkit-linear-gradient(top,#5cb85c 0,#419641 100%);
    background-image: -o-linear-gradient(top,#5cb85c 0,#419641 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#5cb85c),to(#419641));
    background-image: linear-gradient(to bottom,#5cb85c 0,#419641 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
    background-repeat: repeat-x;
    border-color: #3e8f3e;
    margin-top:-.3em;
}
.btn-default:focus, .btn-default:hover {
    background-color: #e0e0e0;
    background-position: 0 -15px;
}
.btn-default.active, .btn-default:active {
    background-color: #e0e0e0;
    border-color: #dbdbdb;
}
.btn-default:focus, .btn-default:hover {
    background-color: #e0e0e0;
    background-position: 0 -15px;
}
.btn.active, .btn:active {
    background-image: none;
}
.btn-danger.active, .btn-danger:active, .btn-default.active, .btn-default:active, .btn-info.active, .btn-info:active, .btn-primary.active, .btn-primary:active, .btn-success.active, .btn-success:active, .btn-warning.active, .btn-warning:active {
    -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
    box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
}
#like-up.btn-default.active i {
    color:green;
}
#like-down.btn-default.active i {
    color:red;
}

a.btn-success, a.btn-primary {
    color: #fff !important;
}

/* Allow Font Awesome Icons in lieu of jQuery UI and only apply when using a FA icon */
.ui-icon[class*=" icon-"] {
    /* Remove the jQuery UI Icon */
    background: none repeat scroll 0 0 transparent;
    /* Remove the jQuery UI Text Indent */
    text-indent: 0;
    /* Bump it up - jQuery UI is -8px */
    margin-top: -0.5em;
}

.ui-button-icon-only .ui-icon[class*=" icon-"] {
    /* Bump it - jQuery UI is -8px */
    margin-left: -7px;
}

/* Allow use of icon-large to be properly aligned */
.ui-icon.icon-large {
    margin-top: -0.75em;
}

/* Allow Font Awesome Icons in lieu of jQuery UI and only apply when using a FA icon */
.ui-icon[class*=" fa-"] {
    /* Remove the jQuery UI Icon */
    background: none repeat scroll 0 0 transparent;
    /* Remove the jQuery UI Text Indent */
    text-indent: 0;
    /* Bump it up - jQuery UI is -8px */
    margin-top: -0.5em;
}

.ui-button-icon-only .ui-icon[class*=" fa-"] {
    /* Bump it - jQuery UI is -8px */
    margin-left: -7px;
}

/* Allow use of icon-large to be properly aligned */
.ui-icon.icon-large {
    margin-top: -0.75em;
}
#rulesbutton span.ui-button-text {
    display: none;
}
#rulesbutton {
    text-align: center;
    height: 24px;
    min-width: 18px;
}
.space {
    display: inline-block;
    width: 2em;
}
.like, #rulesbutton {
    min-width: 2em;
    line-height: 24px;
}
.forward {
    min-width:2em;
    height: 24px !important;

}
.forward i {
    line-height: 24px;
}
.result {
    display: inline-block;
    padding: .6em;
    color: green;
    font-weight: bold;
    background: #FCFCFC;
    border-radius: 5px;
    border: 1px solid #ccc;
}
.like {
    margin-left: .5em;
}
.title:before {
    content: attr(title);
    position: absolute;
    background: #fff;
    display:none;
    margin-top: -.45em;
    border-radius: .3em;
    margin-left: 3.5em;
    padding: .4em;
    z-index: 99;
    -webkit-box-shadow: 0px 0px 3px -1px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 3px -1px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 3px -1px rgba(0,0,0,0.75);
}
/*
.title:after {
    content: '';
    position: absolute;
    display:none;
    width: 0;
    height: 0;
    border: 7px solid transparent; border-right: 7px solid #fff;
    margin-left: 2.4em;
    margin-top: -1.6em;
    z-index: 100;
}
*/
.title:hover:before, .title:hover:after {
    display:block;
}