/*

southfieldstriangle.co.uk v1.0
By D Rutter (@duncehat)
<): 2015

Contents
--------
0. 'bootstrap.min.css' is loaded first - includes 'normalize.css' v3.0.2
1. Base, links, typography
2. 

*/


/* ==========================================================================
   1. Base, links, typography
   ========================================================================== */

/**
 * STRA colours
 *
 * STRA blue #78b4e6
 * STRA green #c4c824
 * STRA red #e9522a
 *
 * STRA dark grey #575757 rgb(87,87,87)
 * STRA mid grey #878787
 * STRA light grey #b2b2b2
 *
 * STRA dark blue #2172b5
 * 
 */

/* Override Bootstrap's default container. */
@media (min-width: 1200px) {
  .container {
    width: 970px;
  }
}

body {
  background-color: #ffffff;
  color: #575757; /* STRA dark grey */
  font-size: 16px;
  font-family: "proxima-nova",sans-serif;
  font-style: normal;
  font-variant-ligatures: common-ligatures;
  -moz-font-feature-settings:     "liga", "clig";
  -ms-font-feature-settings:      "liga", "clig";
  -webkit-font-feature-settings:  "liga", "clig";
  font-feature-settings:          "liga", "clig";
  font-weight: 400;
  line-height: 1.5; /* 24px */
  padding-top: 0px; /* Required padding for .navbar-fixed-top. Change if height of navigation changes. */
  /* -webkit-font-smoothing: antialiased; */
}

@media (min-width:768px) {
  body {
    padding-top: 0px; /* Required padding for .navbar-fixed-top. Change if height of navigation changes. */
  }
}



/* Links
   -------------------------------------------------------------------------- */

a {
  color: #2172b5; /* STRA dark blue */
  text-decoration: none;
  -webkit-transition: color 0.2s ease;
          transition: color 0.2s ease;
}

a:hover {
  color: #575757; /* STRA dark grey */
  /* text-decoration: none; */
}

a:focus {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

a:active {
  color: black;
  border-bottom-color: black;
}

a[href^="tel:"] {
  text-decoration: none;
  cursor: default;
}


/* Headings
   -------------------------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "proxima-nova", sans-serif;
  font-style: normal;
  font-weight: 700;
  line-height: 1.1;
  color: inherit;
}

h2 {
  margin-top: 0px;
}

h3 {
  margin-top: 36px;
}

h4, 
.h4 {
  margin-top: 24px;
  margin-bottom: 6px;
}

h5,
.h5 {
  font-size: 16px;
}

/* Type helpers
   -------------------------------------------------------------------------- */

b,
strong {
  font-style: normal;
  font-weight: 700;
}

em {
  font-style: italic;
  font-weight: 400;
}

hr {
    margin: 2em auto;
    width: 25%;
    height: 3px;
    border: 0;
    background-color: #78b4e6; /* STRA blue */
}

.blog-post-meta {
  color: #878787; /* STRA mid grey */
  font-family: "proxima-nova-condensed", sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.333;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
  display: block;
  padding: 36px 0px;
}


/* Navbar
   -------------------------------------------------------------------------- */

.dropdown-menu > li > a {
  color: #575757;
  font-size: 15px;
  letter-spacing: 0em;
  padding: 3px 20px;
  text-transform: none;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  color: #78b4e6;
  text-decoration: none;
  background-color: transparent;
}

/*
.navbar {
  border: 0px;
}
*/

.nav > li > a {
  position: relative;
  display: block;
  padding-top: 16px;
  padding-right: 12px;
  padding-bottom: 14px;
  padding-left: 12px;
}

@media (min-width:992px) {
  .nav > li > a {
    padding-right: 15px;
    padding-left: 15px;
  }
}

.navbar-nav {
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
}

@media (min-width:992px) {
  .navbar-nav {
    font-size: 15px;
  }
}

/* *********************************
           Variables
  ********************************** */
/*
$navbar-height: 50px;
$big-logo-padding: 15px; // adjust these 2 values
$small-logo-padding: 2px; // of bottom padding to look nice
*/
  
.small-logo-container {
  padding-top: 64px;
  height: 64px;
  overflow: hidden;
  position: absolute;
}

@media (min-width:768px) {
  .small-logo-container {
    padding-top: 80px;
    height: 80px;
    overflow: hidden;
    position: absolute;
  }
}

.small-logo {
  background-image: url(../images/STRA_hor_rgb_xs.png);
  background-position: left top;
  background-size: cover;
  display: inline-block;
  height: 34px; /* retina - original 68px */
  width: 43px; /* retina - original 86px */
}

@media (min-width:340px) {
  .small-logo {
    background-image: url(../images/STRA_hor_rgb_sm.png);
    height: 34px; /* retina - original 68px */
    width: 220px; /* retina - original 440px */
  }
}

@media (min-width:768px) {
  .small-logo {
    background-image: url(../images/STRA_hor_rgb_md.png);
    height: 44px; /* retina - original 88px */
    width: 233px; /* retina - original 466px */
  }
}

@media (min-width:992px) {
  .small-logo {
    background-image: url(../images/STRA_hor_rgb_lg.png);
    height: 50px; /* retina - original 100px */
    width: 281px; /* retina - original 562px */
  }
}

.big-logo {
  /* height: 120px; */ /* retina - original 240px */
  width: 575px; /* retina - original 1150px */
  margin: 0 auto;
}


.navbar-fixed-top .nav {
  padding: 15px 0;
}

.navbar-fixed-top .navbar-brand {
  padding: 15px 15px;
}

@media (min-width:768px) {
  .navbar-fixed-top .navbar-brand {
    padding: 15px 15px;
  }
}

.navbar-toggle {
  border-radius: 3px;
  margin: 15px;
  padding: 9px 8px;
}

.navbar-toggle .icon-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 1px;
}

.navbar-toggle .icon-bar + .icon-bar {
  margin-top: 4px;
}

.navbar-default {
  background-color: #ffffff;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.3);
}

.navbar-default .navbar-nav > li > a {
  color: #575757;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #78b4e6;
  background-color: transparent;
}


/* Masthead
   -------------------------------------------------------------------------- */

.sec-masthead {
  background-color: #78b4e6;
  text-align: center;
  padding-top: 94px;
  padding-right: 0px;
  padding-bottom: 20px;
  padding-left: 0px;
}

@media (min-width:768px) {
  .sec-masthead {
    padding-top: 122px;
    padding-right: 0px;
    padding-bottom: 28px;
    padding-left: 0px;
  }
}

.sec-masthead h1 {
  color: #ffffff;
  font-family: "proxima-nova", sans-serif;
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  margin: 0px;
}

@media (min-width:480px) {
  .sec-masthead h1 {
    font-size: 36px;
  }
}

@media (min-width:768px) {
  .sec-masthead h1 {
    font-size: 44px;
  }
}

.sec-masthead h2 {
  color: #ffffff;
  font-family: "proxima-nova-condensed", sans-serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

@media (min-width:480px) {
  .sec-masthead h2 {
    font-size: 24px;
  }
}

@media (min-width:768px) {
  .sec-masthead h2 {
    font-size: 26px;
    margin: 0 5%;
  }
}

@media (min-width:992px) {
  .sec-masthead h2 {
    font-size: 28px;
    margin: 0 5%;
  }
}

.sec-masthead hr {
  margin: 1.5em auto;
  width: 25%;
  height: 6px;
  border: 0;
  background-color: rgba(255, 255, 255, .25)
}

@media (min-width:768px) {
  .sec-masthead hr {
    margin: 2em auto;
  }
}

.sec-masthead-intro {
  background-color: #dcecf9;
  text-align: center;
  padding-top: 20px;
  padding-right: 0px;
  padding-bottom: 10px;
  padding-left: 0px;
}

.sec-masthead-intro p {
/*   color: #2172b5; */
  color: #575757;
  font-family: "proxima-nova-condensed", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 300;
  line-height: 1.2;
  margin: 0px 0px 10px 0px;
}


@media (min-width:480px) {
  .sec-masthead-intro p {
    font-size: 20px;
    margin: 0px 5% 10px 5%;
  }
}

@media (min-width:768px) {
  .sec-masthead-intro p {
    font-size: 22px;
    margin: 0px 5% 10px 5%;
  }
}

@media (min-width:992px) {
  .sec-masthead-intro p {
    margin: 0px 9% 10px 9%;
  }
}

/* Sidebar modules for boxing content
   -------------------------------------------------------------------------- */

.sidebar-module {
  background-color: #f5f5f5;
  border-top-style: solid;
  border-top-width: 4px;
  margin: 0 -15px 30px;
  padding: 15px 15px;
}

.sidebar-module h4 {
  margin-top: 0;
  margin-bottom: 10px;
}

.sidebar-module p:last-child,
.sidebar-module ul:last-child,
.sidebar-module ol:last-child {
  margin-bottom: 0;
}

.sidebar-module-contact {
  background-color: #2172b5;
  border-top-color: transparent;
  padding: 8px 15px;
}

.sidebar-module-contact i.fa-comments-o {
  color: #dcecf9;
  font-size: 46px;
}

.sidebar-module-contact h4 {
  font-style: normal;
  font-weight: 300;
  line-height: 1.2;
  margin-top: 10px;
  margin-bottom: 5px;
}

.sidebar-module-contact a {
  color: #ffffff;
  text-decoration: none;
}

.sidebar-module-contact a:hover {
  color: #dcecf9; /* STRA blue */
  /* text-decoration: none; */
}

.sidebar-module-news {
  line-height: 1.375;
  border-top-color: #78b4e6;
}

.sidebar-module-news-item {
  margin-bottom: 10px;
}

.sidebar-module-events {
  line-height: 1.375;
  border-top-color: #c4c824;
}

.sidebar-module-events-date {
  margin-bottom: 0;
  font-style: normal;
  font-weight: 700;
}

.sidebar-module-social {
  border-top-color: #e9522a;
}



/* Footer
   -------------------------------------------------------------------------- */

.sec-footer {
  background-color: #98d4c9;
  background-image: url(../images/footer-street.jpg);
  background-position: center top ;
  background-repeat: repeat-x;
  font-size: .9375em;
  line-height: 1.285714286;
  padding-top: 120px;
  padding-right: 0;
  padding-bottom: 32px;
  padding-left: 0px;
}

.sec-footer-meta {
  background-color: #e8e8e8;
  color: #333333;
  font-size: .8125em;
  padding: 4px 0px;
}

.sec-footer .subscribe p {
    margin-top: 1.2rem
}

/* Only needed if using lists in bottom footer */
/*
.sec-footer-meta li {
    padding-right: 0px;
}
    
.sec-footer-meta li+li:before {
    content: '|';
    padding-right: .6em;
}
*/

@media(min-width:768px) {
  .sec-footer-meta {
    padding: 8px 0;
  }
  
  .sec-footer-meta-link {
    float: right;
  }
  
}

/* Buttons
   -------------------------------------------------------------------------- */

.btn {
  border: 0px solid transparent;
}

.btn-primary {
  background-color: #2172b5;
  border-color: #2172b5;
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
  color: #ffffff;
  background-color: #78b4e6;
  border-color: #78b4e6;
}


/* Boxes
   -------------------------------------------------------------------------- */

.box {
  margin: 0px 20px 20px 0;
  padding: 20px;
  /* border-top: 4px solid rgb(128, 128, 128); */
  background-color: rgb(250, 250, 250);
  /* box-shadow: 0px 2px 5px rgb(213, 213, 213); */
  position: relative;
}

.box.boxed {
  margin: 0;
  box-shadow: none;
}

.boxer {
  margin-top: 20px;
  margin-right: 20px;
  margin-bottom: 20px;
  margin-left: 0px;
  box-shadow: 0px 2px 5px rgb(213, 213, 213);
}

.boxer > a {
  position: relative;
  display: block;
  border: 0;
}

.boxed:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.gallery .box,
.box.gallery {
  border-top-color: rgb(98, 119, 227);
}

.boxer img {
  display: block;
  width: 100%;
}

/* ==========================================================================
   Mailchimp form overrides
   ========================================================================== */

#mc_embed_signup {
  clear: left;
}

#mc_embed_signup form {
  display: block;
  position: relative;
  text-align: left;
  padding: 10px 0 10px 3%;
}

#mc-embedded-subscribe {
  clear: both;
  width: auto;
  display: inline-block;
  margin: 0;
}



/*
#mc_embed_signup div#mce-responses {float:left; top:-1.4em; padding:0em .5em 0em .5em; overflow:hidden; width:90%;margin: 0 5%; clear: both;}
#mc_embed_signup div.response {margin:1em 0; padding:1em .5em .5em 0; font-weight:bold; float:left; top:-1.5em; z-index:1; width:80%;}
*/


/* ==========================================================================
   Pages
   ========================================================================== */


/* Blog
   -------------------------------------------------------------------------- */

.blog-post-image {
  margin-top: 20px;
  margin-bottom: 20px;
}


/* Contact
   -------------------------------------------------------------------------- */

.img-councillor {
  max-width: 140px;
  height: auto;
  margin-top: 24px;
}

/* Events
   -------------------------------------------------------------------------- */

.event {
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 100px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.event time {
  float: left;
  font-size: 18px;
  line-height: .9;
  margin-top: 20px;
  margin-left: -124px;
  text-align: center;
  text-transform : uppercase;
  -webkit-font-smoothing: antialiased;
  width: 124px;
}

.event time .day {
  font-size: 34px;
  display: block;
  padding: 18px 0 18px 0;
}

.event .fa-calendar-o {
  color: #d9d9d9;
  font-size: 500%;
  float: left;
  margin-top: 0px;
  margin-left: -100px;
}

.event h3 {
  margin-top: 0px;
}


/* Gallery
   -------------------------------------------------------------------------- */

.gallery time {
  font-size: .875em;
  display: block;
  margin: -0.5em 0 1em 0;
}

.album {
  position: relative;
}

.album .image-count,
.album .gallery-cta {
  position              : absolute;
  bottom                : 10px;
  right                 : 20px;
  font-size             : 75.0%;
  color                 : rgb(255, 255, 255);
  background-color      : rgba(0, 0, 0, 0.4);
  border                : 2px solid rgba(255, 255, 255, 0.4);
  padding               : 0.5em 2em;
  border-radius         : 2em;
  -webkit-font-smoothing: antialiased;
  text-transform      : uppercase;
}

.album .image-count .lang-photos {
  position: absolute;
  left    : -99999em;
}

.album-images {
  list-style: none;
}

.album-images:after {
  content   : ".";
  display   : block;
  height    : 0;
  clear     : both;
  visibility: hidden;
}

.album-images li {
  max-width: 150px;
  float    : left;
}

.album-images .boxer img {
  width    : auto;
  max-width: 100%;
}

.thumbnails img {
  margin: 20px 0px;
}


/* Members
   -------------------------------------------------------------------------- */

.member {
  margin-top: 24px;
  margin-bottom: 36px;
}

.img-member {
  width: 160px;
  height: auto;
}

@media (min-width:768px) {
  .img-member {
    max-width: 100%;
    height: auto;
  }
}

.member-title {
  font-style: normal;
  font-weight: 400;
}