body {
	font-family: 'Istok Web', sans-serif;
	background: no-repeat #e1e1e1;
	background-size: cover;min-height: 100%;margin: 0;
}
.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;}

.groupcontainer {
	width: 400px;
	float: left;
	border: none;
}

.groupcontainer.joinnew {
	width: 250px;
}

.fan-button {
	background-color: #2C7399;
	border: solid 1px #2C7399;
	color: white;
	padding: 8px 16px;
	text-align: center;
	text-decoration: none;
	display: block;
	font-size: 16px;
	transition-duration: 0.2s;
	cursor: pointer;
	border-radius: 10px;
	box-shadow: 1px 3px 4px rgba(0, 0, 0, 0.5);
	width: 100%;
}

.fan-button:hover {
	background-color: #49A16C;
	color: white;
}

.center-hv {
	position: absolute;
	margin: 0;
	left: 50%;
	top: 50%;
	-ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.center-h {
	margin: 0;
	left: 50%;
	-ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.session-message {
	background-color: white;
	border: 2px solid #49A16C;
	color: #49A16C;
	padding-left: 5px;
	padding-top: 10px;
	padding-bottom: 10px;
	font-weight: bold;
}

.editing-message {
	background-color: white;
	border: 2px solid #1B293C;
	color: #1B293C;
	padding-left: 5px;
	padding-top: 10px;
	padding-bottom: 10px;
	font-weight: bold;
	text-align: center;
	font-size: 20px;
}

.errors {
	background-color: white;
	border: 2px solid red;
	color: red;
	padding-left: 5px;
	padding-top: 10px;
	padding-bottom: 10px;
	font-weight: bold;
}

.group_title {
	color: #2C7399;
	margin-top: 5px;
	margin-bottom: 5px;
}

.disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.groupcard {
	background-color: #bbb;
	position: relative;
	color: #444; 
	padding: 18px;
	margin: 10px;
	border-radius: 16px;
	min-height: 300px;
	box-shadow: 1px 3px 4px rgba(0, 0, 0, 0.5);
}


input[type~="text_group_code"] {
	text-align: center;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 24px;
	color: #2C7399;
	text-transform: uppercase;
	width: 60%;
	display: block;
	margin: 0 auto;
}	

input[type=submit], input[type=button] {
	-webkit-appearance: none;
    -webkit-border-radius: 0;
	background-color: #5CCA87;
	border: solid 1px #5CCA87;
	border-radius: 10px;
	color: white;
	padding: 16px 32px;
	text-align: center;
	margin: 4px 2px;
	cursor: pointer;
	box-shadow: 1px 3px 4px rgba(0, 0, 0, 0.5);
	
}

input[type=submit]:hover, input[type=button] {
	-webkit-appearance: none;
	-webkit-border-radius: 0;
	background-color: #49A16C;
	border: solid 1px #49A16C;
	border-radius: 10px;
	color: white;
	padding: 16px 32px;
	text-align: center;
	margin: 4px 2px;
	cursor: pointer;
	box-shadow: 1px 3px 4px rgba(0, 0, 0, 0.5);
	
}

input[type=delete], input[type=button] {
	background-color: #CC1717;
	border-radius: 10px;
	border: none;
	color: white;
	padding: 16px 32px;
	text-align: center;
	margin: 4px 2px;
	cursor: pointer;
	box-shadow: 1px 3px 4px rgba(0, 0, 0, 0.5);
}

input[type=delete]:hover, input[type=button] {
	background-color: #8E1010;
	border-radius: 10px;
}

.headline {
	font-family: 'Holtwood One SC', serif;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 50px;
	margin-bottom:-5px;
	color: #5CCA87;
	text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.5);
}

/* Mobile responsive headline */
@media screen and (max-width: 768px) {
	.headline {
		font-size: 36px;
	}
}

.subtitle {
	font-family: 'Roboto Condensed', sans-serif;
	letter-spacing: 1px;
	font-size: 24px;
	margin-bottom: -15px;
	color: #2C7399;
	text-align: center;
}

.accordion {
  background-color: #eee;
  color: #444; 
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
}

.acc_active, .accordion:hover {
  background-color: #ccc;
}

.accordion:after {
  content: '\002B';
  color: #777;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.acc_active:after {
  content: "\2212";
}

.panel {
  padding: 0 18px;
  background-color: #e1e1e1;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  border: solid #e1e1e1 1px;
}

table {
  text-align: center;
}

rand_input {
  display: block;
  /* border: white solid; */
  border: none;
  background: #e1e1e1;
  border-radius: 0px;
  color: #574026;
  width: 40px;
  text-align: center;
}

td {
	text-align: center;
	width: 30px;
}

td.top {
	background-color:#112E3D;
	color:white;
	width: 40px;
}

td.left {
	background-color:#5CCA87;
	color:black;
}

#bracket {
	overflow:hidden;
	background-color: #e1e1e1;
	background-color:rgba(225,225,225,0.9);
	padding-top: 20px;
	font-size: 12px;
	padding: 10px 0;
	margin-left: 10px;
}

.home-container {
	overflow:hidden;
	background-color: #e1e1e1;
	background-color:rgba(225,225,225,0.9);
	font-size: 12px;
	padding: 10px 0;
}
	
.container {
	max-width: 1300px;
	margin: 0 auto;
	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;
}
	
.split {
	display:block;
	float:left;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display:flex;
	width: 49%;
	-webkit-flex-direction:row;
	-moz-flex-direction:row;
	flex-direction:row;
	}
	
.split-full {
	display:block;
	float:left;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display:flex;
	width: 100%;
	-webkit-flex-direction:row;
	-moz-flex-direction:row;
	flex-direction:row;
}
	
.champion {
	float:left;
	display:block;
	width: 16%;
	-webkit-flex-direction:row;
	flex-direction:row;
	-webkit-align-self:center;
	align-self:center;
	margin-top: -15px;
	text-align: center;
	padding: 100px 0\9;
	border: solid red 1px;}
	
.champion i {
	color: #a0a6a8;
	font-size: 45px;
	padding: 10px 0;
	}
	
.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: 200px;
}
	
.split-two {
	margin-left: 20px;
	}

.split-one .round {
	margin: 0 2.5% 0 0;
	}
	
.split-two .round {
	margin: 0 0 0 2.5%;
	}

.split-full .round {
	margin: 0 2.5% 0 2.5%;
}
	
.matchup {
	margin:0;
	width: 100%;
	padding: 10px 0;
	height:60px;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
	}

.team {
	padding: 0 5px;
	margin: 3px 0;
	height: 25px;
	line-height: 25px;
	white-space: nowrap;
	overflow: hidden;
	position: relative;
	}

.seed {
	font-size: 11px;
	text-transform: uppercase;
	color: #2C7399;
	font-weight: bold;
	font-family: 'Roboto Condensed', sans-serif;
	margin-right: 2px;
	}

.round-one .matchup {
	margin:0;
	height: 60px;
	padding: 10px 0;
}

.round-two .matchup {
	margin:0; 
	height: 60px;
	padding: 50px 0;
	}
.round-three .matchup {
	margin:0; 
	height: 60px;
	padding: 130px 0;
	}
.round-four .matchup {
	margin:0;
	height: 60px;
	padding: 290px 0;
	}
	
.round-details {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 13px;
	color: #2C7399;
	text-transform: uppercase;
	text-align: center;
	height: 40px;
	}
	
.champion li, .round li {
	background-color: #fff;
	box-shadow: none; 
	opacity: 0.45;
	border: solid #fff 1px;
	}
.current li {
	opacity: 1;
	}

.current li.team {
	background-color: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
	opacity: 1;
	cursor:pointer;
	}
	
li.team.current {
	background-color: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
	opacity: 1;
	cursor:pointer;
	border: solid white 1px;
	}
	
li.team.current.user-selection {
	border: solid #52B579 1px;
	background-color: #9DDFB7;
}

li.team.current.user-selection.invalid {
	border: solid red 1px;
	background-color: #FFCCCC;
	text-decoration: line-through;
}

li.team.current.ffpick {
	border: solid #52B579 1px;
	background-color: #9DDFB7;
}

li.team.current.ffpick.awaiting-results {
	border: solid #aaa 1px;
	background-color: #ccc;
}

li.team.current.correct-pick {
	border: solid #52B579 1px;
	background-color: #9DDFB7;
}

li.team.current.incorrect-pick {
	border: solid red 1px;
	background-color: #FFCCCC;
	text-decoration: line-through;
}

#user_bracket_total_points {
	width: 100%;
}

.vote-options {display: block;height: 52px;}
.share .container {margin: 0 auto; text-align: center;background-color:black;}
.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;}

@-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-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;}

@media screen and (min-width: 981px) and (max-width: 1099px) {
  .container {margin: 0 1%;}
  .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;}

}

@media screen and (max-width: 980px) {
  .container {-webkit-flex-direction:column;-moz-flex-direction:column;flex-direction:column;}
  .split, .champion {width: 90%;margin: 35px 5%;}
  .champion {-webkit-box-ordinal-group:3;-moz-box-ordinal-group:3;-ms-flex-order:3;-webkit-order:3;order:3;}
  .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;}
  .img {width: 100%; margin: 5px;}
}


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

  .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;}

}

/* Mobile bracket improvements - prevent horizontal scrolling */
@media screen and (max-width: 768px) {
  .container {
    max-width: 100%;
    margin: 0;
    padding: 0 5px;
  }

  .round {
    width: 18%; /* Reduce from 200px fixed width */
    min-width: 0; /* Allow shrinking below content width */
  }

  .round-details {
    font-size: 11px; /* Smaller text for mobile */
    padding: 2px;
  }

  .matchup {
    padding: 10px 0; /* Reduce padding */
    height: 45px; /* Reduce height */
  }

  .team {
    font-size: 11px; /* Smaller team text */
    padding: 2px 3px;
    height: 20px;
    line-height: 16px;
  }

  .seed {
    font-size: 9px; /* Smaller seed numbers */
  }
}

@media screen and (max-width: 480px) {
  .round {
    width: 16%; /* Even smaller for very small screens */
  }

  .round-details {
    font-size: 10px;
  }

  .team {
    font-size: 10px;
  }
}