/**
 * Copyright (c) 2013-2019, Erin Morelli.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 *
 *
 * EM Beer Manager widget styles
 */

/**
 * Style EM Beer Manager beer list widget
 */
ul.embm-beer-list-widget {
    margin: 0 0 0 20px;
    padding: 0;
}
ul.embm-beer-list-widget li {
    list-style: square;
}
li.embm-beer-list-widget-item a {
    display: block;
    font-weight: bold;
}
li.embm-beer-list-widget-item .embm-beer-summary {
    display: inline-block;
    padding-bottom: 10px;
}
li.embm-beer-list-widget-item .embm-read-more {
    display: inline-block;
    font-size: 100%;
    font-weight: normal;
    padding-left: 3px;
}

/**
 * Style EM Beer Manager recent Untappd check-ins widget
 */
ul.embm-untappd-list {
    margin: 0;
    padding: 0;
}
ul.embm-untappd-list > li {
    list-style: none;
    border: 0;
}
ul.embm-untappd-list li:last-of-type {
    border: 0;
}
ul.embm-untappd-list li.embm-untappd-list--item {
    border: 0;
    border-bottom: 1px solid #EEE;
    font-size: 0.9em;
    line-height: 1.5em;
    margin-bottom: 8px;
    padding-bottom: 10px;
}
li.embm-untappd-list--item::after {
    clear: both;
    content: '';
    display: block;
    font-size: 0;
    height: 0;
    visibility: hidden;
}
li.embm-untappd-list--item .embm-untappd-list--item-thumb {
    -moz-border-radius: 26px;
    -webkit-border-radius: 26px;
    border-radius: 26px;
    float: left;
    height: 32px;
    margin-right: 12px;
    overflow: hidden;
    position: relative;
    top: 2px;
    width: 32px;
}
li.embm-untappd-list--item .embm-untappd-list--item-thumb > img {
    height: 100%;
    width: 100%;
}
li.embm-untappd-list--item .embm-untappd-list--item-content.embm-untappd-list--item-content__thumb {
    display: block;
    float: left;
    max-width: calc(100% - 50px);
}
li.embm-untappd-list--item .embm-untappd-list--item-title {
    margin-bottom: 5px;
    display: block;
}
li.embm-untappd-list--item .embm-untappd-list--item-title .embm-untappd-list--item-link {
    font-weight: bold;
}
li.embm-untappd-list--item .embm-untappd-list--item-meta {
    font-size: 0.8em;
}
li.embm-untappd-list--item .embm-untappd-list--item-meta a {
    text-decoration: none;
    border: 0;
    box-shadow: none;
}
li.embm-untappd-list--item .embm-untappd-list--item-date > a.embm-untappd-list--item-link {
    color: #aaa;
}
li.embm-untappd-list--item a.embm-untappd-list--item-date:hover {
    text-decoration: underline;
}
li.embm-untappd-list--item .embm-untappd-list--item-venue::after,
li.embm-untappd-list--item .embm-untappd-list--item-date::after {
    color: #999;
    content: '-';
    display: inline-block;
    padding: 0 5px;
}
li.embm-untappd-list--item a.embm-untappd-list--item-link {
    color: #C60;
}
li.embm-untappd-list--item .embm-untappd-list--item-venue > a.embm-untappd-list--item-link {
    color: #999;
}
li.embm-untappd-list--item .embm-untappd-list--item-venue::before {
    content: "\f230";
    font-family: dashicons;
    color: #AAA;
    padding-right: 2px;
    font-style: normal;
    display: inline-block;
    font-size: 1em;
    position: relative;
    top: 1px;
}
li.embm-untappd-list--item .embm-untappd-list--item-rating {
    display: block;
    height: 15px;
    margin-bottom: 5px;
}
li.embm-untappd-list--item .embm-untappd-list--item-rating > svg {
    display: block;
    float: left;
    height: 15px;
    width: 16px;
}
li.embm-untappd-list--item .embm-untappd-list--item-comment {
    margin-bottom: 5px;
    display: block;
    font-style: italic;
}
li.embm-untappd-list--item .embm-untappd-list--item-comment::before {
    color: #CCC;
    content: '\f122';
    display: inline-block;
    font-family: dashicons;
    font-style: normal;
    padding-right: 5px;
}
.embm-untappd-list .embm-untappd-list--footer {
    border: 0;
    display: block;
    padding-top: 3px;
    position: relative;
    width: 100%;
}
.embm-untappd-list .embm-untappd-list--footer a {
    border: 0;
    box-shadow: none;
    text-decoration: none;
}
.embm-untappd-list .embm-untappd-list--footer .embm-untappd-list--more {
    box-sizing: border-box;
    display: inline-block;
    height: 30px;
    margin-bottom: 10px;
    margin-right: 10px;
    min-width: 110px;
    width: calc(100% - 110px);
}
.embm-untappd-list .embm-untappd-list--footer .embm-untappd-list--more a {
    background-color: #FC0;
    border-radius: 4px;
    box-sizing: border-box;
    color: #FFF;
    display: inline-block;
    font-size: 13px;
    height: 30px;
    line-height: 20px;
    padding: 5px 8px 5px 10px;
    text-align: center;
    width: 110px;
}
.embm-untappd-list .embm-untappd-list--footer .embm-untappd-list--more a .dashicons {
    font-size: 12px;
    line-height: 21px;
}
.embm-untappd-list .embm-untappd-list--footer .embm-untappd-list--credit {
    box-sizing: border-box;
    display: inline-block;
    height: 30px;
    width: 100px;
}
.embm-untappd-list .embm-untappd-list--footer .embm-untappd-list--credit a {
    display: inline-block;
    opacity: .5;
    width: 100%;
}
.embm-untappd-list .embm-untappd-list--footer .embm-untappd-list--credit a > img {
    width: 100%;
    height: 100%;
}
