@import url(http://fonts.googleapis.com/css?family=Raleway:400,700,500);
/*
Author: webthemez.com
Author URL: http://webthemez.com
*/
/*************************
*******Typography******
**************************/
body {
  padding-top: 100px;
  background: #fff;
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  color: #282828;
  line-height: 26px;
}

.navbar-vie-tec{
  width: 120px;
  padding-top: 5px;
  
}

.landing-text{font-size:32px}

.gov-text{font-size:30px}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  font-family: 'Raleway', sans-serif;
}
a {
  color: #d64545;
  -webkit-transition: color 400ms, background-color 400ms;
  -moz-transition: color 400ms, background-color 400ms;
  -o-transition: color 400ms, background-color 400ms;
  transition: color 400ms, background-color 400ms;
}
a:hover,
a:focus {
  text-decoration: none;
  color: #be2a2a;
}
hr {
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #fff;
}
.gradiant {
  background-image: -moz-linear-gradient(90deg, #2caab3 0%, #2c8cb3 100%);
  background-image: -webkit-linear-gradient(90deg, #2caab3 0%, #2c8cb3 100%);
  background-image: -ms-linear-gradient(90deg, #2caab3 0%, #2c8cb3 100%);
}
.gradiant-horizontal {
  background-image: -moz-linear-gradient(4deg, #2caab3 0%, #2c8cb3 100%);
  background-image: -webkit-linear-gradient(4deg, #2caab3 0%, #2c8cb3 100%);
  background-image: -ms-linear-gradient(4deg, #2caab3 0%, #2c8cb3 100%);
}
.section-header {
  margin-bottom: 50px;
}
.section-header .section-title {
  font-size: 28px;
  color: #302121;
  text-transform: uppercase;
  position: relative;
  margin: 0 0 10px;
}
.section-header .section-title:before {
  content: "";
  position: absolute;
  width: 140px;
  bottom: 0;
  left: 50%;
  margin-left: -70px;
  height: 4px;
}

.btn {
  border-width: 0;
  border-radius: 0;
}
.btn.btn-primary {
  background: #64082C;
}
.btn.btn-primary:hover,
.btn.btn-primary:focus {
  background: #380606;
}
.column-title {
  margin-top: 0;
  padding-bottom: 15px;
  border-bottom: 1px solid #302121;
  margin-bottom: 15px;
  position: relative;
  padding-top: 30px;
}
.column-title:after {
  content: " ";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 40%;
  border-bottom: 1px solid #212730;
}
ul.nostyle {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}
ul.nostyle i {
  color: #d64545;
}
.scaleIn {
  -webkit-animation-name: scaleIn;
  animation-name: scaleIn;
}
.navbar-toggle{
border-radius: 0;
}
.navbar-default .navbar-collapse, .navbar-default .navbar-form {
border-color: #e7e7e7;
}
.navbar-nav>li>a {
text-transform: uppercase;
}
@-webkit-keyframes scaleIn {
  0% {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
@keyframes scaleIn {
  0% {
    opacity: 0;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
  }
}



.customers-space{
  padding-top: 75px;
}

.media.service-box {
  margin: 25px 0 36px;
}

/* center and normalize all partner logos */
.portfolio-item-inner {
  text-align: center;
}
.portfolio-item-inner img {
  width: 120px;        /* pick a uniform width */
  height: 60px;        /* pick a uniform height */
  object-fit: contain; /* scale each logo to fit its box */
  display: inline-block;
  margin: 0 auto;
}


/*************************
*******Header******
**************************/
#main-nav.navbar-default {
background: #910C40;
}
#main-nav.navbar-default .navbar-nav > li.active > a, #main-nav.navbar-default .navbar-nav > li.open > a, #main-nav.navbar-default .navbar-nav > li:hover > a {
background: #ffffff1e;
color: #000000;
}
.navbar.navbar-default {
  border: 0;
  border-radius: 0;
  margin-bottom: 0;
}
.navbar.navbar-default .navbar-toggle {
  margin-top: 32px;
  margin-right: 40px;
}
.navbar.navbar-default .navbar-brand {
  height: auto;
  padding: 22px 15px 21px;
}
@media only screen and (min-width: 768px) {

  #hero-banner {
    padding-top: 50px;
  }
  #main-nav.navbar-default {
    background: #fff;
    -webkit-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.26);
  }
  #main-nav.navbar-default .navbar-nav > li > a {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .navbar-default .navbar-nav>li>a {
	color: #000000;
	}
  #main-nav.navbar-default .navbar-nav > li.active > a,
  #main-nav.navbar-default .navbar-nav > li.open > a,
  #main-nav.navbar-default .navbar-nav > li:hover > a {
    background: #4b1313; 
	
    color: #ffffff;
  }
  #main-nav.navbar-default .dropdown-menu {
    padding: 0 20px;
    min-width: 220px;
    background-color: rgba(40, 26, 26, 0.9);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    -webkit-box-shadow: none;
    background-clip: inherit;
  }
  #main-nav.navbar-default .dropdown-menu > li {
    border-left: 3px solid transparent;
    margin-left: -20px;
    padding-left: 17px;
    -webit-transition: border-color 400ms;
    transition: border-color 400ms;
  }
  #main-nav.navbar-default .dropdown-menu > li > a { 
    padding: 15px 0;
    color:#A8A8A8; 
  }
  #main-nav.navbar-default .dropdown-menu > li:first-child > a {
    border-top: 0;
  }
  #main-nav.navbar-default .dropdown-menu > li.active,
  #main-nav.navbar-default .dropdown-menu > li.open,
  #main-nav.navbar-default .dropdown-menu > li:hover {
    border-left-color: #d64545;
  }
  #main-nav.navbar-default .dropdown-menu > li.active > a,
  #main-nav.navbar-default .dropdown-menu > li.open > a,
  #main-nav.navbar-default .dropdown-menu > li:hover > a {
    color: #d64545;
    background-color: transparent;
  }
}

#hero-banner{
  overflow: hidden;
  height:450px;
  color:#fff;
 background:#64082c;
}
  .hero-banner__img {
    margin-top: 35px;
    width: 100%;
  }

  

@media (max-width: 767px) {

.media.service-box {
  margin: 20px 25px;
}

.gov-text{font-size:24px}
.section-header .section-title {
  font-size:24px;
}
.landing-text{font-size:24px}

  .hero-banner__img {
    margin-top: 25px;
    width: 100%;
  }
}
#hero-banner.item {
  height: 450px;
  background-repeat: no-repeat;
  background-position: 50% 0;
  background-size: cover;
}
#hero-banner.banner-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #000;
}
#hero-banner h2 {
  margin-top: 60px;
  font-size: 39px;
  line-height: 49px;  
}
#hero-banner.banner-inner h2 > span {
  color: #d64545;
}
#hero-banner.banner-inner .btn {
  margin-top: 10px;
} 
 
#hero-text {
  padding: 50px 0;
  background: #fadbdb50;
  color: #302121;
}
#hero-text h2 {
  margin-top: 0;
}
#hero-text .btn {
  margin-top: 40px;
}
#cta2 {
  background: #45b1da;
  color: #fff;
  padding-top: 70px;
}
#cta2 .btn {
  margin-top: 10px;
}
#cta2 h2 {
  color: #fff;
  font-size: 44px;
  line-height: 1;
}
#cta2 h2 > span {
  color: #45aed6;
}
#features h2, #portfolio p{ color: #212730;}
#features {
  padding: 100px 0;
  background: #fadbdb50;
  color: #212730;
}

.features {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px; /* match .row gutters */
}
.features > [class*="col-"] {
  display: flex;
  flex-direction: column;
  padding: 0 15px;
  margin-bottom: 30px;
}

.service-icon {
  width: 60px;
  height: 60px;
  display: block;
  color: #64082C;
}

/* 1. Turn each service-box into a flex container so that icon + text always align */
.service-box {
  display: flex;
  align-items: flex-start;   /* top-aligns icon and text */
}

/* 2. Give the “pull-left” container a fixed width & center its contents */
.service-box .pull-left {
  display: flex;
  align-items: center;       /* vertically center the icon */
  justify-content: center;   /* horizontally center the icon */
  width: 50px;               /* same gutter width for every icon */
  margin-right: 15px;        /* space between icon and text */
}



/* 4. If you need a bit more breathing room on very long descriptions: */
.service-box .media-body {
  margin-top: 4px;           /* nudges text down slightly so it lines up exactly under the icon */
}



#features .media.service-box:first-child {
  margin-top: 80px;
}
#services {
  padding: 100px 0 75px;
  background: #ffffff;
}
#offensive-services {
  padding: 100px 0 75px;
  background: #fadbdb50;
}

.media.service-box .pull-left {
  margin-right: 20px;
}
.media.service-box .pull-left > i {
  font-size: 50px;
  height: 94px;
  line-height: 64px;
  text-align: center;
  width: 106px; 
  color: #64082C;
  /* background:#fff; */
  /* box-shadow: inset 0 0 0 1px #d7d7d7; */
  /* -webkit-box-shadow: inset 0 0 0 1px #d7d7d7; */
  transition: background-color 400ms, background-color 400ms;
  position: relative;
}
.features .media.service-box .pull-left > i{
color:#64082C;
}
.media.service-box:hover .pull-left > i {  
}
#portfolio {
  padding: 100px 0;
  background: #fff;
}
#portfolio .portfolio-filter {
  list-style: none;
  padding: 0;
  margin: 0 0 50px;
  display: inline-block;
}

#portfolio .portfolio-filter > li a {
  display: block;
  padding: 7px 15px;
  margin:0px 2px;
  color: #212730;
  position: relative;
  border: 1px solid #0B3866;
}
#portfolio .portfolio-filter > li a:hover,
#portfolio .portfolio-filter > li a.active {
  background: #0B3866;
  color: #fff; 
} 



#portfolio .portfolio-item .portfolio-item-inner {
  position: relative;
}
#portfolio .portfolio-item .portfolio-item-inner .portfolio-info {
  opacity: 0;
  transition: opacity 400ms;
  -webkit-transition: opacity 400ms;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 18px 0 0;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  height:100%;
}
#portfolio .portfolio-item .portfolio-item-inner .portfolio-info h3 {
  font-size: 16px;
  line-height: 1;
  margin: 0;
  color: #fff;
}
#portfolio .portfolio-item .portfolio-item-inner .portfolio-info .preview { 
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  color: #fff;
  box-shadow: 0 0 0 1px #fff;
  display:block;
  -webkit-box-shadow: 0 0 0 1px #fff;
  text-align: center;
margin: 15px auto;
}
#portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
}
/* Start: Recommended Isotope styles */
/**** Isotope Filtering ****/
.isotope-item {
  z-index: 2;
}
.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}
/**** Isotope CSS3 transitions ****/
.isotope,
.isotope .isotope-item {
  -webkit-transition-duration: 0.8s;
  -moz-transition-duration: 0.8s;
  -ms-transition-duration: 0.8s;
  -o-transition-duration: 0.8s;
  transition-duration: 0.8s;
}
.isotope {
  -webkit-transition-property: height, width;
  -moz-transition-property: height, width;
  -ms-transition-property: height, width;
  -o-transition-property: height, width;
  transition-property: height, width;
}
.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
  -moz-transition-property: -moz-transform, opacity;
  -ms-transition-property: -ms-transform, opacity;
  -o-transition-property: -o-transform, opacity;
  transition-property: transform, opacity;
}
/**** disabling Isotope CSS3 transitions ****/
.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
  -webkit-transition-duration: 0s;
  -moz-transition-duration: 0s;
  -ms-transition-duration: 0s;
  -o-transition-duration: 0s;
  transition-duration: 0s;
}
/* End: Recommended Isotope styles */
/* disable CSS transitions for containers with infinite scrolling*/
.isotope.infinite-scrolling {
  -webkit-transition: none;
  -moz-transition: none;
  -ms-transition: none;
  -o-transition: none;
  transition: none;
}
.img-thumbnail {
display: inline-block;
max-width: 100%;
height: auto;
line-height: 1.42857143;
border: 1px solid #ddd;
border-radius: 0px;
padding:0px;
-webkit-transition: all .2s ease-in-out;
-o-transition: all .2s ease-in-out;
transition: all .2s ease-in-out;
margin-bottom: 15px;
}
.img-bg{
  mix-blend-mode:multiply;
  filter:contrast(1);
  margin-bottom: 30px;
}
#testimonial {
  background: #000000;
  background-size: cover;
  padding: 100px 0;
  color: #fff;
}
#testimonial h4 {
  color: #fff;
  margin-bottom: 8px;
}
#testimonial small {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.7);
}
#testimonial .btns {
  margin-top: 10px;
}
#carousel-testimonial a.btn.btn-primary.btn-sm {
background: transparent;
border: 1px solid rgba(255, 255, 255, 0.2);
margin: 0 8px;
}
#about {
  padding: 60px 0;
  background: #ffffff;
}
/*Team*/ 
#our-team {
  padding: 100px 0;
}
#our-team .team-member {
  padding: 13px; 
  border: 1px solid #eeeeee; 
}
#our-team .team-member .team-img {
  margin: 0;
}
#our-team .team-member .team-info {
  padding-bottom: 10px; 
} 
#our-team .team-member:hover .social-icons > li > a {
  background: rgb(195, 54, 11);
  color: #FFFFFF;
  border: 1px solid #C3360B;
}
 
#our-team .social-icons {
  list-style: none;
  padding: 0;
  margin: 0;  
  -webkit-transition: height 1s; /* For Safari 3.1 to 6.0 */
    transition: height 1s;
}
#our-team .social-icons > li {
  display: inline-block;
}
#our-team .social-icons > li > a {
  display: block;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  color: #C3360B;
  background: transparent;
  border-radius: 3px;
  border: 1px solid #C3360B;
}
/*Testimonial Area*/

.testimonial-area{
	padding-bottom:60px;
}
.single-testimonial{
	margin-bottom:30px;
}
.single-testimonial blockquote{
	padding:15px 20px;
	margin-bottom:35px;
	position:relative;
	-webkit-transition:all .5s ease;
	-moz-transition:all .5s ease;
	transition:all .5s ease;
	font-size: 14px;
	background: #FFF;
	color: #585858;
	line-height: 22px;
	border-radius:30px 0px;
}
.single-testimonial:hover blockquote{
	border-radius:0px 30px;
}
.single-testimonial blockquote:after{
	position:absolute;
	bottom:-19px;
	left:45px;
	content:"";
	border-top:19px solid #fff;
	border-right:22px solid transparent;
}
.single-testimonial img{
	border-radius:50%;
}
.single-testimonial h5{
	padding: 8px 0 0px;
	font-size: 16px;
}
 
.progress {
  -webkit-box-shadow: none;
  box-shadow: none;
  background: #eeeeee;
}
.progress .progress-bar.progress-bar-primary {
  background-image: -moz-linear-gradient(4deg, #2caab3 0%, #2c8cb3 100%);
  background-image: -webkit-linear-gradient(4deg, #2caab3 0%, #2c8cb3 100%);
  background-image: -ms-linear-gradient(4deg, #2caab3 0%, #2c8cb3 100%);
  -webkit-box-shadow: none;
  box-shadow: none;
}
.nav.main-tab {
  background: #eee;
  border-bottom: 3px solid #222534;
  border-radius: 3px 3px 0 0;
}
.nav.main-tab > li > a {
  color: #272727;
}
.nav.main-tab > li.active > a {
  background: #222534;
  color: #45aed6;
}
.nav.main-tab > li:first-child > a {
  border-radius: 3px 0 0 0;
}
.nav.main-tab > li:last-child > a {
  border-radius: 0 3px 0 0;
}
.tab-content {
  border: 1px solid #eee;
  border-top: 0;
  padding: 20px 20px 10px;
  border-radius: 0 0 3px 3px;
}
.panel-default {
  border-color: #eee;
}
.panel-default > .panel-heading {
  background-color: #fff;
  border-color: #eee;
}
.panel-default > .panel-heading .panel-title {
  font-size: 14px;
  font-weight: normal;
}
.panel-default > .panel-heading + .panel-collapse > .panel-body {
  border-top-color: #eee;
}
#business-stats {
  padding: 100px 0 70px;
  background: #ffffff;
  background-size: cover;
  color: #212730;
}
#business-stats h1,
#business-stats h2,
#business-stats h3,
#business-stats h4 {
  color: #212730;
}
#business-stats strong {
  display: block;
  margin-bottom: 30px;
}
.business-stats {
  display: inline-block;
  width: 140px;
  height: 140px;
  font-size: 24px;
  line-height: 140px;
  border: 3px solid #212730;
  border-radius: 100px;
  margin-bottom: 20px;
}
#pricing {
  padding: 100px 0 70px;
}
#pricing ul.pricing {
  list-style: none;
  padding: 0;
  margin: 70px 0 30px;
  border: 1px solid #D0D0D0; 
  padding: 15px;
  text-align: center;
}
#pricing ul.pricing li {
  display: block;
  padding: 10px;
}
#pricing ul.pricing li.plan-header {
  /* background: #D0D0D0; */ 
  margin: -15px -15px 10px;
  padding: 15px 15px 30px;
  border: 0;
}
#pricing ul.pricing li.plan-header .price-duration {
  position: relative;
  margin-top: 15px;
  top: -10px;
  display: inline-block;
  width: 100%;
  height: 116px; 
  color: #000;  
  background: #E4E4E4;
}
#pricing ul.pricing li.plan-header .price-duration > span {
  display: block;
  line-height: 1;
}
#pricing ul.pricing li.plan-header .price-duration > span.price {
  font-size: 24px;
  font-weight: 700;
  margin-top: 35px;
}
#pricing ul.pricing li.plan-header .price-duration > span.duration {
  margin-top: 5px;
}
#pricing ul.pricing li.plan-header .plan-name {
  margin-top: 10px;
  font-size: 24px;
  color: #272727;
  font-weight: bold;
  line-height: 1;
  text-transform: uppercase;
}
#pricing ul.pricing.featured {
  background: #ECECEC; 
  border: 0;
}
#pricing ul.pricing.featured li.plan-header {
  background: #C3360B;
}
#pricing ul.pricing.featured li.plan-header .plan-name {
  color: #fff;
}
#contact-us {
  padding: 100px 0 10px;
}
#contact-us h1,
#contact-us h2 {
}
/*Contact*/
 .contact-info{
 padding:60px 0;
 }
.contact-info address {
margin-bottom: 20px;
font-style: normal;
line-height: 27px;
font-size: 15px;
}
.contact-info .form-control { 
padding: 6px 12px;
border-radius: 0;
}
 .business-stats:before {
content: '';
margin: 17px;
display: block;
border: 1px solid #212730;
height: 100px;
border-radius: 50%;
position: absolute;
width: 100px;
}
/***********************
********* Footer ******
************************/
#footer {
  padding-top: 30px;
  padding-bottom: 30px;
  color: #000000;
  background: #f3f0ea;
}
#footer a {
  color: #5c5c5c;
}
#footer a:hover {
  color: #5c5c5c;
}
#footer ul {
  list-style: none;
  padding: 0;
  margin: 0 -7.5px;
}
#footer ul > li {
 display: inline-block; 

 border: 1px solid rgba(255, 255, 255, 0.09);
padding: 3px 0;
width: 31px;
text-align: center;
}
@media only screen and (min-width: 768px) {
  #footer .social-icons {
    float: right;
  }
}
.form-control {
  box-shadow: none;
  -webkit-box-shadow: none;
}
@media only screen and (max-width: 480px) {
#portfolio .portfolio-filter {
list-style: none;
padding: 0;
margin: 0 0 12px;
}
#portfolio .portfolio-filter > li a {
display: block;
padding: 7px 15px;
margin: 5px 2px;
}
	#portfolio .portfolio-item {
	width: 48.9%;
	padding: 8px;
	}
	#portfolio .portfolio-item .portfolio-item-inner .portfolio-info .preview {
width: 28px;
height: 24px;
line-height: 24px; 
margin: 9px auto;
}
#portfolio .portfolio-item .portfolio-item-inner .portfolio-info {
padding: 7px 0 0;
}
}

/* Partners: CSS Grid 4→3→2 columns */
#portfolio .portfolio-items.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
}

@media (max-width: 992px) {
  #portfolio .portfolio-items.partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  body {
  padding-top: 70px;}

    .navbar-vie-tec{
  padding-top: 15px;
  padding-right: 15px;
  width: 110px;
}
.container {
  width: 775px;
}
}

@media (max-width: 767px) {
  #portfolio .portfolio-items.partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .navbar-vie-tec{
  padding: 20px;
  width: 120px;
}
  #main-nav.navbar-default {background: #fff;}
    .container {
  width: auto;
}
}

/* —–– Partners: 4 columns on desktop (4×2 when you have 8 logos) —–– */
#portfolio .portfolio-items.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr)!important;
  gap: 16px;
  margin: 0;
}

/* —–– Customers: 7 columns on desktop (7×3 when you have 21 logos) —–– */
#portfolio .portfolio-items.customers-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr) !important;
  gap: 16px;
  margin: 0;
}

/* responsive fallbacks */
@media (max-width: 1200px) {
  #portfolio .portfolio-items.customers-grid {
    grid-template-columns: repeat(5, 1fr) !important;
  }
}
@media (max-width: 992px) {
  #portfolio .portfolio-items.partners-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  #portfolio .portfolio-items.customers-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }

  #hero-banner{height: 550px; padding-top: 100px;}
}
@media (max-width: 767px) {
  #portfolio .portfolio-items.partners-grid,
  #portfolio .portfolio-items.customers-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
   #hero-banner{height: 550px; padding-top: 30px;}

}
@media screen and (min-device-width: 500px) and (max-device-width: 766px) { 
      .hero-banner__img{
        width: 60%;
      }
}

/* ==== DESKTOP FALLBACK: 7×3 for customers, 4×2 for partners ==== */
@media (min-width: 992px) {
  /* —— Partners: 4 columns —— */
  #portfolio .portfolio-items.partners-grid {
    display: block !important;  /* undo any grid if needed */
  }
  #portfolio .portfolio-items.partners-grid .portfolio-item {
    float: left;
    width: calc((100% - 3 * 16px) / 4); /* 4 cols with 16px gaps */
    margin-right: 16px;
    margin-bottom: 16px;
  }
  /* drop right-margin on every 4th item */
  #portfolio .portfolio-items.partners-grid .portfolio-item:nth-child(4n) {
    margin-right: 0;
  }
  /* start new row on every 4th+1 item */
  #portfolio .portfolio-items.partners-grid .portfolio-item:nth-child(4n+1) {
    clear: left;
  }

  /* —— Customers: 7 columns —— */
  #portfolio .portfolio-items.customers-grid {
    display: block !important;
  }
  #portfolio .portfolio-items.customers-grid .portfolio-item {
    float: left;
    width: calc((100% - 6 * 16px) / 7); /* 7 cols with 16px gaps */
    margin-right: 16px;
    margin-bottom: 16px;
  }
  /* drop right-margin on every 7th item */
  #portfolio .portfolio-items.customers-grid .portfolio-item:nth-child(7n) {
    margin-right: 0;
  }
  /* start new row on every 7th+1 item */
  #portfolio .portfolio-items.customers-grid .portfolio-item:nth-child(7n+1) {
    clear: left;
  }
}
