/*
Theme Name: M Spa
Author: Aesthetic Brand Marketing, Inc.
Author URI: https://www.aestheticbrandmarketing.com/
Description: Custom Avada child theme created for M Spa
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* MAIN COLORS */

.gold     { color: #ceb088; }
.n-blue   { color: #172f59; }
.pink     { color: #ba44dc; }
.lblack   { color: #333333; }
.grey     { color: #bfbfbf; }
.turquise { color: #65beb5; }
.white    { color: #ffffff; }

.lato32 {
  font-size: 32px;
  color: #172f59;
}

.mbottom0 { margin-bottom: 0 !important; }

body main a       { color: #ceb088; }
body main a:hover { color: #172f59; }

a.read_more_link,  a.read_more_link:hover {
  color: #ceb088;
  font-size: 14px;
  font-weight: bold;
  position: relative;
}

a.read_more_link::after {
  content: ' ';
  width: 0;
  height: 0;
  position: absolute;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid #ceb088;
  left: 89px;
  top: 4px;
}

.anchor {
    top: -180px;
    position: relative;
}

/* HEADER STYLING */

.custom-main-header {
    font-family: "Corbert - Regular Wide";
}

.custom-main-header .fusion-row:first-child {
    width: 100%;
    display: flex;
    justify-content: center;
}

.custom-main-header .fusion-logo,
.custom-header-left,
.custom-header-right {
    -ms-flex: 0 1 33.333%;
    flex: 0 1 calc(100%/3);
}

.custom-main-header .fusion-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-header-left,
.custom-header-right {
    display: flex;
    align-items: center;
}

.header__about-link {
    font-size: 22px;
    font-weight: 700;
    transition: font-size .15s;
}

.custom-header-right__col {
    width: 100%;
}

.header__phone {
    font-size: 22px;
    font-weight: 700;
}

.header__phone a {
    display: inline-block;
}

.header__address {
    margin: 0 0 0 15px;
    font-size: 18px;
    font-weight: 700;
    text-align: right;
    float: right;
    position: relative;
    transform: translateY(-25%);
    transition-property: color, font-size;
    transition-duration: .15s;
}

.custom-header-right .fusion-social-networks .fusion-social-networks-wrapper {
    margin: 0 -5px;
}

.custom-header-right .fusion-social-links-header {
    float: left;
}

.custom-header-right .fusion-social-networks {
    padding-bottom: 0 !important;
}

.custom-header-right .fusion-social-links-header .fusion-social-networks .fusion-social-network-icon {
    margin: 5px;
    padding: 10px;
    color: #172f59;
    border: 1px solid #172f59;
    border-radius: 50px;
}

.fusion-sticky-header-wrapper {
    transition: height .15s;
}

.fusion-secondary-main-menu {
    border: 0;
    background: url('images/plaid-pattern-v2.png') repeat center;
}

header.fusion-is-sticky .fusion-sticky-header-wrapper {
    height: auto !important;
}

header.fusion-is-sticky .fusion-logo {
    margin: 20px 0;
}

header.fusion-is-sticky .header__about-link,
header.fusion-is-sticky .header__address {
    font-size: 16px;
}

header.fusion-is-sticky .fusion-social-links-header {
  display: none;
}

@media only screen and (max-width: 1499px) {
    .header__about-link,
    .header__phone {
        font-size: 20px;
    }

    .header__address {
        font-size: 16px;
    }
}

@media only screen and (min-width: 1369px) {
    header.fusion-is-sticky .custom-header-right__col {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    header.fusion-is-sticky .header__address {
        float: none;
        transform: none;
    }
}

@media only screen and (max-width: 1368px) {
    .header__about-link {
        font-size: 18px;
    }

    .header__phone,
    .custom-header-right .fusion-social-networks {
        text-align: right;
    }

    .header__address {
        margin: 5px 0 0;
        font-size: 16px;
        float: none;
        transform: none;
    }

    .custom-header-right .fusion-social-links-header {
        margin-top: 5px;
        float: none;
    }

    .custom-header-right .fusion-social-links-header .fusion-social-networks .fusion-social-network-icon {
        padding: 8px;
        font-size: 16px;
    }

    header.fusion-is-sticky .header__about-link,
    header.fusion-is-sticky .header__address {
        font-size: 14px;
    }
}

@media only screen and (max-width: 960px) {
    .custom-main-header.fusion-header {
        padding: 0 15px;
    }

    .header__about-link,
    .header__address {
        font-size: 14px;
    }
}

@media only screen and (max-width: 800px) {
    .custom-main-header .fusion-row:first-child {
        justify-content: space-between;
    }

    .custom-header-left {
        display: none;
    }

    .custom-main-header .fusion-logo,
    .custom-header-right {
        flex-basis: auto;
    }

    .custom-header-right {
        margin-left: auto;
    }

    .fusion-mobile-menu-design-modern .custom-header-right .fusion-social-links-header {
        margin: 5px 0 0;
    }

    .custom-main-header .fusion-mobile-menu-icons {
        text-align: center;
        top: 5px;
    }

    .custom-main-header .fusion-mobile-menu-icons a {
        margin: 0;
        padding: 8px 10px;
        font-size: 30px;
        line-height: 1;
        border: 1px solid #efefef;
        float: none;
        display: inline-block;
    }

    header.fusion-is-sticky .header__address {
        display: none;
    }

    header.fusion-is-sticky .custom-main-header .fusion-mobile-menu-icons {
        margin-top: 0;
    }
}

@media only screen and (max-width: 575px) {
    .custom-main-header .fusion-row:first-child {
        flex-direction: column
    }

    .custom-header-right {
        margin-left: 0;
    }

    .header__phone,
    .header__address,
    .custom-header-right .fusion-social-networks {
        text-align: center;
    }

    .header__phone {
        margin-top: 20px;
    }
}

/* FOOTER STYLING */

.footer_company_details {
  background-color: #172f59;
  text-align: center;
  padding: 50px 0 10px 0;
  color: #FFF;
  font-size: 18px;
}

.footer_company_details a {
  color: #FFF;
  padding: 5px;
  font-size: 21px;
}

.footer_company_details a:hover, .fusion-footer-widget-area ul li a:hover {
  color: #ceb088 !important;
}

.footer_company_details a#faddress {
  font-size: 18px;
  padding: 0;
}

.footer_company_details .fusion-social-links-footer {
    width: 100%;
    text-align: center;
    display: block;
}

.footer_company_details .fusion-social-networks .fusion-social-networks-wrapper,
.footer_company_details .fusion-social-networks .fusion-social-network-icon {
    margin: 0;
}

.fusion-body .fusion-footer-copyright-center .fusion-social-links-footer {
  display: none;
}

.footer_company_details a.gold {
  font-family: 'Cormorant Infant', serif;
  font-size: 30px;
  padding: 5px;
  margin: 0px;
  margin-top: -8px;
  color: #ceb088 !important;
}

.fusion-footer-widget-area .widget_nav_menu {
  text-align: center;
}

.fusion-footer-widget-area .widget-title::after {
  position: absolute;
  content: ' ';
  display: block;
  width: 38px;
  height: 2px;
  background-color: #ceb088;
  top: 40px;
  left: 50%;
  margin-left: -19px;
}

.fusion-footer-widget-area .widget_nav_menu li {
  font-size: 14px;
  padding: 3px 10px;
  border-bottom: 0px;
}

.fusion-footer-widget-area .widget_nav_menu li a {
  color: #FFF;
}

.fusion-footer-widget-area .widget_nav_menu li a::before {
  content: '';
}


footer.fusion-footer-widget-area.fusion-widget-area > div > div > div:nth-child(1),
footer.fusion-footer-widget-area.fusion-widget-area > div > div > div:nth-child(3) {
  width: 25%;
}

footer.fusion-footer-widget-area.fusion-widget-area > div > div > div:nth-child(2) {
  width: 50%;
}

#wrapper .fusion-footer .fusion-widget-area .current-menu-item > a,
#wrapper .fusion-footer .fusion-widget-area .current_page_item > a {
    color: #fff;
}

.fusion-copyright-notice .abm-logo {
    vertical-align: middle;
}

@media only screen and (min-width: 600px) {

  /* SPLIT MIDDLE FOOTER MENU IN TWO COLUMNS */
  #menu-aesthetic-medicine li {
    display: inline-block;
    float: left;
    width: 50%;
  }

  #menu-aesthetic-medicine li:nth-child(odd) {
    float: left;
  }

  #menu-aesthetic-medicine li:nth-child(even) {
    float: right;
  }

}


.footer-bottom  {
  max-width: 1050px;
  margin: 20px auto;
}

#fbleft {
  width: 50%;
  float: left;
  text-align: left;
}

#fbright {
  width: 50%;
  float: left;
}

#fbright ul {
  list-style: none;
  float: right;
}

#fbright ul li {
  display: inline-block;
  padding-left: 20px;
}

#fbright ul li a:hover {
  color: #ceb088;
}

@media only screen and (max-width: 800px) {

  #fbleft, #fbright {
    width: 100%;
    text-align: center;
    float: none;
  }

  #fbright ul {
    float: none;
    padding-left: 0;
  }

  #fbright ul li {
    padding: 10px 5px;
  }

}


/* DEFAULT ELEMENTS STYLE */

/* Mobile menu carret */
.fusion-mobile-nav-item ul.sub-menu li a {
  background-color: #333;
}

.fusion-open-submenu:before {
    content: '\f0d7';
    font-family: fontawesome;
}

/* Other elements */
.fusion-button-text {
  font-size: 20px;
}

.sep-single {
  margin-bottom: 30px;
}

.review blockquote q {
  font-style: normal !important;
  font-weight: 300 !important;
  letter-spacing: normal !important;
  font-size: 120% !important;
}

.testimonial-pagination {
  margin-top: 0 !important;
}

/* HIDE DEFAULT BREADCRUMBS ON PAGE TITLE BAR BECAUSE WE SHOW CUSTOM ONE IN PAGE TEMPLATE */
.fusion-page-title-secondary {
  display: none;
}

.fusion-page-title-wrapper {
  justify-content: flex-end;
}

.custom-breadcrumbs {
  font-size: 14px;
  margin-bottom: 50px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ccc;
}

.custom-breadcrumbs a:hover { color: #172f59; }

.custom-breadcrumbs span.breadcrumb-leaf {
  color: #ceb088;
}

.layout-wide-mode .fusion-page-title-row {
  padding-left: 40% !important;
  padding-right: 15% !important;
}

.fusion-page-title-bar .fusion-page-title-row h1 {
  font-size: 50px !important;
}

.fusion-page-title-bar-right .fusion-page-title-secondary {
  display: none !important;
}

@media only screen and (max-width: 1024px) {
  .layout-wide-mode .fusion-page-title-row {
    padding-right: 5% !important;
  }
}

@media only screen and (max-width: 768px) {
  .fusion-page-title-bar .fusion-page-title-row h1 {
    font-size: 6vw !important;
  }
}

@media only screen and (max-width: 480px) {
  .fusion-page-title-bar {
    background-image: none !important;
  }

  .layout-wide-mode .fusion-page-title-row {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .fusion-page-title-bar-right .fusion-page-title-captions {
    text-align: center !important;
  }

  .fusion-page-title-bar .fusion-page-title-row h1 {
    font-size: 30px !important;
  }
}

/* Post(s) Navigation */

.fusion-row section .single-navigation a[rel="prev"] {
    margin-left: 1em;
    margin-right: 15px;
    float: left;
}

.fusion-row section .single-navigation a[rel="prev"]::before,
.fusion-row section .single-navigation a[rel="next"]::after {
    transform: translateY(-55%);
}


/* SIDEBAR STYLING */

body.has-sidebar aside.fusion-blogsidebar {
  margin-top: -67px;
}

body.has-sidebar aside.fusion-blogsidebar section {
  margin-bottom: 0px !important;
}

body.has-sidebar aside.fusion-blogsidebar h3 {
  color: #ceb088;
  margin-bottom: 20px;
  margin-top: 5px;
  padding-bottom: 0;
  font-size: 1.5em;
}

.sidebar p.white a:hover { color: #ceb088; }


/* HOMEPAGE STYLING */

.homepage_boxes_inside {
  color: #fff;
  text-align: center;
  overflow:hidden;
}

.homepage_boxes_inside.fusion-layout-column {
    display: flex;
}

.homepage_boxes_inside .fusion-text {
    padding: 80px 10px;
}

.homepage_boxes_inside .fusion-column-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -webkit-transition: all 1s ease;
  -o-transition: all 1s ease;
}

.homepage_boxes_inside .fusion-column-wrapper:hover {
  transform: scale(1.1);
  -moz-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -o-transform: scale(1.1);
  -ms-transform: scale(1.1);

}

.home .post-content .homepage_boxes_inside h3 {
  margin: 0;
  color: inherit;
  font-size: 36px;
  line-height: 1;
}

.homepage_boxes_inside p {
  margin: 0;
  padding: 15px 20px 0;
  font-size: 14px;
  text-transform: uppercase;
  line-height: 1;
}

.homepage_boxes_inside a, .homepage_boxes_inside a:hover  {
  display: block;
  color: #ceb088 !important;
  font-weight: bold;
}

.home_contact_box {
  margin-bottom: 0px !important;
  height: 100%;
}

.home_contact_box a:hover { color: #ceb088; }

@media only screen and (min-width: 1290px) {

  .home_contact_box {
    display: block;
    width: 387px !important;
    float: left;
  }

}

@media only screen and (min-width: 1369px) {
    .home-hero {
        padding: 150px 0 !important;
    }
}

@media only screen and (max-width: 1368px) {

  div#text_left_contact > div {
    padding-left: 30px !important;
  }
}

@media only screen and (max-width: 1180px) {
    #wrapper .post-content .home-hero h2 {
        margin-bottom: .5em;
        line-height: 1.25;
    }
}

@media only screen and (min-width: 1025px) and (max-width: 1368px) {
    .home-hero {
        padding: 5% 0 !important;
    }
}

@media only screen and (min-width: 1025px) {
    .home-hero .fusion-layout-column {
        width: calc(50% - ( ( 4% ) * 0.5 ) );
    }

    #wrapper .post-content .home-hero .fusion-column-wrapper {
        padding: 0 10% !important;
    }
}

@media only screen and (max-width: 1024px) {
    .home-hero .fusion-column-content { text-align: center; }
}

@media only screen and (min-width: 801px) and (max-width: 960px) {
    .home .post-content .homepage_boxes_inside h3 {
        font-size: 30px !important;
    }
}

@media only screen and (min-width: 769px) and (max-width: 1024px) {
    .home-hero {
        padding-top: 200px !important;
    }

    #wrapper .post-content .home-hero h2 {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
        color: #000;
        text-shadow: 0 0 15px #fff, 0 0 3px rgba(255,255,255,.35);
    }
}

@media only screen and (min-width: 801px) {
  .homepage-boxes .fusion-row {
    display: flex;
  }
}

@media only screen and (max-width: 800px) {

  div#text_left_contact > div {
    padding-left: 0px !important;
  }

}

@media only screen and (max-width: 768px) {
    .home-hero {
        background-image: none !important;
    }

    #wrapper .post-content .home-hero h2 {
        font-size: 32px;
    }
}

@media only screen and (max-width: 480px) {
    .home .post-content .homepage_boxes_inside h3 {
        font-size: 36px !important;
    }
}


/*--------------------------------------------------------------
 Contact Forms
 --------------------------------------------------------------*/

.wpforms-container[id*="wpforms-"] { margin-bottom: 50px; }

.wpforms-container ul { padding-left: 0; }

.wpforms-field-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.wpforms-form ::-webkit-input-placeholder { color: #747474; }
.wpforms-form :-moz-placeholder           { color: #747474; }
.wpforms-form ::-moz-placeholder          { color: #747474; }
.wpforms-form :-ms-input-placeholder      { color: #747474; }

.wpforms-container .wpforms-form .wpforms-field {
    width: 100%;
    padding: 0;
}

.wpforms-container .wpforms-form input[type="date"],
.wpforms-container .wpforms-form input[type="datetime"],
.wpforms-container .wpforms-form input[type="datetime-local"],
.wpforms-container .wpforms-form input[type="email"],
.wpforms-container .wpforms-form input[type="month"],
.wpforms-container .wpforms-form input[type="number"],
.wpforms-container .wpforms-form input[type="password"],
.wpforms-container .wpforms-form input[type="range"],
.wpforms-container .wpforms-form input[type="search"],
.wpforms-container .wpforms-form input[type="tel"],
.wpforms-container .wpforms-form input[type="text"],
.wpforms-container .wpforms-form input[type="time"],
.wpforms-container .wpforms-form input[type="url"],
.wpforms-container .wpforms-form input[type="week"],
.wpforms-container .wpforms-form select,
.wpforms-container .wpforms-form textarea {
    width: 100%;
    margin-bottom: 15px;
    font-size: 14px;
    color: #747474;
    border: 1px solid #d2d2d2;
}

.wpforms-container .wpforms-form input[type="date"],
.wpforms-container .wpforms-form input[type="datetime"],
.wpforms-container .wpforms-form input[type="datetime-local"],
.wpforms-container .wpforms-form input[type="email"],
.wpforms-container .wpforms-form input[type="month"],
.wpforms-container .wpforms-form input[type="number"],
.wpforms-container .wpforms-form input[type="password"],
.wpforms-container .wpforms-form input[type="range"],
.wpforms-container .wpforms-form input[type="search"],
.wpforms-container .wpforms-form input[type="tel"],
.wpforms-container .wpforms-form input[type="text"],
.wpforms-container .wpforms-form input[type="time"],
.wpforms-container .wpforms-form input[type="url"],
.wpforms-container .wpforms-form input[type="week"],
.wpforms-container .wpforms-form select {
    height: 46px;
}

.wpforms-container .wpforms-form input[type="date"],
.wpforms-container .wpforms-form input[type="datetime"],
.wpforms-container .wpforms-form input[type="datetime-local"],
.wpforms-container .wpforms-form input[type="email"],
.wpforms-container .wpforms-form input[type="month"],
.wpforms-container .wpforms-form input[type="number"],
.wpforms-container .wpforms-form input[type="password"],
.wpforms-container .wpforms-form input[type="range"],
.wpforms-container .wpforms-form input[type="search"],
.wpforms-container .wpforms-form input[type="tel"],
.wpforms-container .wpforms-form input[type="text"],
.wpforms-container .wpforms-form input[type="time"],
.wpforms-container .wpforms-form input[type="url"],
.wpforms-container .wpforms-form input[type="week"],
.wpforms-container .wpforms-form textarea {
    padding: 8px 15px;
}

.wpforms-container .wpforms-form select {
    padding: 8px 11px;
    background-image:
      linear-gradient(45deg, transparent 50%, #747474 50%),
      linear-gradient(135deg, #747474 50%, transparent 50%),
      linear-gradient(to right, #fff, #fff);
    background-position:
      calc(100% - 12px) calc(1em + 7px),
      calc(100% - 8px) calc(1em + 7px),
      100% 0;
    background-size:
      4px 5px,
      4px 5px,
      1.5em 3.5em;
    background-repeat: no-repeat;
    background-color:#fff;
    border-radius: 0;
    -webkit-appearance:none;
    -moz-appearance:none;
}

optgroup,
option {
    color: #000;
}

.wpforms-container option[value="group-start"] { display: none; }

.wpforms-container .wpforms-form select:hover       { cursor: pointer; }
.wpforms-container .wpforms-form select::-ms-expand { display: none; }
.wpforms-container .wpforms-form select[multiple]   { height: 116px; }

.wpforms-container .wpforms-form .wpforms-field-checkbox,
.wpforms-container .wpforms-form .wpforms-field-captcha,
.wpforms-container .wpforms-form .wpforms-submit-container {
    margin-bottom: 15px;
    text-align: center;
}

.wpforms-container input[type="checkbox"] {
    width: 15px;
    height: 15px;
    position: absolute;
}

.wpforms-container input[type="checkbox"]:not(old) { visibility: hidden; }

.wpforms-container input[type="checkbox"] + label {
    padding-left: 24px;
    line-height: 1;
    display: inline-block;
    position: relative;
}

.wpforms-container input[type="checkbox"] + label::after {
    content: '';
    width: 14px;
    height: 14px;
    background-color: #fff;
    border: 1px solid #d2d2d2;
    position: absolute;
    top: 0;
    left: 0px;
}

.wpforms-container input[type="checkbox"]:not(old):checked + label::after {
    content: '✓';
    color: #000;
    font-size: 14px;
    font-weight: 600;
    text-indent: 2px
}

.wpforms-container .wpforms-field-checkbox { margin: 10px 0 15px; }

.wpforms-container .wpforms-field-checkbox label { font-size: 15px; }

.wpforms-container .wpforms-field-captcha input[type="text"] {
    width: 50px;
    margin: 0;
    padding: 0;
    text-align: center;
    display: inline-block;
}

.wpforms-container .wpforms-form .wpforms-submit {
    padding: 13px 29px;
    font-size: 20px;
    font-family: "PT Sans", sans-serif;
    font-weight: 400;
    letter-spacing: 0px;
    line-height: 17px;
    text-transform: uppercase;
    color: #ceb088;
    border: 1px solid #ceb088;
    border-radius: 2px;
    background: transparent;
    cursor: pointer;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -ms-transition: all .2s;
    -o-transition: all .2s;
    -webkit-border-radius: 2px;
    transition: all .2s;
}

.wpforms-container .wpforms-form .wpforms-submit:hover {
    background: #ceb088;
    color: #fff;
    border-color: #fff;
}

.wpforms-container .wpforms-field input[type="date"].wpforms-error,
.wpforms-container .wpforms-field input[type="datetime"].wpforms-error,
.wpforms-container .wpforms-field input[type="datetime-local"].wpforms-error,
.wpforms-container .wpforms-field input[type="email"].wpforms-error,
.wpforms-container .wpforms-field input[type="month"].wpforms-error,
.wpforms-container .wpforms-field input[type="number"].wpforms-error,
.wpforms-container .wpforms-field input[type="password"].wpforms-error,
.wpforms-container .wpforms-field input[type="range"].wpforms-error,
.wpforms-container .wpforms-field input[type="search"].wpforms-error,
.wpforms-container .wpforms-field input[type="tel"].wpforms-error,
.wpforms-container .wpforms-field input[type="text"].wpforms-error,
.wpforms-container .wpforms-field input[type="time"].wpforms-error,
.wpforms-container .wpforms-field input[type="url"].wpforms-error,
.wpforms-container .wpforms-field input[type="week"].wpforms-error,
.wpforms-container .wpforms-field select.wpforms-error,
.wpforms-container .wpforms-field textarea.wpforms-error {
    border-color: red;
}

.wpforms-container .wpforms-field input[type="date"].wpforms-error:focus,
.wpforms-container .wpforms-field input[type="datetime"].wpforms-error:focus,
.wpforms-container .wpforms-field input[type="datetime-local"].wpforms-error:focus,
.wpforms-container .wpforms-field input[type="email"].wpforms-error:focus,
.wpforms-container .wpforms-field input[type="month"].wpforms-error:focus,
.wpforms-container .wpforms-field input[type="number"].wpforms-error:focus,
.wpforms-container .wpforms-field input[type="password"].wpforms-error:focus,
.wpforms-container .wpforms-field input[type="range"].wpforms-error:focus,
.wpforms-container .wpforms-field input[type="search"].wpforms-error:focus,
.wpforms-container .wpforms-field input[type="tel"].wpforms-error:focus,
.wpforms-container .wpforms-field input[type="text"].wpforms-error:focus,
.wpforms-container .wpforms-field input[type="time"].wpforms-error:focus,
.wpforms-container .wpforms-field input[type="url"].wpforms-error:focus,
.wpforms-container .wpforms-field input[type="week"].wpforms-error:focus,
.wpforms-container .wpforms-field select.wpforms-error:focus,
.wpforms-container .wpforms-field textarea.wpforms-error:focus {
    box-shadow: 0 0 5px red;
}

.wpforms-container .wpforms-field label.wpforms-error {
    padding: 4px 12px;
    color: red;
    font-weight: 700;
    white-space: nowrap;
    border-radius: 5px;
    border: 1px solid red;
    background-color: #fff;
    box-shadow: 0 0 8px rgba(0,0,0,.75);
    position: absolute;
    top: calc(100% - 10px);
    left: 50%;
    z-index: 1;
    transform: translateX(-50%);
}

.wpforms-container .wpforms-field-captcha label.wpforms-error {
    top: calc(100% + 5px);
}

.wpforms-container .wpforms-field label.wpforms-error::before,
.wpforms-container .wpforms-field label.wpforms-error::after {
    content: '';
    border-width: 6px;
    border-style: solid;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.wpforms-container .wpforms-field label.wpforms-error::before {
    border-color: transparent transparent red transparent;
    bottom: 100%;
}

.wpforms-container .wpforms-field label.wpforms-error::after {
    border-color: transparent transparent #fff transparent;
    bottom: calc(100% - 1px);
}


/* Homepage Form */
.home .post-content h3 {
    color: #ceb088;
    margin-bottom: 20px;
    margin-top: 5px;
    padding-bottom: 0;
    font-size: 1.5em;
}

.home .post-content .wpforms-container {
    margin-bottom: 0;
}

.home .post-content .wpforms-container,
.sidebar .wpforms-container {
    color: #fff;
}

.home .post-content .wpforms-container .wpforms-form .wpforms-submit,
.sidebar .wpforms-container .wpforms-form .wpforms-submit {
    width: 100%;
}

/* Modal Form */
.mfp-bg,
.mfp-wrap {
    z-index: 99999 !important;
}

@media screen and (min-width: 801px) {
    .page-template-tmp-contact .wpforms-container .wpforms-field.wpforms-field-name,
    .page-template-tmp-contact .wpforms-container .wpforms-field.wpforms-field-email,
    .page-template-tmp-contact .wpforms-container .wpforms-field.wpforms-field-phone,
    .page-template-tmp-contact .wpforms-container .wpforms-field.wpforms-field-select {
        width: calc((100% - 16px)/2);
    }
}


/*--------------------------------------------------------------
 Gallery Landing Page
 --------------------------------------------------------------*/

.abm-gallery .gallery-procedures,
.abm-gallery .gallery-procedures .children {
  list-style: none;
  padding: 0;
}

.abm-gallery .gallery-procedures figure {
  display: none;
}

.abm-gallery .gallery-procedures li a {
  border-top: 1px solid #D3D3D3;
  color: #000;
  display: block;
  padding: .75em 1.5em;
  position: relative;
  text-decoration: none;
}

.abm-gallery .gallery-procedures li a:hover, .abm-gallery .gallery-procedures li a:active {
  background-color: #ceb088;
  color: #fff;
  outline: 0;
}

.abm-gallery .gallery-procedures figure img {
  width: 100%;
}

.abm-gallery .gallery-procedures > li {
  border-top: 5px solid #172f59;
  width: 100%;
  margin-bottom: 1em;
}

.abm-gallery .gallery-procedures > li > a {
  color: #ceb088;
  font-size: 1.175rem;
  line-height: 1.35;
  margin: .5em 0;
  padding: .75em;
  pointer-events: none;
  text-transform: uppercase;
  border-top: none;
}

.abm-gallery .gallery-procedures .children li:first-child a {
  border-top: none;
}

/* Landing Page Media Queries */

/* Tablet */
@media screen and (min-width: 37.5em) {
  .abm-gallery .gallery-procedures {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 15px;
    list-style: none;
  }

  .abm-gallery .gallery-procedures > li {
    width: calc(50% - 7.5px);
    display: flex;
    flex-direction: column;
  }

  .abm-gallery .gallery-procedures figure {
    display: block;
    margin: 0;
    order: -1;
  }
}

/* Desktop */
@media screen and (min-width: 75em) {
  .abm-gallery .gallery-procedures > li {
    width: calc(100%/3 - 10px);
  }
}

/**************************************************
 Gallery Archive Page
 **************************************************/

.gallery-nav { margin: 0 0 2em; }

.gallery-nav .fusion-button i { margin-right: 5px; }

.gallery__archives--content {
    margin: 0 -1%;
    display: box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
}

.gallery__archives--content .gallery__case {
    border-top: 5px solid #172f59;
    text-align: center;
    margin: 0 1% 2em;
    width: 23%;
}

.gallery__archives--content .patient__info {
  padding: 1em 0;
}

.gallery__archives--content .patient__info--inner img {
  width: 100%;
}

.gallery__archives--content a.read-more {
  background-color: #333;
  border: 1px solid #ceb088;
  border-radius: 3px;
  clear: both;
  color: #ceb088;
  display: inline-block;
  padding-bottom: .75em;
  padding-top: .75em;
  width: 100%;
}

.gallery__archives--content a.read-more:hover {
  background-color: #ceb088;
  border: 1px solid #fff;
  color: #fff;
}

/* Gallery Archive Page Media Queries */

@media screen and (max-width: 74.95em) {
  .gallery__archives--content .gallery__case {
    width: calc(100%/3 - 2%);
  }
}

@media screen and (max-width: 59.95em) {
  .gallery-nav { text-align: center; }

  .gallery__archives--content .gallery__case {
    width: 48%;
  }
}

@media screen and (max-width: 37.5em) {
  .gallery__archives--content .gallery__case {
    width: 100%;
  }
}

/**************************************************
 Gallery Single Case Page
 **************************************************/

.single-gallery_post_type .gallery-nav { text-align: center; }

.single-gallery_post_type .gallery-nav a {
    margin: 0 1%;
    padding: 9px 20px;
    font-size: 12px;
    text-transform: uppercase;
    border: 1px solid #ceb088;
    display: inline-block;
}

.single-gallery_post_type .gallery-nav a::before {
    margin-right: 5px;
    color: #ceb088;
    font-family: 'Font Awesome 5 Free', sans-serif;
    font-weight: 900;
}

.single-gallery_post_type .gallery-nav a:first-child::before {
    content: '\f0d9';
}

.single-gallery_post_type .gallery-nav a + a::before { content: '\f015'; }

.single-gallery_post_type .gallery-nav a:hover {
    color: #fff;
    background-color: #ceb088;
}

.single-gallery_post_type .gallery-nav a:hover::before {
    color: #fff;
}

.single-gallery_post_type .gallery-nav + .post-navigation { display: none; }

.single-gallery_post_type .fusion-row section .single-navigation a[rel="prev"] {
    margin-left: 15px;
    margin-right: 1em;
    float: right;
}

.single-gallery_post_type .fusion-row section .single-navigation a[rel="next"] {
    margin-left: 1em;
    margin-right: 15px;
    float: left;
}

.single-gallery_post_type .fusion-row section .single-navigation a[rel="prev"]::before,
.single-gallery_post_type .fusion-row section .single-navigation a[rel="next"]::after {
    display: none;
}

.single-gallery_post_type .fusion-row section .single-navigation a[rel="prev"]::after,
.single-gallery_post_type .fusion-row section .single-navigation a[rel="next"]::before {
    position: absolute;
    top: 50%;
    transform: translateY(-55%);
    font-family: awb-icons;
    color: #333;
}

.single-gallery_post_type .fusion-row section .single-navigation a[rel="prev"]::after {
    right: -1em;
    content: '\f105';
}

.single-gallery_post_type .fusion-row section .single-navigation a[rel="next"]::before {
    left: -1em;
    content: '\f104';
}

.gallery_post_type-template-default .fusion-row article {
  text-align: center;
}

.gallery__slideshow {
    margin-bottom: 2em;
    padding-bottom: 2em;
    border-bottom: 1px solid #d9d9d9;
}

.gallery__slideshow .gallery__cycle {
  margin: 2em auto;
  padding-bottom: 10px;
  position: relative;
}

.gallery__slideshow .slide__open {
  width: 100%;
  overflow: hidden;
  display: flex !important;
  justify-content: center;
  align-items: center;
}

.gallery__slideshow .img__wrapper--before,
.gallery__slideshow .img__wrapper--after {
  padding: .5em;
  background-color: #fff;
  border: 1px solid #d9d9d9;
}

.gallery__slideshow .img__wrapper--before:not(:only-child) {
  border-right: 0;
  padding-right: .25em;
}

.gallery__slideshow .img__wrapper--after:not(:only-child) {
  border-left: 0;
  padding-left: .25em;
}

.gallery__slideshow .slideshow__nav {
    display: none;
}

.gallery__slideshow .gallery__carousel {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.gallery__slideshow .gallery__carousel--item {
    max-width: calc(50% - 5px);
    padding: .25em;
    border: 1px solid #d9d9d9;
    background-color: #fff;
    cursor: pointer;
    overflow: hidden;
}

.gallery__slideshow .gallery__carousel--item img:not(:only-of-type) {
    max-width: 49%;
    float: left;
}

.gallery__slideshow .gallery__carousel--item img:not(:only-of-type):first-of-type {
    margin-right: 2%;
}

.single-gallery_post_type .post-navigation {
    width: 100%;
    margin-bottom: 1em;
    text-align: center;
    display: inline-block;
}

.single-gallery_post_type .post-navigation a {
    background-color: #333;
    border: 1px solid #ceb088;
    border-radius: 3px;
    clear: both;
    color: #ceb088;
    display: inline-block;
    padding: .4em;
}

.single-gallery_post_type .post-navigation a:hover {
    background-color: #ceb088;
    border: 1px solid #fff;
    color: #fff;
}

.single-gallery_post_type .nav-previous a::before,
.single-gallery_post_type .nav-next a::after {
    color: #ceb088;
    display: inline-block;
    font-family: 'Font Awesome 5 Free', sans-serif;
    font-weight: 900;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

.single-gallery_post_type .nav-previous a:hover::before,
.single-gallery_post_type .nav-next a:hover::after {
    color: #fff;
}

.single-gallery_post_type .nav-previous a::before {
    content: '\f0d9';
    margin-right: 5px;
}

.single-gallery_post_type .nav-next a::after {
    content: '\f0da';
    margin-left: 5px;
}

.single-gallery_post_type .post-navigation .nav-previous {
  float: left;
}

.single-gallery_post_type .post-navigation .nav-next {
  float: right;
}

.patient__stats {
    margin-bottom: 1em;
}

.patient__stats dl {
    margin: 0 auto;
}

.patient__stats dt,
.patient__stats dd {
    margin-bottom: 0;
    line-height: 1.75em;
    display: inline-block;
}

.patient__stats dt {
    font-size: 16px;
    font-weight: bold;
}

.patient__stats dd { text-indent: .5em; }

/* Single Case Media Queries */

@media screen and (max-width: 37.5em) {
    .single-gallery_post_type .gallery-nav a {
        margin-bottom: 1em;
    }

    .single-gallery_post_type .post-navigation .nav-previous a,
    .single-gallery_post_type .post-navigation .nav-next a {
        padding: .4em .75em;
    }

    .single-gallery_post_type .post-navigation .nav-previous span,
    .single-gallery_post_type .post-navigation .nav-next span {
        display: none;
    }

    .single-gallery_post_type .nav-previous a::before,
    .single-gallery_post_type .nav-next a::after {
        margin: 0;
    }
}

/*--------------------------------------------------------------
## Slide Menu
--------------------------------------------------------------*/

.sidenav { 
    height: 100%; 
    width: 250px; 
    position: fixed;
    display:block;
    z-index: 999999; 
    top: 0;
    left: 0; 
    bottom: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: all 200ms ease-in;
    padding-top: 50px; 
    visibility: hidden;
    opacity: 0.9; 
    margin-left: -250px;
}

.sidenav::-webkit-scrollbar { display: none; }

.sidenav .slidenav-closebtn { font-size: 25px; color: #ceb088; position: absolute; top: 0; right: 25px; font-size: 36px; z-index: 999999999; 
                    -webkit-tap-highlight-color: transparent; -webkit-box-shadow: none; box-shadow: none; 
}

.sidenav-expanded { margin-left: 0; visibility: visible; opacity: 1; transform: translateX(0);transition: all 0.25s ease-in;
    }

body { width: 100%; -webkit-transition: margin-left 0.5s; transition: margin-left 0.5s; }

.slide-right { overflow-x: hidden; margin-left: 250px; }

#slide-menu { margin: 0; padding: 0; color: #fff; text-transform: uppercase; }
#slide-menu ul { margin: 0; padding: 0; background-color: rgba(255, 255, 255, 0.1); height: 0; opacity: 0; -webkit-transition: all 0.5s; transition: all 0.5s; }
#slide-menu ul.sub-menu-expanded { height: auto; opacity: 1; }
#slide-menu a { color: #fff; display: block; padding: 10px 0; border-bottom: 1px solid #ceb088; padding-left: 10px; padding-right: 50px; font-size: 14px; background-color: rgba(255, 255, 255, 0); -webkit-transition: color 0.5s; transition: color 0.5s; }
#slide-menu a:hover { background-color: rgba(255, 255, 255, 0.1); }
#slide-menu li { position: relative; }
#slide-menu li i { position: absolute; display: block; padding: 10px; top: 5px; right: 10px; cursor: pointer; -webkit-transition: all 0.5;-o-transition: all 0.5;transition: all 0.5; }
#slide-menu li i.dropdown-active {transform: rotate(180deg); -webkit-transform: rotate(180deg); }

/* Fusion Accordions */

div.fusion-accordian .fusion-panel { border-color: #ceb088; }

.fusion-accordian .panel-heading .panel-title a { color: #172f59; }