/* ============================================================
  RESET
============================================================ */
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, font, 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 {
  background: transparent;
  border: 0;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
}

body {
  line-height: 1;
}

h1, h2, h3, h4, h5, h6 {
  clear: both;
  font-weight: normal;
}

ol, ul {
  list-style: none;
}

blockquote {
  quotes: none;
}

blockquote:before, blockquote:after {
  content: '';
  content: none;
}

del {
  text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

a img {
  border: none;
}

/* ============================================================
  GLOBALS
============================================================ */
*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  background-color: #003366;  /* #dc2850; */
   /*#3b70a5;*/
/* #99b433; green */

  color: #505050;
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.8;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  line-height: 1;
  font-weight: 700;
  font-family: "Bitter", serif;
}

a {
  text-decoration: none;
  color: #dc2850;
}

a:hover {
  color: #9e1a37;
}

/* clear floated divs */
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

/* ============================================================
  TEMPLATE
============================================================ */
#wrapper {
  width: 100%;
  margin: 0 auto;
}

#main {
  background-color: #fff;
  padding: 30px 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

/* ============================================================
  INFO BAR
============================================================ */
.info-bar {
  background-color: #9e1a37;
  text-align: center;
}
.info-bar a.icon {
  margin: 0 5px;
  padding: 10px 0;
  color: #fff;
  font-size: 20px;
  position: relative;
}
.info-bar a.icon[data-title]:hover:after {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20px;
  content: attr(data-title);
  padding: 5px 10px;
  background-color: #9e1a37;
  font-family: "Open Sans", sans-serif;
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
}

/* ============================================================
  HEADER
============================================================ */
header .social {
  float: right; 
  width: 100%;
  height: 60px;
  text-align: right;
  line-height: 60px;
}
header .social a {
  display: inline-block;
  text-indent: -9999px;
  font-size: 0;
  margin: 15px 0;
  width: 30px;
  height: 30px;
  background-size: 30px 30px;
  margin-left: 5px;
  background-image: url("../img/core/social-light.png");
  background-image: url("../img/core/social-light.svg"), none;
  background-size: 180px 30px;
}
header .social a.fb {
  background-position: 0 0;
}
header .social a.twitter {
  background-position: -30px 0;
}
header .social a.googleplus {
  background-position: -60px 0;
}
header .social a.rss {
  background-position: -90px 0;
}
header .social a.email {
  background-position: -120px 0;
}
header .social a.search {
  background-position: -150px 0;
}
header .social a:hover {
  opacity: 0.4;
}
header .logo {
  float: left;
  width: 60px;
  height: 60px;
  margin-left: -60px;
}
header .site-title {
  background-color: #9e1a37;
  padding: 10px 30px;
  text-align: center;
}
header .site-title h1 {
  font-size: 12px;
  margin: 0;
  padding: 0;
  color: #fff;
}

/* ============================================================
  FOOTER
============================================================ */
footer {
  padding: 30px 0;
}
footer .container {
  padding: 0 30px;
}
footer aside {
  width: 33.3333%;
  float: left;
}
footer aside.logo {
  text-align: right;
}
footer ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
footer ul a {
  color: #fff;
}
footer ul a:hover {
  color: #ea8097;
}
footer .copyright {
  margin-top: 30px;
  text-align: center;
}
footer .copyright span {
  color: #fff;
}
footer .copyright a {
  color: #ea8097;
}

/* ============================================================
  MEDIA QUERIES
============================================================ */
@media all and (max-width: 960px) {
  /* footer */
  footer aside {
    width: 100%;
    float: none;
    margin-bottom: 15px;
  }
  footer aside:last-child {
    margin-bottom: 0;
  }
  footer aside.logo {
    text-align: center;
  }
  footer ul {
    text-align: center;
  }
  footer ul li {
    display: inline-block;
  }
  footer ul li:after {
    content: "\2022";
  }
  footer ul li:last-child:after {
    content: none;
  }
  footer ul li a {
    margin: 0 10px;
  }
}
@media all and (max-width: 400px) {
  header .branding {
    padding: 15px 0;
  }
  header .branding .container {
    padding: 0 30px;
  }
  header .social {
    float: none;
    width: 100%;
    text-align: center;
    line-height: 30px;
    height: 30px;
  }
  header .social a {
    margin: 0 5px;
  }
  header .logo {
    float: none;
    margin: 0 auto;
    margin-bottom: 15px;
  }
}
