@charset "utf-8";
/* CSS Document */

#content h2 { width: 100%;
}
.bg-light p, .bg-lightgray p {
    background: transparent !important;
}
input.ckBtn {
    padding: 0.2rem 0.75rem;
    vertical-align: middle;
	width: auto;
}
/************************STEP 2**********************/
.variable_container {
    margin: .5em 0 2em 0;
    padding: .5em;
    background: #fbfbfb;
    border: 1px solid #ccc;
}

.step-1 .byvar_container {border-bottom: none; width: 49%;}

@media (max-width: 885px) {
	.step-1 .byvar_container {width: 100%;}
}
.step-1 p, .variable_container p, .custom p {background: transparent !important; padding-top: 0 !important;}

.byvar_container .var_range_container {
    margin-left: 1.3em;
	width: 100%;
}
div#racenatv {
    max-width: none !important;
    flex: 0 0 100%;
}
.custom {border-left: 1px solid #ccc; margin-left: 1rem; padding-top: 0; padding-left: 1rem;}
.custom .var_range_container {margin-left: 0;}
.custom label {font-weight: bold;}
.custom h3 {padding-top: 0;}

.checkList {
    padding: .5rem;
    width: 100% !important;
    border: 1px solid #ccc;
    max-height: 15rem;
    height: auto;
    overflow-y: auto;
	float: none;
	line-height: 2;
}

.subList label {display: flex; align-items: baseline;}
fieldset .row:last-child .checkList {
    max-height: none;
}
.selections select {width: 100%;}
.listWrap select {
	width:100% !important;
	border: 1px solid #ccc;
	height: auto;
	max-height: 15rem !important;
	overflow-y: auto;
}
select#selAgeGrp {
    width: 100%;
    margin-bottom: .5rem;
}
select[disabled] {
    background: transparent;
    border: none;
}
select[disabled] option {
    color: #000 !important;
}
input[type="radio"], input[type="checkbox"] {
    margin-right: .3rem;
}
.subList input[type="checkbox"] {margin-right: 0 !important; max-width: 20px;}
.subList label div.col-11 {margin-top: -5px;}
legend {
	float: none;
    background: #444;
    margin: 0 0 .25em -.55em;
    padding: .2em 1em;
    display: block;
    width: auto;
    font-weight: bold;
    color: #fff;
}
#db_type_container {
    margin: 0 0 0 1.75em;
    font-size: .9em;
    color: #666;
}
div#db_type_container.db-name {
    margin-left: 0;
}
.no_underline {
	text-decoration:none;
}

.graph_example {
	border: 4px #ededed solid;
	padding:10px;	
}

.label1 {
	position:relative;	
	float: left;
	margin-right:20px;
}

.label2 {
	position:relative;	
	float: left;
	width: 50%;	
}

.label1 .graph_example, .label2 .graph_example {
	margin-top:20px;	
}

.centered {
	margin-left:70px;
	margin-top:3%;	
}

@media (max-width:568px) {	
	.centered {
		margin-left:0;	
	}
	.label1, .label2 {
		width:100%;	
	}
}

/********************STEP 3*****************************/
.tbldim {border-top: 1px solid #ccc;}
a.simInfo {vertical-align: super;}
.ratio {
    background: #fff;
    border: 1px solid #ccc;
    padding: 1rem;
}
.ratio>* {
    position: relative;
}
.ratio h3 {padding-top: 0;}

#three-boxes {padding-top: 0;}

.topvars, .options {margin-bottom: 2em;}
.topvars fieldset.col-md-4 {
    background: #fbfbfb;
    border: 1px solid #ccc;
    margin-right: 1rem;
    max-width: 31% !important;
}
@media (max-width: 768px) {
	.topvars fieldset.col-md-4 {width: 100%!important; max-width: 100% !important;}
	input#btnPage, #btnRow {
		margin: 0 !important;
	}
}

.topvars legend {margin: 0 0 .25em -.85em;}
select#tblvar, #three-boxes select {
    height: auto;
    width: 100%;
}
select#tblvar {
    width: auto;
	min-width: 200px;
}
.row.strat {margin-left: 0; margin-right: 0;}
.graph-text {
	position:absolute;
	left:0;
	top:-15px;
	font-weight:bold;	
	font-size:.8em;
}

#callout {
	position:relative;
	float:right;
	width: 220px;
	border:	4px #ededed solid;
	margin: 0 0 20px 20px;
	background-color: #F8FAFA;
	text-align:center;
	padding-bottom:2%;
}

@media (max-width:568px) {	
	#callout {
		width:100%;	
		margin-top:2%;
	}
}

#callout h2 {
	padding: 10px 5px;	
}

#callout img {
	padding: 0 5%;
	margin-bottom:5%;
}


ul.margin-lg {
    margin: 0;
    padding: 5px 10px 5px 20px;
}

p.center {
	text-align:center;	
}
/****form error and success messages***/

.error{
  display:none;
  color:red;
}

.success {
	display:none;
  	color:red;	
}

/********************STEP 4*****************************/
#progressIcon {
	font-weight: bold;
	display: block;
	resize: none;
	border: none;
	text-align: center;
	width: 100%;
	padding-bottom: 60px;
	background: url("/sparc/css/loading.gif") center bottom no-repeat;
	overflow-y: hidden;
}
.progressWrapper {
	text-align: center;
	width: 100%;
	padding-top: 10px;
}
.progressText {
	width: 33%;
	float: left;
	text-align: right;
	font-weight: bold;
	display: block;
	margin-right: 10px;
}
.prog-border {
	height: 20px;
	width: 33%;
	float: left;
	background: #fff;
	border: 1px solid #eee;
	font-family: verdana, arial, sans-serif;
	font-size: 10px;
	color: #000;
}
.prog-bar {
	height: 19px;
	padding: 0;
	background: #94C4DA;
	font-family: verdana, arial, sans-serif;
	font-size: 10px;
	color: #000;
}
.progressCount {
	float: left;
	border: none;
	background: transparent;
	resize: none;
	width: 200px;
	text-align: left;
	margin-left: 2px;
	overflow-y: hidden;
	height: 24px;
}

/**************TABLE*****************/
.table td, .table th {
    padding: .3rem;
	text-align: center;
}

#statetblForm td, #statetblForm th {
	padding: 5px;
}

/*********Modal***********/
.ui-dialog .ui-dialog-titlebar-close {
    position: absolute;
    right: 0.3em;
    top: 3px;
    width: auto;
    margin: 0;
    padding: 5px;
    height: auto;
	border: 1px solid #ccc;
}
.ui-dialog .ui-dialog-titlebar-close:after {content: "Close";}
.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus, .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset button:focus, .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset button:hover {border: 1px solid #000;}

.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset button {border: 1px solid #ccc;}