html {
  font-size: 14px;  
}
.chess-hero {
    background-image: url(../img/chess-hero-bg.webp);
    background-repeat: no-repeat;
    width: 100%;
    background-size: 200%;
}

.hero-text {
    margin: 0px 10px;
    padding-top: 25px;
}

.hero-spacer {
    height: 75px;
}

/* ******************* BEGIN TIMELINE STYLES ****************** */
.timeline {
    position: relative;
    max-width: 322px;
    margin: 0 auto;
}

    .timeline p {
        font-size: 8pt;
    }

    /* The actual timeline (the vertical ruler) */
    .timeline::after {
        content: '';
        position: absolute;
        width: 6px;
        background-color: #ed06e5;
        top: 0;
        bottom: 0;
        left: 50%;
        margin-left: -3px;
    }
/* Container around content */
.TLcontainer {
    padding: 10px 10px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

    /* The circles on the timeline */
    .TLcontainer::after {
        content: '';
        position: absolute;
        width: 25px;
        height: 25px;
        right: -13px;
        background-color: #2F2F2F;
        border: 4px solid #ed06e5;
        top: 15px;
        border-radius: 50%;
        z-index: 1;
    }

/* Place the container to the left */
.left {
    left: 0%;
}

/* Place the container to the right */
.right {
    left: 50%;
}

/* The actual content */
.content {
    padding: 10px 10px;
    background-color: #222;
    position: relative;
    border-radius: 6px;
}

/* Add arrows to the left container (pointing right) */
.left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 16px;
    width: 0;
    z-index: 1;
    right: 0px;
    border: medium solid #222;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #222;
}

/* Add arrows to the right container (pointing left) */
.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 16px;
    width: 0;
    z-index: 1;
    left: 0px;
    border: medium solid #222;
    border-width: 10px 10px 10px 0;
    border-color: transparent #222 transparent transparent;
}

/* Fix the circle for containers on the right side */
.right::after {
    left: -13px;
}

.pfn {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 15px;
    padding: 0px;
}

.pln {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 15px;
    color: #ed06e5;
    padding: 0px;
}

/* ******************* END TIMELINE STYLES ****************** */

.playerHeader {
    background-color: #2F2F2F;
    margin-top: 10px;
    padding-bottom: 10px;
}

.display-4 {
    font-size: 25px;
}

.display-6 {
    font-size: 15px;
}

.dataText {
    font-family: 'Bebas Neue';
    font-size: 12pt;
}

.playerImg2 {
    border-radius: 50%
}

.piMth {
    height: 100px;
    border: 5px solid #82049d;
}

.catHeaders {
    font-family: 'Bebas Neue', sans-serif;
    color: #26FF1B;
    font-size: 12pt;
    text-transform: uppercase;
}

.openingTitle {
    font-family: 'Bebas Neue', 'Open Sans';
    font-size: 14pt;
    /*color: #416fd8;*/
    color: #26FF1B;
}

.altHeaders {
    font-family: 'Bebas Neue', sans-serif;
    color: #82049D;
    font-size: 15pt;
    text-transform: uppercase;
}

.openingFirstLast {
    font-family: 'Oswald', 'Open Sans';
    font-size: 10pt;
    color: #26FF1B;
    background-color: #A61492;
    padding: 5px;
    border-radius: 3px;
}

/* ******************* BEGIN PLAYER PROFILE ***************** */

.player-main-img {
    border: 10px solid #82049d;
    border-radius: 50%;
}

.playerMain {
    background-color: #202124;
}

.hero-text-profile {
    margin: auto;
    padding-top: 20em;
}

.flag {
    max-height: 70px;
    border: 5px solid #F0F0F0;
    border-radius: 50px;
}

.detailTitle {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 30pt;
    color: #26FF1B;
    font-variant-caps: all-small-caps;
    padding-left: 5px;
}

.playerImg2 {
    border-radius: 50%
}

.piMth {
    border: 5px solid #82049d;
}

.ppmh {
    height: 70px;
    border: 3px solid #82049d;
}

.playerImg3 {
    border-radius: 50%;
    height: 70px;
    border: 5px solid #82049d;
}

.playerImg4 {
    border-radius: 50%;
    height: 100px;
    border: 5px solid #82049d;
}

.countryProfile {
    font-size: 25pt;
    font-variant-caps: all-small-caps;
}

.countryBirthInfo {
    font-family: 'Oswald', sans-serif;
    /*color: #82049D;*/
    color: #fff;
}

.primaryStats {
    padding-bottom: 10px;
    text-align: center;
}

.primeStatH {
    font-size: 8pt;
    color: #fff;
    text-align: center;
    font-variant-caps: all-small-caps;
}

.primeStatD {
    font-size: 15pt;
    color: #26FF1B;
    text-align: center;
    font-family: 'Bebas Neue';
}

.statCircle {
    border-radius: 50%;
    padding: 0px;
    background: #222;
    text-align: center;
}

.matchTitle {
    background: #000;
}

.matchPlayers {
    background-image: url(../img/chess-hero-bg.webp);
    background-size: 130%;
    font-family: 'Bebas Neue';
    font-size: 25px;
    text-shadow: 2px 2px 3px BLACK;
}

.matchTbl {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 8pt;
}

.matchTblR {
    padding: 10px;
    border: 1px solid #222222;
    background-color: #82049d;
    text-align: center;
}

    .matchTblR a {
        color: #26FF1B;
    }

        .matchTblR a:hover {
            color: #82049d;
        }

.matchTblP {
    padding: 10px;
    background-color: #3c3a3c;
    border: 1px solid #222222;
    color: #fff;
}

.matchTblA {
    padding: 10px;
    background-color: #2e2e2e;
    border: 1px solid #222222;
    color: #fff;
}

.matchTblW {
    padding: 10px;
    background-color: #26FF1B;
    border: 1px solid #222222;
    color: #383838;
}

.matchTableS {
    padding: 10px;
    border: 1px solid #222222;
    background-color: #383838;
    color: #fff;
    text-align: center;
}

.openingData {
    font-family: 'Oswald', sans-serif;
    color: #82049D;
    font-size: 12pt;
    text-transform: uppercase;
}

/* ******************* END PLAYER PROFILE ***************** */

@media(min-width: 333px)
{

    .hero-spacer {
        height: 150px;
    }

    .statCircle {
        padding: 2px;
    }
}

@media(min-width: 360px) {
    .hero-text {
        padding-top: 75px;
    }

    .timeline {
        max-width: 360px;
    }

    .statCircle {
        padding: 4px;
    }

    .piMth {
        height: 150px;
        border: 5px solid #82049d;
    }
}

@media(min-width: 390px) {
    .hero-text {        
        padding-top: 120px;
    }

    .timeline {
        max-width: 390px;
    }

    .statCircle {
        padding: 6px;
    }

    .piMth {
        height: 150px;
        border: 5px solid #82049d;
    }
}

@media(min-width: 412px){
    .timeline {
        max-width: 412px;
    }

    .statCircle {
        padding: 10px;
    }

    .matchTbl {
        font-size: 10pt;
    }

    .piMth {
        height: 150px;
        border: 5px solid #82049d;
    }
}

@media(min-width: 428px) {
    .timeline {
        max-width: 428px;
    }

    .piMth {
        height: 150px;
        border: 5px solid #82049d;
    }
}

@media(min-width: 540px) {
    .chess-hero {
        background-size: 100%;
    }

    .hero-text {
        margin: 0px 30px;
        padding-top: 40px;
    }

    .hero-spacer {
        height: 70px;
    }
    
    .timeline {
        max-width: 540px;
    }

    .openingTitle{
        font-size:18pt;
    }

    .catHeaders{
        font-size:14pt;
    }

    .altHeaders {
        font-size: 18pt;
    }

    .dataText {
        font-size: 14pt;
    }

    .openingFirstLast {
        font-size: 12pt;
    }

    .detailTitle {
        font-size: 45pt;
    }

    .primeStatH {
        font-size: 12pt;
    }

    .primeStatD {
        font-size: 22pt;
    }

    .statCircle {
        padding: 10px;
    }

    .matchTbl {
        font-size: 12pt;
    }

    .piMth {
        height: 150px;
        border: 5px solid #82049d;
    }
}

@media (min-width: 768px) {

    .chess-hero {
        background-size: 100%;
    }

    .hero-text {
        margin: 0px 75px;
        padding-top: 150px;
    }

    .hero-spacer {
        height: 150px;
    }

    /* ******************* BEGIN TIMELINE STYLES ****************** */

    .timeline {
        max-width: 768px;
    }

        .timeline p {
            font-size: 12pt;
        }

    .pfn {
        font-size: 30px;
    }

    .pln {
        font-size: 30px;
    }

    .display-6 {
        font-size: 20px;
    }

    /* ******************* END TIMELINE STYLES ****************** */

    .statCircle {
        padding: 7px;
    }

    .detailTitle {
        font-size: 40pt;
    }

    .piMth {
        height: 150px;
        border: 5px solid #82049d;
    }
}

@media (min-width: 820px) {
    .hero-text {
        margin: 0px 75px;
        padding-top: 150px;
    }

    .hero-spacer {
        height: 200px;
    }

    .piMth {
        height: 150px;
        border: 5px solid #82049d;
    }
}

@media (min-width: 1024px) {
    .hero-text {
        margin: 0px 150px;
        padding-top: 150px;
    }

    .hero-spacer {
        height: 250px;
    }

    /* The actual content */
    .content {
        padding: 30px 30px;
        background-color: #222;
        position: relative;
        border-radius: 6px;
    }

    .pfn {
        font-size: 35px;
    }

    .pln {
        font-size: 35px;
    }

    .display-6 {
        font-size: 25px;
    }

    .detailTitle {
        font-size: 50pt;
    }

    .piMth {
        height:auto;
        border: 5px solid #82049d;
    }
    

    .primeStatH {
        font-size: 14pt;
        padding-left:40px;
    }

    .primeStatD {
        font-size: 30pt;
        padding-left: 40px;
    }

    .statCircle {
        padding: 8px;
    }

    .matchTbl {
        font-size: 14pt;
    }
}

@media (min-width: 1201px) {
    html {
        font-size: 16px;
    }

    .display-4{
        font-size:35px;
    }

    .display-6 {
        font-size: 25px;
    }

    .dataText {
        font-family: 'Bebas Neue';
        font-size: 16pt;
    }

    .chess-hero {
        background-image: url(../img/chess-hero-bg.webp);
        background-repeat: no-repeat;
        width: 100%;
    }

    .hero-text {
        width: 50%;
        margin: auto;
        padding-top: 250px;
    }

    .hero-spacer {
        height: 350px;
    }

    .altHeaders {
        font-family: 'Bebas Neue', sans-serif;
        color: #82049D;
        font-size: 30pt;
        text-transform: uppercase;
    }

    .catHeaders {
        font-family: 'Bebas Neue', sans-serif;
        color: #26FF1B;
        font-size: 20pt;
        text-transform: uppercase;
    }

    .piMth {
        height: 150px;
        border: 5px solid #82049d;
    }

    /* ******************* BEGIN TIMELINE STYLES ****************** */
    .timeline {
        position: relative;
        max-width: 1080px;
        margin: 0 auto;
    }

        /* The actual timeline (the vertical ruler) */
        .timeline::after {
            content: '';
            position: absolute;
            width: 6px;
            background-color: #ed06e5;
            top: 0;
            bottom: 0;
            left: 50%;
            margin-left: -3px;
        }
    /* Container around content */
    .TLcontainer {
        padding: 10px 40px;
        position: relative;
        background-color: inherit;
        width: 40%;
    }

        /* The circles on the timeline */
        .TLcontainer::after {
            content: '';
            position: absolute;
            width: 25px;
            height: 25px;
            right: -13px;
            background-color: #2F2F2F;
            border: 4px solid #ed06e5;
            top: 15px;
            border-radius: 50%;
            z-index: 1;
        }

    /* Place the container to the left */
    .left {
        left: 10%;
    }

    /* Place the container to the right */
    .right {
        left: 50%;
    }

    /* The actual content */
    .content {
        padding: 20px 30px;
        background-color: #222;
        position: relative;
        border-radius: 6px;
    }

    /* Add arrows to the left container (pointing right) */
    .left::before {
        content: " ";
        height: 0;
        position: absolute;
        top: 22px;
        width: 0;
        z-index: 1;
        right: 30px;
        border: medium solid #222;
        border-width: 10px 0 10px 10px;
        border-color: transparent transparent transparent #222;
    }

    /* Add arrows to the right container (pointing left) */
    .right::before {
        content: " ";
        height: 0;
        position: absolute;
        top: 22px;
        width: 0;
        z-index: 1;
        left: 30px;
        border: medium solid #222;
        border-width: 10px 10px 10px 0;
        border-color: transparent #222 transparent transparent;
    }

    /* Fix the circle for containers on the right side */
    .right::after {
        left: -13px;
    }

    .pfn {
        font-family: 'Bebas Neue', sans-serif;
        font-size: 40px;
        padding: 0px;
    }

    .pln {
        font-family: 'Bebas Neue', sans-serif;
        font-size: 40px;
        color: #ed06e5;
        padding: 0px;
    }

    .playerTimeline {
        border-radius: 50%;
    }

    /* ******************* END TIMELINE STYLES ****************** */

    .detailTitle{
        font-size:60pt;
    }

    .primaryStats{
        padding-bottom:40px;
        text-align:center;
    }

    .openingTitle {
        font-family: 'Bebas Neue', 'Open Sans';
        font-size: 24pt;
        /*color: #416fd8;*/
        color: #26FF1B;
    }

    .primeStatH {
        font-size: 18pt;
        padding-left: 40px;
    }

    .primeStatD {
        font-size: 40pt;
        padding-left: 40px;
    }

    .statCircle {
        padding: 8px;
    }

    .matchTbl {
        font-size: 16pt;
    }

    
}

@media (min-width: 1366px){
    .piMth {
        height: 150px;
        border: 5px solid #82049d;
    }
}

@media (min-width: 1440px){
    .hero-text {
        width: 50%;
        margin: auto;
        padding-top: 320px;
    }

    .hero-spacer {
        height: 350px;
    }

    .piMth {
        height: 150px;
        border: 5px solid #82049d;
    }

    .openingTitle{
        font-size:30pt;
    }

    .primeStatD {
        font-size: 45pt;
    }

    .statCircle {
        padding: 12px;
    }
}

@media (min-width: 1536px) {
    .piMth {
        height: 150px;
        border: 5px solid #82049d;
    }
}

@media (min-width: 1600px) {
    .hero-spacer {
        height: 420px;
    }

    .piMth {
        height: 150px;
        border: 5px solid #82049d;
    }
}

@media (min-width: 1920px) {
    p{
        font-size:20px;
    }

    .piMth {
        height: 150px;
        border: 5px solid #82049d;
    }

    .hero-text {
        width: 50%;
        margin: auto;
        padding-top: 380px;
    }
    .hero-spacer {
        height: 520px;
    }

    .display-4{
        font-size:65px;
    }

    .primaryStats {
        padding-bottom: 40px;
        text-align: center;
    }

    .detailTitle{
        font-size:75pt;
    }

    .primeStatH {
        font-size: 25pt;
    }

    .primeStatD {
        font-size: 50pt;
    }

    .statCircle {
        border-radius: 50%;
        padding: 8px;
    }

    .openingData {
        font-size: 15pt;
    }

    .matchTbl {
        font-size: 14pt;
    }
}

html {
    position: relative;
    min-height: 100%;    
}

body {
    margin-bottom: 60px;
    padding: 0px;
    background-color: #2F2F2F;
    color: #fff;
}

h1, h2, h3, h4, h5{
    font-family:'Bebas Neue', sans-serif;
}

.playerTimeline{
    border-radius:50%;
}

.left-bg {
    background-image: url(../images/left-bg.png);
    background-repeat: no-repeat;
    position: absolute;
    margin-top: 50px;
    width: 1181px;
    height: 3334px;
}

.btn-primary {
    background-color: #A61492;
    color:#fff;
}

    .btn-primary:hover {
        background-color: #82049D;
    }

.btn-secondary {
    background-color: #26FF1B;
    color: #202020;
}

    .btn-secondary:hover {
        background-color: #82049D;
    }

#board-buttons {
    margin-top: 5px;
    margin-bottom: 10px;
    overflow: auto;
}

    #board-buttons button {
        display: inline;
        float: left;
        margin-right: 4px;
    }

.gameMoves, #game-data {
    color: #A61492;
    font-weight: bold;
    text-decoration: none;
}

.highlight {
    background-color: #9F9F9F;
}

.countryBirth{
    text-align:left;
}

.wellHeaders {
    font-family: Yantramanav, sans-serif;
    color: #47ed62;
    font-size: 21px;
    text-transform: uppercase;
}



.pmain {
    font-family: 'Oswald', sans-serif;
    font-size: 15pt;
    color: #fff;
}

.buffer{
    padding-bottom:120px;
}





.resultsHeader {
    text-align: center;
    background-color: #A61492;
    font-family: 'Oswald', 'Open Sans';
    font-size: 14pt;
    color: #fff;
}





.championHeader {
    font-family: 'Yantramanav', 'Open Sans';
    font-size: 14pt;
    font-weight: bold;
    color: #47ed62;
}

.playerName {
    font-family: 'Yantramanav', 'Open Sans';
    font-size: 15pt;
    /*color: #47ed62;*/
    color: #fff;
}

.padBot {
    padding-bottom: 20px;
}





.gridData {
    font-family: 'Yantramanav', 'Open Sans';
    font-size: 12pt;
    /*color: #47ed62;*/
    color: #fff;
}

.dataText {
    /*color: #416fd8;*/
    color: #B153C5;
}

.gameViewerPlayer {
    font-family: 'Oswald', sans-serif;
    font-size: 18pt;
}
.match-select {
    background-color: #A61492;
    color: #26FF1B;
    font-weight: bold;
    border: 5px solid #454545;
}
.well {
    background-color: #202124;
    padding: 25px;
    border-radius: 0.5em;
}

.well-moves {
    background-color: #333;
    padding: 15px;
    border-radius: 0.5em;
}

/* *************** POSITIONAL HISTORY ***************/

.well-ph {
    background-color: #2F2F2F;
    padding: 5px;
    border-radius: 0.5em;
}

.gameWell {
    /*background-image: url(../img/chess-hero-bg.webp);
    background-size: 100%;*/
    background-color: #222;
    border: 1px solid #444;
    padding: 9px;
    border-radius: 3px;
}

    .gameWell a {
        text-decoration: none;
    }

/* **************** END POSITIONAL HISTORY ***************/

.curMove {
    padding: 2px;
    background-color: #26FF1B;
    border-radius: 5px;
}
.footerLink {
    text-decoration:none;
    font-variant-caps:titling-caps;
}