﻿/* portrait and landscape */
@media screen and (min-width : 768px)
and (max-width : 1024px)  {
}

/* landscape */
@media screen and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : landscape)  {
	
	#content {
		padding: 180px 15px 72px 15px;
		min-height: 300px;
	}
	
	#powermail_field_ort {
		width: 	32.6%;
	}
	
	.powermail_form_2 textarea {
		width: calc(100% - 30px);	
	}

	.newsstartseite .buttons {
		display: block;
	}

	.navbar-collapse {
		padding-top: 0;
	}

	.navbar-expand-lg .navbar-nav .nav-link {
		padding: 36px 11px;
	}

	#accordion.product .card .card-header .title {
		width: 50%;
	}

	#accordion .card-body .spez-wrap {
		width: 50%;
	}

	#accordion .card-body .contact {
		right: 20px;
		bottom: 20px;
	}

	.col-sm-12 .frame-type-text {
		width: 100%;
	}

	.tab-content .image {
		 position: relative;
		 overflow: hidden;
	}

	.tab-content .image img  {
		max-width: inherit !important;
		height: 100% !important;
		width: auto !important;
	}

	.frame-type-dce_dceuid8 .slick-dots {
		display:none;
	}

	.powermail_fieldwrap.powermail_fieldwrap_type_input.powermail_fieldwrap_telefon {
		float: left;
		width: 47%;
	}

	.powermail_fieldwrap.powermail_fieldwrap_type_input.powermail_fieldwrap_telefon input {
		width: 100%;
	}

	.powermail_fieldwrap.powermail_fieldwrap_type_text.powermail_fieldwrap_kontaktinfo {
		right: 303px;
	}
	.buttons .button1 {
		width: 13.93%;
	}
	.buttons .button2 {
		width: 30.93%;
	}
	.buttons .button4 {
		width: 24.93%;
	}
	.print {
		display:none;
	}
	.slick-prev {
	    left: 10px;
	}
	.slick-next {
		right: 10px;
	}
	#accordion.product .card .card-header .price {
		float: right;
		width: 37%;
	}
	.product-img-wrap {
	    float: right;
    	width: 37%;
	}
	.product-img-wrap .news-img-wrap {
	    max-width: 205px;
	}
	.product-img-wrap .news-img-wrap img {
		max-height:170px;
	}
	.contentbg.infobox h3 {
		width: 80%;
	}
	.powermail_fieldwrap_type_check, .tx-powermail .powermail_legend, textarea {
		width: calc(100% - 30px);
	}
	.radio input[type="radio"], .radio-inline input[type="radio"], .checkbox input[type="checkbox"], .checkbox-inline input[type="checkbox"] {
		width: 5px;
	}
	#powermail_field_name, #powermail_field_strasse, #powermail_field_telefon, #powermail_field_e_mail {
		margin-right:0;
	}
	.tx-powermail {
		margin:0;
	}
	.tx-powermail .container-fluid {
		padding:0;
	}

	

}

/* portrait */
@media screen and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : portrait)  {

	#mainNavbar {
		height: 92px;
	}
	
	#mainNavbar .nav-item .dropdown-menu .container li a{
		padding: 15px;
		color: #000 !important;
	}

	.col-sm-6.newsstartseite {
		display: none !important;
	}

	.content-start {
		padding-top: 92px;
	}

  	.navfixed {
   		position: relative;
	}

	.ce-center .ce-outer {
		right: 62%;
	}

	.navfixed .navi3 li a {
		background-color: #eae5d6;
		color: #000;
		padding: 22px 15px;
		margin-bottom: 12px;
		background-image: url("../img/next_blue.svg");
		background-repeat: no-repeat;
		background-size: auto 20px;
		background-position: 93%;
	}

	#powermail_field_ort {
		margin-left: 3.3%;
		width: 45.8%;
	}

	.powermail_form_2 textarea {
		width: 100%;
	}

	#powermail_field_plz {
		width: 46%;
	}

	.contentbg.infobox .image {
		position: relative;
		overflow: hidden;
	}

	.contentbg.infobox .image img{
		height: 100% !important;
		width: auto;
		max-width: inherit !important;
		transform: translateX(-50%);
		left: 50%;
		position: relative;
	}

	.tab-content .image {
		position: relative;
		overflow: hidden;
	}

	.tab-content .image img {
		max-width: inherit !important;
		height: 100% !important;
		width: auto !important;
	}

	.tabcontent .image, .contentbg .image {
		width: 50% !important;
	}

	.tabcontent .text, .contentbg .text {
		width: 50%;
	}

	.fact .text {
		width: 100%;
	}

	.fact {
		width: 100%;
	}

	.fact .icon {
		margin-left: auto;
		margin-right: auto;
		float: none;
	}

	.navi3 {
		display: block;
	}

	.newsstartseite .buttons {
		display: block;
		margin-top: 15px;
		margin-bottom: 15px;
	}

	.navbar-light .navbar-toggler {
		border: none;
		margin-right: 2%;
		padding-right:0;
	}

	.navbar-light .navbar-toggler:active {
		border: none;
	}

	#mainNavbar .nav-item .dropdown-menu .container li a {
		padding: 15px;
	}

	.col-sm-12 .frame-type-text {
		width: 100%;
	}
	#mainNavbar .navbar-brand .ce-center .ce-outer{
		right:0;
		float:left;
	}
	#mainNavbar .navbar-brand .ce-center .ce-inner{
		right:0;
	}
	#mainNavbar .navbar-brand .image img {
		width: 63% !important;
		margin-left:16px;
	}

	#c157 .col-sm-4 {
		max-width: 50%;
		flex: none;
	}

	.linkbox.col-sm-3 {
		max-width: 50%;
		flex: none;
		width: 50%;
	}

	.slider span, .sliderwnavi span {
		color: #1c2d45;
		z-index: 9;
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		padding-left: 10px;
		background-color: #fff;
		padding-bottom: 3px;
	}

	.sliderwnavi .slick-dots {
		bottom: 40px;
	}

	#mainNavbar .dropdown-item.active,
	#mainNavbar .dropdown-item:active,
	#mainNavbar .dropdown-item:focus,
	#mainNavbar .dropdown-item:hover {
		border-bottom: 1px solid #fff !important;
	}
	.galerie .col-sm-4 {
		width: 50%;
		max-width: 50% !important;
	}

	.lb-nav a.lb-next {
		width: 22px;
		right: 40px;
		float: right;
		background: url(../img/next_white.svg) right 48% no-repeat;
		opacity: 1;
		position: absolute;
	}

	.lb-nav a.lb-prev {
		width: 22px;
		left: 40px;
		position: absolute;
		float: left;
		background: url(../img/prev_white.svg) left 48% no-repeat;
		opacity: 1;
	}

	.lb-caption {
		display: none !important;
	}

	.lb-close {
		width: 25px;
		height: 25px;
		right: 0;
	}


	.frame-type-dce_dceuid9 .contentbg .image,
	.frame-type-dce_dceuid9 .contentbg .text {
		width: 50% !important;
	}

	.col-sm-6.newsstartseite {
		max-width: 100%;
		flex: none;
	}

	.frame-type-dce_dceuid8 .slick-track .slick-slide img {
		position: absolute;
		transform: translateY(-50%);
		top: 50%;
	}

	#content .col-sm-4,
	#content .col-sm-8 {
		max-width: 100%;
		float: left;
		flex: 0 0 100%;
	}

	#content .col-sm-4 .navfixed {
		width: 100%;
	}
	#content .team .col-sm-4, #content .galerie .col-sm-4{
		max-width: 50%;
		flex: 0 0 50%;
	}

	#content .col-sm-4 .navfixed .titlenav {
		margin-top: 20px;
	}

	#content .col-sm-8 .frame-type-textpic header {
		margin: 15px 0;
	}

	.frame-type-dce_dceuid20 .image img {
		width: 100%;
	}

	#map {
		margin-bottom: 30px;
	}

	/*.tx-powermail input {
		width: calc(46% - 30px);
	}

	.tx-powermail .powermail_fieldset #powermail_field_plz {
		width: 42%;
	}

	.tx-powermail .powermail_fieldset #powermail_field_ort {
		width: 42%;
	}

	.powermail_form_2 textarea {
		width: 89%;
	}*/


	footer {
		margin-top: 2.5%;
	}

	#c140 .col-sm-4 {
		max-width: 50%;
		flex: none;
	}

	#c101 .col-sm-12 .sliderwnavi, .col-sm-12 .slidernav, .col-sm-12 .slider {
		width: 100%;
	}

	.footermobile {
		display: block;
		margin: 5px 15px 0;
	}

	h2.footermobile {
		font-size: 1.563em;
		line-height: 0.92em;
		text-transform: uppercase;
		margin-bottom: 14px;
		font-family: NimbusSan-Bol;
		font-weight:normal;
	}

	.footermobile a {
		background-color: #eae5d6;
		padding: 16.5px 0;
		width: 100%;
		display: block;
		text-align: center;
		margin-bottom: 15px;
	}

	.powermail_fieldwrap.powermail_fieldwrap_type_text.powermail_fieldwrap_kontaktinfo {
		position: relative;
		margin: 10px 0 15px;
		bottom: 0px;
		right:0;
	}
	.linkbox {
		margin-bottom: 15px;
	}
	
}