@charset "utf-8";
/* 
Theme Name: Schlegel Long
Author: Benjamin Schlegel
Author URI: https://benjaminschlegel.ch
Description: A long format blog theme
Version: 0.1
License: GPL-3
License URI: http://www.gnu.org/licenses/gpl.html
Text Domain: schlegel-long
*/

/* main settings */
@import url('https://fonts.googleapis.com/css?family=Hind+Guntur|Fira+Sans+Condensed|Montserrat');
body{
    font-family: 'Fira Sans Condensed', Sans-Serif;
    overflow-x: hidden;
}

/* search button */
#search input[type="text"]{
	margin: 0 5px 0 30px;
}

#searchsubmit{	
	background-color: white;
	background-image: url('images/searchicon.png'); /* Add a search icon to input */
    background-position: 8px 8px; /* Position the search icon */		
    background-repeat: no-repeat; /* Do not repeat the icon image */
	background-size: 20px 20px;
	width: 36px;
	margin-right: 16px;
	border-radius: 0 20px 20px 0;
	moz-border-radius: 0 20px 20px 0;
	margin-left: -10px; 	
	height: 41px;
}

#s{
	width: 160px;
	border-right: 0px;
	-moz-border-radius-topleft: 20px;
	border-top-left-radius: 20px;
	-moz-border-radius-bottomleft: 20px;
	border-bottom-left-radius: 20px;	
	margin-left: 10px;
	height: 41px;
}

#navbarNavDropdown2{
    max-width: 200px;
}

nav{
	clear: both;
}

/* main menu */




/* Main Title */
header h1{
    font-size: 1em;
    display: inline-block;
    margin-left: 10px;
    top: 2px;
    position: relative;
}

/* Social Media Menu Icons */
#sm_bar li{
	display: inline-block;
    width: 30px;
}

#couchsurfing-icon{
    position: relative;
    top: 5px;
    height: 18px;
}

ul.social{
    display: inline-block;
}

@media(max-width:560px){
	#sm_bar .mobile_hide{
		display:  none;
	}
}

/*#intro .text{
	text-shadow: 0.2em 0.2em 0.3em black;
	background-color: rgba(200, 200, 200, 0.2);
	padding: 50px;
}*/

main{
    margin-top: 60px;
}

/* long format */
.carousel-item img{
    width: 100%;
    height: auto;
}

.carousel-item{
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.carousel-caption{
    background-color: rgba(80,80,80,0.40);
    top: 50%;
    transform: translateY(-50%);
    bottom: initial;
    padding-right: 30px;
    padding-left: 30px;
}

/* social media widgets */


#social_media h1{
	display: none;
}

#social_media article{
    margin-top: 50px;
}



.twitter-social-btn-top, .fb_iframe_widget{
    text-align: center;
    margin-bottom: 20px;
    max-width: 400px;
}

#intro{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center; 
}

#intro img, #intro div{
    width: 100%;
}

#intro .text{
    position: absolute;
    left: 10%;
    width: 50%;
}

section.page{
	clear: both;
}

section.page:nth-child(odd), article.search_result:nth-child(odd){
    background-color: #f6f6f6;
}



/* single page */
main article{
    max-width: 640px;
    width: 100%;
    margin: auto;
    padding: 20px;
}

.search_info, .archive_title{
    max-width: 640px;
    width: 100%;
    margin: auto;
    padding: 20px;
    padding-top: 50px;
}

main article.alignfull{
    max-width: 100%;
    width: 100%;
    margin: auto;
    padding-top: 50px;
    padding: 20px;
}

main h1{
    font-size: 2em;
    font-family: 'Hind Guntur';
    margin-bottom: 20px;
    margin-top: 30px;
}

main h2{
    font-size: 1.6em;
    font-family: 'Hind Guntur';
    margin-bottom: 20px;
    margin-top: 30px;
}

p{
    font-size: 1.2em;
}

p, figure{
    margin-bottom: 40px;
}

img { 
    max-width: 100%;
}

.wp-block-embed, .wp-block-embed__wrapper{
    width: 100%;
}

.social-media-container{
	max-width: 500px;
	margin: auto;
}

/* iframe */
.video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.alignfull {
  margin-left: calc(-100vw / 2 + 100% / 2);
  margin-right: calc(-100vw / 2 + 100% / 2);
  max-width: 100vw;
}

.alignfull img {
  width: 100vw;
}

.alignwide {
  margin-left: -100px;
  margin-right: -100px;
  max-width: 100vw;
}

blockquote{
    padding-left: 10px;
    margin-left: 10px;
    font-style: italic;
}

/* search result */
.search_result a:link, .search_result a:visited, .search_result a:hover ,.search_result a:active{
    color: black;
    text-decoration: none;
}

/* parliament themplate */
#searchfield {
    background-image: url('images/searchicon.png'); /* Add a search icon to input */
    background-position: 3px 2px; /* Position the search icon */
    background-repeat: no-repeat; /* Do not repeat the icon image */
    width: 100%; /* Full-width */
    font-size: 1em; /* Increase font-size */
    padding: 12px 20px 12px 40px; /* Add some padding */
    border: 1px solid #ddd; /* Add a grey border */
    margin-bottom: 12px; /* Add some space below the input */
}

#vorstoesse_table tr:nth-child(even){
	background-color: #ddd;
}

#vorstoesse_table td{
	padding: 5px;
}

#vorstoesse_table a{
	color: #e13528;
}

/* responsive */
@media(min-width: 1200px){
	#social_media article{
		float: left;
		margin-left: 30px;
		width: 30%;
	}
}

@media(max-width: 1200px){
	#social_media{
		width: 100%;
	}
	
	#social_media article{
		clear: both;
		margin: auto;
		width: 400px;
	}		
}

@media(min-width: 768px){
	section.page{
		padding: 50px 200px;
	}
}

@media(max-width: 768px){
	section.page{
		padding: 50px 30px;
	}
    
    #intro .text{
        left: 30px;
    }
}

@media (max-width: 991px) {
    #navbarNavDropdown{
        display: none !important;
    }
}

@media (min-width: 991px) {
    #navbarNavDropdown3{
        display: none !important;
    }
    
    #intro .text p{
        font-size: 2em;
    }
    
    #intro .text h1{
        font-size: 4em;
    }
}