* {
  outline: none;
}
body {
  color: #000;
  margin: 0;
  padding: 0;
  background: #666 url(../img/background.jpg);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
p,
h1 {
  margin-top: 0;
  margin-bottom: 12px;
}
img {
  border: 0;
  max-width: 100%;
}
.normal {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}
.heading {
  font-family: 'lgRegular', sans-serif;
  letter-spacing: 1px;
  font-size: 24px;
  color: #f14c32;
}
a:link,
a:visited {
  color: #f14c32;
  text-decoration: none;
}
a:hover,
a:active {
  color: #1db8a8 !important;
  text-decoration: none;
}
.container {
  position: relative;
  margin: 0 auto;
  max-width: 940px;
  min-width: 320px;
  padding: 10px;
  background: #FFF;
}
@media screen and (max-width: 960px) {
  .container {
    padding: 0;
  }
}
.container .header {
  position: relative;
}
.container .header .menu-btn {
  cursor: pointer;
  display: none;
  position: absolute;
  box-sizing: border-box;
  top: 2vw;
  bottom: 2vw;
  right: 2vw;
  padding: 1vw 1vw 0 1vw;
  border: 1px solid #ccc;
  background-color: #666;
  color: #fff;
  font-size: 15px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.container .nav-container {
  display: block;
}
.container .nav-container .nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}
.container .nav-container .nav li {
  list-style-type: none;
}
.container .nav-container .nav li a {
  display: inline-block;
  padding: 5px;
  color: #000;
  text-decoration: none;
  font-size: 21px;
  white-space: nowrap;
}
@media screen and (max-width: 550px) {
  .container .nav-container .nav li a {
    padding: 1px 35px;
  }
}
@media screen and (max-width: 500px) {
  .container .nav-container .nav li a {
    padding: 1px 25px;
  }
}
@media screen and (max-width: 420px) {
  .container .nav-container .nav li a {
    padding: 1px 19px;
  }
}
@media screen and (max-width: 360px) {
  .container .nav-container .nav li a {
    padding: 1px 14px;
  }
}
.container .nav-container .nav li.active > a {
  color: #1db8a8;
}
@media screen and (max-width: 550px) {
  .container .header {
    position: relative;
  }
  .container .nav-container .nav {
    justify-content: center;
  }
}
.container .content {
  padding: 25px;
}
@media screen and (max-width: 550px) {
  .container .content {
    padding: 10px;
  }
}
.container .footer {
  margin-top: 30px;
  font-size: 10px;
  color: #999;
  text-align: center;
}
div.divider {
  height: 6px;
  text-align: center;
  background: url(../img/divider.gif);
}
div.divider-sm {
  height: 1px;
  text-align: center;
  background: url(../img/divider.gif);
}
div.divider-line {
  text-align: center;
  background: url(../img/line_h.gif) center repeat-x;
}
.fancydate {
  font-family: 'lgRegular', sans-serif;
  letter-spacing: 1px;
}
.fancydate .m {
  font-size: 14px;
  line-height: 14px;
}
.fancydate .d {
  font-size: 26px;
  line-height: 26px;
}
.fancydate .y {
  font-size: 12px;
  line-height: 12px;
}
/* pagination */
div.pagination {
  position: relative;
  margin: 6px;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
}
div.pagination > * {
  display: flex;
  align-items: center;
  margin: 0 10px;
}
div.pagination > *:first-child {
  flex: 1 0 auto;
}
div.pagination .prevnext svg {
  padding: 2px 5px;
}
div.pagination .prevnext.disabled {
  user-select: none;
  color: #ddd;
}
div.pagination .back svg {
  padding: 0 4px;
}
div.pagination .category {
  color: #999;
}
div.pagination .category select {
  margin-left: 0.5em;
  font-size: 14px;
}
/* gallery list view */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.gallery a.folder {
  display: block;
  position: relative;
  width: 202px;
  height: 262px;
  padding: 16px;
  text-align: center;
  background: #FFF url(../img/folder_frame.gif) no-repeat;
}
.gallery a.folder:link,
.gallery a.folder:visited {
  color: #000;
  text-decoration: none;
}
.gallery a.folder:hover,
.gallery a.folder:active {
  color: #1db8a8;
  text-decoration: none;
}
.gallery a.folder div.image {
  border: 1px solid #e1e0e0;
  width: 190px;
  height: 210px;
  padding: 5px;
  text-align: center;
}
.gallery a.folder div.image img {
  max-width: 100%;
  max-height: 100%;
}
.gallery a.folder div.title {
  margin-top: 4px;
  font-size: 16px;
  overflow: hidden;
}
.gallery a.folder div.category {
  position: absolute;
  left: 20px;
  bottom: 20px;
  font-size: 8px;
  color: #f14c32;
}
.gallery a.folder div.band {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  text-align: center;
  font-size: 8px;
  color: #f14c32;
}
.gallery a.folder div.date,
.gallery a.folder div.count {
  position: absolute;
  right: 20px;
  bottom: 20px;
  font-size: 8px;
  color: #000;
}
/* gallery single item */
div.credit {
  color: #999;
  font-size: 12px;
  position: absolute;
  left: 30px;
}
@media screen and (max-width: 500px) {
  div.credit {
    margin-top: -15px;
    left: 10px;
  }
}
div.date {
  color: #999;
  font-size: 12px;
  position: absolute;
  right: 30px;
}
@media screen and (max-width: 500px) {
  div.date {
    margin-top: -15px;
    right: 10px;
  }
}
div.category {
  color: #f14c32;
  font-size: 16px;
  text-align: center;
}
h1.name {
  color: #1db8a8;
  font-size: 24px;
  font-weight: normal;
  text-align: center;
}
div.description {
  margin: auto;
  max-width: 600px;
  text-align: center;
}
.photos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.photos a.image {
  display: table-cell;
  vertical-align: middle;
  float: left;
  border: 1px solid #e1e0e0;
  width: 190px;
  height: 210px;
  padding: 5px;
  text-align: center;
  margin: 16px;
}
.photos a.image img {
  max-width: 100%;
  max-height: 100%;
}
.contact {
  display: flex;
}
.contact .contact-form {
  min-width: 500px;
  margin-left: 40px;
}
.contact .contact-form table {
  width: 100%;
  margin: -6px;
}
.contact .contact-form table td {
  padding: 6px;
}
.contact .contact-form table td.label {
  text-align: right;
  vertical-align: top;
  padding-top: 14px;
}
.contact .contact-form table td.label label {
  font-size: 15px;
}
.contact .contact-form input,
.contact .contact-form textarea {
  width: 100%;
  padding: 6px;
  margin: 0;
  font-size: 13px;
  font-family: Helvetica, Arial, sans-serif;
  background: url(../img/hash_gray.gif);
  border: 1px solid #000;
  box-sizing: border-box;
}
.contact .contact-form .send {
  position: relative;
  cursor: pointer;
  border: none;
  width: 55px;
  height: 22px;
  background-color: #fff;
}
.contact .contact-form .send svg {
  position: absolute;
  top: 0;
  left: 0;
  color: #f14c32;
}
.contact .contact-form .send span {
  position: relative;
  z-index: 1;
  font-size: 18px;
  color: #FFF;
}
.contact .contact-form .send:hover svg {
  color: #1db8a8;
}
.contact .contact-form .send:hover span {
  color: #000;
}
.contact .contact-form label.error {
  position: absolute;
  display: block;
  width: auto;
  padding: 0 5px;
  margin-left: 5px;
  margin-top: -5px;
  font-size: 10px;
  color: #FFF;
  background: #C00 !important;
  border: 0 !important;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
@media screen and (max-width: 750px) {
  .contact {
    flex-wrap: wrap;
  }
  .contact .contact-form {
    min-width: 100%;
    margin: 0 -10px;
  }
}
