@import url(http://fonts.googleapis.com/css?family=Open+Sans);

body {
	background-color: #eee;
	background-image: url(../images/patterns/light_toast.png);
	color: #666;
	font-family: 'Open Sans', sans-serif;
	font-size: 12px;
	margin:0px;
	padding:0px;
}

@media(min-width:768px) {
	div#main_content{
		margin-left:30px;
		margin-right:30px;
		padding: 5px 25px 5px 25px;
		width: 1300px;
		max-width: 99%;
		margin: auto;
	}
	div.inner {
		padding: 0 50px;
	}
	#image_div{
		margin-top: 50px;
	}
}

#main_content{
	background-color: #fff;
}

a {
	color: #0000FF;
	text-decoration: none;
}

a:hover {
	color: #0000FF;
}

ol, ul {
	padding:0px;
	margin:0px;
}

#wrap {
	margin: 0 auto;
}

.fa {
	color: #565656;
	font-size:20px;
}

table#grades
{
	border-collapse: separate; 
	border-spacing: 0; 
	border: 1px solid black;
	border-radius: 10px; 
	padding: 5px;
	text-align: center;
	margin-bottom: 20px;
	margin-top: 20px;
}

#grades td 
{
	padding-bottom: 0;
}

#grades th 
{
	text-align: center;
}

div.content{
	padding: 0px 30px 20px 30px;
	margin: 0px 20px 10px 20px;
	position: relative;
	display: block;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
    text-align: left;
}

.content a{
	color: #0000FF;
}

.content a:hover{
	text-decoration: underline;
	color: #0000FF;
}

.content hr{
	border-color: #000;
	width: 100%;
	float: left;
}

.content h4{
	font-weight: 600;
	color:#000;
}

.content h3{
	font-weight: 600;
	color:#000;
}

.content img{
	padding-top: 30px;
}

.content ul{
	padding-left: 20px;
	list-style-type: disc;
}

.content table{
	table-layout: fixed;
	width: 100%;
}

.content td{
	height:0px;
	padding-bottom: 15px;
	padding-right: 5px;
	vertical-align: top;

}

.content dd{
	margin-left: 40px;
}

@media(max-width:768px) {
    .content hr {
        width: 100%;
    }
}

.content li{
	padding-bottom: 10px;
}

.inner {
	margin: 0 auto;
	max-width: 1300px;
	padding: 0 40px;
}

.relative {
	position: relative;
}

.right {
	float: right;
}

.left {
	float: left;
}

/* HEADER */
#wrap > header {
	background-color: #333;
	padding-bottom: 10px;
}
.logo {
	display: inline-block;
	font-size: 0;
	padding-top:15px;
}
#navigation {
	position: absolute;
	right: 40px;
	bottom: 0px;
}

#menu-toggle {
	display: none;
	float: right;
}

/* HEADER > MENU */
#main-menu {
	float: right;
	font-size: 0;
	margin: 0px 0;
}

#main-menu > li {
	display: inline-block;
	margin: 0 20px 0 30px;
	padding: 2px 0;
}

#main-menu > li.parent {
	background-image: url(../images/plus-gray.png);
	background-size: 7px 7px;
	background-repeat: no-repeat;
	background-position: left center;
}

#main-menu > li.parent > a {
	padding-left: 14px;
}

#main-menu > li > a {
	color: #eee;
	font-size: 16px;
	line-height: 14px;
	padding: 30px 0;
	text-decoration:none;
}

#main-menu > li:hover > a,
#main-menu > li.current-menu-item > a {
	color: #801A00;
}

/* HEADER > MENU > DROPDOWN */
#main-menu li {
	position: relative;
}

ul.sub-menu { /* level 2 */
	display: none;
	left: 0px;
	top: 18px;
	padding-top: 10px;
	position: absolute;
	width: 150px;
	z-index: 9999;
}

ul.sub-menu ul.sub-menu { /* level 3+ */
	margin-top: -1px;
	padding-top: 0;
	left: 149px;
	top: 0px;
}

ul.sub-menu > li > a {
	background-color: #333;
	border: 1px solid #444;
	border-top: none;
	color: #bbb;
	display: block;
	font-size: 12px;
	line-height: 15px;
	padding: 10px 12px;
}

ul.sub-menu > li > a:hover {
	background-color: #2a2a2a; 
	color: #801A00;
}

ul.sub-menu > li:first-child {
	border-top: 3px solid #AD3333;
}

ul.sub-menu ul.sub-menu > li:first-child {
	border-top: 1px solid #444;
}

ul.sub-menu > li:last-child > a {
	border-radius: 0 0 2px 2px;
}

ul.sub-menu > li > a.parent {
	background-image: url(../images/arrow.png);
	background-size: 5px 9px;
	background-repeat: no-repeat;
	background-position: 95% center;
}

#main-menu li:hover > ul.sub-menu {
	display: block; /* show the submenu */
}

.center {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 50%;
}

.center2 {
	display: block;
	margin-left: auto;
	margin-right: auto;
	max-width: 100%;
}

.center-text {
	margin-left: auto;
	margin-right: auto;
}

.fixed {
	display: block;
	margin-left: auto;
	margin-right: auto;
	max-width: 100%;
	height: auto;
	border: 0;
}

.responsive {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 25%;
	height: auto;
	border: 0;
}

.responsive2 {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 80%;
	height: auto;
	border: 1px solid rgb(0, 0, 0);
}

.definition, .fact, .property {
    background-color: #ebffff;
    border: 2px solid #000000;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    width: 100%;
    padding: 5px;
    margin: 5px 0 20px 0;
    box-shadow: 0 0 3px 2px #53a6ea;
}

.definition-title {
    font-weight: bold;
}

/* EXAMPLE */
.example {
    border: 2px solid #000000;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    width: 100%;
    padding: 5px;
    margin: 0 0 20px 0;
    box-shadow: 0 0 3px 2px #a3d0f5;
}

.example-title {
    font-weight: bold;
    font-style: italic;
}

.example-content {
    padding: 10px 5px 0 5px;
}

.SH-Link {
    font-size: smaller;
    font-weight: bold;
    color: #0000cc;
}

.soln-title {
    font-weight: bold;
    font-style: italic;
    font-size: unset;
    display: inline-block;
    padding-bottom: 5px;
}

.soln-content {
	display: none;
}




/* BARRA NAVEGACION */
/* Sticky navbar - toggles between relative and fixed, depending on the scroll position. It is positioned relative until a given offset position is met in the viewport - then it "sticks" in place (like position:fixed). The sticky value is not supported in IE or Edge 15 and earlier versions. However, for these versions the navbar will inherit default position */
.navbar {
	overflow: hidden;
	background-color: #333;
	position: sticky;
	position: -webkit-sticky;
	top: 0;
  }
  
  /* Style the navigation bar links */
  .navbar a {
	float: left;
	display: block;
	color: white;
	text-align: center;
	padding: 14px 20px;
	text-decoration: none;
  }
  
  
  /* Right-aligned link */
  .navbar a.right {
	float: right;
  }
  
  /* Change color on hover */
  .navbar a:hover {
	background-color: #ddd;
	color: black;
  }
  
  /* Active/current link */
  .navbar a.active {
	background-color: #666;
	color: white;
  }
  
.header-divider {
height: 1px;
margin: 10px 0 5px 0;
border-bottom: 2px solid #2c98f0;
box-shadow: 0 2px 3px rgb(0 0 0 / 70%);
}

.section-divider {
	height: 1px;
	margin: 10px 100px 30px 0;
	border-bottom: 2px solid #2c98f0;
	box-shadow: 0 2px 3px rgb(0 0 0 / 70%);
	}

.section-divider-shorter {
	height: 1px;
	margin: 10px 190px 30px 0;
	border-bottom: 2px solid #2c98f0;
	box-shadow: 0 2px 3px rgb(0 0 0 / 70%);
	}


@media all and (max-width: 700px) {

	#navigation {
		position: static;
		margin-top: 20px;
	}

	#menu-toggle {
		display: block;
		color:#FF9900;
	}

	#main-menu {
		display: none;
		float: none;
	}

	#main-menu li {
		display: block;
		margin: 0;
		padding: 0;
	}

	#main-menu > li {
		margin-top: -1px;
	}

	#main-menu > li:first-child {
		margin-top: 0;
	}

	#main-menu > li > a {
		background-color: #333;
		border: 1px solid #444;
		color: #bbb;
		display: block;
		font-size: 14px;
		padding: 12px !important;
		padding: 0;
	}

	#main-menu li > a:hover {
		background-color: #444; 
	}

	#main-menu > li.parent {
		background: none !important;
		padding: 0;
	}

	#main-menu > li:hover > a,
	#main-menu > li.current-menu-item > a {
		border: 1px solid #444 !important;
		color: #801A00 !important;
	}

	ul.sub-menu {
		display: block;
		margin-top: -1px;
		margin-left: 20px;
		position: static;
		padding: 0;
		width: inherit;
	}

	ul.sub-menu > li:first-child {
		border-top: 1px solid #444 !important;
	}

	ul.sub-menu > li > a.parent {
		background: #333 !important;
	}
}
