.login {
  font-size: 14px;
  background: #fff;
  -webkit-text-size-adjust: 100%;
  padding-top: 19%;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
}

.login a {
  background: #DFDFDF;
  color: #fff;
  width: 50px;
  height: 50px;
  text-align: center;
  display: block;
  position: absolute;
  right: 20px;
  border-radius: 100%;
  text-decoration: none;
  bottom: 20px;
  font-size: 22px;
  line-height: 50px;
}

@media (min-width: 768px) {
  .login a {
    right: 30px;
    bottom: 30px;
    width: 32px;
    height: 32px;
    line-height: 32px;
    font-size: 18px;
    transition: background 0.5s;
  }
  .login a:hover {
    background-color: #B7B7B7;
  }
}

.login form {
  background: url(../vectors/logo.svg) no-repeat center top;
  background-size: 85px;
  text-align: center;
  width: 100%;
  font-size: 15px;
  box-sizing: border-box;
  padding: 130px 11% 0 11%;
}

.login form * {
  border-radius: 4px;
  border: 0;
  font-family: inherit;
  display: block;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .login form {
    background-color: #fff;
    box-shadow: 0px 3px 4px 0px #E6E6E6;
    border-radius: 5px;
    padding: 135px 30px 30px;
    width: 310px;
    background-size: 75px;
    background-position-y: 30px;
    font-size: 14px;
  }
}

.login input {
  background: #F3F3F3;
  padding: 12px;
  transition: border-color 0.3s;
  margin-bottom: 10px;
  font-size: inherit;
  border: 2px solid #F3F3F3;
  text-align: left;
  -webkit-appearance: none;
}

.login input:focus {
  outline: none;
  border-color: #69D2E7;
}

.login input.wrong {
  border-color: #FF851B;
}

@media (min-width: 768px) {
  .login input {
    padding: 11px;
    margin-bottom: 15px;
  }
}

.login button {
  background: #69D2E7;
  margin-top: 10%;
  color: #fff;
  font-size: inherit;
  text-align: center;
  padding: 19px 0;
  font-weight: 600;
}

.login button:focus {
  background: #5BB5C7;
  outline: none;
}

.login button:hover {
  background: #000;
}

@media (min-width: 768px) {
  .login button {
    padding-top: 17px;
    padding-bottom: 17px;
    margin-top: 40px;
    cursor: pointer;
    transition: background 0.5s;
  }
}

.login .shake {
  animation: shake 1s both;
}

@media (min-width: 768px) {
  .login {
    height: 100vh;
    width: 100vw;
    background: #F0F0F0;
    display: flex;
    align-items: center;
    padding: 0;
    justify-content: center;
  }
}

@keyframes shake {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translate3d(-10px, 0, 0);
  }
  20%, 40%, 60%, 80% {
    transform: translate3d(10px, 0, 0);
  }
}

::selection {
  background: #4FC8E7;
}

::-moz-selection {
  background: #4FC8E7;
}

::-webkit-details-marker {
  display: none;
}

*:focus {
  outline: none;
}

body {
  background: #F1F1F1;
  margin: 0;
  color: #000;
  -webkit-font-smoothing: antialiased;
  font-family: 'Roboto', sans-serif;
  user-select: none;
  -webkit-touch-callout: none;
}

@media (min-width: 992px) {
  body {
    padding-top: 55px;
  }
  body.admin {
    background-image: linear-gradient(#ECECEC, #ECECEC), linear-gradient(#EAEAEA, #EAEAEA);
    background-image: -webkit-linear-gradient(#ECECEC, #ECECEC), -webkit-linear-gradient(#EAEAEA, #EAEAEA);
    background-size: 940px 50%, 100% 50%;
    background-repeat: no-repeat;
    background-position: center bottom, left top;
    background-attachment: fixed;
  }
}

a {
  text-decoration: none;
  color: inherit;
}

input {
  border: 0;
  border-radius: 0;
}

input[type='checkbox'] {
  width: 20px;
  height: 20px;
  background: #F8F8F8;
  -webkit-appearance: none;
  padding: 0;
  margin: 0;
  position: relative;
  cursor: pointer;
}

input[type='checkbox']:after {
  content: '\2713';
  position: absolute;
  font-size: 20px;
  top: -2px;
  left: 2px;
  display: block;
  color: #545454;
  opacity: 0;
}

input[type='checkbox']:checked:after {
  opacity: 1;
}

select {
  font-size: inherit;
}

[contenteditable], #title h1 {
  user-select: text;
}

.no-scroll {
  overflow: hidden;
  height: 100%;
}

.inner {
  padding: 0 20px;
}

.inner:after {
  content: '';
  clear: both;
  display: table;
  visibility: hidden;
}

.box {
  background: #FFF;
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.07);
  border-radius: 4px;
  overflow: hidden;
  color: #505050;
  margin-bottom: 25px;
}

.box:last-child {
  margin-bottom: 0;
}

.box[open] summary {
  border-bottom: 1px solid #EEE;
  box-sizing: border-box;
  background: #F9F9F9;
}

.box[open] summary:after {
  transform: rotate(0deg);
  background-position-x: right;
}

@media (min-width: 768px) {
  .box[open] summary {
    background: #fff;
    border: 0;
  }
}

.box > p {
  font-size: 14px;
  color: #919191;
  padding: 15px;
}

@media (min-width: 992px) {
  .box > p {
    padding: 15px;
    font-size: 13px;
    line-height: 19px;
  }
}

.box summary {
  font-size: 14px;
  font-weight: 500;
  padding: 15px;
  color: #000;
  background: #FFF;
  transition: 0.5s background;
  -webkit-transition: 0.5s background;
  position: relative;
}

.box summary:after {
  content: '';
  width: 20px;
  display: inline-block;
  height: 47px;
  background: url(../vectors/up.svg) no-repeat left center;
  transform: rotate(180deg);
  position: absolute;
  right: 15px;
  top: 0;
}

.box summary p {
  font-size: 12px;
  line-height: 23px;
  margin: 0;
}

@media (min-width: 992px) {
  .box summary {
    cursor: move;
  }
}

.box table {
  border-spacing: 0;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .box table {
    margin: 0;
  }
}

.box .fields td {
  display: block;
  padding: 0 15px;
}

.box .fields td:first-child {
  font-weight: 700;
  padding: 30px 15px 17px;
  font-size: 12px;
}

@media (min-width: 768px) {
  .box .fields td {
    display: table-cell;
    border-top: 1px solid #F6F6F6;
    padding: 0;
  }
  .box .fields td:first-child {
    background: #F6F6F6;
    color: #919191;
    font-size: 13px;
    padding: 20px;
    width: 180px;
    border-color: #EDEDED;
    vertical-align: top;
    text-align: left;
  }
}

.box .fields tr:first-child td:first-child {
  border-top-color: #EEE;
}

.box .filter {
  width: 100%;
  padding: 15px;
  font-size: 14px;
  margin-bottom: 10px;
  color: #000;
}

.box .filter td {
  padding: 6px 0;
}

.box .filter td:last-child {
  text-align: right;
}

.box .filter select {
  -webkit-appearance: none;
  background: none;
  border: 0;
  border-radius: 0;
  color: #949494;
  direction: rtl;
  display: inline-block;
  background: url(../vectors/down.svg) no-repeat right center;
  padding-right: 20px;
  cursor: pointer;
  background-size: 10px;
}

.box .filter select:hover {
  opacity: .6;
}

.box .button {
  margin-bottom: 15px;
  margin-right: 15px;
  float: right;
}

.box .visits {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.box .visits span {
  display: block;
}

@media (min-width: 768px) {
  .box .visits span {
    position: relative;
  }
  .box .visits span b {
    display: block;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 11px;
    text-align: center;
    font-weight: 100;
    padding: 5px 15px;
    border-radius: 4px;
    position: absolute;
    top: -28px;
    z-index: 4000;
    transition: opacity 0.4s;
    opacity: 0;
  }
  .box .visits span:hover b {
    opacity: 1;
  }
}

.box .visits aside {
  width: 105px;
  padding-bottom: 35px;
}

.box .visits aside span {
  color: #909090;
  font-size: 12px;
  border-bottom: 1px dashed #E4E4E4;
  padding: 30px 0 5px 15px;
}

.box .visits section {
  height: 200px;
  direction: rtl;
  padding-right: 15px;
  white-space: nowrap;
  overflow-y: hidden;
  overflow-x: scroll;
  padding-top: 20px;
  -webkit-user-select: none;
  user-select: none;
}

.box .visits section b {
  display: none;
}

.box .visits section span {
  background: #9DB4F8;
  width: 25px;
  margin: 0 7.5px;
  display: inline-block;
}

.box .visits section span:last-child {
  margin-right: 0;
}

.box .updated {
  font-size: 13.5px;
  color: #000;
  width: 100%;
  padding: 0 15px;
  margin: 15px 0;
}

.box .updated a {
  display: inline-block;
  background: url(../vectors/file.svg) no-repeat left center;
  padding-left: 35px;
  background-size: 13px;
}

.box .updated td {
  padding: 8px 0;
}

.box .updated td:last-child {
  font-size: 12px;
  color: #909090;
  text-align: right;
}

.box .empty {
  text-align: center;
  padding: 50px 55px;
}

.box .empty p {
  font-size: 14px;
  margin: 0;
  color: #8C8C8C;
}

@media (min-width: 768px) {
  .box .empty p {
    font-size: 15px;
  }
}

@media (min-width: 768px) {
  .box {
    margin-bottom: 35px;
    border-radius: 2px;
  }
  .box p {
    font-size: 14px;
    padding: 20px;
    line-height: 19px;
    margin: 10px 0;
  }
}

.list {
  background: #FFF;
  width: 100%;
  border-spacing: 0;
  text-align: left;
  font-size: 14px;
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.07);
  border-radius: 4px;
}

.list td {
  display: none;
  vertical-align: top;
  padding: 15px 0;
}

.list td:first-child {
  padding-left: 15px;
}

.list td:nth-child(1), .list td:nth-child(2) {
  display: table-cell;
}

@media (min-width: 768px) {
  .list td:nth-child(3), .list td:nth-child(4) {
    display: table-cell;
  }
  .list td:nth-child(4) {
    width: 160px;
  }
}

@media (min-width: 992px) {
  .list td {
    display: block;
  }
}

.list tbody tr {
  height: 70px;
}

.list tbody tr:nth-child(odd) {
  background: #F9F9F9;
}

.list tbody tr:nth-child(odd) input[type='checkbox'] {
  background: #F1F1F1;
}

.list tbody td {
  color: #5E5E5E;
}

.list thead td,
.list tfoot td {
  font-weight: 600;
  padding: 11px 0;
  vertical-align: middle;
}

.list a {
  color: #17a9ec;
}

.list ul {
  list-style: none;
  margin: 7px 0 0;
  padding: 0;
  font-size: 0;
}

@media (min-width: 992px) {
  .list ul {
    visibility: hidden;
  }
}

.list li {
  display: inline;
  font-size: 14px;
}

.list li a {
  font-weight: normal;
}

.list li a:hover {
  opacity: .7;
}

.list li:not(:last-child):after {
  content: '\007C';
  color: #0088ff;
  opacity: .5;
  margin: 0 5px;
}

.list .title {
  font-weight: 600;
}

.list .delete a {
  color: #FF4136;
}

@media (min-width: 992px) {
  .list {
    border-radius: 2px;
  }
  .list tr:hover ul {
    visibility: visible;
  }
}

.button {
  color: #FFF;
  background: #69D2E7;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 29px;
  display: inline-block;
  transition: 0.4s background;
}

.button.warning {
  background: #E78469;
}

.button.warning:hover {
  background: #a25d4a;
}

#chest {
  background: #fff;
}

#chest nav {
  padding: 0 20px;
  border-bottom: 1px solid #F1F1F1;
  display: none;
  padding-top: 20px;
  padding-bottom: 20px;
}

#chest nav a {
  display: block;
  font-size: 14.5px;
  padding: 7px 0;
  margin: 4px 0;
}

#chest nav .active {
  color: #A0A0A0;
}

@media (min-width: 768px) {
  #chest nav a {
    font-size: 15.5px;
    padding: 10px 0;
    margin: 6px 0;
  }
}

@media (min-width: 992px) {
  #chest nav {
    border: 0;
    display: block !important;
    padding: 0;
    float: right;
  }
  #chest nav a {
    display: inline-block;
    margin: 0;
    font-size: 14px;
    color: #282828;
    line-height: 55px;
    padding: 0 20px;
  }
  #chest nav .active {
    color: #282828;
    background: #EAEAEA;
  }
}

#chest .inner {
  padding: 0;
}

#chest .inner > a {
  height: 50px;
  width: 70px;
  display: block;
}

@media (min-width: 768px) {
  #chest .inner > a {
    height: 60px;
  }
}

@media (min-width: 992px) {
  #chest .inner .toggle {
    display: none;
  }
  #chest .inner .logo {
    height: 55px;
    width: 55px;
    background-size: 34px;
    background-position-x: left;
  }
}

#chest .logo {
  float: left;
  background: url(../vectors/logo.svg) no-repeat center center;
  background-size: 30px;
}

#chest .toggle {
  float: right;
  text-align: center;
  line-height: 50px;
}

#chest .toggle span {
  display: inline-block;
  vertical-align: middle;
}

#chest .toggle b {
  display: block;
  background: #000;
  height: 2px;
  width: 26px;
  transition: 0.3s all;
}

#chest .toggle b:nth-child(2) {
  margin: 3px 0;
  transition-duration: 0.2s;
}

#chest .toggle.on b:nth-child(1) {
  transform: rotate(45deg);
  margin-bottom: -5px;
}

#chest .toggle.on b:nth-child(2) {
  opacity: 0;
}

#chest .toggle.on b:nth-child(3) {
  transform: rotate(-45deg);
  margin-top: -5px;
}

@media (min-width: 768px) {
  #chest .toggle {
    line-height: 60px;
  }
}

@media (min-width: 992px) {
  #chest {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid #EAEAEA;
  }
}

#title {
  background: #EAEAEA;
}

#title h1 {
  font-weight: 300;
  margin: 0;
  font-size: 20px;
  padding: 31px 20px;
}

@media (min-width: 768px) {
  #title h1 {
    padding-top: 38px;
    padding-bottom: 38px;
  }
}

@media (min-width: 992px) {
  #title h1 {
    padding: 35px 0;
    font-size: 25px;
  }
}

#title nav {
  padding: 0 20px;
  text-align: right;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overflow-x: scroll;
  white-space: nowrap;
}

#title nav a {
  background: #E4E4E4;
  text-align: center;
  color: #7C7C7C;
  font-size: 12px;
  padding: 8px 17px;
  display: inline-block;
  margin: 0 6px;
}

#title nav a:first-child {
  margin-left: 0;
}

#title nav a:last-child {
  margin-right: 0;
}

#title nav .current {
  background: #F1F1F1;
  color: #000;
  border-top: 2px solid #E3E3E3;
  border-left: 2px solid #E3E3E3;
}

@media (min-width: 768px) {
  #title nav {
    position: absolute;
    right: 0;
    bottom: 0;
  }
  #title nav a {
    padding: 10px 19px;
    font-size: 13px;
    margin: 0 8px;
  }
}

@media (min-width: 992px) {
  #title nav {
    padding: 0;
  }
}

#title .inner {
  padding: 0;
  position: relative;
}

#title .inner > a {
  width: 32px;
  height: 32px;
  background: #E2E2E2;
  color: #B4B4B4;
  display: block;
  border-radius: 100%;
  line-height: 35px;
  text-align: center;
  font-size: 25px;
  position: absolute;
  right: 20px;
  top: calc(50% - 16px);
}

@media (min-width: 992px) {
  #title .inner > a {
    right: 0;
    height: 35px;
    width: 35px;
    top: calc(50% - 17.5px);
    transition: all 0.4s;
  }
  #title .inner > a:hover {
    background: #D8D8D8;
    color: #9E9E9E;
    transform: rotate(180deg);
  }
}

#belly {
  min-height: calc(100vh - 188px);
}

@media (min-width: 768px) {
  #belly {
    min-height: calc(100vh - 130px);
  }
}

@media (min-width: 992px) {
  #belly {
    min-height: calc(100vh - 125px);
    background: #F1F1F1;
  }
}

#content {
  padding: 40px 20px;
}

#content > aside {
  margin-bottom: 25px;
}

#content > aside:last-child {
  margin-bottom: 0;
}

@media (min-width: 992px) {
  #content > aside {
    margin: 0;
  }
}

#content > .message {
  background: #57ddff;
  color: #fff;
  margin: 0 0 40px;
  padding: 15px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 3px;
}

#content > .message.success {
  background: #57E89B;
}

@media (min-width: 768px) {
  #content {
    padding-top: 45px;
    padding-bottom: 65px;
  }
  #content > aside {
    margin-bottom: 35px;
  }
}

@media (min-width: 992px) {
  .index #content {
    display: flex;
  }
  .index #content > aside {
    width: 50%;
    padding: 0 12.5px;
  }
  .index #content > aside:first-child {
    padding-left: 0;
  }
  .index #content > aside:last-child {
    padding-right: 0;
  }
  .index #content .box {
    margin-bottom: 25px;
  }
  .index #content, .media #content {
    display: flex;
    justify-content: space-between;
  }
}

#files {
  margin: 35px -5px 0 -5px;
  padding: 0;
}

#files:after {
  content: '';
  clear: both;
  display: block;
  visibility: hidden;
}

#files li {
  width: 25%;
  float: left;
  display: block;
  padding: 5px;
  box-sizing: border-box;
}

#files li figure {
  display: block;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-sizing: border-box;
  margin: 0;
  border: 1px solid #DADADA;
}

#files li figure:before {
  content: '';
  display: block;
  padding-top: 100%;
}

#files li figure figcaption {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 1;
  transition: opacity 1s ease;
  opacity: 0;
}

#files li figure figcaption span {
  background: #FF4136;
  display: block;
  height: 10px;
  transition: width 0.4s ease;
}

#files li img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

@media (min-width: 768px) {
  #files {
    margin-left: -10px;
    margin-right: -10px;
  }
  #files li {
    width: 20%;
    padding: 10px;
  }
}

@media (min-width: 992px) {
  #files {
    order: 1;
    margin-top: -10px;
    width: 600px;
  }
}

#sidebar .box p {
  margin: 0;
}

#sidebar .box summary:after {
  display: none;
}

@media (min-width: 768px) {
  #sidebar .box summary {
    background: #F9F9F9;
  }
}

@media (min-width: 992px) {
  #sidebar {
    order: 2;
    width: 280px;
  }
  #sidebar .box {
    position: sticky;
    position: -webkit-sticky;
    top: 121px;
  }
  #sidebar .box summary {
    cursor: default;
  }
  #sidebar .box:nth-child(2) {
    top: 234px;
  }
}

#ass {
  background: #ECECEC;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  padding: 20px;
  text-align: center;
  margin: 0 20px;
}

#ass a {
  width: 50px;
  height: 50px;
  display: inline-block;
  background: url(../vectors/logo.svg) no-repeat center center;
  background-size: 100% auto;
  opacity: .1;
}

#ass p {
  color: #AFAFAF;
  font-size: 14px;
}

#ass span {
  display: inline-block;
}

#ass .inner {
  padding: 0;
}

@media (min-width: 768px) {
  #ass a {
    float: left;
    width: 37px;
    height: 30px;
  }
  #ass p {
    float: right;
    text-align: right;
    margin: 0;
    line-height: 30px;
  }
}

@media (min-width: 992px) {
  #ass {
    padding: 0;
    margin: 0;
    background: #F1F1F1;
    border-radius: 0;
  }
  #ass .inner {
    background: #ECECEC;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    padding: 20px;
    box-sizing: border-box;
  }
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #F1F1F1;
  z-index: 2000;
  overflow: scroll;
  display: none;
  -webkit-overflow-scrolling: touch;
}

#overlay.open {
  display: block;
}

#overlay section {
  box-sizing: border-box;
}

@media (min-width: 992px) {
  #overlay {
    background: rgba(0, 0, 0, 0.8);
    padding: 40px;
    box-sizing: border-box;
    height: 100vh;
  }
  #overlay > aside {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
  }
  #overlay section {
    background: #F1F1F1;
    width: 100%;
    height: calc(100% - 99px);
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    padding: 65px 35px 0;
    overflow: scroll;
  }
  #overlay .inner {
    width: auto;
    padding: 0 35px;
  }
  #overlay #sidebar {
    width: 27%;
    min-width: 280px;
    margin-left: 30px;
    max-width: 350px;
  }
  #overlay #sidebar .box {
    position: relative;
    top: auto;
  }
  #overlay #files {
    width: 100%;
  }
  #overlay #files:after {
    height: 65px;
  }
  #overlay #files li {
    width: 115px;
  }
  #overlay #title .inner > a {
    right: 35px;
  }
}

@media (min-width: 992px) {
  #content,
  .inner {
    width: 940px;
    margin: auto;
    padding-left: 0;
    padding-right: 0;
  }
}

.pl-uploader {
  display: none;
}

.dz-open .pl-uploader {
  display: block;
}

.pl-uploader [id*="dropzone"] {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: #4FC8E7;
  z-index: 2500;
}

.pl-uploader [id*="dropzone"] section {
  border: 2px dashed white;
  height: calc(100vh - 50px);
  width: calc(100vw - 50px);
  margin: 25px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  display: flex;
}

.pl-uploader [id*="dropzone"] h1 {
  color: #fff;
  font-size: 32px;
}
