#fa_plugin * {line-height: 1.5em; }
#fa_plugin {font-size: 16px; font-family: Arial, sans-serif; }
#fa_plugin #fa_arenas {margin-bottom:10px; }
#fa_plugin a.arena, 
#fa_plugin a.arena * {box-sizing: border-box; }
#fa_plugin a.arena {
    display: block;
    padding: 1em 0;
    text-decoration: none;
    color: inherit;
}

#fa_plugin a.arena:after {
    content: ' '; 
    display: block; 
    clear: both; 
}
#fa_plugin a.arena.closed {
    background: #CCC;
}

#fa_plugin a.arena:hover {background: rgba(0,0,0,0.1); }

#fa_plugin .img-container {
    float: left;
    width: 29%;
    margin-left: 1%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    min-height: 135px;
    max-height: 200px;
    max-width: 300px;
}
#fa_plugin span.arena_content {
    float: left;
    padding-left: 1.5em;
    width: 70%;
}
#fa_plugin .rating {
    background: url('http://www.freearenas.com/images/icons/star2.png') -2px top repeat-x;
    display: block;
    width: 92px;
    height: 15px;
    font-size:0.875em;
    background-size: auto 100%;
}
#fa_plugin .stars {
    display: block;
    height: 15px;
    background: url('http://www.freearenas.com/images/icons/star1.png') left top repeat-x;
    margin-left: -2px;
    background-size: auto 100%;
}
#fa_plugin .arena {
    border-bottom: 1px solid #d2d2d2;
    padding: 10px 0;
    border-top: 1px solid #d2d2d2;
    margin-top: -1px;
}
#fa_plugin .arena .arena_type, 
#fa_plugin .arena .location {display: block; }
#fa_plugin .arena p {
    line-height: 1.25em;
    margin-bottom: 0;
}
#fa_plugin {margin:15px 0; }
#fa_plugin .add-field {margin:15px 0; }
#fa_plugin .arena {position:relative; }
#fa_plugin .arena .rating {
    position: absolute; 
    right: 0; 
    top: 10px; 
}
#fa_plugin .arena .arena-thumbnails {clear: both; }
#fa_plugin .arena .arena-thumbnail {
    display: block; 
    width: 50px; 
    height: 50px; 
    overflow: hidden; 
    float: left; 
    margin: 5px 5px 0 0; 
}
#fa_plugin .arena .arena-thumbnail-img {
    width: 50px; 
    height: 50px; 
}
#fa_plugin .arena .arena_type {display:none; }
#fa_plugin .arena a.directions {display:none; }
#fa_plugin .arena a.directions span {}
#fa_plugin .arena a.directions:before {content:'More Info/'; }
#fa_plugin .arena:hover a.directions {
    position: absolute; 
    display:block; 
    height: 100%; 
    width: 100%; 
    padding: 0; 
    margin: 0; 
    font-size: 48px; 
    text-align: center; 
    background: #000; 
    color: #74BE44; 
    opacity: 0.75; 
    top: 0; 
    left: 0; 
    text-decoration: none; 
}
#fa_plugin .arena .img-container {
    overflow: hidden;
    min-height: 180px !important;
    border: 8px solid #FFF;
    box-shadow: 0.125em 0.25em 0.5em rgba(0,0,0,0.5);
}

#fa_plugin #fa_arenas .arena:nth-child(6n) .img-container > div {
    transform: rotate(-2deg);
    -webkit-transform: rotate(-2deg);
}
#fa_plugin .arena:nth-child(6n+1) .img-container {
    transform: rotate(3deg);
    -webkit-transform: rotate(3deg);
}
#fa_plugin .arena:nth-child(6n+2) .img-container {
    transform: rotate(-1deg);
    -webkit-transform: rotate(-1deg);
}
#fa_plugin .arena:nth-child(6n+3) .img-container {
    transform: rotate(2deg);
    -webkit-transform: rotate(2deg);
}
#fa_plugin .arena:nth-child(6n+4) .img-container {
    transform: rotate(-3deg);
    -webkit-transform: rotate(-3deg);
}
#fa_plugin .arena:nth-child(6n+5) .img-container {
    transform: rotate(1deg);
    -webkit-transform: rotate(1deg);
}


#fa_plugin .arena .activities-list {display: none; }
#fa_plugin .activity-icons {
    display: inline-block;
    margin-right: 5px;
}
#fa_plugin .activity-icons .activity {
    text-align: center;
    float: left;
    width: auto;
    height: auto;
    padding: 0 3px;
    margin: 0;
    display: inline-block;
    margin-bottom: 0.25em;
    position: relative;
    clear: none;
}
#fa_plugin .activity-icons .activity .image {
    display: block;
    height: 38px;
    width: 38px;
    background-color: #F8993D;
    background-position: center center;
    border-radius: 12px;
    border: 2px solid #ccc;
    font-size:4.4em;
    color: #E0E1E2;
    background-size: 148%;
}
#fa_plugin .activity-icons .activity.more .image,
#fa_plugin .activity-icons .activity:hover .image {
    /* border-color: #F8993D; */
}
#fa_plugin .activity-icons .activity .type,
#fa_plugin .activity-icons .activity .title {
    display: none;
}
#fa_plugin .activity-icons .activity:hover .title {
    display: block;
    position: absolute;
    background: #000;
    color: #FFF;
    padding: 0.25em 1em;
    left: 50%;
    top: 0;
    -webkit-transform: translate(-50%, -100%);
    transform: translate(-50%, -100%);
    box-shadow: 3px 3px 3px rgba(0,0,0,0.5);
    width: auto;
    border: none;
    font-size: inherit;
    font-weight: normal;
    font-family: inherit;
    border-radius: 0.5em;
    white-space: nowrap;
}
#fa_plugin .activity-icons .activity:hover .title:after {
    position: absolute;
    bottom: -20px;
    left: 50%;
    border: 10px solid transparent;
    border-top-color: #000;
    content: '';
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

#fa_plugin .arena .arena_content > * {margin-bottom: 0.5em; }    

#fa_plugin .arena.free-arenas-ad,
#fa_plugin .arena.free-arenas-ad:hover {
    padding: 1em;
    text-align: right;
    clear: both;
    display: block;
    color: inherit;
    text-decoration: none;
    background: #222 url(http://www.freearenas.com/images/background.png);
    background-size: 200%;
    background-position-x: -120px;
    background-position-y: center;
    transition: background .2s ease-in-out;
    border: 5px solid #F8993d;
    color: #EEE;
    font-family: Helvetica, Arial, sans-serif;
}

#fa_plugin .arena.free-arenas-ad .logo,
#fa_plugin .arena.free-arenas-ad:hover .logo {
    max-width: 100%;
    margin-top: 10px;
}
#fa_plugin .arena.free-arenas-ad:hover {
    text-decoration: none;
    background-color: #181818;
    text-decoration: none;
}
#fa_plugin .arena.free-arenas-ad:hover .slogan,
#fa_plugin .arena.free-arenas-ad .slogan {
    font-weight: bold;
    font-size: 1.25em;
}
#fa_plugin .arena.more_arenas {
    font-size: 1.5em;
    background: #F8993D;
    text-align: center;
    color: #FFF;
    /* border: 5px solid #F8993D; */
    border-bottom: none;
    margin-bottom: 0.5em;
}
#fa_plugin .arena.more_arenas:hover {
    background: #888;
}
@media only screen and (max-width:615px) {
    #fa_plugin .arena .rating {
        position: relative;
        right: auto;
        top: auto;
        display: block;
        margin-bottom: 0.5em;
    }
    #fa_plugin .free-arenas-ad span {display: block;}
}
@media only screen and (max-width:550px) {
    #fa_plugin .arena {
        box-sizing: content-box;
        margin: 0 -20px;
        padding: 20px !important;
    }

    #fa_plugin .arena .arena_content, 
    #fa_plugin .arena .img-container {
        float: none;
        width: 100%;
    }

    #fa_plugin .arena .img-container {
        max-height: 250px;
        margin-bottom: 1em;
    }

    #fa_plugin .arena .arena_content {padding: 0; }

    #fa_plugin .arena img.main_img {
        width: 100%;
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}
@media only screen and (max-width:400px) {
    #fa_plugin .arena .img-container {max-height: 150px; }
    #fa_plugin .arena.free-arenas-ad span {font-size: 0.9em; }
    #fa_plugin .arena.free-arenas-ad .slogan {font-size: 1em; }
}

/* ---- Compact "sidebar" variant ---- */
/* Add class="sidebar" to any container wrapping the widget (or to #fa_plugin itself) to
   render tight, media-object style cards that fit a narrow sidebar column. */
.sidebar #fa_plugin, #fa_plugin.sidebar {font-size: 13px; margin: 0; }
.sidebar #fa_plugin .arena, #fa_plugin.sidebar .arena {padding: 9px 0; }
.sidebar #fa_plugin .arena .img-container,
#fa_plugin.sidebar .arena .img-container {
    float: left !important;
    width: 84px !important;
    min-width: 84px;
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
    margin: 2px 10px 0 0 !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 4px;
    transform: none !important;
    -webkit-transform: none !important;
}
.sidebar #fa_plugin .img-container > div,
#fa_plugin.sidebar .img-container > div {transform: none !important; -webkit-transform: none !important; }
.sidebar #fa_plugin span.arena_content,
#fa_plugin.sidebar span.arena_content {
    float: none !important;
    display: block;
    width: auto !important;
    overflow: hidden;
    padding-left: 0 !important;
}
.sidebar #fa_plugin .arena .rating,
#fa_plugin.sidebar .arena .rating {position: static !important; margin: 0 0 4px !important; }
.sidebar #fa_plugin .arena strong,
#fa_plugin.sidebar .arena strong {font-size: 1em; }
.sidebar #fa_plugin .arena p,
#fa_plugin.sidebar .arena p {
    font-size: 0.92em;
    line-height: 1.3em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sidebar #fa_plugin .activity-icons,
#fa_plugin.sidebar .activity-icons {display: none !important; }
