﻿/* /user/home/specificUser/base.css */
#map_canvas_wrap {
  position: relative; }

#map_canvas {
  height: 300px; }

#post_photo_wrap:after {
  clear: both;
  display: block;
  content: ""; }

#tab_1:checked ~ .tab_buttons label[for="tab_1"],
#tab_2:checked ~ .tab_buttons label[for="tab_2"],
#tab_3:checked ~ .tab_buttons label[for="tab_3"],
#tab_4:checked ~ .tab_buttons label[for="tab_4"] {
  background-color: #05f;
  color: #fff; }

.tab_contents section {
  display: none; }

#tab_1:checked ~ .tab_contents section:nth-child(1),
#tab_2:checked ~ .tab_contents section:nth-child(2),
#tab_3:checked ~ .tab_contents section:nth-child(3),
#tab_4:checked ~ .tab_contents section:nth-child(4) {
  display: grid;
  background: white; }

#tab_wrap > input {
  display: none; }

#tab_wrap > ul {
  margin: 15px 0 25px;
  padding: 0;
  list-style: none;
  display: flex; }
  #tab_wrap > ul > li > label {
    display: inline-block;
    padding: 5px 0;
    text-align: center;
    height: 60px;
    line-height: 25px;
    width: 70px;
    box-sizing: border-box;
    border: 1px solid #aaa;
    background-color: #e2e2e2;
    cursor: pointer; }
    #tab_wrap > ul > li > label:hover {
      opacity: 0.8; }
    #tab_wrap > ul > li > label > span {
      display: block; }
      #tab_wrap > ul > li > label > span:before {
        content: "("; }
      #tab_wrap > ul > li > label > span:after {
        content: ")"; }

#tab_wrap #change_order_buttons_wrap > p {
  text-decoration: underline; }

#tab_wrap #change_order_buttons_wrap > div {
  display: flex;
  margin: 5px 0 15px; }
  #tab_wrap #change_order_buttons_wrap > div > span {
    cursor: pointer;
    border: 1px solid #000;
    padding: 5px 10px;
    margin: 0 15px 0 0;
    display: block;
    border-radius: 3px;
    font-size: 14px; }
    #tab_wrap #change_order_buttons_wrap > div > span.active {
      background-color: #05f;
      color: #fff;
      border-color: #05f; }
    #tab_wrap #change_order_buttons_wrap > div > span:hover {
      opacity: 0.8; }

#tab_wrap > div > section {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  grid-gap: 15px 5px; }
  #tab_wrap > div > section .date_separates {
    grid-column-start: 1;
    grid-column-end: -1;
    background-color: #eee;
    padding: 5px 10px;
    display: none; }
    #tab_wrap > div > section .date_separates.show {
      display: block; }
    #tab_wrap > div > section .date_separates > p {
      font-size: 14px; }
  #tab_wrap > div > section .post_photo_wrap > a {
    position: relative;
    display: block;
    border: 5px solid #fff; }
    #tab_wrap > div > section .post_photo_wrap > a:hover {
      background-color: #79bfd9; }
    #tab_wrap > div > section .post_photo_wrap > a > p {
      position: absolute;
      top: 0;
      left: 0;
      color: #fff;
      background-color: rgba(0, 0, 0, 0.2);
      background: linear-gradient(rgba(0, 0, 0, 0.4) 30%, transparent);
      width: 100%;
      padding: 5px;
      font-size: 13px;
      text-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.2);
      box-sizing: border-box; }
    #tab_wrap > div > section .post_photo_wrap > a > img {
      vertical-align: bottom;
      width: 100%;
      height: auto; }
  #tab_wrap > div > section .post_photo_wrap > div {
    padding: 0 5px;
    display: flex;
    flex-direction: column;
    align-items: flex-end; }
    #tab_wrap > div > section .post_photo_wrap > div > span {
      font-size: 12px;
      color: #222; }
      #tab_wrap > div > section .post_photo_wrap > div > span.no_shooting_date {
        color: #fff; }
        #tab_wrap > div > section .post_photo_wrap > div > span.no_shooting_date > span {
          font-size: 10px;
          padding: 2px 5px;
          color: #eee;
          background-color: #aaa; }
      #tab_wrap > div > section .post_photo_wrap > div > span > span {
        font-size: 10px;
        margin: 0 0 0 3px;
        color: #888; }
