/* Hacks to get rid of CLOUDS ad junk */
#main-container {
    border: none;
    background: none;
}

.card-social {
    text-align: center;
    margin: 0;
}
.card-social li {
    display: inline-block;
}
.card-social li > a {
    display: block;
    padding: 10px;
    font-size: 18px;
    text-align: center;
    color: #444;
    border: 1px solid #FFF;
    margin-bottom: -1px;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
.card-social li > a:hover {
    color: #000;
    text-decoration: none;
}

h1.titling {
    width: 100%;
    font-size: 4.7em;
    font-style: italic;
    line-height: 1em;
    margin: 20px auto 0;
    padding-bottom: 4px;
    text-align: center;
}
.body.intro {
    font-size: 1.4em;
    width: 100%;
    max-width: 600px;
    margin: 10px auto 0 auto;
    text-align: center;
    font-family: FranklinITCProThin,Helvetica,Arial,sans-serif;
}
.byline {
    text-align: center;
    font-family: Georgia, serif;
}

.section {
    clear: both;
    padding: 20px 0;
}
p.note {
    font-family: FranklinITCStdLight,"Franklin Gothic","ITC Franklin Gothic",Arial,sans-serif;
    font-size: 12px;
    color: #777;
    padding: 5px 0 2px;
    margin: 0 0 10px;
    line-height: 14px;
}

.ui-combobox {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
.ui-combobox a.ui-button {
    top: 3px;
    height: 23px;
}

.league {
    max-width: 25%;
    float: left;
}
.league img.logo {
    display: block;
    margin: 0 auto;
    max-width: 150px;
    margin-bottom: 10px;
    height: 100px;
}
.league .title {
    text-align: center;
}
.league p {
    margin: 0 4px;
}

.chart {
    width: 100%;
    max-width: 960px;
}

.wp-graphics-tooltip h5 {
    margin: 0;
}
.wp-graphics-tooltip p {
    margin: 0;
}

.filter-menu {
    height: 38px;
    overflow: hidden;
    font-family: FranklinITCProBold,Helvetica,Arial,sans-serif;
    font-size: 1.3em;
}
.filter-menu li {
    list-style: none;
    line-height: 20px;
    float: left;
    margin-right: -1px;
    border: 1px solid #ddd;
    font-weight: 400;
}
.filter-menu li.active {
    border: 1px solid #ccc;
    -moz-box-shadow: 0 0 11px #ddd inset;
    -webkit-box-shadow: 0 0 11px #ddd inset;
    box-shadow: 0 0 11px #ddd inset;
}
.filter-menu a {
    display: block;
    color: #666;
    padding: 7px 12px;
    text-decoration: none;
    font-weight: 400;
    font-size: 17px;
}
.filter-menu .active a {
    color: #000;
}

.help {
    padding: 14px 8px;
    margin: 18px auto 0 auto;
    background-color: #deeffe;
    text-align: center;
}
.iframe-only {
    display: none;
}
body.iframe .not-iframe {
    display: none;
}
body.iframe .iframe-only {
    display: block;
}

/* Generic svg */
svg text {
    font-size: 13px;
    fill: #333;
}

svg text.anchor-start {
    text-anchor: start;
}
svg text.anchor-middle {
    text-anchor: middle;
}
svg text.anchor-end {
    text-anchor: end;
}

.axes {
  stroke: none;
  fill: none;
}
.axes text {
    fill: #666;
    font-size: 12px;
}

.label.league, .label.team, .label.result {
    dominant-baseline: central;
}

.bars {
    fill: #354C64;
    shape-rendering: crispEdges;
}

.label.league-2010 {
    text-anchor: end;
    dominant-baseline: central;
}
.label.league-2014 {
    text-anchor: start;
    dominant-baseline: central;
}
.slope line {
    stroke: #666;
}

.annotation line {
    stroke: #aaa;
    shape-rendering: crispEdges;
}
.annotation line.dashed {
    stroke-dasharray: 5 5;
}
.annotation text {
}

.top-league .box {
    background-color: #77bcf7;
}
svg .top-league {
    fill: #77bcf7;
}
.secondary-league .box {
    background-color: #badefc;
}
svg .secondary-league {
    fill: #badefc;
}
.other-league .box {
    background-color: #deeffe;
}
svg .other-league {
    fill: #deeffe;
}
.league.active {
    fill: #fae17c;
}


/* By country */
#by-country {
    padding: 10px 0 20px 0;
}

#by-country .top-intro {
    width: 100%;
    max-width: 610px;
    margin: 0 auto;
    text-align: center;
    font-family: FranklinITCProThin,Helvetica,Arial,sans-serif;
    font-size: 1.4em;
    line-height: 1.4em;
}
#by-country .tabs-wrapper {
    margin: 0 auto;
    width: 400px;
}
#by-country .tabs-label, #by-country .filter-menu a {
    text-transform: uppercase;
    font-size: 14px;
}
#by-country .filter-menu {
    width: 250px;
}
#by-country .tabs-header-wrap {
    margin-bottom: 16px;
    margin-left: 170px;
}
#by-country .tabs-label {
    position: absolute;
    top: 18px;
    font-family: FranklinITCProBold,Helvetica,Arial,sans-serif;
}
#by-country .filter-menu {
    margin: 0 auto;
}
#by-country .target {
    margin-top: 20px;
}
#by-country svg {
    display: block;
    margin: 0 auto;
}
#by-country .hover-target {
    pointer-events: all;
    fill: none;
    stroke: none;
    cursor: pointer;
}
#by-country .hover-target-non_world-cup-countries {
    cursor: default;
}
.wp-graphics-tooltip p.soft {
    color: #999;
}
#by-country .country-label.active {
    font-family: FranklinITCProBold,Helvetica,Arial,sans-serif;
}
#by-country .wp-graphics-tooltip {
    max-width: 300px;
}

.annotation {
    color: #666;
}
#a-england {
    text-align: right;
    width: 200px;
    top: 8%;
    left: 21%;
}
#a-russia {
    width: 160px;
    top: 3%;
    left: 63%;
}
#a-non {
    width: 160px;
    top: 17.8%;
    left: 80%;
}
#a-africa {
    top: 54%;
    left: 35%;
    width: 200px;
}

.continent-label {
    font-size: 14px;
    font-weight: bold;
    text-anchor: middle;
    font-family: FranklinITCProBold,Helvetica,Arial,sans-serif;
    text-transform: uppercase;
}
.country {
    fill: #fff;
    stroke: #333;
    stroke-width: 3px;
    stroke-linecap: round;
}
.country-label {
    fill: #333;
    stroke: none;
    text-anchor: middle;
    dominant-baseline: central;
}
.player {
    stroke: none;
}
.team-continent-north-america {
    fill: #3178b5;
}
.team-continent-south-america {
    fill: #5ea154;
}
.team-continent-europe {
    fill: #dc463f;
}
.team-continent-africa {
    fill: #f8b44e;
}
.team-continent-asia {
    fill: #aa73a7;
}
.team-continent-oceania, .team-continent-australia {
    fill: #3993a2;
}

.a-league {
    opacity: 0;
}


/* By team */
#by-team {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}
#by-team p.body {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-family: FranklinITCProThin,Helvetica,Arial,sans-serif;
    font-size: 1.4em;
    line-height: 1.4em;
}
#by-team .target {
    margin-top: -10px;
}
#by-team .chart {
    padding-top: 36px;
    height: auto !important;
}
#by-team .tabs-header-wrap {
    float: left;
    margin-left: 63px;
    margin-right: 150px;
}
#by-team .legend {
    margin: 0 auto;
    padding-top: 10px;
    background-color: #fff;
    width: 100%;
}
#by-team .legend.fixed {
    border-bottom: 1px solid #e2e2e2;
}
#by-team .legend .items {
    float: left;
}
#by-team .legend .item {
    float: left;
    margin: 8px 18px 4px 0;
}
#by-team .legend .item .box {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 4px 4px 0;
}
#by-team .ui-combobox {
    float: left;
    margin-top: 3px;
}
#by-team .ui-combobox input.active {
    font-weight: bold;
    fill: #fae17c;
}
#by-team .result-header {

}
#by-team .label.team, #by-team .label.result {
    fill: #333;
    pointer-events: none;
    font-size: 14px;
    font-weight: normal;
}
#by-team .label.team.active {
    font-family: FranklinITCProBold,Helvetica,Arial,sans-serif;
}
#by-team .result {
    font-weight: normal;
}

#by-team .filter-menu {
    width: 129px;
    margin: 0 auto;
    font-size: 1.7em;
    height: 36px;
}

#by-team .league {
    stroke: #fff;
    transition-property: fill-opacity;
    transition-duration: 0.2s;
}
#by-team .league.active {
    fill-opacity: 1.0;
}
#by-team .league.inactive {
    //fill-opacity: 0.4;
}


/* Responseive, by-country */
.medium-only {
    display: none;
}
@media (max-width: 1200px) {
    #by-country .tabs-label {
    }
    #a-england {
        left: 14%;
    }
    #a-russia {
        left: 65%;
    }
    #a-non {
        left: 83%;
    }
    #a-africa {
        left: 31%;
    }
}
@media (max-width: 980px) {
    #by-country .tabs-label {
    }
    #a-england {
        left: 7%;
        top: 5%;
    }
    #a-russia {
        opacity: 0 !important;
    }
    #a-africa {
        left: 27.5%;
    }
}
@media (max-width: 767px) {
    #by-country .tabs-wrapper {
        display: none;
    }
    #by-country .target {
        display: none;
    }
    .medium-only {
        display: block;
    }
    .fallback {
        text-align: center;
        margin-top: 20px;
    }
    .fallback img {
        max-width: 530px;
        width: 100%;
    }
}

/* Responsive, by-team */
.full {
    display: inherit;
}
.tiny {
    display: none;
}
@media (max-width: 980px) {
    #by-team .tabs-header-wrap {
        margin-left: 43px;
    }
    .ui-combobox input {
        width: 120px;
    }
}
@media (max-width: 800px) {
    .ui-combobox {
        display: none;
    }
    #by-team .tabs-header-wrap {
        float: none;
        width: 130px;
        margin: 0 auto;
    }
    #by-team .legend .items {
        float: none;
        margin: 0 auto;
        width: 340px;
    }
    #by-team .target {
        margin-top: 25px;
    }
}
@media (max-width: 385px) {
    .full {
        display: none;
    }
    .tiny {
        display: inherit;
    }
    #by-team .legend .items {
        width: 280px;
    }
}


/* IE */
.ie-fallback {
    display: none;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}
.ie-fallback img {
}

