
/*Share card */

.btn-share-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 100%;
  position: absolute;
  top: 8%;
  right: 2%;
  padding: 4px;
  box-sizing: border-box;
  cursor: pointer;
  z-index: 1200;
}
.btn-share-wrapper.right-sharing {
  left: 2%;
}
.btn-share-wrapper.left-sharing {
  right: 2%;
}
.btn-share-wrapper .btn-share {
  position: relative;
}
.btn-share svg.btn-share-normal:not(.hover) {
  overflow: visible !important;
}
.btn-share svg.btn-share-normal:not(.hover) > * {
  fill: none;
  stroke: #fff;
}
.btn-share svg:not(.hover) .share-bg {
  fill: #fff;
  transform: scale(0.4);
  opacity: 0;
  transform-origin: center;
}
.btn-share-hover {
  position: absolute;
  top: 0;
  left: 0;
  transition: ease-in 0.7s;
  opacity: 0;
}
.btn-share-hover path {
  fill: #fff;
}
.btn-share-hover:hover {
  opacity: 1;
}
#shareModal {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4A4A4A;
}
#shareModal.open {
  z-index: 1000;
}
#shareModal #share-overlay {
  width: 0%;
  height: 100vh;
  position: absolute;
  top: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 1000;

}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  #shareModal #share-overlay {
    z-index: -1;
  }
}
html[data-useragent*='MSIE 10.0'] h1 {
  #shareModal #share-overlay {
    z-index: -1;
  }
}
#shareModal #share-overlay.acted,
#shareModal #share-overlay.done.acted {
  -webkit-animation-name: slide-left; /* Safari 4.0 - 8.0 */
  -webkit-animation-duration: 2s; /* Safari 4.0 - 8.0 */
  animation-name: slide-left;
  animation-duration: 2s;
  width: 100%;
  opacity: 0.9;
}
/* Safari 4.0 - 8.0 */
@-webkit-keyframes slide-left {
  from {width: 0%;}
  to {width: 100%;}
}

/* Standard syntax */
@keyframes slide-left {
  from {width: 0%;}
  to {width: 100%;}
}

#shareModal #share-overlay.done {
  -webkit-animation-name: slide-right; /* Safari 4.0 - 8.0 */
  -webkit-animation-duration: 1s; /* Safari 4.0 - 8.0 */
  animation-name: slide-right;
  animation-duration: 1s;
  width: 0%;
  opacity: 0.9;
  display: block;
}
/* Safari 4.0 - 8.0 */
@-webkit-keyframes slide-right {
  from {width: 100%;}
  to {width: 0%;}
}

/* Standard syntax */
@keyframes slide-right {
  from {width: 100%;}
  to {width: 0%;}
}

.shareWindow {
  max-width: 700px;
  width: 100%;
  z-index: 1100;
  transition: 0.5s all;
  opacity: 0;
  left: 0;
  right: 0;
}
.shareWindow.show {
  opacity: 1;
}
.btn-arrow-back {
  display: flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transform: translateX(100px);
  position: relative;
  transition: 1s all ease-out;
  opacity: 0;
}
.btn-arrow-back.move {
  transform: translateX(0px);
  opacity: 1;
}
.shareWindow #closeModal {
  margin-bottom: 15px;
}
.btn-arrow-back svg {
  width: 40px;
  height: 40px;
  fill: #4A4A4A;
  transition: 0.5s all;
  position: relative;
}
.btn-arrow-back svg path {
  fill: #4A4A4A;
}
.btn-arrow-back:hover {
  left: 0px;
}
.shareWindow #closeModal:hover svg {
  transform: translateX(-10px);
}
.shareWindow #closeModal span {
  font-family: Arimo;
  font-size: 15px;
  text-transform: none;
  margin-left: 15px;
}
.shareWindow .card-content {
  background-color: white;
  padding: 33px 50px;
  padding-bottom: 0;
  box-shadow: 0 0 13px 0 rgba(0, 0, 0, 0.1);
  min-height: 200px;
  transform: translateX(150px);
  position: relative;
  transition: 1s ease-out;
  opacity: 0;
}
.card-content.move {
  transform: translateX(0px);
  opacity: 1;
}
.shareWindow .card-content .shareCard-img {
  max-height: 320px;
  overflow: hidden;
  margin-bottom: 10px;
}
.shareWindow .card-content .share-img {
  width: 100% !important;
  object-fit: cover;
  object-position: center;
}

.shareWindow .card-content p {
  font-size: 20px;
  letter-spacing: 0;
  line-height: 26px;
  margin-top: 0;
  font-family: Crimson Text;
}
.shareWindow .card-content .share-footer {
  display: flex;
  border-top: 3px solid #4A4A4A;
  padding-top: 15px;
  padding-bottom: 25px;
  position: relative;
}
.shareWindow .card-content .share-footer:after {
  content:'';
  border-right: 1px #4A4A4A solid;
  color: #4A4A4A;
  position: absolute;
  left: 50%;
  top: 21%;
  height: 38%;
}
.social-button {
  display: flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: 0.9s all ease-in;
  opacity: 1;
  width: 46%;
  margin: 0 2%;
}
:root .social-button {
  float: left;
}
.social-button:first-child {
  margin: 0 2% 0 0;
}
.social-button:last-child {
  margin: 0 0 0 10%;
}
.social-button svg {
  width: 40px;
  height: 40px;
  fill: #4A4A4A;
  transition: 0.5s all;
  position: relative;
  margin-left: 15px;
  transform: translateX(0px);
}
.social-button:hover svg {
  transform: translateX(10px);
}
.social-button svg path {
  fill: #4A4A4A;
}
.social-button:hover {
  left: 0px;
}
.social-button span {
  font-family: Crimson Text;
  font-size: 21px;
  letter-spacing: 0;
  line-height: 40px;
  text-transform: none;
  float: left;
}
#main .tabs-wrapper {
  z-index: 800;
}
.logged-in #container #header,
.page-user #container #header {
  z-index: 801;
}
.feature-slider .view-display-id-feature_slides_block .view-footer {
  display: none;
}

@media (min-width: 981px) and (max-width: 1378px) {
  .shareWindow .card-content .shareCard-img {
    max-height: 320px;
    overflow: hidden;
  }
  .shareWindow .card-content {
    padding: 25px 30px 0 30px;
  }
  .shareWindow .card-content p {
    font-size: 16px;
    line-height: 22px;
  }
  .social-button span {
    font-family: Crimson Text;
    font-size: 19px;
    letter-spacing: 0;
    line-height: 38px;
    text-transform: none;
    float: left;
  }
}
@media (min-width: 768px) and (max-width: 980px) {
  .shareWindow .card-content .shareCard-img {
    max-height: 320px;
    overflow: hidden;
    margin-bottom: 10px;
  }
  .shareWindow .card-content p {
    font-size: 16px;
    letter-spacing: 0;
    line-height: 22px;
    margin-top: 0;
    font-family: Crimson Text;
  }
  .social-button span {
    font-size: 20px;
  }
  .social-button svg {
    width: 30px;
    height: 30px;
  }
  .btn-arrow-back svg {
    width: 30px;
    height: 30px;
  }
}
@media only screen and (max-width: 639px) {
  .btn-share-wrapper {
    width: 40px;
    height: 40px;
    top: 4%;
  }
  .btn-share-wrapper.right-sharing {
    left: 6%;
  }
  .btn-share-wrapper.left-sharing {
    right: 6%;
  }
  #shareModal .shareWindow {
    width: calc(100vw - 60px);
  }
  .shareWindow .card-content {
    padding: 33px 26px 0 26px;
    padding-bottom: 0;
    max-height: calc(100vh - 220px);
    overflow-y: auto;
  }
  .shareWindow .card-content p {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 0;
  }
  .shareWindow .card-content .share-footer {
    border-top-width: 4px;
    padding-top: 0;
    padding-bottom: 0;
    flex-direction: column;
    margin-top: 20px;
  }
  .shareWindow .card-content .share-footer:after {
    content:'';
    border-right: 0;
  }
  .card-content .share-footer .social-button {
    margin: 0 !important;
    padding: 8px 0 !important;
    justify-content: space-between;
    width: 100%;
  }
  .card-content .share-footer .social-button:last-child {
    border: none;
    border-top: 1px solid currentColor;
  }
  .social-button span {
    font-size: 16px !important;
    line-height: 28px;
  }
  .card-content .share-footer .social-button svg {
    width: 27px;
    height: 27px;
  }
  .btn-arrow-back svg {
    width: 30px;
    height: 30px;
  }
}

@media screen and (orientation:landscape)
and (min-device-width: 320px)
and (max-device-width: 812px) {
  .shareWindow {
    max-width: 80%;
  }
  .shareWindow .card-content {
    padding: 25px 20px 0 20px;
    padding-bottom: 0;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
  }
  .shareWindow .card-content p {
    font-size: 16px;
  }
  .social-button span {
    font-size: 16px;
  }
  .shareWindow .card-content .shareCard-img {
    max-height: 320px;
  }
}
/*End share card*/