/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,site-
select,
textarea {
    color: #222;
}

body {
    font-size: 12px;
    line-height: 1.6em;
    font-family: "Open Sans",Arial,sans-serif;
    background: #fff;  /* PHILIPP EDIT: was #fff */
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

h4, h5, h6 { /* PHILIPP: new! */
	font-size: 100%;
	margin: 25px 0 8px 0;
}

h3 a.heading_anchor, h4 a.heading_anchor, h5 a.heading_anchor, h6 a.heading_anchor {
	display: none;
}

h3:hover a.heading_anchor, h4:hover a.heading_anchor, h5:hover a.heading_anchor, h6:hover a.heading_anchor {
	display: inline;
	color: #aaa;
}

h3 a.heading_anchor:hover, h4 a.heading_anchor:hover, h5 a.heading_anchor:hover, h6 a.heading_anchor:hover {
	color: #777;
}


a, a:hover, a:focus, a:visited {
    color: #00a8df; /* PHILIPP EDIT: was #000 OR #00bfff */
    outline: none;
    text-decoration: none;
}

a:hover, .post-title a:hover {
	color: #aaa;
}

tt {
	background: #eee;
	border-radius: 3px;
	color: #444;
	font-size: 90%;
	font-weight: normal;
	padding: 2px 3px;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* FIX AddThis bug */
#at4-searchBox {
	display: none;
}

/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font: 14px/24px "Open Sans", Helvetica Neue, Arial;
    color: #333; /* PHILIPP EDIT: was #666 */
}

#page {
    position: 
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}

.widget_footer ul,
.widget_sidebar ul {
    padding-left: 20px;
}

.widget_footer { /* PHILIPP EDIT: new! */
	color: #ddd;
}



/* ===================
    ALL: Gray Theme
   =================== */

.header-container {
    background: url(../img/bk_header.png);
}
.subheader-container {

}

header {
    background: #222222;
    height: 40px; /* PHILIPP EDIT: was: 70px */
    position: relative;
    z-index: 5;
}

article header {
    background: none;
    height: auto;
    padding: 8px 0;
    border-bottom: 2px #eee solid;
/*    border: #CECEBF solid;
    border-width: 1px 0;*/
    margin-bottom: 3%;
}

.footnotes {
    list-style: none;
	font-size: 12px;
	line-height: 120%;
	margin: 10px 0;
	padding: 0;
}

.footnotes li {
	margin: 6px 0;
	padding: 0;
}

.footnotes li sup {
	font-size: 10px;
}

table.article_table td {
	text-align: left;
	padding: 3px;
	margin: 2px;
}

table.article_table { 
	font-size: 12px;
	width: 100%;
	text-align: center;
	margin: 0 auto;
}

table.article_table .toprow, table .leftcol {
	background: #ddd;
	font-weight: bold;
}

table.article_table .odd {
	background: #eee;
}


.article_caption {
	font-size: 12px;
	line-height: 120%;
}

.article_image {
	display: block;
	text-align: center;
}



.top {
    position: relative;
}

.page-title {
/*	display: none; PHILIPP EDIT: was: not there */
    background: #EEEEEE;
}
.page-title h2 {
	width: 63%; /* PHILIPP EDIT: was: new!   --- SIMILAR TO .column-one */
	float: left;

    font-size: 16px;  /* PHILIPP EDIT: was: 22px */
    color: #878787;
    font-weight: lighter;
    text-transform: uppercase;
/*    width: auto; PHILIPP EDIT: was: there */
    margin: 0;
    display: inline-block;
    margin: 10px 0; /* PHILIPP EDIT: was: 30px 0 */
}

.footer-container,
.main .column-two {
    
}

.footer-container,
.main .column-two  {

}

.title {
    color: white;
}

.top-menu-container, nav, .sf-menu {
    float: left;
    }
    .top-menu-container {
        margin-top: 10px; /* PHILIPP EDIT: was: 30px */
    }
    nav {
        width: 100%;
    }

#sidebar ul {
    list-style: none;
}

#sidebar_about_me_image { /* PHILIPP EDIT: new! */
	float: left;
}

#sidebar_about_me_text { /* PHILIPP EDIT: new! */
	float: left;
	width: 135px;
	height: 100px;
	font-size: 13px; 
	line-height: 17px;
	margin-left: 6px;
}

#sidebar_second_ad {
}

#top_ad { /* hide by default */
	display: none;
}


aside, .sidebar, #sidebar {
/*	font-size: 14px; */
}

.sidebar-footer .multi_column_categories_partlist_wrapper { /* PHILIPP EDIT: new! */
	float: left;
	width: 45%;
	display: block;
	margin-right: 10px !important;
}

.multi_column_archives_partlist_wrapper { /* PHILIPP EDIT: new! */
	float: left;
	width: 25%;
	display: block;
	margin-right: 10px !important;
}


.sidebar-footer li.recentcomments_item {
	margin: 15px 0 !important;
}

.sidebar-footer li.recentcomments_item .avatar {
	display: block;
	float: left;
	margin: 1px 4px 0 0;
}

.sidebar-footer li.recentcomments_item article {
	display: block;
	float: left;
	width: 80%;
	margin: 0;
	line-height: 1.5em;
}

.sidebar-footer li.recentcomments_item header {
	background: none;
	display: inline;
	padding: 0;
	
	border: 0;	
}

.sidebar-footer li.recentcomments_item time {
/*	font-size: 11px;*/
}


.sidebar-footer li.recentcomments_item section .on {
/*	font-size: 11px;*/
}

/* ==============
    MOBILE: Menu
   ============== */



.sf-menu ul, .sf-menu-ph {
    margin: 0;
    padding: 0;
}


.sf-menu li, .sf-menu-ph li {
    padding-left: 28px; 
}

.sf-menu a, .sf-menu-ph a {
    display: block;
    padding: 0 0;

    text-decoration: none;
    font-weight: bold !important;
    text-transform: uppercase;

    color: white; /* PHILIPP EDIT: was: #818181 */
    font-size: 12px;
    font-weight: bold;
}

.sf-menu a:hover, .sf-menu li.current_page_item a, .sf-menu-ph a:hover, .sf-menu-ph li.current_page_item a {
    color: #00a8df; /* PHILIPP EDIT: was: white */
}

.sf-sub-indicator {
    position:       absolute;
    display:        block;
    right:          .75em;
    top:            1.05em; /* IE6 only */
    width:          14px;
    height:         14px;
    text-indent:    -999em;
    overflow:       hidden;
    background:     url('../img/sub-indicator.png') no-repeat; /* 8-bit indexed alpha png. IE6 gets solid image only */
}

a > .sf-sub-indicator {  /* give all except IE6 the correct values */
    top:            -0.1em;
    background-position: 0 0; /* use translucent arrow for modern browsers*/
}

.sub-menu {
    background: #222222;
    left: 18px !important;
}
.sub-menu li {
    padding: 11px;
    float: left;
}


/* Navigation on top for smaller screens */

#small-screens-menu {
    background:#000;
    display:none;
    font-size:12px;
    position: relative;
    z-index: 999;
}

#small-screens-menu nav {
    display:none;
    background: #000;
}

#small-screens-menu a {
    text-align: center;
    padding:12px 0;
    border-bottom:1px solid #111;
    display:block;
    text-shadow:none;
    color:#ccc !important;
    text-transform: uppercase;
    text-decoration: none;
}

#small-screens-menu nav ul {
    padding:0;
    margin: 0;
}

#small-screens-menu nav ul li {
    clear: both;
    float: none;
    width: 100%;
    padding: 0;
}

#small-screens-menu nav li:last-child a{
    border-bottom:none;
}
#small-screens-menu nav ul ul a {
    font-size: 90%;
}
#small-screens-menu a:hover
 {
    text-decoration: none;
    color:#fff !important;
    background:#111;
}


/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 30px 0;
}

.main article h1 {
    font-size: 3em;
}

.main .column-two  {
}

.footer-container footer {
    padding: 30px 0;
    clear: both;
    font-size: 90%;
    margin-top: 20px;
    border-top:1px solid #eee;
}

.footer-container footer a {
    color: inherit;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

html.lt-ie9 .main .column-one { /* IE8 */
    float: left;
    width: 63%;
    margin-right: 4%;
}

html.lt-ie9 .main .column-two { /* IE8 */
    float: left;
    width: 27%;
}

html.lt-ie9 .widget_footer {
    float: left;
    width: 30%; /* PHILIPP EDIT: was: 25% */
}

html.lt-ie9 .top-menu-container li {
    float: left;
}

html.lt-ie9 .social {
	margin-top: 8px;
}

html.lt-ie9 #sidebar_about_me_text { /* PHILIPP EDIT: new! */
	width: 50%;
}

html.lt-ie8 .subheader-containerc {
	line-height: 100px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* * { transition: all 0.3s ease-out; } */

.site-title {
    width: 140px; /* PHILIPP EDIT: was: 170px */
    height: 140px; /* PHILIPP EDIT: was: 170px */
    background: #00a8df; /* PHILIPP EDIT: was: #00b2ec, #00bfff */
    float: left;
    position: relative;
    text-align: center;
    margin: 0;
    
    margin: auto;
    line-height: 140px;
	vertical-align: center;    
}

.site-title a {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    height: auto;
    display: inline-block;
    line-height: 140px; /* PHILIPP EDIT: was: 170px */
    color: #fff;
    text-decoration: none;
}
.site-title a img { /* PHILIPP COMMENT: loginlogo / Philipp's Tech Blog */
    display: block;
    margin: 0; /*31px 0 0 9px;*/ /* PHILIPP EDIT: new! */   
}
.site-description { 
    margin: 0;
    position: absolute;
    top: 83px; /* PHILIPP EDIT: was: 135px (if one line: 105px) */
    left: 155px; /* PHILIPP EDIT: was: 190px */
    color: #D6D6D6;
    font-weight: lighter;
    line-height: 1.5em;  /* PHILIPP EDIT: was: n/a */
}
.site-description i { 
    color: #A6A6A6;
}
.social {
    float: right;
    margin: 24px 0 0 0;
    list-style: none;
}
.social li  {
    padding: 0 0 0 14px;
    float: left;
    font-size: 14px;
    color: #6B6B6B;
}
.social li a {
    float: left;
    width: 20px;
    height: 20px;
    margin-top:2px;
    background: url(../img/social-colored.png) no-repeat; /* PHILIPP EDIT: was: url(../img/social.png) no-repeat; */
    text-indent: -999em;
   
}
.social li a { /* PHILIPP EDIT: new */
	opacity:0.7;
	filter:alpha(opacity=70);     
}
.social li a:hover { /* PHILIPP EDIT: new */
	opacity:1;
	filter:alpha(opacity=100);   
	transition: opacity 0.1s ease-in 0s;  
}

.social li a.linkedin {
    /*background-position: -1px 0;*/
	background-position: 0 0;
}
.social li a.xing { /* PHILIPP EDIT: new */
    /*background-position: -219px 0;*/
    background-position: -20px 0;
}
.social li a.googleplus {  /* PHILIPP EDIT: new */
    /*background-position: -254px 0;*/
    background-position: -40px 0;
}
.social li a.rss {
    /*background-position: -148px 0;*/
    background-position: -60px 0;
}
.social li a.dribble {
    background-position: -37px 0;
}
.social li a.pinterest {
    background-position: -75px 0;
}
.social li a.twitter {
    background-position: -115px 0;
}

.social li a.facebook {
    background-position: -184px 0;
}

.imageset {
	text-align: center;
	width: 100%;
}

.imageset .image_half {
	width: 43%;
	float: left;
	text-align: left;
	font-size: 12px;
	margin: 0 2% 2% 0;
}

.imageset img {
	max-width: 98%;
}

.imageset a img {
	margin-right: 5px;
	margin-bottom: 8px;	
}

.imageset a img {
	border: 4px solid #bbb;
}

.imageset a:hover img {
	border: 4px solid #00a8df;
}

.XXXsearchformwrapper { border: 1px solid red; }
#searchform {
/*	float: left;
width: 25%;
   height: 20px;*/
   
	    float: right;
	/* width: 225px;*/
	width: 32%;
	line-height: 100%;
	height: 18px; /* WORKS WITH IE, not tested for the rest */
	
   
    padding: 5px; /* PHILIPP EDIT: was: 8px; */
    background: #fff;
    border: 1px #CCCCCC solid;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    margin: 5px 0px 0 0; /* PHILIPP EDIT: was: 21px 7px 0 0; */

}

#searchform input {
	width: 90%;
	
	
    height: 18px; /* PHILIPP EDIT: was: 24px */
    line-height: 18px; /* PHILIPP EDIT: was: 24px */
    font-size: 12px;
    border: 0;
    text-transform: uppercase;
    color: #aaa;
}

#searchform input:focus {
	color: #000;
}

#searchform input#s {
    float: left;
    background: #fff;
/*    width: 190px;*/
}

#searchform input#searchsubmit {
    float: right;
    width: 9%;
    background: url(../img/searchsubmit.gif) no-repeat right center;
}

header .meta {
    color: #79796A;
    list-style: none;
    margin: 0;
    padding: 0;
    font-weight: bold;
}
header .meta li {
    float: left;
    padding: 0 2%;
    border-right: 1px #CECEBF solid;
	font-size: 12px;
}
header .meta li:last-child {
    border-right:0;
}
header .meta li .comments {
    float: left;
    padding-left: 20px;
    background: url(../img/comments.png) no-repeat 0 7px;
}
header .meta li .comments a {
    text-decoration: none;
}
header .meta li .tags {
/*	display: block;*/
/*	float: left;*/
    padding-left: 20px;
    background: url(../img/tags.png) no-repeat 0 4px;
}
.blog-thumb {
    float: left;
    margin-right: 3%;
}
.blog-entry {
    float: left;
    width: 60%;
}

.categories {
    font-size: 90%;
    color: #79796A;
    font-weight: bold;
    text-transform: uppercase;
}
.categories a {
    color: #79796A;
    text-decoration: none;
}
.post-title {
    color: #00a8df; /* PHILIPP EDIT: was: #00b2ec, #00bfff */
    font-size: 200%;
    font-weight: lighter;
    margin: 3.5% 0;
    line-height: 120%;
}
.post-title a {
    color: #00a8df; /* PHILIPP EDIT: was: #00b2ec, #00bfff */
    text-decoration: none;
}
.wpp-comments {
	font-size: 9px;
	font-weight: normal;
	color: #666;
}

.popular_posts_item {
	clear: both;
}

.popular_posts_image {
	float: left;
	display: block;	
	width: 17%;
	margin-right: 2%;
	padding-bottom: 10px;
}

.popular_posts_text {
	float: left;
	display: block;
	width: 80%;
	padding-bottom: 10px;	
}

.popular_posts_comments {
	font-size: 10px;
	font-weight: normal;
	color: #777;
}


article {
    margin-bottom: 5%;
}
.toc {  /* PHILIPP EDIT: new! for Table of Contents plugin */
	margin-top: -10px;
}
.toc ul, .toc ol { /* PHILIPP EDIT: new! for Table of Contents plugin */
    list-style: none;
    padding: 0;
    margin: 0;    
}    
.toc li .l4 { /* PHILIPP EDIT: new! for Table of Contents plugin */
	margin-left: 10px;
}
.toc li .l5, .toc li .l6, .toc li .l7 { /* PHILIPP EDIT: new! for Table of Contents plugin */
	display: none;
}

.toc .thispage {
	font-weight: bold;
}

.more-link {
    color: #00a8df; /* PHILIPP EDIT: was: #000000 */
    padding-right: 25px;
    background: url(../img/continue.png) no-repeat right 3px;
    text-decoration: none;
    font-weight: bold;
}

.sidebar-footer .widget-title {
    color: #00a8df; /* PHILIPP EDIT: was: #00b2ec, #00bfff */
    font-size: 90%;
    font-weight: bold;
    text-transform: uppercase;
    margin: 2em 0 1em 0; /* PHILIPP EDIT: was 2em 0; */
}

.column-two .widget-title {
    color: #212121;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0 0 1em -30px;
    position: relative;
    padding-left: 30px;
    font-size: 1em;
    background: url(../img/widget_title.png) no-repeat 0 4px;

}

.sidebar-footer { /* PHILIPP EDIT: new! */
	padding-bottom: 2em; 
}

.column-two ul, .sidebar-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.column-two ul {
    margin-bottom: 0;
}
.column-two ul li, .sidebar-footer ul li {
    margin: 4px 0;
}
.column-two ul li a, .sidebar-footer ul li a {
    /*color: #575746;*/
    text-decoration: none;
}

#comment-nav {
    display: none;
}

.sidebar_social .addthis_button_facebook_like, .sidebar_social .addthis_button_google_plusone, .sidebar_social .addthis_button_tweet, 
.sidebar_social .addthis_counter, .sidebar_social .flattr {
	display: block;
	float: left;
	overflow: hidden;	
	margin: 0 2px 0 0;	
	
	width: 45%;
	height: 30px;	
}

.commentlist {
    list-style: none;
    padding: 0;
}
.commentlist li  { /* PHILIPP EDIT: new! */
    clear: both;
    margin-bottom: 20px;
}
.commentlist article header {
    border: 0;
}

.commentlist article header img {
    float: left;
    margin-right: 30px;
}
.commentlist article header a {
    font-style: normal;
    text-decoration: none;
    /*font-size: 85%;*/
}

.commentlist article header cite a {
    font-weight: bold;

}

.commentlist article header cite {
    height: 30px;
    line-height: 30px;
    border-right: 1px #79796A solid;
    margin-right: 25px;
    padding-right: 25px;
}

.commentlist article section {
    color: #575746;
    float: left;
    margin-left: 95px; /* PHILIPP EDIT: was: padding-left */
    margin-top:-30px;
    width: 80%;
}
.commentlist article section p {
    margin: 0.8em 0;
}
.comment-reply-link {
    clear: both;
    font-style: normal;
    text-decoration: none;
    font-weight: bold;
    font-size: 80%;
    text-transform: uppercase;
}

#comments {
    clear: both;
    margin-top:7%;
}
.respond-form {
    clear: both;
    margin-top:3%;
    float: left;
    width: 100%;
}

#comment-form-title h3, #comments h3 {
    color: #868686;
    font-size: 140%;
    font-weight: lighter;
    text-transform: uppercase;
}

#comment-form-elements {
    list-style: none;
    color: #212121;
    padding: 0;
    width: 100%; 
}

#comment-form-elements li {
    margin: 10px 0;
    float: left;
    clear: both;
    width: 100%;
}

#comment-form-elements li .mustfield {
	font-size: 20px;
	color: red;
}

#comment-form-elements label, #contactForm label {
    width: 20%;
    text-transform: uppercase;
    float: left;
    height: 40px;
    line-height: 40px;
}
#comment-form-elements input, #comment-form-elements textarea, #contactForm input, #contactForm textarea {
    float: left;
    width: 75%;
    border: 1px #CCCCCC solid;
    padding: 0 10px;
    height: 40px;
    line-height: 40px;
}
#comment-form-elements textarea, #contactForm textarea {
    height: 150px;
    line-height: 24px;
    padding-top: 8px;
}
#comment-form-elements input.submitbutton, #contactForm button.submitbutton {
    width: 125px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    background: #00a8df; /* PHILIPP EDIT: was: #00b2ec, #00bfff */
    border: 0;
    cursor: pointer;
}

.call_to_action {
    width: 100%;
    height: 140px;
    background-image: url(../img/bk_header.png);
    line-height: 140px;
    text-align: center;    
    color: #00a8df; /* PHILIPP EDIT: was: #00b2ec, #00bfff */
    font-size: 200%;
    font-weight: lighter;
}
.call_to_action .wrapper {
    height: 100%;
}

.call_to_action a {
    color: #fff;
    background: #00a8df; /* PHILIPP EDIT: was: #00b2ec, #00bfff */
    padding: 10px 25px;
    text-decoration: none;
    margin: -15px 0 0 30px;
    border-radius: 3px;
}

.footer_wrapper { /* PHILIPP EDIT: new! copied from call_to_action */
    width: 100%;
    background-image: url(../img/bk_header.png);
}

footer.wrapper { /* PHILIPP EDIT: new! */
	border: 0;
	padding: 0;
}

footer .footer_copyright, footer .footer_theme_credits { /* PHILIPP EDIT: new! */
	float: left;
	width: 48%;
	padding-bottom: 20px;
}
	
footer .footer_copyright { /* PHILIPP EDIT: new! */
	text-align: left;
}

footer .footer_theme_credits { /* PHILIPP EDIT: new! */
	text-align: right;
}

.radial_gradient {
    width: 100%;
    height: 100%;
    background: -moz-radial-gradient(center, ellipse cover,  rgba(255,255,255,0.25) 0%, rgba(255,255,255,0) 100%); /* FF3.6+ */
background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(255,255,255,0.25)), color-stop(100%,rgba(255,255,255,0))); /* Chrome,Safari4+ */
background: -webkit-radial-gradient(center, ellipse cover,  rgba(255,255,255,0.25) 0%,rgba(255,255,255,0) 100%); /* Chrome10+,Safari5.1+ */
background: -o-radial-gradient(center, ellipse cover,  rgba(255,255,255,0.25) 0%,rgba(255,255,255,0) 100%); /* Opera 12+ */
background: -ms-radial-gradient(center, ellipse cover,  rgba(255,255,255,0.25) 0%,rgba(255,255,255,0) 100%); /* IE10+ */
background: radial-gradient(ellipse at center,  rgba(255,255,255,0.25) 0%,rgba(255,255,255,0) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#66ffffff', endColorstr='#00ffffff',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}


/* Contact Page */

#contact-map {
    float: left;
    width: 100%; 
    height: 350px; 
    margin: 0 0 15px 0;
}

#contact-map iframe {
    border: 0; 
}

#contact-form {
    width: 60%; 
    float: left;
    margin: 0 30px 0 0;
}

#contact-data {
    float: left; 
    width: 35%;
    margin: 28px 0 0 0;
}

#contact-data p {
    display:block;
    overflow:hidden;
    margin:0 0 15px 0;
}

#contact-data .contact-data-field {
    float: left;
    width: 35%;
    font-weight: bold; 
}

#contact-data .contact-data-info {
    float: left;
    width: 65%;
}


/* contact */
#contactForm  div {
    float: left;
    width: 100%;
    margin-bottom: 10px;
}


.thanks {
background: #F2F3F6;
background: url('../img/ok.png') no-repeat left 1px;
padding-left:20px;
clear: both;
margin-top: 30px;
}

.error {
color: #333;
background: #FCE2D4 url('../img/error.png') no-repeat 5px 50%;
margin-top: 5px;
display:block;
clear: both; 
padding:7px;
padding-left:30px;
border-radius:6px;
font-size:11px;
border: 1px solid #fbc2c4;
width:270px;
}


.filterable {
    float: right;
    list-style: none;
    text-transform: uppercase;
    margin: 0 0 5% 0;
    clear: both;
}

.filterable li {
    float: left; 
    margin: 0 20px 0 0;
}

.filterable li a {
    color: #878787;
    padding: 5px 10px;
    text-decoration: none;
}
.filterable li a:hover {
    color: #fff;
    background: #00a8df; /* PHILIPP EDIT: was: #00b2ec, #00bfff */
}
.filterable li.active a  {
    background: #00a8df; /* PHILIPP EDIT: was: #00b2ec, #00bfff */
    color: #fff;
}

.portfolio-items {
    list-style: none;
    float: left;
    width: 100%;
    padding: 0;
}

.portfolio-items li {
    width: 355px;
    margin: 0 5px;
    text-align: center;
    float: left;
    height: 360px;
}
.portfolio-items li div, .portfolio-items li img {
    width: 100%
}
.portfolio-items li img {
    max-width: 300px !important; 
}
.portfolio-items .portfolio-item-holder {
    height: 250px;
}
.portfolio-items li .description p {
    margin: 1em 0 0;
}
.portfolio-items li .description p a {
    text-decoration: none;
    color: #00a8df; /* PHILIPP EDIT: was: #00b2ec, #00bfff */
    font-size: 120%;
}

.portfolio-items li .description span {
    text-transform: uppercase;
    font-size: 90%;
    font-weight: bold;

}


/* Pagination */
.emm-title {
    /*display: none;*/ /* PHILIPP EDIT: was: none */
} 
.emm-paginate {
    margin: 20px 0 20px 0;
    text-align: center;
}
.emm-paginate a, .emm-paginate span  {
    border: 1px solid #CCCCCC;
    background: none;
    border-radius: 4px 4px 4px 4px;
    margin: 0 4px;
    padding: 6px 12px;
    text-align: center;
    text-decoration: none;
    text-shadow: none;
    color: #999; /* PHILIPP EDIT: was: #ccc */
    transition: color 0.1s ease-in 0s;
}
.emm-paginate .emm-title {
    border: medium none;
    padding-left: 0;
    background: none;
}
.emm-paginate .emm-current {
    color: #fff; /* PHILIPP EDIT: was: #000 */
    border-color: #00a8df; /* PHILIPP EDIT: new! */
    background: #00a8df; /* PHILIPP EDIT: new! */
    font-weight: bold;
}
.emm-paginate a:hover {
    border-color: #00a8df; /* PHILIPP EDIT: was: #00b2ec, #00bfff */
    background: #00a8df; /* PHILIPP EDIT: was: #00b2ec, #00bfff */
    color: #fff;
}


/* Widgets */
.widget_sidebar {
    clear: both;
    margin-bottom: 20px; /* PHILIPP EDIT: was: 60px */
}
.widget_search label {
    display: none;
}

.widget_search #searchform {
    /*float: none;*/
    margin: 0 7px 0 0;
}

#searchsubmit {text-indent:-9999px;}
* html #searchsubmit {font-size:0;display:block;line-height:0}  /* ie6 */
*+html #searchsubmit {font-size:0;display:block;line-height:0}  /* ie7 */


/* calendar widget */
.widget_calendar {float: left;}
#wp-calendar {width: 100%; }
#wp-calendar caption { text-align: center; color: #333;  margin-top: 10px; margin-bottom: 15px; }
#wp-calendar thead { font-size: 90%; }
#wp-calendar thead th { padding-bottom: 10px; }
#wp-calendar tbody { color: #aaa; }
#wp-calendar tbody td { background: #f5f5f5; border: 1px solid #fff; text-align: center; padding:8px;}
#wp-calendar tbody td:hover { background: #fff; }
#wp-calendar tbody .pad { background: none; }
#wp-calendar tfoot #next { font-size: 90%; text-transform: uppercase; text-align: right; }
#wp-calendar tfoot #prev { font-size: 90%; text-transform: uppercase; padding-top: 10px; }


.tagcloud a { /* PHILIPP EDIT: new! was: see below! */
    color: #00a8df; 
    display: inline-block;
	margin:0;
	padding:0;
}

.go-top { /* only enabled in wider views */
	display: none; 
}

.addthis-smartlayers-desktop { /* only enabled in wider views, sharethis */
	display: none;
}


/*.tagcloud a {  PHILIPP EDIT: was: this!
    font-size: 14px !important;
    background: #00bfff;
    color:#fff;
    display: inline-block;
    padding:2px 5px;
    margin-bottom: 5px;
}*/ 

/* ==========================================================================
   Media Queries  //// TABLET SIZE
   ========================================================================== */
@media only screen and (max-width: 767px) {
    .top-menu-container nav {
/*        display: none;*/
    }
    #small-screens-menu {
/*        display:block;*/
    }
    
    ul.social {
    	z-index: 9;
    	margin-top: 55px;
    	padding: 0;
    }

    .site-title {
        width: 130px;
/*        height: 130px;*/
    }
    .site-title img {
        /*width: 130px;*/ /* PHILIPP EDIT: was: 130px */
        /*height: 130px;*/ /* PHILIPP EDIT: was: 130px */
    }

    .site-title a {
        line-height: 130px;
    }

    .site-description {
        top: 72px; /* PHILIPP EDIT: single line: 90px */
        max-width: 280px;
        line-height: 140%;
    }

    #slider_container {
        height: 490px !important; 
        margin-top: -60px !important;
    }
    .flexslider .slides li {
        height: 490px !important; 
    }
    .slides li img {
        width: 100% !important;
    }
    .flexslider .flex-caption {
        font-size: 140% !important;
    }
    .flex-control-nav {
        right: 0 !important;
        top: 450px !important;
        width: 100% !important;
    }
    .filterable {
        margin-top: 5%;
    }
    .filterable li {
        margin: 0 2px 0 0;
    }
    .filterable li {
        font-size: 80%;
    }
    .column-two .widget_sidebar {
        width: 90%;
        float: right;
    }
    #contact-data {
        width: 100%;
    }
    .commentlist article header {
        text-align: left;
    }
    .commentlist article header cite {
        border-right: 0;
        clear: right;
        display: block;
        text-align: left;
    }
    .commentlist article header time {
        clear: left;
        text-align: left;
        font-size: 80%;
    }
    .commentlist article section {
        margin-top: -15px;
    }
}


/* PHONE */
@media only screen and (max-width: 479px), screen and (max-device-width: 479px) {


    .site-title {
        float: none !important;
        width: 140px; /* PHILIPP EDIT: was: 170px */
        height: 140px; /* PHILIPP EDIT: was: 170px */
        margin: 0 auto;
    }
    .site-title img {
        /*width: 140px;*/ /* PHILIPP EDIT: was: 170px */
        /*height: 140px;*/ /* PHILIPP EDIT: was: 170px */
    }
    .site-title a {
        line-height: 140px; /* PHILIPP EDIT: was: 170px */
    }

    .site-description_ALT {
        text-align: center;
        top: 150px; /* PHILIPP EDIT: was: 175px; */
        line-height: 130%; /* PHILIPP EDIT: new! */    
        /*padding-left: 10%;
        padding-right: 10%;     */   
        width: 100%;
        left: 0;
    }
    
    .site-description {
	    position: static;
        float: none;
        margin-bottom: 10px; /* PHILIPP EDIT: was: ? */
        margin-top: 10px !important; /* PHILIPP EDIT: was: 15px !important */
        max-width: 100%;
        width: 100%;
        padding-left: 0;
        text-align: center;
    }    

    .top-menu-container {
        float: none;
        position: static;
        margin: 20px auto 10px auto;
    }
    
    .top-menu-container, nav, .top-menu-container div, .top-menu-container ul {
    	float: none !important;
    	width: auto;
    	margin: 0 auto;
    }
    
    .sf-menu-ph {
    	margin-left: -28px !important;
    }
    
    .sf-menu-ph li {
    	padding-left: 18px !important;
    }    

	.top-menu-container ul {
		display: block;
		text-align:center;
	}
	
	.top-menu-container ul li, .sf-menu-ph li  {
		display: inline-block;
		float: none !important;
	}
	
	

    .main .column-two {
        width: 100%;
        float: right;
        border-top: 2px #CECEBF solid;
        padding: 5% 0 0;
    }


    .call_to_action {
        font-size: 100%;
    }

    /* menu icon */
    #menu-icon {
            color: #FFFFFF;
            width: auto;
            background: #000000;
            padding: 10px 20px;
            cursor: pointer;
            display: block; /* show menu icon */
    }
    #menu-icon:hover {
            background-color: #666666;
    }
    #menu-icon.active {
            background-color: #333333;
    }

    article {
        text-align: left; /* PHILIPP EDIT: was: center; */
    }

    .social {
        float: left;
        margin-bottom: 10px; /* PHILIPP EDIT: was: ? */
        margin-top: 20px !important; /* PHILIPP EDIT: was: 15px !important */
        width: 100%;
        margin-left: -14px !important;
        text-align: center;
    }
    .social li {
        float: none;
        display: inline-block;
    }

    .social li:first-child {
        display: none;
    }
    
    .single-post article .middle_ad { /* hide ads when screen gets smaller */
    	display: none;
    }

    #slider_container {
        height: 450px !important; 
        margin-top: -194px !important;
    }
    .flexslider .slides li {
        height: 450px !important; 
    }
    .flexslider .slides li img {
        margin-top: 180px !important;
    }
    .flex-control-nav {
        top: 425px !important;
    }
    .flexslider .flex-caption {
        font-size: 120% !important;
    }
    .page-title {
        /*margin-bottom: 45px;*/
    }
    .page-title h2 {
        font-size: 13px;
    }
    .home .page-title h2 {
/*        font-size: 22px;*/
    }

    .searchformwrapper {
    	display: none;
    }
    
    #searchform {
        float: none;
        clear: both;
        margin: -45px auto 0;
        height: 24px; 
        position: relative;
        top: 60px;
    }
    .blog-thumb {
        width: auto;
        margin: 0 auto;
        float: none;
    }
    article .blog-entry, article p {
        width: 100%;
        text-align: left;
    }    

    article #comments, article .commentlist, article #respond {
        text-align: left;
    }

    #comment-form-elements input, #comment-form-elements textarea, #contactForm input, #contactForm textarea {
        width: 250px;
    }
    
    .commentlist article header {
		float: none;
		display: block;
		height: 65px; /* like pictures */
		clear: both;
		width: 100%;
	}
	
    .commentlist article header cite { /* name, invalidate attributes that make long names wrap */
		height: auto;
		line-height: auto;
		margin-right: auto;
		padding-right: auto;
	}	
	
    .commentlist article section {
		float: none;
		display: block;
		clear: both;
		width: 100%;
		margin-left: 0;
		margin-top: 5px;
	}


    

    .portfolio-items li {
        width: 275px;
        margin: 0 auto;
        float: none;
    }

    .portfolio-items li div {
        width: 100%;
    }

    .portfolio-items li img {
        width: 100%;
    }
	
	.imageset .image_half {
		width: 100%;
		float: none;
	}

	.imageset .image_half img {

	}
    

}

@media only screen and (min-width: 480px) {

/* ====================
    INTERMEDIATE: Menu 
   ==================== */

   
    .top-menu-container {
        
    }

    #menu-icon {
        display: none;
    }

    .social {
        margin-top: 7px; /* PHILIPP EDIT: was: 24px */
    }
    .social li:first-child {
        display: none;
    }
    
    .single-post article .middle_ad { /* hide ads when screen gets smaller */
    	display: none;
    }
    


    /* ensure #nav is visible on desktop version */
    .sf-menu {
            display: block !important;
    }




/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

    nav ul li {
        display: block;
        float: left;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }



    
}


@media only screen and (min-width: 768px) {
	.go-top {
		position: fixed;
		bottom: 18px;
		right: 22px;
/*		text-decoration: none;
		color: white;
		background-color: rgba(0, 0, 0, 0.3);
		font-size: 12px;*/
		background: url(../img/go-top.png);
		width: 32px;
		height: 32px;
		opacity:0.7;
		filter:alpha(opacity=70);     		

		padding: 0;
		display: none;
	}

	.go-top:hover {
		/*background-color: rgba(0, 0, 0, 0.6);*/
		opacity:1;
		filter:alpha(opacity=100);   
		transition: opacity 0.1s ease-in 0s;  	
	}
	
	.addthis-smartlayers-desktop {
		position: fixed;
		margin-top: 100px;
	}
	
	/* 		// Sticky scroll
		// From: http://w3bits.com/simple-sticky-scroll/#comment-1591
		// Also needs CSS class ".sidebar_second_ad_fixed" */
	.sidebar_second_ad_fixed {
		position:fixed;
		top: 15px;
		/*  z-index:99999;*/
	}	
	
	.sidebar_beer_fixed {
		position:fixed;
		top: 315px;
		/*  z-index:99999;*/
	}		
	



/* ====================
    WIDE: CSS3 Effects
   ==================== */

    .header-container,
    .main .column-two  {

    }
    .header-container header {
        position: relative;
    }

    .wrapper {
        width:95%;
        margin: 0 2.5%;
    }



/* ============
    WIDE: Menu
   ============ */

    .title {
        float: left;
    }

    

/* ============
    WIDE: Main
   ============ */

    .main .column-one {
        float: left;
        width: 63%;
    }

    .main .column-two {
        float: right;
        width: 32%;
    }

    .main .column-wide {
        float: left;
        width: 100%;
    }

    .widget_footer {
        float: left;
        width: 32%; /* PHILIPP EDIT: was: 25% */
    }
    
    .sub-menu {
        padding: 0 0 20px;
    }

    .sf-menu li {
        padding-left: 14px;
    }


    .sf-menu li:hover ul,
    .sf-menu li.sfHover ul {
        left:           0 !important;
        top:            2.5em; /* match top ul list item height */
        z-index:        99;
    }
    .flex-control-nav {
        right: 5% !important;
    }
    .flexslider .slides li img {
        width: 80%;
    }
    .social li:first-child {
        display: none;
    }
    
    .single-post article .middle_ad { /* hide ads when screen gets smaller */
    	display: none;
    }    

    .blog-thumb {
        width: 100px;
        height: 100px;
    }
    .blog-entry {
        width: 75%;
    }

    .portfolio-items li {
        width: 270px;
    }
    .page-template-template-portfolio-php .portfolio-items li {
        width: 300px;
        margin: 0 20px;
    }

    .social {
        padding: 0;
    }
}

@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */

    .wrapper {
        width: 1120px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }

    .main .column-one {
        float: left;
        width: 73%;
    }

    .main .column-two, #searchform {
        float: right;
        width: 22%;
    }

    .sf-menu li {
        padding-left: 25px; /* PHILIPP EDIT: was: 28px */
    }
    .flex-control-nav {
        right: 5% !important;
    }
    .flexslider .slides li img {
        width: auto;
    }
    .social li:first-child {
        display: block;
    }

    .blog-thumb {
        width: auto;
        height: auto;
    }
    .blog-entry {
        width: 75%;
    }
    .portfolio-items li {
        width: 355px;
    }
    
    /* Advertisements */
	.single-post article .middle_ad { 
		margin: 3px auto;
		padding: 8px 0;
		text-align: left;
	
		/* Ad size: width:728px;height:90px */
		display: block;
		width: 728px;
	/*	height: 90px;*/
	}

	.single-post article .middle_ad_rect {
		width: 336px;
	}	
/* 		// Sticky scroll
		// From: http://w3bits.com/simple-sticky-scroll/#comment-1591
		// Also needs CSS class ".sidebar_second_ad_fixed" */
	.sidebar_second_ad_fixed {
		position:fixed;
		top: 15px;
		/*  z-index:99999;*/
	}	
	
	.sidebar_beer_fixed {
		position:fixed;
		top: 315px;
		/*  z-index:99999;*/
	}		
	

	/*.single-post article .middle_ad .adsbygoogle,*/ .middle_ad iframe {
		border: 1px solid #eee;
	}

	.single-post article .middle_ad .middle_ad_text {
		font-size: 10px;
		text-align: left;
	}
	
	#top_ad {
		display:block;
		width: 468px;
		height: 60px;
		position: absolute;
		top: 59px;
		right: 0px;
	}
    
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
