body .container { color: #000000; }

.front-end-edit ul {
    padding: 0 !important;
}
.front-end-edit li {
    list-style: none;
    margin-bottom: 6px !important;
}
.front-end-edit label {
    margin-right: 10px;
    display: block;
    float: left;
    text-align: right;
    width: 100px !important;
}
.front-end-edit .radio label {
    float: none;
}
.front-end-edit .readonly {
    border: none !important;
    color: #666;
}    
.front-end-edit #editor-xtd-buttons {
    height: 50px;
    width: 600px;
    float: left;
}
.front-end-edit .toggle-editor {
    height: 50px;
    width: 120px;
    float: right;
}

#access-rules a:hover{
    background:#f5f5f5 url('../images/slider_minus.png') right  top no-repeat;
    color: #444;
}

fieldset.radio label{
    width: 50px !important;
}

form div.button-div{
    margin-left: 110px;
}

div.group_name {
	padding: 5px;
	font-style: italic;
}

/* Footbal Squares Form */

#squares { 
	border: 1px solid #A0A0A0;
	padding: 10px;	
}
#squares_form_params tr td {		
}
#squares_form_params  label {	
	font-weight: bold;
	display: inline-block;
}
#squares_form_params input[type="text"] {	 }
#squares_form_params .empty { }

table.sample_squares { border: none; width: 100%; table-layout: fixed ; }
table.sample_squares tr td { width: 10px; height: 10px; background-color: #FFFFFF; border: 1px solid #7A7A7A; }
table.sample_squares tr td.col1 { background-color: #BCBDBF; }
table.sample_squares tr.row1 td { background-color: #BCBDBF; }
table.sample_squares tr.row1 td.col1 { background-color: #FFFFFF; }

/* Backetbal Bracket Form */

#brackets_form_params { width: 100%; }

.form-control { height: 36px;
		padding: 6px 12px;
		font-size: 16px;
		line-height: 1.428571429;
		color: #555555;
		background-color: #fff;
		background-image: none;
		border: 1px solid #ccc;
		border-radius: 4px;
		border-top-left-radius: 4px;
		border-bottom-left-radius: 4px;
		box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
		transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
	}
.form-control input { }
.form-control select { }
.currency-addon {
		padding: 16px 12px;
		font-size: 16px;
		font-weight: normal;
		line-height: 1;
		height: 50px;
		color: 	#555555;
		text-align: center;
		background-color: #eeeeee;
		border: 1px solid #ccc;
		border-right-color: rgb(204, 204, 204);
		border-right-style: solid;
		border-right-width: 1px;
		border-radius: 4px;
		border-top-right-radius: 4px;
		border-bottom-right-radius: 4px;
		border-right: 0;
		width: 1%;
		white-space: nowrap;
		vertical-align: middle;
		border-bottom-right-radius: 0;
		border-top-right-radius: 0;
		display: inline-block;
}
#jform_cost_per_square {
		border-bottom-left-radius: 0;
		border-top-left-radius: 0;
		width: 176px;
}

label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: bold;
}

table.score_table { border: none; }
table.score_table tr td { border: none; padding: 3px; }
table.score_table thead tr td { background-color: #737373; color: #ffffff; }
table.score_table tbody tr:nth-child(odd) td.team_1 { background-color: #CCDBC2; }
table.score_table tbody tr:nth-child(even) td.team_1 { background-color: #ACB9A4; }
table.score_table tbody tr:nth-child(odd) td.team_2 { background-color: #C5D4DB; }
table.score_table tbody tr:nth-child(even) td.team_2 { background-color: #A4B2B9; }
table.score_table tr td input[type="text"] { width: 80px;  }

#sqaures_selection { width: 100%; table-layout: fixed ; border-collapse: collapse; border-spacing: 0; }
#sqaures_selection tr td { padding: 3px; border: 1px solid #338D91; text-align: center; vertical-align: middle; height: 42px; }
#sqaures_selection tr.sq_row_header { background-color: #F0F0F0; }
#sqaures_selection tr td.sq_column_header { background-color: #F0F0F0; }

span.sq_info { 
	display: block; 
	font-size: 9px;
	line-height: 10px;
}
span.sq_num {
	display: inline-block;
	font-size: smaller;
	width: 22px;
	height: 22px;
	background: #E5EEEF;
	-moz-border-radius: 11px;
	-webkit-border-radius: 11px;
	border-radius: 11px;
}

td.qt1 { background-color: #A0A0A0; }
td.qt2 { background-color: #B0B0B0; }
td.qt3 { background-color: #C0C0C0; }
td.final { background-color: #D0D0D0; }
td.team_row { background-color: #E5EEEF; }
td.team_column { background-color: #E5EEEF; text-orientation: upright; writing-mode: vertical-lr; }
td.teams { background-color: #F5F5F5; font-weight: bold; font-size: smaller;}

table.squares_contestants_table { width: 100%; }
table.squares_contestants_table tr  td { padding: 3px; border: 1px solid #000000; text-align: center; }
table.squares_contestants_table tr.header_row  td { background-color: #468407; color: #FFFFFF; }
table.squares_contestants_table tr.unpaid td { background-color: #FFE1DC; }
table.squares_contestants_table tr  td:nth-child(5) { width: 1px; white-space: nowrap; text-align: left; }

div.group_actions { padding: 10px;  background-color:  #DEDEDE; }

td.square_avail { background-color: transparent; cursor: pointer; }
td.square_paid { background-color: #b1cb97;}
td.square_unpaid { background-color: #f8dee2;}
td.square_paid.other, td.square_unpaid.other { opacity: 0.5; }

/* NCAA */
#mbracket, #wbracket {overflow:auto;background-color: #e1e1e1;background-color:rgba(225,225,225,0.9);padding-top: 20px;font-size: 12px;padding: 0;}



.container {max-width: 1100px;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: 42%;-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: 230px 0\9;}
.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:95%;width:30.8333%\9;}
.split-two {}
.split-one .round {margin: 0 2.5% 0 0;}
.split-two .round {margin: 0 0 0 2.5%;}
.matchup {margin:0;width: 100%;padding: 10px 0;height:60px;-webkit-transition: all 0.2s;transition: all 0.2s;}
.score {font-size: 11px;text-transform: uppercase;float: right;color: #2C7399;font-weight: bold;font-family: 'Roboto Condensed', sans-serif;position: absolute;right: 5px;}
.team {padding: 0 5px;margin: 3px 0;height: 25px; line-height: 25px;white-space: nowrap; overflow: hidden;position: relative;}
.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: #c2c0c0; box-shadow: none; opacity: 0.95;}
.current li {opacity: 1;}
.current li.team {background-color: #CBD9CC; 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;}
ul.championship  { list-style-type: none; }
.team_name { cursor: cell; font-family: 'Istok Web', sans-serif; }
span.champ_pick { background-color: #B3630F; color: #ffffff; font-weight: bold; padding: 2px; margin-left:2px; font-size: smaller; }
span.success_pick { color: #232323; background-color: #baebff; font-weight: bold; font-family: 'Roboto Condensed', sans-serif; float: right; padding: 0px 5px 0px 5px; }
span.fail_pick { color: #232323; background-color: #FF0033; font-weight: bold; font-family: 'Roboto Condensed', sans-serif; float: right; padding: 0px 5px 0px 5px; }

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

table.ncaa_contestants_table { width: 100%; }
table.ncaa_contestants_table tr  td { padding: 3px; border: 1px solid #000000; text-align: center; }
table.ncaa_contestants_table tr.header_row  th { background-color: #468407; color: #FFFFFF; }
table.ncaa_contestants_table tr.unpaid td { background-color: #FFE1DC; }
table.ncaa_contestants_table tr  td.actions { width: 1px; white-space: nowrap; text-align: left; }

span.sublabel { width: 175px; display: inline-block; color: #555; font-style: italic;}
div.round_scoring input { width: 60px; mrgin-bottom: 5px; }

#jform_cost_per_participant { width: 175px; }

a.emlink { font-weight: bold; text-decoration: underline; }

div.contest_notes {
    border: 1px solid #F0F0F0;
	padding: 10px;
	text-align: justify;
	background-color: #ECF2FF;
	border-radius: 6px 6px 6px 6px;
}

/* Contact Contestants */
.message_subject { width: 100%; }
.message_body { height: 200px; width: 100%; }

fieldset.available_actions { background-color: #f3f1e6; padding: 10px; border: 2px solid #3203c3; margin-top: 5px; }
fieldset.available_actions legend { margin: 0px; padding: 0px 5px; border-bottom: none; font-size: 16px; display: inline; width: auto; }
table.invitation_recipients { height: 200px; display: block; overflow-y: auto; }

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

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


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

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

}

/* adjustments for squarefunding.com */
#mbracket, #wbracket { line-height: 18px; }
#mbracket * { box-sizing: initial; }
#wbracket * { box-sizing: initial; }

/* mourlouk: remove it - just for testing */
.header { display: none; }

li.team {padding: 2px; margin: 3px 0; height: 30px; line-height: 15px; }
/*li.team.team-bottom  span.team_name { display: block; }*/
span.fail_team_pick { color: #8d1818; font-size: smaller; width: 100%; background-color: #F0F0F0; display: inline-block; border-left: 3px solid #8d1818; padding-left: 2px; }
span.failprev_team_pick { color: #8d1818; font-size: smaller; width: 100%; background-color: #F0F0F0; display: inline-block; border-left: 3px solid #8d1818; padding-left: 2px; }
span.success_team_pick { color: #277027;  font-size: smaller; width: 100%; background-color: #F0F0F0; display: inline-block; border-left: 3px solid #277027; padding-left: 2px; }
span.neutral_team_pick { color: #000000;  font-size: smaller; width: 100%; background-color: #F0F0F0; display: inline-block; border-left: 3px solid #727272; padding-left: 2px; }

span.winner_team_name { font-weight: bold; }
span.winner_team_score { font-weight: bold; color: #000; }

span.sq_info span.mine { font-weight: bold; }
span.sq_info span.other { font-weight: bold; color: #090909;  }

table.squares_contestants_table tr.winner_pick td:nth-child(2) { font-weight: bold; background-color: #ffd455; border: 3px solid #030303; }
span.winning_pick { display: block; font-weight: bold; }
#sqaures_selection tr td.square_winner { border: 3px solid #030303; }

.region_label { font-weight: bold; text-transform: uppercase; background-color: #F0F0F0; padding: 3px; }

#mbracket { 
  background:url("../images/SFhoops.png");  
  background-size: cover;      
  font-weight: bold;
}
#wbracket { 
  background:url("../images/SFWhoops.png");  
  background-size: cover;      
  font-weight: bold;
}

div.contest_banner { margin-bottom: 10px; margin-top: -10px; text-align: center; }

span.champ_winner_pick i, span.champ_loser_pick i {
	padding: 0px;
	padding-left: 4px; 
	font-size: 13px;
}

span.champ_winner_pick { color: #C77B04; }
span.champ_loser_pick { color: #FF3333; }

#component div.contest_banner img { width: 100%; }

.row { width: 100%; }