﻿html {
  height: 100%;
  min-width: 320px;
  overflow-y: auto;
}

body {
  height: calc(100% - 3px);
  min-width: 320px;
  background-color: #fff;
  background-image: url(../img/backgrounds/bg7.png);
  background-repeat: repeat;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  text-rendering: optimizeLegibility !important;
}

.tooltip {
  text-shadow: none;
  z-index: 9999999;
}

.app-style-list {
  list-style: none;
  margin: 0;
  display: inline-block;
}

.app-style-list:before,
.app-style-list:after {
  display: table;
  line-height: 0;
  content: '';
}

.app-style-list:after {
  clear: both;
}

.app-style-list li {
  margin: 3px;
  float: left;
}

.app-style-list a.thumbnail {
  padding: 4px !important;
  background: white;
  width: auto;
  height: auto;
  margin: auto;
}

.app-style-list a.thumbnail>div {
  width: 20px;
  height: 20px;
}

.btn {
  -webkit-border-radius: 2px;
  border-radius: 2px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.label {
  padding: 2px 10px;
}

.label-success,
.badge-success {
  background-color: #67c268;
}

.transition {
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.layout-body {
  padding-top: 60px;
  position: relative;
}

#wrap {
  height: auto !important;
  margin: 0 auto 10px;
  min-height: 100%;
}

#push,
#footer {
  height: 32px;
}

.tr {
  text-align: right;
}

.gradient-dark-theme {
  background: #444;
  color: #fff;
}

.box-header {
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  cursor: pointer;
  font-size: 11px;
  font-weight: 200;
  letter-spacing: 2px;
  padding: 10px 5px;
  position: relative;
  text-transform: uppercase;
  user-select: none;
}

.box-header i.fas:first-child {
  display: inline-block;
  margin: 0 8px;
  text-align: center;
  width: 20px;
}

.box-header .fa-chevron-down,
.box-header .fa-chevron-up {
  position: absolute;
  right: 10px;
  top: 14px;
}

.box-body {
  -moz-border-radius: 0 0 3px 3px;
  -moz-box-shadow: 0 5px 5px -5px rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 0 0 3px 3px;
  -webkit-box-shadow: 0 5px 5px -5px rgba(0, 0, 0, 0.3);
  box-shadow: 0 5px 5px -5px rgba(0, 0, 0, 0.3);
  border-radius: 0 0 3px 3px;
  background: #fff;
  border-radius: 0 0 3px 3px;
  border-top: 0;
  box-shadow: 0 5px 5px -5px rgba(0, 0, 0, 0.3);
  line-height: 24px;
  padding: 10px 20px;
  position: relative;
}

.login-btn,
.logout-btn {
  background-color: #317eb4;
  color: #fff !important;
  display: block;
  font-size: 11px;
  font-weight: 200;
  letter-spacing: 2px;
  margin: auto;
  padding: 10px 0 !important;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.login-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 !important;
}

.login-btn:hover,
.logout-btn:hover {
  background-color: #3f65ae !important;
  color: #fff !important;
  text-decoration: none !important;
}

.sidebar-nav {
  padding: 9px 0;
}

.brand {
  display: block;
  left: 0;
  line-height: 37px !important;
  margin: auto !important;
  padding: 0 !important;
  position: absolute;
  right: 0;
  text-align: center;
  text-decoration: none;
  width: 100px;
}

.navbar-inverse .navbar-inner {
  -moz-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
  background-color: #444;
  background-image: none;
  border: none;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.navbar .dropdown a {
  line-height: 19px;
}

.navbar .dropdown-menu {
  padding: 12px;
}

.navbar .dropdown-menu ul {
  list-style: none;
  margin: 0;
}

.navbar .dropdown-menu ul li a {
  display: block;
  padding: 3px 20px;
  text-decoration: none;
  white-space: nowrap;
}

.navbar .dropdown-menu ul li a:focus {
  background: #f4f4f4 !important;
  color: #333;
}

.navbar .dropdown-menu ul li a:hover {
  background: #f4f4f4 !important;
  color: #333;
}

.tooltip {
  letter-spacing: 0;
}

.nicolist {
  list-style: none;
  margin: 0;
}

.nicolist,
.nicolist li {
  margin-bottom: 4px !important;
}

.nicolist li {
  border: 1px solid #dbdfe0;
  position: relative;
}

.nicolist h3 {
  margin: 0;
}

.nicolist h3 a {
  display: block;
  font-size: 15px;
  font-weight: 400;
  min-height: 40px;
  padding: 0 20px;
}

.nicolist .content {
  font-size: 13px;
}

.search-query-container {
  position: relative;
}

.search-query-container .search-query {
  margin-bottom: 0;
  padding-left: 27px;
  padding-right: 24px;
  text-align: center;
  width: 50%;
}

.search-query-container .fa-search {
  color: #ccc;
  left: 11px;
  position: absolute;
  top: 3px;
}

.search-query-container .clear-query {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  position: absolute;
  right: 18px;
  top: -2px;
}

ul.event-categories {
  list-style: none;
  margin-bottom: 8px;
  margin-left: 0;
  margin-top: 4px;
}

ul.event-categories>li {
  display: inline-block;
}

ul.event-categories li a {
  background-color: #eee;
  border-radius: 4px;
  color: #08c;
  cursor: pointer;
  display: inline-block;
  margin: 3px;
  padding: 4px 10px;
  text-decoration: none;
  font-weight: 300;
}

ul.event-categories li a.selected,
ul.event-categories li a:hover {
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.search-settings {
  margin-left: 4px;
}

.search-settings-popover {
  cursor: default;
  left: -7px;
  top: 34px;
  width: 245px;
}

input::-moz-focus-inner {
  border: 0 !important;
}

a {
  outline: 0 !important;
}

legend {
  color: #666;
}

@media (min-width: 1310px) {
  .grid-view .thumbnail,
  .cart-item .thumbnail {
    height: 200px;
    width: 200px;
  }
}

@media (min-width: 1050px) and (max-width: 1310px) {
  .grid-view .thumbnail,
  .cart-item .thumbnail {
    height: 150px;
    width: 150px;
  }
}

@media (max-width: 1050px) {
  .grid-view .thumbnail,
  .cart-item .thumbnail {
    height: 100px;
    width: 90%;
  }
}

.grid-view .thumbnail,
.cart-item .thumbnail {
  cursor: pointer;
  display: inline-block;
  line-height: 20px;
  margin: 5px;
  position: relative;
  border: 1px solid #ede;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  padding: 8px;
}

.grid-view .thumbnail .image,
.cart-item .thumbnail .image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  width: 100%;
}

.grid-view li.active a.thumbnail {
  background: #08c;
}

.grid-view .title {
  background: rgba(0, 0, 0, 0.5);
  bottom: 8px;
  left: 8px;
  right: 8px;
  color: #fff;
  letter-spacing: 0;
  padding: 5px;
  position: absolute;
  text-align: center;
}

.grid-view .date {
  color: #ccc;
  font-size: 0.8em;
  margin-right: 10px;
  text-align: center;
}

.list-view .thumbnail {
  -moz-border-radius: none;
  -moz-box-shadow: none;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  -webkit-border-radius: none;
  -webkit-box-shadow: none;
  border: 0;
  border-radius: none;
  box-shadow: none;
  cursor: pointer;
  display: inline-block;
  font-weight: 300;
  line-height: 20px;
  margin: 8px 0;
  padding: 0;
  position: relative;
  width: 100%;
}

.list-view a.thumbnail:hover {
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  background-color: #eee;
  border-color: inherit;
  box-shadow: none;
}

.list-view blockquote {
  margin-bottom: 0;
}

.list-view a {
  text-decoration: none;
}

.list-view .date {
  color: #999;
  float: left;
  padding: 7px 14px 7px 0;
  text-align: center;
}

.list-view .date .day {
  font-size: 32px;
  line-height: 32px;
  width: 38px;
}

.list-view .date .month {
  font-size: 16px;
}

.list-view .event-info {
  color: #999;
  padding: 7px;
}

.list-view .event-info i {
  margin: 1px 3px 0 0;
}

.list-view .title {
  color: #08c;
  font-size: 17px;
  margin-top: 2px;
}

.list-view .meta a:hover {
  text-decoration: underline;
}

.list-view .meta .tags,
.list-view .meta .time {
  display: inline-block;
  margin-right: 10px;
}

.tc,
.grid-view {
  text-align: center;
}

.logout-btn,
.list-view .meta {
  margin-top: 10px;
}

.navbar-fixed-top .navbar-inner,
.search-query-container .datepicker {
  padding: 0;
}

.list-view .description,
.list-view .meta .time {
  font-style: italic;
}

@media (max-width: 979px) {
  .dropdown-menu:before,
  .dropdown-menu:after {
    border: none !important;
    content: none !important;
  }
}

@media (max-width: 767px) {
  #footer {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }
}

.order-actions .dropdown-menu {
  text-align: left;
}

.close-order {
  float: right !important;
  margin-right: 0 !important;
}

.foreign-amount::-webkit-outer-spin-button,
.foreign-amount::-webkit-inner-spin-button,
.amount-to-refund::-webkit-outer-spin-button,
.amount-to-refund::-webkit-inner-spin-button {
  /* display: none; <- Crashes Chrome on hover */
  -webkit-appearance: none;
  margin: 0;
  /* <-- Apparently some margin are still there even though it's hidden */
}

.bck {
  padding: 0 !important;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  width: 100%;
  height: 100%;
  transition: background-image 0.5s;
}