/* sidestrap.css 20141111 (C) 2014 Mark Constable <markc@renta.net> (AGPL-3.0) */

body {
/*
  background-image: url('../img/SpiderWeb.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
*/
  padding-top: 50px;
  min-height: 1000px;
}

.navbar-spiderweb {
  background-color: #104263;
  border-color: #104263;
  box-shadow: 0px 0.2em 0.5em rgba(0, 0, 0, 0.5);
}

.navbar-spiderweb .navbar-toggle {
  border-color: #184A6B;
}
.navbar-spiderweb .navbar-toggle:hover,
.navbar-spiderweb .navbar-toggle:focus {
  background-color: #184A6B;
}
.navbar-spiderweb .navbar-toggle .icon-bar {
  background-color: #FFFFFF;
}

.navbar-brand-centered {
  background-color: #104263;
  display: block;
  left: 50%;
  position: absolute;
  text-align: center;
  width: 275px;
}

.navbar > .container .navbar-brand-centered,
.navbar > .container-fluid .navbar-brand-centered {
  margin-left: -137px;
}

.nav > li > a:hover,
.nav > li > a:focus {
  background-color: #184A6B;
  text-decoration: none;
}

.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
  background-color: #184A6B;
}

#lhs,
#rhs {
  background-color: #F5F5F5;
  box-shadow: 0px 0.2em 0.5em rgba(0, 0, 0, 0.5);
  height: 100%;
  opacity: 1;
  overflow: auto;
  position: fixed;
  top: 51px;
  width: 17%;
  z-index: 100;
}

#lhs {
  left: 0;
  transition: left 0.3s ease;
}

#lhs.slide {
  left: -17%;
  transition: left 0.3s ease;
}

#rhs {
  right: 0;
  transition: right 0.3s ease;
}

#rhs.slide {
  right: -17%;
  transition: right 0.3s ease;
}

#mid {
  width: 66%;
  margin: 0 auto;
  padding: 0 1em;
  transition: width 0.3s ease;
}

#mid.expand {
  width: 100%;
  transition: width 0.3s ease;
}

.lhs_nav,
.rhs_nav {
  font-size: 90%;
/*
  background-color: #FFFFFF;
  border-radius: 0.6em;
  border: solid 1px #104263;
  box-shadow: 0px 0.2em 0.5em rgba(0, 0, 0, 0.5);
  margin: 1em;
  padding: 0.75em;
*/
}

.lhs_nav {
  text-align: left;
}
.rhs_nav {
  text-align: center;
}
.lhs_nav a,
.rhs_nav a {
  background-color: #efdfdf;
  background: -moz-linear-gradient(#f7e7e7, #e7d7d7);
  background: -webkit-linear-gradient(#f7e7e7, #e7d7d7);
  background: linear-gradient(#f7e7e7, #e7d7d7);
/*
  border-right-color: #dfcfcf;
  border-left-color: #ffefef;

  border-top-color: #ffefef;
  border-bottom-color: #dfcfcf;

  border-top-color: #e7d7d7;
  border-bottom-color: #f7e7e7;
  border-width: 1px;
  border-style: solid;
*/
  border-top: 1px solid #ffefef;
  border-bottom: 1px solid #dfcfcf;
  border-right: 1px solid transparent;
  border-left: 1px solid transparent;
  color: #BF0000;
  display: block;
  font-weight: bold;
  overflow: hidden;
  padding: 0.75em 1em;
  text-shadow: #FFFFFF 0 -1px 1px;
  white-space: nowrap;
}

.lhs_nav a:hover,
.rhs_nav a:hover {
  background: #F5F5F5;
  color: #000000;
  border: solid 1px #F5F5F5;
  text-decoration: none;
}
/*
.lhs_nav a:first-child,
.rhs_nav a:first-child {
  border-radius: 0.3em 0.3em 0em 0em;
}

.lhs_nav a:last-child,
.rhs_nav a:last-child {
  border-radius: 0em 0em 0.3em 0.3em;
}
*/

/* spiderweb */

.ptitle {
  margin-top: 0px;
}

footer {
  clear: both;
  font-size: 80%;
  color: #7F7F7F;
  font-family: serif;
  font-style: italic;
  margin-top: 1em;
  text-align: center;
}

.table th:last-child,
.table td:last-child {
  text-align: right;
}

.alert {
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
}

.navbar a {
  color: #FFF;
}

img.logo { width: 275px; height: 50px; }

.page-editor { padding-right: 30px; }

[data-toggle="lhs"] {
  float: left;
  display: inline-block;
  z-index: 10;
}

.navbar-brand,
.navbar-nav > li > a {
  text-shadow: 0px 1px 0px rgba(0, 0, 0, 1);
}

#mid > h1,
#mid > h2,
.preview > h1,
.preview > h2 {
  margin-top: 10px;
  text-align: center;
}

#mid .panel .panel-body {
  min-height: 250px;
}

@media screen and (max-width: 767px) {
  #lhs,
  #rhs {
    background-color: #F5F5F5;
    height: 100%;
    opacity: 0.9;
    overflow: auto;
    position: fixed;
    top: 50px;
    width: 40%;
    z-index: 100;
  }

  #lhs {
    left: -40%;
    transition: left 0.3s ease;
  }

  #lhs.slide {
    left: 0;
    transition: left 0.3s ease;
  }

  #mid > h1,
  #mid > h2 {
    margin-top: 0;
  }

  #mid {
    width: 100%;
    padding: 0.5em 0;
    transition: width 0.3s ease;
  }

  #mid.expand {
    width: 100%;
    transition: width 0.3s ease;
  }

  #rhs {
    display: none;
  }

  [data-toggle="lhs"] {
    margin-left: 15px;
  }

  .page-editor {
    padding-right: 15px;
  }

  img.logo { width: 240px; height: 45px; }
  img[alt="Australia Wide"] { width: 120px; height: 112px; }

  .dropdown-menu > li > a {
    color: #FFF;
  }
}

@media screen and (max-width: 479px) {
  #lhs {
    left: -60%;
    width: 60%;
  }
}
