*{
    padding: 0;
    margin: 0;
    box-sizing: border-box !important;
}

body {
    font-size: 1.2rem !important;
}

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: 'Poppins', sans-serif;
    font-size: 3rem;
    color: #222;
    /* 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;
}

hr{
    margin-top: .5rem !important;
    margin-bottom: .5rem !important; 
}

ul li{
    list-style: none;
    color: #3e73b4;
}

.fa {
    font-size: 3rem !important;
}

p {margin: 0 !important}

.p-indented {
    text-indent: 3rem !important;
    text-align: justify !important;
}

.card-text {
    font-size: 1.5rem !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: #c00001 !important; 
}

a.navbar-brand { 
    /* font-family: 'Lucida Grande', 'Times New Roman', Times, serif; */
    font-family: "Montserrat", Sans-serif;
    font-size: 2.5rem;
    line-height: 1.2;
}

a.navbar-brand img { 
    max-width: 150px;
    position: relative;
    top: 75px;
    z-index: 2;
}
/* a.highlightened:hover { 
    color: #222 !important; 
} */


section .container {
    padding: 1rem !important;
    margin: 0 auto !important;
    /* background: #ffffff; */
}

.bg-prime{
    background: #008AD8 !important;
}

/* Nav menu bar */

.nav-item b, h5 b {
    color: #c00001 !important;
    font: italic 20px / 24px ff-tisa-web-pro,Georgia,"Times New Roman",Times,serif;
}

.nav-item .link {
    color: #000;
}

.navbar-brand {
    color: #ffffff !important;
    font-weight: bolder;
}

.navbar-nav .nav-item .nav-link {
    color: #000 !important;
}

.main-links .nav-link {
    color: #222 !important;
    font-size: 1.2rem;
    border-top: 5px solid transparent;
    padding: 0;
    margin: 0 3px;
}

.main-links .nav-link:hover {
    border-top-color:  #079BF5;
}

.main-links .active .nav-link {
    /* color: #f5d10d !important; */
    border-top-color: #c00001;
}
/* .navbar-dark .nav-item:focus .nav-link,
.navbar-dark .nav-item:hover .nav-link {
    color: #f5d10d !important;
} */


.bg-primary {
    background-color: #415A9E!important ;
}

.ybo-bg-blue {
    background-image: -webkit-linear-gradient(90deg,#ffffff, #b3e0fc);
}

/* forms style */

.ybo-form-center {
    max-width: 500px !important;
}

/* footer */

.ybo-blue {color: #3e73b4;}

footer *{
    color: #222 !important;
}

footer a {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    font-size: 1.1rem;
}

footer .container {
    border-top: 1px solid #aaa;
    /* border-radius: 0 0 7px 7px; */
}

footer .menu a{
    border-top: 5px solid transparent;
}

footer .menu a:hover{
    border-top: 5px solid #079BF5;
}

footer .menu a.active{
    border-top-color: #c00001;
}

footer ul{
    display:flex;
    justify-content: center;
    flex-direction: row;
}

footer li {
    list-style: none;
    color: #ffffff; 
    margin: 0 5px;
}


/* paralax */

.parallax-bodybg {
    /* min-height: 500px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto;
    height: 100%;
    background: linear-gradient(to bottom, #ffffff 0%, #748496 100%); */
    /* background-image: url(images/services/plumbing.png); */

    /* background-image:-webkit-linear-gradient(90deg,#748496, #ffffff); */
    /* background-image:-webkit-linear-gradient(90deg,#079BF5, #ffffff); */
    background: url('images/bg.jpg');
    background-position: top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    -webkit-background-size: cover;
    -o-background-size: cover;
    -moz-background-size: cover;
    -ms-background-size: cover;
    backdrop-filter: blur(2px);
}

.parallax-bodybg2, .ybo-menu-links-bg {

    /* background-image:-webkit-linear-gradient(90deg,#ffffff, transparent); */
    /* background-image: linear-gradient(transparent, #ffffff); */
    background: rgb(255 255 255 / 90%);
    background-position: center 0;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    -webkit-background-size: cover;
    -o-background-size: cover;
    -moz-background-size: cover;
    -ms-background-size: cover;
    backdrop-filter: blur(2px);
    /* border-radius: 7px 7px 0 0; */
}

.ybo-menu-links-bg {
    border-radius: 7px;
}

/* .parallax-bodybg:before {
    content: "";
    position: absolute;
    width : 100%;
    height: 100%;
    background: inherit;
    z-index: -1;

    filter        : blur(5px);
    -moz-filter   : blur(5px);
    -webkit-filter: blur(5px);
    -o-filter     : blur(5px);

    transition        : all 2s linear;
    -moz-transition   : all 2s linear;
    -webkit-transition: all 2s linear;
    -o-transition     : all 2s linear;
} */
/* cards carousel */
.card-img-top {
    transition: all 0.7s;
}
.card{
    border: none !important;
  }
   hr{
    margin: 5px !important;
  }
  .carousel-indicators{
    /* position: relative; */
    bottom: -20% !important;
  }
  .carousel-indicators li{
    background-color: #030303;
  }

/* ybo tabs */
.list-group-item {
    padding: 0 !important;
}

.list-group-item a {
    padding: 0.75rem 1.25rem !important;
    cursor: pointer;
    color:#000 !important;
    display: block;
}

.list-group-item:hover {
    background-color: #dcf1fd !important;
}

/* .list-group-item:hover a {
    color: #c00001 !important;
} */

.list-group-item.active {
    background-color: #dcf1fd !important;
    border-color: #ddd !important;
}

.list-group-item.active a {
    color: #c00001 !important;
}

/* .list-group-item .yboactive {
    background-color: #dcf1fd !important;
} */

.list-header{
    color: #c00001 !important;
    font: italic 20px / 24px ff-tisa-web-pro,Georgia,"Times New Roman",Times,serif;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .carousel-inner .carousel-item > div {
        display: none;
    }
    .carousel-inner .carousel-item > div:first-child {
        display: block;
    }
}

.carousel-inner .carousel-item.active,
.carousel-inner .carousel-item-next,
.carousel-inner .carousel-item-prev {
    display: flex;
}

#recipeCarousel .carousel-control-next{
    right: -15px !important;
}

#recipeCarousel .carousel-control-prev{
    left: -15px !important;
}

.controls-middle {
    position: relative;
    top: -135px !important;
}

.controls-middle .fa-angle-left{
    position: relative;
    left: -13px !important;
    color: #333;
}

.controls-middle .fa-angle-right{
    position: relative;
    left: 13px !important;
    color: #333;
}

/* display 3 */
@media (min-width: 768px) {
    
    .carousel-inner .carousel-item-right.active,
    .carousel-inner .carousel-item-next {
      transform: translateX(33.333%);
    }
    
    .carousel-inner .carousel-item-left.active, 
    .carousel-inner .carousel-item-prev {
      transform: translateX(-33.333%);
    }
}

.carousel-inner .carousel-item-right,
.carousel-inner .carousel-item-left{ 
  transform: translateX(0);
}



@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;
    }
}

/* 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;
    }
  }

  /* light box gallery */
/* .lightbox-gallery {
    background-image: linear-gradient(#e3e3e3,#000000);
    background-repeat: no-repeat;
    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 {
    width: 100%;
    height: 15vw;
    object-fit: cover
}
/* #banner {
    width: 100%;
    height: 40vw;
    object-fit: cover;
} */



@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;
}
