/* 
bracket_style_10team.css
author: Kevin Stockbridge
style for NWIBL playoff page default.htm

edited on: 8/15/19
	- reduced font size for team names 
edited on: 8/22/19
	- added <figure> and <figcaption> style
	- adjusted margins for tall/shorter versions depending on final
edited on: 8/10/21
	- adjusted for 12-team style
edited on: 8/13/21
	- added style for different hanging banners (formerly hr_derby class)
	- changed font on nav bar
*/


body {
	font-family: 'Istok Web', sans-serif;
	background: #000;
	min-height: 100%;
	margin: 0;
}

header {
	//background: url("../images/ball_banner.jpg") no-repeat #000;
	background: url("../images/PortlandBallBanner.jpg") no-repeat #000;
	//background-position: 0 50%;
	background-position: 0 0%;
	background-size: cover;
}

nav {
	font-family: 'Roboto Condensed', sans-serif;
	text-align: center;
	width: 100%;
	min-height: 30px;
	//background-color: #2F7947;
	background-color: #0F2A3F;
	border-top: 2px dashed #046ca3;
	border-bottom: 2px dashed #046ca3;
    box-shadow: inset 0 -1px 0 0 #046ca3, inset 0 1px 0 0 #046ca3, 0 1px 0 0 #046ca3, 0 -1px 0 0 #046ca3;
	margin-bottom: 1px;
	margin-top: 1px;
}

a {
	text-decoration: none;
	color: inherit;
}

figure {
  display: inline-block;
  margin: 0;
  padding: 0;
  width: 40%;
  max-width: 90px;
  height: 90px;
}
figcaption {
  text-align: center;
  font-weight: bold;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.2em;
}


.wide {
	width: 100%;
	text-align: center;
}

.strike {
	text-decoration: line-through;
}

.hide {
	display: none;
}

.hide_placeholder {
	visibility: hidden;
}

.menu_item {
	display: inline-block;
	min-width: 9.4%;
	height: 30px;
	margin: 0 auto;
	line-height: 30px;
	color: #fff;
	font-size: .9em;
	//border: 1px solid yellow;
	border-right: 3px solid rgb(35 162 230 / 50%);
	border-radius: 20px;
	
}
.menu_item:hover {
	background-color: #046ca3;
	color: #fff;
}

li {
	position: relative;
	border-radius: 5px;
}

li.game_info.center {
	margin-left: -100%;
	margin-right: -100%;
}	
li.team.team-top {
	background-color: transparent;
}

.center {
	text-align: center;
}

.hero {
	position: relative; 
	text-align: center; 
	overflow: hidden; color: #fcfcfc; 
}

.hero h1 {
	font-family: 'Holtwood One SC', serif;
	font-weight: normal;
	font-size: 5.4em;
	margin: 0 0 20px; 
	text-shadow:0 0 12px rgba(0, 0, 0, 0.5);
	text-transform: uppercase;
	letter-spacing: -1px;
}

.hero p {
	font-family: 'Abel', sans-serif;
	text-transform: uppercase; 
	color: #5CCA87; 
	letter-spacing: 6px;
	text-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
	font-size: 1.2em;
}

.hero-wrap {
	padding: 3.5em 10px;
}

.hero p.intro {
	font-family: 'Holtwood One SC', serif;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 3em;
	margin-bottom:-40px;
}

.hero p.year {
	color: #fff; 
	letter-spacing: 20px; 
	font-size: 34px; 
	margin: -25px 0 25px;
}

.hero p.year i {
	font-size: 14px;
	vertical-align: middle;
}

#bracket {
	position: relative;
	overflow: hidden;
	background-color: #0E2841;
	//background-color: rgba(225,225,225,0.9);
	//background-color: rgb(84 75 75 / 90%);
	//background: rgba(62,91,116);
	//background: radial-gradient(circle, rgba(138,155,175,1) 0%, rgba(15,42,63,1) 100%);
	font-size: 12px;
	//padding: 20px 0px 180px 0px;
	//height: 800px;
	//height: 1230px; /* no champion */
	//height: 1280px; /* with champion */
	
}

.standings {
	position: absolute;
	left: 50%;
	transform: translate(-50%, 0);
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.2);
	border-radius: 20px 20px 10px 10px;
	//opacity: 0.8;
}
.standings:hover {
	//box-shadow: 0 0 2px 1px rgba(44, 115, 153, 0.5);
	cursor: pointer;
}

#standings_hor {
	//top: -50px; 	/*(one finals game)*/
	top: -30px;		/*(two finals games)*/
	max-width: 350%;
	max-height: 270px;
}
#standings_vert {
	top: -100px;
	max-width: 250%;
	max-height: 350px;
	display: none;
}

.container {
	//max-width: 1100px;
	margin: 0 auto;
	padding: 0 15px;
	display: block;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: row;
	flex-direction: row;
	justify-content: space-evenly;
}

.container img {
	max-width: 100%;
}

.split {
	position: relative;
	display: block;
	float: left;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	width: 42%;
	-webkit-flex-direction: row;
	-moz-flex-direction: row;
	flex-direction: row;
}

.champion {
	float: left;
	display: block;
	//width: 16%;
	width: 12%;
	-webkit-flex-direction: row;
	flex-direction: row;
	-webkit-align-self: center;
	align-self: center;
	//margin-top: -15px; /*short*/
	margin-top: 10px; /*tall*/
	text-align: center;
	padding: 230px 0\9;
	padding-top: 240px;
	position: relative;
} 

.champion i {
	color: #a0a6a8; 
	font-size: 45px;
	padding: 10px 0;
}

.result {
	margin-top: 40px;
}

.round {
	display: block;
	float: left;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	width: 95%;
	width: 30.8333%\9;
}

.split-one {
	//margin-right: 1px;
}
.split-two {
	
}
.split-one .round {
	margin: 0 2.5% 0 0;
}
.split-one .round.semifinal {
	margin: 0 6% 0 0;
}
.split-two .round {
	margin: 0 0 0 2.5%;
}
.split-two .round.semifinal {
	margin: 0 0 0 6%;
}

.matchup {
	margin: 0;
	width: 100%;
	//min-width: 80px;
	padding: 20px 0;
	height: 60px;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
	position: relative;
}

.score {
	font-size: 13px;
	text-transform: uppercase;
	float: right;
	color: #2C7399;
	font-weight: bold;
	font-family: 'Roboto Condensed', sans-serif;
	position: absolute;
	right: 5px;
}

.team {
	padding: 0 20px 0 5px;
	margin: 3px 0;
	//height: 25px; 
	line-height: 25px;
	font-family: 'Open Sans', sans-serif;
	font-size: 9px;
	font-weight: 600;
	white-space: nowrap; 
	overflow: hidden;
	position: relative;
}

.round li.game_info {
	font-family: 'Open Sans', sans-serif;
	color: #fff;
	font-size: .75em;
	font-weight: 600;
	text-transform: uppercase;
	padding: 0 2px 0 2px;
	list-style-type: none;
	background-color: transparent;
}
.champion li.game_info {
	font-family: 'Open Sans', sans-serif;
	font-size: .75em;
	font-weight: 600;
	text-transform: uppercase;
	padding: 0 2px 0 2px;
	list-style-type: none;
	background-color: transparent;
}
.round li.game_info.left {
	text-align: left;
}
.round li.game_info.right {
	text-align: right;
}
.championship li.game_info.center {
	opacity: 1;
}
.championship li.game_info.right {
	text-align: right;
}

.bracket_label {
	position: absolute;
	top: 75px;
	//transform: translate(-25%, 0);
	left: 0;
	right: 0;
	margin: auto;
	text-align: center;
	text-decoration: underline;
}

.split-one .bracket_label {
	left: 30px;
	text-align: left;
}
.split-two .bracket_label {
	right: 30px;
	text-align: right;
}
.bracket_label p {
	font-family: 'Roboto Condensed', sans-serif;
	color: #fff;
	font-size: 2em;
	font-weight: bold;
	text-decoration: underline;
}

.round .game_label {
	width: 30;
	font-size: 12px;
	font-weight: bold;
	//letter-spacing: 1px;
	font-family: 'Roboto Condensed', sans-serif;
	text-transform: uppercase;
	padding: 0;
	margin: 0;
	list-style-type: none;
	background-color: transparent;
	position: absolute;
}

.game_label.round-1 {
	top: 42px;
}
.game_label.round-2 {
	top: 89px;
}
.game_label.round-3 {
	top: 188px;
}
.game_label.round-4 {
	top: 182px;
}
.game_label.round-5 {
	position: absolute;
	font-weight: bold;
	top: 335px;
}
.game_label.semifinal {
	top: 382px;
}

.game_label.left {
	//color: #2F7947;
	//color: #555FBE;
	color: #fff;
	//left: -33px;
	left: -22px;
	text-align: center;
	border-radius: 50%;
	height: 20px;
	width: 20px;
	font-size: 15px;
	font-weight: bold;
	font-family: 'Roboto Condensed', sans-serif;
	text-transform: uppercase;
	padding: 0;
	padding-top: 3px;
	margin: 0;
	list-style-type: none;
	background-color: #0f2a3fb8;
	outline: 1px solid #d3d3d3;
	position: absolute;
	opacity: 1;
}
.game_label.right {
	//color: #555FBE;
	color: #fff;
	//right: -33px;
	right: -22px;
	text-align: center;
	border-radius: 50%;
	height: 20px;
	width: 20px;
	font-size: 15px;
	font-weight: bold;
	font-family: 'Roboto Condensed', sans-serif;
	text-transform: uppercase;
	padding: 0;
	padding-top: 3px;
	margin: 0;
	list-style-type: none;
	background-color: #0f2a3fb8;
	outline: 1px solid #d3d3d3;
	position: absolute;
	opacity: 1;
}
.game_label.right.inning {
	font-size: .9em;
	color: #2C7399;
	font-weight: bold;
	font-family: 'Roboto Condensed', sans-serif;
	right: -32px;
}

.round-two .matchup {
	margin: 0; 
	height: 60px;
	padding: 68px 0;
}
.round-three .matchup {
	margin: 0; 
	height: 60px; 
	padding: 166px 0;
}
.round-four .matchup {
	margin: 0; 
	height: 0px; 
	padding: 160px 0;
}
.round-five .matchup {
	margin: 0; 
	height: 60px; 
	padding: 300px 0;
}
.semifinal .matchup {
	margin: 0; 
	height: 0px; 
	padding: 360px 0;
}
.final .matchup {
	padding-top: 0;
}

.matchup.championship {
	padding-bottom: 7px;
	text-align: left;
}

.round-details {
	font-family: 'Roboto Condensed', sans-serif; 
	font-size: 13px; 
	//color: #2C7399; /* lighter background */
	color: #57b0df; /* darker background */
	text-transform: uppercase;
	text-align: center;
	height: 40px;
	margin-bottom: 60px;
}
.final .round-details {
	color: #57b0df;
	font-size: 18px;
}
.round-details.pushdown {
	margin-bottom: 180px;
}
.round-details.final {
	margin: auto;
}
.round-details.result {
	font-family: 'Holtwood One SC', serif;
	font-size: 25px;
	color: #fff;
	margin-left: -100%;
	margin-right: -100%;
	white-space: nowrap;
	text-shadow: 2px 2px 3px rgb(0 0 0 / 50%);
}
.round-details.result i{
	font-size: 25px;
	color: #fff;
}
.round-details.result span {
	font-size: 32px;
	color: #E40E32;
	text-shadow:
		1px 1px 4px rgb(0 0 0 / 35%),
		-1px -1px 4px rgb(0 0 0 / 35%),  
		1px -1px 4px rgb(0 0 0 / 35%),
		-1px 1px 4px rgb(0 0 0 / 35%),
		1px 1px 4px rgb(0 0 0 / 35%);
}
.nowrap {
	display: flex;
	justify-content: center;
	text-align: center;
	margin: 0  auto;
}

.round-details.result hr {
	max-width: 40%;
}

.champion li, .round li {
	background-color: #fff;
	box-shadow: none; 
	opacity: 0.7;
}

.current li {
	opacity: 1;
}
.current li.team {
	background-color: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
	opacity: 1;
}

.vote-options {
	display: block;
	height: 52px;
}

.share .container {
	margin: 0 auto; 
	text-align: center;
}

.share-icon {
	font-size: 24px; 
	color: #fff;
	padding: 25px;
}

.share-wrap {
	max-width: 1100px; 
	text-align: center; 
	margin: 60px auto;
}

.final {
	margin: 4.5em 0 5em 0; /*without champion*/
	//margin: 1em 0 5em 0; /*with champion*/
	padding: 0 10px 40px 10px;
	//transform: translate(0, -15%);
	margin-bottom: -30px;
}

div.final {
	background-color: #0F2A3F;
	border-top: 15px solid #f5ee96;
    border-bottom: 10px solid #f5ee96;
    border-left: 5px solid #0f2a3f6b;
    border-right: 5px solid #0f2a3f6b;
	//border-top: 25px solid #2d6693;
	//border-bottom: 25px solid #2d6693;
	//border-left: 0px solid #0f2a3f6b;
	//border-right: 0px solid #0f2a3f6b;
	border-radius: 40px;
	//border-radius: 40px 40px 20px 20px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.2);
}
div.round-details.final {
	border: none;
	padding-bottom: 30px;
	box-shadow: none;
}

.semis-l {
	padding-top: 30px;
}


@-webkit-keyframes pulse {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  50% {
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes pulse {
  0% {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
  }

  50% {
    -webkit-transform: scale(1.3);
    -ms-transform: scale(1.3);
    transform: scale(1.3);
  }

  100% {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
  }
}

.share {
	text-align: center;
}
.share-icon {
	color: #fff; 
	opacity: 0.35; 
}
.share-icon:hover {
	opacity: 1;
	-webkit-animation: pulse 0.5s; 
	animation: pulse 0.5s;
}
.date {
	font-size: 10px; 
	letter-spacing: 2px;
	font-family: 'Istok Web', sans-serif;
	//color: #3F915F; /* lighter background */
	color: #2cbf66; /* darker background */
}
.final .date {
	color: #2cbf66;
	font-weight: bolder;
}
.final_time {
	font-size: 10px; 
	letter-spacing: 3px;
	font-family: 'Istok Web', sans-serif;
	//color: #2C7399;
	color: #57b0df;
	font-size: 12px;
}

.hanging_banner {
	display: inline-block;
	font-family: 'Roboto Condensed', sans-serif; 
	font-size: .9em;
	letter-spacing: 1px;
	line-height: 0.8;
	color: #fff;
	text-transform: uppercase;
	text-align: center;
	//margin: -50px 7px 0 7px; /* shorter version */
	margin: 30px 7px 0 7px; /* taller version */
	padding: 10px;
	padding-bottom: 10px;
	width: 18%;
	min-width: 310px;
	border-radius: 5px 5px 40px 40px;
	box-shadow: 1px 2px 3px black;
	transform: translate(0, -10%);
}
.hanging_banner:hover {
	cursor: pointer;
	box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
	opacity: 0.9;
}
.hanging_banner h1{
	font-family: 'Holtwood One SC', serif;
	font-weight: lighter;
	text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.5);
	letter-spacing: 0px;
	line-height: 1.1;
	//margin: 10px;
	font-size: 18px;
}
.hanging_banner hr{
	width: 65%;
	margin-bottom: 12px;
}
.hanging_banner a{
	height: 200px;
	border: 1px solid yellow;
}
.hanging_banner span {
	font-size: 1.3em;
	text-shadow: 0 1px black;
	line-height: 1.3em;
	//text-decoration: underline;
	font-style: italic;
}
#hr_derby {
	border-top: 18px solid #103960;
	background: #4F87BA;
	background: linear-gradient(to bottom, #4074A5 15%, #82AACE 115%);
}
#all_star {
	border-top: 18px solid #08421A;
	background: #4F87BA;
	background: linear-gradient(to bottom, #457755 15%, #8CC79C 115%);
}	

.team-logo {
    width: 100%;
    max-width: 90px;
    height: 90px;
}
.team-logo-champ {
	position: inline;
	width: 112px;
	height: 125px;
	margin-left: 50%;
	transform: translateX(-50%);
	/* if team photo use following */
	//width: 325%;
	//border-radius: 20px 20px 70px 70px;
	//box-shadow: 0px 5px 12px rgb(0 0 0 / 80%);
}

#vs {
	height: 90px;
	width: 14%;
	max-width: 32px;
}

ul li#centered {
    text-align: center;
    vertical-align: middle;
    padding: 0;
    margin-top: 15px;
    //line-height: 90px;
    background: transparent;
    list-style: none;
}

ul li#final_logo {
	display: inline-table;
	text-align: center;
	vertical-align: middle;
	padding: 0;
	margin-top: 20px;
	margin-bottom: 0;
	//line-height: 135px;
	height: 135px;
	background: transparent;
	list-style: none;
}

#rules_main {
	position: absolute;
	max-width: 35%;
	min-width: 700px;
	bottom: -5px;
	left: 50%;
	transform: translate(-50%, 0);
	border-radius: 10px 10px 0 0;
}
#rules_alt {
	max-width: 55%;
	margin: 0 auto;
	//display: none;
}

#logo {
	margin-top: -30px;
	opacity: .65;
}
#logo:hover {
	//box-shadow: 0 0 2px 1px rgba(255, 255, 255, 0.5);
	opacity: 1;
}


/* @media screen and (min-width: 981px) and (max-width: 1099px) {
  .container {margin: 0 3% 0 0;}
  .champion {width: 14%;}
  .split {width:43%; }
  .split-one .vote-box {margin-left: 138px;}
  .hero p.intro {font-size: 28px;}
  .hero p.year {margin: 5px 0 10px;}
  
  li.game_info.left {
	padding-right: 10px;
  }
  li.game_info.right {
	padding-left: 10px;
  }
  .game_info br {
	display: none;  
  }
  
  .champion {
	//padding-top: 450px;
  }

  #standings_hor {
	max-height: 160px;
  }
  
  #rules_alt{
	display: block;
  }
  #rules_main {
	display: none;
  }
} */

/* @media screen and (max-width: 1099px) { */

@media screen and (min-width: 1281px) and (max-width: 1399px) {
	li.game_info.left {
		padding-right: 10px;
	}
	li.game_info.right {
		padding-left: 10px;
	}
	.game_info br {
		display: none;  
	}
}

@media screen and (max-width: 1280px) {
	.container {-webkit-flex-direction:column;-moz-flex-direction:column;flex-direction:column;}
	.split, .champion {
		width: 90%;
		margin: 0px 5% 35px 5%;
	}
	.final {
		width: 30%;
		min-width: 200px;
		margin: 0 auto;
		margin-bottom: 50px;
		padding-bottom: 30px; /*pre-final*/
		//padding-bottom: 175px; /*final*/
		border-bottom: 1px solid #b6b6b6;
		transform: none;
	}
	div.round-details.final {
		padding: 0 0 30px 0;
		border-radius: 0;
		position: relative;
	}
	div.round-details.result hr {
		max-width: 10%;
	}
	.champion {
		-webkit-box-ordinal-group:3;
		-moz-box-ordinal-group:3;-ms-flex-order:3;
		-webkit-order:3;
		order:3;
		padding-top: 0;
		padding-bottom: 00px;
	}
	.team-logo-champ {
		max-width: 75%;
	}
	.split {border-bottom: 1px solid #b6b6b6; padding-bottom: 20px;}
	.hero p.intro {font-size: 24px;}
	.hero h1 {font-size: 3em; margin: 15px 0;}
	.hero p {font-size: 1em;}
	.menu_item{
		padding: 0 5px;
	}
	.team {font-size:.8em;}
	.standings {
		left: 0;
		transform: none;
		margin: 0 auto;
	}
	.hanging_banner{
		font-size: 1em;
		margin-top: 80px;
		min-width: 280px;
		line-height: .9;
		transform: none;
	}
	
	#bracket {
		/* no champion yet */
		height: auto;
		padding-bottom: 50px; 
		/* with champion */
		//height: 2750px;
		//padding-bottom: 500px; 
	}
  
	#standings_hor {
		display: none;
	}
	#standings_vert {
		position: relative;
		display: inline-block;
		margin: 0 auto;
		top: 40px; /* no champion yet */
		//top: 600px; /* with champion */
		width: 450px;
		//max-width: 98%;
		//min-height: 280px;
	}
	
	ul li#final_logo {
		//margin-top: -50px; /* with champion */
	}
  
	#rules_alt{
		display: block;
		max-width: 90%;
	}
	#rules_main {
		display: none;
	}
}

@media screen and (max-width: 700px) {
	body {
		overflow: auto;
		min-width: 600px;
	}

	.split {width: 95%;margin: 25px 2.5%;}
	.round {width:21%;}
	.current {-webkit-flex-grow:1;-moz-flex-grow:1;flex-grow:1;}
	.hero h1 {font-size: 2.15em; letter-spacing: 0;margin:0; }
	.hero p.intro {font-size: 1.15em;margin-bottom: -10px;}
	.round-details {font-size: 90%;}
	.hero-wrap {padding: 2.5em;}
	.hero p.year {margin: 5px 0 10px; font-size: 18px;}

	#rules_alt{
		display: block;
	}
	#rules_main {
		display: none;
	}
}