html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

footer div {
    font-size: 12px;
}

.navbar {
    background: rgb(112,157,53) !important;
    background: linear-gradient(0deg, rgba(112,157,53,1) 0%, rgba(148,205,72,1) 100%) !important;
}

    .navbar a {
        color: white !important;
        text-shadow: 1px 1px 2px rgb(0 0 0 / 60%);
    }

.nav-tabs .nav-link {
    color: black;
}

    .nav-tabs .nav-link.active {
        background-color: #70a628;
        border-radius: 0px;
        color: white;
    }

.pageHeader {
    margin: 10px;
    margin-bottom: -10px;
}

.pageHeader h2 {
    font-size: 20px;
    margin-bottom: 5px;
}
    .pageHeader p {
        font-size: 14px;
        margin-bottom: 10px;
        color: #444444;
    }


.showIngredientDetails {
    width: 100px !important;
}

.ingredientDetailsGrams {
    width: 100px;
}

    .ingredientDetailsGrams input {
        padding-left: 6px;
        padding-right: 6px
    }

button.ingredients-filter {
    margin-bottom: 4px;
}

#searchQuery:focus {
    outline: none;
}

.tagify {
    border: none !important;
    margin-bottom: 10px;
}

    .tagify span {
        display: none;
    }

.foodFilterBtn {
    width: 100%;
    margin-bottom: 10px;
}

    .foodFilterBtn.btn-success {
        border-bottom: solid 4px #005e00;
        border-radius: 4px;
    }

    .foodFilterBtn.btn-secondary {
        border-bottom: solid 4px #4d4d4d;
        border-radius: 4px;
    }


.custom-button {
    width: 100%;
    margin-bottom: 10px;
}

    .custom-button.btn-success {
        border-bottom: solid 4px #005e00;
        border-radius: 4px;
    }

    .custom-button.btn-secondary {
        border-bottom: solid 4px #4d4d4d;
        border-radius: 4px;
    }


.custom-button-green {
    width: 90%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    background-color: #94cd48;
    border-radius: 2px;
    border-bottom: solid 4px #70a628;
}

.custom-button-blue {
    width: 90%;
    color: white;
    display: block;
    margin-left: auto;
    margin-right: auto;
    background-color: #0b5ed7;
    border-radius: 2px;
    border-bottom: solid 4px #003a8f;
}


#addExtraModal .accordion .btn-secondary {
    text-align: left;
}

#addExtraModal .accordion .accordion-item {
    margin-left: -14px;
    margin-right: -14px;
}
    #addExtraModal .accordion .accordion-item ul {
        font-size: 13px;
        margin-bottom: 15px;
        display: none;
    }

#addExtraModal .accordion .accordion-body {
    background-color: #f2f2f2;
}

.accordion-button:not(.collapsed) {
    background-color: #fff;
    color: #000;
}

.custom-button-icon {
    text-align: left;
    border-bottom: solid 4px #4d4d4d;
    /*border-bottom: solid 4px #005e00;*/
    background-color: #6c757d;
    /*background-color: #198754;*/

    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    margin-bottom: 10px;
    cursor: pointer;
}

    .custom-button-icon .title {
        float: left;
        padding-top: 10px;
        padding-left: 10px;
        padding-bottom: 8px;
    }

    .custom-button-icon .icon {
        float: right;
        padding-top: 10px;
        padding-right: 10px;
        padding-left: 10px;
        padding-bottom: 9px;
        border-left: solid 2px #4d4d4d;
        background: -moz-linear-gradient(top, rgba(0,0,0,0), rgba(77,77,77, 1));
        background: -webkit-linear-gradient(top, rgba(0,0,0,0), rgba(77,77,77, 1));
    }
    .custom-button-icon .icon svg {
        font-size: 17px;
        margin-bottom: -2px;
    }

.custom-button-green-mini {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    margin-bottom: 6px;
    border-radius: 2px;
    font-family: verdana;
    font-size: 12px;
    background-color: #70a628;
    color: white;
    border-bottom: solid 3px #465c28;
}
    .custom-button-green-mini:hover {
        background-color: #465c28;
        color: white;
        border-bottom: solid 3px #70a628;
    }

    .custom-button-green-mini.active {
        background-color: #465c28 !important;
        border-bottom: solid 3px #70a628;
    }

.custom-button-yellow-mini {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    margin-bottom: 6px;
    border-radius: 2px;
    font-family: verdana;
    font-size: 12px;
    background-color: #baa321;
    color: white;
    border-bottom: solid 3px #5c4028;
}

    .custom-button-yellow-mini:hover {
        background-color: #5c4028;
        border-bottom: solid 3px #baa321;
        color: white;
    }

    .custom-button-yellow-mini.active {
        background-color: #5c4028 !important;
        border-bottom: solid 3px #baa321;
    }

.custom-button-blue-mini {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    margin-bottom: 6px;
    border-radius: 2px;
    font-family: verdana;
    font-size: 12px;
    background-color: #2189ba;
    color: white;
    border-bottom: solid 3px #283f5c;
}

    .custom-button-blue-mini:hover {
        background-color: #283f5c;
        border-bottom: solid 3px #2189ba;
        color: white;
    }

    .custom-button-blue-mini.active {
        background-color: #283f5c !important;
        border-bottom: solid 3px #2189ba;
    }


.workout-video {
    width: 50%;
    margin-bottom: 6px;
    float: left;
    border-radius: 2px;
    padding-left: 2px;
    padding-right: 2px;
}

.workout-video-container-1 {
    height: 251px;
    background-size: cover;
    
    background-position: center center;
    margin-bottom: 5px;
}

.workout-video-container-2 {
    /*width: 246px;*/
    height: 251px;
    background-color: rgba(0,0,0, 0.6);
}

.workout-video-container-play {
    position: absolute;
    height: 251px;
    font-size: 50px;
    margin-top: 90px;
    cursor: pointer;
    margin-left: 100px;
    color: rgba(255,255,255, 0.5)
}

.workout-video-top {
    width: 246px;
    height: 30px;
    background-color: rgba(0,0,0, 0.6);
    color: white;
    text-align: center;
    position: absolute;
    margin-top: 2px;
}

.workout-video-top a {
    color: white !important;
    margin-top: 6px;
    display: block;
}

.workout-video-bottom {
    position: absolute;
    margin-top: 210px;
    margin-left: -3px;
}


    /*.workout-video-active {
    background-color: #465c28 !important;
}
*/
    /*// X-Small devices (portrait phones, less than 576px)*/
    /*// No media query for `xs` since this is the default in Bootstrap*/
    /*// Small devices (landscape phones, 576px and up)*/
    @media (max-width: 575px) {
        .showIngredientDetails {
        width: 80px !important;
    }

    .ingredientDetailsGrams {
        width: 70px;
    }


    .modal-dialog {
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
    }

    .modal-header {
        background-color: #94cd48;
        color: #fff;
        border-radius: 0px;
    }
    .modal-body {
        background-color: #f2f2f2;
    }


    .modal-content {
        height: auto;
        min-height: 100%;
        border-radius: 0;
    }

        .workout-video-top {
            width: 47%;
            height: 30px;
            background-color: rgba(0,0,0, 0.6);
            color: white;
            text-align: center;
            margin-top: 2px;
        }

        .workout-video-container-play {
            margin-left: 18%;
        }

}

@media (min-width: 575px) {
    .workout-video {
        width: 250px;
        margin-bottom: 6px;
        float: left;
        border-radius: 2px;
        padding-left: 2px;
        padding-right: 2px;
    } 
}
