/*------------------------------------------------------------------
[Master Stylesheet]

Project:		BSB direct plugin
Assigned to:	Ronny Sternecker
Primary use:	BSB TYPO3 
-------------------------------------------------------------------*/

/* Standard CSS for BSBDirect plugin */

@media screen and (max-width: 46.8em) {
	.bsbdirect.responsive .responsive-hide {
		display: none;
	}
}

.bsbdirect {
	margin: 1em 0 2em;
}

.bsbdirect .box {
	background: #f5f5f5;
	border-radius: 2px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
	box-sizing: border-box;
	clear: both;
	display: none;
	padding: 1em;
	position: relative;
}

.bsbdirect .box.preview .tab {
	background-color: transparent;
	box-shadow: none!important;
}

.bsbdirect .navigation {
	border-radius: 2px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
	float: left;
	width: 18%;
}

@media screen and (max-width: 46.8em) {
	.bsbdirect .box.preview .navigation {
		float: none;
		width: 100%;
	}
	
	.bsbdirect .box:not(.preview) .navigation {
		width: 100%;
	}
}

.bsbdirect .navigation .navigation-button {
	border-style: solid;
	border-width: 1px;
	box-sizing: border-box;
	display: block;
	font-weight: bold;
	line-height: 2em;
	margin-bottom: -1px;
	padding: 0.7em 1em;
	position: relative;
	text-decoration: none;
}

.bsbdirect  .navigation .navigation-button:not(.active) {
	background-color: white;
	border: 1px solid #ddd;
	color: black!important;
}

.bsbdirect .navigation .navigation-button:first-child {
	border-top-left-radius: 4px;
	border-top-right-radius: 0;
}

.bsbdirect .navigation .navigation-button:last-child,
.bsbdirect .box.preview .navigation .navigation-button {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 0;
}

.bsbdirect .navigation .navigation-button:hover {
	cursor: pointer;
	text-decoration: none!important;
}

.bsbdirect .navigation .navigation-button:not(.active):hover {
	background-color: #f5f5f5;
}

.bsbdirect .navigation .marker {
	background-color: transparent;
	border-bottom-color: transparent;
	border-bottom-style: solid;
	border-bottom-width: 13px;
	border-left-style: solid;
	border-left-style: solid;
	border-left-width: 0;
	border-left-width: 10px;
	border-top-color: transparent;
	border-top-style: solid;
	border-top-width: 13px;
	left: 100%;
	margin-top: -13px;
	position: absolute;
	top: 50%;
}

.bsbdirect .responsive-menu {
	cursor: pointer;
	display: none;
	left: 2em;
	position: absolute;
	top: 2em;
}

@media screen and (max-width: 46.8em) {
	
	.bsbdirect .box.preview .responsive-menu {
		display: none!important;
	}
	
	.bsbdirect .box.after-preview .responsive-hide+.responsive-menu {
		display: block!important;
	}
	
}

.bsbdirect .tabs {
	box-sizing: border-box;
	float: left;
	padding-left: 1.5em;
	width: 82%;
}

@media screen and (max-width: 46.8em) {
	.bsbdirect .tabs {
		padding-left: 0;
		width: 100%;
	}
}

.bsbdirect .tab {
	background-color: white;
	border-radius: 2px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24)!important;
	display: none;
	float: left;
	width: 100%;
}

.bsbdirect .expand {
	cursor: pointer;
	margin: 0.4em 0.5em 0 0;
}

.bsbdirect .expand,
.bsbdirect .expand .expand-more,
.bsbdirect .expand .expand-less {
	display: none;
}

.bsbdirect .expand .expand-more,
.bsbdirect .expand .expand-less {
	height: 36px;
	opacity: 0.5;
	width: 36px;
}

.bsbdirect .box.preview .expand,
.bsbdirect .box.after-preview .expand {
	display: block;
	float: right;
}

.bsbdirect .box.preview .expand,
.bsbdirect .box.preview .expand .expand-more {
	display: block;
}

.bsbdirect .box.after-preview .expand,
.bsbdirect .box.after-preview .expand .expand-less {
	display: block;
}

.bsbdirect .tab .tab-title {
	border-bottom: 1px solid lightgrey;
	margin-bottom: 1.6em;
	padding-bottom: 0.6em;
	padding-top: 1.2em;
	text-align: center;
}

.bsbdirect .tab.short .tab-title {
	display: none!important;
}

.bsbdirect .tab .tab-title h3 {
	display: inline;
	font-size: 1.2em;
	font-weight: bold;
	padding: 5px 40px;
}

.bsbdirect .tab .item {
	box-sizing: border-box;
	float: left;
	margin-bottom: 1em;
	padding-left: 1em;
	width: 50%;
}

@media screen and (max-width: 46.8em) {
	.bsbdirect .tab .item {
		float: none;
		margin: none;
		width: 100%;
	}
}

.bsbdirect .tab.short .item {
	display: none!important;
}

.bsbdirect .tab .item .item-radio {
	cursor: pointer;
	font-size: 1.2em;
	float: left;
}

.bsbdirect [type="radio"] {
	left: -9999px;
	opacity: 0;
	position: absolute;
}

.bsbdirect [type="radio"]+label {
	cursor: pointer;
	font-size: 1.2em;
	float: left;
	min-height: 2.6em;
	padding-left: 35px;
	position: relative;
	width: 87%;
}

.bsbdirect [type="radio"]:checked+label {
	font-weight: bold;
}

.bsbdirect [type="radio"]:not(:checked)+label .radio-marker:before,
.bsbdirect [type="radio"]:not(:checked)+label .radio-marker:after {
	border: 2px solid #5a5a5a;
}

.bsbdirect .radio-marker:before,
.bsbdirect .radio-marker:after {
	border-radius: 50%;
	box-sizing: inherit;
	content: '';
	height: 16px;
	left: 0;
	margin: 4px;
	position: absolute;
	top: 0;
	transition: .28s ease;
	width: 16px;
	z-index: 0;
}

.bsbdirect .radio-marker:after {
	transform: scale(0.5);
}

.bsbdirect [type="radio"]:not(:checked)+label .radio-marker:after {
	transform: scale(0);
}

.bsbdirect .radio-marker:after,
.bsbdirect [type="radio"]:checked+label .radio-marker:before,
.bsbdirect [type="radio"]:checked+label .radio-marker:after {
	border-color: inherit;
	border-style: solid;
	border-width: 2px;
}

.bsbdirect [type="radio"]:checked+label .radio-marker:after {
	background-color: inherit;
	border: 2px solid #26a69a;
	border-color: inherit;
	z-index: 0;
}

.bsbdirect .radio-marker:before {
	border-color: inherit;
	border-style: solid;
	border-width: 2px;
}

.bsbdirect .tab .item .title,
.bsbdirect .tab .item .description,
.bsbdirect .tab .item .route {
	display: none;
}

.bsbdirect .tab .item-detail {
	padding: 0.6em 1em;
}

@media screen and (max-width: 46.8em) {
	.bsbdirect .box.after-preview .tab .item-detail {
		margin-top: 3em;
	}
}

.bsbdirect .box:not(.preview) .tab:not(.short) .item-detail .route {
	clear: both;
}

.bsbdirect .tab .item-detail .route .linkurl {
	font-size: 1.1em;
}

.bsbdirect .tab .item-detail .route .linkurl svg {
	height: 2em;
	margin: -0.5em 0;
	width: 2em;
}

.bsbdirect .tab .item-detail .route .linkurl svg path {
	fill: currentColor;
}

.bsbdirect .tab form {
	display: inline;
}

.bsbdirect .tab form select {
	border: 1px solid lightgrey;
	border-right: none;
	height: 2.5em;
	line-height: 2.5em;
}

@media screen and (max-width: 46.8em) {
	.bsbdirect .tab form select {
		border-right: 1px solid lightgrey;
		display: block;
	}
}

.bsbdirect .tab form input {
	border: 1px solid lightgrey;
	box-sizing: border-box;
	height: 2.5em;
	line-height: 2.5em;
	margin-right: -5px;
	padding-left: 0.3em;
	width: 60%;
}

@media screen and (max-width: 46.8em) {
	.bsbdirect .box.after-preview .tab form input {
		width: 82%;
	}
}

.bsbdirect .tab form:hover input,
.bsbdirect .tab form input:focus {
	border-right: none;
	outline: none;
}

.bsbdirect input::-webkit-input-placeholder { /* Chrome/Safari/Opera */
	color: white;
}

.bsbdirect input:-moz-placeholder { /* Firefox 18- */
	color: white;  
}

.bsbdirect input::-moz-placeholder {  /* Firefox 19+ */
	color: white;  
}

.bsbdirect input:-ms-input-placeholder {  
	color: white;  
}

.bsbdirect.responsive .box.preview input::-webkit-input-placeholder { /* Chrome/Safari/Opera */
	color: grey;
}

.bsbdirect.responsive .box.preview input:-moz-placeholder { /* Firefox 18- */
	color: grey;  
}

.bsbdirect.responsive .box.preview input::-moz-placeholder {  /* Firefox 19+ */
	color: grey;  
}

.bsbdirect.responsive .box.preview input:-ms-input-placeholder {  
	color: grey;  
}

.bsbdirect .tab form button {
	background: url(../typo3conf/ext/bsbdirect/Resources/Public/Images/Content/SearchButton.svg) 100% 100% #fff;
    background-position: 40% 30%;
	background-repeat: no-repeat;
	background-size: 87%;
	border: 1px solid lightgrey;
	cursor: pointer;
	height: 2.5em;
	vertical-align: top;
	width: 2.5em;
}

.bsbdirect .tab .foreign-url {
	margin-left: 0.6em;
}

.bsbdirect .box.preview .tab .foreign-url {
	color: black!important;
}

@media screen and (max-width: 46.8em) {
	.bsbdirect .tab .foreign-url {
		display: block;
		margin-left: 0;
		margin-top: 0.5em;
	}
}

.bsbdirect .tab .item-detail .hint {
	font-weight: bold;
	margin-top: 1em;
}

.bsbdirect .bottom {
	clear: both;
}


