/*
 Theme Name:     Ortho Nor Cal
 Theme URI:      https://www.edaris.com
 Description:    Theme Made for OrthoNorCal
 Author:         Edaris Health
 Author URI:     https://www.edaris.com
 Template:       Divi
 Version:        1.0.0
*/
 
@import url("../Divi/style.css");
 
/* =Theme customization starts here
------------------------------------------------------- */
.specialties{
	display:inline-block;
	padding-right:20px;
}
.specialties img{
	height:100px;
}
#badges{
	text-align:center;
	padding-top:20px;
}

/*Blockquote Design*/
blockquote {
	background: url(https://orthonorcal.com/wp-content/themes/orthonorcal/images/quote4bq.png) top left no-repeat;
	background-size: 1em;
	margin: 0.5em 1.5em;
	padding: 1% 2%;
	border-left:none;
}
blockquote p{
	font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif;
	font-size: 1.9em;
	font-style: italic;
	line-height: 1.3125em;
	text-indent: 1.0em;
}
.rv_button.opened{
    display:none;
}
/*----------Hidden Section Effect-----------*/


/*locations mouse-over effects*/
  /* FADE IN TEXT */
        .gq_overlay_text .custom_overlay {
            position: relative;}
        .gq_overlay_text .image {
            display: block;
            width: 100%;
            height: auto;}
        .gq_overlay_text .overlay {
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            height: 100%;
            width: 100%;
            opacity: 0;
            transition: .5s ease;
            background-color: rgba(12,113,195,0.4);}
        .gq_overlay_text .custom_overlay:hover .overlay {
            opacity: 1;}
        .gq_overlay_text .text {
            color: #fff;
            font-size: 18px;
            line-height: 22px;
            text-align: center;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            -ms-transform: translate(-50%, -50%);
            width: 100%;}
             
    /* FADE IN BUTTON */
        .gq_overlay_button .custom_overlay {
            position: relative;}
        .gq_overlay_button .image {
            display: block;
            width: 100%;
            height: auto;}
        .gq_overlay_button .overlay {
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            height: 100%;
            width: 100%;
            opacity: 0;
            transition: .5s ease;
            background-color: rgba(2, 2, 2, 0.7);}
        .gq_overlay_button .custom_overlay:hover .overlay {
            opacity: 1;}
        .gq_overlay_button .text {
            color: #fff;
            background: #3e8adb;
            padding: 10px 5px;
            font-size: 15px;
            line-height: 16px;
            text-align: center;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            -ms-transform: translate(-50%, -50%);}
 
     /* SLIDE IN TOP */
        .gq_overlay_slide_top .custom_overlay {
            position: relative;}
        .gq_overlay_slide_top .image {
            display: block;
            width: 100%;
            height: auto;}
        .gq_overlay_slide_top .overlay {
            position: absolute;
            bottom: 100%;
            left: 0;
            right: 0;
            background-color: rgba(12,113,195,0.45);
            overflow: hidden;
            width: 100%;
            height:0;
            transition: .5s ease;}
        .gq_overlay_slide_top .custom_overlay:hover .overlay {
            bottom: 0;
            height: 100%;}
        .gq_overlay_slide_top .text {
            color: #fff;
            font-size: 22px;
            line-height: 22px;
            text-align: center;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            -ms-transform: translate(-50%, -50%);}
 
     /* SLIDE IN BOTTOM */
        .gq_overlay_slide_bottom .custom_overlay {
            position: relative;}
        .gq_overlay_slide_bottom .image {
            display: block;
            width: 100%;
            height: auto;}
        .gq_overlay_slide_bottom .overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: #008CBA;
            overflow: hidden;
            width: 100%;
            height: 0;
            transition: .5s ease;}
        .gq_overlay_slide_bottom .custom_overlay:hover .overlay {
            height: 100%;}
        .gq_overlay_slide_bottom .text {
            color: #fff;
            font-size: 22px;
            line-height: 22px;
            text-align: center;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            -ms-transform: translate(-50%, -50%);}
 
     /* SLIDE IN RIGHT */
        .gq_overlay_slide_right .custom_overlay {
            position: relative;}
        .gq_overlay_slide_right .image {
            display: block;
            width: 100%;
            height: auto;}
        .gq_overlay_slide_right .overlay {
            position: absolute;
            bottom: 0;
            left: 100%;
            right: 0;
            background-color: #008CBA;
            overflow: hidden;
            width: 0;
            height: 100%;
            transition: .5s ease;}
        .gq_overlay_slide_right .custom_overlay:hover .overlay {
            width: 100%;
            left: 0;}
        .gq_overlay_slide_right .text {
            white-space: nowrap; 
            color: white;
            font-size: 20px;
            position: absolute;
            overflow: hidden;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            -ms-transform: translate(-50%, -50%);}
 
    /* SLIDE IN LEFT */
        .gq_overlay_slide_left .custom_overlay {
            position: relative;}
        .gq_overlay_slide_left .image {
            display: block;
            width: 100%;
            height: auto;}
        .gq_overlay_slide_left .overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: #008CBA;
            overflow: hidden;
            width: 0;
            height: 100%;
            transition: .5s ease;}
        .gq_overlay_slide_left .custom_overlay:hover .overlay {
            width: 100%;}
        .gq_overlay_slide_left .text {
            white-space: nowrap; 
            color: white;
            font-size: 20px;
            position: absolute;
            overflow: hidden;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            -ms-transform: translate(-50%, -50%);}
/*----------badge swap style-----------*/
.specialties img:last-child{
    display:none;
}
.specialties:hover img:first-child{
    display:none;
}
.specialties:hover img:last-child{
    display:inline-block;
}
.specialties a img:last-child{
    display:none;
}
.specialties:hover a img:first-child{
    display:none;
}
.specialties:hover a img:last-child{
    display:inline-block;
}
.sports-med {
    background: url("https://orthonorcal.com/wp-content/uploads/2017/10/sports-med.png");
    min-height:100px;
}
.fancytitle{
    overflow: hidden;
    text-align:center;
    color: #00763e;
}
.fancytitle > span{
    position:relative;
    display:inline-block;
}
.fancytitle > span:before, .fancytitle > span:after{
    content: '';
    position:absolute;
    top:50%;
    border-bottom: 2px solid #00763e;
    width:592px;
    margin: 0 20px;
}
.fancytitle > span:before{
    right:100%;
}
.fancytitle > span:after{
    left:100%;
}
.et_color_scheme_green #top-header{
    background-color:#00763E!important;
}
a {
    color:#00763e !important;
}
#locations-scheduling-header:hover{
    background-color:#A2D4C1;
    color:#ffffff;
}
#top-header a{
    color:#ffffff !important;
}

/* overhanging logo */
 
#top-header {z-index: 99999;}
 
#home #logo {
    max-height: 200% !important;
    margin-top: 0px;
    z-index: 100000;
}
 
@media only screen and (max-width : 980px) {
    #logo { margin-top: 0px}}
.entry-title{
    margin-top:50px !important;
}
.home #logo2 {
display: inline !important;
max-height: 150%;
}
.page #logo2 {
display: none;
}
.home #logo {
display: none;
}
.portal-btn {
	border-radius: 0px
}

.portal-btn a {
	color: #fff!important
}

li.portal-btn {
	background-color: #40AAF3;
	font-weight: 700;
	text-transform: uppercase;
	text-align: center;
	padding: 12px 13px 10px 10px!important;
	border-radius: 3px;
	-moz-transition: all 0.5s;
	-webkit-transition: all 0.5s;
	transition: all 0.5s
}

li.portal-btn:hover {
	background-color: #00703c
}

.et-fixed-header #top-menu .portal-btn a {
	color: #fff!important
}

.portal-btn li.current-menu-ancestor>a,
.get-started li.current-menu-item>a {
	color: #fff!important
}

@media only screen and (min-width :981px) {
	li.portal-btn {
		height: 40px
	}
}
.verify-r{
    position: fixed;
    bottom: 0;
    right: 0;
	z-index: 9999;
}
#footer-widgets .last{
	display:none;
}