/*
Theme Name: GALAXIEN 1.0 
Theme URI: http://www.grausige-galaxien.de
Author: offo
Author URI: http://www.grausige-galaxien.de
Description: GALAXIEN THEME
Version: 1.00
License: Copyright 2018 GRAUSIGE GALAXIEN
*/


/** ========================================================================== RESET */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
	-webkit-text-size-adjust: 100%; 
	text-transform: none;
}
html {
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}


/** ========================================================================== TYPO */

@font-face {
  font-family: 'FontAwesome';
  src: url('fonts/fontawesome-webfont.eot?v=4.2.0');
  src: url('fonts/fontawesome-webfont.eot?#iefix&v=4.2.0') format('embedded-opentype'), url('fonts/fontawesome-webfont.woff?v=4.2.0') format('woff'), url('fonts/fontawesome-webfont.ttf?v=4.2.0') format('truetype'), url('fonts/fontawesome-webfont.svg?v=4.2.0#fontawesomeregular') format('svg');
  font-weight: normal;
  font-style: normal;
}
::selection {
    background: #333;
    color: #fff;
}
::-moz-selection {
    background: #333;
    color: #fff;
}
h1 { 
	font-family: 'PT Sans', sans-serif;
	font-size: 16px;
	line-height: 30px;
	font-weight: 700;
	text-transform: none;
	text-align: left;
	letter-spacing: 0.01em;
	color: #04b9b6;	
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: greyscale;
}
h2,
h3,
.subline { 
	font-family: 'PT Sans', sans-serif;
	font-size: 16px;
	line-height: 30px;
	font-weight: 700;
	text-transform: none;
	text-align: left;
	letter-spacing: 0.01em;
	color: #fff;	
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: greyscale;
}
p {
	font-family: 'PT Sans', sans-serif;
	font-size: 16px;
	line-height: 30px;
	font-style: normal;
	font-weight: 700;
	text-transform: none;
	color: #efefef;
	padding-bottom: 30px;
	letter-spacing: 0.02em;
}
p:last-of-type {
	padding-bottom: 0px;
}
.text ol li {
	font-family: 'PT Serif', serif;
	font-size: 20px;
	line-height: 30px;
	list-style-type: decimal;
	margin-left: 1em;
	padding-left: 0.5em;
}
.text ul li {
	font-family: 'PT Serif', serif;
	font-size: 20px;
	line-height: 30px;
	list-style-type: none;
	margin-left: 1em;
	padding-left: 0.5em;
}
.text ul li::before {
	content: '\b7';
	display: inline-block;
	width: 1em;
	margin-left: -1.5em;
}
.text ul.nolist li::before {
	content: '';
	display: inline-block;
	width: 0;
	margin-left: 0;
}

.text ol li:last-of-type,
.text ul li:last-of-type {
	padding-bottom: 30px;
}
i, em {
	text-decoration: none; 
	font-style: italic;
	font-weight: 400;
}

b, strong { 
	letter-spacing: 0.05em;
	text-decoration: none; 
	font-style: normal;
	text-transform: none;
	font-weight: 400;	 
}
mark {
	background-color: #04b9b6 !important;
	padding-left: 4px;
	padding-right: 4px;
	padding-top: 2px;
	padding-bottom: 2px;
}
a {
  	color: #fff;
	outline: none;
	text-transform: none;
	text-decoration: none;	
	border: none;
}
a:hover {
	color: #04b9b6;
	cursor: pointer;
	border: none;
}
a.thickbox,
.text a.thickbox {border: none;}
.text.foot a {border: none;}

.foot ._blank:after {
	font-family: "FontAwesome";
	content: "\f08e";
	border: none !important;
	font-style: normal;
	font-size: 12px;
	padding-left: 8px;
}

/** ========================================================================== BASIC */

body {
	font-family: 'PT Sans', serif;
	font-size: 16px;
	line-height: 20px;
	text-transform: none;
	text-align: left;
	font-style: normal;
	font-weight: normal;
	letter-spacing: 0em;
	color: #fff;
	background: #000;
	
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
	
	-webkit-hyphenate-limit-chars: auto 3;
	-moz-hyphenate-limit-chars: auto 3;
	-ms-hyphenate-limit-chars: auto 3;
	hyphenate-limit-chars: auto 3;

	-webkit-hyphenate-limit-lines: 2;
    -moz-hyphenate-limit-lines: 2;
    -ms-hyphenate-limit-lines: 2;
    hyphenate-limit-lines: 2;
} 
#masthead {
	margin: 0 auto;
	z-index: 999999;	
}
#logo {	
	width: 150px;
	position: fixed;
	left: 0;
	bottom: 100px;
	-webkit-transform: rotate(270deg);
	transform: rotate(270deg);
	z-index: 999;
}
#logo svg,
#logosmall svg {
	width: 100%;
	height: 100%;
}
#logo svg {	 
	fill: #04b9b6;
	-webkit-svg-shadow: 0 0 7px #04b9b6;
}
/*#logo:hover svg {	 
	fill: #1f1f1f;
}*/
#logosmall svg #sun {	 
	fill: #04b9b6;
}
#logosmall svg #p1,
#logosmall svg #p2,
#logosmall svg #p3 {	 
	fill: #fff;
}
#logosmall svg #ring {
	fill: #04b9b6;	
}
#logo a:hover {
	border-bottom: none;
} 
#logosmall {
	width: 60px;
	padding-left: 50px;
 	padding-top: 20px;
	display: block;
}
body.no-js #logosmall,
#logosmall.active {
	display: block;
}
.background {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: -99;
	opacity: 0.3;
}
.back {
	width: 100%;
	height: auto; 
	position: absolute;
	opacity: 1;
	z-index: -100;
}


.back img {		
	width: 100%;
	height: auto; 
}
.wrapper {
	width: 1040px;
	margin: 0 auto;	
	clear: both;
	box-sizing: border-box;

}
.more-link {
	display: none;
}
.section {
	position: relative; 
	z-index: 99;
}
.section.first {
	padding-top: 220px;
}
.section.dark {
	background: #fff;
	border-top: 1px solid #000;
}
.border {
	border-top: 1px solid #000;
	padding-top: 40px !important;
	/*padding-bottom: 80px !important;*/
}
.pagetitle {
	position: fixed;
	left: 4%;
	bottom: 30px;
	-webkit-transform: rotate(270deg);
	transform: rotate(270deg);
	width: 0;
	z-index: 999;
}
.pagetitle h1 {
	text-decoration: none;
	padding: 0;
	display: block;
	width: 30rem;
	text-align: left;
	text-transform: uppercase;
	font-size: 16px;
	letter-spacing: 0.05em;
}

.hide {display: none; }
.offohidden {
	opacity: 0;
}
.offofadein {
	opacity: 1;
	-webkit-transition: all 1.0s ease-out;
	-moz-transition: all 1.0s ease-out;
	-ms-transition: all 1.0s ease-out;
	-o-transition: all 1.0s ease-out;
	transition: all 1.0s ease-out;
}

/* ========================================================================== CLEARFIX */

.clearfix::before,
.clearfix::after {
	content: " ";
	display: table;
} 
.clearfix::after {
	clear: both;
}
.clearfix.sp {
	padding-top: 90px;
}


/* ========================================================================== MAIN NAVIGATION */

.main-navigation {
	height: 64px;
	min-height: 63px;
	padding-top: 0;
	padding-bottom: 0;	
	padding-right: 60px;
	float: right;
	z-index: 99999999
}
.main-navigation ul {
    margin: 0; 
	padding: 0;
	-ms-box-shadow: 20px 20px 30px rgba(0,0,0,0.1);
	-moz-box-shadow: 20px 20px 30px rgba(0,0,0,0.1); 
	-o-box-shadow: 20px 20px 30px rgba(0,0,0,0.1); 
	-webkit-box-shadow: 20px 20px 30px rgba(0,0,0,0.1); 
	box-shadow: 20px 20px 30px rgba(0,0,0,0.1);  
}
.main-navigation li {
    display: block;
    float: left;
    line-height: 30px;
    height: 30px;
    margin: 0; 
	padding: 0; 
    position: relative;    
}
.main-navigation li a {
    display: block;
    line-height: 56px;
    padding-top: 0px;
	padding-left: 16px;
    padding-right: 16px;
	font-size: 14px;
	font-weight: 700;
	color: #fff; 
	text-transform: uppercase;
	border: none;
	border-top: 4px solid transparent;
} 
.main-navigation a:hover  { 
    color: #04b9b6 !important;
	cursor: pointer; 
}
.main-navigation .current_page_item a { 
    color: #04b9b6 !important;
	border-top: 4px solid #04b9b6;
	cursor: pointer; 
}
.main-navigation .current_page_item .sub-menu a { 
    color: #000 !important;
	border-top: 4px solid #fff;
	cursor: pointer; 
}
.current_page_item .sub-menu .current_page_item  a { 
    color: #04b9b6 !important;
	border-top: 4px solid #fff !important;
	cursor: pointer; 
}
.sub-menu li a { 
    color: #000 !important;
	border-top: 4px solid #fff !important;
	cursor: pointer; 
}
.sub-menu .current_page_item  a { 
    color: #04b9b6 !important;
	border-top: 4px solid #fff !important;
	cursor: pointer; 
}
.main-navigation .current_page_item .sub-menu a:hover { 
    color: #04b9b6 !important;
	border-top: 4px solid #fff !important;
	cursor: pointer; 
}
.main-navigation ul ul { 
    display: none;
    position: absolute;
    top: 60px;
	z-index: 999999;
	min-width: 200px;	
}
.main-navigation ul ul li { 
    float: none; 
    width: 100%; 
	height: auto;  
	background: #fff;
}
.main-navigation ul ul li a { 
	line-height: 30px;
    padding: 8px 8px 8px 16px;
}
.main-navigation ul li:hover > ul {
    display: block;
} 
.main-navigation .current-menu-parent > a  { 
    color: #04b9b6 !important;
	border-top: 4px solid #04b9b6;
}
.main-navigation .menu-item-type-custom {
	cursor: pointer; 
}


/* ========================================================================== TOP NAVIGATION / FIXHEAD */
	
#fixhead {
	position: fixed;
	top: 0;
	width: 100%;
	height: auto;
	margin: auto;
	z-index: 99999;
	-webkit-transition: all 0.2s ease-out;
	-moz-transition: all 0.2s ease-out;
	-ms-transition: all 0.2s ease-out;
	-o-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;	
	background: none;
}
body.no-js #fixhead,
#fixhead.active {
	background: rgba(0, 0, 0, 1);
	-ms-box-shadow: 0 0 7px rgba(0, 0, 0, .13);
	-moz-box-shadow: 0 0 7px rgba(0, 0, 0, .13);
	-o-box-shadow: 0 0 7px rgba(0, 0, 0, .13);
	-webkit-box-shadow: 0 0 7px rgba(0, 0, 0, .13);
	box-shadow: 0 0 7px rgba(0, 0, 0, .13);
}
body.no-js #fixhead,
#fixhead.active:hover {
	background: rgba(0, 0, 0, 1);
}
#fixhead .container {
	height: auto;
	float: left;
} 


/** ========================================================================== POSTS */

.post {
	width: 100%;	
	float: left;
	margin-top: 0px;
	margin-bottom: 60px;
	padding-left: 30px;
	padding-right: 30px;
	padding-top: 0px;
	box-sizing: border-box;	
}
.post.xs {
	width: 25%;
}
.post.s {
	width: 33.3334%;
}
.post.m {
	width: 50%;
}
.ml {
	width: 75%;
	margin-left: 12.5%;
}  
.post.l {
	width: 66.6667%;
	margin-left: 16.6667%;
}
.post.xl {
	width: 100%;
	padding: 0;
}
.thumb { 
	width: 100%;
	height: auto;
	position: relative;
	overflow: hidden;
}
.thumb img { 
	width: 100%;
	height:100%;
	display: block;
}
.title,
.text {
	width: 100%; 
	height: auto;
	float: left;
	margin: 0;
	box-sizing: border-box;
}
.uppercase {text-transform: uppercase;}

.date,
.wp-caption-text,
.text.excerpt.foot,
.text.excerpt.foot p {
	font-family: 'PT Sans', sans-serif;
	font-size: 14px;
	line-height: 30px;
	font-style: normal;
	font-weight: 400;
}
.tags {
	padding-top: 20px;
	padding-right: 16px
}
.tags li:before {
	content: '\b7\a0\a0';
}
.tags li {
	list-style-type: none;
 	text-indent: -0.7em;
}


/** ========================================================================== POST L / XL*/

.post.xl {
	margin-bottom: 40px;
}
.post.xl,
.post.l {
	padding: 30px;
}
.post.l .title {
	padding-bottom: 20px;
}
.post.xl .thumb,
.post.l .thumb,
.post.l .text {
	width: 100%;
	padding-left: 0;
	padding-right: 0;
	margin-bottom: 40px;
	float: left;
}
.post.l .text.teaser { 
	margin-bottom: 30px;
}
.post.xl .title,
.post.xl .text,
.post.xl .subline,
.post.l {
	width: 75%;
	margin-left: 12.5%;
	padding-left: 30px;
	padding-right: 30px;
}
.post.xl .text form  {
	margin-top: 40px;
}

.post.xl p {
	/*font-size: 16px;
	line-height: 30px;
	font-style: normal;
	font-weight: 700;
	text-transform: none;
	color: #efefef;*/
	padding-bottom: 60px;
	/*letter-spacing: 0.02em;*/
}
.post.l.list {
	margin-bottom: 40px;
}
.post.l.list .title,
.post.l.list .text,
.post.l.list .subline {
	margin-bottom: 0px;
	padding-bottom: 0px;
}

/** ========================================================================== POST M  */

.post.m {
	padding: 30px;
}

.post.m.list {
	width: 66.667%;
	overflow: hidden;
	margin-left: 16%;
	margin-bottom: 16px;
	padding: 8px;
}
.post.m .title, 
.post.m .date,
.post.m .subline,
.post.m .text {
	width: 100%;
	padding-left: 16px;
	padding-right: 16px;
	box-sizing: border-box;	
	/*background: rgba(255, 255, 255, 0.7);*/
	clear: both;
}
.post.m .date {
	padding-bottom: 20px;
}
.post.m .text {
	padding-bottom: 16px;
}
.post.m .subline {
	 
}
.post.m .thumb { 
	width: 100%;
	float: left;
}
.post.m:nth-child(2n+1) {
	clear: both;
}



.issue .thumb {
	overflow: visible;
	
	-webkit-transition: all .2s ease;
	-moz-transition: all .2s ease;
	-ms-transition: all .2s ease;
	-o-transition: all .2s ease;
	transition: all .2s ease;
	
	
}
.issue:hover .thumb {
	-webkit-transform: rotate(7deg) scale(1.2);
	-moz-transform: rotate(7deg) scale(1.2);
	-ms-transform: rotate(7deg) scale(1.2);
	transform: rotate(7deg) scale(1.2);
} 
.issue:hover .thumb img {
	 -webkit-filter: drop-shadow(5px 5px 15px #04b9b6);
  	filter: drop-shadow(5px 5px 15px #04b9b6);
} 



/** ========================================================================== POST S / XS  */

.post.s:nth-child(3n+1) { 
	clear: both;
}
.post.xs:nth-child(4n+1) { 
	clear: both;
}
.post.s .title,
.post.xs .title {
	padding-top: 16px;
}
.post.s .title,
.post.s .date, 
.post.s .subline,
.post.s .text,
.post.xs .title,
.post.xs .date, 
.post.xs .subline,
.post.xs .text {
	width: 100%; 
	height: auto;
	float: left;
	padding-left: 16px;
	padding-right: 16px;
	margin: 0;
	box-sizing: border-box;
	background: rgba(255, 255, 255, 0.7);
	clear: both;
}
.post.s h1,
.post.s h2,
.post.xs h1,
.post.xs h2 {
	font-size: 16px;
	line-height: 20px;
	margin-top: 0px;
	margin-bottom: 4px;
}
.post.s h3,
.post.xs h3 {
	font-size: 16px;
	line-height: 20px;
	color: #04b9b6;
	margin-top: 0px;
	margin-bottom: 0px;
}
.post.s .subline,
.post.xs .subline,
.post.s .date,
.post.xs .date {
	font-size: 12px;
	line-height: 20px;
	margin-top: 0px;
	margin-bottom: 0px;
}
.post.s .text p,
.post.s.s .text p,
.post.xs .text p {
	font-size: 16px;
	line-height: 20px;
	margin-bottom: 0;
	padding-top: 8px;
	padding-bottom: 8px;
}


/* ========================================================================== FOOTER  */


.footer {
  	width: 100%;
	height: auto;
	padding-bottom: 40px;
	clear: both;
	background: #000;
}
.footer-text {
	padding-top: 20px;
}
.footer h1 {
	font-size: 12px;
	text-align: center;
}
.footer-navigation,
.footer p {
	font-family: 'PT Sans', sans-serif;
	font-size: 12px;
	line-height: 20px;
	font-weight: 700;
	color: #ccc;
	text-transform: none;
	letter-spacing: 0.05em;
	text-align: center;
	padding-bottom: 20px;
}
.footer-navigation ul li {
	list-style: none;
	display: inline-block;	
	padding-left: 4px;
	padding-right: 4px;
}


.footer a {
	color: #ccc;
}
.footer a:hover {
	color: #04b9b6;
}

/** ========================================================================== BUTTONS */

.button-wrapper {
	text-align: center;
	z-index: 999;
}
.button,
input[type="button"], 
input[type="submit"] {
	width: 100%;
	box-sizing: border-box;
	font: 16px 'PT Sans', sans-serif !important;
	font-style: normal !important;	
	font-weight: 700 !important;
	text-transform: uppercase !important;
	line-height: 20px !important;
	color: #fff !important;
	text-align: center !important;
	letter-spacing: 0.1em !important;
	text-indent: 0 !important;
	background: #04b9b6 !important;
	border: 2px solid #04b9b6 !important;
	padding: 8px !important;
	border-radius: 0 !important;
	
	-webkit-transition: all 0.2s ease-out;
	-moz-transition: all 0.2s ease-out;
	-ms-transition: all 0.2s ease-out;
	-o-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
	
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: greyscale;
}
input[type="button"]:hover, input[type="button"]:active,
input[type="submit"]:hover, input[type="submit"]:active,
.button:hover, .button:active {
	border: 2px solid #f20000 !important;
	color: #fff !important;
	background: #f20000 !important;
	cursor: pointer !important;	
	box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1) !important;
	-ms-box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1) !important;
	-moz-box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1) !important;
	-o-box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1) !important;
	-webkit-box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1) !important;
	
}
.readmore,
.more { 
	font-family: 'PT Sans', serif;
	font-size: 14px !important;
	line-height: 30px;
	text-transform: none;
	text-align: left;
	font-style: normal;
	font-weight: 400;
	letter-spacing: 0em;
	color: #000;
	border: none;
}
.readmore:hover {
	color: #04b9b6;
	border: none;
}
.readmore:before  { 
	font-family: "FontAwesome";
	font-size: 8px;	
	font-weight: 400;
	content: "\A \f054 \00a0";
	white-space: pre-line; 
}
.more-link {
	display: none;
}


/** ========================================================================== INPUT ETC */

select, 
input, 
textarea {	
	color: #000 !important;
	font-size: 16px !important;
	line-height: 38px !important;;
	font-weight: 400 !important;
	text-transform: none !important;	
	padding: 0px !important;
	margin: 0 !important;
	border-radius: 0 !important;
	-webkit-border-radius: 0 !important;
	-moz-border-radius: 0 !important;
	-op-border-radius: 0 !important;
	-ms-border-radius: 0 !important;
		
	box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1) !important;
	-ms-box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1) !important;
	-moz-box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1) !important;
	-o-box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1) !important;
	-webkit-box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1) !important;
	
	background: rgba(255, 255, 255, 0.5) !important;
	border: none !important;	
	border-bottom: 2px solid #000 !important;	
	-webkit-transition-duration: 0.2s !important;	
    -moz-transition-duration: 0.2s !important;
    -o-transition-duration: 0.2s !important;
    transition-duration: 0.2s !important;
	outline: none;
	display: inline-block;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	cursor: pointer;
	text-indent: 0;
	box-sizing: border-box
}
select, 
select:hover, 
select:checked { 
	border: 2px solid #000 !important;	
	color: #000 !important; 
}
select:active, 
select:focus, 
input:active {
	color: #000 !important;
} 
textarea, 
input[type="text"], 
input[type="email"], 
input[type="tel"],
input[type="number"] {
	color: #000 !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	letter-spacing: 0.1em !important;
	text-transform: none !important;
	width: 100% !important;
	vertical-align: middle !important;
	box-sizing: border-box;
	text-indent: 10px;
}
input[type="radio"], 
input[type="checkbox"], 
.input-checkbox {
	width: 16px !important;
	height: 16px !important;
	margin-right: 16px !important;
	margin-top: 0 !important;
	display: inline-block !important;
	box-sizing: border-box;
	border: 2px solid #000 !important;
	transform: translate(0px, 4px);
}
input[type="radio"]:hover, 
input[type="checkbox"]:hover, 
.input-checkbox:hover  { 
	border: 2px solid #000 !important;	
	color: #000 !important; 
}
input[type="radio"]:checked, 
input[type="checkbox"]:checked, 
.input-checkbox:checked  { 
	background: #04b9b6 !important;
	border: 2px solid #000 !important;	
	color: #000 !important; 
}



/** ========================================================================== THICKBOX */

#TB_overlay {
	background-color: #fff !important;
	opacity: 0.9 !important;
}
#TB_window {
	box-shadow: 0 1px 30px rgba(0, 0, 0, .25);
	background-color: #000 !important;
	width: 1px !important;
}
#TB_window a, #TB_window a:hover {
	text-decoration: none !important;
	border: none !important; 
}
#TB_Image {
	border: none !important; 
	margin: 0 !important;
}
.screen-reader-text {
	display: none !important;
}
.tb-close-icon{
	color: #33ccff !important;
	display: none !important;
}
.tb-close-icon:hover{
	color: #fff !important;
}
.tb-close-icon:before {
	font: 12px 'FontAwesome' !important;
	font-weight: normal !important;
	content: '\33ccffd' !important;
	padding-left: 16px !important;
}
#TB_caption {
	display: none !important;
}
#TB_load {
	position: fixed;
	display: none !important;
}
#TB_load:before { 
	width: 200px !important;
	height: 200px !important;
	background-color: #000 !important;
	content: '\e646' !important;
	font: normal 20px/29px 'FontAwesome' !important;
	display: none !important;
}
#TB_closeWindow {
	display: none !important;
}


/** ========================================================================== IMAGES */

img,
a img {
	border: none !important;
}
p img {
	max-width: 100%;
}
.entry-content img,
.comment-content img,
.widget img {
	max-width: 100%; 
}
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
	height: auto; 
}
img.size-full,
img.size-large,
img.header-image,
img.wp-post-image {
	max-width: 100%;
	height: auto; 
}
embed,
iframe,
object,
video {
	max-width: 100%;
}
.alignnone  {
	width: 100% !important;
	height: auto;
	margin-top: 25px;
	margin-bottom: 45px;
	margin-left: 0;
	margin-right: 0;	
	padding: 0;
	box-sizing: border-box;
}
img.alignnone,
.alignnone img {
	width: 100% !important;
	height: auto;
	padding-top: 0;
	box-sizing: border-box;
	float: none;
}
.alignleft,
.alignright {
	width: 100% !important;
	height: auto;
	margin-top: 25px;
	margin-bottom: 45px;
	margin-left: 0;
	margin-right: 0;
	padding-left: 10%;
	padding-right: 10%;
	box-sizing: border-box;
	float: left;
	position: relative;
}
img.alignleft,
.alignleft img {	
	width: 50% !important;
	box-sizing: border-box;
	/*padding-right: 20px;*/
}
img.alignright,
.alignright img {	
	width: 50% !important;
	box-sizing: border-box;
	/*padding-left: 20px;*/
 	float: right;
}

.aligncenter {
	width: 100% !important;
	display: block;
	padding-top: 30px;
	padding-bottom: 30px;
	margin-left: auto;
	margin-right: auto;
}
img.aligncenter,
.aligncenter img {
	width: 100% !important;
	height: auto;
	padding-top: 0;
	padding-left: 25%;
	padding-right: 25%;
	box-sizing: border-box;
	float: none;
}
.alignright .wp-caption-text {
	text-align: right;
	width: 40%;
	padding-left: 0;
	position: absolute;
	bottom: 0;
	left: 5%;
}
.alignleft .wp-caption-text {
	width: 40%;
	padding-left: 0;
	position: absolute;
	bottom: 0;
	right: 5%;
}
.alignnone .wp-caption-text,
.aligncenter .wp-caption-text {
	width: 60%;
	padding-left: 20%;
	text-align: center;
}



/* ========================================================================== RESPONSIVE */


@media only screen and (min-width: 1141px)  {
.main-navigation,
#social-navigation,
#fixhead,
#fixhead .container:first-child,
#fixhead .container:last-child {
	display: block !important;
}
}

@media only screen and (min-width: 761px) and (max-width: 1140px) { 

#fixhead {
	background: #000;
}

.wrapper {
	width: 100%;
	padding-left: 4%;
	padding-right: 4%;
	box-sizing: border-box;
}

 
}

@media only screen and (min-width: 761px) and (max-width: 1040px) and (orientation:portrait) { 

.post.xs,
.post.s,
.post.m,
.post.m.ml {
	width: 50%;
	margin-left: 0;
	padding-left: 30px;
	padding-right: 30px;
}
.post.s:nth-child(3n+1) {
	clear: none;
}
.post.s:nth-child(2n+1) {
	clear: both;
}
.post.xl,
.post.l,
.post.xl {
	width: 100%;
	height: auto;
	margin-left: 0;
}

}

@media only screen and (max-width: 760px) {


.main-navigation,
#social-navigation  {
	display: none;
}
#fixhead {
	background: #000;
}
#fixhead .active,
#logosmall {
	opacity: 1;
}
#logo {
	position: relative;
	top: 80px;
	bottom: auto;
	-webkit-transform: rotate(0);
	transform: rotate(0);
	
	width: 30%;
	padding-left: 35%;
	padding-bottom: 100px;
	margin: 0;
	
}
.background {display: none;}
.wrapper {
 	width: 100%;
	padding-left: 0;
	padding-right: 0;
 	position: relative;
	overflow: hidden;

}
#intro,
.section.first {
	padding-top: 30px;
}
h1,
.post.xl p {
	font-size: 20px;
}
.post {
	width: 100%;
	height: auto;
 	margin-bottom: 0px;
}
.post.xs,
.post.s,
.post.m,
.post.m.ml,
.post.m.list,
.post.xl,
.post.l,
.post.xl {
	width: 100%;
	height: auto;
	margin-left: 0;
	margin-bottom: 30px;
}
.post .title,
.post .subline,
.post .text,
.post.xs .title,
.post.xs .subline,
.post.xs .text,
.post.s .title,
.post.s .subline,
.post.s .text,
.post.m .title,
.post.m .subline,
.post.m .text,
.post.m .date,
.post.l .title,
.post.l .subline,
.post.l .text,
.post.xl .title,
.post.xl .subline,
.post.xl .text {
	width: 100%;
	height: auto;
	padding-left: 0;
	padding-right: 0;
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 0;
	clear: both;
}
.post.l .subline {
	margin-bottom: 1em;
}
.text.excerpt.foot {
	padding-top: 30px;
}
.border { padding-bottom: 0px !important; }
.pagetitle {
	position: absolute;
	left: 0;
	top: 0;	
	margin-top: 4em;
	padding-left: 30px;
	-webkit-transform: rotate(0);
	transform: rotate(0);
	width: 100%;
	height: 4em;
	box-sizing: border-box;
	z-index: 100;
}
.pagetitle {
	display: none;
	margin-top: 10px;;
}
.pagetitle h1 {width: 100%;}
.month h2 {padding-left: 30px;}
.footer {margin-top: 0px;}


}

@media only screen and (max-width: 760px) and (orientation:landscape) { 

#logo {
	width: 30%;
	padding-left: 35%;
	margin: 0;
	margin-top: 60px;
}
h1 {
	font-size: 20px !important;
	line-height: 30px !important;
}
.wrapper {
	width: 100%;
}

.post.l,
.post.xl {
	width: 75% !important;
	margin-left: 12.5%;
}
.post.xs,
.post.s,
.post.m {
	width: 50% !important;
}
.post.s:nth-child(3n+1) {clear: none;}
.post.xs:nth-child(2n+1),
.post.s:nth-child(2n+1),
.post.m:nth-child(2n+1) {clear: both;}


}