/*--FONTS--*/
@font-face {
  font-family: 'superstar';
  src: url('../fonts/Jersey M54.ttf');
  unicode-range: U+0030-0097;
}

@font-face {
    font-family: 'superstar-fallback';
    src: url('../fonts/Unibet Pro (superstar edit).ttf');
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,300;1,400;1,500;1,700;1,900&display=swap');



/*--GLOBAL--*/

body {
    margin: 0;
    padding-top: 35px;
    background-color: rgba(27, 30, 35, 1);
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    width: 100%;
    overflow-x: hidden;
    /*-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;*/
}

h1, h2, h3, h4, h5 {
    text-transform: uppercase;
    font-family: 'superstar-fallback', sans-serif;
    /*letter-spacing: 0.5px;*/
}

hr {
    border: none;
    height: 2px;
    background-color: #fff;
    margin-top: 4px;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: white;
}
::-moz-placeholder { /* Firefox 19+ */
  color: white;
}
:-ms-input-placeholder { /* IE 10+ */
  color: white;
}
:-moz-placeholder { /* Firefox 18- */
  color: white;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  display: none;
}

input[type=search] {
    padding: 12px 25px;
    border-radius: 100px;
    border: 2px solid #fff;
    background-color: transparent;
    width: 225px;
    margin: 0 auto;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
}

@media screen and (min-width: 768px) {
    input [type=search] {
        width: 265px;
    }
}

.container-fluid {
    padding: 0;
}

@media screen and (min-width: 1400px) {
    .container {
        width: 1350px
    }
}


#splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    height: 100vh;
    background-color: rgba(27, 30, 35, 1);
    z-index: 1000;
    text-align: center;
}

#splash img {
    max-width: 250px;
    margin: 0 auto;
    margin-top: 30px;
}

#splash .inner {
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/*preloader*/
.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #147B45; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin: 0 auto;
    margin-top: 30px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/*--SECTION NAVIGATION--*/

.active-long p {
    line-height: 1;
    margin-bottom: 0;
    margin-top: 10px;
    font-size: 20px;
}



.tab-select{
    text-align: center;
    background-color: #262D37;
    border: 2px solid #4F5969;
    border-left: 1px solid #4F5969;
    border-right: 1px solid #4F5969;
    cursor: pointer;
    text-transform: uppercase;
    font-family: 'superstar-fallback', sans-serif;
    /*letter-spacing: 0.5px;*/
}

.tab-select h3 {
    /* font-size: 10px; */
    /* font-family: 'Roboto', sans-serif; */
    /* font-weight: 900; */
    margin-top: 9px;
    margin-bottom: 5px;
    /* text-transform: none; */
    font-size: 17px;
    letter-spacing: 0;
    line-height: 20px;
    text-align: center;
}

.tab-select.active {
    background-color: #D94141;
    border: 2px solid #D94141;
    border-left: 1px solid #D94141;
    border-right: 1px solid #D94141;
}



/*--SECTIONS--*/

#section-1 {
    padding-bottom: 50px;
    display: none;
}

#section-2 {
    /*display: none;*/
    margin-bottom: 0;
}

#section-2 img {
    max-width: 100%;
    margin: 0 auto;
    margin-top: 25px;
    margin-bottom: 25px;
}

#section-2 p {
    font-size: 14px;
    line-height: 28px;
    font-weight: 400;
    margin-top: 15px;
    margin-bottom: 15px;
}
#section-2 .container.wrap-767.intro-wrapper p {
    font-size: 17px;
    letter-spacing: 0;
    line-height: 28px;
}
#section-2 .control-text p {
    line-height: 1.2;
    font-size: 10px;
    font-size: 13px;
    letter-spacing: 0;
    line-height: 16px;
}

#section-2 h1 {
    font-size: 50px;
    font-size: 40px;
    letter-spacing: 0;
    line-height: 36px;
    text-align: center;
}

#section-3 {
    display: none;
}

.section {
    margin-top: 30px;
    margin-bottom: 70px;
    position: relative;
}

.article-section {
    /*height: 100vh;
    min-height: 700px;*/
    padding-top: 50px;
    padding-bottom: 50px;
}

.article-section.alternate {
    background-color: #21252B;
}

.article-title {
    margin-bottom: 30px;
}


/*--TEAM INFO--*/

#squad-information {
    margin: 0 auto;
    padding: 0;
}

#squad-information div {
    padding-left: 0;
    padding-right: 0;
}

#squad-side {
    max-width: 290px;
    margin: 0 auto;
}

#squad-information h3 {
    margin-bottom: 0;
}

#team-name {
    margin-bottom: 0;
}

.team-crest {
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.team-crest img {
    max-width: 50px;
}

#team-head {
    padding: 0;
    padding-top: 20px;
    text-align: center;
}

#filter-container {
    padding: 0;
    margin-top: 15px;
}

.filter {
    width: 125px;
    font-size: 10px;
    text-align: center;
    border: 1px solid #fff;
    display: inline-block;
    cursor: pointer;
    padding: 6px 0;
    font-weight: 700;
}

.filter:first-of-type {
    margin-right: 10px;
}

.filter.active {
    background-color: #D94141;
    border: 0;
    width: 125.5px;
    padding: 7px 0;
}

.manager-row {
    width: 100%;
    height: 50px;
    position: relative;
}

.manager-row img {
    float: right;
    display: inline-block;
    max-width: 30px;
}

.manager-country-name {
    position: absolute;
    bottom: -2px;
    right: 0;
    font-size: 12px;
}

#manager-container {
    margin-top: 20px;
}

#duel-position-container {
    margin-top: 20px;
}

#squad-league {
    color: #BBBFC6;
    margin-top: 2px;
}

#all-flags-section {
    display: none;
}

#duel-position-container {
    display: none;
}

/*--VISUALISATION--*/

.bubble-container {
    height: 300px;
    width: 100%;
}

@media screen and (min-width: 768px) {
    .bubble-container {
        height: 400px;
    }
}

#vis-2 {
    display: none;
}

#timeline-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%; 
    background-color: #262D37;
    border-top: 2px solid #4F5969;
}

#timeline-section {
    display: none;
}

#timeline-controls {
    float: none;
    margin: 0 auto;
    max-width: 150px;
}



@media screen and (min-width: 1300px) {
    #timeline-section {
        display: inline-block;
    }
    #timeline-controls {
        float: left;
        margin-left: 3.333%;
    }
    .timeline-control img {
        margin-top: 5px;
    }


}

.timeline {
    list-style-type: none;
    padding-left: 0;
}

.timeline li {
    display: inline-block;
    /*margin-right: 1%;*/
    width: 3%;
    padding-top: 35px;
    height: 40px;
    /*font-family: 'superstar-fallback', sans-serif;*/
    font-size: 10px;
    /*letter-spacing: 0.5px;*/
    font-weight: 700;
    position: relative;
    text-align: center;
    cursor: pointer;
}

.timeline-circle {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all .2s ease-out;
    z-index: 50;
}

.timeline-circle.active {
    width: 8px;
    height: 8px;
    background-color: #D94141;
}

.timeline .line {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%);
    height: 1px;
    width: 112%;
    background-color: #fff;
}

.timeline-line:last-of-type {
    width: 0;
}

#prev img {
    transform: translate(-50%, -50%) rotate(180deg);
}

.timeline-control {
    text-align: center;
    position: relative;
    height: 50px;
}

.timeline-control img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-block;
    cursor: pointer;
    /*margin-top: 5px;*/
}

.vis-info {
    margin-top: 100px;
    position: relative;
    padding: 0;
}

.vis-info img {
    /* position: absolute; */
    /* top: 25px; */
    /* right: 0; */
    margin-right: 10px;
    height: 22px;
}

.vis-country {
    font-size: 30px;
    line-height: 28px;
}

.vis-percentage {
    font-size: 30px;
    position: absolute;
    /* bottom: -12px; */
    right: 0;
    top: 13px;
    line-height: 36px;
}

.vis-amount {
    margin-bottom: 0;
    font-size: 18px;
}

.vis-container {
    padding: 0;
    padding-left: 15px;
    padding-right: 15px;
}

#vis-1 {
    padding: 0;
}

#vis-2 {
    padding: 0;
}

.vis-container small {
    font-size: 12px;
}


/*--FLAGS--*/

#evolution-flags {
    margin: 0 auto;
    display: inline-block;
    text-align: center;
    max-width: 285px;
}

.flag-element {
    display: inline-block;
    text-align: center;
    width: 70px;
    height: 105px;
    margin: 0 auto;
    position: relative;
}

@media screen and (min-width: 768px) {
    #evolution-flags {
        max-width: 100%;
    }
}

@media screen and (min-width: 992px) {
    #evolution-flags {
        max-width: 285px;
    }
}

@media screen (min-width: 1300px) {
    .flag-element {
        width: 90px;
    }
}

.flag-element img{
    max-width: 41px;
}

.flag-element h3 {
    margin-bottom: 2px;
}

.flag-country {
    font-size: 12px;
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Roboto', sans-serif;
    text-transform: none;
}

#all-flags {
    text-align: left;
}

.all-flag-c {
    width: 20%;
    display: inline-block;
    text-align: center;
    margin: 0;
}

.all-flag {
    max-width: 40px;
}


.all-flag-row {
    margin-top: 20px;
    margin-bottom: 20px;
}

#all-flags-section div {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 8px;
    text-align: right;
    /*text-align: center;*/
}


/*--DROP DOWN MENUS--*/

.data-select-pointer {
    cursor: pointer;
}

.option-box {
    position: absolute;
    width: 100%;
    max-width: 318px;
    background-color: #262D37;
    border-top: 2px solid #4F5969;
    font-family: 'superstar-fallback', sans-serif;
    /*letter-spacing: 0.5px;*/
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 0;
    visibility: hidden;
    transition: all .2s ease-out;
    top: 0px;
    opacity: 0;
}

.option-box.active {
    visibility: visible;
    top: 60px;
    opacity: 1;
}

.option-box .option-element {
    padding: 8px 0;
}

.option {
    display: inline-block;
    cursor: pointer;
}

.option.active {
    color: #4F5969;
}

.season-select {
    /*top: 100px;*/
    z-index: 100;
}

#teams {
    top: 100px;
}

#teams p {
    font-size: 18px;
}

#teams.active {
    top: 200px;
}

#teams .option.active {
    color: #D94141;
}

.data-select-pointer {
    font-size: 30px;
}


/*--CHARTS--*/

#chart-filters {
    margin-top: 40px;
}

.chart-filter {
    height: 36px;
    padding: 12px 15px;
    border: 2px solid #D94141;
    display: inline-block;
    text-align: center;
    margin: 0 auto;
    cursor: pointer;
    margin-left: -6px;
    width: 155px;
}

.chart-filter p {
    font-size: 10px;
    margin: 0;
    /* font-weight: 700; */
    margin-top: -2px;
    font-family: 'superstar';
    /* font-family: "Unibet Pro (superstar edit)"; */
    font-size: 13px;
    letter-spacing: 0;
    line-height: 16px;
    text-align: center;
}

.chart-filter.active {
    background-color: #D94141;
}

.chart-section {
    margin-top: 50px;
    margin-bottom: 50px;
    padding-left: 0;
    padding-right: 0;
}

.ct-chart {
    height: 300px;
    width: 100%;
    /*max-width: 950px;*/
    margin: 0 auto;
    padding: 0;
}

@media screen and (min-width: 768px) {
    .ct-chart {
        height: 500px;
    }
}

.ct-point {
    opacity: 0;
    stroke-width: 10px;
}

.ct-point:hover {
    opacity: 1;
}

.ct-label {
    color: #fff;
    font-weight: 900;
    font-size: 8px;
}

.ct-label.ct-horizontal {
    margin-left: -10px;
}

.chart-controls {
    display: inline-block;
    margin: 0 auto;
    text-align: left;
    margin-top: 20px;
}

.chart-control {
    display: inline-block;
    position: relative;
    padding-left: 20px;
    margin: 0 auto;
    text-align: left;
    margin-right: 36px;
    width: 90%;
}

@media screen and (min-width: 768px) {
    .region-control {
        margin-right: 10px;
    }
}

@media screen and (min-width: 1200px) {
    .region-control {
        margin-right: 55px;
    }
}


@media screen and (min-width: 768px) {
    .chart-control {
        width: auto;
    }
}

#chart-controls-2 {
    display: none;
}

.control-text {
    display: inline-block;
    /*max-width: 150px;*/
    margin-left: 10px;
    color: #FFFFFF;
    font-family: 'superstar-fallback', sans-serif;
    font-size: 13px;
    letter-spacing: 0;
    line-height: 16px;
}

.control-text p {
    font-size: 10px;
    text-align: left;
    font-size: 13px;
    letter-spacing: 0;
    line-height: 16px;
}

.control-text p.long-text {
    position: relative;
    /*top: 11px;*/
}

.control-container {
    width: 20px;
    height: 9px;
    border-radius: 4px;
    border: 1px solid #fff;
    display: inline-block;
    position: relative;
    cursor: pointer;
}

.control-toggle {
    cursor: pointer;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #fff;
    position: absolute;
    top: -2.55px;
    right: -2px;
    transition: .2s all ease-out;
}

.control-toggle.off {
    right: 10px;
    background-color: #BBBFC6 !important;
}

#choose-countries {
    max-width: 250px;
    text-align: center;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 59%;
    transform: translate(-50%, -50%);
}

@media screen and (min-width: 450px) {
    #choose-countries {
        left: 50%;
        transform: translate(-50%, -50%);
    }   
}


#choose-countries-btn {
    background-color: #D94141;
    padding: 13px 28px 12px;
    margin: 0 auto;
    display: inline-block;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50px;
}

.basic-btn {
    background-color: #D94141;
    padding: 6px 18px;
    margin: 0 auto;
    display: inline-block;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}

.ct-series {
    opacity: 1;
    transition: .2s all ease-out;
}

.ct-series.hide-me {
    opacity: 0;
}

#article-chart-1 .ct-series-a .ct-line,
#article-chart-1 .ct-series-a .ct-point {
    stroke: #F9164C;
}


#article-chart-1 .ct-series-b .ct-line, 
#article-chart-1 .ct-series-b .ct-point {
    stroke:#B0E95F;
}

.ct-line {
    stroke-width: 2px;
}

.ct-series-a .ct-line,
.ct-series-a .ct-point {
    stroke: #12FCCF;
}

.ct-series-b .ct-line,
.ct-series-b .ct-point {
    stroke: #27ABDF;
}

.ct-series-c .ct-line,
.ct-series-c .ct-point {
    stroke: #61F397;
}

.ct-series-d .ct-line,
.ct-series-d .ct-point {
    stroke: #F9164C;
}

.ct-series-e .ct-line,
.ct-series-e .ct-point {
    stroke: #B0E95F;
}

.ct-series-f .ct-line,
.ct-series-f .ct-point {
    stroke: #FFE027;
}

.ct-series-g .ct-line,
.ct-series-g .ct-point {
    stroke: #FD9D33;
}

.ct-series-h .ct-line,
.ct-series-h .ct-point {
    stroke: #3B59EF;
}

.ct-series-i .ct-line,
.ct-series-i .ct-point {
    stroke: #3B59EF;
}

.ct-series-j .ct-line,
.ct-series-j .ct-point {
    stroke: #5008FF;
}

#section-2 #article-chart-2 .ct-series-e .ct-line,
#section-2 #article-chart-2 .ct-series-e .ct-point {
    stroke: #12FCCF;
}

/*team colours*/
.team-colours .ct-series-a .ct-line,
.team-colours .ct-series-a .ct-point {
    stroke: #F9164C !important;
}

.team-colours .ct-series-b .ct-line,
.team-colours .ct-series-b .ct-point {
    stroke: #FD9D33 !important;
}

.team-colours .ct-series-c .ct-line,
.team-colours .ct-series-c .ct-point {
    stroke: #FFE027 !important;
}

.team-colours .ct-series-d .ct-line,
.team-colours .ct-series-d .ct-point {
    stroke: #B0E95F !important;
}

.team-colours .ct-series-e .ct-line,
.team-colours .ct-series-e .ct-point {
    stroke: #12FCCF;
}

.team-colours .ct-series-f .ct-line,
.team-colours .ct-series-f .ct-point {
    stroke: #27ABDF !important;
}

/*country colours*/
.country-colours .ct-series-a .ct-line,
.country-colours .ct-series-a .ct-point {
    stroke: #F9164C;
}

.country-colours .ct-series-b .ct-line,
.country-colours .ct-series-b .ct-point {
    stroke: #FD9D33;
}

.country-colours .ct-series-c .ct-line,
.country-colours .ct-series-c .ct-point {
    stroke: #FFE027;
}

.country-colours .ct-series-d .ct-line,
.country-colours .ct-series-d .ct-point {
    stroke: #B0E95F;
}

.country-colours .ct-series-e .ct-line,
.country-colours .ct-series-e .ct-point {
    stroke: #27ABDF ;
}

#section-2 .ct-series-e .ct-line,
#section-2 .ct-series-e .ct-point {
    stroke: #FB5940;
}


#trend-2 .ct-series-d .ct-line,
#trend-2 .ct-series-d .ct-point {
    stroke: #B0E95F;
}


#trend-3 .ct-series-f .ct-line,
#trend-3 .ct-series-e .ct-point {
    stroke: #61F397;
}

#trend-3 .ct-series-e .ct-line,
#trend-3 .ct-series-e .ct-point {
    stroke: #12FCCF;
}


#trend-2 {
    display: none;
}

#trend-3 {
    display: none;
    margin-bottom: 75px;
}

#trend-4 {
    display: none;
}


/*--COUNTRY SELECT--*/

.overlay-header {
    font-size: 34px;
    margin-top: 70px;
}

#country-select {
    position: absolute;
    background-color: rgba(27, 30, 35, 1);
    display: none;
    top: 0;
    left: 0;
    width: 100%;
    /*height: 100vh;*/
    min-height: 600px;
    z-index: 500;
    text-align: center;
}

.flag-container {
    text-align: center;
    display: inline-block;
    width: 33%;
    margin: 0 auto;
    margin-bottom: 25px;
    cursor: pointer;
}

@media screen and (min-width: 520px) {
    .flag-container {
        width: 33%;
    }
}

@media screen and (min-width: 600px) {
    .flag-container {
        width: 125px;
    }
}

.flag-name {
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    text-transform: none;
}

#select-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: #262D37;
    width: 100%;
}

.btn-large {
    height: 60px;
    position: relative;
    text-align: center;
    cursor: pointer;
    width: 50%;
    display: inline-block;
    margin-bottom: -3px;
    margin-right: -3px;
}

#user-controls {
    display: inline-block;
    width: 100%;
}

.btn-large p {
    font-family: 'superstar-fallback', sans-serif;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-bottom: 0;
    transform: translate(-50%, -50%);
}

#cancel-selection {
    background-color: #495971;
}

#finish-selection {
    background-color: #D94141;
}

#user-selection {
    position: relative;
    display: inline-block;
    height: 50px;
    margin-bottom: 60px;
}

#user-selection.marge {
    margin-top: 3px;
}

@media screen and (min-width: 992px) {
    #user-selection {
        margin-bottom: 0;
    }
}



#user-selection h3 {
    margin-right: 20px;
    font-size: 16px;
    position: relative;
    font-family: 'Roboto', sans-serif;
    font-size: 12px !important;
    text-transform: none;
    font-weight: 700;
    top: -8px;
    margin-top: 30px;
}

/*#user-selection.marge h3 {
    margin-bottom: 23px;   
}*/

.flag-img-container {
    width: 100%;
    position: relative;
}

.flag-selected {
    width: 48px;
    height: 30px;
    border: 2px dashed #fff;
    display: inline-block;
    margin-right: 5px;
    position: relative;
    margin-top: 0;
}

.flag-selected.active {
    /*margin-top: 0;*/
    border: none;
    border: 2px solid transparent;
    /*top: -10px;*/
    margin-top: -8px;
}

.flag-selected img {
    max-width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.flag-selected .close {
    position: absolute;
    top: -8px;
    right: -8px;
    opacity: 1;
    z-index: 10;
    left: auto;
}

@media screen and (min-width: 900px) {
    #user-controls {
        display: inline-block;
        float: right;
        width: auto;
    }

    #user-selection h3 {
        margin-right: 20px;
        font-size: 16px;
        position: relative;
        top: -8px;
    }

    #user-selection {
        position: absolute;
        left: 20px;
        top: 0;
        margin-top: -5px;
        display: inline-block;

    }

    .btn-large {
        height: 60px;
        position: relative;
        text-align: center;
        cursor: pointer;
        width: 210px;
        display: inline-block;
    }

    .flag-selected {
        width: 48px;
        height: 30px;
        border: 2px dashed #fff;
        display: inline-block;
        margin-right: 10px;
        margin-top: 20px;
    }

    #user-selection h3 {
        display: inline-block;
    }

}

.country-select-toggle {
    cursor: pointer;
}

#country-select-simple {
    position: absolute;
    background-color: rgba(27, 30, 35, 1);
    display: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    min-height: 1000px;
    z-index: 500;
    text-align: center;
}
#active-country,
#active-country div,
#active-country img,
#active-country h3 {
    display: inline-block;
    cursor: pointer;
}

#active-country {
    margin-bottom: 25px;
    margin-left: 15px;
}

#active-country h3 {    
    position: relative;
    top: 9px;
    margin-left: 5px;
    font-size: 36px;
}

#active-country i {
    font-size: 22px;
    position: relative;
    top: 5px;
    margin-left: 5px;
}

.search-element {
    width: auto;
    display: inline-block;
    position: relative;
    margin-top: 30px;
    margin-bottom: 30px;
}

@media screen and (min-width: 1200px) {
    /*.search-element {
        margin-left: 32px;
    }*/
}

.search-img {
    position: absolute;
    top: 14px;
    right: 22px;
}

#country-search-flags {
    text-align: center;
    padding-bottom: 200px;
}


/*tooltip*/
.chartist-tooltip {
    background: rgba(27, 30, 35, 1);
    border: 2px solid #fff;
    color: #fff;
    font-family: 'superstar-fallback', sans-serif;
    font-size: 20px;
    /*letter-spacing: 0.5px; */
}

.chartist-tooltip:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 0;
    height: 0;
    margin-left: -15px;
    border: 15px solid transparent;
    border-top-color: #fff;
}

/*Q and A*/

.question-row {
    text-align: left;
    width: 100%;
    border-bottom: 2px solid #273345;
    padding-top: 10px;
    /*padding-bottom: 10px;*/
    overflow-y: hidden;
    position: relative;
}

.question-row .answer-toggle {
    position: absolute;
    right: 0;
    top: 23px;
    font-size: 24px;
}

#section-2 .question-row p {
    max-width: 90%;
}

#section-2 h3 {
    font-size: 32px;
}

#section-2 .chart-controls {
    margin-bottom: 35px;
}

#section-2 .chart-controls p {
    margin-top: 0;
    margin-bottom: 0;
}

@media screen and (min-width: 475px) {
    .question-row .answer-toggle {
        top: 23px;
    }
}

.question-row .question {
    cursor: pointer;
}

.question-row .reveal {
    height: 0px;
    opacity: 0;
    transition: .2s all ease-out;
    padding-bottom: 10px;
}

#section-2 .reveal p {
    font-size: 24px;
}

.question-row .reveal.active {
    opacity: 1;
    height: 40px;
}

p.slim {
    
    margin: 0 auto;
    text-align: center;
}

p.slim.center-large {
    text-align: center;
}

p.wide-slim {
    max-width: 750px;
    margin: 0 auto;
}

@media screen and (min-width: 992px) {
    p.slim {
        text-align: left;
        max-width: 450px;
    }
}

/*.fallback {
    font-family: 'superstar-fallback', sans-serif;
    font-size: 29px;
}*/

/*panic mode*/

.league-pos-d {
    font-family: 'superstar-fallback', sans-serif;
    font-size: 36px;
    text-align: center;
    position: relative;
    top: -35px;
}

.small-season {
    color: #BBBFC6;
    font-size: 11px;
    position: relative;
    top: 16px;
    font-weight: 900;
    font-family: 'Roboto', sans-serif;
    /*letter-spacing: 0.5px;*/
}

p.all-flag-date {
    text-align: right;
    font-size: 16px;
    /*font-family: 'superstar-fallback', sans-serif;*/
    margin-bottom: -5px;
    padding-right: 10px;
    font-size: 11px;
    font-weight: 700;
}

#highlights {
    height: 100px;
}

.count-text {
    font-size: 100px !important;
    margin-bottom: -20px;
}

.counter h3 {
    margin-top: 0;
}

.counter h4 {
    margin-bottom: 0;
}

#flags {
    text-align: center;
}

/*article cleanup*/

#section-2 .counter-flags img {
    max-width: 32px;
    margin-right: 2.5px;
    margin-left: 2.5px;
    margin-bottom: 12px;
    margin-top: 0;
}

.counter {
    padding: 0;
    margin-bottom: 30px;
    margin-top: 30px;
}



.ct-grid.ct-vertical:nth-child(even) {
    stroke: #262D37;
    stroke-dasharray: 0;
}

.ct-chart .ct-grid.ct-horizontal.axis{stroke:#fff; stroke-dasharray: none;}
.ct-chart .ct-grid.ct-vertical.axis{stroke:#fff; stroke-dasharray: none;}

@media screen and (min-width: 992px) {
    #section-2 img#europe-map {
        margin-top: 28%;
    }
}

@media screen and (min-width: 1200px) {
    #section-2 img#europe-map {
        margin-top: 25%;
    }
}

@media screen and (min-width: 1200px) {
    #section-2 img#europe-map {
        margin-top: 12%;
    }
}


#brand {
    position: fixed;
    bottom: 11px;
    right: 5px;
    z-index: 500;
    display: inline-block;
    max-width: 30px;
}

#brand img {
    max-width: 123px;
    width:100%;
    max-height:28px;
}

@media screen and (min-width: 768px) {
    #brand {
        max-width: 120px;
    }
}

@media screen and (min-width: 1300px) {
    #brand {
        bottom: 15px;
    }
}

/*chart axis labels*/
[data-x-axis]::before {
    content: attr(data-x-axis);
    position: absolute;
    width: 100%;
    text-align: center;
    left: 0;
    bottom: -5px;
    font-size: 11px;
    /*color: #777;*/
}

[data-y-axis]::after {
    content: attr(data-y-axis);
    position: absolute;
    top: 50%;
    left: -45px;
    font-size: 11px;
    /*color: #777;*/
    text-align: center;
    transform: rotate(-90deg)translateY(50%);
}


#section-2 #article-chart-1[data-x-axis]::before {
    content: attr(data-x-axis);
    position: absolute;
    width: 100%;
    text-align: center;
    left: 0;
    bottom: 40px;
    font-size: 11px;
    /*color: #777;*/
    display: none;
}

#section-2 #article-chart-1[data-y-axis]::after {
    content: attr(data-y-axis);
    position: absolute;
    top: 50%;
    left: -20px;
    font-size: 11px;
    /*color: #777;*/
    text-align: center;
    transform: rotate(-90deg)translateY(50%);
    
}


#section-2 #article-chart-3[data-x-axis]::before {
    content: attr(data-x-axis);
    position: absolute;
    width: 100%;
    text-align: center;
    left: 0;
    bottom: 244px;
    font-size: 11px;
    /*color: #777;*/
    display: none;
}

#section-2 #article-chart-3[data-y-axis]::after {
    content: attr(data-y-axis);
    position: absolute;
    top: 20%;
    left: -30px;
    font-size: 11px;
    /*color: #777;*/
    text-align: center;
    transform: rotate(-90deg)translateY(50%);
}

@media screen and (min-width: 768px) {
    #section-2 #article-chart-3[data-x-axis]::before {
        content: attr(data-x-axis);
        position: absolute;
        width: 100%;
        text-align: center;
        left: 0;
        bottom: 100px;
        font-size: 11px;
        /*color: #777;*/
    }

    #section-2 #article-chart-3[data-y-axis]::after {
        content: attr(data-y-axis);
        position: absolute;
        top: 50%;
        left: -30px;
        font-size: 11px;
        /*color: #777;*/
        text-align: center;
        transform: rotate(-90deg)translateY(50%);
    }
}



#trend-3[data-x-axis]::before {
    content: attr(data-x-axis);
    position: absolute;
    width: 100%;
    text-align: center;
    left: 0;
    bottom: -93px;
    font-size: 11px;
    /*color: #777;*/
}

#chart-controls-3 {
    margin-top: 40px;
}

.graph-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    text-transform: none;
    font-size: 11px !important;
}

#a-c-1 #graph-1-key {
    margin-top: 60px;
}

#section-2 #most-likely {
    margin-top: 35px;
}

#section-2 #chart-controls-2 {
    margin-bottom: 45px;
}

#final-article-section {
    padding-bottom: 100px;
}

.vis-info:last-of-type {
    margin-bottom: 50px;
}

#flags {
    margin-top: 40px;
}

@media screen and (min-width: 768px) {
    #flags {
        margin-top: 0;
    }
}

.lighter {
    font-weight: 400;
    position: relative;
    top: 7px;
}

.header-select {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 300;
}

/*social*/

#social {
        position: fixed;
        bottom: 130px;
        right: 0;
        width: 27px;
        /*transform: translateY(-50%);*/
        z-index: 300;
    }

    .social-box {
        width: 27px;
        height: 27px;
        display: inline-block;
        cursor: pointer;
        position: relative;
        background-color: #4099FF;
        margin-bottom: -5px;
    }

    .social-box i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15px;
}

@media screen and (min-width: 768px) {
    
    #social {
        position: fixed;
        top: 50%;
        bottom: auto;
        right: 0;
        width: 35px;
        transform: translateY(-50%);
        z-index: 300;
    }

    .social-box {
        width: 35px;
        height: 35px;
        display: inline-block;
        cursor: pointer;
        position: relative;
        background-color: #4099FF;
        margin-bottom: -5px;
    }

    .social-box i {
    
        font-size: 22px;
    }
}

@media screen and (min-width: 992px) {
    
    #social {
        position: fixed;
        top: 50%;
        bottom: auto;
        right: 0;
        width: 45px;
        transform: translateY(-50%);
        z-index: 300;
    }

    .social-box {
        width: 45px;
        height: 45px;
        display: inline-block;
        cursor: pointer;
        position: relative;
        background-color: #4099FF;
        margin-bottom: -5px;
    }

    .social-box i {
    
        font-size: 30px;
    }

}

#social a:link,
#social a:visited {
    color: #fff;
}



#facebook {
    background-color: #3B5998;
}


.wrap-767 {
    max-width:767px;
}



/** Trends over-ride fix **/
#trend-1 .ct-series-a .ct-line,#trend-1 .ct-series-a .ct-point,#trend-1 .ct-series-a .ct-slice-donut {
    stroke: #F9164C;
}


#trend-1 .ct-series-a .ct-area,#trend-1 .ct-series-a .ct-slice-pie {
    fill: #d70206
}

#trend-1 .ct-series-b .ct-bar,#trend-1 .ct-series-b .ct-line,#trend-1 .ct-series-b .ct-point,#trend-1 .ct-series-b .ct-slice-donut {
    stroke: #f05b4f
}

#trend-1 .ct-series-b .ct-area,#trend-1 .ct-series-b .ct-slice-pie {
    fill: #f05b4f
}

#trend-1 .ct-series-c .ct-bar,#trend-1 .ct-series-c .ct-line,#trend-1 .ct-series-c .ct-point,#trend-1 .ct-series-c .ct-slice-donut {
    stroke: #FD9D33;
}

#trend-1 .ct-series-c .ct-area,#trend-1 .ct-series-c .ct-slice-pie {
    fill: #f4c63d
}

#trend-1 .ct-series-d .ct-bar,#trend-1 .ct-series-d .ct-line,#trend-1 .ct-series-d .ct-point,#trend-1 .ct-series-d .ct-slice-donut {
    stroke: #FFE027;
}

#trend-1 .ct-series-d .ct-area,#trend-1 .ct-series-d .ct-slice-pie {
    fill: #d17905
}

#trend-1 .ct-series-e .ct-bar,#trend-1 .ct-series-e .ct-line,#trend-1 .ct-series-e .ct-point,#trend-1 .ct-series-e .ct-slice-donut {
    stroke: #B0E95F;
}

#trend-1 .ct-series-e .ct-area,#trend-1 .ct-series-e .ct-slice-pie {
    fill: #453d3f
}

#trend-1 .ct-series-f .ct-bar,#trend-1 .ct-series-f .ct-line,#trend-1 .ct-series-f .ct-point,#trend-1 .ct-series-f .ct-slice-donut {
    stroke: #61F397;
}

#trend-1 .ct-series-f .ct-area,#trend-1 .ct-series-f .ct-slice-pie {
    fill: #59922b
}

#trend-1 .ct-series-g .ct-bar,#trend-1 .ct-series-g .ct-line,#trend-1 .ct-series-g .ct-point,#trend-1 .ct-series-g .ct-slice-donut {
    stroke: #12FCCF;
}

#trend-1 .ct-series-g .ct-area,#trend-1 .ct-series-g .ct-slice-pie {
    fill: #0544d3
}

#trend-1 .ct-series-h .ct-bar,#trend-1 .ct-series-h .ct-line,#trend-1 .ct-series-h .ct-point,#trend-1 .ct-series-h .ct-slice-donut {
    stroke: #27ABDF;
}

#trend-1 .ct-series-h .ct-area,#trend-1 .ct-series-h .ct-slice-pie {
    fill: #6b0392
}

#trend-1 .ct-series-i .ct-bar,#trend-1 .ct-series-i .ct-line,#trend-1 .ct-series-i .ct-point,#trend-1 .ct-series-i .ct-slice-donut {
    stroke: #3B59EF;
}

#trend-1 .ct-series-i .ct-area,#trend-1 .ct-series-i .ct-slice-pie {
    fill: #f05b4f
}

#trend-1 .ct-series-j .ct-bar,#trend-1 .ct-series-j .ct-line,#trend-1 .ct-series-j .ct-point,#trend-1 .ct-series-j .ct-slice-donut {
    stroke: #dda458
}

#trend-1 .ct-series-j .ct-area,#trend-1 .ct-series-j .ct-slice-pie {
    fill: #dda458
}

#trend-1 .ct-series-k .ct-bar,#trend-1 .ct-series-k .ct-line,#trend-1 .ct-series-k .ct-point,#trend-1 .ct-series-k .ct-slice-donut {
    stroke: #eacf7d
}

#trend-1 .ct-series-k .ct-area,#trend-1 .ct-series-k .ct-slice-pie {
    fill: #eacf7d
}

#trend-1 .ct-series-l .ct-bar,#trend-1 .ct-series-l .ct-line,#trend-1 .ct-series-l .ct-point,#trend-1 .ct-series-l .ct-slice-donut {
    stroke: #86797d
}

#trend-1 .ct-series-l .ct-area,#trend-1 .ct-series-l .ct-slice-pie {
    fill: #86797d
}

#trend-1 .ct-series-m .ct-bar,#trend-1 .ct-series-m .ct-line,#trend-1 .ct-series-m .ct-point,#trend-1 .ct-series-m .ct-slice-donut {
    stroke: #b2c326
}

#trend-1 .ct-series-m .ct-area,#trend-1 .ct-series-m .ct-slice-pie {
    fill: #b2c326
}

#trend-1 .ct-series-n .ct-bar,#trend-1 .ct-series-n .ct-line,#trend-1 .ct-series-n .ct-point,#trend-1 .ct-series-n .ct-slice-donut {
    stroke: #6188e2
}

#trend-1 .ct-series-n .ct-area,#trend-1 .ct-series-n .ct-slice-pie {
    fill: #6188e2
}

#trend-1 .ct-series-o .ct-bar,#trend-1 .ct-series-o .ct-line,#trend-1 .ct-series-o .ct-point,#trend-1 .ct-series-o .ct-slice-donut {
    stroke: #a748ca
}

#trend-1 .ct-series-o .ct-area,#trend-1 .ct-series-o .ct-slice-pie {
    fill: #a748ca
}


div#a-c-3 .region-control {
    width: 19%;
    margin-right: 0;
    margin-bottom: 5px;
    max-width: 200px;
}



.container-fluid.country-stats-container {
    margin-top: 80px;
    padding-bottom: 65px;
}

.british-vs-europe {
    padding-bottom: 95px;
}
.british-vs-europe .text-left {
    margin-top: 80px;
}
.container-fluid.article-section.alternate.british-vs-europe h2 {
    margin-bottom: 65px;
}

.container-fluid.article-section.league-of-nations {
    padding-top: 69px;
    padding-bottom: 82px;
}

.container-fluid.article-section.league-of-nations .graph-title {
    margin-top:25px
}

div#a-c-2 {
    margin-bottom: 68px;
}

.the-big-six {
    padding-top: 80px;
    padding-bottom: 71px;
}
.the-big-six img {
   padding-top:20px
}

.where-do-they-come-from {
    padding-top: 90px;
    padding-bottom: 95px;
}

.rest-of-the-world {
    padding-top: 102px;
}
.rest-of-the-world h3.graph-title {
    margin-top:58px
}
#section-2 .rest-of-the-world .chart-controls {
    margin-bottom:40px
}


.article-section a {
    color:#D94141;
}
@media (max-width:767px) {
    div#a-c-3 .region-control,
    .chart-control {
        width: 49%;
        padding: 0;
    }
    .chart-control {
        margin:0;
    }
    .tab-select {
        padding:0;
    }
    div#a-c-3 .region-control .control-text p,
    .chart-control .control-text p {
        font-size:10px !important;
        text-align:left;
    }
    div#counter-flags-b br {
        display: none;
    }
    .container-fluid.country-stats-container {
        
        margin-top:0px
    }
    div#a-c-1 {
        padding-left:0;
    }
    #a-c-1 #graph-1-key {
        margin-top:40px;
    }
    #section-2 .rest-of-the-world .chart-controls {
        padding-left:0;
        padding-right:0;
    }
}

