:root {
    --maincolor: #d92024;
    --menucolor: #ff4c23;
    --secondcolor: #179b46;
}

a {
    color: #000 !important;
}

.hover:hover {
    text-decoration: none !important;
    color: #000;
}


.navbar-lifted {
    top: -50%;
}

.header-container {
    padding-top: 4%;
    padding-left: 10%;
    padding-right: 5%;
    padding-bottom: 2%;
    overflow: hidden;
    background-color: var(--maincolor);
}

.vertical-middle {
    display: -webkit-flexbox;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    justify-content: center;
}

.yummy-cyprus {

    padding-top: 15rem;
    padding-bottom: 15rem;

}

.yummy-cyprus-img {
    background-image: url('../images/pizza-3007395_1920.jpg');
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(../images/pizza-3007395_1920.jpg);
    background-position: center center;
    background-size: cover;
}

.our-mission {
    background-position: center center;
    background-size: cover;
}

.h1-white {
    color: white;
    font-family: 'Raleway';
    font-size: 60px;
}

.p-white {
    color: white;
    font-family: 'Raleway';
    font-size: 18px;
}

.span-white {
    color: white;
    font-family: 'Raleway';
}

.image-left-rounded {
    border-top-left-radius: 100%;
    border-bottom-left-radius: 100%;
}

.padding-top-bottom {

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

.padding-left-right {
    padding-left: 2rem;
    padding-right: 2rem;
}

.why-image:hover > .overlay {
    width: 100%;
    color: white;
    background-color: black;
    text-color: black;

    opacity: 0.8;
}

.overlay:hover {

    opacity: 0.6;

}

.opacity-changer:hover > .overlay {
    width: 100%;
    color: white;
    background-color: black;
    text-color: black;

    opacity: 0.8;
}

.text-under-image {
    margin-top: -70px;
    background: white;
    border-style: solid;
    border-width: 1px;
    border-color: grey;
    text-align: center;
}

.text-under-image-category {
    margin: 15px 0;
    background-color: rgba(234, 0, 0, 0.75);
    padding: 10px;
    color: white;
    position: absolute;
    text-align: center;
    bottom: 0;
    width: 100%;
    height: 50px;

}

.slider-text-background {
    background-color: var(--secondcolor);
    color: white;
    padding-top: 1rem;
    padding-bottom: 1rem;
    text-align: center;
    bottom: 0;
    width: 100%;
}

.follow-us {
    margin-top: 3rem;
    padding-top: 6rem;
    padding-bottom: 6rem;
    background-image: url(../images/hero-food-17.jpg);
    background-position: center center;
    background-size: cover;
}

.nav-link:hover {

    width: 100%;
    color: white;
    background-color: #000;
    opacity: 0.5;
}

.social-icon:hover {

    width: 100%;
    color: white;
    background-color: #000;
    opacity: 0.5;
}


.copy-right {
    padding-top: 1%;
    padding-bottom: 1%;
}

.navbar-fixed {

    position: fixed;
    top: 0px;
    width: 100%;
    left: 0%;
    margin: auto;
}

.sidebar {
    padding: auto;
    position: sticky;
    z-index: 100;
    background-color: var(--menucolor);
}


.sidebar-fixed {
    position: fixed;
    width: 100%;
    padding: auto;
}

.category-filter>a {
    color: var(--secondcolor) !important;
}

.navbar {

    z-index: 100;
    background-image: linear-gradient(155deg, var(--maincolor) 65%, var(--menucolor) 45%);
    width: 100%;

}

.navbar-container {
    padding-left: 15%;
    padding-right: 15%;
    width: 100%;
}

.restaurant-image:hover > .overlay {
    width: 100%;
    color: white;
    background-color: black;
    text-color: black;
    opacity: 0.8;
}

.category-image {
    width: 100%;
    color: black;
    background-color: white;
    transition: transform .5s;
    padding-left: 0px;
    padding-right: 0px;
}

.category-image:hover {
    -ms-transform: scale(1.05); /* IE 9 */
    -webkit-transform: scale(1.05); /* Safari 3-8 */
    transform: scale(1.05);

}

#YummyClosedRestaurantList {
    opacity: 0.4;
}

.restaurant-details-text {
    padding-left: 0px;
    font-size: 15px;
}

.yummy-logo {
    width: 25%;
}

.header-image {
    width: 100%;
}

.category-filter-name:hover {
    color: black !important;
    background-color: white !important;
    text-decoration: none;
}

.postcodesearch {
    width: 50%;
    border: none;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: rgb(33, 37, 41);
    text-align: center;
}

.postcodesearch:valid {
    color: green;
    border-color: green;
}

.postcodesearch:invalid {
    color: red;
    border-color: red;
}

.restaurant-food-div {
    width: 100%;
    color: black;
    background-color: white;
    transition: transform .5s;
    padding-left: 0px;
    padding-right: 0px;
}

.restaurant-food-div:hover {

    -ms-transform: scale(1.05); /* IE 9 */
    -webkit-transform: scale(1.05); /* Safari 3-8 */
    cursor: pointer;
    transform: scale(1.05);
    filter: alpha(opacity=50); /* For IE8 and earlier */

}

#RegisterContainer a {
    color: blue !important;

}

#RegisterContainer a:hover {
    cursor: pointer !important;
    text-decoration: underline !important;
    background: white;
}

#LoginContainer a {
    color: blue !important;

}

#LoginContainer a:hover {
    cursor: pointer !important;
    text-decoration: underline !important;
    background: white;
}

.checkoutrow {
    padding: 20px 10px;
}

.paymentactive {
    background-color: #d01937;
    color: #FFFFFF;
}

#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 9999;
    border: none;
    outline: none;
    background-color: rgba(229, 27, 35, 0.45);
    color: white;
    cursor: pointer;
}

#myBtn:hover {
    background-color: #555;
}

#loader {
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 9999;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #d01937;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    display: none;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}


@media screen and (max-width: 600px) {
    .social-icon {
        font-size: 24px;
    }

    .navbar {

        z-index: 100;
        background-color: #e51b23 !important;
        width: 100%;
        background-image: none;
    }

    .navbar-fixed, .navbar-nav {
        margin: auto;
    }

    .navbar-toggler {
        margin-left: 40%;
    }

    .navbar-toggler {
        margin-left: 40%;
    }

    .call-us {
        display: none;
    }

    .email-us {
        display: none;
    }

    .apps {
        display: none;
    }

    .yummy-logo {
        width: 70%;
    }
}

@media screen and (max-width: 980px) {
    .social-icon {
        font-size: 36px;
    }

    .navbar-fixed, .navbar-nav {
        margin: auto;
    }

    .navbar {

        z-index: 100;
        background-color: #e51b23 !important;
        background-image: none;
        width: 100%;
    }

    .navbar-toggler {
        margin: auto;
    }

    .call-us {
        display: none;
    }

    .email-us {
        display: none;
    }

    .apps {
        display: none;
    }

    .yummy-logo {
        width: 70%;
    }
}

.addbasketbtn {
    background-color: var(--secondcolor);
    color: var(--maincolor);
}

#footer{
    background-color: var(--secondcolor);
}

.social-icon{
    font-size: 2rem;
    padding: 5px;
    color: white!important;
    }

#social-media{
    text-align: center;
    padding: 1.5%;
}

a.nav-link{
    color: white!important;
}