
body {
  background: #fff;
  /*text-align: center;*/
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
  color: #888;
  font-size: 12px;
}

h1 {
  color: #254b7c;
}
h2 {
  color: #5d5d5d;
}

.row {
  margin-bottom: 40px;
}

.violet { color: #254b7c; }

a {
  color: #254b7c;
  text-decoration: none;
  -o-transition: all .3s;
  -moz-transition: all .3s;
  -webkit-transition: all .3s;
  -ms-transition: all .3s;
}

a:hover { color: #888; text-decoration: none; }

strong { font-weight: bold; }

@media (max-width: 979px) {
  .container {
    padding: 0 20px;
  }
  .banner_slider .container {
    padding: 0;
  }
  .row > div {
    margin-bottom: 20px;
  }
}


/* ----- Header ----- */

.header .navbar {
  margin-bottom: 0;
}

.header .navbar-inner {
  background: #fff;
  border: 0;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.header h1 {
  float: left;
  margin: 0;
  text-align: left;
}

.header a.brand {
  display: inline-block;
  padding: 30px 0;
}

.header ul.nav {
  font-size: 14px;
  text-transform: uppercase;
}

.header ul.nav li a {
  padding: 30px 20px 10px 20px;
  color: #5d5d5d;
  text-shadow: none;
}

.header ul.nav li.menu-current a {
  padding-top: 25px;
  border-top: 5px solid #254b7c;
  background: #f8f8f8;
}

.header ul.nav li a:hover {
  background: #254b7c;
  color: #fff;
}

.header ul.nav li a i {
  line-height: 35px;
  color: #aaa;
}

.header ul.nav li a:hover i { color: #fff; }

#boxes {
  margin: 40px 0;
}

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

.portfolio {
  margin-top: 50px;
}

.portfolio-title {
  background: url(../img/line.png) left center repeat-x;
}

.portfolio-title h3 {
  width: 220px;
  margin: 0 auto;
  background: #fff;
  font-family: 'Open Sans', cursive;
  font-size: 24px;
  color: #5d5d5d;
}

.portfolio .work {
  margin-top: 30px;
  /*    padding-bottom: 20px;
      background: #f8f8f8;
      border-bottom: 2px solid #254b7c;*/
}

.portfolio .work:hover img {
  /*    opacity: 0.7;*/
  -o-transition: all .3s;
  -moz-transition: all .3s;
  -webkit-transition: all .3s;
  -ms-transition: all .3s;
}

.portfolio .work:hover {
  box-shadow:
    0 5px 15px 0 rgba(0,0,0,.05),
    0 1px 25px 0 rgba(0,0,0,.05) inset,
    0 -1px 25px 0 rgba(0,0,0,.05) inset;
  -o-transition: all .5s;
  -moz-transition: all .5s;
  -webkit-transition: all .5s;
  -ms-transition: all .5s;
}

.portfolio .work .icon-awesome {
  margin-top: 15px;
  font-size: 22px;
  line-height: 22px;
}

.portfolio .work .icon-awesome a {
  display: inline-block;
  padding: 5px 9px;
  background: #254b7c; 
  color: #fff;
  -moz-border-radius: 19px;
  -webkit-border-radius: 19px;
  border-radius: 19px;
  -moz-box-shadow:
    0 1px 25px 0 rgba(0,0,0,.05) inset,
    0 -1px 25px 0 rgba(0,0,0,.05) inset;
  -webkit-box-shadow:
    0 1px 25px 0 rgba(0,0,0,.05) inset,
    0 -1px 25px 0 rgba(0,0,0,.05) inset;
  box-shadow:
    0 1px 25px 0 rgba(0,0,0,.05) inset,
    0 -1px 25px 0 rgba(0,0,0,.05) inset;
}

.portfolio .work .icon-awesome a:hover {
  background: #5d5d5d;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.portfolio .work .icon-awesome a:active {
  -moz-box-shadow:
    0 5px 10px 0 rgba(0,0,0,.15) inset,
    0 -1px 25px 0 rgba(0,0,0,.05) inset;
  -webkit-box-shadow:
    0 5px 10px 0 rgba(0,0,0,.15) inset,
    0 -1px 25px 0 rgba(0,0,0,.05) inset;
  box-shadow:
    0 5px 10px 0 rgba(0,0,0,.15) inset,
    0 -1px 25px 0 rgba(0,0,0,.05) inset;
}

.portfolio .work h4 {
  margin-top: 20px;
  font-family: 'Droid Sans', Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #5d5d5d;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255,255,255,.7);
}

.portfolio .work p {
  line-height: 24px;
  font-style: italic;
}

@media (min-width: 980px) {
  .portfolio [class*="span"] {
    margin-left: 2.5%; /*3%*/
  }
  .portfolio .span6 { /* 2 photos */
    width: 47.5%; /*47%*/
  }
  .portfolio .span4 { /* 3 photos */
    width: 30.833%; /*30.33%*/
  }
  .portfolio .span3 { /* 4 photos */
    width: 22.5%; /*20%*/
  }
  .portfolio .span2 { /* 6 photos */
    width: 14.166%;
  }
  .portfolio .span1 { /* 12 photos */
    width: 5.833%;
  }
}

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

footer {
  margin: 0 auto;
  padding-bottom: 10px;
  background: #f8f8f8 url(../img/pattern.jpg) left top repeat;
  -moz-box-shadow: 0 5px 15px 0 rgba(0,0,0,.05) inset;
  -webkit-box-shadow: 0 5px 15px 0 rgba(0,0,0,.05) inset;
  box-shadow: 0 5px 15px 0 rgba(0,0,0,.05) inset;
}

footer .widget {
  margin-top: 20px;
  text-align: left;
}

footer .widget h4 {
  margin-top: 20px;
  font-family: 'Droid Sans', Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #5d5d5d;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255,255,255,.7);
}

footer .widget p {
  line-height: 24px;
}

footer .widget i {
  padding-right: 7px;
}

/* Twitter feed */
.show-tweets {
  margin: 0;
  overflow-y: hidden;
}

.tweet_list {
  height: 10em;
  margin: 0;
  padding: 0;
  overflow-y: hidden;
  list-style: none;
}

.tweet_list li {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  list-style-type: none;
  line-height: 24px;
}

.tweet_list .tweet_avatar {
  float: left;
}

.tweet_list .tweet_avatar img {
  vertical-align: middle;
}

/* Flickr feed */
.flickr-feed {
  margin: 16px 0 0 0;
  overflow: hidden
}

.flickr-feed li {
  float: left;
  padding: 0 4px 4px 0;
  list-style: none;
}

.flickr-feed li img {
  width: 50px;
  border: 2px solid #eaeaea;
}

.flickr-feed a:hover {
  opacity: 0.7;
}


footer .footer-border {
  margin-top: 30px;
  border-top: 1px dashed #ddd;
}

footer .copyright {
  margin-top: 15px;
  text-align: left;
}

footer .social {
  margin-top: 10px;
  text-align: right;
}

footer .social a { display: inline-block; width: 24px; height: 24px; margin: 0 0 0 8px; vertical-align: middle; }

footer .social a.twitter { background: url(../img/social-icons/twitter.png) left bottom no-repeat; }
footer .social a.dribbble { background: url(../img/social-icons/dribbble.png) left bottom no-repeat; }
footer .social a.rss { background: url(../img/social-icons/rss.png) left bottom no-repeat; }
footer .social a.pinterest { background: url(../img/social-icons/pinterest.png) left bottom no-repeat; }
footer .social a.flickr { background: url(../img/social-icons/flickr.png) left bottom no-repeat; }
footer .social a.forrst { background: url(../img/social-icons/forrst.png) left bottom no-repeat; }
footer .social a.vimeo { background: url(../img/social-icons/vimeo.png) left bottom no-repeat; }
footer .social a.linkedin { background: url(../img/social-icons/linkedin.png) left bottom no-repeat; }
footer .social a.facebook { background: url(../img/social-icons/facebook.png) left bottom no-repeat; }
footer .social a.email { background: url(../img/social-icons/email.png) left bottom no-repeat; }
footer .social a.github { background: url(../img/social-icons/github.png) left bottom no-repeat; }
footer .social a.behance { background: url(../img/social-icons/behance.png) left bottom no-repeat; }
footer .social a.googleplus { background: url(../img/social-icons/googleplus.png) left bottom no-repeat; }
footer .social a.youtube { background: url(../img/social-icons/youtube.png) left bottom no-repeat; }
footer .social a.skype { background: url(../img/social-icons/skype.png) left bottom no-repeat; }
footer .social a.tumblr { background: url(../img/social-icons/tumblr.png) left bottom no-repeat; }

footer .social a:hover { background-position: left top; }


/********** ----- GALLERY PAGE ----- **********/

.portfolio-page {
  margin-top: 20px;
  padding-bottom: 50px;
}

.portfolio-page h4.filter-portfolio {
  margin-top: 35px;
  padding: 0 20px;
  font-family: 'Droid Sans', Helvetica, Arial, sans-serif;
  font-size: 16px;
  color: #5d5d5d;
  text-align: left;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255,255,255,.7);
}

ul.portfolio-img {
  margin: 0;
  overflow: hidden;
}

ul.portfolio-img li {
  list-style: none;
}

.filter-portfolio a { color: #5d5d5d; text-decoration: none; }
.filter-portfolio a:hover { color: #254b7c; text-decoration: none; }

.filter-portfolio a#active-imgs { color: #254b7c; }
.filter-portfolio a#active-imgs:hover { color: #5d5d5d; }




/* ----- Media queries ----- */

@media (min-width: 980px) and (max-width: 1200px) {

  .flex-caption {
    max-width: 700px;
  }

  .what-we-do .service p, .portfolio .work p {
    padding-left: 10px;
    padding-right: 10px;
  }

  .call-to-action-text {
    padding-bottom: 30px;
  }

  .call-to-action-text .ca-text {
    padding: 0 35px;
  }

  .call-to-action-text .ca-button {
    margin-top: 10px;
  }

}

@media (min-width: 768px) and (max-width: 979px) {

  .header ul.nav li a {
    padding: 15px 20px 15px 20px;
    font-weight: normal;
    text-align: left;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
  }

  .header ul.nav li.current-page a {
    padding-top: 15px;
  }

  .header ul.nav li a i, .header ul.nav li a br {
    display: none;
  }

  .flex-caption {
    max-width: 500px;
  }

  .what-we-do .service p, .portfolio .work p {
    padding-left: 10px;
    padding-right: 10px;
  }

  .call-to-action-text {
    padding-bottom: 30px;
  }

  .call-to-action-text .ca-text {
    padding: 0 35px;
  }

  .call-to-action-text .ca-button {
    margin-top: 10px;
  }

}

@media (max-width: 767px) {

  body {
    padding-left: 0;
    padding-right: 0;
  }

  .slider, .what-we-do, .portfolio {
    padding: 0 20px;
  }

  .what-we-do {
    margin-top: 30px;
  }

  .header ul.nav li a {
    padding: 15px 20px 15px 20px;
    font-weight: normal;
    text-align: left;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
  }

  .header ul.nav li.current-page a {
    padding-top: 15px;
  }

  .header ul.nav li a i, .header ul.nav li a br {
    display: none;
  }

  .flex-caption {
    display: none;
  }

  .presentation, footer, .testimonials {
    padding-left: 20px;
    padding-right: 20px;
  }

  .presentation p {
    line-height: 30px;
  }

  .what-we-do .service p, .portfolio .work p {
    padding-left: 10px;
    padding-right: 10px;
  }

  .what-we-do .service .icon-awesome {
    padding-top: 10px;
  }

  .page-title p {
    display: block;
    margin-top: 10px;
    margin-left: 20px;
  }

  .call-to-action-text {
    padding-bottom: 30px;
  }

  .call-to-action-text .ca-text {
    padding: 0 35px;
  }

  .call-to-action-text .ca-button {
    margin-top: 10px;
  }

  .portfolio-page {
    padding-bottom: 50px;
  }

  .tweet_list {
    height: 6em;
  }

}

@media (max-width: 480px) {

  .tweet_list {
    height: 10em;
  }

}


