/*
Plugin Name: BPS Multisite News 
Author URI: http://www.beplusports.com
Description: A plugin to get the news of all multisite sites depending on certain parameters.
Author: be+SPORTS
Version: 1.0.0
*/

#page .page-bg {
    position: fixed;
    bottom: 0;
    height: 80px;
    width: 100%;
    background-repeat: repeat-x;
    background-position: top;
    z-index: 1000;
    background-image: url("http://www.futbolclubs.es/wp-content/themes/aoportal/images/bg-soccer2.png") !important;
}

.bps-filters {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bps-club-region select{
    -webkit-appearance: button;
    -webkit-border-radius: 2px;
    -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
    -webkit-padding-end: 20px;
    -webkit-padding-start: 2px;
    -webkit-user-select: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='#666' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'> <path d='M7.41 7.84L12 12.42l4.59-4.58L18 9.25l-6 6-6-6z'/> <path d='M0-.75h24v24H0z' fill='none'/> </svg>");
    background-color: transparent;
    background-position: 97% center;
    background-repeat: no-repeat;
    border: 1px solid black;
    border-radius: 5px;
    color: black;
    font-size: inherit;
    margin: 5px 10px;
    overflow: hidden;
    padding: 10px 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}

.bps-news-navigation {
    margin: 15px 0px;
}

.bps-news-navigation button {
    color: black;
    background-color: transparent;
    border: 0px;
    padding: 8px 16px;
    text-decoration: none;
}

.bps-news-navigation .news-active {
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
}

.bps-news-navigation button:hover {
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
}

#bps-info-wrapper {
    padding: 0px;
}

.bps-news-margin {
    margin: 0px 15px 15px 0px;
    background-size: cover;
}

.bps-news-16-by-9 {
    padding-top: 56.25% !important;
}

.bps-news-3-by-2 {
    padding-top: 66.66% !important;
}

.bps-news-1-by-1 {
    padding-top: 100% !important;
}

.bps-news-category-filter, #bps-news-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin: 10px 10px;
}

.bps-news-category-filter .bps-news-category-name {
    margin: 5px 5px;
    color: black;
    border: 1px solid black;
    background-color: transparent;
    border-radius: 5px;
    padding: 10px 15px;
    text-decoration: none;
    cursor: pointer;
}

.bps-news-category-filter .bps-news-category-name:hover {
    background-color: black;
    color: white;
}

.bps-category-active {
    background-color: black !important;
    color: white !important;
}

.bps-news-link {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.bps-blog-name {
    position: absolute;
    right: 5px;
    top: 20px;
    padding: 5px 15px;
    z-index: 10;
}

.bps-event-date {
    position: absolute;
    left: -5px;
    top: 10px;
    padding: 5px 5px;
    z-index: 10;
    width: 60px;
    height: 60px;
    /* background: #fff; */
    display: inline-block;
    border-radius: 3px;
    color:white;
}

.bps-event-day {
    position: absolute;
    text-align: center;
    font-size: 150%;
    width:100%;
    top:-2px;
    right:0;
}

.bps-event-month {
    position: absolute;
    text-align: center;
    bottom: 13px;
    /* background-color: #18560033; */
    background-color:#505050;
    width:100%;
    right:0;
}

.bps-event-year {
    position:absolute;
    bottom:0px;
    right:0;
    font-size:70%;
    text-align:center;
    width:100%;
}

.bps-news-categories {
    position: relative;
    text-align: left;
    bottom: 8px;
}

.bps-news-category {
    background-color: #505050;
    color: white;
    padding: 5px 15px;
}

.bps-news-info {
    position: absolute;
    background-color: #000000ba;
    color: white;
    bottom: 15px;
    right: 30px;
    width: 89.2%;
}

.bps-news-info .bps-news-info-link {
    color: white;
    text-decoration: none;
}

.bps-news-title {
    padding: 5px 10px;
    text-align: left;
}

.bps-news-title h4 {
    margin: 5px 0px 0px 0px;
}

.bps-news-excerpt {
    padding: 5px 10px;
    text-align: left;
}

.bps-fixed-ads {
    right: 2.5%;
    top:20%;
    position: sticky !important;
    position: -webkit-sticky !important;
    width: 98%;
}

/* #page h1.featurette-heading {
    display: none;
} */

@media screen and (max-width: 420px) {
    .bps-filters {
        display: flex;
        flex-direction: column;
    }
    .bps-news-info {
        width: 96%;
    }
}