/*
Theme Name: WP Rocket Theme
Theme URI: http://www.primeview.com
Github Theme URI: https://github.com/primeviewdev/wp-rocket-framework
Author: PrimeView
Description: Theme built for speed.
Version: v1.31
*/

/**
 * Bootstrap to Wordpress Tweaks
 */

/* .pace-done > :not(.pace) {
  opacity: 1!important;
  visibility:visible!important;
  transition: opacity .8s ease;
} */

body.pace-done .hfeed {
    opacity: unset !important;
}

.loading {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999999999999999 !important;
    background: #eaf4ff;
    opacity: 0.99;
}
.loading img {
    width: 100px;
    height: 100px;
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 50%;
    top: 50%;
    margin: -20px;
}

.pace-running > :not(.pace) {
  opacity: 0;
}
nav.navbar.navbar-expand-lg.navbar-light.bg-light {
    background: #fff;
	padding: 0;

    /* box-shadow: 0 1px 3px rgba(0,0,0,.1); */
}
div#sidebar ul li{
	list-style-type:none;
}
ul.dropdown-menu li.active.open .dropdown-menu {
    top: 0px;
    left: 100%;
}
.nav .open>a, .nav .open>a:focus, .nav .open>a:hover {
    background-color: #fff;
    color: #000;
}
.dropdown-menu>.active>a, .dropdown-menu>.active>a:focus, .dropdown-menu>.active>a:hover {
    color: #000;
    text-decoration: none;
    background-color: #fff;
    outline: 0;
}
div.wpcf7-validation-errors,div.wpcf7-spam-blocked {
    color: #721c24;
    background-color: #f8d7da;
    border: 2px solid #f5c6cb;
    margin: 0px;
    padding: 10px;
}
div.wpcf7-validation-success {
    color: #155724;
    background-color: #d4edda;
    border: 2px solid #c3e6cb;
    margin: 0px;
    padding: 10px;
}
header.innerpage-header {
    background-color: #f9f9f9;
    margin-bottom: 30px;
}
/**
 * Pagination
 */
 a.page-numbers,span.page-numbers{
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #337ab7;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
	margin-top: 40px;
	margin-bottom: 40px;
}
span.page-numbers.current {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #337ab7;
    border-color: #337ab7;
}
aside.widget ul {
    list-style: none;
    padding: 0px;
}
h3.widget-title {
    font-size: 1.2rem;
}
aside.widget ul li a {
    color: #323232;
}
div#secondary .search-form {
    margin-bottom: 20px;
}
/**
 * Archives
 */
.index-lists{
    padding: 15px;
}
.index-lists h2 {
    font-size: 1.3rem;
}
span.date-posted {
    display: inline-block;
    margin-bottom: 7px;
    font-style: italic;
    color: grey;
    font-size: 12px;
}

#scroll-to-top {
    background: #1e73be;
    color: #fff;
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 28px;
    padding: 10px 20px;
    border-radius: 50px;
    display: none;
}

#scroll-to-top:hover {
    cursor: pointer;
}

/**
 * Your customization Starts Here
 **/

/* Default */
body {
    color: #4b4b4b;
    font-family: 'Montserrat', sans-serif;
}

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
    line-height: normal;
    margin-bottom: 25px;
}
h1, h2,
h3, h4,
h5, h6 {
    font-weight: 700;
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: #4e327a;
    word-break: break-word;
}

aside .widget-title {
    display: block;
}

.container {
    max-width: 1395px;
}

.alliance-dermatology-accordion .card {
    background-color: #f5f5f5;
    border-color: #6325c8;
    margin-bottom: 5px;
}
.alliance-dermatology-accordion .card .card-header {
    background: none;
    border: none;
    padding: 0;
}
.alliance-dermatology-accordion .card .card-header .btn {
    width: 100%;
    background-color: #e6d6ff;
    color: #6325c8;
    font-weight: 700;
    text-align: left;
    padding: 15px 20px;
    white-space: normal;
}
.alliance-dermatology-accordion .card .card-header .btn:hover,
.alliance-dermatology-accordion .card .card-header .btn:focus {
    text-decoration: none;
}

.border-soltitude {
    border-color: #e5ecf1 !important;
}

.text-blue-diamond {
    color: #4e327a;
}
.text-dim-gray {
    color: #666;
}
.text-gray {
    color: #797979;
}
.text-purple-heart {
    color: #6325C8;
}

.fontfamily-rubik {
    font-family: 'Rubik', sans-serif;
}

.fontsize-5 {
    font-size: 5rem;
}

.font-weight-600 {
    font-weight: 600;
}

.btn {
    white-space: normal;
}

.btn-pumpkin {
    color: #fff;
    background-color: #fe7021;
    border-color: #fe7021;
}
.btn-pumpkin:hover {
    color: #fff;
    background-color: #fe8d4d;
    border-color: #fe8d4d;
}
.btn-pumpkin:focus {
    box-shadow: 0 0 0 0.2rem rgba(254, 112, 33, 0.5);
}
.btn-pumpkin:active {
    background-color: #fe8d4d;
    border-color: #fe8d4d;
}

.btn-purple-heart {
    color: #fff;
    background-color: #6325c8;
    border-color: #6325c8;
}
.btn-purple-heart:hover {
    color: #fff;
    background-color: #4f1ea0;
    border-color: #4f1ea0;
}
.btn-purple-heart:focus {
    box-shadow: 0 0 0 0.2rem rgba(99, 37, 200, 0.5);
}
.btn-purple-heart:active {
    background-color: #4f1ea0;
    border-color: #4f1ea0;
}

.btn-oval {
    border-radius: 50px;
}

.social_media li {
    display: inline-block;
    margin-right: 30px;
}
.social_media li:last-child {
    margin-right: 0;
}

.site_info li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 30px;
}
.site_info li:before {
    display: block;
    position: absolute;
    left: 0;
    font-family: fontAwesome;
}

.site_info .email_address:before {
    content:'\f003';
}
.site_info .contact_number:before {
    content:'\f095';
}
.site_info .address:before {
    content:'\f041';
}

.anchor-link {
    display: block;
    position: relative;
    top: -115px;
    visibility: hidden;
}

/* Contact Form 7 | Default */
.wpcf7-form .wpcf7-text,
.wpcf7-form .wpcf7-textarea {
    width: 100%;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    line-height: 30px;
    margin-bottom: 10px;
    padding: 5px;
    outline: none;
}
.wpcf7-form .wpcf7-submit:hover {
    cursor: pointer;
}

.g-recaptcha {
    transform: scale(1);
    -webkit-transform: scale(1);
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
}

/* Header */
.top_bar, .site-header {
    position: fixed;
    width: 100%;
    z-index: 99;
}

.top_bar {
    background-color: #6325C8;
    color: #fff;
}
.top_bar a {
    color: #fff;
}
.top_bar .care-credit {
    margin-right: 100px;
}
.top_bar .ema_dermatology_portal {
    background-color: #523681;
}

.site-header {
    top: 34px;
    border-bottom: 1px solid #707070;
    padding-bottom: 1px;
}

/* Menu */
#nav-menu {
    padding: 0;
}

#mega-menu-primary .mega-menu-item .mega-sub-menu {
    background: transparent !important;
    padding: 0 !important;
}
#mega-menu-primary .mega-menu-item .mega-sub-menu .mega_menu_content {
	background-color: #dacbf2;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center right;
    border-radius: 0 0 30px 30px;
    padding: 120px 70px 185px;
}
#mega-menu-primary .mega-menu-item .mega-sub-menu .mega_menu_content ul li {
    margin-bottom: 5px;
}
#mega-menu-primary .mega-menu-item .mega-sub-menu .mega_menu_content .mega_menu_btn {
    min-width: 385px;
    background-color: #fff;
    border-radius: 50px;
    text-align: left;
    padding: 10px 20px;
}
#mega-menu-primary .mega-menu-item .mega-sub-menu .mega_menu_content .mega_menu_btn:hover {
    color: #fff;
    background-color: #fe8d4d;
    border-color: #fe8d4d;
}
#mega-menu-primary .mega-menu-item .mega-sub-menu .mega_menu_content .mega_menu_btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(254, 112, 33, 0.5);
}
#mega-menu-primary .mega-menu-item .mega-sub-menu .mega_menu_content .mega_menu_btn:active {
    background-color: #fe8d4d;
    border-color: #fe8d4d;
}

#mega-menu-primary .mega-menu-item .mega-sub-menu .mega_menu_content.our_providers {
    background-image: url(/wp-content/uploads/our-providers-mega-menu-background-image-original.png);
}
#mega-menu-primary .mega-menu-item .mega-sub-menu .mega_menu_content.services {
    background-image: url(/wp-content/uploads/services-mega-menu-background-image-original.png);
}
#mega-menu-primary .mega-menu-item .mega-sub-menu .mega_menu_content.contact_us {
    background-image: url(/wp-content/uploads/contact-us-mega-menu-background.png);
}

/* Home */
.homepage {
    padding-top: 158px;
}

.homepage .layer_1 {
    background-image: url(/wp-content/uploads/home-layer-1-background-image-original.jpg);
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: top right;
    padding: 260px 5px 210px;
}
.homepage .layer_1 .btn i {
    margin-right: 10px;
}

.homepage .layer_2 {
    background: #4e327a;
    background: -moz-linear-gradient(top, #4e327a 0%, #2d74e8 100%);
    background: -webkit-linear-gradient(top, #4e327a 0%,#2d74e8 100%);
    background: linear-gradient(to bottom, #4e327a 0%,#2d74e8 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4e327a', endColorstr='#2d74e8',GradientType=0 );
}
.homepage .layer_2 .layer_2-1 .home-card {
    position: relative;
    top: 0;
    -webkit-transition: all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transition: all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.homepage .layer_2 .layer_2-1 .home-card:hover {
    top: -50px;
}
.homepage .layer_2 .layer_2-1 .home-card img {
    border-radius: 20px 20px 0 0;
}
.homepage .layer_2 .layer_2-1 .home-card .home-card-content {
    background-color: #d3d0e6;
    border-radius: 0 0 20px 20px;
}
.homepage .layer_2 .layer_2-1 .home-card .home-card-content .description {
    min-height: 165px;
}
.homepage .layer_2 .layer_2-2 {
    background-image: url(/wp-content/uploads/your-skin-care-experts-background-image-original.jpg);
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: top left;
}
.homepage .layer_2 .layer_2-2 img {
    border-radius: 20px;
}
.homepage .layer_2 .layer_2-2 .btn-transparent {
    border: 2px solid #fff;
    color: #fff;
}

.homepage .layer_3 .services_box {
    position: relative;
    height: 300px;
    background-image: url(//via.placeholder.com/500);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}
.homepage .layer_3 .services_box::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5)
}
.homepage .layer_3 .services_box a {
    color: #fff;
}
.homepage .layer_3 .services_box a:hover {
    text-decoration: none;
}
.homepage .layer_3 .services_box .service {
    position: relative;
    height: 100%;
    z-index: 9;
}
.homepage .layer_3 .services_box .service .h4 {
    position: relative;
    top: 130px;
    text-transform: uppercase;
    -webkit-transition: all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transition: all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.homepage .layer_3 .services_box:hover .service .h4 {
    top: 20px;
    
    /* top: 70px; */
}
.homepage .layer_3 .services_box .service .description {
    position: absolute;
    bottom: 50px;
    margin: 0 auto;
    opacity: 0;
    -webkit-transition: all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transition: all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
}
.homepage .layer_3 .services_box:hover .service .description {
    opacity: 1;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.homepage .layer_3 .services_box.acne {
    background-image: url(/wp-content/uploads/acne-cwt-background-image-original.jpg);
}
.homepage .layer_3 .services_box.dermatitis {
    background-image: url(/wp-content/uploads/skin-cancer-screening-cwt-background-image-original.jpg);
}
.homepage .layer_3 .services_box.psoriasis {
    background-image: url(/wp-content/uploads/psoriasis-xtrac-laser-cwt-background-image-original.jpg);
}
.homepage .layer_3 .services_box.skin_cancer {
    background-image: url(/wp-content/uploads/botox-and-fillers-cwt-background-image-original.jpg);
}
.homepage .layer_3 .services_box.sun_damage {
    background-image: url(/wp-content/uploads/removing-unwanted-skin-growths-cwt-background-image-original.jpg);
}
.homepage .layer_3 .services_box.acne_2 {
    background-image: url(/wp-content/uploads/allergy-patch-testing-cwth-background-image.jpg);
}
.homepage .layer_3 .services_box.mohs_surgery {
    background-image: url(/wp-content/uploads/vampire-facial-rejuvination-cwt-background-image-original.jpg);
}
.homepage .layer_3 .services_box.clinical_studies {
    background-image: url(/wp-content/uploads/hair-restoration-with-prp-cwt-background-image-original.jpg);
}

.homepage .layer_3 .services_box.han-purple-overlay::before {
    background-color: rgba(86, 14, 234, 0.5);
}
.homepage .layer_3 .services_box.tangaroa-overlay::before {
    background-color: rgba(1, 37, 71, 0.5);
}

.homepage .layer_4 .container {
    max-width: 1015px;
}

/* Internal */
.innerpage {
    padding-top: 158px;
}

.innerpage .innerpage-header {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 60px 5px 60px;
}
.innerpage .innerpage-header .innerpage-title {
    margin-bottom: 0;
}

.text-center .innerpage-title {
  color: #000 ; 
}

.innerpage .main_content {
    margin-bottom: 50px;
}

.innerpage .learn_more_about_your_skin_frame {
    width: 100%;
}

.innerpage .innerpage-quick-links li {
    margin-bottom: 5px;
}
.innerpage .innerpage-quick-links li .btn {
    width: 100%;
    text-align: left;
    white-space: normal;
}

/* Search */
.search-result {
    padding-top: 183px;
}

/* Sidebar */
#secondary {
    padding: 20px;
}

#secondary #quick_contact {
    background-color: #f5f5f5;
    border: 1px solid #e6d6ff;
    border-radius: 20px;
    padding: 40px 35px 20px;
}
#secondary #quick_contact .field-container .wpcf7-text {
    border-radius: 50px;
    padding: 5px 15px;
}
#secondary #quick_contact .field-container .wpcf7-textarea {
    border-radius: 20px;
    padding: 5px 15px;
}
#secondary #quick_contact .submit-container .btn {
    width: 100%;
    padding: 15px 15px;
}

#secondary .menu-services-container #menu-services {
    border: 2px solid #e6d6ff;
}
#secondary .menu-services-container #menu-services .menu-item {
    border-top: 2px solid #e6d6ff;
}
#secondary .menu-services-container #menu-services .menu-item:first-child {
    border-top: none;
}
#secondary .menu-services-container #menu-services .menu-item a {
    display: block;
    color: #6325C8;
    text-align: center;
    padding: 20px;
    transition: 0.2s ease-in-out;
}
#secondary .menu-services-container #menu-services .menu-item a:hover,
#secondary .menu-services-container #menu-services .menu-item.current-menu-item a {
    background-color: #fe7021;
    color: #fff;
    text-decoration: none;
}

#secondary aside {
    margin-bottom: 40px;
}

/* Footer */
footer,
footer .site_main_footer,
footer .site_copyright {
    background-color: #e2edff !important;
}

footer .site_main_footer a {
    color: #797979;
}
footer .site_main_footer .social_media li {
    margin-right: 20px;
}
footer .site_main_footer .social_media li:last-child {
    margin-right: 0;
}
footer .site_main_footer .social_media li a {
    display: inline-block;
    width: 48px;
    height: 48px;
    border: 2px solid #4e327a;
    border-radius: 50%;
    color: #4e327a;
    text-align: center;
    line-height: 48px;
}
footer .site_main_footer .after_office_location {
    border-top: 1px solid #4e327a;
    border-bottom: 1px solid #4e327a;
}

footer .site_main_footer #custom_html-6 .col-lg-9 .col-lg-8 {
    text-align: center;
}

.back_to_top {
    position: fixed;
    right: 20px;
    bottom: 170px;
    width: 60px;
    height: 60px;
    background-color: #6325c8;
    border-radius: 50px;
    color: #fff;
    text-align: center;
    line-height: 60px;
    opacity: 0.7;
    transition: opacity .25s linear;
    z-index: 9;
}
.back_to_top:hover {
    color: #fff;
    opacity: 1;
}

/* Contact Us | Form */
.contact_us_form .wpcf7-text,
.contact_us_form .wpcf7-textarea {
    margin: 0;
}

iframe {
    max-width: 100%;
}

/* Home */
.homepage .testimonials .testimonials_carousel .testimonial-box {
    background-color: #e6d6ff;
    border: 1px solid #6e6e6e;
    text-align: center;
    padding: 50px 55px;
}
.homepage .testimonials .testimonials_carousel .testimonial-box .author-thumbnail {
    max-width: 76px;
    margin: 0 auto 25px;
}
.homepage .testimonials .testimonials_carousel .testimonial-box .rating {
    color: #fe7021;
}
.homepage .testimonials .testimonials_carousel .testimonial-box .testimonial {
    min-height: 290px;
}
.homepage .testimonials .testimonials_carousel .owl-dots {
    display: none;
}
.homepage .testimonials .testimonials_carousel .owl-nav button {
    position: absolute;
    top: 35%;
    color: #4e327a;
    font-size: 50px;
}
.homepage .testimonials .testimonials_carousel .owl-nav button:hover {
    background: none;
}
.homepage .testimonials .testimonials_carousel .owl-nav button.owl-next {
    right: -30px;
}
.homepage .testimonials .testimonials_carousel .owl-nav button.owl-prev {
    left: -30px;
}

.homepage .testimonials .container {
    border-top: 1px solid #6325C8;
    border-bottom: 1px solid #6325C8;
    padding: 30px;
}

/* Footer */
footer .site_main_footer .after_office_location .payson_dermatology_logo {
    display: block;
    max-width: 270px;
}
footer .site_main_footer .after_office_location .payson_dermatology_map {
    width: 100%;
    height: 320px;
}

/* Patient Payment | Form */
.payjunction_form {
    background-color: #f5f5f5;
    border: 1px solid #e6d6ff;
    border-radius: 20px;
    padding: 40px 35px 20px;
}
.payjunction_form input {
    width: 100%;
    border: 1px solid #eaeaea;
    border-radius: 50px;
    line-height: 30px;
    margin-bottom: 10px;
    padding: 5px 15px;
    outline: none;
}

@media screen and (max-width: 480px) {
    .innerpage > .innerpage-header > h1.innerpage-title {
        font-size: 1.8rem;
    }
    .innerpage .innerpage-header {
        padding: 75px 5px 80px!important;
    }
}