
/* =Tablet (Portrait) - Width of 768px
-------------------------------------------------------------- */

@media only screen and (min-width: 768px) and (max-width: 959px) {
/* START */
#site-container {width:768px;}
#content, #home-content-main {width:523px;}
#sidebar {width: 150px;}
/* Nav */
#primary-nav {float: left;margin: 10px 0 15px;}
#primary-nav ul li.first-child {margin-left:0;}
#primary-nav ul li a strong {font-size:13px;}
#primary-nav ul li a span {font-size:12px;}
/* Home */
#callout {width:260px;font-size:13px;}
.flex-caption {width: 35%;}

#hpslider {width:428px;margin:40px 0 0;min-height: 200px;}
.flexslider .slides {width:428px;height: 258px;}
#home-blog li, .home-blocks li, #home-portfolio li {width:100%;margin: 0 20px 15px 0;}
#home-blog li:nth-child(4), .home-blocks li.last-child {margin-right:0;}	

#home-content-main .entry-descr-wrap { width:353px}
.home-blocks .sd-invopooh-entries-inhalt  { width:353px}
/* Portfolio */
#portfolio-wrapper .hentry {width:229px;height: 255px;}
#portfolio-wrapper .overlay {height: 172px;width: 229px;}
.single-st_portfolio .entry-thumb, .single-st_portfolio .entry-video {width:480px;}
.single-st_portfolio .entry-wrap {margin: 0 0 0 505px;}
#entry-related ul li {width:169px;height:150px;}
#entry-related .overlay {width:169px;height:127px;}
/* Footer */
#footer-widgets .widget {margin: 0 20px 0 0;width: 227px;}
/* Comments */
#commentform #comment {width:341px;}
/* Misc */
.overlay {height: 167px;width: 168px;}
.widget_search #s {width: 132px;}
/* Invopoh */
.entry-content .sd-invopooh-entries-inhalt {float: left;}
/*Buch*/
#smmr-buch-start-logo-bild {
width: 341px;
height: 406px;
background-size: 100%;
}
#smmr-buch-start-logo-text {
margin-left: 243px;
}
/*
POST NOTIFICATION
*/
#newsletter #post-notification-email {
}
/*Sidebar */
#sidebar .execphpwidget iframe {
max-width: 186px !important;
border-right: #CCC 1px solid !important;
border-radius: 3px !important;
}
/*Sharebar*/
body ul#sharebarx li:first-child {
margin-right: -8px !important;
}
body ul#sharebarx li {
margin-right: 3px !important;
}
body ul#sharebarx li:last-child {
margin-right: 0px !important;
width: 141px;
margin-left: -7px;
}
/*wp cf7 */
.wpcf7 input {width:299px;}
.wpcf7 textarea {width: 288px;}
.wpcf7 .wpcf7-submit {width: 320px;}
.ts-kontakt-hinweis {width: 320px;}
/* END */
.ts-blog-likeme {margin-bottom: 0;}
.ts-blog-likeme .arrow,
.single .ts-blog-gimmick {
	display:none;
}


/* DoBanner*/
.ts_dobn {
height: 130px !important;
background-position: -124px 0px !important;
width: 130px !important;
background-color: #3269a6 !important;
}

/* Link-blöcke*/
#ts_einklapp .ts_einklapp_trigger {
margin-right: 35px;
}

}

/* =Mobile - Width of 320px
-------------------------------------------------------------- */

@media only screen and (max-width: 767px) {
/* START */
#site-container {width:300px;padding:0 10px;}
/* Responsive Grid */
.row { width: 100%; min-width: 0; margin-left: 0; margin-right: 0; }
.row .row .column, .row .row .columns { padding: 0; }
.column, .columns { width: auto !important; float: none; margin-left: 0; margin-right: 0; }
.column:last-child, .columns:last-child { margin-right: 0; float: none; }
[class*="column"] + [class*="column"]:last-child { float: none; }
.column:before, .columns:before, .column:after, .columns:after { content:""; display:table; }
.column:after, .columns:after { clear: both; }	
/* Layout */
#primary {padding:0;}
#content, #sidebar {width:100%;float:none;}
#header {text-align:center;}
#header-top {text-align:center;display:none;}
#header-top .left {float:none;margin:0 0 10px;}
#header-top #social {float:none;}
#header #logo h1 {margin: 0 auto;}
#header #logo, #primary-nav {float:none;  margin-left: 24px;}
/* Nav */
#primary-nav {margin:0 0 15px;}
#primary-nav ul     { display: none; }
#primary-nav select { display: inline-block; margin:8px 10px;padding:5px;max-width: 254px; }
/* Home */
#callout {text-align:left;}
#callout, #hpslider {float:none;width:100%;}

#page-header p {
	clear:both;
	margin-left: 0;
	}
	
#hpslider {min-height: 0;}
.flexslider .slides {width:100%;height: auto;}
#home-content-main {width:100%;}

#home-content-main .entry-descr-wrap { width:100%}
#home-content-main-1 #home-blog.home-content-main-wrap ul.main-post {min-height: 342px;}
#home-content-main-1 #home-blog.home-content-main-wrap ul.main-post li.post { max-height: 342px; }

.home-blocks .sd-invopooh-entries-inhalt {width:100%}

h3.deco {margin: 0 0 20px;}
.flex-caption, .flex-control-nav {display:none;}
.flex-direction-nav li a {bottom:10px;}
.flex-direction-nav {right:10px;}
#home-blog ul, .home-blocks ul, #home-portfolio ul {margin:0;}
#home-blog li, .home-blocks li, #home-portfolio li {
	float:none;
	width:100%;
	margin:0 0 20px;}
#home-blog .entry-thumb-placeholder {width:320px;height:240px;}
/* Blog */
.post .entry-content {text-align: left;}
.blog .post {margin: 0 0 30px;padding: 0 0 30px;}
.entry-meta {display:none;}
.entry-wrap {margin:0;}
/* Comments */
#comments, #comments ol.commentlist {margin: 0;}
#comments .comment-wrap {margin:0 0 20px;}
.commentlist ul {padding:0 0 0 30px;}
.comment-body {margin:20px 0 0;}
#respond {margin:0 0 20px;}
#commentform #comment {width:288px;}
/* Portfolio */
#portfolio-wrapper .hentry, .item img {width:320px;height:315px;}
.single-st_portfolio .entry-thumb, .single-st_portfolio .entry-video {width:100%;float:none;margin:0 0 20px;}
.single-st_portfolio .entry-wrap {margin:0;}
#entry-related ul li, #entry-related .item img {width:320px;height:240px;}
/* Footer */
#footer-widgets {margin:0;}
#footer-widgets .widget {margin: 0 0 20px 0;width: 100%;float:none;}
#footer-bottom #footer-nav {display:none;}
#footer-bottom #copyright {float:none;text-align:center;}
/* Misc */
.overlay {width: 320px;height:240px;}
.contact-form input[type="text"] {width: 260px;}
.contact-form textarea {width:250px;}
.error404 .post {text-align:center;}
/* Muster */
#sd-muster-textarea-generated { width: 90%;}
/*Buch*/
#smmr-buch-start-logo-bild {
    background-size: 100% auto;	
    height: 390px;
    left: -15px;
    top: -16px;
    width: 325px;
}
#smmr-buch-start-autor-bild {
    float: none;
    margin: 271px 20px 25px 32px;
}
#smmr-buch-start-logo-text {
	margin-left:0;
    margin-top: 376px;
    position: absolute;
}
#smmr-buch-start-logo-text li {
    margin: 10px 0 0px -26px;
}
/* 
Kontakt-Slider
*/
#wpbs_slider_box_1422219885028 {
display:none;
}

/*
Kontakt-Formular
*/
.wpcf7 .wpcf7-weiterleitung-block {
  width: 100%;
}
.wpcf7 .wpcf7-label-weiterleitung-ja {
  width: 100%;
  margin-top: 21px;
}

.wpcf7 label {
  width: 100%;
}

#ts_einklapp .ts_einklapp_trigger {
margin-bottom:20px;
}
/* Content Bloecke / Hinweise Artikel/Podcasts*/
.entry-content .ts-hinweis-termin, 
.entry-content .ts-hinweis-artikel {
max-width: 289px;
}
.entry-content .ts-hinweis-artikel.podcast .powerpress_player {
min-height: 115px;
}

.entry-content .ts-hinweis-artikel.podcast li.last-child {
width:90%;
}

/*
POST NOTIFICATION
*/
#newsletter #post-notification-email {
width: 276px;
margin-left: 0;
display: block;
}
/*wp cf7 */
.wpcf7 input {width:278px;}
.wpcf7 textarea {width: 268px;}
.wpcf7 .wpcf7-submit {margin-left:0;width: 299px;}
.ts-kontakt-hinweis {margin-left: 0;display: block;text-align: justify;width: auto;
}
.ts-blog-likeme {margin-bottom: 0;}
.ts-blog-likeme .arrow,
.single .ts-blog-gimmick {
	display:none;
}

.entry-content .ts-hinweis-termin, 
.entry-content .ts-hinweis-podcast {
width: auto;
}

.entry-content .ts-hinweis-termin li,
.entry-content .ts-hinweis-podcast li,
.entry-content .ts-hinweis-artikel li {
float: left;
width: auto;
}
 /* END */      
}