/* filter */

#Untergruppen select,
#GTyp select,
#Fabrikat select,
#new_search input[type=button]
{
	width: 100% !important;
}

#Untergruppen select,
#Untergruppen2 select,
#Untergruppen3 select,
#GTyp select,
#Fabrikat select
{
	height: 38px;
}

/* loading overlay */

.loading_overlay
{
	position: fixed;
	display: block;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: rgba(255,255,255,1);
	z-index: 500;
}

#loading_spinner
{
	width: 45px;
	height: 45px;
	position: absolute;
	top: 40%;
	left: 50%;
	transform: translateX(-50%);
}

/* machines list */

#topmasch_cats,
#masch_cats
{
	display: none;
}

#Maschinen
{
	margin-top: 20px;
	margin-bottom: 40px;
}

.pagination
{
	padding-left: 15px;
}

.pagination a
{
	color: #000 !important;
}

.mlist_pdf
{
	text-align: right;
}

.mlist_item
{
	margin: 30px 0;
}

.mlist_item_background
{
	width: 100%;
	padding-bottom: 100%;
	background-size: cover;
	background-position: center;
	position: relative;
}

.mlist_item_inner
{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.mlist_caption
{
	position: static;
    background-color: transparent;
    padding: 5px 15px;
    text-align: left;
}

.mlist_caption_title,
.mlist_caption_price
{
	color: #fff;
	margin: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	padding-bottom: 2px;
}

.mlist_caption_price *
{
	color: #fff;
}

.mlist_overlay
{
	position: absolute;
	opacity: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(256, 256, 256, .8);
	text-align: center;
	padding-top: 40%;
	z-index: 10;
	cursor: pointer;
	transition: opacity 1s;
	color: #000;
	left: 0;
    top: 0;
}

.mlist_overlay:hover,
.mlist_item_inner:hover .mlist_overlay
{
	opacity: 1;
}

.mlist_detail_button
{
	font-size: 18px;
	text-transform: uppercase;
	padding: 5px 10px;
	margin-bottom: 10px;
}

.mlist_detail_modal .modal-dialog
{
	width: 95vw;
	height: calc(100vh - 145px);
	padding-right: 0 !important;
}

.mlist_detail_modal .modal-content
{
    overflow: hidden;
}

.mlist_detail_modal .modal-body
{
    height: 100%;
    padding: 0 0 25px 0;
}

.mlist_detail_modal iframe
{
    height: 100%;
}

@media (max-width: 768px)
{
    .mlist_detail_modal .modal-dialog
    {
        height: calc(100vh - 70px);
    }
}

.mlist_more .mlist_item_content
{
    flex-direction: column;
    font-size: calc(1.3rem + .6vw);
	height: 100%;
}

.mlist_more_top
{
	height: 50%;
}

.mlist_more_bottom
{
	background-color: #fff;
	line-height: 1.25;
	height: 50%;
}

.mlist_more .mlist_caption 
{
    white-space: break-spaces;
	text-transform: uppercase;
	font-weight: 500;
}

@media(min-width: 753px) and (max-width: 976px)
{
	.mlist_more
	{
		display: none;
	}
}

@media(max-width: 560px)
{
	.mlist_more
	{
		display: none;
	}
}

/* machines detail */

.machine_detail_page #machines_title,
.machine_detail_page #page_title_divider
{
	display: none;
}

#mdetail_header
{
	position: relative;
	border-bottom: 1px solid #e5e5e5;
	z-index:600;
	background-color: #ffffff;
	overflow: auto;
}

#mdetail_name
{
	float: left;
}

#mdetail_name h1
{
	margin: 10px 0 0;
}

#mdetail_price
{
	float:right;
	font-size: 18pt;
	margin-top:20px;
	margin-right:40px;
}

#mdetail_main_image
{
	text-align: center;
}

#mdetail_tab_navi
{
	margin-bottom: 15px;
}

#mdetail_tab_navi ul li a
{
	font-weight: bold;
}

#mdetail_vendor_contact
{
	display: none;
}

body[class*=ll_] li.mdetail_buy_contact,
body li.mdetail_rent_contact
{
	display: none !important;
}

.ll_Gebrauchte li.mdetail_buy_contact,
.ll_Gebrauchtmaschinen li.mdetail_buy_contact,
.ll_gebrauchtmaschinen li.mdetail_buy_contact,
.ll_Angebote li.mdetail_buy_contact,
.ll_Neumaschinen li.mdetail_buy_contact,
.ll_Mietmaschinen li.mdetail_rent_contact,
.ll_Mietpark li.mdetail_rent_contact,
body[class*="gebraucht"] li.mdetail_buy_contact,
body[class*="neu"] li.mdetail_buy_contact,
body[class*="miet"] li.mdetail_rent_contact
{
	display: inline-block !important;
}

.ll_Gebrauchte div.mdetail_rent_contact,
.ll_Gebrauchtmaschinen div.mdetail_rent_contact,
.ll_gebrauchtmaschinen div.mdetail_rent_contact,
.ll_Angebote div.mdetail_rent_contact,
.ll_Neumaschinen div.mdetail_rent_contact,
.ll_Mietmaschinen div.mdetail_buy_contact,
.ll_Mietpark div.mdetail_buy_contact,
body[class*="gebraucht"] li.mdetail_rent_contact,
body[class*="neu"] li.mdetail_rent_contact,
body[class*="miet"] li.mdetail_buy_contact
{
	display: none !important;
}

.nav-item.mdetail_images[data-main-image*="nopic_r.gif"]
{
	display: none;
}

.contact_form_title
{
	margin-bottom: 10px;
}

form .row
{
	margin-bottom: 10px;
}

form label
{
	width: 100%;
}

.contact_number_first,
.contact_number_second,
.contact_number_third
{
	display: inline-block;
	width: 25%;
}

.contact_number_second
{
	width: 30%;
}

.contact_number_third
{
	width: 39%;
}

#detailkommentar
{
	min-height: 150px;
}

#contact_form_privacy_notice
{
	border: 1px solid #ccc;
	border-radius: 3px;
	height: 6.5em;
	padding-left: 5px;
	padding-right: 5px;
	overflow-y: scroll;
}

#sendmailbuttonmasch,
#rent_request_button
{
	width: 80%;
	font-weight: bold;
}

#rent_request_button
{
	margin-left: 10%;
}

.thumbnails
{
	background-position: center;
	background-size: cover;
	padding-bottom: 20%;
}

.thumbnails.col-md-4
{
	padding-bottom: 4%;
}

.thumbnails a
{
	display: block;
	position: relative;
	top: 0;
	right: 15px;
	bottom: 15px;
	left: 15px;
	background-size: cover;
}

.machine_nav
{
	position: absolute;
	top: 30vh;
	width: 40px;
	height: 40px;
	opacity: .5;
	padding: 0;
	cursor: pointer;
}

.machine_nav:hover
{
	opacity: .7;
}

.machine_nav a,
.machine_nav img
{
	display: block;
	width: 100%;
	height: 100%;
}

#mdetail_nav_prev
{
	left: 2%;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(90deg);
}

#mdetail_nav_next
{
	right: 2%;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-90deg);
}

#mdetail_pdf
{
	position: absolute;
	right: 2px;
	z-index: 1;
}

.fptec_copyright
{
	position: absolute;
	bottom: 0;
	right: 20px;
}

#mdetail_description img {
    width: 1px;
    height: 1px;
}

@media(max-width: 992px)
{
	#mdetail_images
	{
		margin-left: -27px;
    	margin-right: 3px;
	}

	#mdetail_information #detailbildgross
	{
		padding-bottom: 25px;
	}

	.machine_detail_page #mdetail_main_image
	{
		height: 425px !important;
	}
}


@media(max-width: 768px)
{
	#mdetail_header
	{
		text-align: center;
		overflow: unset;
	}

	#mdetail_name
	{
		text-align: center;
	}

	#mdetail_name h1
	{
		max-width: 90%;
		display: inline-block;
	}

	#mdetail_name,
	#mdetail_price
	{
		float: none;
		display: inline-block;
		margin: 0 !important;
	}

	.machine_nav
	{
		width: 20px;
		height: 20px;
	}

	#mdetail_nav_prev
	{
		left: 1%;
	}

	#mdetail_nav_next
	{
		right: 1%;
	}

	.contact_number_second
	{
		width: 29%;
	}

	#mdetail_nav
	{
		display: none;
	}

	.machine_detail_page #mdetail_main_image
	{
		height: 240px !important;
	}
}

@media(max-width: 576px)
{
	#tab3_buy_contact .col-xs-12, #tab4_rent_contact .col-xs-12
	{
		padding: 0 !important;
	}
}

/* loading overlay */

#loading_overlay
{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#loading_indicator
{
	position: absolute;
	top: 30%;
	left: 50%;
	transform: translateX(-50%);
	height: 50px;
	width: 50px;
}



/* youtube vids */

#youtube
{
	position: relative;
}

#youtube_play_icon
{
    position: relative;
	top: 0;
	left: 15px;
	width: 100%;
	height: 100%;
    cursor: pointer;
	background-position: center;
	background-size: cover;
}

#youtube_play_icon img
{
    max-width: 100%;
}

#youtube_play_icon:before
{
    position:absolute;
    content: "";
    height: 40px;
    width: 40px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: .8;
    background: url('/images/play_40.png');
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1500;
}

#youtube_container
{
	display: none;
}

#youtube_wrapper
{
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}

#youtube_wrapper iframe
{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

@media(max-width: 767px)
{
    #youtube_container
    {
        display: block !important;
    }

    #youtube_play_icon
    {
        display:none !important;
    }
}


/* frame content */
.frameinhalt #machines_title,
.frameinhalt .machines_filter,
.frameinhalt #machines_search,
.frameinhalt #machines_detail_filter,
.frameinhalt #mdetail_nav_back,
.frameinhalt #mdetail_nav_newsearch,
.frameinhalt #page_title_row
{
	display: none;
}

.frameinhalt #machines_row {
	height: 100vh;
}

.frameinhalt #machines_wrapper
{
	width: 100%;
	height: 100%;
	left: 0;
	margin-left: calc(var(--bs-gutter-x) * .5);
}

.frameinhalt #Maschinen
{
	height: 100%;
	margin-top: 0;
	padding-right: 22px;
}

.frameinhalt #mdetail_nav {
    display: none;
}

.frameinhalt #mdetail_tab_wrapper
{
	overflow-y: auto;
}

@media (max-width: 768px)
{
	.frameinhalt #mdetail_wrapper
	{
		display: flex;
		flex-flow: column;
	}

	.frameinhalt #mdetail_header
	{
		flex: 0 1 auto;
	}

	.frameinhalt #mdetail_nav
	{
		display: none;
	}

	.frameinhalt #mdetail_information
	{
		flex: 1 1 auto;
		overflow: auto;
		padding: 15px 0;
		width: calc(100% + 30px);
		margin-left: -15px;
	}

	.frameinhalt #mdetail_left,
	.frameinhalt #mdetail_right
	{
		height: auto;
	}

	.frameinhalt #machines_wrapper
	{
		margin-left: 0;
		width: 100%;
	}

	.frameinhalt #Maschinen
	{
		height: calc(100% - 30px);
		margin-top: 0;
		padding-right: 0;
	}

	.frameinhalt #mdetail_pdf
	{
		right: -12px;
	}

	.frameinhalt #mdetail_nav_prev
	{
		left: 2px;
	}

	.frameinhalt #mdetail_nav_next
	{
		right: 2px;
	}
}

@media(max-width: 576px)
{
	.frameinhalt #machines_row .row .col-xs-12 
	{
		padding-left: 0;
		padding-right: 0;
	}
}