/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
  list-style-position: outside;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

html {
  min-height: 100%;
}
body {
  font-family: "Open Sans", sans-serif;
  color: #03325a;
  position: relative;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.5;
  min-width: 854px;
  background: #fff none right bottom no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
}
#wrap {
  margin: 0 auto;
  width: 854px;
  overflow: visible;
  zoom: 1;
  position: relative;
}
.wrap2 {
  margin: 0 auto;
  width: 1224px;
  overflow: visible;
  zoom: 1;
  position: relative;
  clear: both;
}
#content {
  padding-top: 25px;
  padding-bottom: 100px;
  position: relative;
  z-index: 6;
}
body.closed {
  background-image: url(i/body-closed.jpg);
  background-color: #046f81;
}

#header {
  width: 100%;
  background-color: transparent;
  z-index: 2;
  padding:0;
}
#header .inner {
  width: 854px;
  margin: 0 auto;
  padding:0;
  position: relative; 
  background-color:#12182e;
}
#header .inner img {
  display: block;
  margin:0 auto;
}
#header h1 {
  float: left;
  padding: 0;
  position: relative;
  left: 0;
  margin: 0;
}
#header h1 a {
  display: block;
}
#header h1 img {
  display: block;
  height: 145px;
  width: auto;
}
#header .logo-ferg {
  float: right;
  margin: 33px 0 0 0;
}
#header .slogan {
  position: absolute;
  left: 0;
  top: 210px;
  background-color: transparent;
  padding: 0;
  color: #fff;
  font-weight: 800;
  font-size: 29px;
  text-transform: uppercase;
  margin: 0;
}

/* footer */
#footer {
  font-family: Verdana;
  background-color: transparent;
  text-align: left;
  color: #fff;
  font-size: 21px;
  text-transform: uppercase;
  line-height: 1.3;
  width: 100%;
}
#footer .inner {
  width: 854px;
  padding-top: 35px;
  padding-bottom: 35px;
  margin: 0 auto;
  position: relative;
  border-top: 1px solid #fff;
}
#footer a {
  text-decoration: none;
  color: #c2d32b;
  font-weight: bold;
}
#footer .phone {
  color: #151956;
  font-weight: bold;
}

.closed #header {
  height: 250px;
}
.closed #header .inner {
  height: 250px;
  background: transparent url(i/header-closed.png) no-repeat right top;
  background-size: 350px;
}
.closed #header h1 {
  position: absolute;
  left: 0;
  top: 180px;
}
.closed #header h1 img {
  height: auto;
}
.closed #header .slogan {
  display: none;
}
.closed #header .logo-ferg {
  float: left;
}
.closed #wrap {
  padding-top: 250px;
}
.closed #content {
  padding-top: 0px;
  padding-bottom: 0;
  margin-bottom: 35px;
}
.closed #content h2 {
  margin-bottom: 50px;
}

/* content, element styles */
h1 {
  font-family: "Raleway", sans-serif;
  font-size: 28px;
  color: #151956;
  text-transform: uppercase;
  font-weight: normal;
  margin-bottom: 10px;
}
h2 {
  font-family: "Raleway", sans-serif;
  font-size: 23px;
  color: #151956;
  text-transform: uppercase;
  font-weight: normal;
  margin-bottom: 10px;
}
h3 {
  font-family: "Raleway", sans-serif;
  font-size: 19px;
  color: #151956;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 0px;
}
p {
  margin-bottom: 25px;
}
p.intro {
  text-transform: uppercase;
}
ul,
ol {
  margin-bottom: 25px;
}
em {
  color: #0095ad;
  font-style: normal;
}
strong {
  color: #0095ad;
  font-weight: bold;
}
a {
  color: #6de584;
}
a.del {
  color: #ff6600;
}
.wrap {
  zoom: 1;
  overflow: hidden;
}
a.boxed,
button.boxed {
  font-family: "Raleway", sans-serif;
  display: inline-block;
  /*background-image: linear-gradient(to right, #6bb077, #0092a9);*/
  background-color: #a8d9eb;
  color: #fff;
  font-weight: 900;
  font-size: 20px;
  text-transform: uppercase;
  padding: 0 10px;
  line-height: 45px;
  text-decoration: none;
  min-width: 185px;
  text-align: center;
  border: none;
  cursor: pointer;
}
a.boxed:hover {
}
button.boxed:hover {
}
.closed a.boxed,
.closed button.boxed {
  background-image: none;
  border: 2px solid #fff;
}

/* table */
table {
  border-collapse: collapse;
  border: 1px solid #e6e8ea;
  width: 100%;
  margin-bottom: 25px;
  table-layout: fixed;
}
th {
  background-color: #e6e8ea;
  border: 1px solid #e6e8ea;
  border-width: 0 1px;
  font-size: 14px;
  font-weight: bold;
  color: #5b6770;
  text-align: center;
  padding: 10px 5px;
  text-transform: uppercase;
}
td {
  font-size: 11px;
  color: #000;
  text-align: center;
  border: 1px solid #e6e8ea;
  border-width: 0 1px;
  padding: 10px 5px;
  background-color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
}
tr.even td {
  background-color: #f4f4f4;
  border: 1px solid #e6e8ea;
  border-width: 0 1px;
}
td.action a {
  margin-right: 10px;
}

/* standard form */
form {
}
form ol {
  /* background-color:#000; */
  zoom: 1;
  overflow: hidden;
  padding-top: 10px;
}
form div.field {
  background-color: transparent;
  zoom: 1;
  overflow: hidden;
  margin-bottom: 10px;
  padding-bottom: 10px;
}
form ol li {
  float: left;
  margin-bottom: 10px;
  clear: left;
  min-height: 54px;
  width: 100%;
  border-bottom: 2px solid #e2e3e5;
}
form ol li.noborder {
  border-bottom: none;
}
form label {
  float: left;
  width: 100%;
}
form label.inline {
  display: inline;
}
form label.inline span.name {
  display: inline;
  padding: 0 5px 0 0;
  float: none;
}
form span.name {
  float: left;
  padding: 0 15px 6px 0;
  font-size: inherit;
  color: #0095ad;
  position: relative;
  top: 17px;
  background-color: transparent;
}
form span.req {
}
form .comment {
  font-size: 12px;
}
form fieldset {
  margin-bottom: 25px;
}
form legend {
  font-size: 25px;
  color: #333;
  font-weight: 800;
  border: none;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* errors */
form p.err {
  margin: 0;
  padding: 10px 0;
  color: #ffb81c;
  font-style: italic;
  position: relative;
  top: 7px;
}
form ul.err {
}
form ul.err li {
}

/* no-name control(s) */
form li.padded {
  padding-left: 120px;
}
form li.padded p.err {
  padding-left: 0;
}
form li.padded ul.err {
}

/* buttons */
form p.btn {
  text-align: right;
  position: relative;
  overflow: hidden;
  zoom: 1;
}
form p.btn * {
  vertical-align: middle;
}
form p.btn .ajax-loader-local {
  height: 100%;
  background-position: left center;
  left: auto;
  right: 325px;
}

/* inputs */
select {
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  color: #fff;
}
textarea {
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  color: #fff;
  overflow: auto;
  padding: 8px 5px;
}
input {
  font-family: "Open Sans", sans-serif;
  font-size: 20px;
  padding-left: 15px;
  margin-top: 10px;
  color: #333;
  font-weight: 300;
}
input.txt {
  width: 400px;
  border: none;
  background-color: transparent;
}
input.cb {
  width: 20px;
  height: 20px;
  padding: 0;
  margin: 0;
  vertical-align: bottom;
  background-color: #e2e3e5;
  border: 1px solid #fff;
}
label.inline input.cb {
  position: relative;
  top: -3px;
  *overflow: hidden;
}
input.radio {
  width: 20px;
  height: 20px;
  padding: 0;
  margin: 0;
  vertical-align: bottom;
}
label.inline input.radio {
  position: relative;
  top: -3px;
  *overflow: hidden;
}
input.btn {
  overflow: visible;
}

/* admin form */
form.admin-form {
  margin-bottom: 5px;
}
form.admin-form input {
  font-size: 24px;
  color: #000;
  vertical-align: middle;
}
form.admin-form input[type="submit"],
form.admin-form input[type="reset"],
.button {
  background-color: #000;
  color: #fff;
  border: 2px solid #fff;
  text-decoration: none;
  text-transform: uppercase;
  padding: 5px 1.1rem;
  margin-top: 10px;
  font-size: 20px;
  font-weight: 800;
  line-height: normal;
  vertical-align: middle;
  display: inline-block;
}
form.admin-form input[type="submit"]:hover,
form.admin-form input[type="reset"]:hover,
.button:hover {
  opacity: 0.8;
}
form.admin-form input[type="reset"] {
  font-weight: 500;
  border: 1px solid #fff;
}

/* custom forms */
form.subscr {
  clear: both;
}
form.subscr li {
  width: 48%;
  margin-right: 2%;
  clear: none; /* text-align: center; */
}
form.subscr li.odd {
  clear: left;
}
form.subscr div.code {
  padding-top: 18px;
  margin-bottom: 25px;
}
form.subscr div.code .name {
  color: #131b59;
  width: 202px;
  font-size: 25px;
  font-weight: 800;
  padding-top: 0px;
  text-align: left;
  text-transform: uppercase;
  margin-right: 0;
  top: 3px;
}
form.subscr div.code .txt {
  background-color: #e2e3e5;
  color: #000;
  width: 140px;
  text-align: center;
  font-weight: 800;
  float: left;
  padding: 7px 5px;
  font-size: 28px;
  top: -12px;
}
form.subscr div.code span.comment {
  color: #131b59;
  float: left;
  width: 290px;
  padding-left: 22px;
  font-size: 13px;
  line-height: 1.4;
  text-transform: uppercase;
}
form.subscr div.code span.comment strong {
  color: #131b59;
}
form.subscr div.code span.comment a {
  text-decoration: none;
  color: #131b59;
}
form.subscr div.code span.comment a:hover {
  text-decoration: underline;
}
form.subscr div.code p.err {
  top: 0;
}
form.subscr li.member {
  border: 0;
}
form.subscr li.member .name {
  border: 0;
}
form.subscr li.member .cb {
  background-color: #e2e3e5;
}
form.subscr input.txt {
  position: relative;
  top: 0px;
  outline: none;
  font-weight: 400;
}
form.subscr input.cb {
  position: relative;
  top: 7px;
}
form.subscr li.confirm label {
  float: left;
  width: 285px;
}
form.subscr li.confirm input.cb {
  top: -2px;
}
form.subscr li.confirm span.name {
  top: 0;
}
form.subscr li.confirm span.comment {
  float: left;
  font-size: 15px;
  min-width: 380px;
  padding-top: 3px;
}
form.subscr li.valider {
  text-align: center;
  width: 100%;
}
form.subscr li.valider .boxed {
  font-weight: inherit;
  font-size: 21px;
  padding: 4px 40px;
}

form.admin {
  background-color: transparent;
}
form.admin ol {
  background-color: transparent;
}
form.admin ol li {
  border-bottom-color: #e2e3e5;
}
form.admin span.name {
  width: 150px;
  padding-right: 25px;
  background-color: transparent;
  color: #000;
}
form.admin input {
  color: #000;
}
form.admin .txt {
  width: 350px;
}
form.admin p.btn .ajax-loader-local {
  height: 100%;
  background-position: left center;
  left: auto;
  right: 250px;
}
form.admin p.err {
  padding-left: 180px;
}

/* download program, plan */
ul.download {
  float: right;
  width: 225px;
}
ul.download li {
  zoom: 1;
  overflow: hidden;
  text-transform: uppercase;
  margin-bottom: 30px;
}
ul.download li:last-child {
  margin-bottom: 0;
}
ul.download img {
  float: left;
  padding-right: 10px;
}
ul.download .title {
  position: relative;
  top: 12px;
}
ul.download .fileinfo {
  color: #5b6770;
  font-size: 12px;
  position: relative;
  bottom: 8px;
}
ul.download a {
  float: right;
}

/* download program, plan */
ul.download2 {
  float: none;
  width: auto;
}
ul.download2 li {
  zoom: 1;
  overflow: hidden;
  text-transform: uppercase;
  display: inline-block;
}
ul.download2 li:last-child {
  margin-bottom: 0;
}
ul.download2 img {
  float: left;
  padding-right: 10px;
}
ul.download2 .title {
  position: relative;
  top: 12px;
}
ul.download2 .fileinfo {
  color: #5b6770;
  font-size: 12px;
  position: relative;
  bottom: 8px;
}
ul.download2 a {
}

/* box with result message */
div.result {
  background-color: transparent;
  clear: both;
  padding: 20px 30px;
  position: relative;
  margin-bottom: 25px;
  border: 1px solid #fff;
}
div.result h3,
div.result p {
  margin-bottom: 10px;
}
div.result a.close {
  position: absolute;
  right: 30px;
  top: 20px;
}

/* box with stats */
dl.stats {
  background-color: #e6e8ea;
  clear: both;
  width: 500px;
  padding: 10px 15px;
  margin-bottom: 25px;
  font-size: 18px;
  color: #5b6770;
  text-transform: uppercase;
  overflow: hidden;
  line-height: 1.8;
}
dl.stats dt {
  width: 200px;
  float: left;
}
dl.stats dl {
  width: 300px;
  float: left;
}
dl.stats .member {
  color: #000;
}
dl.stats .total {
  color: #151956;
}

/* ajax */
.ajax-loader {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: #fff url(i/ajax.gif) no-repeat 0 0;
  filter: alpha(opacity=50);
  opacity: 0.5;
  -moz-opacity: 0.5;
  z-index: 10;
  display: none;
}
.ajax-loader-local {
  position: absolute;
  width: 32px;
  height: 32px;
  left: 0;
  top: 0;
  background: transparent url(i/ajax.gif) no-repeat 0 0;
  filter: alpha(opacity=50);
  opacity: 0.5;
  -moz-opacity: 0.5;
  z-index: 10;
}

@media screen and (max-width: 854px) {
  body {
    min-width: 0;
    width: 100%;
  }
  #wrap {
    width: auto;
  }
  #header .inner {
    width: auto;
    overflow: hidden;
  }
  .closed #header h1 {
    left: 15px;
  }
  #header .logo-ferg {
    margin-left: 15px;
  }
  #header .inner img {
    width: 100%;
  }
  #footer .inner {
    width: auto;
  }
  #content {
    padding-left: 15px;
    padding-right: 15px;
  }
  form.subscr li {
    margin-right: 0;
  }
  form.subscr li.odd {
    margin-right: 2%;
  }
  form.subscr span.name {
    min-width: 15%;
    padding-right: 1%;
  }
  form.subscr input.txt {
    width: 75%;
    padding-left: 1%;
  }
}
@media screen and (max-width: 1024px) {
  body {
    font-size: 20px;
    width: 100%;
  }
  form.subscr li {
    width: auto;
    float: none;
  }
  form.subscr li label {
    overflow: hidden;
  }
  form.subscr div.code span.comment {
    font-size: 30px;
    line-height: 1.2;
    width: auto;
  }
  form.subscr div.code .txt {
    width: 30%;
  }
  form.subscr span.legend {
    font-size: 30px;
  }
  form.subscr label {
    float: none;
    width: auto;
  }
  form.subscr span.name {
    font-size: 30px;
  }
  form.subscr input.txt {
    font-size: 30px;
  }
  form.subscr li.member {
    width: auto;
  }
  form.subscr li.confirm {
    float: none;
    overflow: hidden;
    width: auto;
    margin-bottom: 20px;
    height: auto;
    min-height: 0;
    font-size: 30px;
  }
  form.subscr li.confirm label {
    float: none;
    font-size: 30px;
    width: auto;
  }
  form.subscr li.confirm span.comment {
    float: none;
    font-size: 20px;
    width: auto;
    line-height: 1.2;
    min-width: 0;
    display: block;
    overflow: hidden;
  }
  form.subscr li.valider {
    float: none;
    width: auto;
    margin-bottom: 20px;
    height: auto;
    font-size: 30px;
  }
  form.subscr li.confirm input.cb {
    top: -10px;
  }
}
@media screen and (max-width: 500px) {
  .closed #wrap {
    padding-top: 150px;
  }
  .closed #header {
    height: 150px;
  }
  .closed #header h1 {
    top: 130px;
  }
  #header h1 img {
    width: 80%;
  }
  #header #logo-closed {
    left: 0 !important;
    width: 100% !important;
  }
  .closed #header .inner {
    background-size: 40%;
  }
  ul.download {
    float: none;
    width: auto;
    padding: 0;
    margin: 0;
    margin-bottom: 20px;
  }
  ul.download a {
    float: none;
  }
  form.subscr li {
    height: auto;
    min-height: 0; /*border: none;*/
  }
  form.subscr li.odd {
    margin-right: 0;
  }
  form.subscr li.member {
    width: auto;
  }
  form.subscr label {
    float: none;
    width: auto;
  }
  form.subscr div.code .txt {
    float: none;
    position: static;
    margin-bottom: 15px;
    width: 50%;
  }
  form.subscr div.code span.comment {
    float: none;
    padding: 0;
  }
  form.subscr span.name {
    min-width: 0;
    width: auto;
    float: none;
    position: static;
    display: block;
    overflow: hidden;
  }
  form.subscr input.txt {
    min-width: 0;
    width: 100%;
    float: none;
    position: static;
    display: block;
    overflow: hidden;
    background-color: #fff;
    margin: 0;
  }
  form.subscr input.cb {
    top: -10px;
  }
  form.subscr li.valider .boxed {
    white-space: nowrap;
    min-width: 0;
    margin: 0;
    padding: 5px 10px;
  }
}
