/****************************************
  ==== GET UNITY PROMO
****************************************/

div.store-banner .item {
  background-color: #1A1A1A;
  position: relative;
  z-index: 2;
}

div.store-banner .item:nth-of-type(even) {
  background-color: #072e3b;
}

div.store-banner .flex-column {
  border: none;
}

div.store-banner {
  border: none !important;
}

div.store-banner > div {
  margin: 0 auto;
  position: relative;
  z-index: 4;
  -webkit-box-shadow: 0 0 30px rgba(34, 44, 55, 0.15);
  box-shadow: 0 0 30px rgba(34, 44, 55, 0.15);
}

div.store-banner .item-text {
  z-index: 2;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

div.store-banner .item-button .item-text h4 {
  margin-top: 13px !important;
}

div.store-banner .item:hover {
  z-index: 5;
}

div.store-banner .item:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  padding: 0;
  background: #1A1A1A;
  -webkit-transition: all .25s;
  transition: all .25s;
}

div.store-banner .item:nth-child(2):before {
  background: #333;
}
div.store-banner .item:nth-child(3):before {
  background: #4D4D4D;
}

div.store-banner .item-button:before {
  background: #00bcd4;
}

div.store-banner .item:hover:before {
  top: -5px;
  right: -5px;
  bottom: -5px;
  left: -5px;
  z-index: 1;
  -webkit-box-shadow: 0 0 30px rgba(34, 44, 55, 0.5);
  box-shadow: 0 0 30px rgba(34, 44, 55, 0.5);
}

div.store-banner .item:after {
  content: '';
  display: block;
  height: 100%;
  background: transparent;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0%;
  right: 0%;
  z-index: 1;
  -webkit-transition: all .25s ease;
  transition: all .25s ease;
}

div.store-banner .item:hover:after {
  opacity: 1;
  top: -5px;
  left: -5px;
  right: -5px;
  -webkit-transition: all .25s ease;
  transition: all .25s ease;
}

@media only screen and (max-width: 1065px) {
  div.store-banner div.g3 {
    width: 33.3333%;
  }

  div.store-banner div.item-button {
    width: 100%;
  }
}

@media only screen and (max-width: 668px) {

  div.store-banner div.g3 {
    width: 100%;
  }

}

/* Youtube video with cover */
.yt-video-cover {
  overflow: hidden;
}

.yt-video-cover .poster {
  min-width: 100%;
  max-width: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 11;
}

.yt-video-cover div.cover {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 11;
  cursor: pointer;
}

.yt-video-cover div.cover div.info {
  width: 90%;
  position: absolute;
  top: 57%;
  left: 5%;
  z-index: 11;
  text-align: center;
}

/****************************************
  ==== MARKDOWN BASIC STYLES
****************************************/

.markdown h1, .markdown h2, .markdown h1, .markdown h3, .markdown h1, .markdown h4 {
  padding: 20px 0 0 0;
}

.markdown h1:first-child, .markdown h2:first-child, .markdown h3:first-child, .markdown h4:first-child {
  padding: 0;
}

.markdown h3 {
  padding: 15px 0 0 0;
}

.markdown ul {
  list-style-type: none;
  margin: 0 0 15px 0;
}

.markdown ul li {
  background: none;
  position: relative;
}

.markdown ul li ul, .markdown ol li ul, .markdown ol li ol {
  margin: 7px 0 0 0;
}

.markdown ul li ul li, .markdown ol li ul li {
  font-size: 1em;
}

.markdown ol li p, .markdown ol li ol li p {
  font-size: 1em;
}

.markdown ul li ul li:before {
  content: "\2013";
  font-size: 1.15em;
  position: absolute;
  top: -1px;
  left: 0;
  color: #5a5a5b;
}

.markdown ul li img {
  margin: 10px 0 20px 0;
}

.markdown ul li .fancy-image {
  margin: 10px 0 10px 0;
}

.markdown p a {
  word-break: break-word;
}

.markdown table {
  font-size: 0.875em;
  margin: 0 0 20px 0;
}

.markdown table th {
  border: #ececec 1px solid;
  font-weight: bold;
  padding: 5px 10px;
}

.markdown table td {
  border: #ececec 1px solid;
  padding: 5px 10px;
}

.markdown .figcap {
  margin: 0 0 30px 0;
}

.scroll-link a {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

/****************************************
  ==== INLINE VIDEO
****************************************/

a.inline-video {
  display: block;
  background: #222c37;
  -webkit-transition: height 0.5s ease;
  transition: height 0.5s ease;
}

a.inline-video .thumb {
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

a.inline-video iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/****************************************
  ==== INLINE IFRAME
****************************************/

.inline-frame iframe, .inline-frame object, .inline-frame embed {
  width: 100% !important;
  height: 100% !important;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}

/* Paging */
div.paging ul {
  width: 100%;
}

div.paging ul li {
  min-width: 50px;
  height: 50px;
  line-height: 50px;
  margin: 0 0 6px 0;
  padding: 5px;
  display: inline-block;
  text-align: center;
  font-size: 1.0625em;
}

div.paging ul li:before {
  display: none;
}

div.paging ul li.selected {
  padding: 0 5px;
  color: #fff;
  background: #002835;
}

div.paging ul li .current {
  display: block;
  padding: 0 5px;
  color: #fff;
  background: #002835;
}

div.paging ul li a {
  min-width: 30px;
  padding: 0 5px;
  height: 40px;
  line-height: 40px;
  display: block;
  color: #5a5a5b;
  text-decoration: none;
  border: #ececec 1px solid;
}

div.paging ul li a:hover {
  color: #455463;
  border-color: #002835;
}

div.paging ul li a.selected {
  color: #fff;
  background: #002835;
  border-color: #002835;
}

div.paging ul li.prev-page a, div.paging ul li.next-page a {
  text-indent: -9999em;
  border-color: #002835;
  background: #002835 url(../images/assets/layout/core-sprites.png) -33px -108px no-repeat;
}

div.paging ul li.next-page a {
  background-position: 12px -108px;
}

div.paging ul li.prev-page a:hover, div.paging ul li.next-page a:hover {
  border-color: #002835;
  background-color: #002835;
}

div.paging ul li a.prev, div.paging ul li a.next {
  text-indent: -9999em;
  border-color: #002835;
  background: #002835 url(../images/assets/layout/core-sprites.png) -33px -108px no-repeat;
}

div.paging ul li a.next {
  background-position: 12px -108px;
}

div.paging ul li a.prev:hover, div.paging ul li a.next:hover {
  border-color: #002835;
  background-color: #002835;
}

/* Breadcrums */
div.crumbs ul {
  list-style-type: none;
  margin: 0;
}

div.crumbs ul li {
  float: left;
  margin: 0 0 0 30px;
  font-size: 1.125em;
  padding: 0 0 0 30px;
  line-height: 34px;
  position: relative;
  color: #002835;
}

div.crumbs ul li:first-child {
  margin: 0;
  padding: 0;
}

div.crumbs ul li:before {
  content: '\e926';
  font-family: 'entypo-plus';
  color: #8ac249;
  font-size: 130%;
  position: absolute;
  top: 0;
  left: -12px;
}

div.crumbs ul li:first-child:before {
  display: none;
}

div.crumbs ul li a {
  color: #9e9e9e;
}

/* Background slider */
div.background-slider {
  max-width: 100%;
  width: 100%;
  height: 550px;
  background: #222;
  position: absolute;
  top: -74px;
  left: 0;
  z-index: 1;
}

div.background-slider ul {
  width: 100%;
  max-width: 100%;
  height: 100%;
  position: relative;
  list-style: none;
  margin: 0 auto;
  overflow: hidden;
}

div.background-slider ul li {
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999;
}

div.background-slider ul li.current {
  opacity: 1;
  pointer-events: auto;
  z-index: 1000;
}

div.background-slider ul li img {
  min-width: 100%;
  max-width: none;
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

div.background-slider ul li div.caption {
  width: 102%;
  position: absolute;
  bottom: 0px;
  padding: 150px 0 20px 0;
  left: 50%;
  text-align: center;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(125, 185, 232, 0)), color-stop(90%, rgba(34, 44, 55, 1)));
  background: linear-gradient(to bottom, rgba(125, 185, 232, 0) 0%, rgba(34, 44, 55, 1) 90%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#007db9e8', endColorstr='#222c37', GradientType=0);
}

div.background-slider div.caption a {
  display: inline-block;
  text-decoration: none;
}

div.background-slider div.caption a:after {
  content: '';
  width: 24px;
  height: 19px;
  margin: 0 0 -3px 5px;
  display: inline-block;
  background: url(../images/assets/layout/core-sprites.png) -41px -77px no-repeat;
}

div.background-slider div.caption h1 {
  font-size: 1.125em;
  color: #fff;
  display: inline-block;
  margin: 0;
}

div.background-slider div.caption h1 span {
  font-family: 'avalon', 'Nanum Gothic', 'Open Sans', 'Hiragino Kaku Gothic Pro', Meiryo, 'MS PGothic', sans-serif;
}

@media only screen and (min-width: 150px) and (max-width: 1023px) {

  div.background-slider {
    top: -60px;
  }

}

@media only screen and (max-width: 767px) {

  div.background-slider {
    height: 250px;
  }

}

.fxSoftScale .navOutNext, .fxSoftScale .navOutPrev {
  display: none;
}

.fxSoftScale .navInNext, .fxSoftScale .navInPrev {
  display: block;
}

.cssanimations .fxSoftScale .navOutNext {
  display: block;
  -webkit-animation: scaleUp 1.5s forwards cubic-bezier(0.7, 0, 0.3, 1);
  animation: scaleUp 1.5s forwards cubic-bezier(0.7, 0, 0.3, 1);
}

.cssanimations .fxSoftScale .navInNext {
  -webkit-animation: scaleDownUp 1.5s forwards cubic-bezier(0.7, 0, 0.3, 1);
  animation: scaleDownUp 1.5s forwards cubic-bezier(0.7, 0, 0.3, 1);
}

.cssanimations .fxSoftScale .navOutPrev {
  display: block;
  -webkit-animation: scaleDown 1.5s forwards cubic-bezier(0.7, 0, 0.3, 1);
  animation: scaleDown 1.5s forwards cubic-bezier(0.7, 0, 0.3, 1);
}

.cssanimations .fxSoftScale .navInPrev {
  -webkit-animation: scaleUpDown 1.5s forwards cubic-bezier(0.7, 0, 0.3, 1);
  animation: scaleUpDown 1.5s forwards cubic-bezier(0.7, 0, 0.3, 1);
}

.fxFadeIt .fadeOut, .fxFadeIt .navOutNext, .fxFadeIt .navOutPrev {
  display: none;
}

.fxFadeIt .fadeIn, .fxFadeIt .navInNext, .fxFadeIt .navInPrev {
  display: block;
}

.cssanimations .fxFadeIt .fadeOut, .cssanimations .fxFadeIt .navOutNext, .cssanimations .fxFadeIt .navOutPrev {
  display: block;
  -webkit-animation: fadeOut .5s forwards;
  animation: fadeOut .5s forwards;
}

.cssanimations .fxFadeIt .fadeIn, .cssanimations .fxFadeIt .navInNext, .cssanimations .fxFadeIt .navInPrev {
  -webkit-animation: fadeIn .5s forwards;
  animation: fadeIn .5s forwards;
}

/* Softscale */
@-webkit-keyframes scaleUp {
  to {
    -webkit-transform: scale(1.2);
    opacity: 0;
  }
}

@keyframes scaleUp {
  to {
    -webkit-transform: scale(1.2);
            transform: scale(1.2);
    opacity: 0;
  }
}

@-webkit-keyframes scaleDownUp {
  from {
    opacity: 0;
    -webkit-transform: scale(0.9);
  }
  to {
    opacity: 1;
    -webkit-transform: scale(1);
  }
}

@keyframes scaleDownUp {
  from {
    opacity: 0;
    -webkit-transform: scale(0.9);
            transform: scale(0.9);
  }
  to {
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

@-webkit-keyframes scaleDown {
  to {
    opacity: 0;
    -webkit-transform: scale(0.9);
  }
}

@keyframes scaleDown {
  to {
    opacity: 0;
    -webkit-transform: scale(0.9);
            transform: scale(0.9);
  }
}

@-webkit-keyframes scaleUpDown {
  from {
    -webkit-transform: scale(1.2);
  }
  to {
    opacity: 1;
    -webkit-transform: scale(1);
  }
}

@keyframes scaleUpDown {
  from {
    -webkit-transform: scale(1.2);
            transform: scale(1.2);
  }
  to {
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

/*FadeIt*/
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-webkit-keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
