/*--
  Theme Name: theme44910
  Theme URI: http://template-help.com/
  Description: A theme for Wordpress 4.4.x + from Template-Help.com Collection
  Author: Template_Help.com
  Author URL: http://www.Template-Help.com/
  Template: CherryFramework
  Version: 3.1.5
  MotoPress Version: 1.5.8
--*/

/* ----------------------------------------
	Please, You may put custom CSS here
---------------------------------------- */
/* LOGO STYLING */
.logo {
	width: 370px;
	height: 140px;

	padding: 14px 20px 14px 20px;
	box-sizing: border-box;

	background-color: #FFFFFF;
	color: #fff;

	font-size: 36px;
	font-family: Arial, sans-serif;
	line-height: 1.2;

	text-align: center;
}

.logo_h {
	display: block;
}

.logo_h__img,
.logo_h__img:focus,
.logo_h__img:active {
	text-decoration: none !important;
	color: inherit !important;
}

.logo_img {
	width: 100%;
	height: auto;
	max-height: 100%;
}
.logo_header {
	display: none;
}
.logo_phone {
	display: block;
	margin-top: 10px;
	font-size: 32px;
	color: #35bc7a;
}

@media (min-width: 768px) and (max-width: 979px) {
	.logo {
		padding-top: 10px;
		padding-bottom: 10px;
	}

	.logo_phone {
		margin-top: 5px;
	}
}

@media (max-width: 979px) {
	.logo {
		height: auto;
	}

	.logo_phone {
		font-size: 24px;
	}
}

@media (max-width: 767px) {
	.logo,
	.logo_img {
		width: auto;
	}

	.logo_phone {
		font-size: 32px;
	}
}

@media (max-width: 480px) {
	.logo_phone {
		font-size: 24px;
	}
}

/* END OF LOGO STYLING */

/* SKILLS STYLING */
.recent-posts.skills li.green h5 { color:#35bc7a; }
.recent-posts.skills li.blue h5 { color:#1e8bc3; }
.recent-posts.skills li.red h5 { color:#f86924; }
.recent-posts.skills li.orange h5 { color:#ff9f00; }
/* END OF SKILLS STYLING */

/* SKILLS STYLING */
.recent-posts.skills {
	display: flex;
	flex-wrap: wrap;
}
.recent-posts.skills li {
	float: none !important; /* seriosly. this file with custom css lies ABOVE main css file. genius! */
}
.recent-posts.skills li h5 {
	margin-top: 0 !important;
	margin-bottom: 10px !important;
	padding-left: 58px;

	min-height: 44px;

	display: flex;

	align-items: center;
}
.recent-posts.skills li:before {
	position: absolute;
}
/* END OF SKILLS STYLING */

/* FLIPPERS STYLING */
.flip-container .back h5 {
	white-space: nowrap; /* need this because free space is too small */
	text-overflow: ellipsis;
	overflow: hidden;

	margin-bottom: 20px;
}

/* POST LIST STYLING */
.post-list time {
	margin-left: 30px;
	display: block;
}

@media (max-width: 768px) {
	.post-list time {
		margin-left: 0px;
	}
}

/* GRAVITY FORMS */

	.gform_ajax_spinner {
		display: none !important;
	}

	/* COMMON */
	.gform_wrapper {
		max-width: 100% !important;
	}
	.gform_wrapper .gform_heading {
		width: 100% !important;
	}

	.gform_wrapper ul li.gfield {
		margin-top: 0 !important;
	}
	.gform_wrapper ul li.gfield:not(:first-child) {
		margin-top: 20px !important;
	}

	.gform_wrapper .ginput_container input,
	.gform_wrapper .ginput_container textarea {
		padding: 6px 6px 7px 6px !important;
		line-height: 15px;

		transition: 0.3s;
		border: 1px solid #e9e9e9 !important;
		background-color: #e9e9e9;

		font-size: 14px !important;
		color: #555;

		border-radius: 0;

		margin-bottom: 15px !important;
	}
	.gform_wrapper .ginput_container_checkbox input {
		margin-top: 0px !important;
		margin-bottom: 0px !important;
	}
	.gform_wrapper .ginput_container:not(.ginput_container_checkbox) input {
		height: 30px;	
	}
	.gform_wrapper .ginput_container textarea {
		max-width: 100%;
		max-height: 400px;
		min-height: 100px;

		height: 200px !important;
	}
	.gform_wrapper .gfield .ginput_container input:focus,
	.gform_wrapper .gfield .ginput_container textarea:focus {
		background: none;
		border-color: #35bc7a !important;
		box-shadow: none;
	}
	.gform_wrapper .gform_footer {
		margin-top: 0 !important;
		padding-top: 0 !important;

		text-align: center;
	}
	.gform_wrapper .gform_footer .gform_button {
		text-transform: none;

		padding-left: 36px !important;
		padding-right: 36px !important;
	}

	.gform_wrapper .validation_error {
		margin: 20px auto !important;
		padding: 8px 35px 8px 14px !important;
		border: 1px solid #DDD !important;
		background-color: #F2DEDE !important;
		color: rgb(185, 74, 72) !important;
		font-size: 14px !important;
		font-weight: normal !important;
		text-shadow: 0 1px 0 rgba(255,255,255,0.5);

		width: calc(100% - 20px);

		border-radius: 4px;
	}

	.gform_wrapper .gfield_checkbox li input,
	.gform_wrapper .gfield_checkbox li input[type=checkbox],
	.gform_wrapper .gfield_radio li input[type=radio] {
		margin-right: 5px;
	}

	.gform_wrapper ul.gfield_checkbox li input[type=checkbox]:checked+label {
		font-weight: normal !important;
	}

	/* SPECIAL FORM CLASSES */
		/* FORM WITHOUT LABELS */
		.gform_wrapper .avchealth_form_no_labels .gfield_label {
			display: none !important;
		}

		/* FORM WITH FLEX LAYOUT AND THREE COLUMNS */
		.gform_wrapper .avchealth_form_columned {
			display: flex;
    		flex-direction: column;
		}
		.gform_wrapper .avchealth_form_columned .validation_error {
			order: 2;
		}
		.gform_wrapper .avchealth_form_columned .gform_fields {
			display: flex;
			flex-wrap: wrap;
		}
		.gform_wrapper .avchealth_form_columned .gform_fields .gfield {
			flex-basis: 33.333%;
			flex-grow: 1;

			margin-top: 0 !important;
		}
		.gform_wrapper .avchealth_form_columned {
			margin-left: -10px;
			margin-right: -10px;
		}
		.gform_wrapper .avchealth_form_columned .ginput_container,
		.gform_wrapper .avchealth_form_columned .gform_footer {
			padding-left: 10px;
			padding-right: 10px;
		}
		.gform_wrapper .avchealth_form_columned .gform_fields li.gfield.gfield_error div.ginput_container {
			margin-bottom: 0px !important;
		}
		.gform_wrapper .avchealth_form_columned .gfield_error .ginput_container {
			padding-right: 10px;
		}
		.gform_wrapper .avchealth_form_columned .gform_fields .gfield--width-full {
			flex-basis: 100%;
		}

	/* CONSENT FIELD */
	.gform_wrapper .gfield--type-consent .ginput_container_consent {
		display: flex;
		align-items: baseline;
		gap: 6px;
	}
	.gform_wrapper .gfield--type-consent .ginput_container_consent input[type=checkbox] {
		width: auto !important;
		height: auto !important;
		flex-shrink: 0;
	}
	.gform_wrapper .avchealth_form_fancy li.gfield.gfield--type-consent.gfield_error div.validation_message {
		display: block !important;
		position: static !important;
		margin: 2px 10px 16px !important;
		padding: 6px 10px 7px !important;
		width: auto !important;
	}
	.gform_wrapper .avchealth_form_columned li.gfield.gfield--type-consent.gfield_error {
		margin: 0 !important;
	}

	/* TOP LABEL FORMS */
	.gform_wrapper .top_label .ginput_container {
		margin-top: 0 !important;
	}

	.gform_wrapper .top_label .ginput_container input,
	.gform_wrapper .top_label .ginput_container textarea {
		width: 100% !important;
	}

	/* SIDE LABEL FORMS */
	.gform_wrapper ul.left_label li.gfield {
		padding-right: 0 !important;
	}
	.gform_wrapper .gform_footer.left_label {
		margin-left: 29% !important;
	}
	.gform_fields.left_label .gfield_label {
		margin-top: 7px !important;
	}
	.gform_wrapper .left_label .ginput_container input,
	.gform_wrapper .left_label .ginput_container textarea {
		width: 71% !important; /* label width 29% */
	}
	.gform_wrapper .gform_footer.left_label {
		text-align: left;
	}
	
	.gform_wrapper.gform_validation_error .gform_body ul.left_label li.gfield.gfield_error:not(.gf_left_half):not(.gf_right_half) {
		max-width: 100% !important;
	}

	/* COMMON ERRORS */
	.gform_wrapper .gfield_error label.gfield_label,
	.gform_wrapper .gfield_error div.ginput_container {
		color: inherit !important;
	}
	.gform_wrapper .avchealth_form_fancy .gfield_error label.gfield_label,
	.gform_wrapper .avchealth_form_fancy .gfield_error div.ginput_container {
		margin-top: 0 !important;
	}

	.gform_wrapper li.gfield.gfield_error {
		padding-right: 0px !important;
	}

	.gfield_error {
		position: relative;

		width: 100% !important;

		background-color: transparent !important;
		border-top: none !important;
		border-bottom: none !important;
	}
	.gfield_error:last-child {
		margin-bottom: 0 !important;
	}
	.gfield_error .ginput_container {
		margin-top: 0 !important;
		max-width: none !important;
	}

	.gform_wrapper .gform_fields li.gfield.gfield_error {
		background-color: transparent;
		border: none;

		width: 100%;
		margin: 16px 0 -16px 0 !important;

		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}

	.gform_wrapper .avchealth_form_fancy .gform_fields li.gfield.gfield_error {
		margin: 16px 0 0 0 !important;
	}
	  
	.gform_wrapper .gform_fields li.gfield.gfield_error div.ginput_container {
		width: 100%;
		max-width: 100%;
		margin: 0;
	}

	.gform_wrapper .gform_fields .gfield_error .validation_message {
		margin-top: 2px;
		margin-left: 0px !important;
		padding: 0 !important;

		font-weight: normal;
		font-size: 0.8em; /* 1em - 0.2 em */

		color: inherit !important;
	}

	.gform_wrapper .gform_fields li.gfield.gfield_error .gform_footer.top_label {
		padding-top: 0;
		margin-top: 0;
	}

	/* SIDE LABEL ERRORS */
	.gform_wrapper .gform_fields.left_label .validation_message {
		margin-left: 29% !important;
	}
	.gform_wrapper .left_label .gfield_error .gfield_label {
		margin-left: 0 !important;
	}
	.gform_wrapper .avchealth_form_fancy .gform_fields.left_label li.gfield.gfield_error div.ginput_container {
		margin-bottom: 15px !important;
	}

	/* SPECIAL FORMS ERRORS */
	.gform_wrapper .avchealth_form_fancy .gfield_error {
		margin-top: 0 !important;
	}
	.gform_wrapper .avchealth_form_fancy .gfield_error input,
	.gform_wrapper .avchealth_form_fancy .gfield_error textarea {
		border-color: #e9e9e9 !important;
	}
	
	.gform_wrapper .avchealth_form_fancy .validation_error {
		margin-top: 10px !important;
	}

	.gform_wrapper .avchealth_form_fancy li.gfield.gfield_error div.validation_message {
		font-size: 1em !important;
		margin: 0 !important;
		padding: 6px 6px 7px 6px !important;

		line-height: 15px;

		background: #F2DEDE !important;
		border: 1px solid #DDD !important;
		color: #B94A48 !important;

		position: absolute;
		top: 0;
		bottom: 15px;
		left: 10px;
		right: 10px;
		width: auto;
	}

	.gform_wrapper .avchealth_form_fancy .gform_fields li.gfield.gfield_error {
		margin-top: 0 !important;
	}

	.gform_wrapper .avchealth_form_fancy .left_label li.gfield.gfield_error div.validation_message {
		margin-left: 29% !important;

		right: 0 !important;
		left: 0 !important;
	}

	.gform_wrapper form:not(.avchealth_form_fancy) .left_label li.gfield.gfield_error div.validation_message {
		color: #B94A48 !important;
		font-weight: bold;
	}

	.gform_wrapper .field_description_below .gfield_description {
		position: relative;
		padding-top: 0px !important;
		top: -16px;
		margin-bottom: -7px;
	}

	/* HACKS AND FIXES */
	.gf_browser_ie.gform_wrapper .gform_footer input.button {
		padding: 0 28px !important; /* remove "genius" hack for browser compatibility */
	}

/* DPC FIELD STYLING */
/* Consent Field */
label.dpc-label {
	color: #8d949a !important;
}

.gform_wrapper .gform_fields .gfield.gfield-dpc {
  	flex-basis: 100%;
}
.gform_wrapper .gform_fields li.gfield.gfield_error.gfield-dpc {
	margin-bottom: 0px !important;
}
.gform_wrapper form:not(.avchealth_form_fancy) .gform_fields .gfield.gfield_error.gfield-dpc .validation_message {
	top: -30px;
}

/* END OF GRAVITY FORMS */

/* UI STYLES */
.ui-datepicker-title select {
	width: auto;

	padding: 4px 6px;
}

.ui-datepicker-title select:focus,
.ui-datepicker-title select:active {
	background: #e9e9e9;
}