/*
Theme Name: CurlyHost
Theme URI: https://www.curlyhost.com
Description: CurlyHost - Enfold Child Theme
Author: CurlyHost
Author URI: https://www.curlyhost.com
Template: enfold
Version: V0.1
*/

@import url("../enfold/style.css");

/*styles in Edit CSS*/
.gform_wrapper .field_description_below .gfield_description {
    padding-top: 0px;
}

#top .fullsize .template-blog .post .entry-content-wrapper {
    text-align: inherit;
    font-size: inherit;
    line-height: inherit;
}

.gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type=image], .gform_wrapper .gform_footer input[type=submit] {
    background-color: #a0218d;
    color: white;
}

#top .av-main-nav ul a {
    font-size: 16px!important;
}

div#custom_html-3.widget {
	padding: 0;
	background-repeat: no-repeat;
	background-image: url(https://www.aherninsurance.com//wp-content/uploads/2013/04/callout_bg_345.jpg);
	background-attachment: scroll;
	background-position: center center;
	background-size: cover;
}
div#custom_html-3.widget .textwidget.custom-html-widget {
	max-width: 1210px;
	margin: 0 auto;
	padding: 50px;
}
div#custom_html-3.widget .av-special-heading {
	color: #a0228c;
}

.av-special-heading.no-margin {
	margin: 0;
}

#top .avia-button.avia-color-dark {
	color: #000;
	border: 3px solid #000;
	color: #a327a3;
	border-color: #a327a3;
	background: transparent;
}
#top #wrap_all .all_colors h1 {
	font-size: 30px;
}
a.avia-button.avia-size-large {
	padding: 10px 30px;
	border: none;
	border-radius: 0;
}
.popmake-content .av-special-heading {
	margin: 0;
}
#top #wrap_all .social_bookmarks, #top #wrap_all .social_bookmarks a, #top #wrap_all .social_bookmarks li {
	border: none;
	height: 50px;
	line-height: 50px;
}
.html_main_nav_header.html_logo_left #top .main_menu .menu>li:last-child>a, .html_bottom_nav_header #top #menu-item-search>a {
	padding-right: 15px;
}
.av-thin-font .av-special-heading-tag, .modern-quote .av-special-heading-tag {
	font-weight: 600;
}
.av-main-nav > li > a {
	text-transform: uppercase;
	font-weight: 300;
	font-size: 16px;
}
.sub_menu>ul>li>a, .sub_menu>div>ul>li>a {
	font-weight: 300;
	font-size: 14px;
}

#header_meta {
	padding: 0;
}

#top .social_bookmarks li a {
	border: 1px solid #e1e1e1;
	color: purple;
}

.sub_menu {
	top: 0px;
}

.sub_menu li {
	padding: 0;
	height: 50px;
	line-height: 50px;
}

.sub_menu li:hover, .sub_menu li a:hover {
	text-decoration: none !important;
}

.sub_menu>ul>li>a, .sub_menu>div>ul>li>a {
	text-decoration: none;
	padding: 17px 30px;
}

.sub_menu>ul>li>a:hover, .sub_menu>div>ul>li>a:hover {
	background: #9f208b;
	color: #ffffff !important;
	transition: .25s;
}

.diamond-pattern:before {
	content: "";
	position: absolute;
	width: 100%;
	text-align: center;
	height: 60px;
	background: url(https://www.aherninsurance.com//wp-content/uploads/2017/03/Diamond_Icon.png) center;
	background-repeat: no-repeat !important;
	background-size: contain;
	z-index: -1;
	opacity: .5;
	margin-top: -18px;
	left: 0;
}

/* MISC. - sometimes useful css depending on the site */
.special_amp {
	font-family: inherit;
	font-style: normal;
	font-size: 1.5em;
	line-height: 1em;
	font-weight: normal;
}

.no-margin.av-special-heading {
	margin-top: 0px;
}

/* Centered Buttons */
.centered-buttons .avia-button-wrap {
	display: inline-block;
	margin: 0 5px;
}

.centered-buttons {
	text-align: center;
}

/* Fullwidth buttons subtle color */
#top .main_color .avia-color-theme-color-subtle, #top .main_color .avia-color-theme-color-subtle:hover {
	background: #ca9e31;
}

/* Custom homepage slider */
.custom-slideshow .slideshow_align_caption {
	width: 35%;
}

/* Custom list style for bullet points */
.caret-style li:before {
	content: "\e879";
	display: block;
	height: 0;
	width: 0;
	left: -1em;
	position: relative;
	font-family: 'entypo-fontello';
}

.caret-style ul {
	list-style: none !important;
}

/* Gravity forms css*/
.gform_wrapper {
	margin: 0;
	max-width: 100%;
}

body .gform_wrapper ul li.gfield {
	margin-top: 0;
	padding-top: 0;
}

#top .gform_wrapper .gform_footer {
	padding: 0;
	margin: 0;
	clear: both;
	width: 100%;
}

#top .gform_wrapper ul li.gfield {
	margin-bottom: 20px;
}

#emma-form input[type="submit"] {
	background-color: #A0208D !important;
	border: none !important;
	font-size: 13px !important;
}

input[type='text'] {
	margin-bottom: 7px !important;
}
/* Portfolio Grid transparent background */
.main_color.inner-entry, .main_color .grid-entry-title, .grid-entry .main_color .avia-arrow {
	background: transparent;
}

.main_color .grid-content {
	background: transparent;
}

.grid-entry .inner-entry {
	box-shadow: none;
	padding: 5px;
}

/* Socket css */
#socket .copyright {
	text-align: center;
	width: 100%;
}

#socket .container {
	padding-top: 30px;
	padding-bottom: 30px;
}

.av_secondary_right .sub_menu>ul>li:last-child, .av_secondary_right .sub_menu>div>ul>li:last-child {
	border: none;
	margin-right: 0px;
}

.caption_framed .slideshow_caption .avia-caption-content p, .caption_framed .slideshow_caption .avia-caption-title, .avia-caption .avia-caption-content p, .avia-caption .avia-caption-title {
	filter: alpha(opacity = 90);
	background: rgba(138, 0, 138, 0.5);
	padding: 20px 20px;
}

.av-tab-no-icon.av-tab-no-image .av-inner-tab-title {
	margin-bottom: 15px;
	width: inherit;
}

#top .avia-slideshow-button {
	margin-top: 10px;
}

#top .iconbox.av-no-box .iconbox_icon {
	position: relative;
	top: 0;
	margin: 0 auto 20px auto;
	left: 0;
	width: 90px;
	height: 90px;
	line-height: 90px;
	border-style: solid;
	border-width: 1px;
	padding: 0;
	font-size: 60px;
	display: block;
}

.tel-icon:before {
	content: "\e854";
	padding-right: 5px;
	font-family: 'entypo-fontello';
	line-height: 28px;
}
.fax-icon:before {
	content: "\e838";
	padding-right: 5px;
	font-family: 'entypo-fontello';
	line-height: 28px;
}
.map-icon:before {
	content: "\e842";
	padding-right: 5px;
	font-family: 'entypo-fontello';
	line-height: 28px;
}
.custom-full-slider .caption_framed .slideshow_caption .avia-caption-content p {
	background: none;
}

.av-masonry-entry .av-masonry-entry-title {
	line-height: 1.3em;
	margin: 0;
	font-size: 15px;
	text-align: center;
}

.av-inner-tab-title {
	text-transform: uppercase;
	display: block;
	line-height: 1.2em;
	margin-top: 7px;
	margin-bottom: 3px;
	font-size: 15px;
	text-align: center;
}
.gfield_list_container tr {
	background: #eee3ef !important;
}

#curlyhost-footer .avia-icon-list-container {
	margin-top: 0;
}

/* Accordian */
.av-minimal-toggle .toggler {
	border-bottom: 4px solid #A0218D;
	color: #A0218D;
	font-weight: bolder;
}

.av-minimal-toggle .toggle_icon {
	color: #A0218D !important;
}

#top #av_section_1 .toggler.activeTitle {
    border-color: #A0218D !important;
}
.av-minimal-toggle.togglecontainer .av_toggle_section .toggler:focus {
outline: none;
}

.main_color, .main_color div, .main_color header, .main_color main, .main_color aside, .main_color footer, .main_color article, .main_color nav, .main_color section, .main_color span, .main_color applet, .main_color object, .main_color iframe, .main_color h1, .main_color h2, .main_color h3, .main_color h4, .main_color h5, .main_color h6, .main_color p, .main_color blockquote, .main_color pre, .main_color a, .main_color abbr, .main_color acronym, .main_color address, .main_color big, .main_color cite, .main_color code, .main_color del, .main_color dfn, .main_color em, .main_color img, .main_color ins, .main_color kbd, .main_color q, .main_color s, .main_color samp, .main_color small, .main_color strike, .main_color strong, .main_color sub, .main_color sup, .main_color tt, .main_color var, .main_color b, .main_color u, .main_color i, .main_color center, .main_color dl, .main_color dt, .main_color dd, .main_color ol, .main_color ul, .main_color li, .main_color fieldset, .main_color form, .main_color label, .main_color legend, .main_color table, .main_color caption, .main_color tbody, .main_color tfoot, .main_color thead, .main_color tr, .main_color th, .main_color td, .main_color article, .main_color aside, .main_color canvas, .main_color details, .main_color embed, .main_color figure, .main_color fieldset, .main_color figcaption, .main_color footer, .main_color header, .main_color hgroup, .main_color menu, .main_color nav, .main_color output, .main_color ruby, .main_color section, .main_color summary, .main_color time, .main_color mark, .main_color audio, .main_color video, #top .main_color .pullquote_boxed, .responsive #top .main_color .avia-testimonial, .responsive #top.avia-blank #main .main_color.container_wrap:first-child, #top .main_color.fullsize .template-blog .post_delimiter, .main_color .related_posts.av-related-style-full a {
    border: none;
}


/* Mobile media quieries at 990 */
@media only screen and (min-width: 990px) {
	.mobile-only-990 {
		display: none;
	}
	.custom-full-slider .container.caption_container {
		width: 75%;
	}
}

@media only screen and (max-width: 989px) {
	.desktop-only-990 {
		display: none;
	}
	.mobile-only-990 {
		display: block;
	}
	div#header_meta {
		display: none;
	}

	.avia_transform .av_slideshow_full .avia-caption-title {
		font-size: 1em;
	}
	.avia_transform .av_slideshow_full .active-slide .avia-caption-content {
		font-size: 12px;
	}
	.av_slideshow_full li img {
		min-width: 1500px;
		margin-left: -150px;
	}
}

/* Mobile media quieries at 767 */
@media only screen and (min-width: 768px) {
	.mobile-only {
		display: none;
	}

	.responsive .boxed#top {
		box-shadow: 0 0 45px -13px rgba(0,0,0,0.5);
	}
	.responsive .boxed#top, .responsive.html_boxed.html_header_sticky #header, .responsive.html_boxed.html_header_transparency #header {
		max-width: 100%;
	}

	a.link-padding {
		padding-right: 50px;
	}

	#curlyhost-footer.slim-section .container {
		max-width: 1200px;
	}
}

@media only screen and (max-width: 767px) {
	/* Experimental column switching css */
	#switch-column-order.av-layout-grid-container {
		display: flex !important;
		flex-direction: column-reverse;
	}
	#switch-column-order .flex_column_table {
		display: flex !important;
		flex-direction: column-reverse;
	}

	.desktop-only {
		display: none;
	}
	.mobile-only {
		display: block;
	}
}

html.pum-open.pum-open-overlay.pum-open-scrollable body>[aria-hidden] {
	padding-right: 0 !important;
}




@media only screen and (max-width: 980px) {
	.av-tab-section-tab-title-container.avia-tab-title-padding-default{
		min-width: 300px !important;
		padding-top: 0px !important;
	}
	#top .av-tab-arrow-container span {
    	display: none;
	}
	span.av-outer-tab-title {
    max-height: 30px !important;
}
}

span.post-meta-infos {
    max-width: 52em !important;
}
.avia_transform .avia_start_delayed_animation.av_font_icon.avia-icon-animate {
    -webkit-animation: none !important;
    animation: none !important;
    opacity: 1;
    -webkit-transform: none !important;
    -ms-transform: none !important;
    transform: none !important;
}
.avia_transform .av_font_icon.avia-icon-animate {
    opacity: 1 !important;
}.vp-player-layout {
	bottom: 0 !important;
	top: 0 !important;
}


/* gform-styling */
#gform_wrapper_12 {
	  max-width: 710px;
    margin: 0 auto;
}

#gform_wrapper_12 .gsection_description {
	  margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
}

#gform_wrapper_12 .gfield_html {
	  font-weight: bold;
    color: purple;
    font-size: 18px;
}

#top #gform_wrapper_12 .ginput_container_date input {
		width: 100% !important;
}



@media ( min-width: 1024px ) {
	
	#gform_wrapper_12 .ginput_list table th {
		padding: 12px 20px 0 20px;
	}

	#gform_wrapper_12 .ginput_list table td.gfield_list_cell {
		padding: 4px 20px 4px 20px;
	}

	#gform_wrapper_12 .ginput_list table td.gfield_list_icons {
		padding: 0 0 12px 4px !important;
	}
	
}

#gform_wrapper_12 li.gfield.notice-text {
	  font-weight: normal;
    color: initial;
}

#gform_wrapper_12 li.premium-details {
	  background-color: #f7f7f7;
    padding: 20px 20px 40px 20px!important;
    margin-bottom: 60px !important;
}

.smaller-cell-row .entry-content-wrapper {
	    max-width: 650px;
    	margin: auto;
}

.smaller-cell-row .post-entry {
		   max-width: 904px;
    	margin: auto;
}

.smaller-cell-row .lp-check-list ul {
	margin-left: 0!important;
}

.smaller-cell-row .av-flex-placeholder {
	display: none!important;
}

.smaller-cell {
	
}

.smaller-cell .lp-check-list ul li {
	flex-wrap: nowrap;
	width:100%!important;
}

.smaller-cell-left {
	
}


.smaller-cell-right {
}

.gform_wrapper.gravity-theme .gfield.col-5 {
	-ms-grid-column-span: 2;
   grid-column: span 2;
}
.gform_wrapper.gravity-theme .gfield.col-5 label.gfield_label {
	height: 50px;
}
