/*=========================================
General
==========================================*/
::selection {
  color: #fff;
  background: #647687;
}

::-moz-selection {
  color: #fff;
  background: #647687;
}

/*=========================================
Site
==========================================*/
.carousel .flex-control-paging li a.flex-active {
  background: #647687;
}

.project-item .project-meta .effect {
  background: #647687;
}

.carousel .inner-slider:hover .flex-next:hover {
  opacity: 1;
  background: #647687;
}

.carousel .inner-slider:hover .flex-prev:hover {
  opacity: 1;
  background: #647687;
}

.nivo-caption a {
  color: #647687;
}

.nivo-directionNav a:hover {
  background: none;
}

a.nivo-prevNav {
  padding-left: 15px;
}

a.nivo-nextNav {
  padding-right: 15px;
}

.testimonial .text {
  background: #647687;
}

.testimonial .text .point-client {
  color: #647687;
}

.testimonial .flex-control-paging li a.flex-active {
  background: #647687;
}

.js .selectnav.dropdown-menu a:hover {
  background: #647687;
  color: #fff;
}

#page-header {
  background: #647687;
}

#features-1 .feature-icon {
  background: #647687;
}

.portfolio-filter li a:hover, .portfolio-filter li a.active {
  background: #647687;
}

#features-3 .feature-icon.color, #features-4 .feature-icon.color {
  color: #647687;
}

#features-5 .feature-icon.color {
  background: #647687;
  color: #fff;
}

#features-2 .feature-icon {
  background: #647687;
}

#blog-1 .entry-meta .post-type, #blog-2 .post-type {
  background: #647687;
}

.pagination > ul > li > a:hover, .pagination > ul > li > a.disable {
  background: #647687;
}

.popular-tags a:hover {
  background: #647687;
}

#slider-in-tab .flex-slider {
  background: #647687;
}

.breadcrumb {
  background: #fff;
}

.element-invisible {
  display: none;
}

/*=========================================
Shortcode
==========================================*/
.vertical-tabs .nav-tabs > li > a:hover {
  background-color: #647687;
}

.vertical-tabs .nav-tabs > li.active > a {
  background-color: #647687;
}

.horizotal-tabs .nav-tabs li a:hover {
  background-color: #647687;
}

.horizotal-tabs .nav-tabs li.active a {
  background-color: #647687;
}

.drop-cap {
  background: #647687;
}

blockquote {
  border-left: 5px solid #647687;
  background: #f8f8f8;
}

.accordion-heading .accordion-toggle.active, .accordion-heading .accordion-toggle:hover {
  background-color: #647687;
}

.toggle-heading .toggler.active, .toggle-heading .toggler:hover {
  background-color: #647687;
  color: #fff;
}

.btn-flat {
  background: #647687;
}

.btn-flat.black:hover {
  background: #647687;
}

.progress .bar {
  background: #647687 !important;
  border: 0px !important;
}

.nivo-caption {
  display: none;
}

/*=========================================
Navigation
==========================================*/
#menu-lamp {
  height: auto;
}

.menu-lamp > li {
  width: auto;
  padding: 20px 0;
}

.menu-lamp > li > a {
  font-size: 15px;
  font-weight: 100;
}

.menu-lamp > li > a:after {
  margin: 3px 0 0;
  content: none;
}

.menu-lamp > li:hover > a, .menu-lamp > li > a.active {
  color: #505E6B;
}

.menu-lamp > li.last > a {
  border-right: none;
}

.menu-lamp > li .submenu {
  top: 35px;
}

.submenu li a {
  background: #647687;
  border-top: none;
  border-bottom: 1px solid #505E6B;
  font-size: 14px;
}

.submenu li a:hover {
  border-top: none;
  background: #505E6B;
}

.submenu li.first {
  border-top: 4px solid #505E6B;
}

.menu-lamp > li .submenu ul {
  position: relative;
  top: 0;
  left: 0;
  float: right;
  margin-top: -42px;
}

.js .selectnav.dropdown-menu ul li a {
  color: inherit;
}

.tb-megamenu .nav-collapse {
  box-shadow: none;
}

.tb-megamenu .nav-collapse .nav > li.active > a:hover, .tb-megamenu .nav-collapse .nav > li.active > a:focus, .tb-megamenu .nav-collapse .nav > li > a:hover, .tb-megamenu .nav-collapse .nav > li > a:focus, .tb-megamenu .nav li.dropdown.active > .dropdown-toggle, .tb-megamenu .nav li.dropdown.open.active > .dropdown-toggle, .tb-megamenu .nav > li.dropdown.open.active > a:hover {
  background-color: #ffffff !important;
  color: #000 !important;
}

.tb-megamenu .nav li.dropdown > .dropdown-toggle .caret {
  display: none !important;
}

.tb-megamenu .span12.mega-col-nav .mega-inner {
  padding: 14px;
}

.tb-megamenu .mega.open > .mega-dropdown-menu, .tb-megamenu .mega.dropdown-submenu:hover > .mega-dropdown-menu {
  display: block;
  border-bottom: 5px solid #000;
}

.tb-megamenu .mega-nav > li a {
  border-top: none !important;
  text-align: left;
}

ul.tb-megamenu-subnav li {
  display: block !important;
}

/**************************************************************************************************************** STANDARD SITE STYLES *****/

body {
  font-family: 'Open Sans', sans-serif;
  color: #4b4c4d;
}

a {
  color: #000;
  text-decoration: underline;
  -moz-transition: all .2s ease-in;
  -webkit-transition: all .2s ease-in;
  -o-transition: all .2s ease-in;
  transition: all .2s ease-in;
}

a:hover, a:focus {
  color: #04263b;
}

h1 {
  font-size: 42px;
  margin: 0px 0px 20px 0;
  font-weight: 600;
  color: #000;
}

h2 {
  font-size: 26px;
  line-height: 32px;
  color: #000;
  font-weight: 600;
  margin: 0 0 20px 0;
}

h3 {
  font-size: 20px;
  line-height: 28px;
  color: #000;
  font-weight: 600;
  margin: 0 0 20px 0;
}

#blog-1 h3.entry-title a, h3 a {
  text-decoration: none;
}

h4 {
  font-size: 17px;
  line-height: 20px;
  color: #000;
  font-weight: 600;
}

a.lozenge {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 10px;
  padding: 13px 30px;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  line-height: 20px;
  border-radius: 0;
}

a.lozenge:hover {
  background: #adadad;
}

#page-content p {
  font-size: 17px;
  color: #333;
  line-height: 25px;
  letter-spacing: -0.2px;
  font-weight: 400;
  margin: 8px 0 25px;
}

#page-content p.summary {
  font-size: 16px;
}

.gradient-spacer {
  height: 2px;

  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#7e7e7e+1,e0e0e0+100 */
  background: #7e7e7e; /* Old browsers */
  background: -moz-linear-gradient(left, #7e7e7e 1%, #e0e0e0 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(left, #7e7e7e 1%, #e0e0e0 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right, #7e7e7e 1%, #e0e0e0 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7e7e7e', endColorstr='#e0e0e0',GradientType=1 ); /* IE6-9 */
}

.content-spacer {
  margin-top: 40px;
}

.cta {
  margin: 0 0 35px;
}

.cta img {
  height: auto;
  width: 100%;
  display: block;
  border: 0;
  -ms-interpolation-mode: bicubic;
  image-rendering: optimizeQuality;
}

.mobile-banner {
  display: none;
}

.page-contact .breadcrumb {
  display: none;
}

.page-contact input[type="submit"] {
  display: inline-block;
  margin-right: 10px;
  padding: 13px 30px;
  background: #014797;
  color: #fff;
  text-decoration: none;
  font-size: 17px !important;
  line-height: 20px;
  border-radius: 0;
  border: 0;
  box-shadow: none !important;
}

.page-contact input[type="submit"]:hover {
  background: #94c120;
  border: none;
}

/************************************************************************************************************* Standard Cookie Policy Popup ********/

#sliding-popup .popup-content #popup-text h2, #sliding-popup .popup-content #popup-text p {
  font-weight: 300 !important;
}

#sliding-popup .popup-content #popup-buttons button {
  font-weight: 300 !important;
  text-shadow: none !important;
  box-shadow: none !important;
  background: none !important;
  padding: 6px 11px !important;
  background-color: #ffffff !important;
  border-radius: 0px !important;
}

/**************************************************************************************************************** CONFIGURE HEADER LAYOUT *****/

.aveta-logo {
  float: none;
  margin: 20px auto !important;
  text-align: center;
  width: 140px;
}

#navigation { /* These styles make the navigation move to below the logo */
  clear: both;
  text-align: right;
  width: 100%;
  float: right;
  max-width: 770px;
  padding-right: 15px;
  padding-left: 15px;
  margin-top: -26px;
  padding: 0 10px 0 10px;
}

/**************************************************************************************************************** CONFIGURE STICKY HEADER *****/

#page-content {
  padding: 10px 0 50px 0;
  margin-top: 175px; /* REMOVE THIS FOR NON-STICKY HEADER - EDIT */
}

.page-contact #page-content {
  margin-top: 0px;
}

#gmap {
  margin-top: 142px; /* REMOVE THIS FOR NON-STICKY HEADER - EDIT */
}

/**************************************************************************************************************** TEAM PAGE *****/

/* Team Page */

.view-Team img {
  width: 100%;
  height: auto;
}

.view-Team .views-row {
  width: 25%;
  float: left;
  padding-right: 15px;
  padding-left: 15px;
}

.team-divider {
  clear: both;
}

.views-field.views-field-field-image {
  overflow: hidden;
}

.view-Team .views-field-title {
  background: rgba(239, 239, 239, 0.85);
  margin-top: -23px;
  position: relative;
  z-index: 3;
  font-size: 20px;
  color: #000;
  font-weight: 600;
  padding: 35px 15px 3px 15px;
  letter-spacing: -0.2px;
}

.view-Team .views-field-field-job-title {
  background: rgba(239, 239, 239, 0.85);
  color: #000;
  font-size: 17px;
  padding: 0px 15px 0px 15px;
  min-height: 51px;
  letter-spacing: -0.2px;
}

.view-Team .views-field-field-telephone {
  background: rgba(239, 239, 239, 0.85);
  color: #000;
  font-size: 20px;
  font-weight: 600;
  padding: 0px 15px 0px 15px;
}

.view-Team .views-field-field-telephone .field-content {
  border-top: 1px solid #d4d4d4;
  border-bottom: 1px solid #d4d4d4;
  padding: 13px 0px;
  letter-spacing: -0.2px;
}

.view-Team .views-field-field-email {
  background: rgba(239, 239, 239, 0.85);
  font-size: 16px;
  padding: 13px 15px 9px 15px;
}

.view-Team .views-field-field-linkedin {
  background: rgba(239, 239, 239, 0.85);
  font-size: 16px;
  padding: 0px 15px 0px 15px;
}

.view-Team .views-field-field-email a, .view-Team .views-field-field-linkedin a {
  text-decoration: none !important;
  color: #000 !important;
}

.view-Team .views-field-field-email a {
  background: url("../../images/mail.png") no-repeat;
  padding: 0px 0px 0px 31px;
}

.view-Team .views-field-field-linkedin a {
  background: url("../../images/linkedin.png") no-repeat;
  padding: 0px 0px 5px 31px;
}

.view-Team .views-field-view-node {
  background: rgba(239, 239, 239, 0.85);
  padding: 5px 15px 15px 15px;
  margin-bottom: 20px;
}

.view-Team .views-field-view-node a {
  background: #000;
  border-radius: 0;
  color: #FFF !important;
  font-size: 20px;
  font-weight: 500;
  text-decoration: none !important;
  width: 100%;
  display: inline-block;
  padding: 14px 0px;
  text-align: center;
  margin-top: 20px;
}

.view-Team .views-field-view-node a:hover {
  background: #adadad;
}

/* Individual Team Page */

.node-type-team #main-content {
  width: 100% !important;
}

.node-type-team #sidebar {
  display: none;
}

.node-type-team h2 {
  font-size: 28px !important;
  color: #000;
}

.node-type-team h2 span {
  font-weight: 100;
  color: #000;
}

.node-type-team #profileEmail, .node-type-team #profilePhone {
  background: rgba(239, 239, 239, 0.85) !important;
  text-align: center;
  width: 100%;
  float: right;
  font-size: 16px;
  line-height: 20px;
  padding: 10px 0;
  border-bottom: 1px solid #d4d4d4;
  background: #fff;
}

.node-type-team #profilePhone a {
  color: #000;
}

.node-type-team #profileEmail {
  background: rgba(239, 239, 239, 0.85) !important;
  margin-top: -40px;
  position: relative;
  z-index: 3;
  padding-top: 60px !important;
}

.node-type-team a.more {
  background: #000;
  background-position: 95% 50%;
  color: #fff !important;
  border-radius: 0px;
  display: inline-block;
  height: 50px;
  padding: 13px 15px;
  margin-top: 15px;
  border: none;
  font-size: 20px !important;
  text-align: left;
  font-weight: 500;
  text-decoration: none !important;
}

.node-type-team a.more:hover {
  background: #adadad;
  background-position: 95% 50%;
}

.node-type-team ul.flex-direction-nav, .node-type-team #main-content h1, .node-type-team #main-content ul.breadcrumb {
  display: none;
}

.node-type-team #main-content ul.slides {
  margin: 0;
}

.teammember .node-type-team .col-sm-4 img {
  width: 100%;
  height: auto;
}

/****** SUGGESTED SECTIONS FOR SITE STYLING *****/
/**************************************************************************************************************** HEADER *****/
/**************************************************************************************************************** FOOTER *****/
/**************************************************************************************************************** HOMEPAGE *****/
/**************************************************************************************************************** INNER PAGES *****/

/********* MOVE TO STYLES **/

#box {
  display: none;
} /*LEGACY AVETA STYLE*/

.field-name-field-ctas.field-type-entityreference.field-label-above { /* STOPS CTA COUNT FROM SHOWING AT FOOT OF PAGES */
  display: none;
}

.nivo-directionNav a {
  text-decoration: none;
  background: transparent;
  color: #ff5700;
  font-size: 55px;
}

header .tb-megamenu {
  background: none;
  text-align: right;
  display: inline-block;
  font-size: 20px;
  line-height: 145%;
}

header .tb-megamenu .nav > li > a {
  padding: 0 15px;
  font-size: 18px;
}

header .tb-megamenu .nav > li:nth-child(6) a {
  padding-right: 0;
}

header .tb-megamenu .nav > .active > a, header .tb-megamenu .nav > .active > a:hover, header .tb-megamenu .nav > .active > a:focus {
  background: none;
}

header .tb-megamenu-subnav a {
  font-size: 18px;
  line-height: 145%;
  color: #336bab;
}

header .megamenu-551 a {
  padding-right: 0 !important;
}

.tb-megamenu .dropdown-menu .mega-nav > li a {
  font-size: 15px;
}

.tb-megamenu .mega-nav > li a, .tb-megamenu .dropdown-menu .mega-nav > li a {
  color: #336bab;
}

.tb-megamenu .nav li.dropdown.active > .dropdown-toggle, .tb-megamenu .nav > li.dropdown.open.active > a:hover, .tb-megamenu .dropdown-menu .mega-nav > li a:hover {
  background: none !important;
  color: #04263b !important;
}

/* Responsive*/

/* Homepage ********/

/* Main content */
#page-section-1 {
  background: #fff;
  padding: 84px 0 72px 0;
  color: #000;
  font-size: 22px;
  line-height: 145%;
}

#page-section-1 .col-md-7 {}

#page-section-1 h1 {
  font-size: 38px;
  font-weight: 300;
  line-height: 40px;
}

#page-section-1 .col-md-7 {
  width: 58.33333333% !important;
  float: left;
  padding: 0px 24px;
}

#page-section-1 .col-md-7 p {
  line-height: 26px;
}

#page-section-1 .col-md-7 p.text-arrows {
  background: url(/sites/cvmpeople.com/files/work-for-us-arrow.png) no-repeat;
  font-size: 18px;
  font-weight: 600;
  margin-top: 28px;
  padding: 5px 0px 5px 45px;
}

#page-section-1 .col-md-5 {
  width: 41.66666667% !important;
  float: left;
  padding: 0 6px;
}

#page-section-1 .col-md-5 img {
  max-width: 465px;
  float: right;
}

#page-section-1 #block-block-18 {
  display: none;
}

/* 3 icons */
#page-section-2 {
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#666666+0,d8d8d8+100 */
  background: #666666; /* Old browsers */
  background: -moz-linear-gradient(left, #666666 0%, #d8d8d8 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(left, #666666 0%, #d8d8d8 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right, #666666 0%, #d8d8d8 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#666666', endColorstr='#d8d8d8',GradientType=1 ); /* IE6-9 */
  padding-top: 15px;
  padding-bottom: 15px;
  text-align: center;
}

/* Case studies */
#page-section-3 {
  background: #fff;
  text-align: center;
  padding: 50px 0;
  color: #014797;
}

#page-section-3 h2 {
  font-size: 38px;
  line-height: 145%;
  padding-top: 0;
  margin-top: 0;
  margin-bottom: 50px;
  font-weight: 400;
  color: #000;
}

.front #page-section-3 h3 {
  font-size: 26px;
  line-height: 32px;
}

#logo-slider {
  border-top: 5px solid #c7c2c2;
  border-bottom: 5px solid #c7c2c2;
  padding: 20px 0;
}

#partnerlogos {}

.simply-scroll-list {
  height: 107px;
}

.simply-scroll .simply-scroll-list li {
  margin: 0px 0px 0px 0px;
  padding: 0px 25px;
}

/* Testimonial */
#page-section-4 {
  background: #eeeeee;
  padding: 0;
  text-align: center;
  font-size: 23px;
  line-height: 145%;
  font-weight: 700;
  color: #000;
}

#page-section-4 .row {
  padding: 0;
}

#page-section-4 .col-lg-8 {
  padding: 30px 0;
}

.views-field-field-author {
  font-size: 18px;
  margin-bottom: 0;
  font-weight: 400 !important;
}

.view-homepage-testimonials .jcarousel-container {
  padding-top: 40px;
  padding-bottom: 20px;
}

.view-homepage-testimonials .jcarousel-skin-default .jcarousel-container-horizontal {
  width: 75%;
  margin: 0 auto;
  height: auto;
}

.view-homepage-testimonials .jcarousel-skin-default .jcarousel-clip-horizontal, .view-homepage-testimonials .jcarousel-skin-default .jcarousel-item {
  width: 100%;
  height: auto;
}

.view-homepage-testimonials .jcarousel-skin-default .jcarousel-item {
  background: none;
  border: 0;
}

.view-homepage-testimonials .jcarousel-prev, .view-homepage-testimonials .jcarousel-next {
  display: none;
}

/* Responsive *

/**** LOGO SLIDER ****/

div#block-block-20 {
  margin-bottom: 50px;
  height: auto;
  width: 100%;
  display: inline-block;
}

#page-section-5 {
  background: #fff !important;
  padding: 30px 0px;
}

#page-section-5 h3 {
  text-align: center;
  font-size: 28px;
}

#page-section-6 {
  background: #eee !important;
  padding: 30px 0;
}

.carousel .flex-viewport li {
  padding-bottom: 3px;
  height: auto;
  margin-right: 30px;
  position: relative;
  width: 263px;
}

/* Blog ********/
.node-type-blog .widget, .page-blog .widget {
  background: transparent;
}

#sidebar img {
  -moz-transition: all .2s ease-in;
  -webkit-transition: all .2s ease-in;
  -o-transition: all .2s ease-in;
  transition: all .2s ease-in;
}

#sidebar img:hover {
  opacity: 0.8;
}

#sidebar .widget .widget {
  background: #fff;
}

#sidebar .widget h4.widget-title {
  background: #fff;
  display: block;
  padding: 10px 10px 5px 10px;
  color: #000;
  font-weight: bold;
  margin: 0;
}

.widget-latest-post {
  padding-left: 10px;
}

#block-block-17 {
  display: none;
}

img.maxx-desktop {
  display: inline;
  max-width: 80px;
}

img.maxx-mobile {
  display: none;
  max-width: 80px;
}

.node-type-portfolio .col-sm-12 .single-project a > img {
  float: right;
  width: 100%;
  max-width: 360px;
  padding: 0 0 20px 20px;
}

.single-project .project-meta {
  background: transparent;
}

.node-type-portfolio .col-sm-12 .single-project .project-meta {
  position: static;
}

/**************************************************************************************************************** RESPONSIVE *****/
/**************************************************************************************************************** Standard Device based breakpoints to use */

@media (max-width: 979px) and (min-width: 769px) { /* OVERWRITES PROBLEM AVETA STYLE */

  [class*="col-"] {
    width: inherit !important;
    margin-bottom: inherit !important;
  }

  .page-node-58 #main-content, .page-node-50 #main-content, .page-node-41 #main-content, .page-node-55 #main-content {
    width: 100% !important;
  }

  .col-sm-4 {
    width: 33.33333% !important;
  }

  .col-sm-8 {
    width: 66.66666667% !important;
  }

  footer > .container {
    padding-top: 60px !important;
    padding-bottom: 20px !important;
  }

  .footer-menu, #copyright {
    display: inline;
  }

  #jobs-wrapper .col-lg-12 {
    width: 100% !important;
  }
}

/**************************************************************************************************************** 1200px MAX SITE WIDTH **/

@media (max-width: 1200px) {
  #fakeButton {
    right: 25px;
  }
}

/***************************************************************************************************************** 1024px  iPAD LANDSCAPE **/

@media (max-width: 1024px) {
  #page-content {
    margin-top: 170px;
  }

  img.maxx-desktop {
    display: none;
  }

  img.maxx-mobile {
    display: inline;
  }

  footer {
    background: #fff !important;
  }

  footer .col-sm-6 {
    padding-left: 0px;
    padding-right: 0;
    width: 40% !important;
  }

  footer .col-sm-4 {
    width: 40% !important;
  }

  footer .col-sm-2 {
    width: 20% !important;
  }
}

@media (max-width: 1023px) {
  .view-Team .views-row {
    width: 33%;
  }

  #page-section-1 #block-block-18 {
    display: inline-block;
    width: 100%;
    background: url(/sites/cvmpeople.com/files/work-for-us-arrow.png) no-repeat;
    height: auto;
    background-position: 20px 50%;
    padding-right: 15px;
    padding-left: 65px;
    margin-top: 20px;
  }

  #page-section-1 #block-block-18 p {
    display: block;
    font-size: 20px;
    font-weight: 700;
  }

  #block-block-16 {
    display: none;
  }

  #page-section-1 .col-md-7 {
    width: 100% !important;
  }

  #page-section-1 {
    padding: 35px 0 40px 0;
  }
}

/**************************** ************979px - REMOVES STICKY HEADER - SET THIS TO THE MOBILE NAV BREAKPOINT - EDIT *********************/

@media (max-width: 979px) {
  #page-content {
    margin-top: 0px;
  }

  header {
    position: relative;
  }

  #navigation {
    padding: 0;
    width: 545px;
    float: none;
    margin: 0px auto;
  }

  #gmap {
    margin-top: 0px;
  }

  footer .col-sm-2 {
    float: right;
    padding-right: 0;
  }

  .header__contact {
    padding-top: 5px;
  }
}

@media (max-width: 860px) {
  #page-section-3 .col-sm-4 .views-field-field-image img {
    width: 100%;
  }

  #block-block-23, #block-block-22 {
    width: 100%;
    text-align: center;
  }

  #block-block-23 {
    display: block;
    margin-bottom: 20px;
  }

  #block-block-21 {
    display: none;
  }
}

/***************************************************************************************************************** 768px  iPAD PORTRAIT **/

@media (max-width: 768px) {
  .hpbox img.icon {
    max-width: 165px;
  }

  .hpthreeboxes {
    padding-bottom: 0;
  }
}

/***************************************************************************************************************** 767px  BELOW iPAD PORTRAIT **/

@media (max-width: 600px) {
  #block-block-21 iframe {
    width: 320px !important;
  }
}

@media (max-width: 479px) {
  #block-block-17 h3 {
    font-size: 45px;
  }

  .front #page-section-3 .block-views {
    width: 100%;
  }

  .front #page-section-3 .block-views:last-child {
    margin-bottom: 0;
    border-bottom: 0;
    padding-bottom: 0;
  }
}

/***************************************************************************************************************** 414px  iPHONE 6+ PORTRAIT **/

@media (max-width: 414px) {
  a.lozenge {
    width: 100%;
    text-align: center;
  }

  .mobile-banner {
    display: block;
    margin-bottom: 30px;
  }

  footer .col-sm-2 {
    display: none;
  }

  footer > .container {
    padding-bottom: 30px !important;
  }

  #page-section-1 {
    padding: 0 0 10px 0;
  }

  .view-Team .views-row {
    width: 100%;
  }

  #page-section-1 #block-block-18 p {
    font-size: 17px;
  }

  .node-type-portfolio .col-sm-12 .single-project a > img, ul.portfolio-container.row.isotope {
    padding: 0 0 20px 0;
  }

  .header__top-nav ul li {
    padding-left: 5px;
  }

  .mainbanner {
    display: none;
  }
}

/***************************************************************************************************************** 375px  iPHONE 6 PORTRAIT **/

@media (max-width: 375px) {
  #block-block-17 h3 {
    letter-spacing: 0;
    font-size: 35px;
  }
}

/***************************************************************************************************************** 320px  iPHONE 4/5 PORTRAIT **/

@media (max-width: 320px) {}