/*!
Theme Name: Studienportale
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: studienportale
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Studienportale is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/



/* mailto: Links */
a[href^="mailto:"], a[href*="UnCryptMailto"] {
background: url(img/mail_icon.gif) center left no-repeat;
padding-left:20px;
line-height:16px;
font-weight:400;
}


a[href$=".PDF"], a[href$=".pdf"] {
	padding: 2px 2px 2px 20px;
	background: url("img/pdficon.gif") left center no-repeat;
}

a[href$=".RTF"], a[href$=".rtf"] {
	padding: 2px 2px 2px 20px;
	background: url("img/rtficon.gif") left center no-repeat;
}


a[href*="https://moodle2.fernuni-hagen.de/"], a[href*="https://moodle-ksw.fernuni-hagen.de/"], a[href*="https://moodle.fernuni-hagen.de/"], a[href*="https://moodle2psy.fernuni-hagen.de/"], a[href*="https://moodle-psy.fernuni-hagen.de/"] {
	padding: 2px 2px 2px 30px;
	background: url("img/moodle.jpg") left center no-repeat;
}


/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* Seitenmenu */
ul.menu ul.sub-menu {
	display: block ;
	list-style: none;
}

/* Seitenmenu Level 0 */

ul.menu {
	margin: 0;
	padding: 0;
}	
	
ul.menu li{
	
	border-top: 1px solid #004c97;

}

/* Seitenmenu Level 2 */
ul.sub-menu ul {
	
	margin: 0;
	padding: 0;

}


ul.menu li {
	margin: 0;
	padding: 0;

}

ul.menu a {
	display: inline-block;
	color: #004c97;
	padding: 0.625em 0;
	text-decoration: none;
}

ul.menu li.current-menu-item a{
	font-weight: 500;
	color: #000000;
}

ul.menu li.current-menu-descendant a{
	font-weight: 300;
	color: #944142;
}


ul.menu a:hover {
	text-decoration: underline;
}

/* Level 1 */
ul.menu {
	list-style: none;
	margin: 0 3.125em 0 0;
	border-bottom: 1px solid #004c97;
}

ul.sub-menu {
	margin-left: 0em;
	list-style: none;
}

ul.sub-menu ul{
	margin-left: 2em;
	list-style: none;
}




/* Image elements */
/*NS: Bildnachweis*/
.wp-image{
	position: relative;
	display: block;
	height: auto;
}
.wp-image-border{
    border: solid 1px #e4e4e4;
}
.wp-image img{
	display: block;
}
.wp-image span, .wp-image{
	background-color: rgba(0,0,0,0.5);
	color: white;
	position: absolute;
	bottom: 0;
	right: 0;
	padding: 0.2em;
	font-size: 0.65em;
}
.wp-caption{
	display: block;
	font-size: 0.65em;
	color:#b1b3b3;
	text-align:right;
}
.wp-caption-text {
	display: inline-block;
	font-size: 0.85em;
	padding: 0;
	margin: 0.4em 0 0.2em 0;
}

/* Contact box */
.fu-contact-box {
	width: 100%;
	border: 1px solid #b1b3b3;
	padding-left: 0.625em;
}
.fu-contact-box-image {
	float: left;
	margin-right: 1.25em;
	line-height:0.8em;
}
.fu-contact-box-text h4 {
	margin: 0.625em 0.625em 0.625em 0.625em;
}
.fu-contact-box-text p {
	margin: 0.625em 0.625em 0.625em 0.625em;
	line-height: 1.2em;
}
.fu-contact-box-title{
	font-size:1.25em;
	font-weight:600;
	margin-top: 0.3em;
}

@media all and (max-width: 62em) {
    body nav#nav-wrapper {
        /* remove background color on mobile */
        background-color: inherit !important; 
    }
}

/* #################################################################
   Farbanpassung für die Fakultät KSW
   #################################################################*/

body.ksw #nav-wrapper {
    background-color: #c84f0e;
}
body.ksw #nav ul.fu-mainmenu > li > a:active,
body.ksw #nav ul.fu-mainmenu > li > a:focus,
body.ksw #nav ul.fu-mainmenu > li > a:hover,
body.ksw #nav-wrapper #nav ul.fu-mainmenu>li.fu-active>a {
    background-color: #d3723e ;
}
body.ksw .triangle > div {
    border-color: #d3723e transparent transparent transparent;
}
body.ksw .logoline-inner {
    border-left: 4px solid #c84f0e;
}


@media all and (max-width: 62em) {

    body.ksw .logoline-inner {
        border: none;
    }   
    body.ksw .logoline.logopicture .logoline-inner {
        border-left: 4px solid #c84f0e;
        padding-left: 0.6em;
        margin-left: 0.6em;
        margin-top: 2px;
    }
 
	body.ksw #nav ul.fu-mainmenu>li {
		background: #c84f0e;
	}
    body.ksw #nav ul.fu-mainmenu > li > a:hover,
    body.ksw #nav-wrapper #nav ul.fu-mainmenu>li.fu-active>a {
        background-color: #d3723e;
    }
	body.ksw #nav ul.fu-mainmenu>li {
		background: #c84f0e;
	}	
  
}

.widget_recent_entries ul li {
	list-style: none;
	margin-left:0;
}
.widget_recent_entries a {
	font-weight: bold;
	text-decoration:none;
}
.widget_recent_entries a:hover {
	text-decoration:underline;
}

.post-date { 
   color:grey;
   font-style: italic;
 }

.post-date::before { 
   content:  "\A - veröffentlicht am ";
   white-space: pre;
}

.isc-source-text {
   position: absolute; font-size: 1.7em; background-color: rgb(51, 51, 51); color: rgb(255, 255, 255); opacity: 0.7; padding: 0px 0.15em; text-shadow: none; display: block; left: 188px; top: 134px; z-index: 9999;}


.entry-content-startseite {
	padding-right: 1em;
}

