* { margin: 0; padding: 0; }

body { 
    color: #000; 
    background-color: #47ACD7;
    font-family: 'Varela Round', sans-serif;
}

h1,h2,h3 { margin-bottom: 10px; }
h1 { font-size: 16pt; font-weight: bold; }
h2 { font-size: 14pt; font-weight: bold; }
h3 { font-size: 12pt; font-weight: bold; }

a { color: #000; text-decoration: underline; }
a:hover { text-decoration: underline; }

xblockquote p:first-child:before { display: inline-block; content: "\201C"; font-size: 45px; line-height: 20px; }
xblockquote p:last-child:after { display: inline-block; content: "\201D";  font-size: 45px; line-height: 20px; }

img { border: none; }

#page { 
    position: relative; 
    width: 960px; 
    margin: 20px auto 5px auto; padding: 0px; 
    background-color: #fff;
    border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; 
    border: solid 1px #a0a0a0; 
    box-shadow: 5px 5px 5px #888;
}

#header {
    margin-top: 20px;
    min-height: 50px; 
    background-color: #fff; 
    border-top-left-radius: 4px; border-top-right-radius: 4px;
}

#header p { padding: 0px; margin-top: 0px; margin-bottom: 0px; line-height: inherit;}

#nav { 
    background-color: #004071;
    margin-top: 20px;
    padding: 10px 0px; 
    font-size: 11pt;
    text-align: center;
}
#nav ul { }
#nav li { display: inline-block; margin-left: 20px; }
#nav li a { text-decoration: none; color: #fff; }
#nav li.on a, #nav li a:hover {   }
#nav li.on, #nav li:hover { border-bottom: solid 2px #fff; }

#subnav { padding: 10px 0px; font-size: 10pt; background-color: #004071; }
#subnav ul { margin-left: 80px; }
#subnav li { display: inline-block; margin-right: 20px; }
#subnav li a { text-decoration: none; color: #fff; }
#subnav li.on a, #nav li a:hover {  }
#subnav li.on, #subnav li:hover { border-bottom: solid 2px #fff; }

#pagecontent tr { vertical-align: top; }

#holder { position: relative; background-color: #47ACD7; }

#content { 
    width: 570px;
    padding: 40px;  
    background-color: #fff;
    min-height: 500px;
    font-size: 11pt; 
}

#content h1, #content h2, #content h3 { color: #004071; }
#content h1 a, #content h2 a,#content h3 a { color: #004071; }
#content strong { color: #004071;  }
#content a { }
#content p { line-height: 20pt; margin-bottom: 10px;  }
#content img { }
#content ul { font-size: 14pt; margin-bottom: 10px; }
#content li { margin-left: 20px; line-height: 18pt;  margin-bottom: 10px;}


#content form {
    margin: 0px; padding: 20px;
    background-color: #47ACD7;
    font-size: 12pt;
}

#content form fieldset { 
    border: none;
}

#content form ul { 
    list-style-type: none;
    margin: 0px; padding: 0px;
}

#content form li {
    line-height: inherit; 
    margin: 0px; padding: 0px;
    clear: both;
}


#content form ul.errorlist {
    position: absolute; right: 10px; top: 0px;
    padding: 5px;
    margin: 0px;
    text-align:center;
    border-radius: 3px;
    font-size: 10pt; 
    background-color: #004071;
    color: #fff;
}

#content form .formerror
{
    text-align: center;
    padding: 10px;
    font-size: 10pt; 
    background-color: #004071;
    color: #fff;
    border-radius: 3px;
}

#content form ul.fields > li {
    position: relative;
}

#content form ul.fields li label {
    display: block;
    vertical-align: top;
    width: 80px;
    margin-bottom: 10px;
}

#content form input, #content form textarea {
    width: 520px;
    height: 30px;
    font-size: 11pt;
    margin-bottom: 20px;
}

#content form input[type=submit] {
    width: auto;
    margin-left: 0px; margin-top: 10px; margin-bottom: 0px;
    padding:5px 15px; 
    color: #fff; 
    background:#004071; 
    border:0 none; 
    cursor:pointer; 
    border-radius: 5px; 
} 

#content form textarea {
    height: 200px;
}

#content form li.error label {
    color: #004071;
}

#content form li.error input, #content form li.error textarea {
    border: solid 1px #004071;
} 
 

#side { 
    position: absolute; top: 0px; right: 0px; 
    width: 250px;  
    padding: 30px;
    background-color: #47ACD7;
}

#footer { 
    padding: 40px 40px 60px 40px;
    min-height: 50px; 
    background-color: #004071; 
    color: #fff; 
}

#footer a { color: #fff; font-weight: bold; }

#footeredit { font-size: 14pt; }
#footeredit p { line-height: 21pt; }
#footeredit tr { vertical-align: center; }

#footerseo { position: absolute; left: 40px; bottom: 10px; font-size: 9pt; width: 660px; }
#footerseo p { font-size: 9pt; line-height: 16pt;}
#footerlogos { position: absolute; top: 0px;  right: 0px; padding: 10px; }
#footerlogos img { margin-left: 5px; }

#login_panel { position: absolute; bottom: 10px; right: 40px; font-size: 9pt;}
#login_panel p { font-size: 9pt; }

ul.messages { margin-bottom: 10px; }
ul.messages li { margin-left: 20px; }

@media screen and (max-device-width: 480px) {
  body { -webkit-text-size-adjust: none; }
}

.subpage #content { margin-top: 0px; }

.fadein { position: relative;  height: 449px; width: 960px; }
.fadein img { position: absolute; top: 0; left: 0; }

.editconfig { position: absolute; left: 2px; top: 2px;  z-index: 999;}
.editconfig .editlink { display: inline-block;}
.editarea {  position: relative; min-height: 30px; z-index: 999; }
.editarea .editlink { position: absolute; right: 2px; top: 2px;  }

.editlink { z-index: 5000; }
.editlink a { display: inline-block; padding: 2px; color: #000 !important; background-color: #0f0; text-decoration: none; 
              font-weight: normal; font-size: 12px; border: 2px solid #000; border-radius: 4px; } 
.editcontent { border: dashed 1px #0f0; }

