/************************ Misc ************************/
.w2dc-contact-form label {
	display: block;
}
input[type=submit], input[type=button] {
	-webkit-appearance: none;
	-webkit-border-radius: 0;
}
a.w2dc-hint-icon:before {
	content: "\f059";
}
a.w2dc-hint-icon {
	font-family: 'FontAwesome';
	text-decoration: none !important;
	font-size: 24px;
}
.w2dc-popover {
    width: 100%;
}

/************************ Frontpanel Buttons ************************/
.w2dc-directory-frontpanel {
	margin-bottom: 10px;
}
.w2dc-listing-single .w2dc-directory-frontpanel {
	margin: 0;
	float: right;
}
@media screen and (max-width: $mobile-screen-width) {
	.w2dc-listing-single .w2dc-directory-frontpanel {
		float: none;
	}
}
.w2dc-directory-frontpanel a.w2dc-btn {
	margin: 10px 10px 10px 0;
}

/* Avoid fluid-width-video-wrapper */
.w2dc-content .fluid-width-video-wrapper {
	padding-top: 0 !important;
	height: 400px !important;
}

.g-recaptcha {
	margin: 10px 0;
}

.w2dc-red-asterisk {
	color: red;
	font-weight: bold;
	font-size: 1.2em;
	line-height: 1px;
	padding: 2px;
}

/************************ Lightbox styles  ************************/
.w2dc-content .lb-prev,
.w2dc-content .lb-next {
	outline: 0 none !important;
}
/* 
	Bootstrap has default img max-width set to 100% and for some reason lightbox stops resizing
	http://stackoverflow.com/questions/17523977/lightbox-v2-shrinks-the-image-in-the-box
*/
.lb-image {
	max-width: inherit;
}
.lb-number {
	display: none !important;
}

/************************ Profile template ************************/
.dashicons, .dashicons-before::before {
	line-height: inherit;
}

/************************ Adapted for Contact Fotm 7 plugin ************************/
.w2dc-content .wpcf7-form .wpcf7-text,
.w2dc-content .wpcf7-form .wpcf7-select,
.w2dc-content .wpcf7-form .wpcf7-number,
.w2dc-content .wpcf7-form .wpcf7-date,
.w2dc-content .wpcf7-form .wpcf7-textarea {
	width: 100%;
}
div.w2dc-content .wpcf7-form .wpcf7-submit,
div.w2dc-content .wpcf7-form .wpcf7-submit:hover
div.w2dc-content .wpcf7-form .wpcf7-submit:visited,
div.w2dc-content .wpcf7-form .wpcf7-submit:focus {
	background-image: none;
}

/************************ Paginator ************************/
.w2dc-content {
	.w2dc-pagination > li:first-child > a,
	.w2dc-pagination > li:first-child > span {
		border-bottom-left-radius: $border-radius;
		border-top-left-radius: $border-radius;
	}
	.w2dc-pagination > li:last-child > a,
	.w2dc-pagination > li:last-child > span {
		border-bottom-right-radius: $border-radius;
		border-top-right-radius: $border-radius;
	}
	.w2dc-pagination .w2dc-btn-group > .w2dc-btn:first-child:not(:last-child):not(.w2dc-dropdown-toggle) {
		border-bottom-left-radius: $border-radius;
		border-top-left-radius: $border-radius;
	}
	.w2dc-pagination .w2dc-btn-group > .w2dc-btn:last-child:not(:first-child),
	.w2dc-pagination .w2dc-btn-group > .w2dc-dropdown-toggle:not(:first-child) {
		border-bottom-right-radius: $border-radius;
		border-top-right-radius: $border-radius;
	}
	.w2dc-pagination-wrapper {
		text-align: center;
		margin: 20px 0;
	}
	.w2dc-pagination li {
		margin: 0;
	}
}