/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
 * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the top of the
 * compiled file, but it's generally better to create a new file per style scope.
 *
 *= require_self
 *= require_tree .
 */

* {
  margin: 0;
  padding: 0;
}

.field_with_errors {
  padding: 2px;
  background-color: red;
  display: table;
}

a:hover {
  color: #009900;
  text-decoration: underline;
}
a:visited {
  color: #508400;
}
a {
  color: #508400;
}

body {
  padding-top: 50px;
  background-color: #f8f7ec;
  color: #181818;
}
.navbar-default {
  background-color: #52700e;
}

h1 {
  font-size: 25px;
}

.navbar-brand {
  font-size: 28px;
  font-family: 'Permanent Marker', cursive, serif;
}

.jumbotron {
  color: #34715e;
  background-color: #efebb9;
}
.well {
  color: #34715e;
  background-color: #efebb9;
}
.text-nav-fixed {
  position: fixed;
  width: 33%;
}
.panel-title {
  line-height: inherit;
}
.panel-body {
  background-color: #fff;
}
.panel-body img {
  margin: 6px 0 6px 0;
}
a#view_more {
  color: #fff;
}
footer {
  margin: 5em 0;
}
a.btn-success {
  color: #fff;
}

.ico_new {
  position: relative;
  overflow: hidden; /* 不要部分を消す */
}
.ico_new:after {
  content: '';
  position: absolute;
  z-index: 1;
  width: 50px;
  height: auto;
  background: #ff005a;
  content: 'New!!'; /* 表示するテキストをここで変えます */
  text-align: center;
  color: #fff;
  font-size: 0.9em;
  left: -40px;
  top: 5px;
  -webkit-transform: rotate(30deg); /* Safari,Chrome用 */
  -moz-transform: rotate(30deg); /* Firefox用 */
  -o-transform: rotate(30deg); /* Opea用 */
  transform: rotate(30deg); /* CSS3 */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.ico_new:hover:after {
  filter: alpha(opacity=60); /* IE用 */
  -webkit-opacity: 0.6; /* Safari,Chrome用 */
  -moz-opacity: 0.6; /* Firefox用 */
  -o-opacity: 0.6; /* Opea用 */
  opacity: 0.6; /* Opea用 */
}
.ico_great {
  position: relative;
  overflow: hidden; /* 不要部分を消す */
}
.ico_great:after {
  content: '';
  position: absolute;
  z-index: 1;
  width: 50px;
  height: auto;
  background: #00b374;
  content: 'Great!'; /* 表示するテキストをここで変えます */
  text-align: center;
  color: #fff;
  font-size: 0.9em;
  left: -40px;
  top: 5px;
  -webkit-transform: rotate(30deg); /* Safari,Chrome用 */
  -moz-transform: rotate(30deg); /* Firefox用 */
  -o-transform: rotate(30deg); /* Opea用 */
  transform: rotate(30deg); /* CSS3 */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.ico_great:hover:after {
  filter: alpha(opacity=60); /* IE用 */
  -webkit-opacity: 0.6; /* Safari,Chrome用 */
  -moz-opacity: 0.6; /* Firefox用 */
  -o-opacity: 0.6; /* Opea用 */
  opacity: 0.6; /* Opea用 */
}

.ico_first {
  position: relative;
  overflow: hidden; /* 不要部分を消す */
}
.ico_first:after {
  content: '';
  position: absolute;
  z-index: 1;
  width: 50px;
  height: auto;
  background: #3b009a;
  content: 'Special!'; /* 表示するテキストをここで変えます */
  text-align: center;
  color: #fff;
  font-size: 0.9em;
  left: -40px;
  top: 5px;
  -webkit-transform: rotate(30deg); /* Safari,Chrome用 */
  -moz-transform: rotate(30deg); /* Firefox用 */
  -o-transform: rotate(30deg); /* Opea用 */
  transform: rotate(30deg); /* CSS3 */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.ico_first:hover:after {
  filter: alpha(opacity=60); /* IE用 */
  -webkit-opacity: 0.6; /* Safari,Chrome用 */
  -moz-opacity: 0.6; /* Firefox用 */
  -o-opacity: 0.6; /* Opea用 */
  opacity: 0.6; /* Opea用 */
}

@media screen and (max-width: 490px) {
  .fb-like span,
  .fb-like span iframe {
    width: 260px !important;
  }
}

#container {
  margin: 20px auto;
}
#write {
  margin: 10px auto;
  padding: 5px;
  width: 300px;
  height: 80px;
  background: #fff;
  border: 3px solid #52700e;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  z-index: 1;
}
#keyboard {
  margin: 0;
  padding: 0;
  list-style: none;
}
#keyboard li {
  float: left;
  margin: 0 5px 5px 0;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background: #fff;
  border: 1px solid #f9f9f9;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}
.capslock,
.tab,
.left-shift {
  clear: left;
}
#keyboard .tab,
#keyboard .delete {
  width: 70px;
}
#keyboard .capslock {
  width: 80px;
}
#keyboard .return {
  width: 77px;
}
#keyboard .left-shift {
  width: 95px;
}
#keyboard .right-shift {
  width: 109px;
}
.lastitem {
  margin-right: 0;
}
.uppercase {
  text-transform: uppercase;
}
#keyboard .space {
  width: 109px;
}
.on {
  display: none;
}
#keyboard li:hover {
  position: relative;
  top: 1px;
  left: 1px;
  border-color: #e5e5e5;
  cursor: pointer;
}
