/*
 Theme Name:   UMD PHY879 Theme V1
 Description:  Twenty Twelve Child Theme for the UMD PHY879 Course with iframe
 Author:       Marco Gajardo
 Author URI:   http://members.aei.mpg.de/gajardo
 Template:     twentytwelve
 Version:      1.0.0
*/

/* =Theme customization starts here
-------------------------------------------------------------- */
/* open-sans-regular - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/open-sans-v34-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('./fonts/open-sans-v34-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./fonts/open-sans-v34-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('./fonts/open-sans-v34-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('./fonts/open-sans-v34-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('./fonts/open-sans-v34-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-700 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('./fonts/open-sans-v34-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('./fonts/open-sans-v34-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./fonts/open-sans-v34-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('./fonts/open-sans-v34-latin-700.woff') format('woff'), /* Modern Browsers */
       url('./fonts/open-sans-v34-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('./fonts/open-sans-v34-latin-700.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-italic - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  src: url('./fonts/open-sans-v34-latin-italic.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('./fonts/open-sans-v34-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./fonts/open-sans-v34-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('./fonts/open-sans-v34-latin-italic.woff') format('woff'), /* Modern Browsers */
       url('./fonts/open-sans-v34-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('./fonts/open-sans-v34-latin-italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-700italic - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 700;
  src: url('./fonts/open-sans-v34-latin-700italic.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('./fonts/open-sans-v34-latin-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./fonts/open-sans-v34-latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('./fonts/open-sans-v34-latin-700italic.woff') format('woff'), /* Modern Browsers */
       url('./fonts/open-sans-v34-latin-700italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('./fonts/open-sans-v34-latin-700italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* Minimum width of 960 pixels. */
@media screen and (min-width: 960px) {
	body {
		background: #d8e5ee; /* Old browsers */
		/* IE9 SVG, needs conditional override of 'filter' to 'none' */
		background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Q4ZTVlZSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlOGVmZjUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
		background: -moz-linear-gradient(top,  #d8e5ee 0%, #e8eff5 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d8e5ee), color-stop(100%,#e8eff5)); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top,  #d8e5ee 0%,#e8eff5 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top,  #d8e5ee 0%,#e8eff5 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top,  #d8e5ee 0%,#e8eff5 100%); /* IE10+ */
		background: linear-gradient(to bottom,  #d8e5ee 0%,#e8eff5 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d8e5ee', endColorstr='#e8eff5',GradientType=0 ); /* IE6-8 */
	}

	body .site {
		box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
		-webkit-box-shadow: 0 0 20px rgba(100, 100, 100, 0.5);
		-moz-box-shadow: 0 0 20px rgba(100, 100, 100, 0.5);
	}

	/* Header */
	#aei-logo {
		float: left;
		margin-right: 1em;
	}

	#masthead h1,
	#masthead h2 {
		clear: none;
	}
	.site-header h1,
	.site-header h2 {
		line-height: inherit;
	}
	.site-header h1 {
		margin-bottom: 0.5em;
	}
	.site-header h1 a {
		color: #004e93;
		font-weight: 500;
	}
	.site-header h1 a,
	.site-header h1 a:hover {
		color: #004e93;
	}

	/* Navigation Menu */
	.main-navigation {
		background-color: #004F94;
		margin-top: 3.21429rem;
	}
	.main-navigation ul.nav-menu,
	.main-navigation div.nav-menu > ul {
		padding-left: 0.5em;
		border: none;
	}
	.main-navigation li a,
	.main-navigation .current-menu-item > a,
	.main-navigation .current-menu-ancestor > a,
	.main-navigation .current_page_item > a,
	.main-navigation .current_page_ancestor > a {
		color: #ffffff;
	}
	.main-navigation li a:hover,
	.main-navigation li a:focus {
		color: #ffffff;
		text-decoration: underline;
	}

	.main-navigation li ul li a,
	.main-navigation .children li a {
		background: #eff1f3;
		color: #014f94;
		border-bottom: 1px dotted #006699;
	}
	.main-navigation li ul li a:hover,
	.main-navigation li ul li a:focus {
		background: #FFFFFF;
		text-decoration: none;
		color: #014f94;
	}

	/* Breadcrumb Navigation */
	#breadcrumb-navigation {
		font-size: 85%;
	}

	/* Featured Image in page */
	.entry-header img.wp-post-image {
		float: right;
		max-height: 350px;
		width: auto;
		margin-left: 4rem;
	}

}

/* Footer */
.site-info {
	float: left;
}

ul.footer-links {
	float: right;
	list-style: none;
}

ul.footer-links li {
	float:left;
	margin-right: 1em;
}

ul.footer-links li:last-child {
	margin-right: 0;
}

#syllabus tbody tr td,
#tableHomework tbody tr td,
#tableStudents tbody tr td {
  border: 1px solid #000000;
}

#masthead hgroup.flex-container {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-direction: normal;
    -moz-box-direction: normal;
    -webkit-box-orient: horizontal;
    -moz-box-orient: horizontal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-pack: justify;
    -moz-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-box-align: start;
    -moz-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    }

#masthead .flex-item:nth-child(1) {
    -webkit-box-ordinal-group: 1;
    -moz-box-ordinal-group: 1;
    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    -webkit-box-flex: 0;
    -moz-box-flex: 0;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-align-self: auto;
    -ms-flex-item-align: auto;
    align-self: center;
    }

#masthead .flex-item:nth-child(2) {
    -webkit-box-ordinal-group: 1;
    -moz-box-ordinal-group: 1;
    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    -webkit-box-flex: 0;
    -moz-box-flex: 0;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-align-self: center;
    -ms-flex-item-align: center;
    align-self: center;
    text-align: center;
    }

#masthead .flex-item:nth-child(3) {
    -webkit-box-ordinal-group: 1;
    -moz-box-ordinal-group: 1;
    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    -webkit-box-flex: 0;
    -moz-box-flex: 0;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-align-self: auto;
    -ms-flex-item-align: auto;
    align-self: center;
    }

/*
    Legacy Firefox implementation treats all flex containers
    as inline-block elements.
*/

@-moz-document url-prefix() {
.flex-container {
    width: 100%;
    -moz-box-sizing: border-box;
    }
}


.site-header h1,
.site-header h2 {
	text-align: center;
}

.site-header h1 {
	font-size: 2.0rem;
}

.site-header h2 {
	font-size: 1.5rem;
}

.entry-content h1 {
	font-size: 1.6rem;
	text-decoration: underline;
}

span.hide {
  display: none;
}

table.hide {
  display: none;
}
