/*-------box model hack (for IE/Win)-----------*/ 
body,html {
clear: both;
background: #003366;
color: #003366;
font-family: 'Glory', sans-serif;
}

#wrapper {
width: 960px;
margin: auto;
background:#fff url() repeat; background-attachment: fixed;
text-align:left;
font-family: 'Glory', sans-serif;

-moz-box-shadow: 0 0 0 4px #fff, 2px 1px 4px 4px rgba(10,10,0,.5);
-webkit-box-shadow: 0 0 0 4px #fff, 2px 1px 4px 4px rgba(10,10,0,.5);
box-shadow: 0 0 0 4px #fff, 2px 1px 6px 4px rgba(10,10,0,.5);

}

/* Headache */

#head {
height:594px;
padding: 0px;
background:#fff url(head3.png) no-repeat center top;
}

/* Skripthelvetets look */


#navcontainer ul {
margin: 0;
padding: 10px;
list-style-type: none;
border-top: 0px dashed #ccc;
border-bottom: 0px solid #e7d08c;
background-color:#fff;
text-align: center;
font-family: 'Grandstander', cursive;
color: #003366;}

#navcontainer ul li
{
display: inline;
color: #fff;
text-transform: uppercase;
text-align: center;
font-size: 26px;
font-family: 'Grandstander', cursive;
text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
font-weight: bold;
}

#navcontainer ul li a
{
text-decoration: none;
text-align: center;
padding: .2em 1em;
color: #003366;
font-size:26px; 
font-family: 'Grandstander', cursive;
text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
font-weight:bold;
}

#navcontainer ul li a:hover
{
color: #ffcc00;
font-size:26px; 
font-family: 'Grandstander', cursive;
text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
font-weight:bold;
}


/* Too sexy for my... */

#innehall {
background:#fff;
width: 900px;
font-family: 'Glory', sans-serif;
margin: auto;
}

h3, h5 { 
padding: 6px;
margin: 30px 4px 20px 4px;
border: 0px dashed #B4C2C8;
text-transform: uppercase;
font-family: 'Grandstander', cursive;
font-size:30px;
text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
color: #ffcc00;
letter-spacing: 2px;
text-align: center;}

.p {
text-align:left;
font-family: 'Glory', sans-serif;
color:#000;
font-size:16px;
line-height: normal;
margin: auto;
font-weight:bold;
}

b, strong {color:#003366;}

a:link {
color: #003366;
font-weight:bold;}

a:visited {
color: #006699;
font-weight:bold;}

a:hover {
color: #ffcc00;
font-weight:bold;}

a:active {
color: #006699;
font-weight:bold;}


/* Fotsvett */

#footer {
margin: auto;
margin-bottom: 2px;
border-top: 3px solid #003366;
width: 900px;}

.creds {
text-align: center;
font-family: 'Glory', sans-serif;
color:#000;
font-size:16px;
font-style: uppercase;
line-height: normal;
}


/* I hate myself for loving you */


.affs {
text-align:center;
font-family: 'Glory', sans-serif;
color:#000;
font-size:16px;
text-align: center;
}


a img {
padding:5px;
margin: 0 5px 0 0;
background-color: #ccc;
border:0px solid #ccc;
}

a img:hover{
padding:5px;
margin: 0 5px 0 0;
background-color:#E59CB4;
border:0px solid #E59CB4;
}


/* Medlemslistan */

#members ol {
list-style: none;
background: #fff;
padding: 20px;
text-align:left;
font-family: 'Glory', sans-serif;
color: #000;
font-size:18px;
line-height: normal;
}

#members ul li {
  list-style: none;
  position: relative;
  padding: 3px 0 2px 25px;
font-family: 'Glory', sans-serif;
}


/* Idiotnavigation */

.pagination {
    display: inline-block;
    padding: 0;
    margin: 0;
}

.pagination li {display: inline;}

.pagination li a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    text-align:center;
font-family: 'Glory', sans-serif;
    transition: background-color .3s;
    border: 1px solid #e1ae5b;
    margin: 0 4px;
}

.pagination li a.active {
    background-color: #fff;
    color: white;
    border: 1px solid #DADCDC;
}

.pagination li a:hover:not(.active) {background-color: #DADCDC;}

/* FormulÃ¤rhelvete */

.commentform {
width:90%; }

.form {
width:90%; }

.password {
width: 40%;}

input, textarea, option, select {
font-family: 'Glory', sans-serif;
font-size: 20px;
color: #555;
background: #FFF;
border-bottom: solid 2px #003366;
padding:4px;
}

input:focus, textarea:focus, option:focus, select:focus {
border: solid 0px #999;

}
fieldset {
  text-align:left;
font-family: 'Glory', sans-serif;
color:#e1ae5b;
font-size:18px;
line-height: normal;
border: 0px solid #003366;
}

legend span {
  position: absolute;
  top: 0;
  left: 0;
  }

legend {
  float: left;
visibility: hidden
  }

@-moz-document url-prefix() { 
  .a legend span {
    top: -30px !important;
    left: 0 !important;
    }
  }