/* style.css V1.0.0 */
/* allgemein */
.tournaelixir-info,
.tournaelixir-registration,
.tournaelixir-teams,
.tournaelixir-matches,
.tournaelixir-tables,
.registration-info {
    margin: 10px 0 40px;
}

.tournaelixir-info p,
.tournaelixir-registration p,
.registration-info p {
    margin: 5px 0px 15px;
}

.tournaelixir-registration input {
	margin-top: 3px!important;
}

.tournaelixir-registration h4 {
	margin: 20px 0 0;
}

/* registration */
.tournaelixir-registration-success {
    display: none;
}

.tournaelixir-registration-player > div {
	display: grid;
	grid-template-columns: 1fr 150px;
	gap: 5px;
}

.tournaelixir-registration-add-player {
    width: 100%;
    margin: 10px 0 20px;
}

.tournaelixir-registration .is-content-justification-center .wp-element-button {
    margin: 0 auto;
}

.tournaelixir-registration .wp-element-button:hover, .tournaelixir-registration .wp-element-button:focus {
    opacity: .7;
}

/* Turnier */

.tournaelixir-teams {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.tournaelixir-team {
    text-align: left;
    background-color: #d1b6ff;
    color: #170e18;
    border-radius: 13px;
    width: 100%;
    max-width: 340px;
    padding: 10px;
}

.tournaelixir-team h3 {
    color: #170e18;
}

.tournaelixir-matches {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.tournaelixir-match {
    display: grid;
    grid-template-columns: 70px 1px 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:
		"time   line   team_1  team_1_goals"
		"field  line   team_2  team_2_goals";
    background-color: #d1b6ff;
    color: #170e18;
    border-radius: 13px;
    width: 100%;
    max-width: 330px;
    padding: 15px;
    gap: 8px;
}

.tournaelixir-match .time img, .tournaelixir-match .field img {
	grid-area: time;
    width: 13px;
    margin: 0 5px 0 0;
}

.tournaelixir-match .time {
	grid-area: time;
}

.tournaelixir-match .field {
	grid-area: field;
}

.tournaelixir-match .team_1 {
	grid-area: team_1;
}

.tournaelixir-match .team_1_goals {
	grid-area: team_1_goals;
}

.tournaelixir-match .separator {
	grid-area: separator;
	display: none;
}

.tournaelixir-match .team_2_goals {
	grid-area: team_2_goals;
}

.tournaelixir-match .team_2 {
	grid-area: team_2;
}

.tournaelixir-match .line {
	grid-area: line;
	border-left: 1px solid #170e18;
	height: 100%;
}

.tournaelixir-team * {
	margin: 0;
}

.tournaelixir-tables {
    text-align: center;
}

.tournaelixir-tables h4 {
    margin: 5px 0 0;
    color: #170e18;
    font-size: 18px;
    font-weight: 300;
}

.tournaelixir-table {
    background-color: #d1b6ff;
    color: #170e18;
    width: 100%;
    border-radius: 13px;
    margin: 10px 0 20px;
	overflow-y: auto;
}

.tournaelixir-table table {
    border-collapse: collapse;
    width: 100%;
    min-width: 700px;
    border-radius: 13px;
    overflow: hidden;
}

.tournaelixir-table tr:nth-child(2n + 1) td {
    background-color: #ffffff75;
}

.tournaelixir-table th,
.tournaelixir-table td {
	text-align: center;
	padding: 5px 3px;
}

.tournaelixir-table td:first-child,
.tournaelixir-table th:first-child {
	padding-left: 10px;
}

.tournaelixir-table td:last-child,
.tournaelixir-table th:last-child {
	padding-right: 10px;
}

.tournaelixir-table th:first-child,
.tournaelixir-table td:first-child {
	text-align: left;
}

ul.tournaelixir-errors {
    background: #f5708e;
    border-radius: 13px;
    padding: 10px 0 10px 35px;
    display: none;
}

/* Inputs */
.tournaelixir-registration input:not([type=checkbox]):not([type=radio]),
.tournaelixir-registration select,
.tournaelixir-registration textarea {
    width: 100%;
    min-width: 100px;
    height: 40px;
    border-radius: 12px;
    border: 2px solid #d1b6ff;
    padding: 5px 10px;
    margin: 0 0 10px;
    outline: none;
    box-sizing: border-box;
	resize: vertical;
}

.tournaelixir-registration input:not([type=checkbox]):not([type=radio]),
.tournaelixir-registration select {
    height: 40px!important;
}

.tournaelixir-registration input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):hover,
.tournaelixir-registration select:hover,
.tournaelixir-registration textarea:hover,
.tournaelixir-registration input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):focus,
.tournaelixir-registration select:focus,
.tournaelixir-registration textarea:focus {
    opacity: .7;
}

.tournaelixir-registration input:disabled:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),
.tournaelixir-registration input:disabled:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):hover {
    border: 2px solid #615773;
}

.tournaelixir-registration input[type="submit"],
.tournaelixir-registration input[type="button"] {
	border: none;
    cursor: pointer;
    background: #2b2038;
    color: white;
}

.tournaelixir-registration input[type="submit"]:hover,
.tournaelixir-registration input[type="button"]:hover {
    border: none;
    opacity: 1;
    background: #816ba5!important;
}

.tournaelixir-registration input[type="submit"]:disabled,
.tournaelixir-registration input[type="button"]:disabled,
.tournaelixir-registration input[type="submit"]:disabled:hover,
.tournaelixir-registration input[type="button"]:disabled:hover {
    background: #777676 !important;
    border: 1px solid #777676 ;
}