﻿.gallery {
  position: relative;
  text-align: center;
  /*    .tab {
        float: left;
        border-bottom-width: 0;
        margin: 0;
    }*/ }
  .gallery .btn_upload {
    color: #272727;
    background: #ececec;
    border: 1px solid #e2e1e1;
    position: absolute;
    bottom: -2px;
    right: 17px;
    font-size: 16px;
    padding: 9px 20px;
    line-height: 20px; }
  .gallery .challenge_list {
    padding: 30px 0 20px;
    border-top: 1px solid #272727;
    clear: both;
    text-align: left; }
    .gallery .challenge_list:after {
      content: '';
      clear: both;
      display: block; }
    .gallery .challenge_list .callenge_item {
      float: left;
      width: calc((100% - 60px)/4);
      margin: 0 0 40px 20px;
      padding-top: 0; }
      .gallery .challenge_list .callenge_item:nth-child(4n+1) {
        margin-left: 0;
        clear: both; }
  .gallery .plsoup_tab {
    float: left;
    border-bottom-width: 0;
    margin: 0; }
  .gallery .ps_rev_bbs-search-form {
    float: right;
    display: flex; }
    .gallery .ps_rev_bbs-search-form .ps_rev_input-c {
      border-right: 0;
      width: 100%;
      border-bottom-right-radius: 0;
      border-top-right-radius: 0;
      padding-top: 9px;
      padding-bottom: 9px; }
    .gallery .ps_rev_bbs-search-form .btn_box-purple {
      border-top-left-radius: 0;
      border-bottom-left-radius: 0;
      padding-top: 9px;
      padding-bottom: 9px; }

.gallery_content-header {
  position: relative;
  border-bottom: 1px solid #ccc; }
  .gallery_content-header .gallery_content-title {
    font-size: 32px;
    font-weight: bold;
    color: #272727;
    border-bottom: 1px solid #272727;
    padding-bottom: 29px; }
    .gallery_content-header .gallery_content-title small {
      font-size: 16px;
      border-radius: 20px;
      line-height: 40px;
      width: 70px;
      display: inline-block;
      background: #6246e4;
      color: #ffffff;
      text-align: center;
      vertical-align: middle;
      margin: -3px 16px 0 0; }
  .gallery_content-header:after {
    content: '';
    clear: both;
    display: block; }
  .gallery_content-header .gallery_content-info {
    float: left;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    height: 64px;
    color: #848484; }
    .gallery_content-header .gallery_content-info .username {
      color: #272727;
      margin-right: 12px; }
    .gallery_content-header .gallery_content-info span {
      display: flex;
      flex-direction: column;
      justify-content: center; }
  .gallery_content-header .callenge_item-actions {
    float: right;
    border: 0;
    padding: 0;
    display: block; }
    .gallery_content-header .callenge_item-actions button {
      color: #848484;
      height: 64px; }
      .gallery_content-header .callenge_item-actions button:last-child {
        margin-right: 0; }
    .gallery_content-header .callenge_item-actions .btn-code {
      line-height: 36px;
      height: auto;
      border-radius: 8px;
      padding: 0 17px;
      border: solid 1px #e2e1e1;
      color: #272727;
      font-size: 16px;
      font-weight: 500; }
  .gallery_content-header .p_soup_btn-vr {
    position: absolute;
    top: 6px;
    right: 0;
    line-height: 40px;
    background: #ececec;
    color: #272727;
    font-size: 16px;
    font-weight: 500;
    padding: 0 18px;
    border-radius: 8px; }
    .gallery_content-header .p_soup_btn-vr::before {
      content: '';
      display: inline-block;
      vertical-align: middle;
      margin: -3px 6px 0  0;
      width: 24px;
      height: 24px;
      background: url("../../images/plsoup/icons/ico-vr.png") no-repeat;
      background-size: cover; }

.gallery-content-btns {
  text-align: center;
  padding-top: 80px; }
  .gallery-content-btns a {
    font-size: 16px;
    font-weight: 500;
    display: inline-block;
    vertical-align: middle;
    color: #272727;
    border-radius: 25px;
    line-height: 28px;
    padding: 10px 15px;
    border: solid 1px #5a5a5a;
    min-width: 160px; }

.gallery-content {
  padding-top: 60px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.67; }

#gallery_threeD_div {
  position: relative;
  border-radius: 12px;
  box-shadow: 0 6px 35px 0 rgba(0, 0, 0, 0.08);
  background: #fff;
  overflow: hidden;
  margin-top: 60px; }

.gallery-content-reply {
  padding-top: 120px; }
  .gallery-content-reply h3 {
    font-size: 24px;
    font-weight: bold;
    color: #272727;
    padding-bottom: 24px; }
    .gallery-content-reply h3 b {
      color: #6246e4; }
  .gallery-content-reply ul {
    padding-bottom: 36px; }
    .gallery-content-reply ul li {
      position: relative;
      border-top: 1px solid #ccc;
      font-size: 20px;
      padding: 24px 0; }
      .gallery-content-reply ul li .username {
        float: left;
        font-weight: bold;
        color: #272727; }
      .gallery-content-reply ul li .date {
        float: right;
        color: #848484;
        font-size: 16px;
        font-weight: 500;
        padding-right: 44px; }
      .gallery-content-reply ul li p {
        clear: both;
        color: #444;
        padding-top: 12px; }
      .gallery-content-reply ul li .dropdown {
        position: absolute;
        right: 0;
        top: 25px; }
        .gallery-content-reply ul li .dropdown .dropdown-menu {
          display: block;
          width: 24px;
          height: 24px;
          cursor: pointer; }
          .gallery-content-reply ul li .dropdown .dropdown-menu:before, .gallery-content-reply ul li .dropdown .dropdown-menu:after {
            content: '';
            position: absolute;
            left: 50%;
            width: 3px;
            height: 3px;
            background-color: #c4c4c4;
            border-radius: 100%;
            top: 3px;
            transform: translateX(-50%); }
          .gallery-content-reply ul li .dropdown .dropdown-menu:after {
            top: auto;
            bottom: 3px; }
        .gallery-content-reply ul li .dropdown:before {
          content: '';
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
          width: 3px;
          height: 3px;
          background-color: #c4c4c4;
          border-radius: 100%; }
        .gallery-content-reply ul li .dropdown .ps_rev_item_control-btn {
          position: relative;
          display: block;
          cursor: pointer;
          padding: 20px 24px 35px; }
          .gallery-content-reply ul li .dropdown .ps_rev_item_control-btn:before {
            content: '';
            display: block; }
        .gallery-content-reply ul li .dropdown small {
          display: none;
          min-width: 120px;
          padding: 12px 0;
          position: absolute;
          top: 100%;
          right: 0;
          border-radius: 8px;
          box-shadow: 0 4px 22px 0 rgba(0, 0, 0, 0.22);
          border: solid 1px #d6d6d6;
          background-color: #fff; }
          .gallery-content-reply ul li .dropdown small a {
            display: block;
            color: #525252;
            font-size: 12px;
            padding: 0 12px;
            line-height: 29px; }
      .gallery-content-reply ul li.open {
        z-index: 1; }
        .gallery-content-reply ul li.open .dropdown small {
          display: block; }

.gallery-content-reply-form {
  border: 1px solid #ccc;
  border-radius: 8px; }
  .gallery-content-reply-form .username {
    display: block;
    padding: 20px 20px 12px;
    font-size: 20px;
    font-weight: bold;
    color: #272727; }
  .gallery-content-reply-form textarea {
    width: 100%;
    display: block;
    height: 100px;
    padding: 0 20px 20px;
    border-bottom: 1px solid #ccc;
    resize: none; }
  .gallery-content-reply-form .gallery-content-reply-byte {
    float: left;
    font-size: 16px;
    color: #848484;
    padding: 8px 20px;
    line-height: 40px; }
  .gallery-content-reply-form .btn_box-purple {
    float: right;
    margin: 8px 20px 8px 0;
    padding: 10px 20px;
    font-weight: 500; }
  .gallery-content-reply-form:after {
    content: '';
    clear: both;
    display: block; }

#content_workspace_div {
  position: relative;
  height: 590px; }
  #content_workspace_div canvas {
    width: 100%;
    height: 100%; }

#gallery_three_foot {
  padding: 0px 10px 0; }
  #gallery_three_foot .reset {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 48px);
    background: #1c2a36;
    text-indent: -1000em; }
    #gallery_three_foot .reset:before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      margin: -60px 0 0 -60px;
      width: 120px;
      height: 120px;
      background: url("../../images/plsoup/icons/ico-replay.png") no-repeat 50% 50% #6246e4;
      border-radius: 100%;
      box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.3);
      background-size: 52px 50px; }
  #gallery_three_foot .fullscreen {
    height: 48px;
    width: 44px;
    position: relative;
    text-indent: -1000em; }
    #gallery_three_foot .fullscreen:before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      margin: -12px 0 0 -12px;
      width: 24px;
      height: 24px;
      background: url("../../images/plsoup/icons/ico-full-screen.png") no-repeat;
      background-size: cover; }

#gallery_play, #gallery_screenShield, #gallery_play_blank {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% - 48px);
  display: none; }

#gallery_play {
  display: block;
  cursor: pointer;
  background: #1c2a36; }
  #gallery_play:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    border-radius: 100%;
    box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.3);
    background: url("../../images/plsoup/icons/ico-play.png") no-repeat 50% 50%;
    background-size: contain;
    margin: -60px 0 0 -60px; }

#gallery_three_foot {
  text-align: right; }

@media screen and (-webkit-min-device-pixel-ratio: 2) {
  #gallery_play:before {
    background-image: url("../../images/plsoup/icons/ico-play@2x.png"); }
  #gallery_three_foot .reset {
    background-image: url("../../images/plsoup/icons/ico-replay@2x.png"); }
  #gallery_three_foot .fullscreen:before {
    background-image: url("../../images/plsoup/icons/ico-full-screen@2x.png"); } }

@media screen and (-webkit-min-device-pixel-ratio: 3) {
  #gallery_play:before {
    background-image: url("../../images/plsoup/icons/ico-play@3x.png"); }
  #gallery_three_foot .reset {
    background-image: url("../../images/plsoup/icons/ico-replay@3x.png"); }
  #gallery_three_foot .fullscreen:before {
    background-image: url("../../images/plsoup/icons/ico-full-screen@2x.png"); } }

@media screen and (max-width: 1000px) {
  .gallery .challenge_list .callenge_item {
    width: calc((100% - 40px) / 3); }
    .gallery .challenge_list .callenge_item:nth-child(4n+1) {
      margin-left: 20px;
      clear: none; }
    .gallery .challenge_list .callenge_item:nth-child(3n+1) {
      margin-left: 0;
      clear: both; } }

@media screen and (max-width: 800px) {
  .gallery .tab {
    float: none;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom-width: 1px; }
  .gallery .ps_rev_bbs-search-form {
    float: none;
    width: 100%; }
  .gallery .challenge_list {
    border-top: 0;
    padding: 60px 0 24px; }
    .gallery .challenge_list .callenge_item {
      width: calc(50% - 3px);
      margin: 0 0 16px 6px; }
      .gallery .challenge_list .callenge_item:nth-child(3n+1) {
        margin-left: 6px;
        clear: none; }
      .gallery .challenge_list .callenge_item:nth-child(2n+1) {
        margin-left: 0;
        clear: both; }
  .gallery .btn_upload {
    position: static; }
  .gallery #numbering-pagination {
    padding-top: 40px; }
  .gallery_content-header .gallery_content-title {
    font-size: 20px;
    padding-bottom: 19px; }
    .gallery_content-header .gallery_content-title small {
      font-size: 14px;
      border-radius: 14px;
      line-height: 28px;
      width: auto;
      padding: 0 15px;
      margin: 0 0 16px 0; }
    .gallery_content-header .gallery_content-title b {
      display: block; }
  .gallery_content-header .gallery_content-info {
    float: none;
    font-size: 14px;
    height: 44px;
    border-bottom: 1px solid #ccc; }
    .gallery_content-header .gallery_content-info .username {
      margin-right: 8px; }
  .gallery_content-header .callenge_item-actions {
    float: none;
    height: 44px;
    display: block; }
    .gallery_content-header .callenge_item-actions button {
      height: 44px; }
      .gallery_content-header .callenge_item-actions button:first-child {
        margin-left: 0; }
    .gallery_content-header .callenge_item-actions .btn-code {
      font-size: 14px;
      padding: 0 14px;
      float: right;
      line-height: 30px;
      margin-top: 7px; }
      .gallery_content-header .callenge_item-actions .btn-code:before {
        width: 20px;
        height: 20px; }
  .gallery_content-header .p_soup_btn-vr {
    top: 35px;
    right: 0;
    line-height: 36px;
    font-size: 14px;
    padding: 0 13px; }
    .gallery_content-header .p_soup_btn-vr::before {
      width: 20px;
      height: 20px;
      margin-right: 6px; }
  .gallery-content {
    padding-top: 40px;
    font-size: 16px; }
  #gallery_three_foot {
    padding: 0px 2px 0; }
    #gallery_three_foot .reset {
      height: calc(100% - 30px); }
      #gallery_three_foot .reset:before {
        width: 48px;
        height: 48px;
        margin: -24px 0 0 -24px;
        background-size: 18px 17px; }
    #gallery_three_foot .fullscreen {
      height: 30px;
      width: 40px; }
      #gallery_three_foot .fullscreen:before {
        width: 20px;
        height: 20px;
        margin: -10px 0 0 -10px; }
  #content_workspace_div {
    height: 320px; }
  #gallery_threeD_div {
    margin-top: 40px; }
  #gallery_play, #gallery_screenShield, #gallery_play_blank {
    height: calc(100% - 30px); }
  #gallery_play::before {
    width: 48px;
    height: 48px;
    margin: -24px 0 0 -24px; }
  .gallery-content-reply {
    padding-top: 60px; }
    .gallery-content-reply h3 {
      font-size: 16px;
      padding-bottom: 16px; }
    .gallery-content-reply ul {
      padding-bottom: 24px; }
      .gallery-content-reply ul li {
        font-size: 16px;
        padding: 16px 0 46px; }
        .gallery-content-reply ul li .date {
          position: absolute;
          bottom: 16px;
          left: 0;
          font-size: 12px;
          padding-right: 0; }
        .gallery-content-reply ul li p {
          font-size: 14px; }
        .gallery-content-reply ul li .dropdown {
          top: 16px; }
  .gallery-content-reply-form .username {
    padding: 16px 16px 12px;
    font-size: 16px; }
  .gallery-content-reply-form textarea {
    font-size: 14px;
    padding: 0 16px 16px; }
  .gallery-content-reply-form .gallery-content-reply-byte {
    padding: 5px 16px;
    line-height: 36px; }
  .gallery-content-reply-form .btn_box-purple {
    float: right;
    margin: 5px 16px 5px 0;
    padding: 8px 20px;
    font-weight: 500; }
  .gallery-content-reply-form:after {
    content: '';
    clear: both;
    display: block; } }
