/* GALLERY */
.post-type-archive-rmg-category section.homesocial {
  padding-top: 30px;
}

* {
  box-sizing: border-box;
}

.catGridWrap {
  display: -webkit-box;
  display: flex;
  flex-basis: 0;
  -webkit-box-flex: 1;
          flex-grow: 1;
  -webkit-box-pack: justify;
          justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 70px;
}

@media (min-width: 1600px) {
  .catGridWrap {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (max-width: 1199px) {
  .catGridWrap {
    max-width: 992px;
  }
}

@media screen and (max-width: 640px) {
  .catGridWrap {
    -webkit-box-pack: center;
            justify-content: center;
  }
}

.galleryCatWrap {
  border: 2px solid #f4f4f4;
  box-shadow: 0 2px 30px #e3e3e3;
  margin-bottom: 60px;
  position: relative;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
  word-wrap: break-word;
  background-color: #fff;
  -webkit-transition: all .3s ease-in;
  transition: all .3s ease-in;
  padding: 30px;
  width: calc(100% / 3 - 15px);
}

@media screen and (max-width: 980px) {
  .galleryCatWrap {
    width: calc(100% / 2 - 15px);
  }
}

@media screen and (max-width: 640px) {
  .galleryCatWrap {
    width: 100%;
    max-width: 340px;
    padding: 1rem;
  }
}

.galleryCatWrap:hover {
  border: 2px solid #20dedc;
}

.galleryCatWrap ul {
  margin-left: 15px;
  padding-left: 0;
}

.galleryCatWrap ul li {
  list-style-type: none;
  margin-left: 0;
}

.galleryCatWrap ul li a {
  color: #4c4c4c;
  font-size: 16px;
  text-decoration: none;
  padding-bottom: 20px;
  display: block;
  letter-spacing: 0.64px;
}

.galleryCatWrap ul li a:hover {
  text-decoration: underline;
}

.catImageBg {
  width: 100%;
  height: 210px;
  display: block;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50%;
  margin-bottom: 40px;
}

.catImageBg:after {
  content: "";
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  position: absolute;
  z-index: 0;
}

.catImageBg h2 {
  z-index: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  color: #fff;
  font-size: 40px;
  text-transform: uppercase;
  font-weight: 300;
  text-align: center;
  display: block;
}

@media screen and (max-width: 767px) {
  .catImageBg h2 {
    font-size: 30px;
  }
}

.smallCatWrap {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-pack: start;
          justify-content: flex-start;
}

@media screen and (max-width: 980px) {
  .smallCatWrap {
    -webkit-box-pack: start;
            justify-content: flex-start;
  }
}

.smallCatCase {
  width: calc(100% / 3 - 30px);
  border: 2px solid #f4f4f4;
  box-shadow: 0 2px 30px #e3e3e3;
  margin-bottom: 60px;
  position: relative;
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  word-wrap: break-word;
  background-color: #fff;
  -webkit-transition: all .3s ease-in;
  transition: all .3s ease-in;
  padding: 25px 20px;
  -webkit-box-pack: center;
          justify-content: center;
  margin-right: 15px;
  margin-left: 15px;
  -webkit-box-align: center;
          align-items: center;
}

@media screen and (max-width: 980px) {
  .smallCatCase {
    width: calc(100% / 2 - 30px);
    margin-right: 15px;
    margin-left: 15px;
  }
}

@media screen and (max-width: 980px) {
  .smallCatCase {
    width: 100%;
    margin-bottom: 30px;
    padding: 15px;
  }
}

@media screen and (max-width: 767px) {
  .smallCatCase {
    margin-right: 0px;
    margin-left: 0px;
    padding: 7.5px;
  }
}

.smallCatCase:hover {
  border: 2px solid #20dedc;
}

.smallCatCase h2 {
  color: #168ebe;
  display: block;
  text-transform: uppercase;
  text-align: center;
  font-size: 25px;
  width: 100%;
  text-align: center;
}

.smallCatCase h2 a {
  color: #168ebe;
  text-decoration: none;
  text-align: center;
}

.smallCatCase .smallCatImgWrap {
  display: -webkit-box;
  display: flex;
  flex-wrap: nowrap;
  -webkit-box-pack: center;
          justify-content: center;
  /* fake watermark */
}

.smallCatCase .smallCatImgWrap div {
  width: calc(50% - 10px);
}

.smallCatCase .smallCatImgWrap div:first-child {
  margin-right: 5px;
}

.smallCatCase .smallCatImgWrap div:last-child {
  margin-left: 5px;
}

.smallCatCase .smallCatImgWrap div p {
  display: block;
  text-align: center;
  font-size: 16px;
  padding-top: 15px;
}

.smallCatCase .smallCatImgWrap a {
  display: block;
  position: relative;
}

.smallCatCase .smallCatImgWrap a::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0);
  z-index: 0;
}

.smallCatCase .smallCatImgWrap a:hover::after {
  background-color: rgba(0, 0, 0, 0.5);
}

.smallCatCase .smallCatImgWrap a:hover:before {
  content: url(images/expand-icon.png);
  width: 20%;
  height: 20%;
  position: absolute;
  z-index: 3;
  top: 40%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

@media screen and (max-width: 767px) {
  .smallCatCase .smallCatImgWrap a:hover:before {
    top: 30%;
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
  }
}

.smallCatCase .smallCatImgWrap span {
  position: absolute;
  bottom: 8px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  line-height: 1;
  z-index: 1;
  display: block;
}

.smallCatCase .smallCatImgWrap span::after {
  content: "DeepBlueMedSpa.com";
  display: block;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  font-family: futura-pt, Verdana, sans-serif;
}

.smallCatCase .smallCatImgWrap img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
}

.smallCatCase .bnandA {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: center;
          justify-content: center;
  width: 100%;
}

.smallGalleryWrap {
  margin-top: 60px;
}

@media screen and (max-width: 767px) {
  .smallGalleryWrap {
    margin-top: 15px;
  }
}

.gallerySingleWrapCnt {
  position: relative;
}

@media screen and (max-width: 767px) {
  .gallerySingleWrapCnt {
    max-width: 100%;
  }
}

.galleryNav {
  width: 100%;
  display: block;
  position: absolute;
  top: calc(50% - 60px);
  left: 0;
  right: 0;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  z-index: 1;
}

@media screen and (min-width: 768px) and (max-width: 980px) {
  .galleryNav {
    top: 40%;
  }
}

@media screen and (max-width: 767px) {
  .galleryNav {
    top: 35px;
  }
}

.galleryNav a {
  text-decoration: none;
  font-size: 55px;
  color: #168ebe;
  font-weight: 300;
  cursor: pointer;
  display: block;
}

.galleryNav a.case-prev {
  float: left;
  display: block;
}

.galleryNav a.case-next {
  float: right;
  display: block;
}

@media screen and (max-width: 767px) {
  .galleryNav a {
    font-size: 45px;
  }
  .galleryNav a.case-prev {
    padding-left: 30px;
  }
  .galleryNav a.case-next {
    padding-right: 30px;
  }
}

.singleCaseWrap {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: center;
          justify-content: center;
  flex-wrap: wrap;
  margin-top: 60px;
}

@media screen and (max-width: 767px) {
  .singleCaseWrap {
    margin-top: 30px;
  }
}

.singleCaseWrap .singleCase {
  border: 2px solid #f4f4f4;
  box-shadow: 0 2px 30px #e3e3e3;
  padding: 90px 60px;
}

@media screen and (min-width: 768px) and (max-width: 980px) {
  .singleCaseWrap .singleCase {
    padding: 60px;
  }
}

@media screen and (max-width: 767px) {
  .singleCaseWrap .singleCase {
    padding: 15px;
  }
}

.singleCaseWrap .singleCase h2 {
  text-align: center;
}

.singleCaseWrap .caseImgWrap {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-pack: center;
          justify-content: center;
}

.singleCaseWrap .caseImgWrap a {
  display: block;
  margin: 7.5px;
  width: calc(100% / 2 - 15px);
  position: relative;
  max-width: 400px;
  /* hover */
  /* fake watermark */
}

.singleCaseWrap .caseImgWrap a::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0);
  z-index: 0;
}

.singleCaseWrap .caseImgWrap a:hover {
  cursor: pointer;
}

.singleCaseWrap .caseImgWrap a:hover::after {
  background-color: rgba(0, 0, 0, 0.5);
}

.singleCaseWrap .caseImgWrap a:hover:before {
  content: url(images/expand-icon.png);
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

@media screen and (max-width: 767px) {
  .singleCaseWrap .caseImgWrap a:hover:before {
    top: 30%;
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
  }
}

.singleCaseWrap .caseImgWrap a span {
  position: absolute;
  bottom: 8px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  line-height: 1;
  z-index: 1;
  display: block;
}

.singleCaseWrap .caseImgWrap a span::after {
  content: "DeepBlueMedSpa.com";
  display: block;
  color: rgba(255, 255, 255, 0.4);
  font-size: 30px;
  font-family: futura-pt, Verdana, sans-serif;
  font-weight: 300;
}

@media screen and (min-width: 768px) and (max-width: 980px) {
  .singleCaseWrap .caseImgWrap a span::after {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 767px) {
  .singleCaseWrap .caseImgWrap a span::after {
    font-size: .9rem;
  }
}

@media screen and (max-width: 374px) {
  .singleCaseWrap .caseImgWrap a span::after {
    font-size: .7rem;
  }
}

.singleCaseWrap .caseImgWrap a img {
  width: 100%;
  height: auto;
  display: block;
}

.singleCaseWrap .bnaAfterCase {
  display: -webkit-box;
  display: flex;
  width: 100%;
}

.singleCaseWrap .bnaAfterCase p {
  width: calc(100% / 2 - 15px);
  text-align: center;
  margin-top: 40px;
}

.singleCaseWrap .singleCaseContent {
  margin-top: 90px;
  font-size: 18px;
  padding-bottom: 30px;
  padding-left: 90px;
}

@media screen and (max-width: 767px) {
  .singleCaseWrap .singleCaseContent {
    padding-left: 15px;
  }
}

.singleCaseWrap .singleCaseContent a {
  color: #19428e;
}

.singleCaseWrap .singleCaseContent p {
  font-size: 18px;
}

@media screen and (max-width: 767px) {
  .singleCaseWrap .singleCaseContent p {
    font-size: 16px;
  }
}

/* FANCYBOX */
body.single.single-rmg-case .fancybox-button svg path {
  fill: white;
}

body.single.single-rmg-case .fancybox-content {
  background-color: #fff;
}

body.single.single-rmg-case .fancybox-content img {
  padding: 2px;
}

.galIconWrap {
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
  -webkit-box-flex: 0;
          flex: 0 1 100%;
  -webkit-box-pack: center;
          justify-content: center;
  padding-top: 60px;
  padding-bottom: 60px;
  align-items: center;
}

@media screen and (max-width: 767px) {
  .galIconWrap {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

.galIconWrap span {
  text-align: center;
  display: block;
}

.galIconWrap span.galIconTitle {
  font-size: 20px;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.galIconWrap span.galIconText {
  font-size: 16px;
  margin-bottom: 40px;
}

.galIconWrap img {
  align-self: center;
  margin-bottom: 30px;
}

.galIconWrap .button {
  padding-top: 10px;
  padding-bottom: 10px;
  box-shadow: 1px 3px 10px 2px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  font-size: 16px;
  max-width: 90%;
  min-width: 0;
  margin-bottom: 0;
  display: block;
  min-width: 60%;
}

@media screen and (max-width: 1199px) {
  .galIconWrap .button {
    font-size: 14px;
    max-width: 330px;
  }
}

@media screen and (max-width: 980px) {
  .galIconWrap .button {
    max-width: 330px;
    margin: 0 auto;
  }
}

#shareCaseUpdate {
  display: none;
  background-color: #fff;
  border-radius: 10px;
}

.shareCaseWrap {
  display: flex;
  max-width: 768px;
  margin: 0 auto;
  justify-content: space-evenly;
  padding: 4em;
}
.shareCaseWrap p {
  text-align: center;
  font-size: 20px;
}
.shareCaseWrap > div:nth-child(2),
.shareCaseWrap > div:nth-child(1) {
 width: 50%;
}
.shareCaseWrap .aform {
  max-width: 100%;
  margin: 0 1em;
}
.shareCaseWrap .aform label {
  font-size: 18px;
}
.shareCaseWrap .aform textarea {
  height: 50px;
  width: 100%;
}
.shareCaseWrap .aform .type-text {
  border-bottom: 1px solid #19428e;
}

.shareCaseWrap .field-wrap {
  margin-bottom: 1em;
}
.shareCaseWrap label {
  font-size: 20px;
  display: block;
  width: 100%;
  margin-bottom: 5px;
  color: #4c4c4c;
}
.shareCaseWrap input[type="text"], .shareCaseWrap input[type="email"] {
  height: 35px;
  text-indent: 3px;
  color: #4c4c4c;
  border: 1px solid black;
  width: 100%;
  display: block;
}
.shareCaseWrap .button.blue {
  font-size: 14px;
  min-width: 100px;
  box-shadow: 0px 2px 9px 1px rgba(0, 0, 0, 0.3);
}
#shareCaseUpdate .fancybox-button svg path {
  fill: #168ebe;
}


@media screen and (max-width: 767px) {
  .shareCaseWrap {
  flex-wrap: wrap;
  padding: 15px;
}
.shareCaseWrap > div:nth-child(2),
.shareCaseWrap > div:nth-child(1) {
 width: 100%;
 margin-bottom: 1em;
}
#shareCaseUpdate {
 display: inline-block;
 padding: 15px;
 margin-bottom: 6px;
}

}

#ShareCase {
  display: none;
  border-radius: 20px;
}

#ShareCase .shareWrap {
  max-width: 768px;
  border-radius: 10px;
}

#ShareCase .fancybox-button svg path {
  fill: #168ebe;
}

#ShareCase p {
  font-size: 16px;
  margin: 0;
}

#ShareCase fieldset {
  border: none;
  padding: 0;
}

#ShareCase input[type="text"],
#ShareCase input[type="email"] {
  border: none;
  border-bottom: 1px solid black;
  width: 100%;
  font-size: 16px;
  background-color: transparent;
  text-indent: 3px;
}

#ShareCase input[type="text"]:focus,
#ShareCase input[type="email"]:focus {
  outline: none;
}

#ShareCase .shareField {
  width: 50%;
}

#ShareCase .shareField:first-of-type {
  padding-right: 40px;
}

#ShareCase .shareField:last-of-type {
  padding-left: 40px;
}

#ShareCase .shareField:last-of-type .field-wrap {
  margin-bottom: 40px;
}

#ShareCase .shareForm {
  display: -webkit-box;
  display: flex;
  padding: 40px;
}

#ShareCase .shareForm .button {
  padding: 10px 20px;
  font-size: 16px;
  min-width: 225px;
  box-shadow: 0px 3px 11px 1px rgba(0, 0, 0, 0.3);
}

#ShareCase input[type="text"]::-webkit-input-placeholder {
  color: #4c4c4c;
  opacity: 1;
}

#ShareCase input[type="text"]:-moz-placeholder {
  color: #4c4c4c;
  opacity: 1;
}

#ShareCase input[type="text"]::-moz-placeholder {
  color: #4c4c4c;
  opacity: 1;
}

#ShareCase input[type="text"]:-ms-input-placeholder {
  color: #4c4c4c;
  opacity: 1;
}

#ShareCase input[type="email"]::-webkit-input-placeholder {
  color: #4c4c4c;
  opacity: 1;
}

#ShareCase input[type="email"]:-moz-placeholder {
  color: #4c4c4c;
  opacity: 1;
}

#ShareCase input[type="email"]::-moz-placeholder {
  color: #4c4c4c;
  opacity: 1;
}

#ShareCase input[type="email"]:-ms-input-placeholder {
  color: #4c4c4c;
  opacity: 1;
}

#ShareCase .shareTitle {
  font-size: 35px;
  font-weight: 300;
  margin-bottom: 25px;
}

#ShareCase .dearFieldset {
  margin-bottom: 25px;
}

#ShareCase .dearFieldset > div {
  display: -webkit-box;
  display: flex;
}

#ShareCase .dearFieldset div {
  width: 100%;
}

#ShareCase .noteFieldSet div {
  width: 100%;
}

#ShareCase .noteFieldSet div p {
  -webkit-box-flex: 0;
          flex: 0 1 40%;
          margin-top: 15px;
}

#ShareCase .noteFieldSet {
  margin-bottom: 25px;
}

#ShareCase .noteFieldSet > div {
  display: -webkit-box;
  display: flex;
  flex-direction: column;
}

#ShareCase #insertImage img {
  width: 100%;
  height: auto;
  margin-bottom: 30px;
}

#ShareCase .type-text.field-31.field-wrap p {
  margin-bottom: 15px;
}
/*# sourceMappingURL=gallery.css.map */