/*
 Theme Name:   Twenty Twelve Child - Mediengeschichte
 Theme URI:    http://example.com/twenty-fifteen-child/
 Description:  Custom Twenty Twelve Child Theme
 Author:       K Hilpisch
 Author URI:   http://www.uni-siegen.de/phil/webmaster
 Template:     twentytwelve
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  twenty-twelve-child
*/

/*
COMMENTS
Child-Theme based on TwentyTwelve, major changes to header and footer as well as overall 
display width and colours/fonts/etc.
Using get_stylesheet_directory_uri(); to get additional graphics from child-theme folder.
*/

@import url(https://fonts.googleapis.com/css?family=Rubik:400,300,300italic,500,400italic,500italic,700,700italic,900,900italic);
/*Overall Layout*/

html, body {
	height:100%;
}
body.site {
    margin: 0px auto;
    max-width: 1040px;
    overflow: hidden;
    padding: 0;
}

#page.site {
	min-height: 100%;
}

#main.wrapper{
	max-width: 650px;
	float: none;
	margin: 0 auto;
	margin-top: 200px;
}

#primary {
   min-height: 100%;
}

#colophon {
	text-align: center;
	max-width: 650px;
	margin: 0 auto;
	height: 50px;
}

body, h1, h2, h3, h4, h5, h6{
	font-family: Rubik, Helvetica, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 500;
	-moz-hyphens: none;
	-o-hyphens: none;
	-webkit-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
	color: #AAA;
}


body .site {
	padding: 0 40px;
	padding: 0 2.857142857rem;
	margin-top: 0px;
	margin-bottom: 0px;
}


/*Changes to Main Navigation*/

.main-navigation {
	text-align: center;
	max-width: 650px;
	height: 50px;
	margin: 0 auto;
}

.main-navigation ul.nav-menu,
.main-navigation div.nav-menu > ul {
	border-bottom: none;
	border-top: none;
	display: inline-block !important;
	text-align: center;
	width: 100%;
}

.main-navigation li a {
	font-family: Rubik, Helvetica, Arial, sans-serif;
	font-size: 12px;
	font-weight: bold;
	border-bottom: 0;
	color: #646263;
	line-height: 3.692307692;
	text-transform: uppercase;
	white-space: nowrap;
}
.main-navigation li a:hover,
.main-navigation li a:focus {
	color: #C496B8;
	outline: 0;
}


.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: #C496B8;
}



/* Color changes */
.aktuelles-header {
	color: #C795BB;
	font-weight: 400;
	font-size: 1.8rem;
	margin-bottom: 25px;
}

.entry-header .entry-title {
	color: #C795BB;
	font-weight: 400;
	font-size: 1.8rem;
}

.post .entry-header .entry-title {
	color: #C795BB;
	font-weight: 400;
	font-size: 1.2rem;
}

a {
    color: #C795BB;
    outline-style: none;
    border: none;
}

.entry-header .entry-title a {
    color: #C795BB;
}


/*Custom Header*/
.site-header {
	padding: 0px;
	margin-top: 0px;
	margin-top: 0px;
	margin-top: 0rem;
	margin-bottom: 0px;
	position: fixed;
	background-color: #fff;
	z-index:999
}

a.header-img {
	display:inline-block;
	height: 170px;
	width: 1040px;
	background: url(gfx/megi_header.png) no-repeat;
	box-shadow: none; 
	border: none;
	margin-top: 0px;
	margin-top: 0rem;
	margin-bottom: 0px;
	margin-left: -40px;
}

a.header-img:hover, a.header-img:focus {
	background: url(gfx/megi_header_inv.png) no-repeat;
	outline: 0;
}

#colophon {
	border-top: 4px solid #c496b8;
}

.site-content article {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 20px;
}

.megi_footer_container{
	font-size: 10px;
	text-align: left;
	position:relative;
	display: block;
}

.megi_footer_content_center {
	float: left;
	width: 40%;
	height: 50px;
	vertical-align: top;
	position:relative;
}

.megi_footer_content_left {
	float: left;
	width: 40%;
	height: 50px;
	vertical-align: top;
	position:relative;
}

.megi_footer_content_right {
	float: left;
	text-align:center;
	width: 20%;
	height: 50px;
	vertical-align: top;
	position:relative;
}


/**Box-Overlay**/
.box-wrapper {
	border: 2px solid #AAA;
	width: 210px;
	height: 150px;
	position:relative;
	display: inline-block;
}

.box-overlay {
	font-weight: bold;
	position:absolute;
	top: -50;
	z-index: 2;
	height: 150px;
	width: 200px;
	padding-left: 10px;
	background:rgba(255,255,255,0.5);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#AARRGGBBAA,endC‌​olorstr=#AARRGGBBAA);
}

.box-text {
	font-weight: bold;
	position:absolute;
	bottom: 0px;
	z-index: 3;
	padding-left: 5px;
	padding-right: 5px;
	background-color: #c496b8;
	width: 90%;
}

.box-image  {
	position:absolute;	
	z-index: 1;
}

.box-image  img{
	border-radius: 0px;
	box-shadow: none;
}

.box-wrapper:hover .box-text, .box-wrapper:hover .box-overlay{
	display:none;
}

.box-text a, .box-text a:visited, .box-text a:hover {
	text-decoration: none;
	color: #fff;
}

/* Other */
.featured-post {
	display: none;
}

a.header-img-small, a.header-link-small {
	display: none;	
}

/* Mobile / Narrow Screen*/
@media screen and (max-width: 1040px) {

#main.wrapper{
	margin-top: 0px;
}

.site-header {
	padding: 0px;
	margin-top: 0px;
	margin-top: 0px;
	margin-top: 0rem;
	margin-bottom: 0px;
	position: relative;
	background-color: #fff;
	z-index:999;
	text-align: center;
}

a.header-img-small, a.header-link-small {
	display: inline-block;
}

a.header-img {
	display: none;
}

img.header-img-small {
	height: auto;
	max-width: 100%;
}




}

.widget img {
	box-shadow: none;
}


/* Minimum width of 600 pixels. */
@media screen and (max-width: 600px) {

.main-navigation {
	height: 8em;
}

.main-navigation ul.nav-menu,
.main-navigation div.nav-menu > ul {
	border: 0;
	display: inline-block !important;
	text-align: center;
	width: 100%;
}
.main-navigation ul {
	margin: 0;
	text-indent: 0;
}
.main-navigation li a,
.main-navigation li {
	display: inline-block;
	text-decoration: none;
}
.main-navigation li a {
	border-bottom: 0;
	color: #6a6a6a;
	line-height: 3.692307692;
	text-transform: uppercase;
	white-space: nowrap;
}
.main-navigation li a:hover {
	color: #000;
}
.main-navigation li {
	margin: 0 40px 0 0;
	margin: 0 2.857142857rem 0 0;
	position: relative;
}
.main-navigation li ul {
	display: none;
	margin: 0;
	padding: 0;
	position: absolute;
	top: 100%;
	z-index: 1;
}
.main-navigation li ul ul {
	top: 0;
	left: 100%;
}
.main-navigation ul li:hover > ul {
	border-left: 0;
	display: block;
}

.main-navigation li ul li a:hover {
	background: #e3e3e3;
	color: #444;
}



.megi_footer_content_center {
clear: both;
	display: inline-block;
	float: none;
	width: 100%;
	height: 8em;
}

.megi_footer_content_left {
clear: both;
	display: inline-block;
	float: none;
	width: 100%;
	height: 8em;
}

.megi_footer_content_right {
clear: both;
	display: inline-block;
	float: none;
	width: 100%;
	height: 8em;
	text-align: left;
}

#colophon {
	height: auto;
}


}