/*
Theme Name: Theme
Template: enfold
*/


/*Add your own styles here:*/

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

.avia-video {
    margin-bottom: 0px !important;
	border-radius: 10px;
}

.avia_playpause_icon {
    background: linear-gradient(#81babb, #16576e);
    border-radius: 10px;
	display: none !important;
}

#top .av-flex-placeholder {
    display: table-cell;
    width: 4%;
}

.logo img {
	padding-top: 10px;
	padding-bottom: 10px;
}

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

#header_meta {
    background: #16576e !important;
    padding-top: 5px;
    padding-bottom: 5px;
}

.phone-info {
    font-size: 14px;
}

.phone-info a {
    text-decoration: underline;
}

#top #wrap_all .header_color .av-menu-button-colored > a .avia-menu-text {
    color: #ffffff !important;
    font-size: 20px;
    padding: 10px 20px 10px 20px;
    border: 0px;
    background: #16576e;
}

.html_av-overlay-side #top .av-burger-overlay-scroll {
    background: rgba(22, 87, 110, 0.8);
}

/* Activate burger menu */
 @media only screen and (max-width: 1230px) {

#top #header .av-main-nav > li.menu-item  {
    display: none!important;
}

#top #header .av-burger-menu-main {
    cursor: pointer;
    display: block!important;
}
	 
#top #wrap_all .header_color .av-menu-button-colored > a .avia-menu-text {
	background: #81babb;
} 
}

/* SPLASH */

#homesplash .container {
    padding-top: 150px !important;
    padding-bottom: 150px;
}

#homesplash h1 {
    color: white;
    font-weight: 700 !important;
    font-size: 65px !important;
    line-height: 1.2em;
}

#homesplash h2 {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 24px !important;
    color: #ffffff!important;
    letter-spacing: 10px;
	margin-bottom: 40px;
}

#homesplash .avia-button {
	background: linear-gradient(#81babb, #16576e);
	color: white !important;
}

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

#subsplash .container {
	padding-top: 90px;
	padding-bottom: 70px;
}

#subsplash .avia_textblock {
	max-width: 900px !important;
    margin: auto;
    text-align: center;
}

 @media only screen and (max-width: 1230px) {
#homesplash h1 {
    font-size: 50px !important;
}

#homesplash h2 {
    font-size: 20px !important;
}

#subsplash h1 {
	font-size: 45px;
}
	 
}

@media only screen and (max-width: 767px) {
#homesplash h1 {
    font-size: 35px !important;
}

#homesplash h2 {
    font-size: 18px !important;
}
	
#subsplash h1 {
	font-size: 35px;
}
	
}

/* HOME MAIN */

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

#verifyinsurance .avia_textblock {
	padding-top: 10px;
}

.slimbox {
    max-width: 1100px !important;
    margin: auto;
    text-align: center;
}

#picboxes .flex_column_table_cell {
    border-radius: 10px;
    padding-top: 150px;
    text-align: center;
}

#picboxes h3 {
	font-size: 27px !important;
}

#picboxes .avia_textblock {
    padding: 20px 40px 5px;
    background: #00000045;
	margin-bottom: 100px !important;
	display: inline-block !important;
}

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

#picboxes .avia-button {
	background: #ffffff;
	color: white;
}

.whitebox {
    border-radius: 10px;
    background-color: white;
    padding: 20px;
	overflow: hidden;
}

.darkboxbutton .avia-image-container.avia-align-center .avia-image-container-inner {
    width: 100% !important;
}

.darkboxbutton .avia-image-container .avia_image {
    width: 100% !important;
}

.darkbox {
	padding: 0px;
	overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(#81babb, #16576e);
    color: white;
}

.darkbox .av_textblock_section  {
	padding: 20px !important;
}

.darkbox h1,.darkbox h2,.darkbox h3,.darkbox h4,.darkbox h5 {
	color: white !important;
}

.darkboxbutton {
	padding: 0px;
	overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(#81babb, #16576e);
    color: white;
}

.darkboxbutton h1,.darkboxbutton h2,.darkboxbutton h3,.darkboxbutton h4,.darkboxbutton h5 {
	color: white !important;
}

.darkboxbutton .av_font_icon.av-icon-style-border {
	border-color: white;
}

.darkboxbutton .avia_textblock {
    padding: 20px 40px 5px;
	margin-bottom: 80px;
	text-align: center;
}

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

.darkboxbutton  .avia-button {
	background: white;
	color: #16576e !important;
}

.darkboxbutton .avia-button:hover {
	background: #f2f2fa;
}

#servicethumbs .avia-image-container {
	border-radius: 10px;
	overflow: hidden;
}

.blurbs {
	max-width: 900px;
    margin: auto;
    overflow: inherit !important;
}

.blurbs .slide-entry-excerpt {
    font-size: 20px !important;
}

#phonebar {
	background: linear-gradient(#175870, #82bbbc);
}

#phonebar .avia_textblock {
	padding-top: 10px;
}

#phonebar h3 {
	margin-top: 10px;
    font-size: 30px;
}

#phonebar .avia-button {
	background: white;
	color: #16576e;
}
	
/* SEAL BAR */

#sealbar {
    background: linear-gradient(#81babb, #16576e);
}

#sealbar .container {
	padding: 0px 20px;
}

#sealbar h2 {
	font-size: 50px;
	margin-bottom: 0px;
	color: white;
}

#sealbar h2 strong {
	color: white !important;
	white-space: nowrap !important;
}

#sealbar .jointseal {
	height: 140px;
	width: 140px;
	margin-top: -20px;
	margin-bottom: -20px;
	z-index: 9999 !important;
}

#phonebar {
        background: linear-gradient(#16576e,#81babb) !important;
}

#phonebar h2 {
	font-size: 50px;
	margin-bottom: 0px !important;
	color: #ffffff;
}

#phonebar p {
	color: white !important;
}

#phonebar .avia-button {
	background: #ffffff;
	color: #16576e !important;
}

/* SITE SAMPLES */

.gridimage {
	height: 600px !important;
	min-height: 600px !important;
	background-size: 90% !important;
}

.gridtext .flex_cell_inner {
	max-width: 680px;
}

.gridtext .avia-button {
	background: #16576e !important;
}

.gridtextwhite h1,.gridtextwhite h2,.gridtextwhite h3,.gridtextwhite h4,.gridtextwhite h5 {
	color: white;
}

.gridtextwhite .flex_cell_inner {
	max-width: 680px;
}

.gridtextwhite strong {
	color: white;
}

.gridtextwhite p {
	color: white !important;
}

.gridtextwhite .avia-button {
	background: white !important;
	color: #16576e !important;
}

#gridrowdark {
	background: linear-gradient(#81babb, #16576e) !important;
}

/* SUB PAGES */

#titlebar h2 {
	margin-bottom: 0px;
}

.darkbluebox {
	background: #16576e;
    color: white;
    padding: 40px 50px;
	border-radius: 10px;
}

.darkbluebox h1, .darkbluebox h2, .darkbluebox h3, .darkbluebox h4, .darkbluebox h5 {
	color: #81babb;
}

.darkbluebox a {
	color: #81babb;
}

.lightbluebox {
	background: #f2f2fa;
    padding: 40px 50px;
	border-radius: 10px;
}

.lightbluebox h1, .lightbluebox h2, .lightbluebox h3, .lightbluebox h4, .lightbluebox h5 {
	color: #16576e;
}

.lightbluebox a {
	color: #16576e;
}

/* FOOTER */

#footer {
	z-index: 0 !important;
}

.contact {
	display: inline-block;
	text-align: left;
}

.contact li {
	display: flex;
	align-items: baseline;
	margin-bottom: 10px;
}
.contact li:last-child {
	margin: 0;
}
.contact a {
	color: white;
	text-decoration: none;
}
.contact a:hover {
	color: yellow;
}
.contact p {
	color: white;
	line-height: 1.4;
}
.contact .fa {
	color: white;
	font-size: 15px;
	line-height: 32px;
	margin-right: 10px;
	width: 35px;
	height: 35px;
	text-align: center;
}

.contact .svg-inline--fa {
    margin-right: 10px!important;
	padding-top: 2px;
}


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

body div .avia-button {
    border-radius: 4px;
    padding: 14px 24px !important;
    border: 0px !important;
	text-transform: uppercase;
	letter-spacing: .2em;
	font-weight: bold;
}

.avia-button.avia-size-large {
    font-size: 20px;
    font-weight: bold;
}


/* 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%;
}

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 .widget {
    clear: both;
    position: relative;
    padding: 0 15px 15px;
    float: none;
    margin-bottom: 20px;
    margin-right: 4px;
    background-color: #f2f2fa;
	border-radius: 10px;
}


.avia-section .content .entry-content-wrapper {
    margin-right: 0px !important;
}

.inner_sidebar {
    margin-left: 0px;
}

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

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

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

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

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

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

.sidebox {
	background: url(https://californiarehabcampus.com/wp-content/uploads/2021/12/couple_happy_beach.jpg);
	background-size: cover;
	padding: 0px !important;
}

.sideboxoverlay {
	background-color: #81babb;
    opacity: 0.8;
	position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
	border-radius: 10px;
}

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

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

.sidebox h2 {
	font-size: 24px !important;
}

.sidebox h3 {
	font-size: 20px !important;
	font-weight: normal !important;
}

.sidebox .fa {
	padding-right: 5px !important;
	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: #16576e;
    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: #16576e !important;
}

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

.btn_questionwrap:hover a[href^="tel"] {
    color: #16576e !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;
}

#top .widget ul {
}

.contactwidget {
	background-color: #16576e !important;
}

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

.contactwidget h3 {
	color: white !important;
}


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

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

.page-id-27985 #pis_posts_in_sidebar-2 {
	display: none !important;
}

#pis_posts_in_sidebar-2.page-id-27985 {
	display: none !important;
}

#pis_posts_in_sidebar-2 .page-id-27985 {
	display: none !important;
}

.page-id-27985 .sidebarblogposts {
	display: none !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;
}

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

#sidebarform input[type="text"],
#sidebarform input[type="email"],
#sidebarform input[type="tel"],
#sidebarform textarea,
#sidebarform select {
	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: #f2f2fa !important;
	color: #16576e !important;
}

#sidebarform input[type="submit"]:hover {
	background-color: white !important;
	color: #16576e !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;
}
	
}

/* FOOTER */

#footer.container_wrap {
    border-top-width: 0px;
}


@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%;
}

.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 */

.wpcf7-spinner {
    visibility: hidden;
    display: none;
}

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

div.wpcf7 {
    max-width: 1000px;
    margin: auto;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select
{
    height: 50px;
    padding: 10px 15px !important;
    vertical-align: middle !important;
    margin-bottom: 10px !important;
    border-radius: 5px !important;
    border-width: 0px !important;
}

#top textarea {
    min-height: 100px;
}

input.wpcf7-submit {
    border-radius: 5px;
    padding: 13px 25px !important;
    border: 0px !import33ant;
	text-transform: uppercase;
	font-family: 'montserrat', 'HelveticaNeue', 'Helvetica Neue', 'Helvetica-Neue', Helvetica, Arial, sans-serif !important;
	letter-spacing: .2em;
	background-color: #81babb;
    transition: 0.3s;
}

input.wpcf7-submit:hover {
	background-color: #2b4a71 !important;
}

.submitbutton {
	width: 100% !important;
	text-align: center !important;
}

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

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

.spanish {
    text-align: center !important;
	margin-top: 10px;
}


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

/* MOBILE STYLES */
@media only screen and (max-width: 767px) {
	
#sealbar .container {
	padding: 20px 0px;
}
	
.main_menu {
    padding-top: 0px;
}
	
#header .widget {
    display: none !important;
}
	
.gridimage {
	display: none !important;
}

.gridtext .flex_cell_inner {
	padding: 40px;
}
	
.gridtextwhite .flex_cell_inner {
	padding: 40px;
}
	
}