/*
** TYPOGRAPHY
*/

body {
	background-color: #fff;
  font-family: 'Merriweather', sans-serif;
  font-weight: 300;
  color: #555;
}

p {
  margin: 0 0 2em;
}

#banner p {
  font-size: 1.2em;
  font-weight: 400;
  margin-bottom: 50px;
  margin-top: 20px;
}

.meta {
  font-size: 1.4rem;
  font-style: italic;
}

.excerpt p {
  margin-bottom: 0;
}

.wp-caption-text {
  color: #bbb;
  font-size: 85%;
  font-style: italic;
  margin-top: 0.5em;
  margin-bottom: 0;
}

.entry-content p:first-child {
  font-size: 150%;
}

label {
  display: inline-block;
  font-weight: normal;
  margin-bottom: 0;
  max-width: 100%;
  margin-right: 0.5em;
}

#footer {
  color: #bbb;
  font-size: 0.9em;
}

.aptf-tweet-content {
  line-height: inherit !important;
  font-size: inherit !important;
}


/*
** HEADINGS
*/

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 0.5em;
  margin-top: 1em;
  clear: both;
}

h1 {
  margin-bottom: 1em;
}

h6 {
  text-transform: uppercase !important;
  color: #999;
}

#banner h1 {
  font-size: 4em;
  margin-bottom: inherit;
  margin-top: 1.5em;
}

.page-header {
  border-bottom: 5px solid;
  margin: 0 0 2em;
  padding-bottom: 0;
}

.entry-content h2 {
  margin-top: 2em;
  margin-bottom: 1em;
}

.single-team h1 {
  margin-bottom: 0;
}

.single-team h6 {
  font-size: 1.3em;
  margin: 1em 0 2em;
}



/*
** ANCHORS
*/

a {
  color: #e59a48;
  text-decoration: none;
}

a:hover, a:focus {
  color: #2f5e73;
  text-decoration: none;
}

#footer a:hover, #footer a:focus {
  color: #fff;
}

.widget_aptf_widget .aptf-tweet-content a {
  color: #e59a48 !important;
}

.aptf-tweet-content a:hover, .aptf-tweet-content a:focus {
  color: #2f5e73 !important;
}

.aptf-timestamp a {
  border-bottom: medium none !important;
  font-size: 80% !important;
  text-decoration: none !important;
  color: #aaa;
}



/*
** TRANSITIONS
*/

a, .navbar-default, .navbar-brand, .navbar-nav, .navbar-toggle, .aptf-tweet-content a, .pushbutton-wide {
  -webkit-transition: all 0.1s ease-in-out !important;
  -moz-transition: all 0.1s ease-in-out !important;
  -o-transition: all 0.1s ease-in-out !important;
  transition: all 0.1s ease-in-out !important;
}



/*
** SECTIONS
*/

section {
  padding: 5em 0;
}

#banner {
  background-color: #4c5459;
  box-shadow: 0 0 100px 1000px rgba(0, 0, 0, 0.3) inset;
  color: #fff;
  margin-bottom: 0;
  height: 150px;
}
/*@media screen and (min-width: 1200px) {
  #banner {
    background-attachment: fixed;
  }
}*/

.home #banner {
  height: auto;
  padding-bottom: 2em;
  padding-top: 5em;
  text-align: center;
}

#values, #team {
  background: #f6f6f6 none repeat scroll 0 0;
}

#footer {
  background: #33383c none repeat scroll 0 0;
  padding: 5em 0;
}

#footer .row div {
  margin: 1em 0;
}

address {
  margin-bottom: 2em;
  margin-top: 0.7em;
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
  .column-fix:nth-child(2n+1) {
    clear: both;
  }
}
@media screen and (min-width: 1200px) {
  .column-fix:nth-child(3n+1) {
    clear: both;
  }
}

@media screen and (min-width: 1200px) {
  #copyright {
    text-align: right;
  }
}



/*
** DISPLAY TABLE
*/

.display-table {
  display: table;
  width: 100%;
}

.display-cell {
  display: table-cell;
}

.align-middle {
  vertical-align: middle;
}



/*
** BRANDING
*/

.navbar-brand {
  background-image: url("../img/EJRQ_Logo_White.png");
  width: 95px;
  height: 50px;
  background-size: cover;
  padding: 0;
  margin-left: 30px !important;
}

.sticky .navbar-brand {
  background-image: url("../img/EJRQ_Logo.png");
  height: 25px;
  margin-top: 13px;
  width: 48px;
}



/*
** NAVIGATION
*/

.navbar {
  background-color: transparent;
  background-image: none;
  background-repeat: no-repeat;
  border: medium none;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 0;
  padding: 45px 0 0 0;
  position: absolute;
  width: 100%;
}

.navbar.sticky {
  background: #fff none repeat scroll 0 0;
  border-bottom: 1px solid #eee;
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1030;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.navbar-collapse {
  float: right;
}

.navbar > .container .navbar-brand, .navbar > .container-fluid .navbar-brand {
  margin-left: 0;
}

.navbar-default .navbar-brand {
  color: #fff;
  text-shadow: none;
  font-size: 2rem;
}

.navbar-default .navbar-nav li a {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 400;
  text-shadow: none;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}

.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .active > a {
  background-color: transparent;
  background-image: none;
  background-repeat: no-repeat;
  box-shadow: none;
  color: #fff;
}

.sticky.navbar-default .navbar-brand, .sticky.navbar-default .navbar-nav li a, .navbar-default .navbar-nav .open .dropdown-menu > li > a {
  color: inherit;
}

.navbar-default .navbar-nav li a:hover, .navbar-default .navbar-nav li a:focus,
.sticky.navbar-default .navbar-nav li a:hover, .sticky.navbar-default .navbar-nav li a:focus,
.navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
  color: #e59a48;
  background-color: transparent;
}

.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {
  background-color: transparent;
}

.navbar-default .navbar-nav > .open > a:focus {
  color: #fff;
}
@media screen and (max-width: 1200px) {
  .navbar-default .navbar-nav > .open > a:focus {
    color: inherit;
  }
}

.sticky.navbar-default .navbar-nav > .open > a:focus {
  color: inherit;
}

.navbar-nav > li > .dropdown-menu {
  border-radius: 0;
  margin-top: 0;
  border-color: #eee;
  box-shadow: none;
}

.dropdown-menu > li > a {
  padding: 0.5em 1.5em;
}

.navbar-toggle {
  border: medium none !important;
  color: #fff;
  font-size: 3rem;
  line-height: 0;
  margin: 10px 30px 0 0;
  padding: 0;
}

.sticky .navbar-toggle {
  color: inherit;
}

.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
  background-color: transparent;
  color: #e59a48;
}

.navbar-collapse.collapse.in, .navbar-collapse.collapsing {
  background: #fff;
  margin: 1em 0 0 0;
  width: 100%;
  border: 1px solid #eee;
}

.navbar-default.sticky .navbar-collapse.collapse.in, .navbar-default.sticky .navbar-collapse.collapsing {
  border: none;
}

.navbar-default .navbar-collapse, .navbar-default .navbar-form {
  border: none;
}

.navbar-collapse.collapse.in a, .navbar-collapse.collapsing a {
  color: inherit;
}

@media (max-width: 1199px) {
.navbar-nav {
  margin: 10px -15px;
}
.sticky .navbar-nav {
  
}
}



/*
** SUBNAVIGATION
*/

.submenu {
  margin: 0 0 4em !important;
}

.submenu li {
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.submenu a {
  border: 1px solid;
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8em;
  margin: 0.4em 0.2em;
  padding: 0.8em 1em;
  text-transform: uppercase;
}

.submenu .current-menu-item a {
  color: #2f5e73;
  cursor: default;
}



/*
** BUTTONS
*/

.btn, .pushbutton-wide {
  background: none;
  text-shadow: none;
  box-shadow: none;
  border-width: 1px;
  border-radius: 0;
  border-color: inherit;
  border-style: solid;
  padding: 1em;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  margin-top: 2em;
}
.btn:hover, .btn:focus {
  background-color: inherit;
  border-color: inherit;
}
.btn:active {
  background-color: inherit !important;
  border-color: inherit !important;
  box-shadow: none;
}

.btn-default, .pushbutton-wide {
  color: #e59a48;
  border-color: #e59a48;
}
.btn-default:hover, .btn-default:focus, .btn-primary:hover, .btn-primary:focus, .pushbutton-wide:hover, .pushbutton-wide:focus {
  color: #2f5e73;
  border-color: #2f5e73;
}

.btn-primary {
  border-color: #fff;
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  color: #e59a48;
  border-color: #e59a48;
}



/*
** AVATARS
*/

.avatar {
  margin-right: 0.5em;
  border-radius: 50px;
}

.avatar-70 {
  width: 35px;
}



/*
** BLOCKQUOTES
*/

blockquote {
  border-left: 6px solid #dce4e5;
  color: #959d9e;
  font-style: italic;
  margin: 1em 0 2em;
}



/*
** IFRAMES
*/

iframe {
  max-width: 100%;
  width: 100%;
  border: 15px solid #f6f6f6 !important;
}

iframe.address-map {
  height: 370px;
  margin-bottom: 1em;
}



/*
** THUMBNAILS
*/

.thumbnail {
  background: transparent none repeat scroll 0 0;
  border: medium none;
  box-shadow: none;
  line-height: inherit;
  margin: 2em 0 0;
  padding: 0;
  text-align: center;
}

.page-template-page-team .thumbnail {
  border: 1px solid #eee;
  border-radius: 0;
  margin: 2em 0;
  padding: 1em;
}

.image-wrapper {
  background-size: cover;
  border: 0.7em solid #fff;
  border-radius: 100%;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
  height: 200px;
  margin: 0 auto;
  width: 200px;
}

.single-team .image-wrapper {
  margin: 0 0 3em 0;
}

.thumbnail .caption {
  color: inherit;
  padding: 0 1em;
}



/*
** IMAGES
*/

img {
  border-radius: 2px;
}

img.size-full {
  margin-bottom: 2em;
  width: 100%;
}

.alignright {
  float: right;
  margin: 0 0 2em 2em;
}

.alignleft {
  float: left;
  margin: 0 2em 2em 0;
}

.aligncenter {
  margin: 0 2em 0;
}

@media screen and (max-width: 767px) {
  .alignright, .alignleft, .aligncenter {
    float: none;
    margin: 0 0 2em 0;
  }
}

.tiled-gallery {
  margin-bottom: 50px !important;
}



/*
** LISTS
*/

.entry-content ul {
  list-style-position: outside;
  list-style-type: inherit;
  margin-left: 2em;
}

.entry-content ol {
  list-style-position: inside;
  list-style-type: decimal;
  margin-left: 2em;
}

.entry-content li {
  padding: 0.5em 0;
}

.flexslider li {
  text-align: center;
}

.entry-content .social-media-links,
#footer .social-media-links {
  margin: 0;
}

.social-media-links li {
  display: inline-block;
  margin: 0 0.5em;
}

#address .social-media-links {
  margin-top: 2em;
}



/*
** TABLES
*/

th, td {
  padding: 1em;
  border: 1px solid #fff;
}

th {
  background-color: #eee;
}

td {
  background-color: #f6f6f6;
}



/*
** ARTICLES
*/

article {
  padding: 0 0 3em;
}

.archive article, .category article {
  padding: 3em 0;
}

.meta {
  border-bottom: 1px solid #efefef;
  padding: 1em 0;
  border-top: 1px solid #efefef;
}

.single .meta {
  margin-bottom: 4em;
}

.category-latest-projects .meta {
  display: none;
}



/*
** NAV BELOW
*/

#nav-below {
  border-top: 1px solid #eee;
  margin-top: 3em;
  padding-top: 2em;
}

.nav-previous {
  float: left;
}

.nav-next {
  float: right;
}



/*
** EXTRA ITEMS IN ARTICLES
*/

.sharedaddy, .jp-relatedposts {
  border-top: 1px solid #eee;
  margin: 5em 0;
  padding: 0 !important;
}

.sharedaddy h3.sd-title {
  display: inline-block !important;
  font-size: 1.4em !important;
  font-weight: 300 !important;
  line-height: 1.2 !important;
  margin: 0 0 1em !important;
  text-transform: uppercase !important;
}

.sharedaddy h3.sd-title::before {
  border-top: none !important;
}

.sd-social-icon .sd-content ul li[class*="share-"] a.sd-button {
  margin-top: 0.5em !important;
}

#jp-relatedposts h3.jp-relatedposts-headline {
  display: inline-block;
  float: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4em;
  font-weight: 300;
  margin: 0 0 1em;
  text-transform: uppercase;
}

#jp-relatedposts h3.jp-relatedposts-headline em {
  font-style: normal;
  font-weight: 300;
}

#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post {
  box-sizing: border-box;
  float: left;
  margin: 0 0 2em;
  width: 100%;
  font-size: inherit;
  line-height: inherit;
  border-left: 5px solid #eee;
  padding-left: 1em;
}
@media screen and (min-width: 768px) {
  #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post {
    width: 33%;
  }
}

.jp-relatedposts-post-date {
  font-size: 90%;
}

.jp-relatedposts-post-context {
  display: none !important;
}





/*
** CONTACT FORM
*/

.contact-form label {
  font-weight: normal !important;
  margin-bottom: 10px !important;
  margin-top: 10px !important;
}

.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea {
  margin-bottom: 15px !important;
  max-width: 100% !important;
  width: 100% !important;
  border: 1px solid #ddd !important;
  padding: 0.5em !important;
}

.contact-submit {
  line-height: 1em;
}



/*
**  WIDGETS
*/

.aptf-single-tweet-wrapper {
  border-bottom: 1px solid #efefef;
  clear: both;
  float: left;
  margin-bottom: 1em;
  padding-bottom: 1em;
  width: 100%;
}
.aptf-single-tweet-wrapper:last-child {
  border-bottom: none;
}

.widget_twitter_timeline iframe {
  border: medium none !important;
}



/*
** TEAM
*/

#team .thumbnail {
  max-width: 350px;
  margin-left: auto;
  margin-right: auto;
}

.thumbnail .caption p {
  margin-bottom: 0;
}

.thumbnail .btn {
  margin-bottom: 2em;
}

.team-grid {
  margin-top: -4em;
}



/*
** FLEXSLIDER
*/

.flexslider {
  background: transparent;
  border: none;
  border-radius: none;
  margin: 0 0 60px;
  position: relative;
}

.flex-control-paging {
  bottom: auto !important;
  position: relative;
  text-align: center;
  width: 100%;
  margin-top: 4em;
}
@media screen and (max-width: 767px) {
  .flex-control-paging {
    display: none;
  }
}

.carousel li {
  margin-right: 0;
}

.flex-control-paging li a {
  background: #dce4e5;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  display: block;
  height: 6px;
  text-indent: -9999px;
  width: 50px;
}

.flex-control-paging li a.flex-active {
  background: #959d9e;
  cursor: default;
}

.flex-control-paging li a:hover {
  background: #e59a48 none repeat scroll 0 0;
}

.flex-direction-nav {
  display: none;
}



/*
** WP ADMIN BAR
*/

body.logged-in .navbar.sticky {
    margin-top: 32px;
}

@media (max-width: 768px) {
body.logged-in .navbar.sticky {
  margin-top: 46px;
}
#wpadminbar {
  position: fixed !important;
}
}

.single-post #banner {
  height: 50vh;
}
