.guestbook-form {
    position: relative;
}
.guestbook-score {
    position: relative;
}
.guestbook-score .gb-rating {
    position: relative;
    display: inline-block;
    vertical-align: bottom;
}
.guestbook-score .gb-rating input {
    position: absolute;
    opacity: 0;
}
.guestbook-score .gb-rating label {
    position: relative;
    display: inline-block;
    float: right;
    cursor: pointer;
    margin: 0 5px 0 0;
}
.guestbook-score .gb-rating label::after {
    content: '\f006';
    font-family: 'FontAwesome';
    font-size: 1.3em;
    transition: color .4s;
}
.guestbook-score .gb-rating :checked ~ label::after {
    content: '\f005';
    color: #ff9800;
}
.contactForm.submitted .guestbook-score .gb-rating :invalid ~ label::after {
    color: #e00;
}
.guestbook-messages {
    position: relative;
    margin-top: 20px;
}
.guestbook-messages .gb-score {
    float: left;
}
.guestbook-messages .gb-count {
    text-align: right;
    font-weight: bold;
    float: right;
}
.guestbook-messages .gb-content {
    position: relative;
}
.guestbook-messages .gb-content .gb-entry {
    padding: 10px 0;
    border-bottom: 2px solid #ddd;
}
.guestbook-messages .gb-content .gb-entry .gb-info::after {
    content: '';
    display: block;
    clear: both;
}
.guestbook-messages .gb-content .gb-entry .gb-info .gb-author-name {
    font-weight: bold;
    float: left;
}
.guestbook-messages .gb-content .gb-entry .gb-info .gb-date-time {
    font-size: 85%;
    float: right;
}
.guestbook-messages .gb-content .gb-entry .gb-info .gb-date-time .gb-time, .guestbook-messages .gb-content .gb-entry .gb-info .gb-date-time .gb-date {
    margin-left: 10px;
}
.guestbook-messages .gb-content .gb-entry .gb-info .gb-date-time .gb-date-time-before,
.guestbook-messages .gb-content .gb-entry .gb-info .gb-date-time .gb-date-time-after {
    display: none;
}
.guestbook-messages .gb-content .gb-entry .gb-info .gb-google-reviews {
    background-color: #dc3545;
    padding: 5px 10px;
    color: #FFF;
    border-radius: 50px;
}
.guestbook-messages .gb-content .gb-entry .gb-message {
    padding-top: 5px;
}
.guestbook-messages .gb-pagination {
    position: relative;
    margin-top: 20px;
    text-align: center;
}
.guestbook-messages .gb-pagination a {
    display: inline-block;
    border: 1px solid #ddd;
    cursor: pointer;
    text-decoration: none;
}
.guestbook-messages .gb-pagination a:not(:first-child) {
    border-left: 0;
}
.guestbook-messages .gb-pagination a span {
    display: inline-block;
    padding: 0px 10px;
    transition: background .4s, color .4s;
}
.guestbook-messages .gb-pagination a span:hover {
    background: #eee;
}
.guestbook-messages .gb-pagination a.gb-page-active span {
    cursor: default;
    background: #f2f2f2;
    color: #999;
}