body {
    background: white;
}

@media (min-width: 1021px) {
    .carousel-inner .carousel-item img {
        max-height: 50vh; /* Adjust the maximum height as needed */
        object-fit: cover; /* Cover the entire container with the image */
    }
}


@media (max-width: 769px) {
#header {
    position: relative;
    z-index: 1000;
}

.navbar-brand.logo {
    font-size: 1.5rem;
}

}


.bg-primary1 {
    background: #757575;
    border-top: 3px ridge white;
}

p.firstp.afterdes {
    margin-bottom: 20px;
}

a:hover {
    text-decoration: none;
}

a {
    color: #757575;
}

a:hover {
    color: lime;
}

header .navbar li a.menu-item {
    text-shadow: 0px 0px 3px #333;
}

header {
    position: absolute;
    width: 100%;
    z-index: 2;
}

header a {
    color: white;
}

header .container.header {
    position: relative;
    z-index: 100;
	
}
@media (max-width: 769px) {
header .container.header {
    position: relative;
    z-index: 100;
	background-color: black;

}
}
header .navbar {
    padding-bottom: 0;
    border: 1px solid white;
    border-left: none;
    border-right: none;
}

header .navbar a.menu-item {
    color: white;
    transition: all 0.2s ease-in;
    font-weight: 600;
}

header .navbar a.logo {
    color: white !important;
    font-family: 'Arial';
}

header .navbar a.menu-item:hover {
    color: #757575;
}

header .navbar a.menu-item:hover:after {
    border-top: 5px solid #757575;
    border-right: 5px solid #757575;
}

header .navbar a.menu-item:after {
    content: "";
    transition: all 0.2s ease-in;
    display: block;
    border-top: 5px solid transparent;
    border-right: 5px solid transparent;
    width: 7px;
    height: 7px;
    transform: rotate(-45deg);
    position: absolute;
    bottom: -13px;
    overflow: hidden;
    border-bottom: 5px solid transparent;
    border-left: 5px solid transparent;
    position: relative;
    left: 44%;
}

header .navbar li.active a.menu-item {
    color: #757575;
}

header .navbar li.active a.menu-item:after {
    border-top: 5px solid #757575;
    border-right: 5px solid #757575;
}

header i.fa.fa-facebook,
header i.fa.fa-instagram {
    border-radius: 50%;
    /*border: 1px solid white;*/
    width: 26px;
    height: 25px;
    text-align: center;
    padding-top: 4px;
    padding-right: 1px;
    transition: all 0.2s ease-in;
}

header i.fa.fa-facebook:hover,
header i.fa.fa-instagram:hover {
    background: white;
    color: #757575;
}

header i.fa.fa-navicon {
    color: white;
}

header .logo {
    background: #757575;
    padding: 6px 20px;
    border-radius: 3px;
    border: 1px solid white;
    font-weight: 600;
}

.carousel-inner {
    max-height: 100vh; /* Set the maximum height to 100% of the viewport height */
    overflow: hidden; /* Hide any overflow */
}

.carousel-inner .carousel-item img {
    width: auto; /* Reset width to auto */
    height: auto; /* Reset height to auto */
    max-width: 100%; /* Ensure the image does not exceed the width of its container */
    max-height: 100%; /* Ensure the image does not exceed the height of its container */
    object-fit: cover; /* Cover the entire container with the image */
}




ol.carousel-indicators {
    bottom: 200px;
}

.maindes {
    text-align: center;
    color: #757575;
    font-size: 2rem;
}

.afterdes {
    text-align: center;
}

.main.fa {
    color: #fff;
    font-size: 24px;
}

i.fa.fa-envelope-o.main {
    font-size: 21px;
}

.main.fa {
    top: 3px;
    position: relative;
}

.afterdes.col a {
    margin-right: 15px;
}

table {
    width: 50%;
    margin: 0 auto;
}

table tr {
    text-align: center;
}

.row .thirdp a,
.row .fourthp a {
    display: inline-block;
    padding-left: 10px;
}

.afterdes a:last-child {
    text-align: left;
}

.afterdes a:first-child {
    text-align: right;
}

.row .thirdp {
    margin-bottom: 0;
}

.spacer {
    height: 60px;
    display: block;
}

#carouselExampleIndicators .carousel-item:after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 166px);
}

footer {
    background: #757575;
    height: 60px;
}

footer .container {
    line-height: 60px;
}

.bg-backg {
    background-image: url(../../assets/images/contact.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    top: 6px;
    position: relative;
}

p.afterdes {
    margin-bottom: 0;
}

iframe {
    top: 6px;
    position: relative;
}

footer a {
    color: white;
}

footer a:hover {
    color: #f52459;
}

footer ul li {
    float: left;
    list-style-type: none;
}

.primcol {
    color: #757575;
}

img.banner {
    text-align: center;
    margin: 0 auto;
    max-width: 100%;
    display: block;
    margin: 0 auto 0 auto;
}

.modal-body {
    background: #101010;
}

.afterdes {
    line-height: 30px;
    width: 100%;
}

.afterdes.font-weight-bold {
    padding: 20px 0;
}

#contact h3,
#contact .afterdes {
    margin-bottom: 0;
    background: #757575;
    line-height: 40px;
    font-weight: 400;
    font-size: 18px;
}

.main.fa {
    color: white;
}

header .navbar li.active a.menu-item {
    color: white;
}

header .navbar li.active a.menu-item:after {
    border-top: 5px solid white;
    border-right: 5px solid white;
}

header .navbar a.menu-item:hover {
    color: white;
}

header .navbar a.menu-item:hover:after {
    border-top: 5px solid white;
    border-right: 5px solid white;
}

.maindes {
    color: #757575;
    font-size: 15px;
    margin: auto;
    text-align: center;
    padding: 30px 40px;
    width: 100%;
    max-width: 1370px;
    border-bottom: 4px double white;
    font-weight: 400;
    margin-bottom: 15px;
}

header i.fa.fa-phone,
header i.fa.fa-envelope,
header i.fa.fa-mobile {
    color: white;
}

ul.justcent {
    margin: 0 auto;
}

.navbar.scrolled {
    position: fixed;
    top: 0;
    margin: 0 !important;
    background: rgba(17, 17, 17, 0.9);
    left: 0;
    transition: all 0.3s ease-in;
}

#contact .afterdes.col a {
    margin-right: 0;
}

span.desktop {
    padding-left: 10px;
}

div#carousel-with-lb {
    padding-bottom: 3rem;
    top: 15px;
    position: relative;
}

#carousel-with-lb.gallery ol.carousel-indicators {
    bottom: 0;
}

#carousel-with-lb.gallery .carousel-indicators li {
    background-color: white;
}

div#carousel-with-lb .carousel-inner img {
    width: 100%;
}

.banner-bg {
  
    background-position: 0 -600px;
    background-blend-mode: color-burn;
    background-color: #757575;
}
.banner {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.banner:hover {
    opacity: 0.8;
}
figure {
    max-height: 290px;
    overflow: hidden;
}

#contact .contacth3 {
    font-size: 25px;
}

header .navbar.scrolled li.active a.menu-item {
    color: #a9a9a9;
}

header .navbar.scrolled li.active a.menu-item:after {
    color: #a9a9a9;
}

figure.col-md-4 {
    flex: 0 0 33%;
    max-width: 33%;
    padding: 0;
    margin: 0;
}

.controls-top .fa {
    font-family: FontAwesome;
    font-weight: 100 !important;
    font-style: normal;
    color: #757575;
    border: 1px solid gainsboro;
    font-size: 20px;
    padding: 7px;
}

.controls-top .btn-secondary {
    color: #6c757d;
    background-color: white;
    border-color: #757575;
}

.controls-top {
    margin-bottom: 20px;
}

.btn-secondary.focus,
.btn-secondary:focus {
    box-shadow: none !important;
    background: transparent;
}

.btn-secondary:not(:disabled):not(.disabled).active,
.btn-secondary:not(:disabled):not(.disabled):active,
.show>.btn-secondary.dropdown-toggle {
    color: #fff;
    background-color: transparent;
    border-color: transparent;
}

.carousel-inner img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border-radius: 3px;
    object-fit: none;
    object-position: center;
}




@media (max-width: 768px) {
.carousel-inner .carousel-item img {
    max-width: 100%; /* Ensure the image width scales with the container */
    height: auto; /* Maintain the image's aspect ratio */
    border-radius: 3px;
    object-fit: cover; /* Cover the entire container with the image */
}


.carousel-inner .carousel-item:first-child img {
    max-width: 100%; /* Ensure the image width scales with the container */
    height: auto; /* Maintain the image's aspect ratio */
    border-radius: 3px;
    object-fit: cover; /* Cover the entire container with the image */
}


.carousel-inner .carousel-item:nth-child(3) img {
    max-width: 100%; /* Ensure the image width scales with the container */
    height: auto; /* Maintain the image's aspect ratio */
    border-radius: 3px;
    object-fit: cover; /* Cover the entire container with the image */
}
}

figure.col-md-4 {
    flex: 0 0 33%;
    max-width: 33%;
    padding: 0;
    margin: 0;
}

figure.col-md-3 {
    flex: 0 0 24%;
    max-width: 24%;
    padding: 0;
    margin: 0;
}

.controls-top .fa {
    font-family: FontAwesome;
    font-weight: 300 !important;
    font-style: normal;
    color: #000001;
    border: 1px solid gainsboro;
    font-size: 20px;
    padding: 5px 5px;
}

.controls-top .btn-secondary {
    color: #6c757d;
    background-color: white;
    border-color: #757575;
}

.controls-top {
    margin-bottom: 20px;
}

.btn-secondary.focus,
.btn-secondary:focus {
    box-shadow: none !important;
    background: transparent;
}

.btn-secondary:not(:disabled):not(.disabled).active,
.btn-secondary:not(:disabled):not(.disabled):active,
.show>.btn-secondary.dropdown-toggle {
    color: #fff;
    background-color: transparent;
    border-color: transparent;
}

div#contact .row {
    display: block !important;
}





@media (max-width: 991px) {
    nav.navbar.navbar-expand-lg.sticky-top.col.my-3 {
        padding-bottom: 10px;
    }

    button.navbar-toggler {
        top: 4px;
        position: relative;
    }

    nav.navbar.navbar-expand-lg.sticky-top.col.my-3 {
        background: rgba(17, 17, 17, 0.9);
    }

    #carouselExampleIndicators .carousel-item:after {
        height: calc(100% - 260px);
    }

   .carousel-item .bg-primary1 {
    max-height: 30vh; /* Set the maximum height to 30% of the viewport height */
    height: 20vh; /* Set the height to 30% of the viewport height */
}

    .afterdes a:first-child,
    .afterdes a:last-child {
        text-align: center;
    }

    span.desktop {
        display: none;
    }

    div#contact .row {
        display: block;
    }

    footer.container-fluid {
        height: auto;
    }

    footer .container {
        line-height: 30px;
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

@media (max-width: 768px) {
    figure.col-md-4 {
        flex: 100%;
        max-width: 100%;
        padding-bottom: 10px;
        margin: 0;
    }

    .container-fluid.banner-bg iframe {
        max-width: 100%;
    }

    a.navbar-brand.d-lg-none.logo {
        font-size: 12px;
    }
}
