body
{
  overflow-y: scroll;
}
.card footer:after,
.card:after,
.input-group:after
{
  content: "";
  display: table;
  clear: both;
}
button,
.button
{
  font-size: 1em;
  font-weight: bold;
  text-transform: uppercase;
  padding: 0 16px;
  border: 0;
  cursor: pointer;
  line-height: 36px;
}
.card
{
  border: 1px solid;
  display: block;
}
.card,
button,
.button
{
  z-index: 2;
  border-radius: 3px;
  position: relative;
  box-shadow: 0 2px 5px rgba(0,0,0,.12),
              0 2px 6px rgba(0,0,0,.24);
}

.btn-tag
{
  background: #f5f5f5;
  color: #ff9300;
  margin-right: 4px;
}

.dialog
{
  z-index: 24;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
}
.dialog,
.dialog > .grid
{
  height: 0;
}
.dialog .grid > [class*="col-"]
{
  margin-bottom: 300px;
}
.card.up,
.dialog .card,
button:active,
button:hover,
button:focus,
.button:active,
.button:hover,
.button:focus
{
  box-shadow: 0 11px 25px rgba(0,0,0,.25),
              0  8px  8px rgba(0,0,0,.22);
}
.card.up,
button:active,
button:hover,
button:focus,
.button:active,
.button:hover,
.button:focus
{
  z-index: 8;
}
button.action,
.button.action
{
  z-index: 6;
  border-radius: 2px;
  position: relative;
  box-shadow: 0 10px 20px rgba(0,0,0,.19),
              0 6px   6px rgba(0,0,0,.23);
}
button.action:active,
.button.action:active
{
  z-index: 12;
  box-shadow: 0 19px 38px rgba(0,0,0,.30),
              0 15px 12px rgba(0,0,0,.22);
}
.flat,
.flat:hover,
.flat:focus,
.flat:active
{
  box-shadow: none;
}
button.link,
.button.link
{
  padding: 0;
}
button.link,
button.link:hover,
button.link:focus,
button.link:active,
.button.link,
.button.link:hover,
.button.link:focus,
.button.link:active
{
  box-shadow: none;
  background: transparent !important;
}
.content
{
  padding: 16px;
}
@media(min-width:1440px)
{
  .content-l{padding:16px}
}
@media(min-width:1024px) and (max-width:1439px)
{
  .content-m{padding:16px}
}
@media(min-width:480px) and (max-width:1023px)
{
  .content-s{padding:16px}
}
@media(max-width:479px)
{
  .content-xs{padding:16px}
}
.card footer
{
  margin: 8px 16px 16px;
}
.card footer button,
form footer button,
.card footer .button,
form footer .button
{
  float: right;
  margin-left: 16px;
}
.card header
{
  margin: -1px;
  border-top-left-radius:  3px;
  border-top-right-radius: 3px;
  overflow: hidden;
}
.card header .content
{
  padding: 24px 16px;
}
.card header + *
{
  margin-top: 8px;
}
label
{
  position: relative;
  color: transparent;
  margin: 16px 0;
  font-size: .8em;
  display: block;
}
label.bigger
{
  font-size: 1.3em;
}
label .important
{
  float: right;
}
select,
textarea,
*[contentEditable],
input[type="text"],
input[type="number"],
input[type="datetime-local"],
input[type="password"],
input[type="email"],
input[type="tel"]
{
  cursor: text;
  width: 100%;
  min-height: 2.35em;
  display: inline-block;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid rgba(0,0,0,.3);
  background: transparent;
  font-size: 1.3em;
  overflow: hidden;
  resize: none;
}
select
{
  cursor: pointer;
}
textarea
{
  border: 1px solid rgba(0,0,0,.3);
  min-height: 5em;
  overflow-y: scroll;
}
textarea.styled
{
  overflow-y: auto;
  padding-left: 5px;
  padding-right: 5px;
  font-size: 0.77em;
}
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"]
{
  text-overflow: ellipsis;
  white-space: nowrap;
}
input[type="radio"]
{
  float: left;
  margin: 6px 8px 0 0;
}
*[contentEditable="false"],
textarea[disabled],
input[disabled]
{
  cursor: not-allowed;
}
/*
[contentEditable]:empty:before
{
  content: attr(placeholder);
}
*/
[contentEditable]:before
{
  content: attr(placeholder);
  position: absolute;
}
.has-input [contentEditable]:before
{
  content: '';
}
.input-group
{
  position: relative;
  padding: 0 16px;
  margin: 16px 0;
  border: 1px solid;
}
.input-group .input-group__control
{
  position: absolute;
  right: 0;
  margin: 8px 16px;
  top: 0;
}
.input-group .input-group__control button,
.input-group .input-group__control .button
{
  padding-right: 0;
  padding-left: 0;
  margin: 0 0 1px 16px;
}
.options
{
  z-index: 12;
  background: #fff;
  border-right: 1px solid rgba(0,0,0,.3);
  border-left: 1px solid rgba(0,0,0,.3);
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  overflow: hidden;
  height: 0;
  opacity: 0;
  display: block;
  margin-bottom: 24px;
}
.options.active
{
  height: auto;
  opacity: 1;
}
.options__option
{
  border-bottom: 1px solid;
  display: block;
  padding: 8px 12px;
  cursor: pointer;
}
body > header
{
  margin-bottom: 24px;
}
body > footer
{
  margin: 24px 0;
}
body > nav
{
  position: fixed;
  top: 0;
  bottom: 0;
  left: -240px;
  width: 240px;
  z-index: 16;
  border-right: 1px solid;
  overflow-y: auto;
}
body > .overlay
{
  z-index: 16;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,.5);
  cursor: pointer;
}
body > nav.active
{
  left: 0;
}
body > nav > header
{
  border-bottom: 1px solid;
}
body > header [class*="col-"]
{
  padding-top: 0;
  padding-bottom: 0;
}
body > header h2
{
  float: left;
}
body > header button.menu,
body > header .button.menu
{
  margin-right: 16px;
  margin-left: 0;
}
body > header button,
body > header .button
{
  float: left;
  margin-left: 16px;
  margin-top: 4px;
  font-size: 24px;
  padding-right: 0;
  padding-left: 0;
}
body > header menu
{
  float: right;
  margin: 0;
}
@media(min-width:1440px)
{
  body > header button.menu,
  body > header .button.menu
  {
    display: none;
  }
  body > nav
  {
    left: 0;
  }
  body
  {
    position: relative;
    margin-left: 240px;
  }
}
body > nav > ul
{
  margin: 16px 0 0;

  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
body > nav > ul > li
{
  font-weight: bold;
  cursor: pointer;
  padding: 8px 16px;
}
body > nav > ul > li li
{
  font-weight: normal;
}
body > nav > ul > li > ul
{
  display: none;
}
body > nav li a
{
  display: block;
  padding: 8px 32px;
  margin-right: -16px;
  margin-left: -16px;
}
body > nav > ul > li > a
{
  padding: 0;
  margin: 0;
}
body > nav li.active > ul
{
  display: block;
}
body > nav li.active > ul > li:first-child
{
  margin-top: 16px;
}
.note
{
  border-left: 8px solid;
  padding: 0 16px;
  margin-bottom: 24px;
}
.dropdown
{
  position: relative;
}
.dropdown:after
{
  content: "";
  display: table;
  clear: both;
}
.dropdown__menu
{
  top: 100%;
  position: absolute;
  overflow: hidden;
  height: 0;
  opacity: 0;
  z-index: 12;
  white-space: nowrap;
  margin-top: 8px;
  border: 1px solid;
  border-radius: 3px;
  box-shadow: 0 0 0 transparent,
              0 0 0 transparent;
}
.dropdown__menu.left
{
  right: 0;
}
.dropdown__menu.active
{
  height: auto;
  padding: 8px 12px;
  opacity: 1;
  box-shadow: 0 2px 5px rgba(0,0,0,.12),
              0 2px 6px rgba(0,0,0,.24);
}
.dropdown__menu.active:hover,
.dropdown__menu.active:focus
{
  box-shadow: 0 11px 25px rgba(0,0,0,.25),
              0  8px  8px rgba(0,0,0,.22);
}
img.responsive
{
  max-width: 100%;
  display:block;
  height: auto;
}
.pagination li
{
  /*
  display: inline-block;
  */
  margin-right: 8px;
  float: left;
}
