﻿:root {
    --red: #E21E26;
    --yellow: #FFC700;
    --green: #27A737;
}

body {
    font-family: 'Neo Sans';
    font-size: 16px;
    line-height: 18px;
    color: #000000;
}

.fixed-bottom-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: rgba(245, 245, 245, 0.8);
    line-height: 130%;
    color: #777777;
    text-align: center;
    padding: 10px;
    z-index: 10000;
    font-size: 16px;
}

    #grammidin-new {
        padding-top: 20px;
    }

        #grammidin-new nav {
            width: 100%;
            background-color: var(--yellow);
            height: 60px;
            padding: 0;
            margin: 0;
        }

        #grammidin-new .navbar-brand {
            margin-left: 60px;
            background: #fff url(/images/drugs/grammidin/new/logo.svg) center center no-repeat;
            background-size: 80%;
            width: 300px;
            height: 100%;
        }

        #grammidin-new .navbar-toggler-icon {
            background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%280, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
        }

        #grammidin-new .nav-item {
            padding: 20px;
            align-self: center;
        }

        #grammidin-new .nav-link {
            color: #000000;
            font-size: 16px;
            line-height: 100%;
            font-weight: 400;
            font-style: normal;
            text-align: center;
            color: #000000;
        }

        #grammidin-new .dropdown-menu {
            border: 1px solid var(--yellow) !important;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        #grammidin-new .dropdown-item:hover,
        #grammidin-new a.dropdown-item:active {
            background-color: var(--yellow) !important;
        }

        #grammidin-new .section-title h2 {
            font-style: normal;
            font-weight: 500;
            font-size: 45px;
            line-height: 90%;
            color: #000000;
            text-align: center;
            position: relative;
            margin-bottom: 50px;
            padding-bottom: 30px;
        }

            #grammidin-new .section-title h2::after {
                content: "";
                position: absolute;
                display: block;
                width: 60%;
                height: 3px;
                background: var(--yellow);
                bottom: 0;
                left: 20%;
            }

    #recom_green {
        background: url(/images/drugs/grammidin/new/top-green.png) top center no-repeat, 
                    url(/images/drugs/grammidin/new/ver1/green-pack.jpg) top left no-repeat, #f2f0fb;
        background-size: 100%, 100%;
        margin: -16px;
        min-height: 840px;
        font-size: 18px;
    }

    #recom_red {
        background: url(/images/drugs/grammidin/new/top-red.png) top center no-repeat,
                    url(/images/drugs/grammidin/new/ver1/red-pack.jpg) top left no-repeat, #f2f0fb;
        background-size: 100%, 100%;
        margin: -16px;
        min-height: 840px;
        font-size: 18px;
    }

    #recom_yellow {
        background: url(/images/drugs/grammidin/new/top-yellow.png) top center no-repeat, 
                    url(/images/drugs/grammidin/new/ver1/yellow-pack.jpg) top left no-repeat, #f2f0fb;
        background-size: 100%, 100%;
        margin: -16px;
        min-height: 840px;
        font-size: 18px;
    }

    #grammidin-new .section-title-green h2 {
        font-style: normal;
        font-weight: 500;
        font-size: 45px;
        line-height: 90%;
        color: #000000;
        position: relative;
        margin-top: 120px;
        margin-bottom: 20px;
        padding-bottom: 30px;
    }

        #grammidin-new .section-title-green h2::after {
            content: "";
            position: absolute;
            display: block;
            width: 100%;
            height: 3px;
            background: var(--green);
            bottom: 0;
        }

#grammidin-new .section-title-yellow h2 {
    font-style: normal;
    font-weight: 500;
    font-size: 45px;
    line-height: 90%;
    color: #000000;
    position: relative;
    margin-top: 120px;
    margin-bottom: 20px;
    padding-bottom: 30px;
}

        #grammidin-new .section-title-yellow h2::after {
            content: "";
            position: absolute;
            display: block;
            width: 100%;
            height: 3px;
            background: var(--yellow);
            bottom: 0;
        }

#grammidin-new .section-title-red h2 {
    font-style: normal;
    font-weight: 500;
    font-size: 45px;
    line-height: 90%;
    color: #000000;
    position: relative;
    margin-top: 120px;
    margin-bottom: 20px;
    padding-bottom: 30px;
}

        #grammidin-new .section-title-red h2::after {
            content: "";
            position: absolute;
            display: block;
            width: 100%;
            height: 3px;
            background: var(--red);
            bottom: 0;
        }

    #grammidin-new .comment {
        font-size: 12px;
        line-height: 110%;
        margin-bottom: 20px;
        padding-bottom: 30px;
    }

    #instruction {
        padding: 0 70px 200px 70px;
    }

        #instruction h1 {
            margin: 0 auto;
            padding: 40px 0;
            font-style: normal;
            font-weight: 700;
            font-size: 32px;
            line-height: 38px;
            text-align: center;
        }

            #instruction h1.yellow {
                color: var(--yellow);
            }

            #instruction h1.green {
                color: var(--green);
            }

            #instruction h1.red {
                color: var(--red);
            }

        #instruction h2 {
            font-style: normal;
            font-weight: 700;
            font-size: 18px;
            line-height: 21px;
            margin: 0;
        }

        #instruction h3 {
            font-style: normal;
            font-weight: 700;
            font-size: 16px;
            line-height: 18px;
            margin: 0;
        }

        #instruction div {
            margin-bottom: 20px;
        }

.plyr__control {
    background-color: var(--yellow) !important;
    border-radius: 50px !important;
    padding: 10px !important;
    box-shadow: 0 4px 8px rgba(200, 200, 200, 0.3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 180px !important;
}

    .plyr__control::before {
        content: 'Смотреть видео';
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        color: white;
        font-size: 14px;
        height: 40px;
        line-height: 40px;
        width: 100%;
        height: 100%;
        top: 0;
        font-weight: 600;
    }

    .plyr__control:hover {
        background-color: darken(var(--yellow), 20%);
    }

main .container {
    overflow: hidden;
}

.text-orange {
    color: #FF7900;
}

body {
    margin-bottom: 380px;
}

.footer {
    height: 380px;
}

    .footer .conteiner {
        padding: 50px;
    }

@media (max-width: 767px) {
    body {
        margin-bottom: 850px;
    }

    .footer {
        height: 850px;
    }

        .footer .container {
            padding-bottom: 50px;
        }

    #grammidin-new .navbar {
        justify-content: start;
    }

    #grammidin-new .navbar-brand {
        margin: 0 0 0 20px;
        width: 200px;
    }

    #grammidin-new .navbar-collapse {
        margin: 0 auto;
        z-index: 1000;
    }

    #grammidin-new .navbar-nav {
        background-color: var(--yellow);
        width: 80%;
        padding: 10px;
    }

    #grammidin-new .navbar-nav {

    }

        #grammidin-new .nav-item {
            padding: 5px;
            margin: 0;
        }

    #grammidin-new .nav-link {
        font-weight: 500;
    }

    #grammidin-new .dropdown {
        position: relative;
    }

    #grammidin-new .dropdown-menu {
        position: absolute;
        left: -60px;
        z-index: 1001;
        background-color: var(--yellow);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        font-size: 20px;
        font-weight: 500;
        max-width: 400px;
        word-wrap: break-word;
        padding: 10px;
    }

    #grammidin-new .navbar-toggler {
        margin-left: 20px;
    }

    #grammidin-new .section-title h2 {
        font-size: 30px;
    }

        #grammidin-new .section-title h2::after {
            width: 100%;
            left: 0;
        }

    #recom_green {
        background: url(/images/drugs/grammidin/new/top-green.png) top right -40px no-repeat,           
                    url(/images/drugs/grammidin/new/ver1/green-pack-mob.jpg) bottom center #f2f0fb;
        background-size: 200%, cover;
        margin: -16px;
        min-height: 840px;
        font-size: 18px;
    }

    #grammidin-new .section-title-green h2 {
        font-style: normal;
        font-weight: 500;
        font-size: 30px;
        line-height: 90%;
        color: #000000;
        position: relative;
        margin-top: 80px;
        margin-bottom: 10px;
        padding-bottom: 20px;
    }

    #recom_yellow {
        background: url(/images/drugs/grammidin/new/top-yellow.png) top right -40px no-repeat, 
                    url(/images/drugs/grammidin/new/ver1/yellow-pack-mob.jpg) bottom center #f2f0fb;
        background-size: 200%, cover;
        margin: -16px;
        min-height: 840px;
        font-size: 18px;
    }

    #grammidin-new .section-title-yellow h2 {
        font-style: normal;
        font-weight: 500;
        font-size: 30px;
        line-height: 90%;
        color: #000000;
        position: relative;
        margin-top: 80px;
        margin-bottom: 10px;
        padding-bottom: 20px;
    }

    #recom_red {
        background: url(/images/drugs/grammidin/new/top-red.png) top right -40px no-repeat, 
                    url(/images/drugs/grammidin/new/ver1/red-pack-mob.jpg) bottom center #f2f0fb;
        background-size: 200%, cover;
        margin: -16px;
        min-height: 880px;
        font-size: 18px;
    }

    #grammidin-new .section-title-red h2 {
        font-style: normal;
        font-weight: 500;
        font-size: 30px;
        line-height: 90%;
        color: #000000;
        position: relative;
        margin-top: 80px;
        margin-bottom: 10px;
        padding-bottom: 20px;
    }

    #grammidin-new #recom_red .pack {
        height: 400px;
    }

    #grammidin-new #recom_yellow .pack {
        height: 400px;
    }

    #grammidin-new #recom_green .pack {
        height: 350px;
    }

    #grammidin-new .comment {
        font-size: 10px;
    }

    #instruction {
        padding: 0 10px 100px 10px;
        font-size: 12px;
        line-height: 110%;
    }

        #instruction h1 {
            margin: 0 auto;
            padding: 40px 0;
            font-size: 18px;
            line-height: 110%;
        }

        #instruction h2 {
            font-size: 16px;
            line-height: 110%;
            margin-bottom: 5px;
        }

        #instruction h3 {
            font-size: 14px;
            line-height: 110%;
        }

        #instruction div {
            margin-bottom: 10px;
        }

    body {
        margin-bottom: 670px;
    }

    .footer {
        height: 670px;
    }

        .footer .container {
            padding-bottom: 70px;
        }
}


