/*
 * Globals
 */


/* Custom default button */
.btn-light,
.btn-light:hover,
.btn-light:focus {
  color: #333;
  text-shadow: none;
  /* Prevent inheritance from `body` */
}


/*
 * Base structure
 */

body {
  text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
}

.cover-container {
  max-width: 52em;
  background: rgba(0, 0, 0, 0.56);
  box-shadow: rgba(0, 0, 0, 1) 0px 50px 49px;
}


.cover-container2 {
  max-width: 48em;
}

/*
 * Header
 */

.nav-masthead .nav-link {
  color: rgba(255, 255, 255, .5);
  border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(255, 255, 255, .25);
}

.nav-masthead .nav-link+.nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: #fff;
  border-bottom-color: #fff;
}






/*
    GitHub URL: https://github.com/gucastiliao/video-popup-js
*/

.videopopupjs {
  background-color: #000;
  background-color: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  text-align: start !important;
}

.videopopupjs--hide {
  -webkit-animation-duration: 0.2s;
  animation-duration: 0.2s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-name: videoPopupJsHide;
  animation-name: videoPopupJsHide;
}

.videopopupjs__close {
  width: 30px;
  height: 30px;
  cursor: pointer;
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.59);
}

.videopopupjs__close:after {
  width: 30px;
  height: 30px;
  display: block;
  text-align: center;
  content: 'X';
  font-family: 'Verdana';
  border-radius: 50%;
  background: #333;
  line-height: 2.2;
  font-size: 13px;
}

.videopopupjs__close:hover {
  opacity: 0.5;
}

.videopopupjs--animation {
  opacity: 0;
  -webkit-animation-duration: 0.2s;
  animation-duration: 0.2s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-name: videoPopupJs;
  animation-name: videoPopupJs;
}

.videopopupjs__content {
  margin: 0 auto;
  height: 100%;
  height: 500px;
  width: 100%;
  margin-top: 5%;
}

.videopopupjs__content iframe {
  width: 100%;
  height: 100%;
}

.videopopupjs__block--notfound {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto 0;
  width: 100%;
  height: 500px;
  background-color: #fff;
  text-align: center;
  vertical-align: middle;
  line-height: 500px;
  font-family: 'Arial';
  font-size: 20px;
}

@media(max-width: 768px) {
  .videopopupjs__content {
    max-width: 90% !important;
  }
}

@-webkit-keyframes videoPopupJs {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes videoPopupJs {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-webkit-keyframes videoPopupJsHide {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes videoPopupJsHide {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}



/**************************************************************/
.t-item-view_group {
  margin: 0 auto;
  padding: 5px;
  border-radius: 4px;
  border: 1px solid rgb(17, 27, 45);
  background-color: #1f293e;
  width: 120px !important;
  height: 120px !important;
  vertical-align: top;

}

.t-item-view_group .t-item {
  width: calc(50% - 2px);
  height: 50%;
  margin: 0;
  padding: 0;
  display: inline-block;
  text-align: left;
  color: #FFF;
  font-weight: bold;
  position: relative;
  vertical-align: top;
}

.t-item-view_group .t-item.t-item-lg {
  width: 100%;
  height: 100%;

}

.t-item-view_group .t-item>img {
  max-width: calc(100% - 10px);
  max-height: calc(100% - 10px);
  filter: drop-shadow(0 0 0.75rem rgba(0, 0, 0, 0.9));
  pointer-events: none;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}


.t-item-view_group .t-item>span {
  max-width: calc(100% - 10px);
  max-height: calc(100% - 10px);
  pointer-events: none;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  display: inline-block;
}


/**************************************************************/

.t-item-view_list {
  user-select: none;
}

.t-item-view_list .t-item {
  width: 60px;
  height: 60px;
  display: inline-block;
  text-align: center;
  line-height: 60px;
  margin: 0px 2px 6px 0px;
  border-radius: 4px;
  border: 1px solid rgb(17, 27, 45);
  background-color: #1f293e;
  position: relative;
}

.t-item-view_list .t-item>img {
  max-width: calc(100% - 10px);
  max-height: calc(100% - 10px);
  filter: drop-shadow(0 0 0.75rem rgba(0, 0, 0, 0.9));
  pointer-events: none;
}

.c-dark-theme .t-item-view_list .t-item {
  border: 1px solid rgb(90, 90, 90);
  background-color: #1a1a1a;
}



.t-item-view_list .t-load-more {
  width: 60px;
  height: 60px;
  display: block;
  text-align: center;
  line-height: 60px;
  margin: 0px 2px 6px 0px;
  cursor: pointer;
  border-radius: 4px;
  color: #d9d9d9;
  border: 1px solid rgb(17, 27, 45);
  background-color: #1f293e;
}

.c-dark-theme .t-item-view_list .t-load-more {
  border: 1px solid rgb(90, 90, 90);
  background-color: #1a1a1a;
}

.t-item-view_list .t-load-more:hover {
  background-color: #4e4e4e;
}

/**************************************************************/

.t-item-select_list {
  user-select: none;
}

.t-item-select_list .t-item {
  width: 60px;
  height: 60px;
  display: inline-block;
  text-align: center;
  line-height: 60px;
  margin: 0px 2px 6px 0px;
  cursor: pointer;
  border-radius: 4px;
  border: 1px solid rgb(17, 27, 45);
  background-color: #1f293e;
  position: relative;
}

.t-item-select_list .t-item>img {
  max-width: calc(100% - 10px);
  max-height: calc(100% - 10px);
  filter: drop-shadow(0 0 0.75rem rgba(0, 0, 0, 0.9));
  pointer-events: none;
}

.c-dark-theme .t-item-select_list .t-item {
  border: 1px solid rgb(90, 90, 90);
  background-color: #1a1a1a;
}

.t-item-select_list .t-item:hover {
  background-color: #4e4e4e;
}

.t-item-select_list .t-item.t-item-selected {
  background-color: #4c8562;
  border: 1px solid rgb(145, 253, 181);
}


.t-item-select_list .t-load-more {
  width: 60px;
  height: 60px;
  display: block;
  text-align: center;
  line-height: 60px;
  margin: 0px 2px 6px 0px;
  cursor: pointer;
  border-radius: 4px;
  color: #d9d9d9;
  border: 1px solid rgb(17, 27, 45);
  background-color: #1f293e;
}

.c-dark-theme .t-item-select_list .t-load-more {
  border: 1px solid rgb(90, 90, 90);
  background-color: #1a1a1a;
}

.t-item-select_list .t-load-more:hover {
  background-color: #4e4e4e;
}

/**************************************************************/

.t-item .t-item_lock {
  position: absolute;
  z-index: 102;
  right: 0;
  bottom: 0;
  width: 14px;
  height: 16px;
  background-image: url(/assets/img/item_lock.png);
  background-repeat: no-repeat;
  background-size: 400% 200%;
  pointer-events: none;
}

.t-item .t-item_lock.t-0 {
  display: none;
}

.t-item .t-item_lock.t-1 {
  background-position: 0 0;
}

.t-item .t-item_lock.t-2 {
  background-position: -14px 0;
}


.t-item .t-item_lock.t-3 {
  background-position: -28px 0;
}

.t-item .t-item_lock.t-4 {
  background-position: 0 -16px;
}

.t-item .t-item_lock.t-5 {
  background-position: -14px -16px;
}

.t-item .t-item_lock.t-6 {
  background-position: -28px -16px;
}

/**************************************************************/

.t-item .t-item-overlap {
  position: absolute;
  z-index: 102;
  right: 0;
  top: 0;
  line-height: normal;
  pointer-events: none;
}

.t-item .t-item-overlap>span {
  position: relative;
  top: -10px;
  right: -50%;
  border: 1px solid #de6e6e;
  padding: 0 3px;
  border-radius: 4px;
  font-size: 10px;
  background: #983333;
  color: #FFFF;
  font-weight: bold;
}


/**************************************************************/

.c-dark-theme .t-item-view_group {
  border-color: rgb(90, 90, 90);
  background-color: #1a1a1a;
}

.t-item-tooltip {
  text-align: center;
}

.t-item-tooltip>img {
  max-height: 100px;
  margin: 20px;
}

.t-item-tooltip-period {
  text-align: center;
  background-color: brown;
  margin-top: 15px;
  font-weight: bold;
  padding: 1px 15px;
}