/*
Theme Name: capacityCo
Theme URI: https://www.capacity.co/
Author: Manish Kakkar
Author URI: mailto:manish.kakkar@capacity.co
Template: twentytwentyone
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins/Poppins-ExtraLight.ttf");
  font-weight:200;
}
@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins/Poppins-Light.ttf");
  font-weight:300;
}
@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins/Poppins-Regular.ttf");
  font-weight:normal;
}
@font-face {
  font-family: "Poppins-Medium";
  src: url("./assets/fonts/Poppins/Poppins-Medium.ttf");
  font-weight: 500;
}
@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins/Poppins-SemiBold.ttf");
  font-weight: 600;
}

@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins/Poppins-Bold.ttf");
  font-weight: 700;
}
@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins/Poppins-ExtraBold.ttf");
  font-weight: 900;
}

body{
  position:relative;
  overflow-x:hidden;
}
/*
    ====================================================
     HEADER 
    ====================================================
*/
.site-header {
  width: 100%;
  z-index: 10000;
  max-width: 100%;
  padding-top:0;
  padding:42px 20px 280px 20px;
}


.site-header.new-header{
	background:transparent;
}

.site-header .container {
  padding: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  transition: 0.15s ease;
  max-width:865px;
  width:100%;
  margin:0 auto;
}
.logo-container{
	display:flex;
	flex-direction:row;
	align-items:center;
	max-width:18%;
}

.logo-conatiner img{
	display:flex;
	flex-direction:row;
	align-items:center;
}

.site-logo {
	flex: 0 0 201px;
	margin-bottom:0;	
	margin-top:0;
	width:201px;
	line-height:normal !important;
	padding:0;
}

.site-logo .gradient{
	display:none;
}

.site-logo:hover .gradient{
	display:block;
}

.site-logo:hover .white{
	display:none;
}

@media screen and (max-width: 500px) {
  .site-header .container {
    border-radius: unset;
  }
}
@media screen and (max-width: 1024px) {
  .site-header {
    width: 100vw;
	top:0;
  }
/*  .site-header .container {
    padding: 16px 18px 16px 18px;
  }*/
}
@media screen and (max-width: 500px) {
  /*.site-header .container {
    padding: 16px 16px;
  }*/
}
.site-header.sticky-header {
  position: fixed;
  top: 0;
  background-color:#ffffff;
}
@media screen and (min-width: 501px) {
  .site-header.sticky-header > .container {
    padding-top: 16px;
    padding-bottom: 16px;
  }
}
.site-header.sticky-header > .container .site-logo img{
  display: initial;
  object-fit: contain;
  object-position: left;
}

@media only screen and (min-width: 1024px) and (max-width: 1280px) {
  .site-logo {
    max-width: 13.5vw;
  }
}
.site-logo img, .site-logo svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: 1s ease;
  animation: logoReveal 0.4s ease;
}

.site-header .main-nav {
	display:flex;
	flex-direction:row;
	align-items:center;
	max-width:75%;
}

@media screen and (max-width: 1024px) {
  .site-header .main-nav {
    display: none;
  }
}
.main-nav .menu-links{
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  margin:0;
  list-style:none;
}

.main-nav .menu-links li{
	margin-right:80px;
}

.main-nav .menu-links li:last-child{
	margin-right:0;
}

.site-header .main-nav .menu-links a, .sticky-header .main-nav .menu-links a, .site-header.new-header.sticky-header .main-nav .menu-links a {
	padding: 0;
	transition: 0.3s ease;
	letter-spacing: 0.1em;
	font-size: 17px;
	font-weight: 500;
	font-family:Poppins-Medium;
	color:#012B54;
	text-decoration:none;
	/*background: linear-gradient(to right, #7c1761, #7c1761 50%, #012B54 50%);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-size: 200% 100%;
	background-position: 100%;
	transition: background-position 275ms ease;*/
}

.site-header .main-nav .menu-links .menu-item:last-child a, .sticky-header .main-nav .menu-links .menu-item:last-child a, .site-header.new-header.sticky-header .main-nav .menu-links .menu-item:last-child a{
	padding-right:0;
}

@media screen and (min-width: 1025px) {
	.main-nav .menu-links a:hover, .main-nav .menu-links a:focus, .site-header.sticky-header .main-nav .menu-links a:hover, .site-header.sticky-header .main-nav .menu-links a:focus, .site-header.new-header.sticky-header .main-nav .menu-links a:hover, .site-header.new-header.sticky-header .main-nav .menu-links a:focus {
		/*background-clip: text;
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;  
		background-position:0 100%;*/
		color:#7c1761 !important;
	}
}

.main-nav .menu-links li {
  position: relative;
  font-family:"Poppins", sans-serif;
  margin-bottom:0;
}

.main-nav .menu-links li.current-menu-item > a, .main-nav .menu-links li.current-menu-ancestor > a, .main-nav .menu-links li:hover > a, .main-nav .menu-links li > a:hover, .site-header.sticky-header .main-nav .menu-links li.current-menu-item > a, .site-header.sticky-header .main-nav .menu-links li:hover > a, .site-header.sticky-header .main-nav .menu-links li > a:hover, .site-header.new-header.sticky-header .main-nav .menu-links li.current-menu-item > a, .site-header.new-header.sticky-header .main-nav .menu-links li:hover > a, .site-header.new-header.sticky-header .main-nav .menu-links li > a:hover  {
	/*background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-position:0 100%;*/
	color:#7c1761 !important;
}

.site-header.new-header .main-nav .menu-links li.current-menu-item > a, .site-header.new-header .main-nav .menu-links li.current-menu-ancestor > a, .site-header.new-header .main-nav .menu-links li:hover > a, .site-header.new-header .main-nav .menu-links li > a:hover{
	/*background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-position:0 100%;*/
	
	color:#7c1761 !important;
}

.main-nav .menu-links li .sub-menu {
  width: max-content;
  position: absolute;
  background-color: #012B54;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 4px);
  z-index: 10001;
  transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.3s, z-index 0s linear 0.01s;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  visibility: hidden;
  opacity: 0;
  min-width: 180px;
  pointer-events: none;
  box-shadow: 0px 4px 5px 2px rgba(0, 0, 0, 0.05);
  list-style-type:none;
}

.sub-menu-toggle{
	display:none;
}

.main-nav .menu-links li .sub-menu > li {
  width: 100%;
  /*text-align: center;*/
}
.main-nav .menu-links li .sub-menu > li > a {
	padding-bottom: 12px;
	padding-top: 12px;
	display: block;
	color:#012B54;
	text-decoration:none;
/*	background: linear-gradient(to right, #7c1761, #7c1761 50%, #012B54 50%);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-size: 200% 100%;
	background-position: 100%;
	transition: background-position 275ms ease;*/
}

.main-nav .menu-links li .sub-menu > li > a:hover, .main-nav .menu-links li .sub-menu > li > a:focus, .main-nav .menu-links li .sub-menu > li.current-menu-item > a {
	/*background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-position:0 100%;*/
	color:#7c1761;
}

.main-nav .menu-links li:hover > .sub-menu {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
	transform: translate(-50%, 0%);
	transition-delay: 0s, 0s, 0.3s;
}

.main-nav .menu-links .sub-menu .sub-menu,
.main-nav .menu-links .sub-menu li:hover > .sub-menu {
    top: 0;
    left: 100%;
    width: 100%;
    transform: translate(0, 4px);
}

body .site .site-header .mobile-menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  background:#012B54;
   padding:20px !important;
}
@media screen and (max-width: 1024px) {
  body .site .site-header .mobile-menu-toggle {
    display: flex;
    z-index: 100000;
  }
}
.mobile-menu-toggle div {
  width: 24px;
  height: 2px;
  border-radius: 10px;
  background-color: white;
  margin: 2px;
  transition: all 0.2s ease-in;
}
.mobile-menu-toggle.active div:nth-child(1) {
  transform: rotate(-45deg) translate(-4px, 4px);
}
.mobile-menu-toggle.active div:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.active div:nth-child(3) {
  transform: rotate(45deg) translate(-4px, -5px);
}

.body-overlay,
.menu-overlay {
  overflow-y: hidden;
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: black;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.body-overlay.active,
.menu-overlay.active {
  pointer-events: auto;
  opacity: 0.85;
}

.body-overlay {
  background-color: #10252C;
  z-index: 1000;
}
.body-overlay.active {
  opacity: 0.98;
}

.mobile-menu-wrapper {
  display:none;
  background-color: #ffffff;
  width: 100%;
  height: 100vh;
  position: absolute;
  transform: translateX(110%);
  right: 0;
  top: 0;
  padding: 20px;
  padding-top: 50px;
  z-index: 1000;
  color: white;
  animation: mobileMenuReveal 0.4s ease;
  transition: 0.4s ease;
}
@media screen and (max-width: 1024px) {
  .mobile-menu-wrapper {
    max-width: 300px;
  }
}
@media screen and (max-width: 500px) {
  .mobile-menu-wrapper {
    max-width: 60vw;
  }
}
.mobile-menu-wrapper.active {
  display: block;
  transform: translateX(0);
}
.mobile-menu-wrapper a, .mobile-menu-wrapper .text {
  color: inherit;
}
.mobile-menu-wrapper .text {
  font-size: 12px;
  margin-bottom: 24px;
}

.mobile-menu-wrapper .mobile-menu .menu-links{
	list-style:none;
}

.mobile-menu-wrapper .mobile-menu li {
  position: relative;
  font-family:"Poppins", sans-serif;
}
.mobile-menu-wrapper .mobile-menu li.menu-item-has-children {
  padding-right: 16px;
  position: relative;
}
.mobile-menu-wrapper .mobile-menu li.menu-item-has-children:before {
  display: inline-block;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font: var(--fa-font-solid);
  content: "\f078";
  position: absolute;
  right: 8px;
  font-size: 17px;
  top: 14px;
  transition: 0.6s ease;
}
.mobile-menu-wrapper .mobile-menu li.menu-item-has-children.active .sub-menu {
  max-height: 300px;
}
.mobile-menu-wrapper .mobile-menu li.menu-item-has-children.active:before {
  transform: rotate(180deg);
}

.mobile-menu-wrapper .mobile-menu li .sub-menu {
  overflow: hidden;
  padding-left: 20px;
  max-height: 0;
  transition: max-height 0.4s ease;
  list-style:none;
}
.mobile-menu-wrapper .mobile-menu li .sub-menu a {
  font-weight: normal;
  font-size: 17px;
}
.mobile-menu-wrapper .mobile-menu a {
	display: inline-block;
	padding: 12px;
	padding-left: unset;
	font-size: 17px;
	font-weight: 500;
	color:#012B54;
	text-decoration:none;
	/*background: linear-gradient(to right, #7c1761, #7c1761 50%, #012B54 50%);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-size: 200% 100%;
	background-position: 100%;
	transition: background-position 275ms ease;*/
	font-family:"Poppins-Medium", serif;
}
.mobile-menu-wrapper .mobile-menu li.current-menu-item > a, .mobile-menu-wrapper .mobile-menu li.current-menu-ancestor > a {
	/*background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-position:0 100%;*/
	color:#7c1761 !important;
}

.mobile-menu-wrapper .mobile-menu a:hover, .mobile-menu-wrapper .mobile-menu a:focus, .mobile-menu-wrapper .mobile-menu a.active{
	/*background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-position:0 100%;*/
	color:#7c1761 !important;
}

.mobile-menu-wrapper .mobile-menu .main-menu-cta {
  background-color: unset;
  padding: unset;
  border: unset;
}
.mobile-menu-wrapper .mobile-menu .main-menu-cta a {
  font-weight: normal;
}

.exad-modal-item.modal-vimeo .exad-modal-content .exad-close-btn{
    top:0 !important;
    right:0 !important;
}

/*
    ====================================================
     homepage
    ====================================================
*/

.header-image, .header-image-new{
	position:relative;
}

.footer-image{
	position:relative;
}

.header-image:after, .header-image-new:after{
	content:'';
	width:279px;
	height:174px;
	background:url('./assets/images/yellow-logo.png') no-repeat scroll 0 0 transparent;
	position:absolute;
	right:-100px;
	top:50%;
	transform:translateY(-50%);
}

.header-image-new:after{
    bottom:-80px;
    top:unset;
    left:50%;
    transform:translateX(-50%);
}

.footer-image:after{
	content:'';
	width:279px;
	height:174px;
	background:url('./assets/images/yellow-logo.png') no-repeat scroll 0 0 transparent;
	position:absolute;
	left:-170px;
	top:-50%;
}

/*** About Us ***/
.blue-border-box{
	border:#002C53 2px solid;
}
/****************/

/*** Get In Touch ***/
.wpcf7 p{
    margin-bottom:32px;
}
.wpcf7 p:last-child{
    margin-bottom:0;
}

.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 textarea{
    width:100%;
    background:#efeff1;
    border:none;
    font-family:"Poppins", Serif;
    font-size:22px;
    color:#171780;
    padding:16px;
}

::-webkit-input-placeholder{
    font-family:"Poppins", Serif;
    font-size:22px;
    color:#171780;
    font-style:italic;
}

:-moz-placeholder {
    font-family:"Poppins", Serif;
    font-size:22px;
    color:#171780;
    font-style:italic;
}

:-ms-input-placeholder{
    font-family:"Poppins", Serif;
    font-size:22px;
    color:#171780;
    font-style:italic;
}

::placeholder{
    font-family:"Poppins", Serif;
    font-size:22px;
    color:#171780;
    font-style:italic;
}

.wpcf7 input[type="submit"]{
    position:absolute;
    bottom:-84px;
    left:50%;
    transform:translateX(-50%);
    background:#fecd04 !important;
    border-radius:10px;
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    padding:16px 20px;
    font-family:Poppins !important;
    font-weight:Medium !important;
    color:#002c53 !important;
    font-size:26.99px !important;
    border:none !important;
    outline: none !important;
}

@media only screen and (max-width: 1024.8px){
    .wpcf7 input[type="submit"]{
        bottom:-70px;
    }
}
/*******************/

@media only screen and (max-width: 1200.8px){
	.footer-image:after{
		width:200px;
		height:74px;
		left:-73px;
		top:-25%;
		background-size:contain;
	}
	
	.header-image:after{
		width:200px;
		height:74px;
		right:-120px;
		background-size:contain;
	}
}

@media only screen and (max-width: 1024.8px){
	.logo-conatiner{
		max-width:25%;
	}
	
	.site-header{
		padding:32px 20px 280px 20px;
	}
	
	.header-image:after{
		display:none;
	}
	
	.footer-image:after{
		display:none;
	}
}

@media only screen and (max-width: 768.8px){
	.logo-conatiner{
		max-width:30%;
	}
	
	.site-header{
		padding:20px 20px 260px 20px;
	}
	
	.header-image:after{
		display:none;
	}
	
	.footer-image:after{
		display:none;
	}
	
	.header-image-new:after{
		width:118px;
		height:74px;
		bottom:-36px;
		background-size:contain;
	}
}

@media only screen and (max-width: 600.8px){
	.logo-conatiner{
		max-width:35%;
	}
	
	.site-header{
		padding:16px 20px 180px 20px;
	}
}

@media only screen and (max-width: 500.8px){
	.logo-conatiner{
		max-width:40%;
	}
}

@media only screen and (max-width: 400.8px){
	.logo-conatiner{
		max-width:45%;
	}
}

/*
    ====================================================
     FOOTER
    ====================================================
*/
footer {
	padding-top: 90px;
	padding-bottom: 90px;
	background:#012b54 !important;
	color:#000000;
	position:relative;
	padding-left:20px;
	padding-right:20px;
}

footer .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding-left: 0;
  padding-right: 0;
  max-width:1180px;
  margin:0 auto;
}

@media screen and (max-width: 500px) {
  footer .container {
    flex-direction: column;
  }
}

.footer-left {
  width: 35%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items:flex-end;
  z-index:1;
}
@media screen and (max-width: 500px) {
  .footer-left {
    width: 100%;
    max-width: unset;
    margin-bottom: 24px;
	justify-content:flex-start;
	align-items:flex-start;
  }
}

.footer-logo-socials {
  display: flex;
  flex-direction: row;
  align-items: center;
}
@media screen and (max-width: 500px) {
  .footer-logo-socials {
    margin-bottom: 5px;
  }
}

.footer-logo {
  display: inline-block;
}

.footer-right {
  width: 60%;
  max-width: 760px;
  display: flex;
  justify-content: flex-start;
  position: relative;
}

.footer-right h4.location-heading{
	color:#DC6D36 !important;
	font-size:16px;
}

@media screen and (max-width: 850px) {
  .footer-right {
    border-left: unset;
  }
}
@media screen and (max-width: 500px) {
  .footer-right {
    width: 100%;
    max-width: unset;
  }
}

@media screen and (max-width: 850px) {
  .footer-right:before {
    display: none;
  }
}

.footer-meta {
  font-size: 11px;
}
.footer-meta > * {
  font-size: inherit;
}
.footer-meta .footer-copyright {
  margin-bottom: 5px;
  font-family:Montserrat, 'Arial';
  font-size:14px;
  color:#ffffff;
}

.footer-locations {
  max-width: 650px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width:100%;
  justify-content: flex-start;
}
.footer-locations .footer-location {
  width: 100%;
  margin-bottom: 20px;
  font-size: 12px;
}

@media screen and (max-width: 500px) {
  .footer-locations .footer-location {
    width: 100%;
    margin-bottom: 24px;
  }
}
.footer-locations .footer-location:nth-of-type(n+4) {
  margin-bottom: unset;
}
.footer-locations .footer-location__name {
  font-size: 16px;
  text-transform: uppercase;
  font-family:Montserrat, 'Arial';
  font-weight:600;
  margin-bottom:6px;
}

.footer-locations .footer-location:nth-child(1) .footer-location__name{
	color:#fdcd06;
}
.footer-locations .footer-location:nth-child(2) .footer-location__name{
	color:#dc6c35;
}
.footer-locations .footer-location__address {
  font-size: 16px;
  font-family:Montserrat, 'Arial';
  font-weight:300;
  color:#ffffff;
}
.footer-location__address p{
	line-height:1.3;
	margin-bottom:0;
}
.footer-locations .footer-location__address a {
  color: inherit;
}

@keyframes stickyHeader {
  from {
   /* opacity: 0;*/
	  background:#012B54;
    /*transform: translateY(-50px);*/
  }
  to {
   /* transform: translateY(0);*/
	  background-color:rgba(1, 43, 84, 0.5);
  }
}

.footer-logo-socials .footer-logo{
	width:80px;
}

.footer-logo-socials .footer-logo img{
	max-width:100%;
}

.footer-left .footer-meta{
	margin-left:7px;
}