.fancy-commentary .share-btn,
.fancy-commentary .close-comment {
  width: 44px;
  height: 44px;
  font-size: 30px;
  color: white;
  background: #0a242d;
  display: inline-block;
  vertical-align: top;
  cursor: pointer;
  margin: 0 10px;
  transition: 0.25s ease;
}

.close-comment {
  position: absolute;
  top: 0px;
  right: 0;
}

.close-comment i {
  margin-top: 5px;
}

.fancy-commentary.full {
  background-image: none !important;
}

.fancy-commentary .share-btn:hover {
  box-shadow:
    0 0 1px 5px rgba(10, 36, 45, 0.4),
    0 0 1px 10px rgba(10, 36, 45, 0.1);
}

.fancy-commentary .share-btn i {
  margin-top: 5px;
}

.fancy-commentary .facebook-comment-share i {
  margin-top: 7px;
}

.fancy-commentary .twitter-comment-share i {
  margin-top: 7px;
}

.fancy-commentary .pinterest-comment-share i {
  margin-top: 7px;
}

.fancy-commentary .comment-share-ctn {
  border-top: 3px solid #d4d4d6;
  margin-top: 25px;
  width: 75%;
  margin-left: auto;
  margin-right: auto;
  padding-top: 15px;
}

.fancy-commentary .submit-comment span,
.fancy-commentary .go-back span,
.fancy-commentary .read-moar span {
  position: relative;
  z-index: 1;
}

.fancy-commentary .submit-comment:hover span,
.fancy-commentary .go-back:hover span,
.fancy-commentary .read-moar:hover span {
  color: white;
}

.fancy-commentary .submit-comment,
.fancy-commentary .go-back,
.fancy-commentary .read-moar {
  width: 150px;
  margin: auto;
  border: 1px solid;
  padding: 13px;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.fancy-commentary .read-moar {
  margin-bottom: 25px;
}

.fancy-commentary .read-moar {
  margin-top: 25px;
}

.fancy-commentary .submit-comment:after,
.fancy-commentary .go-back:after,
.fancy-commentary .read-moar:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 490%;
  width: 140%;
  background: #07222b;
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -webkit-transform: translateX(-98%) translateY(-25%) rotate(45deg);
  transform: translateX(-98%) translateY(-25%) rotate(45deg);
}

.fancy-commentary .submit-comment:hover:after,
.fancy-commentary .go-back:hover:after,
.fancy-commentary .read-moar:hover:after {
  -webkit-transform: translateX(-9%) translateY(-25%) rotate(45deg);
  transform: translateX(-9%) translateY(-25%) rotate(45deg);
}

.fancy-commentary .create-comment-ctn {
  margin: 50px 0;
}

.fancy-commentary .comment-name,
.fancy-commentary .comment-text {
  width: 100%;
  padding: 15px;
  color: white !important;
  background: #07222b !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  margin-bottom: 25px;
  outline: none;
}

.fancy-commentary .comment-text {
  resize: none;
  height: 100px;
}

.fancy-commentary {
  text-align: center !important;
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 450px;
  z-index: 99999999999;
  background: white;
  transform: translateX(450px);
  transition: 0.8s ease;
  background-image: url('../images/comment-fade.png'));
  background-repeat: no-repeat;
  background-position: 26px 26px;
}

.fancy-commentary.open {
  transform: none;
}

.fancy-commentary-btn {
  position: absolute;
  top: 0;
  left: -44px;
  width: 44px;
  height: 44px;
  background: white;
  color: #07222b;
  font-size: 30px;
  cursor: pointer;
}

.fancy-commentary-btn i {
  margin-top: 6px;
}

.fancy-commentary.open .fancy-commentary-btn .fa-comments {
  display: none;
}

.fancy-commentary .fancy-commentary-btn .fa-times {
  display: none;
}

.fancy-commentary.open .fancy-commentary-btn .fa-times {
  display: block;
}

.fancy-commentary .inner-commentary-ctn {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  font-family: Tahoma;
  color: #313d45;
  padding: 70px 25px;
  overflow: auto;
}

.fancy-commentary .commentary-header {
  font-size: 25px;
}

.fancy-commentary .top-comments-ctn {
  margin: 50px 0;
  position: relative;
  height: 138px;
}

.fancy-commentary .extract {
  font-size: 12px;
  width: calc(100% - 50px);
  display: inline-block;
  vertical-align: top;
  margin-top: 3px;
  height: 41px;
  border-bottom: 3px solid #d4d4d6;
  color: #182b34;
}

.fancy-commentary .comment:last-child .extract {
  border-bottom: 0;
}

.fancy-commentary .view-comment {
  background: #0a242d;
  width: 44px;
  height: 44px;
  display: inline-block;
  vertical-align: top;
  color: white;
  cursor: pointer;
  font-size: 30px;
}

.fancy-commentary .view-comment i {
  margin-top: 5px;
}

.fancybox-button--fullscreen:before {
  position: relative;
  top: 0;
  left: 0;
  border: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/full-screen.png'));
  width: 20px;
  height: 20px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.fancybox-container {
  z-index: 9999999 !important;
}

.fancybox-toolbar {
  z-index: 999999999 !important;
}

.fancy-commentary .like-comment-share {
  position: relative;
}

.fancy-commentary .like-comment-share[data-n]:before {
  content: attr(data-n);
  display: block;
  color: white;
  position: absolute;
  bottom: -5px;
  right: -5px;
  font-size: 10px;
  background: #0a242d;
  padding: 2px;
  font-family: Tahoma;
  min-width: 12px;
}

.fancy-commentary .like-comment-share[data-n=""]:before {
  display: none;
}

.fancy-commentary .hidden-info {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 10px;
  display: none;
}

.fancy-commentary .commentator-name {
  font-weight: 800;
  font-size: 18px;
  width: 100%;
  margin-bottom: 5px;
  border-bottom: 3px solid #d4d4d6;
  padding-bottom: 5px;
  margin-top: 7px;
}

.fancy-commentary .full-comment .commentator-name {
  font-weight: 800;
  font-size: 18px;
  width: 100%;
  margin-bottom: 5px;
  border-bottom: 0;
  padding-bottom: 5px;
  margin-top: 0px;
}

.fancy-commentary .full-comment {
  border-bottom: 3px solid #d4d4d6;
  padding: 10px;
}

.fancy-commentary .go-back {
  margin-top: 25px;
}

@media (max-width: 500px) {
  .fancy-commentary.open {
    overflow-y: auto;
    overflow-x: hidden;
  }

  .fancy-commentary {
    width: 100%;
    transform: translateX(100%);
  }

  .fancy-commentary.open .fancy-commentary-btn {
    left: 0;
    z-index: 9999;
  }

  .fancy-commentary .share-btn {
    margin: 10px;
  }

  .inner-commentary-ctn {
    padding: 25px;
  }

  .fancy-commentary .top-comments-ctn {
    margin: 25px 0;
  }

  .fancy-commentary .create-comment-ctn {
    margin: 15px;
  }
}

.fancy-maxi button,
.fancy-maxi-pano button {
  background-color: #333 !important;
  border-radius: 50% !important;
  border: 3px solid white !important;
  color: white !important;
  margin: 5px;
  transition: 0.25s ease;
}

.fancy-maxi .fancybox-toolbar button:hover,
.fancy-maxi-pano button:hover {
  transform: scale(1.1);
}

.fancy-maxi-pano .fancybox-close-small:after {
  background-color: transparent !important;
  color: white !important;
  right: 4px;
  font-size: 35px;
  outline: none;
}

.fancy-maxi .fancybox-arrow {
  background-color: transparent !important;
  border: 0 !important;
}

.fancy-maxi .fancybox-arrow:after {
  background-color: #333 !important;
  border-radius: 50% !important;
  border: 3px solid white !important;
  color: white !important;
  margin: 5px;
  transition: 0.25s ease;
}

.fancy-maxi .fancybox-arrow:hover:after {
  transform: scale(1.1);
}

.fancy-maxi.fancybox-show-nav .fancybox-arrow {
  opacity: 1;
}

.fancy-maxi-pano .fancy-pano-div {
  width: 100%;
  height: 90%;
}

.fancy-maxi .fancybox-toolbar {
  right: 50px;
}

.fancy-maxi-pano .fancybox-close-small {
  right: 30px;
}
