/*
Theme Name: Theme
Template: enfold
*/

#pojo-a11y-toolbar .pojo-a11y-toolbar-toggle svg {
    max-width: initial !important;
}

.social_bookmarks li a {
    text-decoration: none !important;
}

/*Add your own styles here:*/

.grid-content {
    margin-top: -54px;
}
.grid-entry:hover .grid-content {
    opacity: 1;
}

.grid-content, .grid-content * {
    background: transparent!important;
    color: white!important;
}

.image-overlay {
    background-color: transparent!important;
}

#awardssection .avia_textblock {
    min-height: 100px !important;
}

.newsbox {
	padding-bottom: 100px;
	overflow: hidden !important;
	background-color: #ffffff;
}

.newsbox .avia_textblock {
    padding: 20px 40px !important;
}

.newsbox .avia-button-wrap {
    display: inline-block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin-bottom: 40px !important;
}

.avia-icon-list-container.icontwocolumns {
    clear: unset !important;
    float: left;
    width: 50% !important;
    display: inline;
	margin: 10px 0px !important;
}

.page-id-1050 .av-iconlist-small li {
    margin-bottom: 10px;
    padding: 15px !important;
    margin-right: 10px;
    background-color: #7c7c7c;
    text-shadow: 1px 1px 0px rgba(0,0,0,.2) !important;
}

.dv-panel-title {
    background-color: #c6262e !important;
}

.dv-member-name {
    background-color: #c6262e !important;
}

#mapsection .container {
    padding: 0 0px !important;
	max-width: 100% !important;
	margin-bottom: -10px !important;
	width: 100% !important;
}

#projects .container {
	max-width: 100% !important;
	padding: 15px 15px !important;
}

#top .av-iconlist-small li {
    margin-bottom: 10px;
}

#top #wrap_all .header_color.av_header_transparency {
	color: white !important;
}

#top #header.header_color.av_header_transparency .av-main-nav > li > a .avia-menu-text {
	color: white !important;
}

#top .flex_column_table {
    margin-top: 0px !important;
}

#scroll-top-link {display: none; }

.header-scrolled .logo img {
	padding-top: 0;
}

.logo img {
    padding-top: 40px;
    padding-bottom: 10px;
    max-width: 400px;
}

h1, h2, h3, h4, h5, h6 {
	text-transform: none !important;
	font-weight:normal !important;
}

.avia-menu-text {
	font-weight: normal !important;
}

#header_meta {
    border: none !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

#top #header_main > .container .main_menu .av-main-nav > li > a {
    height: 90px !important;
}

#slimsection .container {
    max-width: 1100px !important;
}

/**** AVIA BUTTONS AND MEDIA ****/

body div .avia-button {
    border-radius: 0px !important;
}

.avia-button.avia-size-medium {
    font-size: 17px !important;
    padding: 14px 30px !important;
}

#top .avia-button.avia-color-light {
    color: #fff;
    border: 2px solid #fff;
    background: transparent;
	padding: 12px 30px !important;
}

.avia-button.avia-size-x-large {
    padding: 20px 50px 20px !important;
    font-size: 40px !important;
    margin-top: 40px !important;
}

.avia-button.avia-size-small {
    padding: 10px 20px 12px;
	font-size: 20px;
	min-width: 150px;
}

.avia-video {
	-webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.2);
	box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.2);
	background-color: white !important;
}

.avia-image-container-inner {
    border-radius: 0px !important;
}

.image-overlay-inside, .image-overlay.overlay-type-extern {
	display: none;
}

/***** HEADER WIDGET *****/

.main_menu {
	padding-top: 20px;
}

.av-main-nav ul {
	margin-top: -5px;
}

#header .widget {
    text-align: right;
    position: absolute;
    width: auto;
    right: 15px !important;
    z-index: 9999 !important;
    height: 60px;
    padding-bottom: 0px !important;
	line-height: normal;
    overflow: hidden !important;
	padding-top: 20px !important;
}

.topphone {
	color: #ffffff;
	font-size: 27px;
	font-weight: bold !important;
	margin-bottom: 3px;
    text-shadow: 1px 1px 0px rgba(0,0,0,.2) !important;
}

.topphone .fa-phone {
	padding-right: 5px !important;
	color: #ffffff !important;
	vertical-align: middle !important;
}

.toptext {
    font-size: 18px;
    padding-right: 5px;
    text-transform: uppercase;
	color: white;
}

/* SPLASH */

#homesplash .container {
	padding-top: 160px !important;
	padding-bottom: 100px;
	max-width: 1200px;
}

#homesplash p {
	color: #ffffff;
    text-shadow: 1px 1px 0px rgba(0,0,0,.6) !important;
}

#homesplash h1 {
	color: #ffffff;
	font-size: 60px;
	font-weight: bold !important;
}

#subsplash p {
	color: #ffffff;
    text-shadow: 1px 1px 0px rgba(0,0,0,.6) !important;
}

#subsplash h1 {
	color: #ffffff;
	font-size: 60px;
}

#subpagebigpic .container .content {
    display: table-cell;
    vertical-align: bottom !important;
    height: 100%;
    float: none !important;
}

#subpagebigpic .container {
	max-width: 100%;
	padding: 0px 0px;
}

.columnstretch {
	background: rgba(255,255,255,.8) !important;
	max-width: 1500px;
	margin: auto !important;
	padding: 50px !important;
	float: none !important
}

.columnstretch_trans {
	max-width: 1500px;
	padding: 50px !important;
	margin: auto !important;
	float: none !important
}

#subpagebigpic .av_textblock_section  {
	max-width: 1400px !important;
	margin: auto !important;
}

/* HOMEMAIN */

#homemain .container {
	padding-bottom: 60px;
	padding-top: 60px;
}

#homemain .flex_column_table_cell {
    padding: 60px 60px;
}

#homemain .nospace1.flex_column_table_cell {
    padding: 40px 10px 40px 90px !important;
}

#homemain .nospace2.flex_column_table_cell {
    padding: 60px 60px 60px 30px !important;
}

#homemain .flex_column_table {
    margin-top: -120px !important;
    margin-bottom: -120px !important;
}

#homemain .av-flex-placeholder {
    width: 2%;
}

.homebox.flex_column_table_cell {
    padding: 0px 0px 80px 0px !important;
}
	
.homebox {
	padding-bottom: 120px;
	overflow: hidden !important;
}

.homebox .av_textblock_section {
	padding: 20px 30px;
}

.homebox p {
	font-size: 14px;
    line-height: 1.6em;
}

.homebox .avia-button-wrap {
    display: inline-block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin-bottom: 40px !important;
}


.homeboxnobutton.flex_column_table_cell {
    padding: 0px 0px 0px 0px !important;
}
	
.homeboxnobutton {
	padding-bottom: 0px;
	overflow: hidden !important;
}

.homeboxnobutton .av_textblock_section {
	padding: 20px 30px;
}

.homeboxnobutton p {
	font-size: 14px;
    line-height: 1.6em;
}

.homeboxnobutton .avia-button-wrap {
    display: inline-block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin-bottom: 0px !important;
}


.slimwidth .container {
	max-width: 1000px !important;
}

/* FEATURED BOXES */

.featuredspacing {
    padding-top: 120px !important;
    padding-bottom: 120px !important;
}

#featuredboxes .avia-button {
    font-size: 24px !important;
    padding: 11px 20px 12px !important;
	background: rgba(0,0,0,.4) !important;
}

#detoxheader.avia-section {
    min-height: auto !important;
}

#detoxheader h2 {
	font-size: 40px;
	line-height: 45px;
	color: #70a1b5;
	padding-bottom: 10px;
}

#featuredboxes h3 {
    text-align: center;
    padding-bottom: 40px;
    font-size: 24px;
    line-height: 30px;
    text-shadow: 1px 1px 0px rgba(255,255,255,.6) !important;
}

#featuredboxes p {
	color: #ffffff !important;
    text-shadow: 1px 1px 0px rgba(0,0,0,.6) !important;
}

/* SERVICE BOXES */

#serviceboxes .av-flex-placeholder {
    width: 2%;
}

#serviceboxes .flex_column_table {
    margin-bottom: 30px;
}

.servicebox {
    background: white !important;
    padding: 30px !important;
	-webkit-box-shadow: 2px 2px 10px 0px rgba(0,0,0,0.1);
	background-color: white !important;
}

/* BLOG */

#mainblog .avia-content-slider .slide-image img {
    height: -webkit-fill-available !important;
    max-height: 225px;
}

div .av_two_third {
    margin-left: 6%;
    width: 62.666%;
}

.callbanner {
    padding: 50px 20px;
    margin-top: 30px;
    margin-bottom: 30px;
    background: url();
    background-size: cover;
    background-position: center;
}

.callbanner .btn_question {
	background-color: #5bb2e1 !important;
}

.callbanner h4 {
	font-size: 24px;
	text-align: center !important;
	color: white !important;
}

div#ez-toc-container {
    padding: 30px;
    margin-right: 30px;
	border-radius: 0px;
}

#ez-toc-container p.ez-toc-title {
    font-size: 20px;
    padding-bottom: 15px;
}

.small-preview img, .big-preview img {
    border-radius: 0px !important;
}

div .av_one_third {
    margin-left: 3%;
    width: 31.333333333333333333%;
}

.avia-content-slider .slide-image {
    border-radius: 0px !important;
	margin-bottom: 0px !important;
}

.avia-content-slider .slide-image img {
	border-radius: 0px !important;
}
.slide-content {
    padding: 0px 20px 20px 20px;
    border: 1px solid;
}

.html_modern-blog .avia-content-slider .slide-meta {
    margin-top: 0px;
	display: none !important;
}

.avia-content-slider .slide-entry-title {
    font-size: 1.4em !important;
    line-height: 1.4em !important;
    margin: 0;
}

.avia-content-slider .slide-entry-excerpt {
    font-size: 14px;
}


/* SIDEBAR and WIDGETS */

.sidebar_right .container .content  {
    margin-right: -350px !important;
	width: 100% !important;
}

.sidebar_right .standard-content  {
    margin-right: 350px !important;
}

.avia-section .post-entry-type-page  {
    margin-right: 0px !important;
}

.sidebar_right .entry-content-wrapper {
	margin-right: 350px;
}

.sidebar_right .post-entry-type-standard {
    margin-right: 350px !important;
}

.sidebar_right .sidebar {
    width: 350px !important;
}

.sidebox {
	background: url();
	background-size: cover;
	padding: 0px !important;
}

.sideboxoverlay {
	background-color: #5bb2e1;
    opacity: 0.8;
	position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
}

.sideboxinner {
    padding: 40px 10px !important;
	position: relative !important;
}

.sidebox h2, .sidebox h3, .sidebox p {
	color: white !important
}

.sidebox h2 {
	font-size: 22px;
}

.sidebox h3 {
	font-size: 18px;
}

.sidebox .fa {
	padding-right: 5px;
	vertical-align: middle;
}

.btn_questionwrap {
	padding-top: 10px;
	padding-bottom: 10px;
	display: inline-block;
	text-align: center;
	width: 100%;
}

.btn_question {
    border-radius: 5px;
    padding: 15px 25px;
    font-size: 12px;
    background-color: #3d5f85;
    border-bottom-width: 0;
	line-height: 1.2em;
	position: relative;
	max-width: 100%;
	color: white !important;
	text-decoration: none !important;
	font-size: 22px;
	font-weight: 400;
	text-align: center;
	display: inherit;
    transition: 0.3s;
}

.btn_question a {
	color: white !important;
    text-decoration: none !important;
}

.btn_question:hover {
	background: white !important;
	color: #3d5f85 !important;
}

.btn_questionwrap a[href^="tel"] {
    color: white !important;
    text-decoration: none;
}

.btn_questionwrap:hover a[href^="tel"] {
    color: #3d5f85 !important;
    text-decoration: none;
}

#top #s {
    font-size: 14px;
	border-radius: 5px !important;
}

#top #searchsubmit {
    border-radius: 0px 5px 5px 0px;
}

#top select {
	font-size: 14px !important;
}

.contactwidget {
	background-color: #3d5f85 !important;
}

.contactwidget .widgettitle {
    padding: 15px 0px 0px !important;
    border-bottom: none !important;
}

.contactwidget h3 {
	color: white !important;
}

.sidebar .widget {
	clear: both;
    position: relative;
    padding: 0px 15px 15px 15px;
    float: none;
    margin-bottom: 20px;
    margin-right: 4px;
    background-color: #e2e7eb;
	border-radius: 0px;
}

.inner_sidebar {
    margin-left: 0px;
}

.sidebar, .content {
    border: none!important;
}

.sidebar .widgettitle {
	padding: 15px 0px 10px;
    border-bottom: 1px solid #3d5f85;
	border-radius: 0px; 
	font-weight: normal;
	font-size: 24px;
}

.sidebarblogposts {
    padding: 0 0px 15px !important;
}

.sidebarblogposts .widgettitle {
    margin: 0px 15px !important;
    padding: 15px 0px 0px !important;
    border-bottom: none !important;
}


.sidebarblogposts .widgettitle {
    margin: 0px 15px !important;
    padding: 15px 0px 0px !important;
    border-bottom: none !important;
}

.pis-thumbnail img {
    padding: 0px !important;
    width: 100% !important;
}

.pis-title {
	margin: 5px 15px 15px 15px !important;
}

div.wpcf7 {
    max-width: 100% !important;
    margin: auto;
}

.sidebarform {
	background: #292929 !important;
}

.sidebarform h3 {
	color: white !important;
}

.sidebarform input[type="text"],
.sidebarform input[type="email"],
.sidebarform input[type="tel"],
.sidebarform textarea,
.sidebarform select,
.sidebarform wpcf7-textarea {
	height: 40px !important;
	margin-bottom: 10px !important;
	border-radius: 4px !important;
	font-size: 14px !important;
	background: #ffffff !important;
}

.sidebarform input[type="submit"] {
	width:100% !important;
	border-radius: 5px !important;
    margin-top: 8px !important;
	background-color: #f2f2f2 !important;
	color: #292929 !important;
}

.sidebarform input[type="submit"]:hover {
	background-color: #f2f2f2 !important;
	color: #292929 !important;
}

/* TABLET STYLES */
@media only screen and (min-width: 768px) and (max-width: 989px) {

.sidebar {
    padding-top: 0px !important;
}
	
.sidebar_right .standard-content  {
    margin-right: 0px !important;
}
	
.sidebar_right .post-entry-type-page {
    margin-right: 0px !important;
}
	
.sidebar_right .entry-content-wrapper {
	margin-right: 0px !important;
}
	
.sidebar_right .sidebar {
    width: 100% !important;
}
	
.sidebar_right .content .entry-content-wrapper {
    padding-right: 0px !important;
}
	
}

@media only screen and (max-width: 767px) {
  /* Add your Mobile Styles here */
	
body .alignright, .entry-content-wrapper a:hover .alignright {
    float: none;
    margin: 4px 0px 20px 0px;
    width: 100%;
}
	
div#ez-toc-container {
    width: 100% !important;
}

.sidebar {
    padding-top: 0px !important;
}
	
.sidebar_right .standard-content  {
    margin-right: 0px !important;
}
	
.sidebar_right .post-entry-type-page {
    margin-right: 0px !important;
}
	
.sidebar_right .entry-content-wrapper {
	margin-right: 0px !important;
}
	
.sidebar_right .sidebar {
    width: 100% !important;
}
	
}

/* Contact Form 7 Styles */

div.wpcf7 .ajax-loader {
display: none !important;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea
{
    height: 50px;
    padding: 0 15px;
    vertical-align: middle;
    margin-bottom: 10px;
    border-radius: 10px;
	font-size: 14px;
	border-width: 0px;
	background-color: #efefef;
}

.wpcf7-select {
    height: 50px;
    padding: 0 15px !important;
    vertical-align: middle !important;
    margin-bottom: 10px !important;
    border-radius: 10px !important;
	font-size: 14px !important;
	border-width: 0px !important;
}

input.wpcf7-submit {
	position: relative  !important;
    height: 50px;
    width: 100% !important;
    margin: 0  !important;
    padding: 0 20px  !important;
    vertical-align: middle  !important;
    font-size: 20px !important;
	background: #292929 !important;
	border-radius: 10px !important;
}

.marginfix {
	margin-bottom: 0px !important;
}

div.wpcf7-mail-sent-ok {
    border: 0px solid #ffffff !important;
}


/* HOME BLOG */

#homemain .slide-image {
    max-height: 240px !important;
}


/* FOOTER */

#footer .widget_nav_menu a {
    padding: 0px !important;
}

#nav_menu-2 {
	margin-bottom: 10px !important;
}

#footer {
    padding: 50px 0 50px 0;
    z-index: 1;
}

#footer .widget {
    margin: 0px 0 0px 0;
	background: none !important;
}

.footernews.widgettitle h3 {
	margin-bottom: 0px !important;
}

#top #footer .widget_nav_menu li {
    font-size: 1.1em !important;
}

#footer .sub-menu {
	font-size: .7em !important;
	color: #666666 !important;
}

#top #footer .widget_nav_menu li {
    font-size: 0.9em !important;
}

.widget_nav_menu a {
    padding: 2px 0px 2px 0 !important;
}

.footerlogo img {
	max-width: 200px !important;
	margin-bottom: 30px;
}

.copyrightwidget {
    font-size: 12px;
    color: #7c7c7c;
	line-height: 1.6em;
}

.footerphone {
	font-size: 27px;
	font-weight: bold !important;
	margin-bottom: 3px;
    text-shadow: 1px 1px 0px rgba(0,0,0,.2) !important;
	color: #292929;
}

.footerphone .fa-phone {
	color: #292929;
	padding-right: 5px;
	vertical-align: middle;
}


/* CUSTOM STYLES */
@media only screen and (min-width: 990px) and (max-width: 1140px) {

.logo img {
    padding-top: 20px;
}
	
.toptext {
	display: none !important;
}

}

/* TABLET STYLES */
@media only screen and (min-width: 768px) and (max-width: 989px) {
	
.main_menu {
    padding-top: 0px;
}
	
.av-main-nav-wrap {
    border-bottom: unset !important;
}
	
.logo img {
    padding-top: 25px;
    padding-bottom: 20px;
    max-width: 400px;
}
	
#header .widget {
	padding-top: 30px !important;
}
	
.toptext {
	display: none !important;
}
	
#header .widget {
    top: 0px;
    right: 60px !important;
}
	
#homesplash .container {
	padding-top: 0px !important;
	padding-bottom: 0px !important;
}
	
#homemain .nospace1.flex_column_table_cell {
    padding: 40px 40px 40px 40px !important;
}

#homemain .nospace2.flex_column_table_cell {
    padding: 40px 40px 40px 40px !important;
}
	
}

/* MOBILE STYLES */
@media only screen and (max-width: 767px) {
	
.splashwhite {
	background: rgba(0,0,0,.5) !important;
	padding: 20px;
}
	
#awardssection .flex_column {
	margin-bottom: 80px !important;
}
	
.avia-icon-list-container.icontwocolumns {
    float: unset !important;
    width: 100% !important;
}	
	
.icontwocolumns .avia-icon-list {
    margin: 20px 0px !important;
}
	
#projects .container {
	max-width: 100% !important;
}
	
.responsive #projects .container {
    width: 100% !important;
}
	
.logo img {
    padding-top: 20px;
    padding-bottom: 20px;
    max-width: 400px;
}
	
.main_menu {
    padding-top: 0px;
}
	
.av-main-nav-wrap {
    border-bottom: unset !important;
}
	
#header .widget {
    display: none !important;
}
	
#homesplash .container {
	padding-top: 0px !important;
	padding-bottom: 0px !important;
}
	
#homesplash h1 {
	font-size: 40px;
}
	
#homemain .container {
	padding-bottom: 40px;
}
	
#homemain .flex_column_table_cell {
    padding: 40px 40px;
}
	
#homemain .nospace1.flex_column_table_cell {
    padding: 40px 40px 40px 40px !important;
}

#homemain .nospace2.flex_column_table_cell {
    padding: 40px 40px 40px 40px !important;
}
	
.homeformbox {
	margin-top: -110px !important;
	padding-right: 20px;
	padding-left: 20px;
}
	
.homeformbox .av_one_fifth {
    margin-left: 0% !important;
    width: 100% !important;
}
	
#serviceboxes .flex_column_table {
    margin-bottom: 0px;
}
	
.submitbutton {
    margin-left: 0% !important;
	width: 100% !important;
}
	
#footer .widget {
	text-align: center !important;
    margin: 10px 0 !important;
}
	
.responsive #top #wrap_all .slide-entry {
    width: 100%;
    margin-bottom: 20px !important;
}
	
}