/* Scalefour Society - R.P. Milliken - 2010 */
/* Maintained by John McAleely webmaster@scalefour.org 2013- */

* {
    margin: 0;
    padding: 0;
}

html {
    overflow: scroll;
    height: 102%;
}

body {
    background:#eaeaea url('../graphics/bg.gif') top center repeat-y;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 100%;
    color: #000000;
}

a {
    color: #3565a6;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Wrapper */
#wrap {
    background:#ffffff url('../graphics/wrapbg.jpg') top center repeat-y;
    width: 980px;
    margin: 0 auto;
}

/* Header */

#header {
    color:#c0c0c0;
    background:#e7e7ea url('../graphics/header2.jpg') top left no-repeat;
    height:197px;
    width:980px;
    margin:0px 0px 0px 0px;
    padding:0;
}

/* Collapsable Menu */
/* used only by slink, today */

.mC {
    width:900px;
    margin:5px;
    float:left;
}

.mC h3 {
    color:blue;
    cursor:pointer;
    font-size: .9em;
    font-weight: bold;
    border-top:0px solid #300;
}

.mC ul {
    display:none;
    margin-left:0;
    margin-bottom:10px;
    padding-left:0;
    list-style: none;
}

.mC li {
    margin-left:0;
    display:block;
}

.mC table {
    display:none;
}

/* Menu top horizontal */

#hmenu {
    width: 100%;
    height: 15px;
    margin: 0 auto;
}

#hmenu ul {
    margin: 0;
    padding: 142px 0 0 700px;
    list-style: none;
}

#hmenu li {
    display: inline;
}

#hmenu a {
    padding: 0 0 0 20px;
    text-align: left;
    text-decoration: none;
    font-size: .9em;
    color: #000000;
}

.header3panel {
    background-color: #fff;
    text-align: left;
    color:#000000;

    width:980px;
    margin:0;
    padding:0;
}

.header3panel img {
    border:0;
    margin:0;
    padding:0;
}

.header3panel ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.header3panel li {
    display: inline;
    font-size: .9em;
    padding: 0 10px 0 10px;
}

.header3panel a {
    padding: 0 0px 0 0px;
    text-align: left;
    text-decoration: none;
    color: #000000;
}


/* Start new header styles */

.header2panel {
    background-color: #e7e7ea;
    text-align: left;
    color:#000000;

    width:980px;
    margin:0;
    padding:0;
}

.header2panel img {
    border:0;
    margin:0;
    padding:0;
}

.header2panel ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.header2panel li {
    display: inline;
    font-size: .9em;
    padding: 0 10px 0 10px;
}

.header2panel a {
    padding: 0 0px 0 0px;
    text-align: left;
    text-decoration: none;
    color: #000000;
}

#membersbar {
/*
 *  background-color: #388FE6 would match the society logo,
 *                            but not the shades of blue currently
 *                            used on the site */
    background-color: #40aae3;
    height: 20px;
    color: #ffffff;
}

#membersbar a {
    color: #ffffff;
}

#subheader2 {
    background:#e7e7ea url(../graphics/body-header.jpg) top left no-repeat;
    height:57px;
}

.left-nav {
    float: left;
}

.right-nav {
    float: right;
}

/* Main menu in left column */

#menu {
    background:#e8e7eb;
    float: left;
    width: 140px;
    padding: 0 0px 20px 20px;
}

#menu h1 {
    color:#000000;
    display:block;
    font-size:.8em;
    font-weight:100;
    border-top: 1px dotted #aaa;
    border-bottom: 1px dotted #aaa;
    margin-bottom:6px;
    text-decoration:none;
}

#menu a {
    color:#000000;
    display:block;
    background-image:url(../graphics/menubutton.gif);
    background-repeat:no-repeat;
    padding-left:15px;
    font-size:.8em;
    margin-bottom:8px;
    text-decoration:none;
}

#menu a:hover {
    color:#000000;
    background-image:url(../graphics/menubutton2.gif);
}

#menu ul {
    background:#e8e7eb;
    list-style: none;
    margin: 0;
}

#menu ul ul ul {
    background:#e8e7eb;
    position: absolute;
    top: 0;
    padding:0 10px 0 20px
}

#menu li {
    position: relative;
}

#menu ul ul ul {
    position: absolute;
    left: 100%;
    width: 180px;
    border-right: 2px solid #c8c8c8;
    border-top: 2px solid #c8c8c8;
    border-bottom: 2px solid #c8c8c8;
    border-left: 2px solid #c8c8c8;
}

div#menu ul ul ul {
    display: none;
}

div#menu ul ul li:hover ul ul {
    display: none;
}

div#menu ul ul li:hover ul {
    display: block;
}

div#menu ul ul ul li:hover ul {
    display: block;
}

#menu h2 {
    border-bottom: 1px dotted #aaa;
    border-top: 1px dotted #aaa;
    padding: 3px 0 5px 3px;
    margin-bottom: 10px;
    color: #000000;
    font-size: .8em;
    font-weight: bold;
}

/* cookie menu statement */
#shows {
    padding: 70px 0px 20px 0px;
}

/* used in the committee area! */
#contentwide3 {
    background:white;
    padding: 0 20px 20px 20px;
    font-size: .8em;
    text-align: left;
}

/* Content without mid column - full width next to menu column */
/* new version introduced in members area */

#contentwide2 {
    float: right;
    width: 748px;
    padding: 0 20px 20px 20px;
    font-size: .8em;
    text-align: justify;
}

#contentwide2 h1 {
    color: #000000;
    font-size: 1.1em;
    font-weight: bold;
    padding: 3px 0 5px 3px;
    border-bottom: 1px solid #aaa;
    border-top: 1px solid #aaa;
    margin-bottom: 10px;
}

#contentwide2 h2 {
    color: #000000;
    font-size: 1.1em;
    font-weight: normal;
    padding: 3px 0 5px 3px;
    border-bottom: 1px dotted #aaa;
    border-top: 1px dotted #aaa;
    margin-bottom: 10px;
}

#contentwide2 h3 {
    color: #000000;
    font-size: 1.1em;
    font-weight: bold;
    padding: 3px 0 5px 3px;
    margin-bottom: 10px;
}

#contentwide2 h4 {
    color: #000000;
    font-size: 1.1em;
    font-weight: 100;
    border-bottom: 1px solid #aaa;
    padding: 3px 0 5px 3px;
    margin-top: 10px;
}

#contentwide2 h5 {
    color: #000000;
    font-size: 1.1em;
    font-weight: 100;
    padding: 3px 0 5px 3px;
}

#contentwide2 a {
    color:#3565a6;
    text-decoration:none;
}

#contentwide2 a.flying {
    color:#3565a6;
    background-repeat:no-repeat;
    text-decoration:none;
    background-image: url('../graphics/menubutton4.gif');
    padding-left: 15px;
}

#contentwide2 div.boxright a.flying {
    background-image: url('../graphics/menubutton.gif');
}

#contentwide2 div.greybg a.flying {
    background-image: url('../graphics/menubutton.gif');
}

#contentwide2 div.image {
  display: table;
  margin: 0 auto;
  padding: 0 10px 10px 10px;
}

#contentwide2 div.image img {
  margin: 0;
  padding: 0;
}

#contentwide2 div.image p {
  display: table-cell;
  width: 100%;
  margin: 0;
  padding: 0;
}

#contentwide2 div.image p.caption {
  display: table-caption;
  width: auto;
  caption-side: bottom;
  padding: 2px 10px 10px 10px;
  font-style: italic;
}


#contentwide2 a:visited {
    color:#5b5d5c;
}

#contentwide2 ul {
    margin: 0px;
    padding: 10px 0 10px 15px;
}

#contentwide2 li {
    margin: 0px;
    padding: 2px 0;
}

#contentwide2 ul.flying {
    margin: 0;
    padding: 10px 0 10px 15px;
    list-style-type: none;
}

#contentwide2 p {
    margin: 10px;
}

#contentwide2 ol {
    margin: 10px;
}

#contentwide2 dd {
    margin-top: 0.5em;
    margin-bottom: 1em;
    padding-left: 3em;
}

#contentwide2 dt {
    margin-top: 2em;
    margin-bottom: 0.5em;
    font-weight: bold;
}

#contentwide2 h3.collapsible {
  background-repeat:no-repeat;
  background-image: url('../graphics/menubutton4.gif');
  padding-left: 15px;
}


/* Footer */

#footer {
    color:black;
    background:#e8e7eb url('../graphics/footerbg.gif') top left no-repeat;
    border-right: 1px solid #c8c8c8;
    width:980px;
    margin:0px 0px 0px 0px;
    padding:30px 0 15px 0;
    font-size: .7em;
}

#footer a {
}

/* Tables */

table {
  border-collapse: collapse;
}  

td {
    padding:7px;
    font-size:1em;
    text-align:left;
}
th {
    padding:7px;
    font-size:1em;
    text-align:left;
}

/* boxout */
.boxright {
    padding: 6px;
    background:#e8e7eb;
    border-radius:12px;
    margin:0px 0px 10px 10px;
    float:right;
}

.boxgrey {
    padding: 6px;
    background:#e8e7eb;
    border-radius:12px;
}


/* 3 column lists */
.threecol li {
    display: block;
    width: 33%;
    float: left;
    text-align: left;
}

/* Various classes */

.textright {
    text-align:right;
    margin:0px 0 4px 0;
}
.cleared {
    clear:both;
}
.left {
    margin:0px 10px 10px 0px;
    float:left;
}
.right {
    margin:0px 0px 10px 10px;
    float:right;
}
.small {
    font-size:.7em;
}
.medium {
    font-size:.8em;
}
.large {
    font-size:1.2em;
}

.rightmedium {
    font-size:.8em;
    text-align:right;
}

.italic {
    font-style:italic;
}
.center {
    text-align:center;
}
.bold {
    text-align:left;
    font-weight:bold;
}

.midbold {
    text-align:center;
    font-weight:bold;
}

.greybg {
    background:#e8e7eb;
}
