/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.et_pb_section img {
	max-width: 100%;
	height: auto;
	max-height: 100%;
	width: auto;
}

/** HEADER – RESPONSIVE **/
@media (max-width: 980px) {
	header .et_builder_inner_content .et_pb_row--with-menu,
	header .container.et_menu_container {
		width: calc(100% - 30px);
	}

	header .et_builder_inner_content .et_pb_row--with-menu .et_pb_menu__logo img,
	header .logo_container img#logo {
		max-width: 150px;
	}
}

/** SHOW RECAPTCHA BADGE ALL THE TIME **/
body .recaptcha-holder .grecaptcha-badge {
	visibility: visible;
}

/** BLOG LIST – CLICKABLE WHOLE CONTENT */
div.et_pb_blog_grid .et_pb_post {
	position: relative;
}

div.et_pb_blog_grid .et_pb_post .entry-title a:after {
	position: absolute;
	display: block;
	content: "";
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
}

div.et_pb_blog_grid .et_pb_post:hover {
	cursor: pointer;
}

/** SEARCH RESULT PAGE **/
body.search .pagination {
	text-align: center;
}

body.search .pagination .alignleft,
body.search .pagination .alignright {
	float: none;
	text-align: center;
}

/** SUPREME CONTACT FORM **/
.dsm_contact_form_7_0 .wpcf7-form div.recaptcha-holder {
	display: flex;
	flex-direction: row-reverse;
}

.dsm_contact_form_7_0 .wpcf7-form.wbn-recaptcha p:nth-last-of-type(2) {
	display: flex;
	align-items: center;
	flex-direction: row-reverse;
}

.dsm_contact_form_7_0 .wpcf7-form:not(.wbn-recaptcha) p:nth-last-of-type(1) {
	display: flex;
	align-items: center;
	flex-direction: row-reverse;
}

/** FIXING HEADER SEARCH ICON **/
@media (min-width: 981px) {
	header.et-l.et-l--header .et_pb_menu .et_pb_menu__menu {
		margin-right: 10px;
	}
}

/** DIVI TINY MCE TOOLBAR FIXED **/
.mce-top-part {
	position: sticky!important;
	top: -60px;
}

/** SUPREME CAROUSEL BOTTOM MARGIN FIX **/
.dsm_image_carousel .dsm_image_carousel_container:not(.dsm_image_carousel_slideshow) {
	margin-bottom: 0;
}
