/* ADDED */

@media (max-width: 767px) {
    .container {
        max-width: 660px;
    }
}

@media (min-width: 992px) {
	:root {
		--bs-gutter-x: 25px;
	}
}

@media (min-width: 1200px) {
	:root {
		--bs-gutter-x: 35px;
	}
}

@media (min-width: 1400px) {
	:root {
		--bs-gutter-x: 40px;
	}
}


body {
  font-family: "Raleway",sans-serif;
  font-size: 13px;
}

h5 {
	font-size: 13px;
    font-family: Raleway;
    font-weight: 500;
    font-style: normal;
    letter-spacing: 0em;
    text-transform: none;
    line-height: 1.5em;
    text-transform: uppercase;
}

.g-4 {
  --bs-gutter-x: 2.5rem;
}

.portfolio-item .border.border-5.border-light.border-top-0.p-4 {
	padding: unset !important;
	border: unset !important;
}

.text-primary {
  color: var(--primary) !important;
  padding-top: 5px;
  padding-left: 0px;
  margin-bottom: unset !important;
}

.copyright .row {
  font-size: 10px;
}

#contact .py-5 {
  padding-top: unset !important;
  padding-bottom: unset !important;
}

/* Products */
span.pitem-location {
	margin-left: 4px;
	text-transform: none;
	font-weight: 100;
	display: inline-block;
}

span.pitem-location.newline {
    display: block;
    margin-left: unset;
}

.pitem-title {
    text-transform: uppercase;
    font-weight: 500;
    margin-top: 4px;
    line-height: 18px;
}


/* Portfolio pages */

.portfolio-head {
  margin-bottom: 10px;
  font-size: 16px;
  text-transform: uppercase;
  padding-right: 20px;
  font-weight: 500;
}

.portfolio-description .portfolio-text {
  font-size: 14px;
  border: unset !important;
  padding-left: unset !important;
}

@media (max-width: 499px) {

	.portfolio-head {
		font-size: unset;
	}

	.portfolio-description .portfolio-text {
		font-size: unset;
	}

	.coworkers {
		font-size: 16px !important;
	}

}

.coworkers {
  font-size: 13px;
  color: rgb(157 156 156);
}

.coworkers p {
  margin-bottom: 2px;
}

.lightbox .lb-image {
  border: unset;
}

.p-4.portfolio-text.pubs {
    padding-top: unset !important;
}

.pub-entry {
    margin-top: 20px;
}

.pub-entry span.title {
    margin-bottom: 5px;
    display: block;
    font-size: 13px;
}

.pub-entry span.title strong {
    font-size: 14px;
}

/* Services */

#services div.row > div {
  margin-top: unset;
  padding-top: unset;
  padding-left: 14px;
}


/********** Template CSS **********/


:root {
    --primary: #676767;
    --light: #F5F5F5;
    --dark: #acacac;

	--bs-gutter-x: 15px;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/


button.navbar-toggler {
	margin-left: 28px;
}

button.navbar-toggler {
    margin-left: unset !important;
    padding: unset;
    border: unset;
}

.navbar-brand img {
  width: 220px;
  position: relative;
  left: -41px;
}

.navbar-toggler:focus {
	box-shadow: unset;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Raleway";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
  margin-right: 30px;
  padding-top: 10px;
  padding-bottom: unset;
  padding-left: unset;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 499px) {
	a.nav-item.nav-link {
		display: block;
		padding-top: 0px !important;
		padding-bottom: 11px !important;
		font-size: 20px !important;
	}

	body {
		font-size: 18px;
	}

}

@media (min-width: 500px) {
    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }

    .navbar-expand-lg .navbar-toggler {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }
}

.navbar-light .navbar-brand, .navbar-light a.btn {
	height: 125px;
	width: 100%;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/*** Header ***/
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    width: 200px;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.header-carousel .owl-dots {
    position: absolute;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: transparent;
    border: 1px solid #FFFFFF;
    transition: .5s;
}

.header-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    top: 4px;
    left: 4px;
    background: transparent;
    border: 1px solid #FFFFFF;
}

.header-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(53, 53, 53, .7), rgba(53, 53, 53, .7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** Section ***/

.tag-switcher {
	display: inline-block;
	margin-left: 5px;
	margin-right: unset;
}

.section-title {
	display: inline-block;
	padding: unset;
}

.section-title h1 {
	position: relative;
	text-align: left;
	padding: unset;
	font-family: Raleway;
	font-weight: 700;
	font-size: 17px;
	text-transform: uppercase;
	top: -10px;
}

.section-title.text-start h1 {
    padding-left: 0;
}

.section-title h1::before {
    left: 0;
}

.section-title h1::after {
    right: 0;
}

.section-title.text-start h1::before {
    display: none;
}


/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Service ***/
.service-item img {
    transition: .5s;
}

.service-item .overflow-hidden {
  opacity: 0.2;
}

/*
.service-item:hover img {
    transform: scale(1.1);
}
*/

/*** Feature ***/
@media (min-width: 992px) {
	.navbar-expand-lg {
		flex-wrap: wrap;
	}
	.container.feature {
		max-width: 100% !important;
	}
	
	.feature-text  {
		padding-left: calc(((100% - 960px) / 2) + .75rem);
	}

}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}

a.nav-item {
    text-transform: uppercase;
    color: var(--dark);
    margin-right: 2.55em;
    display: inline-block;
}

.navbar-nav {
	display: block;
	font-size: 14px;
	font-weight: 500;
/*	margin-top: 20px; */
	margin-left: unset !important;
}

.navbar-nav.p-lg-0 {
	padding: 0 !important;
}

.nav-link:hover, .nav-link.active {
  color: #565656;
}

/*** Project Portfolio ***/


#portfolio-flters li {
	display: inline-block;
	font-weight: 500;
	color: var(--dark);
	cursor: pointer;
	transition: .5s;
	border-bottom: 2px solid transparent;
	text-transform: uppercase;
}

/*
#portfolio-flters li {
  display: inline-block;
  font-weight: 500;
  color: var(--dark);
  cursor: pointer;
  transition: .5s;
  border-bottom: 2px solid transparent;
  text-transform: uppercase;
  margin-bottom: 10px;
  border: solid thin;
    border-top-color: currentcolor;
    border-right-color: currentcolor;
    border-bottom-color: currentcolor;
    border-left-color: currentcolor;
  border-radius: 5px;
  padding-left: 6px;
  padding-right: 6px;
  font-size: smaller;
}
*/

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
}

.portfolio-item img {
	border: solid thin lightgray;
}

.portfolio-item .portfolio-overlay {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0;
    height: 0;
    bottom: 0;
    left: 50%;
    background: rgba(53, 53, 53, .7);
    transition: .5s;
}

.portfolio-item:hover .portfolio-overlay {
    width: 100%;
    height: 100%;
    left: 0;
}

.portfolio-item .portfolio-overlay .btn {
    opacity: 0;
}

.portfolio-item:hover .portfolio-overlay .btn {
    opacity: 1;
}

/*** Footer ***/
/*
.footer {
    background: linear-gradient(rgba(53, 53, 53, .7), rgba(53, 53, 53, .7)), url(../img/footer.jpg) center center no-repeat;
    background-size: cover;
}
*/

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Raleway";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}