/* common */
html {
  position: relative;
  min-height: 100%;
}

h1 {
  font-size: 28px;
}
h2 {
  font-size: 22px;
  color: #364e96;
  padding: 0.5em 0;
  border-top: solid 3px #364e96;
  border-bottom: solid 3px #364e96;
  background-color: #fff;
}
h3 {
  font-size: 18px;
}

h3.page_anchor {
  padding-top: 60px;
}

body > .container {
  padding-top: 60px;
}

.navbar-brand {
  background-image: url("/img/logo_50.png");
  background-repeat: no-repeat;
  padding-left: 70px;
}

.spacer {
  margin-bottom: 80px;
}

.footer {
  margin-top: 20px;
  background-color: #f5f5f5;
  text-align: center;
}
.footer > .container {
  padding-right: 15px;
  padding-left: 15px;
}

.sticky-header {
  position: sticky;
  top: 60px;
  left: 0;
}

/* index */
.get-app p {
  width: 100%;
  text-align: center;
  margin: 0 10px;
}

.get-app img {
  width: 180px;
}

/* common - share buttons */
#share_buttons {
  text-align: center;
}
#share_buttons table {
  margin: auto;
}
#share_buttons td {
  padding: 2px 15px;
}

/* new_template, new_kora - form */
dt {
  margin-top: 10px;
}

dd {
  padding-left: 10px;
}

input[type=text] {
  width: 100%;
}

input[type=text].small_input {
  width: 10%;
}

input[type=button] {
  margin: 10px 0px;
  width: 100px;
}

label {
  font-weight: normal;
}

textarea {
  width: 100%;
  height: 100px;
}

.form_wrapper {
  border: solid 2px #999;
  padding: 15px;
  max-width: 400px;
  margin: auto;
}

.textbox, .imageholder {
  border: solid 1px #999;
  margin: 5px;
  padding: 2px 15px;
}

#template_image_preview_wrapper, #original_image_preview_wrapper {
  text-align: center;
}

#template_image_preview, #original_image_preview {
  max-width: 200px;
  max-height: 200px;
}

#preview {
  min-height: 30px;
  text-align: center;
}

#preview canvas {
  max-width: 100%;
  max-height: 400px;
}

.imageholder_imagepreview {
  max-width: 100%;
  max-height: 400px;
}

.show_details, .hide_details {
  cursor: pointer;
}

/* view_template, view_kora */
.preview_image {
  text-align: center;
  margin: 10px;
}

.preview_image img {
  max-width: 100%;
}

.new_link {
  text-align: center;
}

.new_link a {
	display: block;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	width: 260px;
	margin: auto;
	padding: 1rem 1rem;
	font-weight: bold;
	border-radius: 0.3rem;
	border-bottom: 7px solid #0686b2;
	background: #27acd9;
	color: #fff;
}
.new_link a:hover {
	margin-top: 6px;
	border-bottom: 1px solid #0686b2;
	color: #fff;
}

/* about */
#about img {
  max-width: 400px;
  width: 80%;
}

/* feed */
.feed {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  width: 100%;
}

.feed-item {
  flex-basis: 300px;
  flex-grow: 2;
  display: flex;
  flex-flow: row wrap;
  height: 260px;
  margin: 2px;
  padding: 2px;

  border: solid 1px #000;
  border-radius: 5px;
}

.feed-item .img-box {
  width: 50%;
  height: 100%;
  line-height: 260px;
  text-align: center;

  #border: solid 1px #f00;
}

.feed-item .img-box img {
  max-width: 100%;
  max-height: 90%;
  vertical-align: middle;
  display: inline-block;
}

.feed-item .description-box {
  max-width: 45%;
  padding: 10px;
}

.feed-item .description-box .header {
  font-weight: bold;
  margin-top: 60px;
}