* { margin: 0; padding: 0; }
body { color: #000; background-color: #fce6db; font-family: 'Open Sans', sans-serif; font-size: 10pt; }

h1,h2,h3 { margin-bottom: 20px; }
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; }

img { border: none; }
hr { margin-bottom: 10px; }

header { position: relative; }
.header.nologo h1 { padding-left: 40px; }

.pull-right { z-index: 2000; position: absolute; top: 15px; right: 10px; height: 25px; display: block; }
.pull-right a.btn-ayd-pink { z-index: 2001; background-color: #ec008c; border: solid 1px #000; border-radius: 4px; padding: 5px; color: #fff; text-decoration: none; font-weight: bold; }

.content table td { padding-bottom: 10px; }

#messages {  background-color: #f2dede; border-color: #ebccd1; color: #a94442; padding: 10px; font-size: 14px; text-align: center; }
#messages ul { list-style-type: none; margin: 0px; padding: 0px;}
#messages li { line-height: inherit; margin: 0px; padding: 0px; clear: both; }

#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 {
    min-height: 150px;
    background-color: #fff;
    /*background: linear-gradient(135deg, rgba(255,255,0,0.5), rgba(255,0,0,0)); ** */
    background: linear-gradient(135deg, #fef6a3, #ffffff);
    border-top-left-radius: 4px; border-top-right-radius: 4px;
    position: relative;
    text-align: center;
    display: flex;
    align-items: center;
}

.header img { display: block; width: 110px; position: absolute; top: 10px; left: 10px; padding: 5px; border: solid 1px #eee; }

.header p { padding: 0px; margin-top: 0px; margin-bottom: 0px; line-height: inherit;}
.header > div { text-align: center; }

.header h1 { color: #d4291f; font-family: 'PT Serif'; font-size: 30pt; margin-bottom: 0px;}
.header h2 { color: #d4291f; font-size: 14pt;  font-family: 'Open Sans Condensed', sans-serif; padding-bottom: 20px; }

.header.withlogo h1, .header.withlogo h2 { text-align: left; margin-left: 150px; }

.font0 { font-family: 'Open Sans' !important; font-weight: normal;}
.font1 { font-family: 'Varela Round' !important; font-weight: normal;}
.font2 { font-family: 'Berkshire Swash' !important; font-weight: 300;}
.font3 { font-family: 'PT Serif' !important; font-weight: 700; }
.font4 { font-family: 'Bree Serif' !important; font-weight: normal;}
.font5 { font-family: 'Crete Round' !important; font-weight: normal;}
.font6 { font-family: 'Abril Fatface' !important; font-weight: normal;}
.font7 { font-family: 'Pathway Gothic One' !important; font-weight: normal; font-size: 42pt  !important;}
.font8 { font-family: 'Volkhov' !important; font-weight: 700; }


#nav {
    background-color: #d4291f;
    padding: 5px 0px;
    font-size: 13pt;
    text-align: center;
}

#nav ul { }
#nav li { display: inline-block; margin-left: 20px; border-bottom: 2px solid #d4291f; }
#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: #d4291f; }
#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; }

#imagebar img { display: block; }
#pagecontent tr { vertical-align: top; }

#holder { position: relative; background-color: #fdf1eb; }

.content {
    width: 570px;
    padding: 40px;
    background-color: #fff;
    min-height: 550px;
}

.content h1 { color: #d4291f; }
.content h1 a { color: #d4291f; }
.content strong { color: #d4291f;  }
.content a { color: #d4291f; font-weight: bold; text-decoration: none;}
.content a:hover { text-decoration: underline;}

.content p { line-height: 17pt; margin-bottom: 20px;  }
.content p:last-child { margin-bottom: 0px; }

.content img { }
.content ul { font-size: 14pt; margin-bottom: 10px; }
.content li { margin-left: 20px; line-height: 18pt;  margin-bottom: 10px;}

.content table { font-size: 10pt; }

.content th { text-align: left; }
.content td { padding: 5px 5px 0px 5px; border-bottom: 1px solid #fdf1eb; }

.content .home-text { margin-bottom: 20px; }
.content .home-info { background-color: #fdf1eb; padding: 15px; border-radius: 10px; }

.page-header h1 { font-size: 20pt; }
.page-header h2 { font-size: 15pt; font-weight: normal; }
.page-header h3 { font-size: 14pt; font-weight: normal; }


.side {
    position: absolute; top: 0px; right: 0px;
    width: 280px;
    padding: 15px;
    background-color: #fdf1eb;
    font-size: 10pt;
}

.side p { line-height: 17pt; margin-bottom: 10px;  }
.side p:last-child { margin-bottom: 0px; }

.side h2 { background-color: #d4291f; color: #fff; font-size: 12pt; font-weight: normal; text-align: center; padding:5px; }
.side h3 { color: #d4291f; font-size: 12pt; font-weight: bold;  }

.side hr { height: 5px; background-color: #d4291f; font-size: 0; border: 0; margin: 25px 0px; }
.side a { color: #d4291f; text-decoration: none; }
.side a:hover { text-decoration: underline; }
.side strong { color: #d4291f;  }

.content form { margin-bottom: 100px; }
.content form p { margin: 0px; }
.content form p.formerror { padding: 10px; margin-bottom: 10px; font-weight: bold; background-color: #ffaaaa; color: #000; font-size: 16pt; border-radius: 5px; }
.content form .nonfielderrors { padding: 10px; margin-bottom: 10px; font-weight: bold; background-color: #ffaaaa; color: #000; font-size: 16pt; border-radius: 5px; }
.content form ul { font-size: 12pt; }
.content form ul { list-style-type: none;}
.content form li { margin-left: 0px; color: #000; }
.content form > ul > li { border: solid 1px #ddd; padding: 10px; margin-bottom: 10px; }
.content form ul.fields > li > label { display: inline-block; background-color: #fdf1eb; padding: 8px; margin-bottom: 10px; font-size: 12pt; border-radius: 4px; }
.content form ul.fields > li.error > label { background-color: #ffaaaa; }
.content form ul.fields > li { color: #000; margin-bottom: 20px;}
.content form ul.fields > li > ul > li { padding-left: 10px; color: #000; margin-top: 4px; }
.content form li .errorlist { float: right; margin-top: 1px; margin-right: 10px; }
.content form ul.fields > li > ul.errorlist > li { color: #e00000; padding: 4px;}
.content form ul.fields > li > label { display: block }
.content form ul.fields li label + input { font-size: 13pt; padding: 5px; width: 560px; }
.content form ul.fields li label + textarea { font-size: 13t; padding: 5px; width: 560px; }
.content form ul.fields li #id_captcha_1 { font-size: 13pt; padding: 5px; width: 560px; display: block; }

.content form fieldset { padding: 0px; margin-bottom: 20px; border: none; }
.content form legend { font-size: 16pt; color: #EE1C25; }
.content form .helptext { font-size: 10pt; margin-left: 30px;}
.content form .description { font-size: 12pt; margin-bottom: 20px; }
.content form input[type=submit]:focus {border: #ccc 1px solid; }
.content form input[type=submit] { padding:5px 15px; color: #fff; background:#d4291f; border:0 none; cursor:pointer; border-radius: 5px; float: right; font-size: 12pt;  }


#footer {
    padding: 40px 40px 60px 40px;
    min-height: 50px;
    background-color: #d4291f;
    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; }
#login_panel a { text-decoration: none; }
#login_panel a:hover { text-decoration: underline; }

#login_panel a:after { content: " | ";}

ul.messages { margin-bottom: 10px; }
ul.messages li { margin-left: 20px; }

.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: 1099;}
.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; }



.content .right { float: right; }

/* stuff stolen from bootstrap */


  .label {
    border: 1px solid #000;
  }

.label {
  display: inline;
  padding: .2em .6em .3em;
  font-size: 75%;
  font-weight: bold;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: .25em;
}
a.label:hover,
a.label:focus {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}
.label:empty {
  display: none;
}
.btn .label {
  position: relative;
  top: -1px;
}
.label-default {
  background-color: #777;
}
.label-default[href]:hover,
.label-default[href]:focus {
  background-color: #5e5e5e;
}
.label-primary {
  background-color: #337ab7;
}
.label-primary[href]:hover,
.label-primary[href]:focus {
  background-color: #286090;
}
.label-success {
  background-color: #5cb85c;
}
.label-success[href]:hover,
.label-success[href]:focus {
  background-color: #449d44;
}
.label-info {
  background-color: #5bc0de;
}
.label-info[href]:hover,
.label-info[href]:focus {
  background-color: #31b0d5;
}
.label-warning {
  background-color: #f0ad4e;
}
.label-warning[href]:hover,
.label-warning[href]:focus {
  background-color: #ec971f;
}
.label-danger {
  background-color: #d9534f;
}
.label-danger[href]:hover,
.label-danger[href]:focus {
  background-color: #c9302c;
}

.page-header {
  padding-bottom: 10px;
  margin: 20px 0 10px;
}

.well {
  min-height: 20px;
  padding: 19px;
  margin-bottom: 20px;
  background-color: #f5f5f5;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
}
.well blockquote {
  border-color: #ddd;
  border-color: rgba(0, 0, 0, .15);
}
.well-lg {
  padding: 24px;
  border-radius: 6px;
}
.well-sm {
  padding: 9px;
  border-radius: 3px;
}

.media {
  margin-top: 15px;
}
.media:first-child {
  margin-top: 0;
}
.media,
.media-body {
  overflow: hidden;
  zoom: 1;
}
.media-body {
  width: 10000px;
}
.media-object {
  display: block;
}
.media-right,
.media > .pull-right {
  padding-left: 10px;
}
.media-left,
.media > .pull-left {
  padding-right: 10px;
}
.media-left,
.media-right,
.media-body {
  display: table-cell;
  vertical-align: top;
}
.media-middle {
  vertical-align: middle;
}
.media-bottom {
  vertical-align: bottom;
}
.media-heading {
  margin-top: 0;
  margin-bottom: 5px;
}
.media-list {
  padding-left: 0;
  list-style: none;
}


.well { background-color: #fce6db; }
.label-default { background-color: #d4291f; }

@media screen and (max-device-width: 480px) {
  body { -webkit-text-size-adjust: none; }
}

@media screen and (max-width: 960px) {

  #page { width: 720px; }
  .content { width: 500px; padding: 20px; }
  .side { width: 140px; padding: 20px; }
  .side { font-size: 9pt; }

  .content form input { width: 100%; }
  .content form textarea { width: 100%; }


}

@media screen and (max-width: 720px) {
  #page { width: 100%; }
  .content { width: inherit; padding: 30px; }
  .side { position: static; width: inherit; }
}

@media screen and (max-width: 480px) {
}

