/* This is the override file for math4.css.  If you copy 
 * math4-overrides.css.dist to math4-overrides.css you can edit the
 * values contained in this file and they will override the css values 
 * normally used for math4.  This includes colors, padding, spacing, and
 * so on.  
 *
 * If you upgrade your machine this file will not be overwritten, however, the 
 * math4.css and math4-overrides.css.dist file may change.  If this happens it
 * may cause problems with your theme until your reconcile the changes with 
 * your modifactions here.  (Similar to how localOverrides.conf works.) 
 */

/*  These are the "main" colors of the theme.  Use search/replace to override
 *  them.  
 *  Dark Blue #003388
 *  Light Blue #0157E8
 *  Dark Green #519951
 *  Light Green #88FF88
 *  Dark Red #BF5454
 *  Light Red #D69191
 *  Dark Yellow #7E7634
 *  Light Yellow #EDE275
 */

/* Gotchas:  By default using this file removes much of the "dynamic"
 * elements of bootstrap, like grading on the buttons, or a slighlty different
 * highlight color on the buttons. This is done for ease of configuratoin.  
 * If you copy the code in htdocs/js/vendor/bootstrap/css/bootstrap.css
 * you could get these features working again with effort.  
 * 
 * Using this file also changes some of the math4 colors to be more uniform.  
 * This is to make as few colors as possible for ease of changing the
 */

/* Color for links and link hover */
.btn:focus,
a:focus {
    outline-color:#aaaa00;
}

a {
  color: #003388;
}

a:hover,
a:focus {
  color: #0157E8;
}

/* Color for the dark blue buttons */
.btn-primary {
  color: #ffffff;
  background-color: #003388;
  background-image: none;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-primary.disabled,
.btn-primary[disabled] {
  color: #ffffff;
  background-color: #003388;
}

/* Colors for the light blue buttons */
.btn-info {
  color: #ffffff;
  background-color: #0157E8;
  background-image: none;
}
.btn-info:hover,
.btn-info:focus,
.btn-info:active,
.btn-info.active,
.btn-info.disabled,
.btn-info[disabled] {
  color: #ffffff;
  background-color: #0157E8;
}

/* colors for the masthead */
#masthead {
    background-color: #003388;
}

/* Color for the background of the webwork logo */
.webwork_logo {
    background-color: #003388;
    border-color: #003388;
}

#masthead a {
    color: white;
}

#loginstatus {
    color: white;
}

#loginstatus a {
    color:black;
}

/* colors for the left hand nav list */
#site-links ul {
	border: 1px solid #e6e6e6;
	background: #f6f6f6;
}

.nav-list > .active > a,
.nav-list > .active > a:hover,
.nav-list > .active > a:focus {
    color: #ffffff;
    background-color: #003388;
}

ul.nav li a:hover {
	background: #e1e1e1;	
}

/* The breadcrumb nav */
.breadcrumb {
	border: 1px solid #e6e6e6;
}

/* The courses list coloring */
ul.courses-list a {
	border: 1px solid #e6e6e6;
	background: #f6f6f6;
}

ul.courses-list a:hover {
	background: #003388;
	color: white;
}

/* Info box (right hand box) coloring */
.info-box {
	border: 1px solid #e6e6e6;
	background: #f6f6f6;
}

.info-box h2, .info-box h3, .info-box h4, .info-box h5, .info-box h6 {
	background: #003388;
	color: white;
}

#InfoPanel {
    background-color: #fffffff;
}

/* Problem rendering formatting */
div.RenderSolo { 
    background-color: #E0E0E0; 
    color: black; 
}

/* problem tag blue color */
div.AuthorComment { 
    background-color: #00E0E0; 
    color: black; 
}

.RenderSolo hr,
.problem-content hr {
  border-top-color: rgb(22,22,22);
}

/* Colors for "neutral" messages */
div.WarningMessage { 
    background-color: #EDE275; 
}

div.showMeAnotherBox { 
    background-color: #EDE275; 
    border-color: #EDE275; 
} 

label.WarningMessage { 
    background-color: #EDE275; 
}

span.ResultsAlert { 
    color: #7E7634; 
    background-color: inherit; 
} 

div.ResultsAlert { 
    color: #7E7634; 
    background-color: inherit; 
} 

label.ResultsAlert {
    color: #7E7634; 
    background-color: inherit; 
} 

span.WarningMessage { 
    background-color: #EDE275; 
}

span.unattempted { 
    color: inherit; 
    background-color: #EDE275;
}

td.FeedbackMessage { 
    background-color:#EDE275;
} 

div.gwMessage { 
    background-color: #EDE275;
}

/* Colors for "green" messages */
div.ResultsWithoutError { 
    color: inherit; 
    background-color: #88FF88; 
} 

td.ResultsWithoutError { 
    background-color:#88FF88;
}

label.ResultsWithoutError { 
    color: #519951; 
    background-color: inherit; 
} 

span.ResultsWithoutError { 
    color: inherit; 
    background-color:#88FF88;
} 

span.correct { 
    color: inherit; 
    background-color: #88FF88; 
}

div.gwCorrect { background-color: #88FF88; }

/* Colors for "red" messages */
div.ResultsWithError { 
    color: #BF5454; 
    background-color: inherit; 
} 

label.ResultsWithError { 
    color: #BF5454; 
    background-color: inherit; 
}

td.ResultsWithError { 
    background-color:#D69191; 
    color: black;
}

span.ResultsWithError { 
    color: #BF5454; 
    background-color: inherit; 
} 

span.incorrect { 
    color: #BF5454; 
    background-color: inherit; 
}

div.gwIncorrect { background-color: #D69191; }

/* Other formatting for attempt results and the problem page */
table.attemptResults th {
	color: inherit;
	background-color: #DDDDDD;
}

span.ResultsWithErrorInResultsTable { 
    color: inherit; 
    background-color: inherit; } 


/* Comment coloration */
.answerComments {
    border-color: gray;
    background-color: #E8E8E8;
}

/* highlights mistakes */
.parsehilight { 
    color: inherit; 
    background-color: #EDE275; 
}

/* gw stuff */
div#gwTimer {
	background-color:#EDE275;
}
div#gwScoreSummary {
	background-color:#EDE275;
}

/* Misc */
.temporaryFile { 
    color: #FF6600; b
    background-color: inherit; 
}

#editor{
    background-color: #FFFFFF;
}

.admin-messagebox {
    background-color: #EDE275;
}

/* Achievement bar coloring */
.levelinnerbar {
    background-color: #0157E8;
}

.cheevoinnerbar {
    background-color: #0157E8;
}

/* Config tab coloring */
.config-tabs span.current {
	background-color: #003388;
}
