.abm-gallery .main_content .col-md-9 {
    width: 100%;
}

/*==============================
Landing Page
==============================*/
ul.gallery-procedures {
  list-style-type: none;
  padding: 0;
  margin: 0;
  margin-bottom: 1em
}

ul.gallery-procedures>li {
  border-top: 7px solid #443d31;
  margin-bottom: 1em;
  width: 100%;
  float: left;
  padding-left: 1.0416588541%;
  padding-right: 1.0416588541%
}

ul.gallery-procedures li {
    list-style-type: none
}

ul.gallery-procedures li:before {
  display:none;
}

ul.gallery-procedures>li figure {
  text-align: center
}

ul.gallery-procedures li figure {
  display: none;
}
ul.gallery-procedures>li ul {
  padding: 0;
  margin: 0
}

ul.gallery-procedures .children li {
  padding: 0 15px 5px;
}

ul.gallery-procedures>li>a {
  text-transform: uppercase;
  display: block;
  color: #443d31;
  text-decoration: none;
  margin: 16px 0;
  margin: 1rem 0;
  padding-top: 15px;
  padding-top: .9375rem;
  padding-bottom: 15px;
  padding-bottom: .9375rem;
  font-size: 30px;
  font-size: 1.875rem;
  pointer-events: none;
}

ul.gallery-procedures>li ul a {
  display: block;
  text-indent: 10px;
  text-decoration: none;
  font-weight: normal;
  padding-top: 10px;
  padding-top: .625rem;
  padding-bottom: 10px;
  padding-bottom: .625rem;
  font-size: 18px;
  font-size: 1.125rem
}

ul.gallery-procedures>li ul li:last-child a {
  border: none
}

ul.gallery-procedures .children li a::before {
  content: '';
  padding-right: .4em;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent #000;
  display: inline-block;
  position: relative;
  top: -2px;
}

ul.gallery-procedures>li ul a:hover {
  background: #e08026;
  color: #fff
}

/* media queries (landing Page) */

@media screen and (min-width: 640px) {
    ul.gallery-procedures>li figure {
        display: block;
        margin: 0;
        margin: 16px 0;
        margin: 1rem 0;
        width: 47%;
        float: right;
        padding-left: 1.0416588541%;
        padding-right: 1.0416588541%
    }
    ul.gallery-procedures>li ul a {
        max-width: 320px
    }
}

/*==============================
Archive Page
==============================*/

.gallery-nav {
  line-height: 2;
  display: block;
  clear: both;
  max-width: 360px;
}

.gallery-nav a,
.abm-gallery .post-navigation a {
  background-color: #363636;
  border: 0;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 16px;
  text-decoration: none;
  line-height: normal;
  padding: .5em 1em;
  text-align: center;
  text-transform: none;
  -webkit-transition-property: color,background,border;
  -moz-transition-property: color,background,border;
  transition-property: color,background,border;
  -webkit-transition-duration: 0.15s;
  -moz-transition-duration: 0.15s;
  transition-duration: 0.15s;
}

.gallery-nav a {
  margin: 5px 0;
  font-weight: 300;
}

.gallery-nav a:hover,
.abm-gallery .post-navigation a:hover {
  background-color: #e38a3b;
  color: #fff;
}

.tax-gallery_procedures .gallery-nav {
    margin-bottom: 20px;
}

.tax-gallery_procedures .gallery_post_type {
  background-color: #f4f5f5;
  border-top: 7px solid #e38a3b;
  margin-bottom: 16px;
  margin-bottom: 1rem;
  overflow: hidden;
  padding: 1.25em 1em 1.5em;
  width: 100%;
  -webkit-transition: all 0.15s ease-in-out;
  -moz-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
}

.tax-gallery_procedures .gallery_post_type .entry-title {
  font-size: 26px;
  font-size: 1.625rem;
  margin: 8px 0 24px;
  margin: .5rem 0 1.5rem;
  text-align: center;
}

.tax-gallery_procedures .gallery_post_type .patient__info {
  overflow: hidden;
}

.tax-gallery_procedures .gallery_post_type .patient__info--inner img {
  max-width: 49%;
  overflow: hidden;
  width: 100%;
}

.tax-gallery_procedures .gallery_post_type .patient__info--inner img:nth-child(1) {
    margin: 0 1% 0 0;
}

.tax-gallery_procedures .gallery_post_type .patient__info--inner img:nth-child(2) {
    margin: 0 0 0 1%;
}

.tax-gallery_procedures .gallery_post_type .patient__description {
  margin-top: 10px;
  position: relative;
  min-height: 185px;
}

.tax-gallery_procedures .gallery_post_type .patient__description a.read-more {
  background-color: #e38a3b;
  border: 0;
  clear: both;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 16px;
  font-size: 1rem;
  margin-top: 2em;
  padding-top: .75em;
  padding-bottom: .75em;
  padding: .5em 1em;
  position: relative;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
  -webkit-transition-property: color,background,border;
  -moz-transition-property: color,background,border;
  transition-property: color,background,border;
  -webkit-transition-duration: 0.15s;
  -moz-transition-duration: 0.15s;
  transition-duration: 0.15s;
}

/* media queries (Archive Page) */

@media (min-width: 48em) {
  .tax-gallery_procedures .gallery_post_type {
    width: 49%;
    float: left;
  }

  .tax-gallery_procedures .gallery_post_type:nth-of-type(2n+1) {
    margin-right: 1%;
  }

  .tax-gallery_procedures .gallery_post_type:nth-of-type(2n+2) {
    margin-left: 1%;
  }

  .tax-gallery_procedures .gallery_post_type:nth-of-type(2n+3) {
    clear: both;
  }

  .tax-gallery_procedures .gallery_post_type .patient__description a.read-more {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
  }
}


/*==============================
Single Case Page
==============================*/

/* Pagination */

.single-gallery_post_type .post-navigation:first-of-type {
    display: none;
}

.single-gallery_post_type .nav-previous a::before,
.single-gallery_post_type .nav-next a::after {
    display: inline-block;
    font-family: 'FontAwesome';
    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::before {
    content: '\f053';
    margin-right: 5px;
}

.single-gallery_post_type .nav-next a::after {
    content: '\f054';
    margin-left: 5px;
}

@media screen and (max-width: 600px) {
    .single-gallery_post_type .nav-previous a::before,
    .single-gallery_post_type .nav-next a::after {
        margin: 0;
    }
}

/* Slideshow */

.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 .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 {
    max-height: 100px;
}

.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%;
}

.gallery__slideshow .slideshow__nav {
    width: 100%;
    opacity: 1;
    position: absolute;
    transition: opacity .35s;
    clear: both;
    z-index: 101;
}

@media screen and (min-width: 1025px) {
    .gallery__slideshow .slideshow__nav {
        top: 50%;
        transform: translateY(-50%);
    }
}

.gallery__slideshow .slideshow__nav a i {
    color: #000;
    font-size: 48px;
}

@media screen and (max-width: 1024px) {
    .gallery__slideshow .slideshow__nav a i {
        font-size: 24px;
    }
}

.gallery__slideshow .slideshow__nav a span {
  display: none;
}

.gallery__slideshow .slideshow__nav .cycle-prev {
    float: left;
}

.gallery__slideshow .slideshow__nav .cycle-next {
    float: right;
}

.gallery__slideshow .slideshow__nav a {
    color: #666;
    padding: 8px;
    transition: opacity .35s linear;
}

@media screen and (min-width: 1025px) {
    .gallery__slideshow .slideshow__nav a {
        opacity: .2;
    }
}

.gallery__slideshow .slideshow__nav a:hover {
    opacity: 1;
}