@import "normalize.css";
@import url(https://fonts.googleapis.com/css?family=Poppins);

@font-face {
    font-family: 'Qatar 2022';
    font-style: normal;
    font-weight: bold;
    src: url(/fonts/Qatar2022-Bold.woff2) format('woff2');
}

@font-face {
    font-family: 'Qatar 2022';
    font-style: normal;
    font-weight: 900;
    src: url(/fonts/Qatar2022-Heavy.woff2) format('woff2');
}

@font-face {
    font-family: 'Qatar 2022';
    font-style: normal;
    font-weight: medium;
    src: url(/fonts/Qatar2022-Medium.woff2) format('woff2');
}

.clear {
  clear: both;
  display: block;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0;
}

html body {
	background-color: #fff;
	margin: 0;
	padding: 0;
	font: 17px/1.5em 'Poppins', sans-serif;
}

h1 {
    font-size: 35px;
    font-weight: 900;
    font-family: 'Qatar 2022', 'Poppins', sans-serif;;
}

h2 {
    font-size: 30px;
    font-weight: 700;
    font-family: 'Qatar 2022', 'Poppins', sans-serif;;
}

h3 {
    font-size: 25px;
    font-weight: 400;
    font-family: 'Qatar 2022', 'Poppins', sans-serif;;
}

.wrapper {
}

.header {
    background: rgb(54,0,20);
    background: linear-gradient(90deg, rgba(54,0,20,1) 30%, rgba(168,0,57,1) 100%);
	padding-right: 20px;
	padding-left: 20px;
	box-shadow: 0 0 5px #000000;

}

.userinfopage {
    border: 1px solid #ccccc4;
    border-radius: .925rem;
    background-color:#eeeee4;
    align-self: center;
    padding: 10px;
    width: fit-content;
    margin: auto;
}

.userinfopage h1 {
    text-align: center;
}

.userinfopage table {
    align-self: center;
}

.userinfogravatar {
    padding: 10px;
    margin-right: auto;
    margin-left: auto;
    display: block;
    padding-left: 10px;
    padding-right: 10px;
	text-align: center;
}

.userinfo {
	text-align: center;
	float: right;
	margin-top: 20px;
    margin-right: 30px;
    margin-left: 30px;
    display: block;
	clear: both;
}

.userinfo a {
    color: #8a1538;
    text-decoration: none;
}

.userinfo .gravatar {
	margin-bottom: -4px;
	margin-right: 4px;
	margin-left: -1.5px;
    border-radius: .3rem;
}

.userinfo span {
    border: 1px solid #ccccc4;
    border-radius: .5rem;
    background-color:#eeeee4;
    padding: 5px;
	margin-left: 5px;
    font-size: 12px;
}

.userinfobutton {
    width: 100%;
    text-align: center;
}

.userinfoleftcolumn,
.userinforightcolumn {
    width: calc(45% - 3px);
    font-size: smaller;
    padding-bottom: 0px;
    vertical-align: baseline;
}

.userinfoleftcolumn {
    font-weight: 900;
    text-align: right;
    padding-right: 4px;
}

.userinforightcolumn {
    font-weight: 100;
    text-align: left;
    padding-left: 4px;
}

.header h1 {
	float: left;
	margin: 0;
	padding: 0;
}

.header h1 img {
	margin: 25px 0 0 0;
}


.header .nav ul.menu {
	padding: 0;
	margin: 0;
	float: right;
}


.header .nav ul.menu li {
	list-style: none;
	display: inline;
	padding: 0;
	margin: 0;
}

.header .nav ul.menu li a {
	display: inline-block;
	text-decoration: none;
	font-weight: normal;
    font-family: 'Qatar 2022', 'Poppins', sans-serif;
    color: #fff;
	padding-right: 20px;
	padding-left: 20px;
	line-height: 100px;
	margin-left: 1px;
	border-bottom: 3px solid transparent;

}

.header .nav ul.menu li a:hover {
	border-bottom: 3px solid #fff;
}

div.clearfix {
	clear: both;
	height: 1px;
	display: block;
}

#footer {
	margin-top: 40px;
	padding: 20px;
	box-shadow: 0 0 5px #000000;
    background: linear-gradient(90deg, rgb(5,5,50) 20%, rgba(30,30,150) 50%, rgb(5,5,50) 80%);
	text-align: center;
	color: white;
	font-weight: 900;
}

#footer a {
    color: white;
}

#content {
    padding-left: 60px;
    padding-right: 60px;
    padding-top: 30px;
    padding-bottom: 30px;
	clear: both;
}

#content img {
	max-width: 100%;
}

.header { position: relative; }
#toggle, .toggle { display: none; }
.menu > li { list-style: none; float:left;	}

/* Nicolas Gallagher micro clearfix */
.clearfix:before, .clearfix:after { display: table; content: ""; }
.clearfix:after { clear: both; }

@media only screen and (max-width: 768px){
	.menu { display: none; opacity: 0; width: 100%; position: absolute; right: 0; }
	.menu > li { display: block; width: 100%; margin: 0; }
	.menu > li > a { display: block; width: 100%; text-decoration: none; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
	.toggle { display: block; position: relative; cursor: pointer; -webkit-user-select: none; user-select: none; padding-top: 15px; padding-right: 0px;}
	#toggle:checked + div .menu { display: block; opacity: 1;}
}

.toggle{
	z-index: 2;
	float: right;
}


.edituser label,
.register label,
.formlogin label,
.resetpass label {
	width: 100px;
	display: inline-block;
}

div.itsacheck {
	padding-left: 105px;
}

div.itsacheck label {
	width: 100%;
	display: inline;
}

div.linkhelp{
	text-align: center;
}

div.linkhelp a {
	margin-right: 10px;
	margin-left: 10px;
}

.edituser div,
.register div,
.formlogin div,
.resetpass div,
.editfilter div, {
	margin-bottom: 10px;
}


.edituser hr,
.register hr,
.editfilter hr {
	border: 1px solid #ddd;
	margin-top: 20px;
	margin-bottom: 20px;
}

.edituser span,
.register span,
.editfilter span {
	color: #888;
	font-size: 12px;
	clear: both;
	padding-left: 104px;
	display: block;
	margin-top: 5px;
	font-style: italic;
}

.editfilter ul {
    /* background-color: #CC9900; */
    column-count: 4;
    font-size: smaller;
}

.editfilter li {
    /* background-color: #57cfb5; */
    list-style-type: none;
}

.editfilter img {
    padding-right: 3px;
}

form.newpassform label {
	width: 170px;
	display: inline-block;
}


.error {
	border: 1px solid maroon;
	padding: 10px;
	background-color: rgba(128, 0, 0, 0.10);
	color: maroon;
	margin-bottom: 20px;
	font-style: italic;
	font-weight: bold;
}

.success {
	border: 1px solid green;
	padding: 10px;
	background-color: rgba(0, 128, 0, 0.10);
	color: green;
	margin-bottom: 20px;
	font-style: italic;
	font-weight: bold;
}

.fetchscores {
    border: 1px solid black;
    background-color: #BBB;
    padding: 5px;
}

/**
* Message boxes
**/

.message {
    border: 0px solid #ccccc4;
    /* border-radius: .625rem; */
    padding: 10px;
    background-color:#550067;
    color: white;
	margin-bottom: 20px;
	font-style: normal;
	font-weight: normal;

    content: "";
    display: table;
    clear: both;
    width: calc(100% - 20px);
}

.message a {
    color: white;
}

.messagetext {
    float: left;
    width: calc(100% - 120px);
    padding-left: 10px;
}

.messageimg{
    float: left;
    width: 80px;
    padding-left: 10px;
    padding-right: 20px;
}


.predictions div.message {
	font-style: italic;
	font-weight: normal;
}

.backlogin {
	margin: 20px;
	text-align: center;
}

.timenote{
	text-align: center;
	color: #CC9900;
	font-weight: bold;
	font-style: italic;
	font-size: 13px;
}

table.matches {
	margin-right: auto;
	margin-left: auto;
	text-align: center;
	border-spacing: 0;
}

.match td span {
	margin-right: 10px;
	margin-left: 10px;
}

.inactive {
    opacity: 25%;
}

.matches .local,
.matches .visitor {
	text-align: center;
	font-size: 15px;
	font-weight: bold;
}

tr.winners td {
	padding: 5px;
	vertical-align: middle;

}

.smallflag {
    display: none;
}

tr.match > td {
	padding: 10px;
}

.matches h3 {
	margin-top: 40px;
}

.matches img {
	margin-bottom: 3px;
}

.submitbtn {
	/* margin-top: 40px; */
	margin-right: auto;
	margin-left: auto;
    /* background-color: lightblue; */
}

tr.match {
	background-color: #eeeee4;
	margin-bottom: 100px;
	border-radius: 5px;
	clear: both;

}

.matchid {
	font-size: 17px;
	/* color: #555; */
	font-weight: bold;
}

.matches tr:nth-child(even) {
	background-color: #fff;

}

.matches th {

}

.matches input {
	text-align: center;
}

.matches label {
    font-size: 50px;
    line-height: 1.0;
}

.matches select {
    font-size: x-large;
    height: 40px;
    appearance: menulist-button;
}

.submitarea {
	text-align: center;
    font-size: larger;
	margin-right: auto;
	margin-left: auto;
	position:fixed;
    bottom: 80px;
    left: 10px;
    right: 10px;
}


.match td span.longname,
.match td span.shortname {
	color: #333; !important
}

.match td span.longname {
	display: inline;
	color: #333;
}

.match td span.shortname {
	display: none;
	color: #333;
}

td span.stadium,
td span.longname.gamedate,
td span.shortname.gamedate,
td span.stadium,
td span.countdown {
	color: #444;
	font-size: 13px;
}

td span.countdown {
    /* background-color: rgb(219, 232, 219); */
    /* font-weight: bolder; */
    font-family: monospace;
}

.match td span.countdown-digit {
    /* background-color: #e1dac5; */
    margin: 0px;
}

div.navtip {
	font-size: .75em;
	color: rgba(0, 0, 0, 0.5);
	margin-bottom: 20px;
    display: none;
}

/**
* Countdown Timer in index.php
**/

.countdown-timer {
    background: linear-gradient(rgba(122, 19, 51, 1), rgba(184, 9, 63, 1));
    font-family: "Poppins","Noto Sans Regular","Helvetica Neue",Arial,sans-serif;
    color: white;
    text-align: center;
    margin-left: -60px;
    margin-right: -60px;
    font-weight: 900;
    padding-left: 20px;
    padding-right: 20px;
}

.countdown-timer-time {
    display: flex;
    align-items: center;
}

.countdown-timer-message {
    font-weight: 100;
    padding-top: 15px;
    font-size:x-large;
}

.countdown-timer-left-glyph {
    margin-right: 15px;
    margin-left: auto;
}

.countdown-timer-right-glyph {
    margin-left: 15px;
    transform: scale(-1);
    margin-right: auto;
}

.countdown-timer-separator {
    padding: 10px;
}

.countdown-timer-unit {
    text-transform: uppercase;
}

.countdown-timer-days,
.countdown-timer-hours,
.countdown-timer-minutes,
.countdown-timer-seconds {
        padding: 15px;
}

.countdown-timer-number {
    font-size: xx-large;
}

@media only screen and (max-width: 768px){

	.menu {
		background: #FFFFFF;
		z-index: 1;
	}

	.header .nav ul.menu {
		top: 75px;
	}

	.header {
		height: 75px;
	}

	.menu, .menu > li, .menu > li > a{
		height: auto;
	}

	.menu > li > a{
		padding-right: 15px;
		padding-left: 15px;

	}

	.menu > li > a:hover, .menu > li > a:focus{
		background: #ccc;
	}

	.header .nav ul.menu li a {
		line-height: 2.5em;
		font-size: 17px;
		font-weight: 900;
        color: #8a1538;
        /* background: #eeeee4; */
        background: #f5f5ea;
	}

	.header .nav ul.menu li a {
		border-top: 1px solid #bebeb4;
	}

	.toggle:after {
		content: attr(data-open);
        background: linear-gradient(96deg, rgb(5, 5, 50) 20%, rgba(30, 30, 150, 1));
		/* background: #003aa6; */
		border-radius: 4px;
		text-align: center;
		font-size: 30px;
		color: #FFFFFF;
		transition: all 0.5s linear;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
		padding: 0;
		height: 50px;
        margin-top: -1px;
        margin-left: 0px;
        margin-right: 0px;
        margin-bottom: 0px;
        /* margin: 17px 0 0; */
		line-height: 45px;
		display: block;
		width: 50px;
	}

	.toggle:hover:after{
		/* background: #003aa6; */
	}

	#toggle:checked + div .toggle:after{
		content: attr(data-close);
	}

	.header h1 img {
		height: 55px;
		width: auto;
		float: left;
		padding: 0px;
        margin: 10px;
	}

    tr.match > td {
		padding: 10px 3px;
		border-bottom: 1px solid #ccc;
		white-space: nowrap;
	}

    #footer {
        font-size: 12px;
    }

    .userinfo {
        margin-right: 10px;
        padding-bottom: 10px;
    }

	div.navtip {
		display: none;
	}

    .messagetext {
        width: calc(100% - 70px);
    }

}


/**
* Tabla de Resultados
**/

table.colorlegend {
	margin-bottom: 10px;
    font-size: x-small;
    float: right;
    width: 350px;
    border: 1px solid #ccccc4;
    border-radius: .925rem;
    background-color:#eeeee4;
    padding: 3px;
    margin-left: auto;
    line-height: 1.2em;
}

table.colorlegend th {
	text-align: left;
}

.colorlegendexplanation {
    padding-right: 3px;
    padding-left: 3px;
}

.colorlegendtitle {
	text-align: center;
    font-size: initial;
    font-family: 'Qatar 2022', 'Poppins', sans-serif;
    line-height: 1.5em;
}

.colorlegendpoints {
    text-align: center;
    border-radius: .5rem;
    padding: 5px;
}

div#alldataresults {
	position: relative;
	clear: both;
}

div#alldataresults table {
	font-size: 11px;
	border-collapse: collapse;
}

div#alldataresults table th {
	height: 70px;
	padding-right: 4px;
	padding-left: 4px;
	background-color: #CCC;
	border-left: 1px solid #fff;
    white-space: nowrap;
}

.medalcell {
	min-width: 50px;
}

div#alldataresults table th span {
	font-family: "Courier New", Courier, mono;
}

div#alldataresults table tr {
	border-bottom: 1px solid #fff;
}

div#alldataresults #participants tr:nth-of-type(odd) {
	background-color: #eee;
}

div#alldataresults #participants tr.myself {
	background-color: yellow;
	font-weight: bold;
}

div#alldataresults table td {
	white-space: nowrap;
	height: 30px;
	padding: 0 5px;
	line-height: 30px;
	border-left: 1px solid #fff;
}

div#participants {
	background-color: white;
	overflow: hidden;
	width: 150px;
}

div#participants table {

}

div#participants td.position {
	text-align: center;
	font-weight: bold;
	color: #999;
}

div#participants td.parname img {
	margin-bottom: -4px;
	margin-right: 3px;
}

div#totals {
	overflow: hidden;
	text-align: center;
	position: absolute;
	right: 0;
	top: 0;
}

div#totals td {
		background-color: #ffff99;
}

div#totals table {
	text-align: center;
	width: 50px;
}

div#results {
	float: left;
	overflow-x: scroll;
	position: absolute;
	top: 0;
	left: 150px;
	right: 50px;
}

div#results table td {
	text-align: center;
}

td.incorrect {
	background-color: rgba(255, 0, 0, 0.50);
}

td.winnercorrect {
	background-color: rgba(0, 0, 255, 0.50);
}

td.scorecorrect {
	background-color: rgba(0, 255, 0, 0.50);
}

div.errormessage,
div.error {
	background-color: rgba(255, 0, 0, 0.25);
	border: 1px solid rgba(255, 0, 0, 1);
	padding: 10px;
}

div.filterselection {
	margin-bottom: 10px;
    margin-right: 8px;
    width: 420px;
    font-size: smaller;
    color:#333;
    border: 1px solid #ccccc4;
    border-radius: .5rem;
    background-color:#eeeee4;
    margin-left: 10px;
    white-space: nowrap;
}

select#filter_id {
    margin: 5px;
    width: calc(100% - 165px);
}

.filterselection label {
    /* background-color: #CC9900; */
    padding-left: 5px;
    position: relative;
    width: 100%;
}

.jumpandfilter {
    display: inline-flex;
    float: left;
    margin-bottom: 10px;
}

.quicknav {
    /* background-color: cyan; */
    /* align-content: flex-end; */
    align-items: flex-end;
    display: flex;
    /* flex-flow: row nowrap; */
    flex-wrap: nowrap;
    justify-content: flex-start;
}

a.linkdelete,
a.linkleave {
	border-radius: 5px;
	padding: 2px 5px;
	border: 1px solid #999;
	background-color: red;
	color: yellow;
	box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.35);
	margin-left: 5px;
	margin-bottom: 2px;
	display: inline-block;
	margin-top: 2px;
	text-decoration: none;
	font: 12px/1.5em 'Open Sans', sans-serif;
}

a.linkedit,
a.jump,
a.filterbutton {
	border-radius: 5px;
	padding: 2px 5px;
	border: 1px solid #999;
	background-color: #ffffff;
	box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.35);
	margin-left: 5px;
	margin-bottom: 10px;
	display: inline-block;
	margin-top: 2px;
	text-decoration: none;
	font: 12px/1.5em 'Open Sans', sans-serif;
}

a.filterbutton {
	padding: 3px;
    min-width: 20px;
    text-align: center;
    margin: 0px;
    margin-right: 6px;
    /* margin-right: 0px; */
}

a.disabled {
    opacity: 0.25;
}

a.jump {
	margin-bottom: 18px;
    display: inline-block;
    width: 130px;
    text-align: center;
    line-height: 1.5em;
    vertical-align: middle;
    padding: 3px;
}

a.filter_button.selected {
	border: 2px solid #999;
	background-color: #f0f0f0;
}

a.jump:hover, a.filter_button:hover {
    background: #999;
    #color: #c1e1e0;
}

.nextmatchcontainer {
    /* background-color: pink; */
    margin-left: -60px;
    margin-right: -60px;
    max-width: 100%;
}

.nextmatch {
    font-family: 'Qatar 2022', 'Poppins', sans-serif;
    font-size: xx-large;
    text-align: center;
    margin-bottom: 20px;
    /* background-color: teal; */
    position: relative;
    max-width: 100%;
    white-space: nowrap;
}

.nextmatch span{
    /* padding: 10px; */
    /* background-color: #CC9900; */
    /* margin: 0; */
    position: absolute;
    top: 45%;
    transform: translate(-55%);
}

.nextmatch img
{
    /* padding-left: 50px;
    padding-right: 50px; */
}

.nextmatchleftflag
{
    padding-left: 50px;
    padding-right: 50px;
}

.netxmatchrightflag
{
    padding-left: 50px;
    padding-right: 50px;
}

.nextmatchcontainer h2
{
    /* padding-top: 45px; */
    /* background-color: #bebeb4; */
}

@media only screen and (max-width: 768px) {
	table.matches {
		width: 100%;
	}

    .matches label {
        font-size: 35px;
        line-height: 1.0;
    }

    .matches select {
        font-size: larger;
        height: 40px;
        /* appearance: menulist-button; */
    }

    td span.stadium,
	.match td span.longname,
    .match img {
		display: none;
	}

    .smallflag,
    .match td span.shortname {
		display: inline;
	}

    .smallflag {
        font-size: 50px;
    }

    #content {
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

	table.matches {
		width: auto;
		/* margin-left: -20px; */
		/* margin-right: -20px; */
	}

	td.untilmatch {

	}

	.match td span.shortname {
		display: inline;
	}

    .matches .local,
    .matches .visitor {
        font-size: 12px;
        margin: 0px;
    }

    .matches input {
        width: 30px;
    }

    html body {
        background-color: #fff;
        margin: 0;
        padding: 0;
        font-size: 14px;
    }

    /**
    * Timer in index.php
    **/

    .countdown-timer {
        margin-left: -10px;
        margin-right: -10px;
    }

    .countdown-timer-number {
        font-size: x-large;
    }

    .countdown-timer-days,
    .countdown-timer-hours,
    .countdown-timer-minutes,
    .countdown-timer-seconds {
        padding: 10px;
    }

    .countdown-timer-left-glyph,
    .countdown-timer-right-glyph {
        opacity: 0;
    }

    .countdown-timer-separator {
        display: none;
    }

    .messageimg{
        float: left;
        width: 40px;
        padding-left: 10px;
        padding-right: 10px;

    }

    table.colorlegend {
        width: 100%;
        /* max-width: 150px; */
        float: none;
        order: -1;
    }

    .editfilter ul {
        /* background-color: #CC9900; */
        column-count: 2;
    }

    .quicknav {
        flex-wrap: wrap;
    }

    div.filterselection,
    a.jump {
        margin: 0;
        margin-bottom: 10px;
        /* padding: 0; */
        width: 100%;
    }

    .nextmatch img
    {
        width: 140px;
        /* padding-left: 10px;
        padding-right: 10px; */
    }

    .nextmatchcontainer {
        margin-left: -20px;
        margin-right: -20px;
    }

    .nextmatch h3 {
        font-size: smaller;
    }

    .nextmatchleftflag
    {
        /* margin-left: -55px; */
        padding-left: 0px;
        padding-right: 20px;
    }

    .netxmatchrightflag
    {
        /* margin-right: -55px; */
        padding-left: 20px;
        padding-right: 0px;
    }

    .submitarea {
        bottom: 65px;
    }

}