﻿* {
  margin: 0;
  padding: 0;
  border: 0;
}

.initially-hidden {
  display: none;
}

a.underline {
  text-decoration: underline;
}

.clear {
  clear: both;
  height: 0;
}

.f-pull-left {
  float: left;
}

.f-pull-right {
  float: right;
}

.mg-l-12-pt {
  margin-left: -12pt;
}

.mg-t12-pt {
  margin-top: 12pt;
}

.text-center {
  text-align: center;
}

.center-block {
  display: block;
  margin-right: auto;
  margin-left: auto;
}

.fun-button,
.dynamic-form .ui-button.ui-widget {
  border: solid #d7d7d7 1px;
  background-color: #f0f0f0;
  border-radius: 5px;
  font: normal 14px/14px "Merriweather", serif;
  padding: 8px 35px;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.dynamic-form-in-progress {
  content: " ";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: black;
  z-index: 99999999;
  opacity: 0.3;
  background-image: url("../Images/media-loading.gif");
  background-repeat: no-repeat;
  background-position: center center;
}

.fun-button.btn-small {
  padding: 8px 26px;
}

input.fun-button,
button.fun-button {
  color: #616161;
  cursor: pointer;
  position: relative;
}

a.fun-button {
  margin-top: 10px;
  display: inline-block;
  text-decoration: none;
}

a.fun-button:hover {
  text-decoration: none;
}

.sent-flowers > .fun-button {
  color: #8b8b8b;
}

.separator {
  height: 2px;
  background-image: url("../images/separator-line.png");
}

/* Slide Show */

.slide-preview {
  position: relative;
  margin-bottom: 10px;
  overflow: hidden;
  background-color: #fff;
}

.slideshow-modern .slide-preview {
  margin-bottom: 0;
}

.slide-preview .slide-image {
  position: absolute;
  top: 0;
  z-index: 1;
}

.slideshow-modern .slide-preview .slide-image img {
  max-height: none;
  max-width: none;
}

.slide-preview .slide-effect {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
  border: 1px solid #d3d3d3;
  background-size: 100% 100%;
  box-sizing: border-box;
}

.slide-preview .slide-effect.effect-1 {
  background-image: url("../../../images/slideEffects/effect1_960x300.png");
}

.slide-preview .slide-effect.effect-2 {
  background-image: url("../../../images/slideEffects/effect2_960x300.png");
}

.slide-preview .slide-effect.effect-3 {
  background-image: url("../../../images/slideEffects/effect3_960x300.png");
}

.slide-preview .slide-effect.effect-4 {
  background-image: url("../../../images/slideEffects/effect4_960x300.png");
}

.slide-preview .slide-text-wrapper {
  position: absolute;
  left: 42%;
  color: #616161;
  font: normal 24px Lato, sans-serif;
  top: 0;
  z-index: 3;
  width: 53%;
  height: 260px;
  line-height: 260px;
  overflow: hidden;
}

.slide-preview .slide-text-wrapper .slide-text {
  font: 300 32px/32px Lato, sans-serif;
  display: inline-block;
  vertical-align: middle;
}

.slide-preview .slide-text-wrapper .slide-text .slide-subtext {
  font-size: 20px;
}

.slide-preview .slide-link {
  position: absolute;
  bottom: 10px;
  z-index: 3;
  color: #4c4c4c;
  right: 23px;
  text-decoration: none;
  font: bold 22px/30px Lato, sans-serif;
}

.hot-spot {
  position: absolute;
  z-index: 1;
}

a.hot-spot {
  /* slider hotspots fix for ie7-10 */
  background-image: url("../images/transparent.png");
}

/* SlideShow */

/*  --- Home page widgets ---  */

.obituariesColumn .serviceInfo .noServices span {
  display: inline-block;
  line-height: 16px;
  vertical-align: middle;
}

/* Not supported media formats dialog */

.icon-sadman {
  display: inline-block;
  height: 64px;
  width: 52px;
  background: url("../images/sadman.png") no-repeat;
}

.fn-modal {
  margin-left: 10px;
  margin-right: 10px;
}

.notsupported-header,
.message-declined-header {
  padding-top: 36px;
}

.notsupported-header .icon-sadman {
  text-align: center;
}

.notsupported-header,
.modal-info-raw {
  text-align: center;
}

.notsupported-header-text,
.message-declined-header-text {
  padding-top: 15px;
  font-size: 27px;
}

.modal-info-raw {
  margin-top: 15px;
}

.modal-info-items {
  text-align: center;
}

.modal-info-items span {
  color: #c0c0c0;
}

.modal-info-raw .modal-header {
  font-weight: bold;
  color: #656565;
}

.modal-info-raw .modal-sub-header {
  text-transform: uppercase;
}

.modal-separator {
  margin: auto;
  margin-top: 15px;
  margin-bottom: 15px;
  width: 300px;
  height: 1px;
  background-color: #d7d7d7;
}

.notsupported-modal .button-wrapper {
  text-align: center;
}

.notsupported-modal .button-wrapper input[type="button"],
.message-declined-modal .button-wrapper input[type="button"] {
  background-color: #4fb944;
  color: #fff;
  padding: 5px 25px;
  font-size: 20px;
  border-radius: 5px;
  cursor: pointer;
}

.mg-r10 {
  margin-right: 10px;
}

.message-declined-header-text {
  font: 300 25px Lato, sans-serif;
  margin-bottom: 30px;
}

.message-declined-header {
  text-align: center;
}

.message-declined-modal .button-wrapper {
  text-align: center;
}

.message-decline-modal .modal-separator {
  width: 430px;
}

.message-declined-modal .message-declined-text {
  text-align: center;
  font-family: Lato, sans-serif;
  font-weight: 400;
  margin-top: 20px;
  margin-bottom: 20px;
}

.message-declined-modal .button-wrapper input[type="button"] {
  border-radius: 0;
  font-family: Lato, sans-serif;
  font-size: 14px;
  padding: 12px 44px;
}

/* End supported media formats dialog */

.icon-message-declined {
  display: inline-block;
  height: 59px;
  width: 67px;
  background: url("../images/icon-message-declined.png") no-repeat;
}

/* For Modal */

.media-created {
  font: normal 14px/18px Lato, sans-serif;
}

.media-caption {
  font: normal 14px/18px Lato, sans-serif;
}

.media-created .created-by {
  color: #386b93;
  font: normal 18px/22px Lato, sans-serif;
}

.media-created .created-on {
  color: #386b93;
  font: normal 18px/22px Lato, sans-serif;
}

.media-created .posted-time {
  font: normal 14px/18px Lato, sans-serif;
  color: #b2b2b2;
}

.media-created .icon-container {
  margin-right: 10px;
}

.info-container .icon-container .avatar-text {
  display: none;
}

.info-container .icon-container.no-avatar .avatar-text {
  display: block;
  width: 32px;
  height: 32px;
  background-color: #386b93;
  font: normal 19px/32px Lato, sans-serif;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
}

.info-container .icon-container.no-avatar img {
  display: none;
}

.info-container .media-caption textarea {
  box-sizing: border-box;
  border: 1px solid #d7d7d7;
  padding: 10px;
  width: 100%;
  -moz-resize: vertical;
  resize: vertical;
}

.error-border {
  border: red 1px solid;
}

.fun-button.primary {
  background-color: #386b93;
  color: white;
}

.fun-button.btn-info {
  border-radius: 0;
  background-color: #386b93;
  color: #fff;
}

.fun-button.btn-info.btn-small {
  padding-left: 10px;
  padding-right: 10px;
}

.slideshow .slideshow-modern .imgWrapper .slide-link {
  background-image: none;
  padding-left: 0;
}

.contactInfo > .contactInfoItem {
  margin: 10px 0;
  max-width: 200px;
}

/*  ---------- Superbox -------------- */

div#superbox {
  outline: none;
  border-radius: 20px;
  background: none repeat scroll 0 0 rgb(255, 255, 255);
  margin: 0 auto;
  padding: 40px;
  position: relative !important;
}

/* trick for keeping focus inside the modal window */
div#superbox.modal-accessibility.open:not(:focus-within) {
  background-color: rgb(255, 255, 254);
  transition: background-color 0.01s;
}

div#superbox .close {
  background: url("//d1v2hfhsvnke6s.cloudfront.net/Shared/images/superboxBgs.png") no-repeat scroll left -52px transparent;
  height: 18px;
  overflow: hidden;
  position: absolute;
  right: 30px;
  text-indent: -9999px;
  top: -18px;
  width: 22px;
  z-index: 99999;
  cursor: pointer;
}

div#superbox .close a {
  display: block;
  width: 22px;
  height: 18px;
}

div#superbox .close:focus-within {
  outline: auto;
  outline-offset: 2px;
}

div#superbox .close:hover {
  background-position: -40px -52px;
}

div#superbox .close:active {
  background-position: -80px -52px;
}

div#superbox-container .loading {
  border-radius: 20px;
  background: url("//d1v2hfhsvnke6s.cloudfront.net/Shared/images/loading.gif") no-repeat scroll 50% 50% white;
  height: 150px;
  margin: 0 auto;
  text-indent: -9999px;
  width: 150px;
}

:first-child + html div#superbox-container {
  display: block;
  height: auto;
  position: absolute;
  top: 50%;
  z-index: 99995;
}

:first-child + html div#superbox {
  display: block;
  position: relative;
  top: -50%;
  z-index: 99996;
}

div#superbox p.nextprev {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 99997;
  overflow: visible;
}

div#superbox p.nextprev a {
  cursor: pointer;
  display: block;
  height: 100%;
  position: relative;
  width: 40%;
  z-index: 99998;
}

div#superbox p.nextprev a.disabled {
  display: none;
}

div#superbox p.nextprev a.prev {
  float: left;
}

div#superbox p.nextprev a.next {
  float: right;
}

div#superbox p.nextprev a strong {
  display: block;
  height: 22px;
  overflow: hidden;
  position: absolute;
  top: 50%;
  width: 16px;
  z-index: 99999;
}

div#superbox p.nextprev a.prev strong {
  left: -16px;
}

div#superbox p.nextprev a.next strong {
  right: -16px;
}

div#superbox p.nextprev a strong span {
  background-attachment: scroll;
  background-image: url("//d1v2hfhsvnke6s.cloudfront.net/Shared/images/superboxBgs.png");
  background-repeat: no-repeat;
  display: block;
  height: 22px;
  overflow: hidden;
  text-indent: -1000px;
  width: 16px;
}

div#superbox p.nextprev a.prev strong span {
  background-position: left top;
}

div#superbox p.nextprev a.next strong span {
  background-position: left -22px;
}

div#superbox p.description {
  color: #353533;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  line-height: 18px;
  margin-top: 10px;
  text-align: left;
}

div#superbox p.description-small {
  font-size: 10px;
  line-height: 13px;
}

div#superbox p.desc {
  color: #353533;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  line-height: 18px;
  margin-top: 10px;
  text-align: left;
}

/* ---------------- Map And Driving Directions ---------------- */

.home-map {
  width: 430px;
  height: 299px;
  float: left;
  border: 1px solid #cccccc;
  margin-right: 30px;
  position: relative;
}

.map-info {
  height: 350px;
  overflow-x: hidden;
  overflow-y: auto;
  float: left;
  width: 290px;
  font-size: 14px;
  line-height: 22px;
  font-family: "MyriadPro-Regular", "Luxi Sans", Arial, Helvetica, sans-serif;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
}

.map-info h5 {
  color: #313131;
  margin: 5px 0 10px;
  font-family: "MyriadPro-Semibold";
  font-size: 18px;
}

.map-info label {
  display: block;
  margin-bottom: 15px;
}

.map-info input[type="text"] {
  width: 260px;
  padding: 3px 0 0 0;
  line-height: 30px;
  vertical-align: top;
}

.map-info input[type="button"] {
  margin-top: 15px;
  margin-right: 20px;
  float: right;
}

.social-top {
  height: 34px;
}

.social-top .pageWidth {
  margin: 0 auto;
  position: relative;
}

.social-top .inner {
  position: absolute;
  right: 30px;
}

.social-top .inner a {
  float: left;
  color: #666;
  font-size: 18pt;
  padding: 3px 5px;
  text-decoration: initial;
  list-style: none outside none;
}

.social-top .inner a:hover {
  color: #888;
}

/* hide all icon-styled social icons */

div.footer .column .socialIcons a {
  background: none;
  font-size: 21pt;
  height: auto;
  width: auto;
  text-indent: 0;
}

.editable-content form#preplanning_form {
  opacity: 1 !important;
}

.store-tree-icon {
  background-image: url("//d1v2hfhsvnke6s.cloudfront.net/Content/Images/tree-icon.png");
  display: inline-block;
  background-size: cover;
}

.store-tree-icon.reversed {
  background-image: url("//d1v2hfhsvnke6s.cloudfront.net/Content/Images/tree-icon-reversed.png");
}
