﻿body {
	position:relative;
	overflow-y:auto !important;
}

#overlay{
  position:absolute;
  z-index:10;
  height:100%;
  width:100%;
  background-color: rgba(0,0,0,0.5);
  display:none;
}

#modal {
	position: absolute;
	z-index: 11;
	background-color:white;
	padding: 10px;
	border:1px solid white;
	border-radius: 5px;
	top:50vh; 
	left:50%
}

#recomSucc img {
	text-align:center;
	max-width:100%;
}

#wrapper {
	margin: 0 auto;
	width: 100%;
	box-shadow: 0 0 10px 2px #b3b3b3;
}

#header {
	width: 100%;
	background-size: 100%;
	position:relative;
}

#logo {
	position: absolute;
	left:20px;
	bottom:-90px;
	z-index:1;
	background:white;
	padding:10px;
	border: 1px solid #2d2d2d;
	text-align:center;
	width:190px;
	height:190px;
}

#profilpic{
	background-repeat: no-repeat !important;
	background-size: contain !important;
	background-position: center !important;
	width: 100%;
	height: 100%;
}

#logoUploadForm {
	line-height:normal;
}

#logoUpload {
	display: none;
	width:120px;
	margin-top:10px;
}

#pageCounter_bottom b {
	border: 1px solid black;
}

#pageCounter_bottom b, #pageCounter_bottom a {
	padding: 3px 4px 3px 4px;
}

#pageCounter_bottom a:hover {

	outline: 1px solid #c42026;
	font-weight:bold;
}

#uploadButton {
	margin-left:auto;
	margin-right:auto;
	float:none;
}

#editorBanner {
	background-color: white;
	position:absolute;
	top:10px;
	left:10px;
	border:2px dotted #c42026;
	display: inline-block;
	text-decoration: none;
	padding:5px;
	line-height:20px;
}

#editorBanner span{
	vertical-align:bottom;
}

#editorBanner a:hover .iconfont {
	color:#c42026;
}


#mainContainer {
	width: 100% !important;
	background-color: #ffffff;
	z-index: 2;
}

/* navi */
#mobileNavigation {
	width: 100%;
	z-index: 10;
	display: flex;
	background: #454545;
	box-sizing:border-box;
}

	#mobileNavigation .premium {
		color: #fff;
		padding: 0px 45px 0px 0px;
		top: 0;
		width: 100%;
		text-align: center;
		text-transform:uppercase;
		font-size:16px;
	}

		#mobileNavigation .premium .iconfont {
			vertical-align: middle;
			color: #eab222;
			padding:10px 0;
		}

		#mobileNavigation span, #mobileNavigation a {
			color: #fff;
			padding: 10px;
			font-size: 25px;
		}

#mobileNavigation .menu{
	position: absolute;
	right: 0;
}

#naviBar{
	position:absolute;
	right: 0;
	top: 0;
	z-index:2;
	width: 250px;
	display:none;
}

#footerNav{
	display:none;
}

#naviBar ul, #footerNav ul{
	margin:0;
	padding:0;
}

#naviBar ul li, #footerNav ul li{
	list-style:none;
	background: #efefef;
	float:left;
	position:relative;
	width: 100%;
}

#naviBar ul li a, #footerNav ul li a{
	text-decoration:none;
	display:inline-block;
	padding:15px;
	box-sizing: border-box;
	width: 100%;
}

#naviBar ul li > a{
	border-bottom: 1px solid #cdcdcd;
}

	#naviBar ul li {
		background-color: #fff
	}

	#naviBar ul li:hover{
		background-color: #f3f3f3 !important;
	}

	#naviBar ul li a{
		color: #000 !important;
	}

#naviBar ul li:last-child > a{
	border:none;
}

#footerNav ul li a{
	color:#000;
}

#naviBar ul .navi_list_horses .iconfont, #footerNav ul .navi_list_horses .iconfont{
	position: absolute;
	top: 0;
	right: 0;
	padding: 15px;
	font-size: 13px;
	vertical-align: initial;
	cursor:pointer;
}

#naviBar ul .navi_selected > a{
	background: #f3f3f3;
}

#footerNav ul .navi_selected > a{
	background:gray;
	color:#fff !important;
}

#naviBar ul .navi_selected .iconfont, #footerNav ul .navi_selected .iconfont{
	color:#fff!important;
}

.typeSubmenu {
	color:#626262;
	display:block;
	background-color: #efefef;
	display:none;
	left:initial;
	z-index:1;
	width:100%;
	border-bottom:1px solid #cdcdcd;
}

.typeSubmenu a{
	padding:10px 10px 10px 30px!important;
}

#infoPic {
	float: left;
	margin-top: 15px;
}

#tsInfoTop {
	border-bottom: 1px solid #B2B2B2;
	min-height: 120px;
	position:relative;
}

#footer {
	width: 100%;
	clear: both;
	background: #454545;
	padding:0 !important;
}

#footerCont {
	padding:10px;
	color: #CDCDCD;
	line-height: 20px;
}

#tsDataFoot, #tsDataFoot3{
	width:300px;
	float:left;
	margin:0 0 20px 0;
}

#footerInfo{
	display:inline-block;
	width:100%;
	margin:0 0 20px 0;
	float:none;
}

#footerCont > div:last-child{
	margin:0;
}

#footerCont a:visited {
	color: #CDCDCD;
}

#ehorses_logo {
	float: left;
	margin: 2px 0 0 5px;
}

.a_bright:link, .a_bright:visited, .a_bright:active {
	color: #CDCDCD;
}

.a_bright:hover {
	color: #c42026;
}


.list_offer {
	line-height: 16px;
	padding-top: 2px;
}

#mainInfoTxt{
	flex:1;
}

#mainInfoTxt a:hover, #mainInfoTxt a.bigBtnGrey_Active:link {
	text-decoration: none;
}

#mainInfoTxt a.bigBtnGrey_Active:link {
	color: #4D4D4D !important;
	background-color: #fff;
}

.input_xxl {
	line-height: 25px;
	color: #606060;
	font-size: 14px;
	height: 35px;
	padding: 3px;
}


.bannerSelectElement {
	padding:1%;
	background-color: #efefef;
	position:relative;
	margin: 5px 0 5px 0;
	width:47%;
	float:left;
	margin-bottom:10px;
}

.center {
	margin-left: auto;
	margin-right: auto;
}

.bannerSelectElement:hover {
	background-color: #CDCDCD;
	cursor:pointer;
}

.bannerSelectElement_checked {

	background-color: #606060;
	color: #fafafa;
}

.bannerSelectElement_checked:hover {

	background-color: #606060;

}

#bannerSelect_0 {
	height: 104px;
	margin-top:10px;
	float:none;
	text-align: center;
	padding:10px 0 0 0;
}


/* adverts */
#search_contain_result form{
	padding:20px 10px;
	display:inline-block;
	width:100%;
	box-sizing:border-box;
}

#search_contain_result form > div{
	margin:0 0 10px 0;
	display:inline-block;
	width:100%;
}
	
#search_contain_result form input[type=text], #search_contain_result form select, #search_contain_result form .fakeSelect{
	width:25%;
	float:left;
	margin:0 10px 0 0;
}

#search_contain_result form input[type=text]:last-child, #search_contain_result form select:last-child, #search_contain_result form .fakeSelect:last-child{
	margin:0;
}


/* Contact */
#topsellerData {
	border-bottom: 1px solid #b2b2b2;
	background:#efefef;
	padding:10px;
	display:flex;
}

#topseller_kontakt {
	width:100%;
}

#topseller_kontakt form input[type=text]{
	margin:0 0 10px 0;
}

#Message {
	min-height:200px;
	width:100%;
	resize:none;
}

#SenderCountry {
	height:35px;
	margin:0 2% 10px 0;
	color: #606060;
	font-size: 14px;
	line-height:25px;
	width:50%
}

/* Home */
#homepageInfos{
	display:flex;
	padding:10px;
}

#tsContactInfo {
	display:none;
}

#tsInfoTopTxt {
	display:none;
}

#infoTextCont {
	position:relative;
	min-height: 50px;
}

#infoTextCont .cont{
	text-align:justify;
	margin:15px 0 0 0;
}

.redDashedOutline:hover {
	outline: 1px dashed #c42026;
}

#tsContactInfo:hover .editBtn, #infoTextCont:hover .editBtn {
	display:block;
}

.editBtn:hover .iconfont {
	color: #c42026;
}

.editBtn {
	position:absolute;
	display:none;
	cursor:pointer;
	border-left:1px dashed #c42026;
	border-top:1px dashed #c42026;
	background-color:white;
	text-decoration:none;
	padding:0 5px;
}

#BtnText {
	bottom:0;
	right:0;
}

#BtnText span{
	top:3px;
}

#btnPersonal {
	bottom:0;
	right:0;
}

#btnPersonal span{
	margin:0 0 0 5px;
	position:relative;
	top:3px;
}

#BtnText:hover {
	color: #c42026;
}

/* Horse Details*/
.lupeOverlay {
	background-image: url("/grafiken/lupe_overlay.png");
	background-repeat: no-repeat;
	background-position:center;
	display: none;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 10;
	cursor:pointer;
}

.lupeOverlay:hover {
	display: block;
}

#results_moreBtn {
	margin-left:auto;
	margin-right:auto;
	text-align:center;
	float:none;
}

textarea {
	min-height:200px;
	width:100%;
	resize:none;
}


#contactSubmit{
	min-width: 200px;
	line-height:34px;
}

.contact .usr-pic-80 {
	position: absolute;
	top: 10px;
	right: 10px;
}

.contact .infos {
	position:relative;
	word-break:break-word;
}

/* Horses */
#recommend {
	background: #454545;
	padding: 3%;
	min-height: 170px;
	width: 94%;
	height:170px;
	color: white;
}

#recommend a {
	color: #ffffff;
	text-decoration:none;
}

#recommend a:hover {
	color: #ffffff;
	text-decoration:underline;
}

#results_outer{
	min-height: 210px;
	width:100%;
	position:relative;
}

#horses_results a, #horses_results a.flex:hover {
	text-decoration: none;
}

#horses_results a:hover {
	text-decoration: underline;
}

#ajaxOverlayHorses {
	position:absolute;
	width:100%;
	height:100%;
	background-color:rgba(255,255,255,0.9);
	z-index:100;
	min-height:200px;
	display:none;
	top:0;
}

#ajaxOverlayHorses span, #ajaxOverlayHorses p {
	text-align:center;
	font-size:64px;
	position:absolute;
	bottom:20px;
}

#ajaxOverlayHorses .wrap {
	margin-left:auto;
	margin-right:auto;
	width:100px;
}

.horsePic {
	float: left;
	width: 190px;
	height: 170px;
}

.horseData {
	color: #ffffff;
	margin: 0 0 0 60px;
	width: 280px;
	line-height: 24px;
	float: left;
}

.moreFunc {
	color: #ffffff;
	position:absolute;
	bottom:10px;
	line-height: 30px;
	font-size:16px;
}

.moreFunc p {
	margin: 0 0 0 35px;
}

.horseRightCont {
	float: right;
	position:relative;
	height:170px;
	min-width:20%;
}

.horseRightCont_small {
	position:relative;
	width:29%;
	margin:0 0 0 20px;
}

#searchFilter {
	border-top: 1px solid #b2b2b2;
	border-bottom: 1px solid #b2b2b2;
	line-height: 35px;
	padding: 0;
	font-weight: bold;
	width: 100%;
	background-color: #f3f3f3;
	display:flex;
	flex-wrap:wrap;
}

.searchFilter_Top {
	border-top: 1px solid #b2b2b2;
}

#search_contain_result {
	display: none;
	border-bottom: 1px solid #b2b2b2;
}

#resultAllCount {
	float:right;
	margin-right: 10px;
}

#sortFilter {
	display: none;
	padding:10px;
	border-bottom: 1px solid #b2b2b2;
}

#sortFilter a {
	text-decoration:none;
}

#sortFilter a:hover {
	text-decoration:underline;
	color:black;
}

#sortFilter a .iconfont{
	font-size: 13px;
	vertical-align: middle;
}

#sortFilter > div{
	float:left;
	font-weight:bold;
}

.fakeSelect {
	width: 225px;
}

#chk_gender {
	width: 260px;
	margin:10px;
	float:left;
}

/* single Advert */
.ownHorses {
	padding: 10px;
	border-bottom: 1px solid #b2b2b2;
	position:relative;
	display:flex;
	flex-wrap:wrap;
}

.ownhorsePic {
	margin:0 20px 20px 0;
}

.ownhorsePic a, .ownhorsePic div{
	width:inherit;
	height:inherit;
}

.ownhorseData {
	width: 35%;
	min-width:290px;
	line-height: 24px;
}

.ownmoreFunc {
	margin:20px 0 0 0;
}

.ownmoreFunc .iconfont {
	font-size:22px;
}

.ownmoreFunc .flex{
	align-items:center;
}

.ownmoreFunc .flex:hover .iconfont {
	color: #c42026;
	text-decoration: none;
}

.ownmoreFunc a.flex:hover .fs14 {
	text-decoration:underline;
}

#search_contain {
	height: 35px;
	padding: 0 10px;
	flex:1;
	min-width: 265px;
	text-decoration:inherit;
}

#filter_label {
	float:left;
}

#filter_label .iconfont {
	position:absolute;
}

#filter_label:hover, #sortTo:hover, #delete_search:hover, #sortTo:hover div {
	cursor:pointer;
}

#delete_search {
	height: 35px;
	float: right;
	cursor: pointer;
	font-weight:normal;
	text-align:right;
}

#resultInNumber {
	min-width:120px;
	padding:0 10px;
	border-right: 1px solid #b2b2b2;
}

#sortTo {
	width: 250px;
	padding: 10px 0 0 10px;
	cursor: pointer;
	border-left: 1px solid #b2b2b2;
}

#filterBorderLine {
	display:none;
	width:100%;
	float:left;
	height:1px;
}

#sortToLabel {
	cursor: pointer;
	float: left;
	line-height:normal;
}

#sortToCurrent {
	line-height:normal;
	float:right;
	margin-right:10px;
	position:relative;
	padding:0 25px 0 0;
}

#sortToCurrent .iconfont{
	position: absolute;
	right: 0;
	top: 0px;
	font-size: 15px;
}

/* Impressum */
#topsellerDataTop {
	border-bottom: 1px solid #CDCDCD;
	padding:10px 20px 20px 20px;
	background-color:#efefef;
}

#topsellerFocus{
	border-bottom: 1px solid #b2b2b2;
	margin:0;
	padding:20px;
	background-color:#efefef;
}

#ehorses_serviceInfo {
	padding:20px;
}

a.no_underline {
	text-decoration: none;
}

.inner3_marked_new {
	 background-position: right top;
	 background-repeat: no-repeat;
	 color:white;
	 position: absolute;
	 right: 0;
	 top: 0;
	 text-transform:uppercase;
	 background-color: #454545;
	 font-size:13px;
	 padding:5px 15px 5px 15px;
	 cursor: default;
}

.labelFixed {
	display:inline-block;
	position:absolute;
	left:0;
}

.valueFixed {
	display: inline-block;
	position: relative;
	left: 0;
}

.historyBack {
	left: 20px;
	bottom:8px;
	font-size: 13px;
	position:absolute;
}

.deleteLogo{
	margin: 5px 5px 0 0;
}


/* details */
#details .cont{
	position:relative;
	width:745px;
	float:left;
	min-height:415px;
	display:inline-block;
	border-right:1px solid #cdcdcd;
}

#details .headline{
	font-size:18px;
	border-bottom:1px solid #b2b2b2;
	padding:10px;
	margin:10px 0 0 0;
}

#details .shortInfos{
	width: 220px;
	float: left;
	text-align: center;
	line-height: 32px;
}

#details .actions{
	float: left;
	width: 240px;
	box-sizing: border-box;
}

.contact .infos{
	padding: 10px 20px 20px 35px;
}

.options{
	padding: 10px 10px 50px 10px;
	position:relative;
}

#details .actions .options{
	border-top: 1px dotted #cdcdcd;
	margin: 10px 0 0 0;
}

#details #recomWrap{
	z-index:2;
	padding:10px;
}

#media{
	display:inline-block;
	width:69%;
	height:415px;
	position:relative;
	float: left;
}

#media .trakehnerRecommend{
	position:absolute;
	right:0;
	z-index:2;
}

#media .gallery{
	width: 492px;
	height: 320px;
	max-height: 320px;
}

#media .moreMedia{
	width: 100%;
	display: flex;
	position: absolute;
	top: 330px;
	left: 10px;
	margin:0 10px 10px 0;
}

#media .moreMedia .item{
	flex:1;
	max-width:100px;
	height:80px;
	position:relative;
	margin:0 10px 0 0;
}

#media .moreMedia .item:last-child{
	margin:0;
}

#media .moreMedia .item .overlay{
	background: rgba(172,172,172,.6);
	text-align: center;
	position: absolute;
	color: #fff;
	width: 100%;
	bottom: 0;
}

#media .moreMedia .item .playVideo {
	position:absolute;
	top:-48px;
	left:30px;
	font-size:29px;
	color:#FFF;
	background-color:rgba(205,205,205,0.8);
	display: block;
	border-radius: 50%;
	padding:5px 5px 5px 10px;
}

#media .moreMedia .item:hover .playVideo {
	background-color:rgba(255,255,255,0.9);
	color:#CDCDCD;
}

#details .cont .moreDetails{
	clear:both;
	padding:10px;
	width:60%;
	float:left;
}

	#details .cont .moreDetails .additional-props {
		display: flex;
		align-items: center;
	}

		#details .cont .moreDetails .additional-props p {
			margin: 0;
		}

#details .cont .moreDetails .mobilePrice{
	display:none;
}

#details .cont .moreDetails .row {
	display: inline-block;
	width: 100%;
}

#details .cont .moreDetails label {
	font-weight: bold;
	width: 45%;
	float: left;
}

#details .cont .moreDetails span {
	float: left;
	width: 55%;
}

#details .cont .location {
	padding: 10px;
	width: 100%;
	box-sizing: border-box;
}

#details .cont .location .locGmapsFrame {
	height: 260px;
}

#details .cont .description{
	padding:10px;
}

#details .cont .pedigree, #details .cont #estContact{
	padding:10px;
	border-top: 1px dotted #cdcdcd;
}

#details .cont #estContact textarea{
	height:350px;
}

#details .cont #estContact .formFields{
	margin:0 0 0 10px;
}

#details .cont #estContact{
	margin:0 0 10px 0;
	box-sizing: border-box;
}

#estContact .formAnfrage {
	display: flex;
}

#estContact .formAnfrage .text {
	display: flex;
	flex-direction: column;
}

#estContact .formAnfrage textarea {
	resize: none;
	flex: 1;
}

#estContact .formAnfrage > div {
	flex: 1;
}

#MessageStatus{
	display:none;
	border:1px solid #c42026;
	margin:0 0 20px 0;
	border-radius:5px;
}

.raceInfos{
	border-top:1px dotted #cdcdcd;
	padding:10px;
}


#media .swiper-slide, #media .item{
	cursor:pointer;
}

.blueimp-gallery{
	position: fixed;
	z-index: 999999;
	overflow: hidden;
	background: #000;
	background: rgba(0,0,0,.9);
	opacity: 0;
	display: none;
	direction: ltr;
	-ms-touch-action: none;
	touch-action: none;
}

#details .cont .mobileAction{
	border-bottom:1px dotted #cdcdcd;
	display:none;
	padding:0 0 10px 0;
}

/* Fake Select */
.horse .fakeSelect, .gender .fakeSelect {
	-ms-flex: 1.05;
	-webkit-flex: 1.05;
	flex: 1.05;
	min-width: 47.5%;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
	.fakeSelect {
		-ms-flex: 1.05;
		-webkit-flex: 1.05;
		flex: 1.05;
		min-width: 7%;
	}
}

.fakeSelect ul{
	height:180px;
	width:220px;
	left:0;
}

.fakeSelect ul li select{
	width:85%!important;
	margin:0 0 10px 20px!important;
	display:none;
}

.editLogo{
	background: #fff;
	display: inline-block;
	border-top: 1px solid;
	width: 45px;
	border-right: 1px solid;
	border-bottom: 1px solid;
	position: absolute;
	right: -46px;
	bottom: -1px;
	padding:5px 0;
}

/* description */
#F .blueimp-gallery>.slides>.slide>.slide-content {
	margin: 100px auto 0 auto;
}

#wrapper_embed .blueimp-gallery>.slides>.slide>.video-content>img {
	margin:0 auto;
}

#wrapper_embed .blueimp-gallery>.slides>.slide>.video-content>a {
	top:80px;
}

#wrapper_embed .blueimp-gallery>.next, #wrapper_embed .blueimp-gallery>.prev {
	top:380px;
}

#wrapper_embed .blueimp-gallery>.indicator, #wrapper_embed .blueimp-gallery>.play-pause {
	top:750px;
}

.swiper-container{
	position: absolute !important;
}

/* description */
#description{
	margin:0 0 20px 0;
	display: inline-block;
	width: 100%;
	padding: 10px;
	box-sizing: border-box;
}

#description .tabs{
    overflow: scroll;
	display:flex;
	margin: 0 0 -1px 0;
}

@supports (-ms-ime-align:auto) {
	#description .tabs{
		margin:0 0 -2px 0;
	}
}

#description .tabs > div{
	flex:1;
	max-width:110px;
	font-size:13px;
	padding:10px;
	text-align:center;
	border-top: 1px solid #b2b2b2;
	border-left: 1px solid #b2b2b2;
	background-color:#f3f3f3;
}

#description .tabs > div:last-child{
	border-right: 1px solid #b2b2b2;
}

#description .tabs > div:hover{
	font-weight: bold;
	cursor:pointer;
}

#description .tabs .selected{
	font-weight: bold;
	border-bottom:2px solid white;
	position:relative;
	background-color:#fff;
}

#description .descriptions{
	border: 1px solid #b2b2b2;
	padding:10px;
	display:inline-block;
	width: 100%;
	box-sizing: border-box;
}

#description .descriptions > div{
	display:none;
}

#description .descriptions .descLoading{
	display:none;
	text-align:center;
}

#description .descriptions .selected{
	display:block;
}

#description .descriptions .translate{
	cursor:pointer;
}

.moreDetails .row a .iconfont{
	font-size: 14px;
	vertical-align: middle;
	margin: 0 10px 0 0;
}

.buttonGrid {
	display: grid;
	grid-template-columns: auto auto auto auto;
	gap: 10px;
}

@media(min-width: 988px) {
	#wrapper{
		width:988px;
	}

	#mainInfoTxt{
		width:100%;
	}

	#tsInfoTopTxt {
		padding: 20px 20px 0 20px;
		margin: 0;
		float:right;
		width:60%;
		min-height:32px;
	}

	#tsContactInfo {
		width: 30%; 
		position: relative;
		min-height: 280px;
		-ms-word-wrap: break-word;
		word-wrap: break-word;
		display:block;
		margin:0 10px 0 0;
	}

	.typeSubmenu{
		position:absolute;
		right:0;
		border: 1px solid #cdcdcd;
		width:235px;
		left:-1px;
		right:initial;
	}

	#naviBar .typeSubmenu{
		top:35px;
	}

	#footerNav .typeSubmenu{
		bottom:36px;
	}

	/* navi */
	#naviBar{
		display:block;
		bottom: 3px;
		border: 1px solid #cdcdcd;
		top:auto;
		width:auto;
	}

	#naviBar ul li, #footerNav ul li{
		border:none;
		border-right: 1px solid #cdcdcd;
		width:auto;
	}

	#naviBar ul li a, #footerNav ul li a {
		padding: 10px 30px;
	}

	#naviBar ul li:last-child, #footerNav ul li:last-child{
		border:none;
	}

	#naviBar ul .navi_list_horses .iconfont, #footerNav ul .navi_list_horses .iconfont{
		top: 25%;
		right: 5px;
		padding: 5px;
		font-size: 10px;
	}

	#naviBar ul li:hover, #footerNav ul li:hover, 
	#naviBar ul li .typeSubmenu > a:hover, #footerNav ul li .typeSubmenu > a:hover{
		background:gray;
	}

	#footerNav ul li:hover > a,
	#naviBar ul .navi_list_horses:hover .iconfont, #footerNav ul .navi_list_horses:hover .iconfont,
	#naviBar ul li .typeSubmenu > a:hover, #footerNav ul li .typeSubmenu > a:hover{
		color:#fff!important;
	}

	#naviBar ul li > a{
		border:none;
	}

	.navi_list_horses:hover .typeSubmenu, .navi_list_horses:active .typeSubmenu {
		display:block;
	}

	#mobileNavigation{
		display:none;
	}

	#footerNav{
		width: 100%;
		background: #efefef;
		display: inline-block;
		border-top: 1px solid #cdcdcd;
	}

	#footerNav .navi_list{
		float:right;
	}

	/* adverts */
	.ownhorseData{
		width:40%;
	}

	.ownhorsePic{
		margin:0 20px 0 0;
	}

	.ownHorses:hover {
		background-color:#f5f5f5;
	}

	/* footer */
	#footerCont{
		padding:10px;
	}
}

@media(min-width: 768px) and (max-width: 987px) {
	/* details */
	#details .cont{
		width:100%;
		border:none;
	}

	#media{
		max-width:492px;
	}

	#details .cont .shortInfos{
		float:none;
		width:auto;
	}

	#details .actions{
		display:none;
	}

	#details .cont .mobileAction{
		display:flex;
	}

	#details .cont .mobileAction .contact, #details .cont .mobileAction .options{
		flex:1;
	}

	body {
		padding: 0 !important;
	}

	.buttonGrid {
		grid-template-columns: auto auto auto;
	}
}

@media(max-width:767px) {
	#logo, #tsInfoTop{
		display:none
	}

	.ownhorseData{
		margin:0 0 20px 0;
	}

	.horseRightCont_small{
		margin:0;
		width:100%;
	}

	.ownmoreFunc {
		margin:10px 0 0 0;
		line-height:20px;
		position:inherit;
	}

	/*details*/
	#details .cont .shortInfos{
		display:none;
	}

	#details .cont .moreDetails, #details .actions{
		width:100% !important;
		box-sizing: border-box;
	}

	.moreDetails .mobilePrice{
		display:block;
		font-weight:bold;
	}

	#details .cont .location{
		width:100%;
		padding:10px;
		box-sizing: border-box;
	}

	#details .actions .contact{
		display:none;
	}

	#details .cont, #media, #media .gallery{
		width:100%;
	}
	#media .moreMedia{
		left:0;
	}

	#details .cont #estContact textarea{
		width:100%;
		margin:0 0 10px 0;
	}

	#details .cont #estContact .formFields{
		width:100%;
		margin:0;
	}

	#estContact .formAnfrage {
		display: block;
	}

	#details .cont .contact{
		display:block;
		width:100%;
		margin:0 0 10px 0;
		padding:0 0 10px 0;
	}

	#details .cont .contact .infos{
		padding:10px 10px 10px 35px;
	}

	#details .cont .mobileAction, #details .cont .mobileAction .contact{
		display:block;
	}

	#details .cont .mobileAction .options{
		display:none;
	}

	#sortTo{
		width:100%;
		border:none;
		padding:10px;
		border-top: 1px solid #cdcdcd;
	}

	/* adverts */
	#search_contain_result form > div{
		margin:0 0 20px 0;
		display:flex;
	}

	#search_contain_result form input[type=text], #search_contain_result form select, #search_contain_result form .fakeSelect, #chk_gender{
		width:100%;
		float:none;
		margin:0 10px 0 0;
	}

	#chk_gender{
		margin:0;
		display:flex;
	}

	#farbe{
		margin:0!important;
	}

	#chk_gender > label{
		flex:1;
		text-align:center;
	}

	#SenderCountry{
		width:100%;
	}

	body {
		padding: 0 !important;
	}
	
	.buttonGrid {
		grid-template-columns: auto auto;
	}
}

@media(max-width:425px){
	/* adverts */
	#resultInNumber{
		min-width:auto;
		width:100%;
		border:none;
		border-bottom:1px solid #cdcdcd;
	}

	#search_contain{
		width:100%;
		box-sizing:border-box;
		min-width:auto;
		border-bottom:1px solid #cdcdcd;
	}

	#sortTo{
		border:none;
	}

	#sortFilter > div{
		float:none;
		margin:0 0 10px 0;
	}

	#sortFilter a{
		text-decoration: none;
		display: inline-block;
		width: 45%;
		margin: 0 0 10px 0;
		box-sizing: border-box;
	}
}
