﻿@charset "UTF-8";
/* #EasyEdit Color Definitions
================================================== */
/* #Variable Definitions
================================================== */
/* #Imports
================================================== */
/* #Functions
================================================== */
/* #Mixins
================================================== */
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: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

html {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q, blockquote {
  quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}

a img {
  border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
  display: block;
}

@font-face {
  font-family: pictonic;
  src: url("fonts/pictonic.eot");
  src: url("fonts/pictonic.eot?#iefix") format("embedded-opentype"), url("../fonts/pictonic.ttf") format("truetype"), url("../fonts/pictonic.woff") format("woff"), url("../fonts/pictonic.svg") format("svg");
  font-weight: normal;
  font-style: normal;
}

.pictonic {
  font-family: "pictonic";
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased !important;
  -moz-font-smoothing: antialiased !important;
  font-smoothing: antialiased !important;
  line-height: 1em;
}

a.pictonic, span.pictonic, small.pictonic {
  display: -moz-inline-stack;
  display: inline-block;
  zoom: 1;
  *display: inline;
}

[class^="icon-"], [class*=" icon-"] {
  font-family: "pictonic";
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased !important;
  -moz-font-smoothing: antialiased !important;
  font-smoothing: antialiased !important;
  line-height: 1em;
}

a[class^="icon-"], a[class*=" icon-"], span[class^="icon-"], span[class*=" icon-"], small[class^="icon-"], small[class*=" icon-"] {
  display: -moz-inline-stack;
  display: inline-block;
  zoom: 1;
  *display: inline;
}

.icon-kub-search:before {
  content: "";
}

.icon-facebook:before {
  /*content: "";*/
  content: url(../images/f.png);
}

.icon-twitter-3:before {
/*  content: "";*/
  content: url(../images/twitter.png);
  height:5px;
}

.icon-rss:before {
  content: "";
}

.icon-mpl2-play:before {
  content: "";
}

.icon-volume-up:before {
  content: "";
}

.icon-mapmarker-00:before {
  content: "";
}

.icon-openbook-01:before {
  content: "";
}

.icon-chevron-right:before {
  content: "";
}

.icon-chevron-left:before {
  content: "";
}

.icon-cir-arrow-down:before {
  content: "";
}

.icon-cr-delete:before {
  content: "";
}

.icon-speech-alt-1:before {
  content: "";
}

.icon-sort-updown:after {
  content: "";
}

.icon-geo-arrw-down:after {
  content: "";
}

.icon-movie:before {
  content: "";
}

.icon-youtube:before {
  content: "";
}

.icon-vimeo:before {
  content: "";
}

.icon-file1:before {
  content: "";
}

.icon-linkedin:before {
  content: "";
}

.icon-pinterest:before {
  content: "";
}

.icon-mail:before {
  content: "";
}

.icon-instagram:before {
  content: "";
}

.icon-google__x2B_:before {
  content: "";
}

/* =================================================
                        GRIDS
   ================================================= */
.container {
  position: relative;
  max-width: 85.76329%;
  padding-left: 6.64532%;
  padding-right: 6.64532%;
}
@media (min-width: 59.1225em) {
  .container {
    max-width: 79.09em;
    padding-left: 0.83em;
    padding-right: 0.83em;
    margin-left: auto;
    margin-right: auto;
  }
  .container:after {
    content: "";
    display: table;
    clear: both;
  }
}

.container.mobile {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}
@media (min-width: 37.5em) {
  .container.mobile {
    max-width: 79.09em;
    padding-left: 0.83em;
    padding-right: 0.83em;
    margin-left: auto;
    margin-right: auto;
  }
  .container.mobile:after {
    content: "";
    display: table;
    clear: both;
  }
}

#featured-links {
  width: 100%;
  float: right;
  margin-right: 0;
  #margin-left: -0.83em;
  display: inline;
}
@media (min-width: 59.1225em) {
  #featured-links {
    width: 28.42332%;
    float: left;
    margin-right: 1.04944%;
  }
}

#rotator-wrap {
  width: 100%;
  float: right;
  margin-right: 0;
  #margin-left: -0.83em;
  display: inline;

}
@media (min-width: 59.1225em) {
  #rotator-wrap {
    width: 70.52725%;
    float: right;
    margin-right: 0;

  }
}

@media (min-width: 37.5em) {
  header.header #logo {
    width: 32.63371%;
    float: left;
    margin-right: 1.04944%;
  }
}
@media (min-width: 37.5em) {
  header.header .quick-wrap {
    width: 66.31685%;
    float: right;
    margin-right: 0;
  }
}

#feat-footer .module {
  width: 100%;
  float: right;
  margin-right: 0;
  #margin-left: -0.83em;
  display: inline;
}
@media (min-width: 37.5em) {
  #feat-footer .module {
    padding-left: 1.51726%;
    padding-right: 1.51726%;
    width: 29.59919%;
    float: left;
    margin-right: 1.04944%;
  }
}

.subpage #content,
.subpage #breadcrumbs {
  padding-left: 7.66675%;
  padding-right: 7.66675%;
  width: 84.6665%;
  float: left;
  margin-right: 2.12113%;
  display: inline;
}
@media (min-width: 37.5em) {
  .subpage #content,
  .subpage #breadcrumbs {
    padding-left: 6.52421%;
    padding-right: 6.52421%;
    width: 65.89961%;
    float: right;
    margin-right: 0;
  }
}
.subpage #sidebar {
  width: 100%;
  float: right;
  margin-right: 0;
  #margin-left: -0.83em;
  display: inline;
}
@media (min-width: 37.5em) {
  .subpage #sidebar {
    width: 20.00253%;
    float: left;
    margin-right: 1.04944%;
  }
}

.fullwidth #content {
  padding-left: 7.66675%;
  padding-right: 7.66675%;
  width: 84.6665%;
  float: left;
  margin-right: 2.12113%;
  display: inline;
}
@media (min-width: 37.5em) {
  .fullwidth #content {
    padding-left: 6.52421%;
    padding-right: 6.52421%;
    width: 86.95157%;
    float: right;
    margin-right: 0;
  }
}

/* =================================================
                     TYPOGRAPHY
   ================================================= */
html, body {
  font-size: 12px !important;
}

body h1, body h2, body h3, body h4, body h5, body h6 {
  -webkit-font-smoothing: antialiased!important;
  -moz-font-smoothing: antialiased!important;
  font-smoothing: antialiased!important;
  line-height: 1em;
}
body h1, body h2, body h4, body h6,
body a, body p, body span, body blockquote, body table, body input,
body ul, body ol, body li, body th, body td
#breadcrumbs *,
body #nav > li > ul *,
body #featured-links a span,
body a.blog-comment-number div {
  font-family: "Open Sans", sans-serif;
}
body h3, body h5, body caption,
body nav#quick a {
  font-family: "Tienne", serif;
}
body #feat-footer .module h5,
body #feat-footer .module h5 a,
body #feat-footer .module h5 span {
  font-family: Times, Serif;
  font-weight: 200;
}
body h1, body h5, body strong {
  font-weight: 700;
}
body h1, body h2, body h4, body h5,
body a, body p, body span,
body ul, body ol, body li,
body blockquote, body table, body caption {
  font-weight: 300;
}
body #nav a,
body #featured-links a,
body #menu-more-links a,
body #sidebar-nav .sidebar-title {
  font-family: "Rambla", sans-serif;
  font-weight: 700;
}
body a {
  text-decoration: none;
}
body p {
  font-size: 1.1em;
  line-height: 2em;
  font-weight: 400;
  margin-bottom: 0.5em;
}
body h1 {
  font-size: 3em;
  font-weight: 500;
  line-height: 1.5em;
  margin-bottom: .7em;
}
body #text h2 {
  font-size: 2.6em;
  margin: 1em 0 0.5em 0;
}
body #text h3 {
  font-size: 2.5em;
  margin: 0.3em 0;
}
body #text h4 {
  font-size: 2.0em;
  margin: 1.5em 0 0.6em 0;
}
body #text h5 {
  font-size: 1.5em;
  margin: 0.5em 0 0.6em 0;
}
body #text h6 {
  font-size: 1.3em;
  margin: 0 0 0.6em 0;
  display: inline-block;
  text-transform: uppercase;
  padding: 0.2em 0.6em;
  letter-spacing: 0.15em;
}
body #text em {
  font-style: italic;
}
body #text li {
  line-height: 2em;
  font-weight: 500;
  list-style: circle;
  margin-left: 1.5em;
}
body #text blockquote {
  padding: 1.5em;
  font-size: 1.8em;
  text-align: center;
}
body #text table {
  width: 100%;
  margin: 4em 0;
}
body #text th {
  font-weight: 700;
}
body #text th, body #text td {
  padding: 1em 0.4em;
}
body #text th,
body #text table {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
body #text td {
  border-left: 1px solid rgba(0, 0, 0, 0.05);
  border-right: 1px solid rgba(0, 0, 0, 0.05);
}
body #text caption {
  font-size: 2em;
  line-height: 2em;
  text-align: center;
  -webkit-font-smoothing: antialiased!important;
  -moz-font-smoothing: antialiased!important;
  font-smoothing: antialiased!important;
}

::selection {
  text-shadow: none;
}

::-moz-selection {
  text-shadow: none;
}

/* =================================================
                     ANIMATIONS
   ================================================= */
.container {
  -webkit-transition: width 0.3s ease-in-out, height 0.3s ease-in-out;
  -moz-transition: width 0.3s ease-in-out, height 0.3s ease-in-out;
  -o-transition: width 0.3s ease-in-out, height 0.3s ease-in-out;
  transition: width 0.3s ease-in-out, height 0.3s ease-in-out;
}

a {
  -webkit-transition: color 0.15s ease-in-out;
  -moz-transition: color 0.15s ease-in-out;
  -o-transition: color 0.15s ease-in-out;
  transition: color 0.15s ease-in-out;
}

#nav *,
.button {
  -webkit-transition: opacity 0.2s ease-in-out, color 0.1s ease-in-out, background-color 0.2s ease-in-out;
  -moz-transition: opacity 0.2s ease-in-out, color 0.1s ease-in-out, background-color 0.2s ease-in-out;
  -o-transition: opacity 0.2s ease-in-out, color 0.1s ease-in-out, background-color 0.2s ease-in-out;
  transition: opacity 0.2s ease-in-out, color 0.1s ease-in-out, background-color 0.2s ease-in-out;
}

#featured-links li a,
#featured-links li a span {
  -webkit-transition: color 0.3s ease-in-out, background 0.3s ease-in-out;
  -moz-transition: color 0.3s ease-in-out, background 0.3s ease-in-out;
  -o-transition: color 0.3s ease-in-out, background 0.3s ease-in-out;
  transition: color 0.3s ease-in-out, background 0.3s ease-in-out;
}

a.large-btn,
p.large-btn a,
a.medium-btn,
p.medium-btn a,
a.small-btn,
p.small-btn a {
  -webkit-transition: background 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  -moz-transition: background 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  -o-transition: background 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: background 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* =================================================
                       GLOBAL
   ================================================= */
header.header {
  position: relative;
  background-image: url("../images/grain2.png") repeat;
  z-index: 8000;
}
header.header.mobile {
  display: block;
}
header.header.desktop {
  display: none;
}
header.header.mobile {
  position: relative;
  float: left;
  width: 100%;
  z-index: 2001;
}
header.header.mobile a {
  text-decoration: none;
}
@media (min-width: 37.5em) {
  header.header {
    padding-top: 40px;
    padding-left: 6.64532%;
    padding-right: 6.64532%;
  }
  header.header.desktop {
    display: block;
  }
  header.header.mobile {
    display: none;
  }
  header.header #logo {
    display: block;
    padding-bottom: 40px;
  }
  header.header .container {
    max-width: 79.09em;
    padding-left: 0.83em;
    padding-right: 0.83em;
    margin-left: auto;
    margin-right: auto;
  }
  header.header .container:after {
    content: "";
    display: table;
    clear: both;
  }
}
header.header .quick-wrap nav#quick {
  display: none;
}
@media (min-width: 59.1225em) {
  header.header .quick-wrap nav#quick {
    display: block;
    margin-right: 40px;
  }
  header.header .quick-wrap nav#quick a {
    margin-left: 20px;
    font-size: 1.3em;
    line-height: 1.3em;
    text-decoration: none;
  }
  header.header .quick-wrap nav#quick a:hover {
    text-decoration: underline;
  }
  header.header .quick-wrap nav#quick a span {
    display: inline-table;
    margin: -2px 0 0 5px;
    font-size: .6em;
    line-height: 1em;
    color: rgba(0, 0, 0, 0.2);
    text-shadow: 1px 2px 1px white, 0 0 0 rgba(0, 0, 0, 0.3);
  }
}
@media (min-width: 37.5em) {
  header.header .quick-wrap {
    line-height: 100%;
    margin-top: 20px;
  }
  header.header .quick-wrap.desktop {
    display: block;
  }
  header.header .quick-wrap.mobile {
    display: none;
  }
  header.header .quick-wrap nav#quick,
  header.header .quick-wrap ul.social {
    float: right;
  }
  header.header .quick-wrap li {
    float: left;
    margin-left: 15px;
    font-size: 1.5em;
  }
  header.header .quick-wrap li a {
    display: block;
    text-decoration: none;
  }
}

/*-----Navigation-----*/
nav.primary {
  font-size: 1.1em;
  -webkit-font-smoothing: antialiased!important;
  -moz-font-smoothing: antialiased!important;
  font-smoothing: antialiased!important;
 
}
nav.primary.mobile {
  display: block;m
ry.mobile ul#me
}
nav.primary.desktop {
  display: none;
}
nav.primary.mobile {
  float: left;
  width: 100%;
  height: 4em;
}
nav.primary.mobile #menu-more-wrap {
  float: left;
  width: 1.5em;
  padding: 0.90em 1.0em;
  cursor: pointer;
  text-transform: uppercase;
  background: url("../images/feat-bg.png") right repeat-y;,
}
nav.primary.mobile #menu-more-wrap.active {
  background-color: rgba(0, 0, 0, 0.05);
}
nav.primary.mobile #menu-more-wrap img#menu-more {
  width: 100%;
}
nav.primary.mobile ul#menu-more-links {
  display: none;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  position: absolute;
  left: 0;
  top: 100%;y
}
nav.primary.mobile ul#menu-more-links > li {
  position: relative;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.4);
  background: -webkit-gradient(linear, 50% 100%, 50% 0%, color-stop(0%, rgba(0, 0, 0, 0.05)), color-stop(100%, rgba(0, 0, 0, 0)));
  background: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0));
  background: -moz-linear-gradient(bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0));
  background: -o-linear-gradient(bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0));
  background: linear-gradient(bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0));
}
nav.primary.mobile ul#menu-more-links li a {
  display: inline-block;
  font-size: 1.5em;
  padding: 5%;
   color:black;
}
nav.primary.mobile ul#menu-more-links > li > a {
  width: 60%;
}
nav.primary.mobile ul#menu-more-links li .hotspot {
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  width: 20%;
  height: 90%;
  padding-left: 5%;
  padding-right: 5%;
}
nav.primary.mobile ul#menu-more-links li ul {
  display: none;
}
nav.primary.mobile ul#menu-more-links li ul a {
  border: none;
  padding: 2% 5%;
  text-shadow: none;
}
nav.primary.mobile ul#menu-more-links li ul > a {
  font-size: 1.2em;
}
nav.primary.mobile ul#menu-more-links li ul ul {
  display: block;
  margin: 0.8em 0;
}
nav.primary.mobile ul#menu-more-links li ul ul a {
  font-size: 1em;
  margin-bottom: .5em;
  margin-left: 5%;
}
nav.primary.mobile ul#menu-more-links li.hasChildren a {
  position: relative;
  background: none;
}
nav.primary.mobile ul#menu-more-links li.hasChildren > .hotspot {
  background: url("../images/mobile-expand.png") 75% center no-repeat;
}
nav.primary.mobile ul#menu-more-links li.hasChildren > ul > li > a {
  background: url("../images/nav-bg.png") bottom repeat-x;
}
nav.primary.mobile ul#menu-more-links li.hasChildren > ul > li:last-child > a {
  background: none;
}
nav.primary.mobile ul#menu-more-links li.hasChildren.active {
  padding-bottom: 0.5em;
  background: rgba(255, 255, 255, 0.15);
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  -webkit-box-shadow: rgba(0, 0, 0, 0.3) 0 0.2em 0.9em inset;
  -moz-box-shadow: rgba(0, 0, 0, 0.3) 0 0.2em 0.9em inset;
  box-shadow: rgba(0, 0, 0, 0.3) 0 0.2em 0.9em inset;
}
nav.primary.mobile ul#menu-more-links li.hasChildren.active > .hotspot {
  border-bottom: none;
  cursor: pointer;
  background: url("../images/mobile-collapse.png") 75% center no-repeat;
}
nav.primary.mobile #menu-more-close {
  width: 100%;
  text-align: center;
  padding: 3.55% 0;
  background: url("../images/more-up.png") no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  cursor: pointer;
}
nav.primary.mobile #menu-more-close img {
  width: 7.58%;
}
nav.primary.mobile div.search {
  font-size: 1.8em;
}
nav.primary.mobile div.search,
nav.primary.mobile div.social,
nav.primary.mobile #menu-more-wrap {
  position: relative;
}
nav.primary.mobile div.search {
  float: right;
  margin-left: 4%;
  padding: 0.64em 0;
  width: 2.5em;
  background: url("../images/feat-bg.png") left repeat-y;
}
nav.primary.mobile div.search a {
  display: block;
  text-align: center;
}
nav.primary.mobile div.search a.expanded {
  font-size: 0.8em;
  line-height: 1.2em;
}
nav.primary.mobile div.social {
  float: right;
  width: 9em;
  padding: 1.4em 0;
}
nav.primary.mobile div.social a {
  float: right;
  margin-right: .7em;
  font-size: 1.3em;
}
@media (min-width: 37.5em) {
  nav.primary.desktop {
    display: block;
  }
  nav.primary.mobile {
    display: none;
  }
  nav.primary.desktop {
    position: relative;
    z-index: 100;
    padding: 0 25px;
    margin: 0 0 -35px -25px;
    width: 100%;
    float: left;
    margin-right: 1.04944%;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 7px 9px 0, rgba(0, 0, 0, 0.3) 0 2px 2px 0 inset;
    -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 7px 9px 0, rgba(0, 0, 0, 0.3) 0 2px 2px 0 inset;
    box-shadow: rgba(0, 0, 0, 0.2) 0 7px 9px 0, rgba(0, 0, 0, 0.3) 0 2px 2px 0 inset;
  }
}

#search-mobile {
  display: none;
  margin-bottom: -0.2em;
  background: #dedede;
  -webkit-box-shadow: rgba(0, 0, 0, 0.35) 0 0.3em 0.8em 0 inset;
  -moz-box-shadow: rgba(0, 0, 0, 0.35) 0 0.3em 0.8em 0 inset;
  box-shadow: rgba(0, 0, 0, 0.35) 0 0.3em 0.8em 0 inset;
}
#search-mobile, #search-mobile fieldset {
  width: 100%;
  overflow: hidden;
}
#search-mobile input {
  border: 0;
  height: 3em;
  width: 92%;
  padding: 0 3%;
  font-size: 1.5em;
  background-color: transparent;
  color: rgba(0, 0, 0, 0.4);
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
  border-radius: 0;
}
#search-mobile a {
  position: absolute;
  right: 0.5em;
  font-size: 2.3em;
  line-height: 2em;
  color: rgba(0, 0, 0, 0.3);
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.3), 0 0 0 rgba(0, 0, 0, 0.3), 1px 1px 1px rgba(255, 255, 255, 0.3);
}
#search-mobile a:hover {
  color: rgba(0, 0, 0, 0.5);
}

#search-desktop {
  position: absolute;
  display: none;
  margin: 0.7em 0 0 -8.9em;
}
#search-desktop input {
  height: 3em;
  width: 167px;
  padding: 0 0.5em;
  border: 1px solid rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  -ms-border-radius: 7px;
  -o-border-radius: 7px;
  border-radius: 7px;
}
#search-desktop a {
  position: absolute;
  margin: -27px 0 0 8.4em;
  color: rgba(0, 0, 0, 0.3);
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.3), 0 0 0 rgba(0, 0, 0, 0.3), 1px 1px 1px rgba(255, 255, 255, 0.3);
}
#search-desktop a:hover {
  color: rgba(0, 0, 0, 0.5);
}

@media (min-width: 59.1225em) {
  #nav {
    position: relative;
    z-index: 1000;
    display: table;
    margin: 0 auto;
  }
}

#nav > li {
  padding: 0 14px;
  text-transform: uppercase;
  letter-spacing: 1px;

}
#nav > li.current > a, #nav > li:hover > a {
  background: url("../images/nav-a-bg.png") 0 50px repeat-x;

}
#nav > li > ul {
  padding: 15px 20px 25px 20px;
  margin-top: -1px;
  margin-left: -21px;
  position: absolute;
  display: none;
  z-index: 4000;
  -webkit-box-shadow: rgba(0, 0, 0, 0.1) 0 -4px 6px 0;
  -moz-box-shadow: rgba(0, 0, 0, 0.1) 0 -4px 6px 0;
  box-shadow: rgba(0, 0, 0, 0.1) 0 -4px 6px 0;
  -moz-border-radius-bottomleft: 8px;
  -webkit-border-bottom-left-radius: 8px;
  border-bottom-left-radius: 8px;
  -moz-border-radius-bottomright: 8px;
  -webkit-border-bottom-right-radius: 8px;
  border-bottom-right-radius: 8px;

}
#nav > li > ul * {
  text-transform: none;
  text-decoration: none;
  line-height: 28px;

}
#nav > li > ul > li > a {
  display: block;
  background: url("../images/nav-bg.png") bottom repeat-x;

}
#nav > li > ul > li > ul {
  margin-bottom: 5px;

}
#nav > li > ul > li > a, #nav > li > ul > li > ul > li, #nav > li > ul > li > ul > li > ul > li {
  padding: 0 10px;

}
#nav > li > ul > li > ul > li a {
  font-size: 0.8em;
  font-weight: 700;
  text-decoration: none;

}
#nav > li > ul > li > ul > li a:hover {
  text-decoration: underline;

}
#nav > li > ul > li > ul > li > ul > li a {
  font-size: 0.7em;
  font-weight: 700;
  text-decoration: none;

}
#nav > li > ul > li > ul > li > ul > li a:hover {
  text-decoration: underline;

}
#nav > li:hover > ul {
  display: block;

}

nav#primary,
#nav > li,
#nav > li > a {
  display: inline-block;
  height: 70px;
  text-decoration: none;
  font-size: 1.16em;

}

#nav > li,
#nav > li > a {
  line-height: 70px;
    color:order;
}

#head-wrap {
  background-image: url("../images/head-wrap-bg.png"), url("../images/grain1.png");
  background-size: contain, auto;
}

#page-wrap {
  repeat: both;
  width: 100%;
}
@media (min-width: 37.5em) {
  #page-wrap {
    padding-top: 9%;
  }
}
@media (min-width: 59.1225em) {
  #page-wrap {
    padding-top: 35px;
  }
}

a.large-btn,
p.large-btn a,
a.medium-btn,
p.medium-btn a,
a.small-btn,
p.small-btn a,
section#feat-footer .continue-link {
  display: inline-block;
  text-decoration: none;
  margin: 0 0.3em;
}

a.medium-btn:active,
p.medium-btn a:active,
a.small-btn:active,
p.small-btn a:active {
  -webkit-box-shadow: rgba(0, 0, 0, 0.55) 0 0.2em 0.45em inset;
  -moz-box-shadow: rgba(0, 0, 0, 0.55) 0 0.2em 0.45em inset;
  box-shadow: rgba(0, 0, 0, 0.55) 0 0.2em 0.45em inset;
}

a.large-btn,
p.large-btn a,
section#feat-footer .continue-link {
  padding: 0 1em;
  font-size: 1.8em;
  line-height: 1.8em;
  -webkit-border-radius: 0.4em;
  -moz-border-radius: 0.4em;
  -ms-border-radius: 0.4em;
  -o-border-radius: 0.4em;
  border-radius: 0.4em;
}
a.large-btn:active,
p.large-btn a:active,
section#feat-footer .continue-link:active {
  -webkit-box-shadow: rgba(0, 0, 0, 0.3) 0 0.2em 0.45em inset;
  -moz-box-shadow: rgba(0, 0, 0, 0.3) 0 0.2em 0.45em inset;
  box-shadow: rgba(0, 0, 0, 0.3) 0 0.2em 0.45em inset;
}

a.medium-btn,
p.medium-btn a {
  padding: 0 1.3em;
  font-size: 1.4em;
  line-height: 2em;
  -webkit-border-radius: 0.5em;
  -moz-border-radius: 0.5em;
  -ms-border-radius: 0.5em;
  -o-border-radius: 0.5em;
  border-radius: 0.5em;
}

a.small-btn,
p.small-btn a {
  padding: 0 0.9em;
  font-size: 0.9em;
  line-height: 2.36em;
  text-transform: uppercase;
  border: 1px solid rgba(0, 0, 0, 0.15);
  -webkit-box-shadow: rgba(0, 0, 0, 0.05) 0 0.2em 0.45em;
  -moz-box-shadow: rgba(0, 0, 0, 0.05) 0 0.2em 0.45em;
  box-shadow: rgba(0, 0, 0, 0.05) 0 0.2em 0.45em;
  -webkit-border-radius: 0.8em;
  -moz-border-radius: 0.8em;
  -ms-border-radius: 0.8em;
  -o-border-radius: 0.8em;
  border-radius: 0.8em;
}

#feat-footer {
  overflow: hidden;
}
#feat-footer .module {
  margin: 0;
  padding-top: 2.5em;
  padding-bottom: 2.5em;
}
@media (min-width: 37.5em) {
  #feat-footer .module {
    background: url("../images/feat-bg.png") left repeat-y;
  }
}
@media (min-width: 37.5em) {
  #feat-footer .module#pos3 {
    background: url("../images/feat-bg.png") left repeat-y, url("../images/feat-bg.png") right repeat-y;
  }
}
#feat-footer .module a {
  text-decoration: none;
}
#feat-footer .module p {
  line-height: 1.8em;
}
#feat-footer .module .continue-link {
  font-size: 1.4em;
  display: table;
  margin: 1.3em auto;
  width: 5em;
  -webkit-box-shadow: rgba(0, 0, 0, 0.15) 0 1px 2px 0;
  -moz-box-shadow: rgba(0, 0, 0, 0.15) 0 1px 2px 0;
  box-shadow: rgba(0, 0, 0, 0.15) 0 1px 2px 0;
}
#feat-footer .module h4 a {
  display: block;
  height: 50px;
  margin-bottom: 1.2em;
  padding: 0 10px;
  font-size: 1.5em;
  font-weight: 200;
  line-height: 50px;
  text-align: center;
  background: rgba(255, 255, 255, 0.15) url("../images/feat-title-bg.png") 94% no-repeat;
  -webkit-font-smoothing: antialiased!important;
  -moz-font-smoothing: antialiased!important;
  font-smoothing: antialiased!important;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.15) 0 1px 2px 0, rgba(255, 255, 255, 0.2) 0 1px 1px 0 inset;
  -moz-box-shadow: rgba(0, 0, 0, 0.15) 0 1px 2px 0, rgba(255, 255, 255, 0.2) 0 1px 1px 0 inset;
  box-shadow: rgba(0, 0, 0, 0.15) 0 1px 2px 0, rgba(255, 255, 255, 0.2) 0 1px 1px 0 inset;
  background-color: #2F0B3A; /*background for h4 3rd quadrant "This Week in UBC"*/
  /*&.icon-twitter-3{
  	text-indent:30%;
  	text-align:left;
  	@include at-breakpoint($tablet-break) {
  		text-indent:16%;
  	}
  	@include at-breakpoint($nav-break) {
  		text-indent:23%;
  	}
  }*/
}
@media (min-width: 59.1225em) {
  #feat-footer .module h4 a {
    font-size: 2em;
  }
}
#feat-footer .module h4 a span {
  margin-right: 0.3em;
}
#feat-footer .module h4 a:hover {
  background: rgba(255, 255, 255, 0.25) url("../images/feat-title-bg.png") 94% no-repeat;
}
#feat-footer .module h4 a:active {
  -webkit-box-shadow: rgba(0, 0, 0, 0.5) 0 2px 3px 0 inset;
  -moz-box-shadow: rgba(0, 0, 0, 0.5) 0 2px 3px 0 inset;
  box-shadow: rgba(0, 0, 0, 0.5) 0 2px 3px 0 inset;
  background: rgba(255, 255, 255, 0.175) url("../images/feat-title-bg.png") 94% no-repeat;
}
#feat-footer .module h5 {
  margin-bottom: .7em;
  font-size: 1.8em;
}
#feat-footer .module h5 a {
  font-size: 1em;
}
#feat-footer .module h5 span {
  font-size: .55em;
  text-transform: uppercase;
}
#feat-footer #event-rotator, #feat-footer #event-rotator img {
  width: 100%;
}
#feat-footer .blogs .tags,
#feat-footer .blogs .blog-comment-number {
  display: none;
}
#feat-footer .blogs h3 {
  font-family: Times, Serif;
  margin-bottom: .7em;
  font-size: 1.8em;
  font-weight: 300;
}
#feat-footer .events .event {
  clear: both;
  margin-bottom: 1em;
}
#feat-footer .events .date {
  width: 48px;
  float: left;
  margin-right: 10px;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  border: 1px solid rgba(0, 0, 0, 0.2);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
  line-height: 1.3;
  margin-bottom: 0.18em;
}
#feat-footer .events .day {
  line-height: 1.3em;
  font-size: 1.7em;
  background: #FFF;
  -webkit-border-radius: 0 0 4px 4px;
  -moz-border-radius: 0 0 4px 4px;
  -ms-border-radius: 0 0 4px 4px;
  -o-border-radius: 0 0 4px 4px;
  border-radius: 0 0 4px 4px;
}
#feat-footer .events .month {
  padding: 4px 0;
  font-size: 0.85em;
  color: #FFF;
  background: rgba(255, 255, 255, 0.15);
  -webkit-border-radius: 4px 4px 0 0;
  -moz-border-radius: 4px 4px 0 0;
  -ms-border-radius: 4px 4px 0 0;
  -o-border-radius: 4px 4px 0 0;
  border-radius: 4px 4px 0 0;
}
#feat-footer .events .details h3 {
  font-family: Times, Serif;
  margin-bottom: .3em;
  font-size: 1.8em;
  font-weight: 300;
  padding-top: 0.2em;
}

footer#footer {
  clear: both;
  padding: 30px 0 0 0;
  text-align: center;
  -webkit-box-shadow: rgba(0, 0, 0, 0.15) 0 8px 21px 0 inset;
  -moz-box-shadow: rgba(0, 0, 0, 0.15) 0 8px 21px 0 inset;
  box-shadow: rgba(0, 0, 0, 0.15) 0 8px 21px 0 inset;
}
footer#footer .address {
  font-size: 1.2em;
}
footer#footer .address #footer-pin {
  display: inline-block;
  text-align: center;
  text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.9);
  text-decoration: none;
  font-size: 2.5em;
  line-height: 2em;
}
footer#footer .copyright {
  font-size: 1em;
  line-height: 4em;
}
footer#footer #ekklogo {
  display: block;
  position: absolute;
  right: 0;
  width: 47px;
  height: 47px;
  margin-top: -47px;
  background-color: rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 7px 7px 0 0;
  -moz-border-radius: 7px 7px 0 0;
  -ms-border-radius: 7px 7px 0 0;
  -o-border-radius: 7px 7px 0 0;
  border-radius: 7px 7px 0 0;
  -webkit-box-shadow: rgba(0, 0, 0, 0.3) 0 3px 5px 0 inset;
  -moz-box-shadow: rgba(0, 0, 0, 0.3) 0 3px 5px 0 inset;
  box-shadow: rgba(0, 0, 0, 0.3) 0 3px 5px 0 inset;
}
footer#footer #ekklogo span {
  display: block;
  width: 22px;
  height: 21px;
  margin: 12px 0 0 13px;
  background: url("/_img/ekk_logo.png") no-repeat;
  text-indent: -9999px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  font-size: 0;
  text-align: start;
}
footer#footer #ekklogo:hover span {
  background-position: 0 -21px;
}

/* =================================================
                        HOME
   ================================================= */
#home #content {
  float: left;
}
@media (min-width: 59.1225em) {
  #home #content {
    float: none;
    padding-bottom: 2em;
    margin-top: -1em;
  }
}
@media (min-width: 37.5em) {
  #home #content {
    margin-top: 35px;
  }
}

#banner.mobile {
  display: block;
}
#banner.desktop {
  display: none;
}
@media (min-width: 37.5em) {
  #banner.desktop {
    display: block;
  }
  #banner.mobile {
    display: none;
  }
}
#banner img {
  display: block;
  width: 100%;
  height: auto;
  min-width: 100%;
  max-width: 100%;
  line-height: 0;
  padding: 0;
  margin: 0;
}

#rotator-wrap {
  float: right;
  margin: 20px auto;

}
@media (min-width: 37.5em) {
  #rotator-wrap {
    margin: 5px auto 20px auto;

  }
}

ol.cycle-slideshow {
  margin-top: 0px;/*controls movement of slideshow frame*/
  border: 3px solid white;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 0 8px 0;
  -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 0 8px 0;
  box-shadow: rgba(0, 0, 0, 0.2) 0 0 8px 0;
}
ifrm {
 background: url('url-of-your-image.png')
 padding: 50px; // adjust as needed
} 
#event-rotator-wrap ol.cycle-slideshow {
  margin-top: 0px;
  border: none;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
  border-radius: 0;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;

}

@media (min-width: 59.1225em) {
  ol.cycle-slideshow {
    margin-left: -6px;
  }
}

@media (min-width: 59.1225em) {
#event-rotator-wrap  ol.cycle-slideshow {
    margin-left: 0;
  }
}

ol.cycle-slideshow li {
  position: absolute;
}

section#event-rotator {
  overflow: hidden;
}
section#event-rotator img {
  width: auto!important;
  min-width: 100%;
  min-height: 100%;
}

.cycle-pager,
.cycle-pager-event {
  text-align: center;
}
.cycle-pager span,
.cycle-pager-event span {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 30px 3px 10px 3px;
  text-indent: -9999px;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background-color: #FFF;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  border-radius: 10px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 2px 2px 0, rgba(0, 0, 0, 0.2) 0 -1px 2px 0 inset;
  -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 2px 2px 0, rgba(0, 0, 0, 0.2) 0 -1px 2px 0 inset;
  box-shadow: rgba(0, 0, 0, 0.2) 0 2px 2px 0, rgba(0, 0, 0, 0.2) 0 -1px 2px 0 inset;
}

.cycle-pager-event {
  float: left;
  width: 100%;
  line-height: 0;
}

#featured-links {
  margin-left: 0;
  text-align: center;
  padding-bottom: 2em;
  margin-top: -1em;
   
}
@media (min-width: 59.1225em) {
  #featured-links {
    text-align: left;
    margin-top: 7px;
    padding-bottom: 0;
  }
}
#featured-links li:last-child a {
  border-bottom: none;

}
#featured-links li a,
#featured-links li a span {
  display: block;
  text-decoration: none;
  -webkit-font-smoothing: antialiased!important;
  -moz-font-smoothing: antialiased!important;
  font-smoothing: antialiased!important;

}
#featured-links li a {
  padding: 14px;
  font-size: 1.9em;
  letter-spacing: 1px;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5);
  border-bottom: 1px dotted rgba(255, 255, 255, 0.5);

}
#featured-links li a:hover, #featured-links li a:hover span {
  color: #FFF;
  text-shadow: none;
  }
#featured-links li a span {
  letter-spacing: 0;
  text-shadow: none;
  font-size: 0.72em;
  font-weight: 400;
  margin: 5px 0 0 0;

}

section#feat-sermon {
  clear: both;
  padding: 25px 0;

}
section#feat-sermon a {
  text-decoration: none;
}
section#feat-sermon a:hover {
  text-decoration: underline;
}
section#feat-sermon h3 {
  font: 300 2.2em/1em "Open Sans", sans-serif;
  margin-bottom: 0.4em;
}
section#feat-sermon .title a {
  font: 1.3em/1.5em "Tienne", sans-serif;
}
section#feat-sermon .meta, section#feat-sermon .meta a {
  font: 1em/1.5em "Tienne", sans-serif;
}
section#feat-sermon ul {
  position: relative;
  display: table;
  margin: 5% auto 0 auto;
}
@media (min-width: 59.1225em) {
  section#feat-sermon ul {
    position: absolute;
    margin-top: -17.5px;
    top: 50%;
    right: 0;
  }
}
section#feat-sermon ul li {
  margin-left: 11px;
}
section#feat-sermon ul li, section#feat-sermon ul li a {
  display: inline-block;
  width: 53px;
  height: 35px;
}
section#feat-sermon ul li a {
  box-sizing: border-box;
  text-align: center;
  font-size: 1.5em;
  font-weight: bold;
  line-height: 35px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5), 0 0 0 rgba(0, 0, 0, 0.5), 1px 1px 1px rgba(255, 255, 255, 0.5);
  background-color: #FFF;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
  background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(255, 255, 255, 0.5)), color-stop(100%, rgba(255, 255, 255, 0)));
  background: -webkit-linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
  background: -moz-linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
  background: -o-linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
  background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
  -webkit-box-shadow: rgba(0, 0, 0, 0.15) 0 1px 1px 0, rgba(255, 255, 255, 0.4) 0 -2px 4px 0 inset;
  -moz-box-shadow: rgba(0, 0, 0, 0.15) 0 1px 1px 0, rgba(255, 255, 255, 0.4) 0 -2px 4px 0 inset;
  box-shadow: rgba(0, 0, 0, 0.15) 0 1px 1px 0, rgba(255, 255, 255, 0.4) 0 -2px 4px 0 inset;
}
section#feat-sermon ul li a.icon-mpl2-play, section#feat-sermon ul li a.icon-volume-up {
  font-size: 1em;
}
section#feat-sermon ul li a:hover {
  text-decoration: none;
  text-shadow: 1px 1px 0px white, 0 0 0 rgba(0, 0, 0, 0.8);
  background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(255, 255, 255, 0.75)), color-stop(100%, rgba(255, 255, 255, 0.25)));
  background: -webkit-linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.25));
  background: -moz-linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.25));
  background: -o-linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.25));
  background: linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.25));
}
section#feat-sermon ul li a:active {
  -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0 2px 3px 0 inset;
  -moz-box-shadow: rgba(0, 0, 0, 0.4) 0 2px 3px 0 inset;
  box-shadow: rgba(0, 0, 0, 0.4) 0 2px 3px 0 inset;
  background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(255, 255, 255, 0.625)), color-stop(100%, rgba(255, 255, 255, 0.125)));
  background: -webkit-linear-gradient(rgba(255, 255, 255, 0.625), rgba(255, 255, 255, 0.125));
  background: -moz-linear-gradient(rgba(255, 255, 255, 0.625), rgba(255, 255, 255, 0.125));
  background: -o-linear-gradient(rgba(255, 255, 255, 0.625), rgba(255, 255, 255, 0.125));
  background: linear-gradient(rgba(255, 255, 255, 0.625), rgba(255, 255, 255, 0.125));
}

/* =================================================
                       Subpage
   ================================================= */
.subpage #page-wrap {
  float: left;
}
@media (min-width: 37.5em) {
  .subpage #page-wrap {
    float: none;
    padding-top: 70px;
  }
  .subpage #page-wrap.hasHeader {
    padding-top: 0;
  }
}
.subpage #head-wrap {
  position: relative;
  z-index: -1;
}
.subpage #head-wrap img {
  display: block;
  width: 100%;
  height: auto;
  min-width: 100%;
  max-width: 100%;
  line-height: 0;
  padding: 0;
  margin: 0;
}
.subpage .hasHeader #content {
  padding-top: 3em;
}
@media (min-width: 37.5em) {
  .subpage .hasHeader #content {
    margin-top: -35px;
  }
}
.subpage #content {
  padding-top: 5.3em;
  padding-bottom: 3.5em;
  margin-right: 0;
}
@media (min-width: 37.5em) {
  .subpage #content {
    margin-top: -70px;
  }
}
.subpage #content br {
  line-height: 2em;

}
.subpage #breadcrumbs {
  font-weight: 700;
  padding-top: 1.2em;
  padding-bottom: 1.2em;: 6.38896%;
   background-color: #b6acb1;
}
@media (min-width: 37.5em) {
  .subpage #sidebar section #subnav li a {
   
}
.subpage #sidebar {
    width:16.65em;
  margin-right: 0px;
  background: #fcfcf7;/*background color side menu*/
}
@media (min-width: 37.5em) {
  .subpage #sidebar {
    width: 21.05197%;
  }
}
.subpage #sidebar section {
  margin-bottom: 4.3342%;
}
@media (min-width: 37.5em) {
  .subpage #sidebar section.sidebar-section {
    width: 195.6658%;
    margin-right: 4.3342%;
  }
}
.subpage #sidebar section.sidebar-section .byline li {
  font-size: 1em;
  line-height: 10em;
  font-weight: 600;
}
.subpage #sidebar section.sidebar-section .media {
  font-size: 2.5em;
}
@media (min-width: 37.5em) {
  .subpage #sidebar section.sidebar-section .media {
    font-size: 1.7em;
  }
}
.subpage #sidebar section.sidebar-section .media ul {
  display: table;
  margin: 0 auto;
  padding-top: 0.8em;
  padding-bottom: 0.8em;
}
@media (min-width: 37.5em) {
  .subpage #sidebar section.sidebar-section .media ul {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
  }
}
.subpage #sidebar section.sidebar-section .media li {
  display: inline-block;
  margin-right: 1em;
}
@media (min-width: 37.5em) {
  .subpage #sidebar section.sidebar-section .media li {
    margin-right: .5em;
  }
}
.subpage #sidebar section.sidebar-section .media li:last-child {
  margin-right: 0;
}
.subpage #sidebar section .sidebar-title {
  font-size: 1.3em;
}
    .subpage #sidebar section#sidebar-nav .sidebar-title {
        text-transform: uppercase;
        font-weight: 700;
    }
 #sidebar section img {
  display: block;
  width: 100%;
  height: auto;
  min-width: 100%;
  max-width: 100%;
  line-height: 0;
  padding: 0;
  margin: 0;
  margin-top: .5em;
}
.subpage #sidebar section 
}
@media (min-width: 37.5em) {
  .subpage #sidebar section #subnav li a {
    padding-left: .5em;
    padding-right: .5em;/*padding on side menu text*/
 
  }
}
.subpage #sidebar section #subnav li a:hover {
  background: rgba(0, 0, 0, 0.05) url("/_img/arrow-nav.png") 95% center no-repeat;
}
.subpage #sidebar section #subnav > li {
  margin-bottom: 2em;/*space between each line on side menu*/

}
.subpage #sidebar section #subnav > li > ul {
  margin-top: .4em;
}
.subpage #sidebar section #subnav > li > ul a {
  font-size: 1em;
  padding-left: 11.38896%;
  padding-top: 0.4em;
  padding-bottom: 0.4em;
}
@media (min-width: 37.5em) {
  .subpage #sidebar section #subnav > li > ul a {
    padding-left: 3.5em;
  }
}
.subpage #sidebar section header,
.subpage #sidebar section div.text {
  padding: -6.38896%;
}
@media (min-width: 37.5em) {
  .subpage #sidebar section header,
  .subpage #sidebar section div.text {
    padding: 2em;
  }
}
.subpage #sidebar section header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 6.38896%;
  padding-bottom: 6.38896%;
}
.subpage #sidebar section.sidebar-section .text {
  background: rgba(0, 0, 0, 0.03);
}
.subpage #sidebar section#sidebar-nav .text {
  padding-left: 0;
  padding-right: 0;
}
.subpage #sidebar section p, .subpage #sidebar section .byline {
  line-height: 1.4em;
}
.subpage #sidebar section h3 {
  font-size: 1.4em;
  line-height: 1.3em;
  margin-bottom: 0.2em;
}
.subpage #sidebar section h3 a {
  font-weight: 700;
}
.subpage #sidebar section h3 a:hover {
  color: rgba(0, 0, 0, 0.8);
}
.subpage #sidebar section img {
  display: block;
  width: 100%;
  height: auto;
  min-width: 100%;
  max-width: 100%;
  line-height: 0;
  padding: 0;
  margin: 0;
  margin-top: .5em;
}
.subpage #sidebar section a.blog-comment-number {
  float: right;
  font-size: 2.5em;
  text-decoration: none;
  font-weight: bold;
  position: relative;
  top: -12px;
  margin-left: 25px;
  vertical-align: middle;
}
@media (min-width: 37.5em) {
  .subpage #sidebar section a.blog-comment-number {
    top: 4px;
  }
}
.subpage #sidebar section a.blog-comment-number:hover {
  color: #333;
}
.subpage #sidebar section a.blog-comment-number div {
  text-align: center;
  margin-top: -31px;
  font-size: 0.4em;
  color: #FFF;
  line-height: 2.1em;
  vertical-align: middle;
}
.subpage #sidebar section .event .date {
  width: 48px;
  float: left;
  margin-right: 10px;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  border: 1px solid rgba(0, 0, 0, 0.2);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
  line-height: 1.3;
  margin-bottom: 0.18em;
}
.subpage #sidebar section .event .day {
  line-height: 1.3em;
  font-size: 1.7em;
  background: #FFF;
  -webkit-border-radius: 0 0 4px 4px;
  -moz-border-radius: 0 0 4px 4px;
  -ms-border-radius: 0 0 4px 4px;
  -o-border-radius: 0 0 4px 4px;
  border-radius: 0 0 4px 4px;
}
.subpage #sidebar section .event .month {
  padding: 4px 0;
  font-size: 0.85em;
  color: #FFF;
  -webkit-border-radius: 4px 4px 0 0;
  -moz-border-radius: 4px 4px 0 0;
  -ms-border-radius: 4px 4px 0 0;
  -o-border-radius: 4px 4px 0 0;
  border-radius: 4px 4px 0 0;
}
.subpage #sidebar section .event .details h3 {
  padding-top: 0.2em;
}

.fullwidth #page-wrap {
  float: left;
  padding-top: 0;
}
.fullwidth #content {
  margin-right: 0;
  padding-top: 3.4em;
  padding-bottom: 3.4em;
}
@media (min-width: 37.5em) {
  .fullwidth #content {
    padding-top: 70px;
  }
}

#events #event-nav li:last-child {
  display: none;
}
@media (min-width: 37.5em) {
  #events #event-nav li:last-child {
    display: block;
  }
}
#events #event_categories {
  margin-right: 20px;
  display: none;
}
@media (min-width: 37.5em) {
  #events #event_categories {
    display: block;
  }
}
#events .list-controls {
  float: none;
  margin: 0 auto;
}
@media (min-width: 37.5em) {
  #events .list-controls {
    float: left;
    margin: auto;
  }
}

#sermons .filters strong {
  display: block;
}
#sermons .filters select.sorter {
  width: 91%;
  margin-bottom: 1em;
}
@media (min-width: 50.25em) {
  #sermons .filters .filters strong {
    display: inline;
  }
  #sermons .filters select.sorter {
    width: auto;
    margin-bottom: auto;
  }
}

#blogs a.blog-comment-number {
  float: right;
  font-size: 2.5em;
  text-decoration: none;
  font-weight: bold;
  position: relative;
  top: -12px;
  margin-left: 25px;
  vertical-align: middle;
}
#blogs a.blog-comment-number:hover {
  color: #333;
}
#blogs a.blog-comment-number div {
  text-align: center;
  margin-top: -31px;
  font-size: 0.4em;
  color: #FFF;
  line-height: 2.1em;
  vertical-align: middle;
}

.hasCustomSelect {
  cursor: pointer;
}

.customSelect {
  font-size: 0.8em;
  background-color: #FFF;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.9em 0.7em 0.9em 1.3em;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5), 0 0 0 rgba(0, 0, 0, 0.5), 1px 1px 1px rgba(255, 255, 255, 0.5);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.15) 0 1px 1px 0;
  -moz-box-shadow: rgba(0, 0, 0, 0.15) 0 1px 1px 0;
  box-shadow: rgba(0, 0, 0, 0.15) 0 1px 1px 0;
  background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(100%, rgba(255, 255, 255, 0)));
  background: -webkit-linear-gradient(#ffffff, rgba(255, 255, 255, 0));
  background: -moz-linear-gradient(#ffffff, rgba(255, 255, 255, 0));
  background: -o-linear-gradient(#ffffff, rgba(255, 255, 255, 0));
  background: linear-gradient(#ffffff, rgba(255, 255, 255, 0));
}

.customSelect.customSelectHover {
  background: white;
}

.customSelectInner {
  vertical-align: middle;
  margin-right: 2.1em;
  font-size: 1.7em;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5), 0 0 0 rgba(0, 0, 0, 0.5), 1px 1px 1px rgba(255, 255, 255, 0.5);
}

div#wardrobe_container {
  position: absolute!important;
  top: 60px!important;
}

#video {
  display: block;
  width: 669px;
  height: 284px;
  background-color: #ccc;
  background-image: url('../images/run-for-the-prize.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  border: 2px solid blue;
}

#youtube-video {
  position: relative;
  display: inline-block;
}
#play-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}