@CHARSET "UTF-8";

@import url(//fonts.googleapis.com/css?family=Open+Sans:400,700);

body {
  background: #fff;
  color: #666;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 11pt;
}

.crumbs {
  padding: 8px 0;
  border-bottom: 1px solid #aaa;
}

.crumbs a, .crumbs span {
  display: inline-block;
  margin: 0 10px;
  text-decoration: none
}

.crumbs a:after, .crumbs span:after {
  content: '>';
  display: inline-block;
  margin-left: 10px;
}

.crumbs a:last-child:after, .crumbs span:last-child:after {
  content: '';
  display: none;
}

.only-phone {
  display: none;
}

img.responsive {
  max-width: 100%;
  height: auto;
}

div.popup {
  display: none;
}

.wrapper {
  width: 1000px;
  margin: 0 auto;
}

/** Header */

.header {
  border-bottom: 1px solid #aaa;
}

.logo {
  position: absolute;
  top: 5px;
  left: 5px;
}

.title {
  padding: 5px 0 5px 140px;
  font-size: 14pt;
}

.title span {
  display: inline-block;
  margin-left: 40px;
  color: #888;
}

.title em {
  font-style: normal;
  font-weight: bold;
  color: #719430;
}

div.user {
  position: absolute;
  top: 5px;
  right: 5px;
}

.menu {
  padding: 35px 0 0 150px;
}

.menu a {
  display: inline-block;
  color: #666;
  padding: 0 15px 40px;
  text-decoration: none;
  border-bottom: 2px solid #fff;
  transition: border 0.3s, color 0.3s;
  -o-transition: border 0.3s, color 0.3s;
  -ms-transition: border 0.3s, color 0.3s;
  -moz-transition: border 0.3s, color 0.3s;
  -webkit-transition: border 0.3s, color 0.3s;
}

.menu a:hover, .menu a.current {
  border-bottom: 2px solid #719430;
  color: #333;
}

.footer {
  margin-top: 10px;
  border-top: 1px solid #aaa;
}

/** Home page */

.clip {
  margin: 60px 0 10px;
  overflow: hidden;
  height: 520px;
}

.clip div.warning {
  z-index: 10;
  position: absolute;
  top: 10px;
  left: 10px;
  background: #fff;;
  border-width: 5px;
  border-radius: 5px;
  margin-right: 10px;
}

.overlay-login {
  position: absolute !important;
  top: -40px;
  background: #fff;
  right: 40px;
  width: 350px;
  padding: 25px;
  box-shadow: 2px 2px 1px 3px rgba(0,0,0,0.5);
}

.overlay-login h2 {
  color: #719430;
  text-align: center;
  border-bottom: 1px solid #aaa;
  margin: 0 0 15px;
  padding: 0 0 15px;
}

.overlay-login h2.light {
  border-top: 1px solid #aaa;
  border-bottom: none;
  font-weight: 400;
  padding: 15px 0;
  margin: 15px 0 0;
}

.light {
  font-weight: normal;
}

.only-phone {
  display: none !important;
}

#userpic {
  width: 128px;
  height: 128px;
  background-size: cover;
  background-position: center center;
  margin: 0 auto;
}

/** Responsive:

  Design for a huge screen then alter behaviour for smaller ones

*/

button.button.menutoggle {
  float: right;
  position: relative;
  padding: 2px 4px;
  display: none;
  height: 32px;
}

.tab {
  display: none !important;
}

table.admin {
  width: 100%;
  border-top: 1px solid #aaa;
  border-left: 1px solid #aaa;
  border-spacing: 0;
}

table.admin td, table.admin th {
  border-bottom: 1px solid #aaa;
  border-right: 1px solid #aaa;
}

table.admin th {
  background: #aaa;
  color: #fff;
  text-align: left;
}

table.admin td {
  padding: 5px;
}

table.admin tr.archive td {
  opacity: 0.7;
}

@media (min-width: 1001px) {
  .menu {
    display: block !important;
  }
}

@media (max-width: 1000px) {
    .tab {
      display: block !important;
    }

    .button {
      margin-bottom: 5px !important;
    }

    .wrapper {
      width: 100%;
    }

    .header {
      text-align: center;
    }

    .header:before,
    .header:after,div.user:before,div.user:after,h1:before, h1:after {
      display: table;
      content: ' ';
      clear: both;
    }

    h1 .button {
      margin: 2px 0 0 0 !important;
    }

    .header .logo {
      position: static;
      float: left;
      top: auto;
      left: auto;
      height: 40px;
      width: 40px;
      margin-right: 10px;
    }

    div.user {
      position: static;
      top: auto;
      right: auto;
      float: right;
    }

    div.user span.small, div.user a {
      display: none;
    }

    div.title {
      padding: 0;
      font-size: 11pt;
      float: left;
    }

    div.title span {
      margin-left: 0;
      font-size: 0;
    }

    div.title span em {
      font-size: 11pt;
    }

    .menu {
      padding: 10px;
      display: none;
      position: absolute;
      z-index: 10;
      top: 29px;
      right: 8px;
      width: 200px;
      background: #fff;
      border: 1px solid #aaa;
    }

    .menu a {
      display: block;
      padding: 10px;
      text-align: right;
    }

    button.button.menutoggle {
      display: inline-block;
    }

    .clip {
      position: relative;
      width: 100%;
      height: auto;
      margin: 5px 0 0;
    }

    .clip .hidden {
      content: 'Sign In';
      font-size: 20pt;
      font-weight: bold;
      position: absolute;
      bottom: 4px;
      left: 4px;
      z-index: 9999;
      color: #fff;
      display: block;
    }

    .clip img {
      max-width: 100%;
      height: auto;
      z-index: -1;
    }

    .overlay-login {
      position: static;
      box-shadow: 0 0 0 rgba(0,0,0,0);
      width: auto;
      top: auto;
      right: auto;
    }

    .overlay-login h2 {
      display: none;
    }

    .summary {
      height: auto !important;
      text-align: center;
    }

    .summary img {
      width: 64px;
      height: 64px;
    }
}

@media (max-width: 500px) {

  div.title {
    font-size: 0;
  }

  .block-phone {
    width: 98%;
    float: none;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .only-phone {
    display: inline-block !important;
  }

  .not-phone {
    display: none;
  }

}

@media (min-width: 500px) {

  body {

  }

  .not-phone {
    display: block !important;
  }

}
