/* Name:    mrcargill.css
 * Purpose: Provide styling for Mr. Cargill's website.
 * Date:    December 6, 2019
 */

/* Body */

html, body {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

body {
  background-image: url("../images/background.jpg");
  background-color: #fff;  
  color: #0D0D87; 
  width: 100%;
}

/* Header */

header {
  background-color: #fff;  
  font-family: Tangerine, cursive, Arial, Helvetica, sans-serif;
  text-shadow: 2px 2px 4px #888;
  font-size: 3.125em;  
  font-weight: bold;
  display: inline-block;
  margin: 0;
  height: 160px;
  width: 100%;
  padding-left: 1%;
}

.oneLineHeader {
  line-height: 160px;
}

.twoLineHeader {
  line-height: 75px;
}

.figureHeader {
  float: right;
  line-height: 150px;
}

.figureBody {
  text-align: center;
}

/* Links */

a {
  text-decoration-skip-ink: none;
}

a:link {
  color: #0D0D87;
}

a:visited {
  color: #0D0D87;
}

a:hover {
  text-decoration: none;
  color: #FF0000;
}

/* Body Classes */

.mainContent {
  background-color: #fff;  
  display: inline-block;
  padding-top:1%;
  padding-left: 1.5%;
	padding-right: 1.5%;
	min-height: 695px;
  width: 100%;
  /*
  margin-right: 17.5%;    
  margin-bottom: 1%;
  margin-left: 17.5%;
  width: 65%;
  height: 480px; */
  background-image: url("../images/javalogo.jpg");
  background-position: center;
  background-repeat: no-repeat;
}

.calendars {
  text-align:left;
  /*margin-left: 46%;*/
  margin-top: -5px;  
}

/* Headings */

h1 {
  font-family: Tangerine, cursive, Arial, Helvetica, sans-serif;
  text-shadow: 2px 2px 4px #888;
  font-size: 3.125em;
  font-weight: bold;
  text-align: center;
  margin: 0px 0px 0px 0px;  
}

h2 {
  font-family: Tangerine, cursive, Arial, Helvetica, sans-serif;
  text-shadow: 2px 2px 4px #888;
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin: 0px 0px 0px 0px;  
}

h3 {
  font-family: Tangerine, cursive, Arial, Helvetica, sans-serif;
  text-shadow: 2px 2px 4px #888;
  font-size: 1.875em;
  font-weight: bold;
  text-align: center;
  margin: 0px 0px 0px 0px;  
}

h4 {
  font-family: Tangerine, cursive, Arial, Helvetica, sans-serif;
  text-shadow: 2px 2px 4px #888;
  font-size: 1.25em;
  font-weight: bold;
  text-align: center;
  margin: 0px 0px 0px 0px;  
}

/* Paragraph */

p {
  margin-top: 12px;
  /*margin-right: 15px;*/
  margin-bottom: 12px;
  margin-left: 0px;
  text-align: justify;
  font-family: Verdana;
  font-size: 14px;
  color: #0D0D87;  
}

/* Navigation */

.navbar {
  background-color: #F0DC18 !important;
	margin: 0px;
  min-height: 20px;
  padding-top: 0px;
  padding-bottom: 0px;
}

/***************************/
.bg-light {
  color: #0D0D87 !important;  
}
/***************************/

.navbar a {
  color: #0D0D87 !important;    
}

.navbar a:hover {
	color: #FF0000 !important; 
}

.dropdown-menu {
  background-color: #F0DC18;		
}

.dropdown-menu > li a:hover,
.dropdown-menu > li.show {
	background: #F0DC18;
	color: #FF0000;
}

.dropdown-menu > li.show > a{
	color: #FF0000 !important;
}

/* Footer */

footer {
  background: #F0DC18;    
  color: #0D0D87;
  float: left;  
  /*margin: 8px 22px 8px 22px;*/
  /*padding: 5px;*/
  width: 100%;  
}

.footerLeft {
  float: left;
  text-align: left;
  width: 12%;
  padding-left: 10px;
}

.footerCenter {
  float: left;  
  text-align: center;
  width: 76.5%;
}

.footerRight {
  background: #F0DC18;    
  float:right;
  text-align: right;
  width: 10%;
  padding-right: 10px;
}

/* Schedule */

.scheduleMain {
  color: #0D0D87;  
  clear: both;
  width: 100%;
}

.scheduleRow {
  width: 535px; 
  margin-right: auto; 
  margin-left: auto;
}

.schedulePeriod {
  width: 100px;
  text-align: right; 
  margin-right: 10px;
  float:left;
}

.scheduleTime {
  width: 36px;
  text-align: right;
  float:left;
}

.scheduleDash {
  width: 15px;
  text-align: center;
  float: left;
}

.scheduleCourse {
  width: 310px;
  text-align: left;
  margin-left: 20px;
  float:left;
}

/* Contact Info */

.contactInfo {
  color: #0D0D87;
  width: 210px;
  text-align: left;
  margin-right: auto; 
  margin-left: auto;
}

/* Newly Added for Schoology Resources */
  
.algorithmHeading {
  text-align: center;
  line-height: .7em;
  padding-top: .5em;
  font-size: 32px;
  color: #0000ff;
  font-weight: bold;
  text-shadow: 2px 2px 5px #000035;    
}

.complexityHeading {
  text-align: center;
  line-height: .0125em;
  font-size: 12px;
  color: #0000ff;
  font-weight: bold;
  text-shadow: 1px 1px 5px #000035;
}


/* Media Queries */

@media screen and (max-width: 1200px) {

  html, body {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  
  p {
    font-size: 25px;
  }
  
  nav {
    font-size: 25px;
  }
    
  /* Attempting to get dropdowns to 25px - not correct yet... */
  
  nav > li > li > a{
    font-size: 25px;    
  }


}
