*{
    padding: 0;
    margin: 0;
    box-sizing: border-box !important;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
} 

h1 {
    margin-top: 2rem !important;
    /* margin-bottom: 2rem !important; */
    position: relative !important;
    font-weight: bolder !important;
    /* top: -200px !important; */
    /* font-family: 'Lucida Grande', 'Times New Roman', Times, serif; */
    /* font-family: 'Raleway', sans-serif; */
    font-size: 3rem;
    color: #222;
    /* font-family: Georgia, 'Times New Roman', Times, serif; */
    font-weight: bolder;
    /* text-shadow: rgb(0 0 0 / 30%) -1px -1px 0px, rgb(0 0 0 / 30%) -1px 1px 0px, rgb(0 0 0 / 30%) 1px 1px 0px, rgb(0 0 0 / 30%) 1px -1px 0px; */
    /* text-shadow: #fff -1px -1px 0px, #333 -1px 1px 0px, #000 1px 1px 0px, #000 1px -1px 0px; */
    /* text-shadow: rgb(0 0 0 / 30%) -1px -1px 0px, rgb(0 0 0 / 30%) -1px 1px 0px, rgb(0 0 0 / 30%) 1px 1px 0px, rgb(0 0 0 / 30%) 1px -1px 0px; */
    /* text-shadow: #fff -1px -1px 0px, #333 -1px 1px 0px, #000 1px 1px 0px, #000 1px -1px 0px; */
}

b.hl {
    font-size: 1.3rem;
    /* font-family: Georgia, 'Times New Roman', Times, serif; */
    color: #c00000;
    font-weight: 500;
    /* text-shadow: rgb(0 0 0 / 30%) -1px -1px 0px, rgb(0 0 0 / 30%) -1px 1px 0px, rgb(0 0 0 / 30%) 1px 1px 0px, rgb(0 0 0 / 30%) 1px -1px 0px; */
    /* text-shadow: #fff -1px -1px 0px, #333 -1px 1px 0px, #000 1px 1px 0px, #000 1px -1px 0px; */
}

h1 b {
    font-size: 3rem;
}

h1 strong {
    color: #c00000  !important;
    /* text-shadow: #fff -1px -1px 0px, #333 -1px 1px 0px, #000 1px 1px 0px, #000 1px -1px 0px; */
}

p {
    font-size: 1.2rem;
}

p b {
    font-size: 1.7rem !important;
}

/* hr {
    border-top: 1px solid rgba(255,255,255,.3) !important;
} */

content hr {
    border-top: 1px solid #ddd !important;
}

.fa {
    font-size: 1.3rem !important;
    color: #c00000 !important;
}

.btn-floating .fa {
    font-size: 2rem !important;
    color: #ffffff !important;
}


.fa-2x {
    font-size: 1.5em !important;
    color: #555555 !important;
}



a:link { text-decoration: none !important; }
a:visited { text-decoration: none !important; }
a:hover { text-decoration: none !important; }
a:active { text-decoration: none !important; }
a.highlightened { 
    color: #FFF01F !important; 
    font-size: 1.3rem;
}

a.navbar-brand.highlightened { 
    /* font-family: 'Lucida Grande', 'Times New Roman', Times, serif; */
    font-family: "Montserrat", Sans-serif;
    font-size: 2.5rem;
}

a.highlightened:hover { 
    color: #FFFFFF  !important; 
}

.ybo-bg-darkblue{
    background: #040720 !important;
}

.ybo-bg-lightcream {
    background: #f1f1e6 !important;
}

.ybo-bg-gray{
    background: #656567 !important;
}

.ybo-orange{color: #cc8500;}

.ybo-red {
    color: #c00000 !important;
}

.ybo-orange {
    color: #cc8500 !important;
}

.ybo-green {
    color: #008000 !important;
}

.ybo-blue {
    color: #003c93;
}

.ybo-bg-blue {
    background: #2f6385;
}

.ybo-bg-red{
    background: #6d2414;
}

.ybo-light {
    color: #e3e3e3;
}

#ybo-head-spacer {
    padding-top: 154px;
}

#services-page {
    background-image: url(images/bg-services.png);
    background-size: cover;
    background-attachment: scroll;
    background-repeat: no-repeat;
    /* background-position: center; */
}

#services-page .bg-light {
    background-color: #f8f9faad !important;
}

#contact-page {
    background-image: url(images/bg-contact.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

#contact-page .bg-light {
    background-color: #f8f9fac4 !important;
}


#services-page * {
    background: transparent;
}
/* logo */

.navbar-brand img {
    max-width: 200px;
    /* border: 1px solid #030303; */
}

/* Nav menu bar */

.navbar-dark .navbar-toggler {
    background: #003c93 !important;
    border-color: rgba(255,255,255,.1) !important;
}

.scrolled-fixed-navbar {
    background: rgba(255, 255, 255, .7) !important;
    transition: all 0.7s !important;
    padding-top: 0 !important;
}

#ybo-nav-bar hr {
    margin-top: 8px;

}

.ybo-bg-green {
    background: #008000 !important;
}

#ybo-nav-bar {
    background: #fff;
    transition: all 0.7s;
    /* border-bottom: 3px solid maroon; */
    padding: 0 1rem !important;
    box-shadow: 0px 0px 5px -1px rgba(0,0,0,0.3);
}

.navbar-brand {
    color: #0f397f  !important;
    font-weight: bolder;
    /* text-shadow: #fff -1px -1px 0px, #333 -1px 1px 0px, #000 1px 1px 0px, #000 1px -1px 0px; */
    font-family: "Poppins", sans-serif !important;
    font-size: 3rem !important;
    margin-left: 3rem; 
    margin-right: 3rem !important;
    line-height: 1 !important;
    /* text-shadow: -2px 2px 10px rgb(252 252 252 / 98%); */
}
.navbar-dark .nav-item .nav-link {
    color: #0f397f !important;
    font-size: 1rem;
    padding: 10px 1rem;
    border: 1px solid transparent;
}
.navbar-dark .nav-item .nav-link:hover {
    color: #ff5400 !important;
}
.navbar-dark .nav-item.active .nav-link {
    color: maroon  !important;
    /* background: #0f397f; */
    /* border: 1px solid #003c93; */
}
.navbar-dark .nav-item:focus .nav-link,
.navbar-dark .nav-item:hover .nav-link .fa {
    color: maroon !important;
}



/* .main-links {
    background: rgba(255,255,255,.5);
} */

.main-links a {
    font-size: 1.2rem !important;
    /* font-weight: bold; */
}

/* .navbar {
    padding: 5.5rem 1rem 0 !important;
} */

.navbar-collapse {
    flex-grow: initial !important;
    position: relative;
    margin-top: auto;
}

/* banner */
#banner {
    height: 880px;
    background: url(images/banners/1.png) center;
    /* background: linear-gradient(rgba(0,0,0,.3), rgba(0,0,0,.3)), url(images/banner.png); */
    background-size: cover;
    /* margin-top: 7.9rem; */
    background-position: top center;
    background-repeat: no-repeat;

    transition: 1.5s linear;
}

/* .banner-content {
    background: #1976d2;
    padding: 0 2rem 1rem;
    opacity: 0.9;
    width: 55%;
    border-radius: 8px;
}

.banner-content .btn{
    background-color: rgba(255, 158, 3, 0.8);
    border-color: rgba(255, 158, 3, 0.8);
} */

.btn-info a {color: #fbfbfb !important;}

#banner h1 {
    color: #ffffff !important; 
    text-shadow: 2px 2px 4px #000000;
    font-size: 3rem;
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: #FFFFFF !important;
    font-weight: bolder;
    /* text-shadow: rgb(0 0 0 / 30%) -1px -1px 0px, rgb(0 0 0 / 30%) -1px 1px 0px, rgb(0 0 0 / 30%) 1px 1px 0px, rgb(0 0 0 / 30%) 1px -1px 0px; */
    /* text-shadow: #fff -1px -1px 0px, #333 -1px 1px 0px, #000 1px 1px 0px, #000 1px -1px 0px; */
}

#banner h2 {text-shadow: 2px 2px 4px #000000;}

/* forms style */

.ybo-form-center {
    max-width: 500px !important;
}

/* footer */

footer p{
    color: #e3e3e3;
}

footer {
    background: #6d2414 !important;
}

footer a {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    font-size: 1.1rem;
    color: #0f397f !important;
}

footer a:hover{
    color: #ff5400  !important;
}

footer a.active{
    color: maroon !important;
}

footer ul{
    display:flex;
    justify-content: center;
    flex-direction: row;
}

footer li {
    list-style: none;
    color: #ffffff; 
    margin: 0 5px;
}


.card p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  
    text-overflow: ellipsis;
  
    overflow: hidden;
  }

.card {
	margin: 0 auto;
	border: none !important;
    background: transparent !important;
}
.card .carousel-item {
	min-height: 190px;
}
.card .carousel-caption {
	padding: 0;
	right: 15px;
	left: 15px;
	top: 15px;
	color: #3d3d3d;
	/* border: 1px solid #ccc; */
	min-height:175px;
	padding: 15px;
}
.card .carousel-caption .col-sm-3 {
	display: flex;
	align-items: center;
}
.card .carousel-caption .col-sm-9 {
	text-align: left;
}
.card .carousel-control-prev, .card .carousel-control-next {
	color: #3d3d3d !important;
	opacity: 1 !important;
}
.carousel-control-prev-icon, .carousel-control-next-icon {
	background-image: none;
	color: #fff;
	font-size: 14px;
	background-color: #cd3a54;
	height: 32px;
	line-height: 32px;
	width: 32px;
}
.carousel-control-prev-icon:hover, .carousel-control-next-icon:hover {
	opacity: 0.85;
}
.carousel-control-prev {
	left: 40%;
	top: 110%;
}
.carousel-control-next {
	right: 40%;
	top: 110%;
}
.midline {
	width: 60px;
	border-top: 1px solid #d43025;
}
.carousel-caption h2 {
	font-size: 14px;
}
.carousel-caption h2 span {
	color: #cd3a54;
}

/* .carousel-indicators li {
    border-bottom: 10px solid #cd3a54 !important;
} */

.btn-floating {
border: 1px solid #17a2b8;
    border-radius: .25rem;
    padding: 0px 12px;
    background: #17a2b8;
    color: #ffffff;
}


/* top button */
#myBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: #0f397f; /* Set a background color */
    color: #ffffff; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px 18px; /* Some padding */
    border-radius: .25rem; /* Rounded corners */
    font-size: 18px; /* Increase font size */
    /* border: 1px solid #004400; */
    /* transition: all 0.7s !important; */
  }

#myBtn .fa{
color: #fff !important;
}

/* light box gallery */
.lightbox-gallery {
    /* background-image: linear-gradient(#e3e3e3,#000000); */
    background-image: url(images/services-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: #000;
    overflow-x: hidden;
}

.lightbox-gallery p {
    color: #fff;
}

.lightbox-gallery h2 {
    font-weight: bold;
    margin-bottom: 40px;
    padding-top: 40px;
    color: #fff;
}

.lightbox-gallery img, .parallax-gallery-remodeling img {
    width: 100%;
    height: 15vw;
    object-fit: cover;
}

/* Testimonial css */

/* Importing fonts from Google */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* Reseting */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    /* background: linear-gradient(to right, #ffffff, #dddddd); */
    min-height: 100vh;
}

#card-slider img.card-img-top{
    width: 100%;
    height: 15vw;
    object-fit: cover;
}

.owl-carousel .owl-item {
    transition: all 0.3s ease-in-out;
}

.owl-carousel .owl-item .card {
    padding: 30px;
    position: relative;
}

.owl-carousel .owl-stage-outer {
    overflow-y: auto !important;
    padding-bottom: 40px;
}

.owl-carousel .owl-item img {
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
}

.owl-carousel .owl-item .card .name {
    position: absolute;
    bottom: -20px;
    left: 33%;
    color: #101c81;
    font-size: 1.1rem;
    font-weight: 600;
    background-color: aquamarine;
    padding: 0.3rem 0.4rem;
    border-radius: 5px;
    box-shadow: 2px 3px 15px #3c405a;
}

.owl-carousel .owl-item .card {
    opacity: 0.2;
    transform: scale3d(0.8, 0.8, 0.8);
    transition: all 0.3s ease-in-out;
}

.owl-carousel .owl-item.active.center .card {
    opacity: 1;
    transform: scale3d(1, 1, 1);
}

.owl-carousel .owl-dots {
    display: inline-block;
    width: 100%;
    text-align: center;
}

.owl-theme .owl-dots .owl-dot span {
    height: 20px;
    background: #2a6ba3 !important;
    border-radius: 2px !important;
    opacity: 0.8;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    height: 13px;
    width: 13px;
    opacity: 1;
    transform: translateY(2px);
    background: #83b8e7 !important;
}

@media(min-width: 480.6px) and (max-width: 575.5px) {
    .owl-carousel .owl-item .card .name {
        left: 24%;
    }
}

@media(max-width: 360px) {
    .owl-carousel .owl-item .card .name {
        left: 30%;
    }
}

/* end testimonial css */

@media (max-width: 767px) {
    .lightbox-gallery h2 {
        margin-bottom: 25px;
        padding-top: 25px;
        font-size: 24px;
    }
}
.lightbox-gallery .intro {
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto 40px;
}
.lightbox-gallery .intro p {
    margin-bottom: 0;
}
.lightbox-gallery .photos {
    padding-bottom: 20px;
}
.lightbox-gallery .item {
    padding-bottom: 30px;
}


 @media (min-width: 320px) and (max-width: 575px) {
.carousel-caption {
	position: relative;
}
.card .carousel-caption {
	left: 0;
	top: 0;
	margin-bottom: 15px;
}
.card .carousel-caption img {
	margin: 0 auto;
}
.carousel-control-prev {
	left: 35%;
	top: 105%;
}
.carousel-control-next {
	right: 35%;
	top: 105%;
}
.card .carousel-caption h3 {
	margin-top: 0;
	font-size: 16px;
	font-weight: 700;
}
}
@media (min-width: 576px) and (max-width: 767px) {
.carousel-caption {
	position: relative;
}
.card .carousel-caption {
	left: 0;
	top: 0;
	margin-bottom: 15px;
}
.card .carousel-caption img {
	margin: 0 auto;
}
.card .carousel-caption h3, .card .carousel-caption small {
	text-align: center;
}
.carousel-control-prev {
	left: 35%;
	top: 105%;
}
.carousel-control-next {
	right: 35%;
	top: 105%;
}
}

.ybo-services-bg {
    background-image: url("images/services-bg.png");
}

.parallax-bathroom-remodeling {
    /* The image used */
    background-image: url("images/Maciel4.pneg");
  
    /* Set a specific height */
    min-height: 500px;
  
    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .parallax-gallery-remodeling {
    /* The image used */
    background-image: url("images/pexels-max-vakhtbovych-6587906.png");
  
    /* Set a specific height */
    min-height: 500px;
  
    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }

@media (min-width: 767px) and (max-width: 991px) {
.card .carousel-caption h3 {
	margin-top: 0;
	font-size: 16px;
	font-weight: 700;
}
}

  
@media screen and (min-width: 1200px) {
    .center-card .card {
        max-width: 36.63vh !important;
    }
}

@media screen and (max-width: 1199px) {
    .center-card .card {
        max-width: 30.55vh !important;
    }
}

@media (min-width: 768px){
    .navbar-expand-md .navbar-nav .nav-link {
        padding-right: 1rem !important;
        padding-left: 1rem !important;
    }
}

@media screen and (max-width: 767px) {
    .navbar-brand {
        margin-left: 0 !important;
        font-size: 2rem !important;
    }
    /* #ybo-nav-bar {
        background: rgba(0, 0, 0, 0.8) !important;
    } */
}

@media (min-width: 576px)
{
    .modal-dialog {
        max-width: 30% !important;
    }
}

/* YBO DESIGN ruler */
/* @media screen and (max-width: 767px) {
    * {
        display: inline !important;
    }
    img {
        width: 120% !important;
        position: relative !important;
        left: -200px !important;
    }
} */

/* animation */
.reveal {
    position: relative;
    opacity: 0;
  }
  .reveal.active {
    opacity: 1;
  }
  .active.fade-bottom {
    animation: fade-bottom 1s ease-in;
  }
  .active.fade-left {
    animation: fade-left 1s ease-in;
  }
  .active.fade-right {
    animation: fade-right 1s ease-in;
  }

  @keyframes fade-bottom {
    0% {
      transform: translateY(50px);
      opacity: 0;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }
  @keyframes fade-left {
    0% {
      transform: translateX(-100px);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }
  @keyframes fade-right {
    0% {
      transform: translateX(100px);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }