/*============= RESETS =============
FONTS:
Body: font-family: 'Montserrat', sans-serif;
*/

/*-- iPhone X Remove Gutters
Ignore W3C Validation error for this style. --*/
html {
  padding: env(safe-area-inset);
  scroll-behavior: auto!important; /*-- Disable Bootstrap 5 Scroll Behavior to control speed in plugins.js --*/
}

/*-- Body Reset --*/
body {
  overflow-x: hidden;
  font-family: 'Montserrat', sans-serif;
  color: #616971;
}

.text-justify { /*-- Class Dropped in Bootstrap 5 --*/
  text-align: justify;
}

.main-wrapper {
  background: #fff;
}
/*-- Option: Add Extra Bootstrap Column Padding --*/
[class*="col-"] {
  padding: 1rem;
}
/*-- Bootstrap Mobile Gutter Fix --*/
.row, .container-fluid {
  margin-left: 0px !important;
  margin-right: 0px !important;
}
/*-- Remove Blue Browser Outline Around Buttons in Chrome --*/
a:focus,
button:focus { /*-- Remove Button Element Outlines in Chrome --*/
  outline: 0 !important;
  -webkit-appearance: none;
  box-shadow: none !important;
}
/*-- Pointer Cursor On Links & Buttons --*/
a, .btn, button {
  cursor: pointer!important;
  text-decoration: none;
  transition: all .5s ease;
}

/*============= TEXT, BUTTON & BG COLOR STYLE =============*/

/*-- Text Colors --*/
.text-green {
  color: #2abc68;
}
.text-blue {
  color: #5291c9;
}
a.blue-link {
  color: #4174a0;
  text-decoration: none;
}
a.blue-link:hover {
  color: #74a7d3;
}

/*-- Buttons --*/
.btn {
  transition: all .8s ease;
}
.btn-xl {
  border-width: .15rem;
  border-radius: 0;
  padding: .5rem 1.1rem;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  margin: 1rem;
}
.btn-lg {
  border-width: thin;
  border-radius: 0;
  padding: .7rem 1.2rem;
  font-size: .9rem;
  font-weight: 500;
  text-transform: uppercase;
  margin: 1rem;
}
.btn-md {
  border-width: .1rem!important;
  border-radius: 0;
  padding: .6rem 1rem;
  font-size: .9rem;
  font-weight: 500;
  text-transform: uppercase;
  margin: 1rem;
}
.btn-sm {
  border-width: .1rem!important;
  border-radius: 0;
  padding: .5rem .8rem;
  font-size: .8rem;
  font-weight: 500;
  text-transform: uppercase;
  margin: 1rem;
}
.btn-blue {
  border-color: #5291c9;
  background-color: #5291c9;
  color: white;
}
.btn-green {
  border-color: #2abc68;
  background-color: #2abc68;
  color: white;
}
.btn-blue:hover,
.btn-blue:focus,
.btn-green:hover,
.btn-green:focus,
.btn-dark:hover,
.btn-dark:focus {
  border: thin solid #d9d9d9;
  background-color: white;
  color: black;
}

/*-- Background Colors --*/
.bg-light-gray {
  background-color: #f2f2f2;
}

/*============= TOP BAR HEADER =============*/

.top-bar {
  background: #b3bdcb; 
  height: 2.5rem;
  padding: .5rem 0;
}
.top-bar [class*="col-"] {
  padding: 0!important;
  margin: 0!important;
}
.top-bar .svg-inline--fa {
  color: white;
  font-size: .9rem;
  margin-left: .2rem;
  margin-right: .2rem;
}
.top-bar p, .top-bar a {
  color: white!important;
  text-decoration: none!important;
  font-size: 1rem;
  display: inline;
}
.social-wrap {
  max-width: 9.7rem;
}
ul.social {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
ul.social li {
  display: inline;
  padding: 0 .5rem;
}
.top-bar .social .svg-inline--fa {
  color: white;
  font-size: 1.3rem;
  transition: all 0.5s ease 0s;
}
.top-bar .social .svg-inline--fa:hover {
  color: #d5d5d5;
}

/*============= NAVIGATION =============*/

.navbar {
  background: #fff;
  padding: .2rem .5rem;
  font-size: 1.1rem;
  letter-spacing: .1rem;
  font-weight: 500;
  min-height: 3.3rem;
}
.navbar-brand img {
  height: 6rem;
}
.svg-inline--fa.fa-w-14 {
  color: #5b5555;
  font-size: 1.6rem;
}
.navbar-nav li {
  padding-right: .5rem;
}
.navbar-nav .nav-link {
  color: #5b5555;
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: #4981b3!important;
}
.nav-item {
  padding: 1rem .8rem .5rem .8rem;
}

/*-- Drop-down Menu --*/
.dropdown-menu, .dropdown-item {
  font-size: 1.1rem;
  font-weight: 400!important;
  background-color: #FFF;
  border: 0;
  color: #5b5555;
  text-align: center;
  padding: 0;
}
.dropdown-menu {
  background-color: transparent!important;
  margin-top: 0!important;
  border-radius: 0;
  z-index: 1000;
}
.dropdown-menu:hover, .dropdown-item:hover,
.dropdown-menu:focus, .dropdown-item:focus,
.dropdown-toggle:active, .dropdown-toggle:focus {
  color: #4981b3!important;
  background-color: #FFF;
}
.dropdown-item.active {
  color: #4981b3!important;
  background-color: #FFF;
}
.dropdown-item {
  padding: .3rem 0!important;
}
.dropdown-submenu > .dropdown-menu {
  width: 100%;
  z-index: 1000;
}
.navbar-toggler {
  border: none!important;
}

/*============= CAROUSEL =============*/

.carousel-inner {
	max-height: 38rem!important;
}
.carousel-inner img {
  width: 100%;
}
.carousel-item {
  /*min-height: 15rem; /*-- (300px for mobile) --*/
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-color: #1A1A1A; /*-- For Firefox white between slides --*/
}

/*-- Change Carousel Transition Speed --*/
.carousel-item-next, .carousel-item-prev, .carousel-item.active {
  display: block;
  transition: -webkit-transform 1.2s ease;
  transition: transform 1.2s ease;
  transition: transform 1.2s ease,-webkit-transform 1.2s ease;
}

/*-- Carousel Previous & Next Buttons --*/
.carousel-control-prev,
.carousel-control-next {
  width: 8%;
  cursor: pointer!important;
}
.carousel-control-next {
padding-right: 3.2rem!important;
}
.carousel-control-prev .svg-inline--fa.fa-chevron-left,
.carousel-control-next .svg-inline--fa.fa-chevron-right {
  position: absolute;
  background: gray;
  border-radius: 0;
  padding: .7rem 1rem!important;
  font-size: 1.8rem!important;
  color: white;
  opacity: .7;
  transition: all .5s ease;
}
.carousel-control-prev .svg-inline--fa.fa-chevron-left:hover,
.carousel-control-next .svg-inline--fa.fa-chevron-right:hover {
  background: white;
  color: gray;
  opacity: 1;
  transition: all .5s ease;
}

/*-- Make Carousel Prev/Next Fisible on hover --*/
.carousel .carousel-control-prev,
.carousel .carousel-control-next {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s linear 1000s, opacity 1000ms;
}
.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    visibility: visible !important;
    opacity: 1;
    transition: visibility 0s linear 0s, opacity 1000ms;
}

/*-- Video Backround Carousel Item --*/
video { 
  min-height: 100%;
  min-width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
}

/*-- Carousel Caption --*/
.carousel-caption {
  left: 12%;
  right: 12%;
  position: absolute;
  transform: translateY(-50%);
  top: 45%;
}
.carousel-caption.text-start,
.carousel-caption.text-end {
  top: 41%;
}
@media screen and (min-width: 1500px) {
  .carousel-caption,
  .carousel-caption.text-start,
  .carousel-caption.text-end  {
    top: 41%;
  }
}
@media screen and (min-width: 1800px) {
  .carousel-caption,
  .carousel-caption.text-start,
  .carousel-caption.text-end  {
    top: 37%;
  }
}
.carousel-caption h1 {
	font-size: 3rem;
}
.text-shadow {
  text-shadow: .1rem 0 .2rem #323232;
}
.carousel-caption .btn {
  border-width: medium;
  border-radius: 0;
}
.bg-gray {
	background-color: rgba(108,117,125, .6);
}
.bg-clear {
	background-color: rgba(255,255,255, .5);
}
.carousel-caption.text-end {
	margin-top: -1.5rem!important;
}





/*===== HOME PARALLAX BACKGROUND IMG =====*/

.fixed-overlay {
  background-color: rgba(0, 0, 0, .1);
  z-index: 1000!important;
}

/*===== PAGES BREADCRUMBS BACKGROUND IMG =====*/

.fixed-wrap {
  clip: rect(0, auto, auto, 0);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -999 !important;
}
#fixed {
  z-index: -1;
  position: relative;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
}

/*===== BREADCRUMBS BACKGROUND IMGs =====*/

#fixed.about {
  background-image: url('../img/about.jpg');
}
#fixed.services {
  background-image: url('../img/services.jpg');
}
#fixed.projects {
  background-image: url('../img/projects.jpg');
}
#fixed.contact {
  background-image: url('../img/contact.jpg');
}



/*============= IMG PLAY OVERLAY =============*/

.overlay-img {
  transition: all .8s ease;
}
.overlay-img:hover {
  opacity: .75!important;
  background-color: white;
}
.img-overlay-home .svg-inline--fa {
  color: black;
  font-size: 2.2rem;
  position: absolute;
  top: 45%;
  left: 48%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  opacity: .7!important;
}

/*============= LOGO CAROUSEL =============*/

#logo-carousel {
  width: 100%;
  background-color: #F8F9FA;
  border-top: 1px solid #D7DADC;
}
#logo-carousel .owl-nav,
#logo-carousel .owl-dots {
  display: none!important;
}
#logo-carousel img {
  max-width: 150px;
  margin: 0 auto;
}
#logo-carousel .item {
  margin-right: -.5rem!important;
}

/*============= FOOTER original BG color is #383838; #448BEB #b3bdcb;=============*/

footer {
  background-color: #b3bdcb;
}
footer {
  padding: 1rem 2rem 3rem;
}
img.logo {
  height: 7rem;
  margin: 1.5rem 0;
}
footer a {
  color: white;
  text-decoration: none!important;
  display: inline;
  transition: all 0.5s ease 0s;
}
footer .social .svg-inline--fa {
  color: white;
  font-size: 1.5rem;
  transition: all 0.5s ease 0s;
}
footer .footer-links .svg-inline--fa {
  color: white;
  font-size: 1.1rem;
  transition: all 0.5s ease 0s;
}
footer a:hover {
  color: white;
  transition: all 0.5s ease 0s;
}
footer .svg-inline--fa {
  color: white;
  font-size: 1.2rem;
  transition: all 0.5s ease 0s;
}
footer .svg-inline--fa:hover {
  color: white;
}
.footer-links p a {
  transition: all .5s ease;
}
p.footer-links a:hover {
  color: #5291c9!important;
  transition: all .5s ease;
}
.footer-projects img {
  max-height: 6rem;
}
.footer-projects p {
  font-size: .8rem;
  color: #999999;
}
.footer-projects p:hover {
  color: #5291c9;
}

/*============= SOCKET =============*/

.socket {
  background-color: #222222;
  border-top: .1rem solid #666b71;
  width: 100%;
}
.socket a {
  color: white;
}

/*============= TOP SCROLL =============*/

.top-scroll svg.svg-inline--fa {
  font-size: 3rem;
  height: 2rem;
  width: 2rem;
  color: #53595f;
  background: white;
}
a.top-scroll {
  right: 1.2rem;
  bottom: 1.2rem;
  position: fixed;
  opacity: .3;
  z-index: 1000;
  display: none;
  transition: all 0.5s ease 0s;
}
a.top-scroll:hover {
  opacity: .5;
}




/*============= MEDIA QUERIES =============*/

/* Devices under 1200px (xl) */
@media (max-width: 1199.98px) {
  video { 
    max-width: 100%;
  }
  .carousel-caption h1 {
    font-size: 2.5rem;
  }
  .element-item {
    min-height: 12rem;
  }
}

/* Devices under 992px (lg) */
@media (max-width: 991.98px) {
  .dropdown-menu, .dropdown-item {
    text-align: left;
  }
  .carousel-caption {
    top: 42%!important;
  }
  .carousel-caption h1 {
    font-size: 2.2rem;
  }
  #fixed.bread {
    position: relative;
  }
  .element-item {
    width: 50%;
    min-height: 12.6rem;
  }
  .element-item img {
    background-color: #5ca2e0!important;
    background: linear-gradient(-29deg, #5ca2e0 50%, #5ca2e0 50%)!important;
  }
}

/* Devices under 768px (md) */
@media (max-width: 767.98px) {

  .carousel-caption {
    top: 40%!important;
  }
  .carousel-caption h1 {
    font-size: 1.8rem;
  }
  .carousel-caption h2 {
    font-size: 1.7rem;
    margin-bottom: .5rem;
  }
  .carousel-caption p.lead {
    font-size: 1rem;
    margin-bottom: .5rem;
  }
  .carousel-caption.text-end {
    margin-top: 0rem!important;
    text-align: center!important;
  }
  .btn-lg {
    padding: .4rem .6rem!important;
    font-size: .8rem;
    margin: .3rem!important;
  }
  .btn-md {
    padding: .4rem .6rem!important;
    font-size: .8rem;
    margin: .4rem!important;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.7rem; }
  h3 { font-size: 1.5rem; }
  h4 { font-size: 1.3rem; }
  h5 { font-size: 1.2rem; }
  h6 { font-size: 1.1rem; }
  p { font-size: 1.1rem; }
  .top-scroll {
    display: none!important;
  }
  .element-item {
    width: 100%;
    min-height: 14rem;
  }
  .projects-carousel .owl-carousel .owl-nav button.owl-prev {
    left: -1rem!important;
  }
  .projects-carousel .owl-carousel .owl-nav button.owl-next {
    right: -1rem!important;
  }
  .projects-carousel img {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Devices under 576px (sm) */
@media (max-width: 575.98px) {
  .carousel-caption {
    top: 44%;
    width: 100%;
    left: 0;
  }
  .carousel-inner {
    padding: 0;
    margin: 0;
  }
  .carousel-caption h1 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }
  .carousel-caption h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
}

/* Devices under 429px */
@media (max-width: 429px) {
  .carousel-caption {
    top: 38%!important;
  }
}


/*============ BOOTSTRAP BREAK POINTS:

Extra small (xs) devices (portrait phones, less than 576px)
No media query since this is the default in Bootstrap

Small (sm) devices (landscape phones, 576px and up)
@media (min-width: 576px) { ... }

Medium (md) devices (tablets, 768px and up)
@media (min-width: 768px) { ... }

Large (lg) devices (desktops, 992px and up)
@media (min-width: 992px) { ... }

Extra (xl) large devices (large desktops, 1200px and up)
@media (min-width: 1200px) { ... }

=============*/

/*============= WAYPOINTS =============*/

/*-- OPTION: TURN OFF ANIMATION OFF COMPLETELY::
Note: may effect line progress bar with slight delay,
line-progressbar waypoints can be adjusted at bottom of plugins.js.--*/


/* remove this CSS comment to activate

.animated, .os-animation {
  -webkit-animation: none!important;
  -moz-animation: none!important;
  -o-animation: none!important;
  animation: none!important;
  opacity: 1!important;
  -webkit-animation-delay: none !important;
  -moz-animation-delay: none !important;
  animation-delay: none !important;
  }

*/

/*-- OPTION: TURN OFF ANIMATION ON MOBILE::
Note: may effect line progress bar with slight delay,
line-progressbar waypoints can be adjusted at bottom of plugins.js.--*/


/* remove this CSS comment to activate

@media (max-width: 767px) {
	.animated, .os-animation {
	  -webkit-animation: none!important;
	  -moz-animation: none!important;
	  -o-animation: none!important;
	  animation: none!important;
	  opacity: 1!important;
	  -webkit-animation-delay: none !important;
	  -moz-animation-delay: none !important;
	  animation-delay: none !important;
	  }
	}

*/



/*============================================================
*** BELOW IS PLUGIN CSS THAT SHOULD NOT BE CHANGED ***
=============================================================*/

/*-- Waypoints --*/
.os-animation {
	opacity: 0;
	margin: 0 !important;
	max-width: 100%;
}
.os-animation.animated {
	opacity: 1;
}

 /*-- Prevent WayPoints from Browser Window Scrolling On Mobile --*/
/* Devices under 768px (md) */
@media (max-width: 767px) {
	.row {
		 overflow-x: hidden;
		 overflow-y: hidden;
	}
}


/*-- jQuery Line Progress Bar --*/
.progressbar {
	width: 100%;
	margin-top: 5px;
	margin-bottom: 35px;
	position: relative;
	background-color: #EEEEEE;
	box-shadow: inset 0px 1px 1px rgba(0,0,0,.1);
}
.proggress{
	height: 8px;
	width: 10px;
	background-color: #3498db;
}
.percentCount{
	float:right;
	margin-top: 10px;
	clear: both;
	font-weight: bold;
	font-family: Arial;
}

/*============= UNIVERSAL PARALLAX PLUGIN CSS =============*/
.parallax-container {
  -webkit-align-items: center;
  align-items: center;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0;
  padding: 15px;
  position: relative;
  width: 100%
}
.parallax-container .parallax-content {
  margin: 0 auto;
  width: 100%;
}
.parallax__container {
  clip: rect(0, auto, auto, 0);
  height: 100%;
  left: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -100
}
.parallax__container .parallax {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: fixed;
  top: 0;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  width: 100%
}