/*
Theme Name: Conni (Excerpts and Images)
Theme URI: http://azconni.de
Author: AZ conni
Author URI: http://azconni.de
Description:Conni theme
Version: 1.0.1c
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: conni
Text Domain: conni 	

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.
*/


@CHARSET "UTF-8";



/* Use whole browser window */
html,body {	margin: 0;
	  		padding:0;
  			height:100%;
}

/* No space between image and border..? */
img {margin:0;}



/******* GENERAL FONT ********/

#main-container, #footer {
	font-family: "DejaVu Serif Condensed";
	font-size:20px;
}

* { line-height: 140%;
}

strong {
	font-weight:bold;
}
  			
a {	color: #000;
	text-decoration:none;
}

ul {list-style:square;	
}

p {	margin-bottom:15px;
	margin-top:15px;
}
p a, li a {	
	text-decoration: underline;
}

em {
	font-style:italic;
}	
sup, sup>* {
	line-height: 100%;
	font-size:0.8em;	
}

hr {
	border:none;
	border-top:1px solid #333;
	width:60%;
	margin-top:35px;
	margin-bottom:30px;
}

blockquote {
	border-left:3px solid #ddd;
	padding-left:15px;
}




/******** LAYOUT *********/
#side,#main-container {
	padding-bottom:40px !important;
	height:auto;
	min-height:calc(100% - 48px - 40px - 105px);  /* size menu, padding-bottom, padding-top*/
}

#footer {
	float:left;
	clear:both;
	
	
	width:100%;
	padding: 7px 0 12px 0;	
	border-top:1px solid grey;
	text-align: center;
	opacity:0.5;
}





/* main headlines */
#main-container>h1,
.post>header,
.termin.full>header
{
	clear:both;
	margin:0 0 30px 0;
	padding-top:20px;
	line-height:130%;
	
	font-family: 'Oswald', sans-serif;
	font-weight: normal;
	font-size: 45px;		
}

/* headlines appearing in text */
#main-container>h2, 
.post>h1 
{
	margin:0 0 0 0;
	
	font-family: 'Oswald', sans-serif;
	font-weight: normal;
	font-size:30px;	
	letter-spacing: 1px;
	
}
#main-container>h2 {
	display:block;
	clear:both;
}

#main-container>h3,
.post>h2 {
	margin-bottom: 7px;
	
	font-family: 'Oswald', sans-serif;
	font-weight:normal;
	font-size:25px;
	letter-spacing: 1px;	
}

#main-container>h4,
.post>h3 {
	margin-bottom: 5px;
	
	font-family: 'Oswald', sans-serif;
	font-weight:normal;
	font-size:22px;
	letter-spacing: 1px;	
}



	

/********* LOGO ***********/
	  
#logo {	
	height:100px;
	margin-bottom:10px;
	
	background-color:#000;
	text-align: right;		
}

#logo span {
	display: block;
	height:100%;
	padding-top:39px;	
	
	margin-right:15px;
	font-size:60px;
	letter-spacing: -1px;
	font-family:'Oswald', sansfd-serif;
	font-weight:bold;
	color:#fff;

}


/******* MAIN MENU ********/

#main-menu{
	margin:0 0 30px 0;
	padding:10px 0 10px 0;
	
	background-color:#fff;  /* to block content moving below..? */
}

#main-menu ul {
	list-style: none;
}

#main-menu li {
	margin:0;	
}

#main-menu a{
	display: block;
	width:auto;	
	padding:6px 0 6px 0;	
	
	text-transform: uppercase;
	text-decoration:none;
	font-family: "DejaVu Sans";
	font-weight: 100;
	letter-spacing: 2px;
	font-size:25px;	
}

#main-menu li:nth-of-type(1):hover,
#main-menu li:nth-of-type(1).current-menu-item {background-color:#FF8585}
div.post p>a {color:#C17C7C}

#main-menu li:nth-of-type(2):hover,
#main-menu li:nth-of-type(2).current-menu-item {background-color:#99CCFF}
.termin a {color:#7A9ABA}

#main-menu li:nth-of-type(3):hover,
#main-menu li:nth-of-type(3).current-menu-item {background-color:#85E6B5}
#main-menu li:nth-of-type(4):hover,
#main-menu li:nth-of-type(4).current-menu-item {background-color:#F2BDF2}
#main-menu li:nth-of-type(5):hover,
#main-menu li:nth-of-type(5).current-menu-item {background-color:#a0ccc7}
#main-menu li:nth-of-type(6):hover,
#main-menu li:nth-of-type(6).current-menu-item {background-color:#FFFF99}
#main-menu li:nth-of-type(7):hover,
#main-menu li:nth-of-type(7).current-menu-item {background-color:#74e3f2}
#main-menu li:nth-of-type(8):hover,
#main-menu li:nth-of-type(8).current-menu-item {background-color:#E6CC80}
#main-menu li:nth-of-type(9):hover,
#main-menu li:nth-of-type(9).current-menu-item {background-color:#b3b3ff}
#main-menu li:nth-of-type(10):hover,
#main-menu li:nth-of-type(10).current-menu-item {background-color:#ffbb99}

/****** Language Menu *******/

#language-menu
{
  font-family: "DejaVu Sans";
  font-weight: 100;
  letter-spacing: 2px;
  text-transform: uppercase;

  margin-bottom: 50px;	
}

/* Aktives Element hervorheben */
#language-menu>li>a>span {
  background-color: black;
  color: white;
}

#language-menu,
#language-menu ul {
  list-style: none;
  padding-left: 0;
}

#language-menu li,
#language-menu .submenu {
  display: inline;
}

#language-menu a {
  text-decoration: none;
}


/****** SIDEBAR *******/

#side * {
	text-align:right;	
}

#main-menu a,.sidebox {
	padding-right: 15px;
}

.sidebox {
	margin-top: 20px;
	padding-left:15px;
}

.sidebox>header {
	margin-bottom:7px;
	border-bottom:0px solid #FF8585;
}


/********** TERMINE *************/

.termin {
	clear: both;
	margin-bottom:30px;
	overflow: hidden;
}

.termin p {
	text-align: justify;
	margin-top: 15px;
	margin-bottom: 0px;
}

.termin header{	
	margin-bottom: -15px;
	font-family:"Oswald";
	font-size:30px;
	font-weight: bold;
}

.termin header a {
	color: black;
}


/* Image inserted by termin-posttype */
.termin img {
	/* clear:both; */
	float:right;
	margin-left: 16px;
	margin-top: 8px;
}

.termin>h3 {
	margin: 30px 0 10px 0;	
	clear:both;	
	
	font-weight: bold;
}

/* Links that are directly inside .termin; links in text are included in <p> */
.termin>a {
	display:block;
	text-decoration:underline;
}

.categories, .time {
	display:block;
	font-family:"DejaVu Sans";
	font-weight: 100;
	margin-left: -2px;  /* align start of letters with other objects */
}

@media (min-width:1200px) {
	.termin.overview .categories {
		float: right;
	}
	.termin.overview .time {
		float: left;
	}
}


/************** TAGS ***************/

.tags>a {
	display:inline-block;
	margin-bottom:4px;
	padding:6px;
	padding-top:3px;
	line-height: 100%;
	
	border:1px solid;
	
	color:#000;
	text-decoration: none;
	font-size:18px;	
	font-family:"DejaVu Sans";
	text-transform:lowercase;
	font-weight:100;
}
.tags>a.post_tag {
	border-color: #FF8585;
}
.tags>a.post_tag.active {
	background-color:#FF8585;
}
.tags>a.termin_category {
	border-color: #99CCFF;
}	
.tags>a.termin_category.active {
	background-color:#99CCFF;
}

.tags>a.active {
	display:block;
	margin-top:7px;
	margin-bottom:7px;	
}


/*********** POSTS ************/

.post {
	margin-bottom:10px;
	overflow: hidden;
	max-width: 1000px;
	text-align:justify;
}

.post>header {
	margin-bottom:8px;
}

.post>header>a {
	text-decoration:underline;
	line-height: 90%;
}

.post.sticky>header {
	text-decoration: none;
}

.post.sticky {
	border-bottom: 3px solid #FF8585;
	padding-bottom:15px;
}
.post

.post>.tags {
	display:block;
	margin-top:20px;
}

.posted-date {
	font-family: "Oswald";
	display: block;
	padding: 5px 5px 3px 0px;
}

.more-link {
	display:block;
	margin-top:10px;
}


.pagination:not(.sidebox) {
	display:block;
	margin-top:40px;	
}
.pagination a{	
	font-family:"Oswald";	
	font-size:23px;	
}
.pagination>span:first-child {
	margin-right:20px;
}
.pagination>span:first-child>a::before {
	content:"\2190\ ";
	color:#FF8585;
	font-weight:bold;
	font-size:30px;
}
.pagination>span:last-of-type>a::after {
	content:"\ \2192";
	color:#FF8585;
	font-weight:bold;
	font-size:30px;
}
.pagination.sidebox>a {
	color:#FF8585;
}


/******* IMAGES ***********/

/* general image spacing */
.post img, .wp-caption{
	margin-top:20px;
	margin-bottom: 20px;
	margin-right: 16px;
	float:left;
}
#main-container .wp-caption>img {
	margin:0;
}

#main-container img.alignright {
	margin-left:16px;
}

/* when image is inside pargraph */	
#main-container p img {
	margin-top:9px;
	/*margin-bottom:3px;*/
}

.alignnone, .alignleft {
	float:left;
}
.alignright {
	float:right;
}
.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}

.embed {
	margin:20px 0 20px 0;
}
.embed>* {
	display:block;
}

.wp-smiley, .emoji {
	border:none !important;
	float: none !important;
}



/********* SPECIAL PAGES *************/

.leichte-sprache * {
	font-size:30px;
}

/* Jugendamt */
#main-container.jugendarbeit {
	background-color:pink;
}
#main-container.jugendarbeit * {
  font-family:"quarmic sans";
}
#main-container.jugendarbeit h1 {
	color:blue;	
}
#main-container.jugendarbeit h2 {
	color:green;	
}


#main-container {
	padding:0 20px 0 20px;	
}


@media (min-width:1200px) {

	#side, .f-nav {		
		width:10%;
		min-width: 320px;	
	}
		  
	#side {
		display:block;
		float:left;
		margin-right: 25px;			
	}
	
	#menu-placeholder {
		display:none;
	}
	
	
	#main-container{	
		float:left;
		max-width:calc(90% - 300px - 25px) ; /* side: margin and max-width*/
		
	}
	
	/* Usually, start from below the logo */
	#main-container {  
		padding-top:100px; 
	}
	
	/* Some elements start from the top */
	#main-container>h1:first-of-type, 
	#main-container>div:first-of-type.post,
	#main-container>div:first-of-type.termin.full {
		margin-top:-77px !important;  
		
	}	
	
}


@media (min-width:1200px) and (min-height:500px) {
	.f-nav{ z-index: 9999;
			position: fixed;
			left: 0;
			top: 0;
			border-bottom:1px solid black;
	}
	#menu-placeholder {
		display:block;
	}
}


@media (max-width:1200px) {
	#side {
		width:100%;
		padding-bottom:0px !important;
		min-height:0px !important;
	}
	#side * {
		text-align:center;
	}
	
	#menu-placeholder {
		display:none;
	}

	#main-menu, .f-nav, .sidebox {
		text-align:center;
		border-bottom: 1px solid #000;
		padding-bottom:20px;
		margin-bottom:0;
	}
	#main-menu>li {
		display:inline-block;
		padding:5px 15px 5px 15px;
	}
	#main-menu>li>a {
		margin-right:0;
		padding:0;
	}
	.sidebox {
		
		clear:both;
		margin-top:0;
		padding-top:20px;
		
	}
	#main-container {
		padding-top:20px;
	}
}


