.navbar {
    background-color: #7e97ac;
    opacity: 0.7;
}

.in-navbar {
    opacity: 1;
}

.navbar:hover {
    opacity: 1;
}


a,
a:hover,
a:active,
a:focus,
a.active {
    color: black;
    text-decoration: none;
}

.nav-link,
.nav-link:hover,
.nav-link:active,
.nav-link:focus,
.nav-link.active {
    color: #1A374D !important;
    font-weight: bold;
}

.btn-outline {
    color: #1A374D;
    background-color: #7e97ac;
    border-color: #1A374D;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.btn-outline:hover,
.btn-outline:active,
.btn-outline:focus,
.btn-outline.active {
    background: #22577E;
    color: #ffffff;
    border-color: #22577E;

}

#carousel1 {
    position: relative;
}

#carousel1 img {
    height: 40rem;
}

.carousel-caption {
    height: 80%;
    color: white;
    align-content: left;
}

.carousel-caption h1 {
    font-weight: 900;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 4rem;
}

.carousel-caption p {
    color: #EAEAEA;
    font-size: medium;
    line-height: 2rem;
}

@media (max-width: 900px) {
    #recipeCarousel .carousel-inner .carousel-item>div {
        display: none;
    }

    #recipeCarousel .carousel-inner .carousel-item>div:first-child {
        display: block;
    }
}

#recipeCarousel .carousel-inner .carousel-item.active,
#recipeCarousel .carousel-inner .carousel-item-next,
#recipeCarousel .carousel-inner .carousel-item-prev {
    display: flex;
}

/* medium and up screens */
@media (min-width: 901px) {

    #recipeCarousel .carousel-inner .carousel-item-end.active,
    #recipeCarousel .carousel-inner .carousel-item-next {
        transform: translateX(25%);
    }

    #recipeCarousel .carousel-inner .carousel-item-start.active,
    #recipeCarousel .carousel-inner .carousel-item-prev {
        transform: translateX(-25%);
    }
}

#recipeCarousel .carousel-inner .carousel-item-end,
#recipeCarousel .carousel-inner .carousel-item-start {
    transform: translateX(0);
}

.cards-item .card-img {
    height: 20rem;
    margin-bottom: 4rem;
}

.cards-item .card {
    padding: 10px;
    box-shadow: 5px 10px 8px #888888;
    height: 30rem
}

@media all and (min-width: 992px) {
    .dropdown-menu li {
        position: relative;
    }

    .nav-item .submenu {
        display: none;
        position: absolute;
        left: 100%;
        top: -7px;
    }

    .nav-item .submenu-left {
        right: 100%;
        left: auto;
    }

    .dropdown-menu>li:hover {
        background-color: #f1f1f1
    }

    .dropdown-menu>li:hover>.submenu {
        display: block;
    }
}

/* ============ desktop view .end// ============ */

/* ============ small devices ============ */
@media (max-width: 991px) {
    .dropdown-menu .dropdown-menu {
        margin-left: 0.7rem;
        margin-right: 0.7rem;
        margin-bottom: .5rem;
    }
}

.modal-button {
    border-radius: 10px;
}

.modal-button:hover {
    background-color: #9B0000;
    border-color: #9B0000;
}

.form-select,
.form-control,
.form textarea,
.form input:focus,
.form textarea:focus {
    color: grey;
    background-color: #F6F7F8;
    border: none;

}
.form .btn{
    max-width: 95%;
}

input,
textarea,
select {
    outline: none !important
}

.form input:focus,
.form textarea:focus {
    background-color: white;

}

.jumbotron {
    padding: 3em;
}

.photos {
    margin-top: 10em;
    margin-bottom: 10em
}

.feature-desc {
    margin-top: 10%;
}

.btn-circle.btn-xl {
    width: 90px;
    height: 90px;
    padding: 10px 16px;
    border-radius: 55px;
    font-size: 24px;
    line-height: 1.33;
}

.btn-circle {
    width: 40px;
    height: 40px;
    padding: 6px 0px;
    border-radius: 15px;
    text-align: center;
    font-size: 12px;
    line-height: 1.42857;
}

.contact-details {
    position: absolute;
    z-index: 1;
    margin-left: 10em;
    margin-right: 10em;
    width: 80%;
    height: 90%;

    padding-top: 2%;
    padding-bottom: 2%;
}
