div.loader {
    height:32px;
    /*background-color:#FFF;*/
}
div#refresh {
    position:absolute;
    margin-left:730px;
    margin-top:8px;
    cursor:pointer;
}

body.live-results {
    background: #404040;
    color:white;
}
body.live-results
#MeetDetails,
body.live-results
#bottom_nav,
body.live-results
#MSOFooter {
    display: none !important;
}

div#events,
div#active_meets,

body.bookmarked div.results tbody {
    background: #FFF;
}

div.results {
    clear:both;
    /*background-color: #eee;*/
    padding: 7px;
    /*border: solid 1px #c5c5c5;
    border-right-color: #fff;
    border-bottom-color: #fff;*/
    margin-bottom:12px;
}

div.results table {
    table-layout:fixed;
    border-collapse:collapse;
    margin-bottom:25px;
    font-size:8pt;
}
div.results table caption {
    color:#818181;
    text-align:left;
    font-size:12pt;
    font-weight:bold;
}
div.results table.aa_winners { margin-bottom:15px; }
div.results thead { border: 0;}
div.results th,

div.results td,
div.results td div {
    text-align: left;
    white-space:nowrap;
    overflow:hidden
 }
div.results th { color:#3465A1; width: 75px;}
div.results th.header_2,
div.results th.header_3,
div.results th.header_4 { width:50px; text-align:left; }
div.results td div.divs { width:95%; text-overflow:ellipsis}
ddiv.results td.td_2,
div.results td.td_3,
div.results td.td_4 { text-align:left; }
div.results th.scores_header_0,
div.results th.scores_header_1,
div.results th.scores_header_2,
div.results th.scores_header_3,
div.results th.scores_header_4,
div.results th.scores_header_5,
div.results th.scores_header_6,
div.results th.scores_header_7 { width:65px; }

div.results td.td_0,
div.results td.td_1 { text-align:left; }
div.results td.td_0,
div.results td.td_1,
div.results td.td_2,
div.results td.td_3,
div.results td.td_4 { cursor:pointer }
div.results th.header_0 {width: 110px;}
div.results th.header_1 {width: 110px;}
div.results td div.names {width:98%; text-overflow:ellipsis;}
div.results table thead { background: #DDDDDD; cursor:pointer }
div.results table thead th.sort_descending,
div.results table thead th.sort_ascending,
div.results table thead th.sort_option {
    background:#DDDDDE url('/Resources/Library.Images/mso-sprite2.png') right -171px; }
div.results table thead th.sort_option { cursor:pointer; }

div.results tr.dup.row_0 { color:red; text-decoration: none; /*background-color: #ccc !important*/; }
div.results tr.dup.row_1 { color:red; text-decoration: none; /*background-color: #ddd !important*/;}
div.results tr.dup.dup-num td.td_0 div::before {content: 'NUM ';color:#4715df; font-size:.7em; font-weight:bold; letter-spacing: .05px;vertical-align: text-top;}
div.results tr.dup.dup-pro td.td_0 div::before {content: 'PRO ';color:#4a78be; font-size:.7em; font-weight:bold; letter-spacing: .05px;vertical-align: text-top;}
div.results tr.dup.dup-pro.dup-num td.td_0 div::before {content: 'NUM + PRO ';color:#58ae2c; font-size:.7em; font-weight:bold; letter-spacing: .05px;vertical-align: text-top;}
/*div.results tr.row_0 { background: #EFEFEF; }
div.results tr.row_0_selected { background: #BED4E4; }
div.results tr.row_1_selected { background: #ECD1D1; }
div.results tr.row_0:hover { background: #AFAFAF; }
div.results tr.row_1:hover { background: #AFAFAF; }*/
div.results td { border: solid 1px #CCCCCC; padding-left:2px;}

div.results tr.selected_club_0,

div.results tr.current_athlete_0 { background: #ffeb3b !important; }
div.results tr.selected_club_1,
div.results tr.current_athlete_1 { background: #ffeb3b !important; }


/*  WHAT IS THIS?? */

div.results  tr.real-time img.real-time {
    width:100px;
    height:20px;
    position:absolute;
}




/****  NEW  ****/


div.results  tr.real-time { font-weight: bolder; }





/* mobile view */
div.results tbody.real-time tr.real-time { background:#FB7A1C; color: #FFFFFF !important;}
/* desktop view */
div.results tr.real-time td.real-time { background:#FB7A1C; color: #FFFFFF !important;}

div.results .fa-star { float: right; padding-right:2px }

div.results tbody.xxs .fa-share-alt,
div.results tbody.xs .fa-share-alt { float: none; padding:0 6px 0 6px}
div.results .fa-share-alt { float: right; padding-right:2px }

/*.medals-gold { background-color:#C98910 !important; }
.medals-silver { background-color:#A8A8A8 !important; }
.medals-bronze { background-color:#965A38 !important; }*/


.show-rotation table {
    border: solid medium;
}
.show-rotation table.rotation-1 { border-color: #FB7A1C; }
.show-rotation table.rotation-2 { border-color: #D72C2C; }
.show-rotation table.rotation-3 { border-color: #3465A1; }
.show-rotation table.rotation-4 { border-color: #1FA10A; }
.show-rotation table.rotation-5 { border-color: #5D5C71; }
.show-rotation table.rotation-6 { border-color: #000000; }

.in-rotation-wrapper .rotations {
    background: url('https://www3.meetscoresonline.com/Resources/Library.Images/Rotations.png') no-repeat;
    width: 24px;
    height: 24px;
    overflow: hidden;
}
.in-rotation-wrapper .rotations.rotation-1 { background-position: 0px 2px; }
.in-rotation-wrapper .rotations.rotation-2 { background-position: -24px 2px; }
.in-rotation-wrapper .rotations.rotation-3 { background-position: -48px 2px; }
.in-rotation-wrapper .rotations.rotation-4 { background-position: -72px 2px; }
.in-rotation-wrapper .rotations.rotation-5 { background-position: -96px 2px; }
.in-rotation-wrapper .rotations.rotation-6 { background-position: -120px 2px; }

.in-rotation-wrapper .rotations.in { background-position-y: -24px; }
.in-rotation-wrapper .rotations.in50 { background-position-y: -48px; }
.in-rotation-wrapper .rotations.in100 { background-position-y: -72px; }

.show-rotation tr {background-color: #ddd; color: white; font-style:italic; }
.show-rotation tr.in-rotation {background-color: inherit; color:inherit; font-style: inherit;}
.event-AA td.in-rotation {display:none }
.event-AA span.in-rotation {display:none }
.show-rotation .event-AA span { display:none }
.show-rotation .event-AA .in-rotation {display:inherit; }

.show-rotation .out-rotation span { display:none }
.show-rotation td.in-rotation span.place { display:none }

.missing-rotation-scores { display:none }

.medals span.place,
.medals span.score {
    color: #000;
}

.medals span.score.place-1,
.medals span.place { font-weight: bold; }


tr.real-time td.real-time span.score,
tr.real-time td.real-time span.place { color:#FFFFFF }

span.score {
    padding: 2px 4px 2px 2px;
    color:#999999;
}
span.place {
    color: #999999;
    font-size:.8em;
    }

div.results sup {
    font-size:.9em;
    vertical-align: -0.4em;
}

div.results sup:before {
    content:'.';
    font-size:1em;
    vertical-align: -0.1em;
}

tbody.ARTW tr.AAWinner {
    background-color: #f2dede;
}

tbody.ARTM tr.AAWinner {
    background-color: #d9edf7;
}
tr.AAWinner td.names {
    font-weight: bold;
}

tr.AAWinner {
    background-color: #d9edf7;
}

tr.top100 {
    background-color: #FB7A1C;
    color: white;
    font-size: 1.2em;
}
tr.top100 td {
	padding:3px;
    white-space: normal !important;
}
img.top100 {
    float: right;
}
img.top100Inline {
    float: initial;
}
.progress-down span.score {
    color: #D72C2C;
}

.progress-up span.score {
    color: #1FA10A;
}
div#results ul.meet_result {
    margin-left:20px;
}
div#events h2,
div#active_meets h2 { margin:0; }

div.sub-heading {
    border:3px solid #818181;
}

div#live_scores {
	min-height:150px;
}
div#live_scores table {
    width: 100%
}
div#live_scores table td.sponsor { width:305px }
div#live_scores .sponsor {
}
div#live_scores .sponsor a:hover { text-decoration:none }
div#live_scores .sponsor h4 {
    margin:0px;
    padding-bottom:4px;
    text-align:center;
    font-weight:800;
    /*background-color:#FFF;*/
}

div#live_scores .score-container {
    background-color: transparent;
    white-space:nowrap;
    text-align:center;
    line-height: 24px;
}

div#live_scores .scoreboard h4 { margin-top:14px; }

div#live_scores .card-body {
  padding: 8px;
  min-height: 45px;
  over-flow:hidden;
}

div#live_scores div.scoreboard {
    padding:6px;
}
div#live_scores div.score {
    padding:10px;
    font-size:1.45em;
}
div#live_scores span {
	display:block;
    padding:3px;
}
div#live_scores div.score span.score {
    color:#d4d4d4;
}
div#live_scores span.event {
    font-size:1.65em;
    padding:15px;
}
div#live_scores span.name {
    color:#1FA10A;
    font-weight:bold;
}


div#active_meets div.content,
div#events div.content { width:770px; }
div#active_meets div.content div.content_item div.banner,
div#events div.content div.content_item div.banner { margin-bottom:7px; }

div#active_meets li.title,
div#events  li.title{
    font-size:16px
}

div.results h2 {
    margin:10px 20px 0px 20px;
}
/*div.results h2 { background: #999999 }*/

ul.event li.description {
    font-size: .95em;
    padding-top:6px;
}
ul.event li.long_description {
font-size:.75em;
font-style:italic;
}

div.heading_wrapper { width:792px; }
div#google_addsense {
}

div#score_menu_bar {
    position:absolute;
    z-index:1;
}
div#score_menu_bar div.content {
    border:solid 2px #ccc;
    margin-top:-20px;
    margin-left:35px;
    /*background:white;*/
    padding:7px;
}
div#score_menu_bar h1,
div#score_menu_bar h2,
div#score_menu_bar h3,
div#score_menu_bar h4 { margin: 4px 0px 2px 0px }

div#score_menu_bar div.content p.instruction {
    width:430px;
}
div#score_menu_bar div.content form {
    padding:5px;
    border:solid 1px #999;
}
div#score_menu_bar div.popMenu {
    width:17px;
    height:15px;
    background:transparent url('/Resources/Library.Images/mso-sprite2.png') 412px -42px;
    cursor:pointer;
}
div.gymnast_info div.link_athlete {
    position:absolute;
    margin-left:400px;
    width:24px;
}
div.gymnast_info div.links {
    position:absolute;
    width:440px;
}
div.gymnast_info div.links img {
    float:right;
    cursor:pointer;
    display:block;
    margin-top:-25px;
}
/* customize ahtlete results */
div#achieive div.content_aa {

}

#official_results {
    width: 370px;
    margin:0;
    padding:0;
}
#official_results h2 {
    color:#818181;
    text-align:left;
    font-size:12pt;
    font-weight:bold;
    margin:10px 0px 2px 20px;
}

#official_results div.content {
    font-size: .98em;
    height: 400px;
    width:100%;
    overflow-y: scroll;
    border: solid 1px #CECECE;
    border-left-width:25px;
    border-right: none;
    margin: 5px 5px 15px 20px;
}
#official_results  div.content ul li.session_title {
    font-weight:bold;
    text-indent:0em;
}
#official_results div.content ul li {
    clear:right;
    text-indent:1.5em;
    margin-left:0;
}
#official_results div.content ul li span {
padding: 1px 4px 4px 1px;
}

#official_results div.content ul li span.link {
    float:right;
}
#results div.results {
    margin:0px;
}
#official_results div.report_builder {
    position:absolute;
    margin-left:430px;
    background:#ccc;
    border:solid 2px #999;
    width:300px;
    height:400px;
}

#official_results div.report_builder ul {
    list-style-image: url('/resources/library.icons/16x16/plus.png');
    list-style-position:inside;
}
#official_results div.report_builder span.value {
padding-right: 3px;
padding-left: 3px;
}
#official_results div.report_builder span.division {
    color:black;
    font-style:italic;
}
#official_results div.report_builder h2,
#official_results div.report_builder div.buttons
{
    height:23px;
    background:#999;
    margin:0px;
    padding:4px;
}
#official_results div.report_builder h2 { color: white; }
#official_results div.report_builder div.buttons {
    height:36px;
    background-color:#fff;
    border-top:solid 2px #999;
}
#official_results div.report_builder div.buttons input { float:right;}

#official_results div.report_builder div.builder_content {
height: 314px;
padding: 4px;
overflow-y: auto;
}
#official_results input.pdf {
    width:34px;
    height:35px;
    background: white url('/resources/library.icons/32x32/pdf.png') no-repeat;
    border:solid 1px #cecece;
    border-right:solid 2px #999;
    border-bottom:solid 2px #999;
}
#official_results li.meet_title,
#official_results li.meet_scoresfor {
    background-color:#efefef;
    text-align:center;
}
#official_results li.meet_scoresfor { font-weight: bold }
#your_account_container ul.common_dropdown {
    margin-top:5px;
}
#results_nav .common_dd_container {
    margin-top:10px;
}
#results_nav ul.common_dd {
    width:260px;
    margin-left:513px;
}
.navbar .nav.pull-right {
    float:right !important;
}

.nav-collapse.collapse {
    height: auto !important;
    overflow: visible !important;
}

.event-content .content_item {
    clear:both;
    height: 195px;
    margin-top:15px;
}

 .header-container
 .event-content .tools {
    position: absolute;
    margin-top: 171px;
    margin-left: 105px;
}
.header-container
 .event-content .tools li { display:table-cell; }


.visible-xs .btn-group {
    margin-top: 12px;
    margin-left: -16px;
}


.table tbody.ActiveMeets th
{
	background:#1FA10A;
	width:7px;
	padding:2px 6px 2px 4px;
}

.table tbody.RecentEvents th
{
	background:#FB7A1C;
	width:7px;
	padding:2px 6px 2px 4px;
}


/* big desktop */
@media (min-width: 992px) {
    div.results table { font-size: 11pt; }

    div.results th.scores_header_0,
    div.results th.scores_header_1,
    div.results th.scores_header_2,
    div.results th.scores_header_3,
    div.results th.scores_header_4,
    div.results th.scores_header_5,
    div.results th.scores_header_6,
    div.results th.scores_header_7 { width:88px; }


    div.results th.header_0 {width: 175px;}
    div.results th.header_1 {width: 155px;}
    div.results th.header_4 {width: 95px;}
    div.results td div.names {width: 98%; }

}

div.in-rotation-wrapper {max-width: 977px; }
div.label-showing-rotation {max-width: 977px; }

/* team results */
div.results .team-results th.header_1,
div.results .team-results th.header_2,
div.results .team-results th.header_3,
div.results .team-results th.header_4 { width: 65px; text-align:left; }

#fixed_results_header caption {
    padding:5px;
    background-color: #ccc;
}

@media (min-width: 768px) {
    #secondary_nav
    .navbar-header {
        width:100%;
    }
    #secondary_nav
    .navbar-toggle {
        float: right;
        display: block;
    }
}

/* xs small */
@media (max-width: 768px) {
    #fixed_results_header {
        left:0px;
    }
    .body-wrap {
        margin-top:15px;
    }
    div.results {
        padding:0px;
    }
    div.results th { color:#3465A1; width: Auto}
    div.results table {
        width:100%;
        font-size:14pt;
    }
    div.results tbody.event-scores { margin-after:'12px' }
    div.results td.gym,
    div.results tr.spacer td, div.results td.profile { border: none }
    div.results td.profile img { margin-left: 25%; width:50%; }
    div.results td.score { text-align:right; }
    div.results table thead span { color:#999; }
    div.results table th {
        padding:8px 2px 2px 2px;
    }
    .event-content .content_item {
        height: auto;
    }

	.event-content h1
	{
		margin:0;
		padding:0;
	}
	.event-content #event_details_nav {
	    padding:5px;
	}

	.well.event-header
	{
    	background: none;
    	border: none;
    	margin-bottom:0px;
	}

	}
    .event-content .dates .thru { padding-left:3px; padding-right:3px }
    .event-content .dates li { display:table-cell }

}
/* xxs small (phones) */
@media (max-width: 375px) {
    body { font-size: 14pt }
    .meets ul {
        width:95%;
    }
}

