@import url(font-awesome.min.css);

html {
  font-size: 16pt;
}

header ul.param {
  font-size: 12pt;
  width: 120pt;
  vertical-align: middle;
  line-height: 24pt;
  padding-right: 30px;
}

p, td, img {
  margin: 0;
  padding: 0;
}

body {
  height: 100%;
  margin: 0;
  min-width: 768px;
  background: #252726;
}

img, p, a {
  height: auto;
}

a {
  text-decoration: none;
  outline: 0;
}

table {
  width: 100%;
  height: 100%;
  border-collapse: collapse;
}

/* -- HEADER -- */

header a {
  color: white;
}

header a:hover {
  color: #CCC;
}

header {
  background: black;
  height: 78px;
  width:100%;
}

header {
  width: 100%;
}

header table td {
  color: white;
  font-family: "Trebuchet MS", Helvetica, Jamrul, sans-serif;
/*  font-weight: 700;*/
  vertical-align: top;
  padding-top: 20px;
}

header div#logo{
  vertical-align: top;
  text-align: center;
  white-space: nowrap;
}

header #logo img {
  width: 44%;
  margin: -4px;
}

header nav ul {
  margin:-2px 0 0 36px;
  padding: 0;
  list-style-type: none;
}

header nav li {
  float: left;
  margin: 0 0.5em;
  padding: 0;
  margin-top: 4px;
}

/* -- MAIN -- */

main {
  height: calc(100% - 3.6em);
}

main td {
  text-align: center;
}

main #photo-wrapper {
  position: absolute;
  margin: 25px 7.5%;
  padding: 0;
  width: 85%;
  min-width: 652px;
  height: calc(100% - 76px - 50px);
  text-align: center;
}

main #photo-wrapper img{
  max-height: 100%;
  max-width: 100%;
  background: url(images/loading.gif) 50% no-repeat;
  background-size: 60%;
  width: auto;
  height: auto;
  position: absolute;
  top:0;
  bottom:0;
  left:0;
  right:0;
  margin:auto;
}


main #photo-wrapper div {
  position: absolute;
  max-height: 100%;
  height: 100%;
  width: 30%;
  font-size: 1.4em;
  line-height: 100%;
  z-index: 5;
}

main #photo-wrapper div {
  color: black;
  height: 100%;
  width: 100%;
  font-size: 1em;
  vertical-align: middle;
}

main #photo-wrapper div .fa-inverse {
  font-size: 0.8em;
}

#prev {
  left:0;
  text-align: left;
  padding-left: 15px;
}

main #photo-wrapper div span {
  position: relative;
  top: calc(50% - 1em);
  margin: 0 -72px;
  cursor: pointer;
}

#next{
  right: 0;
  text-align: right;
  padding-right: 15px;
}


@media screen and (max-width: 1680px) {
  html {
    font-size: 12pt;
  }
  header ul.param {
    font-size: 10pt;
    width: 100pt;
  }
}

@media screen and (max-width: 1280px) {
  html {
    font-size: 10.5pt;
  }
  header ul.param {
    font-size: 6.5pt;
    width: 65pt;
  }
}
