* {
    transition: 0.2s;
}

a, p{
    font-size: 18px;
}

header{
    margin-bottom: 10px;
}

.navbar-brand{
    display:flex;
    flex-direction: row;
    gap: 15px;
}

nav {
    height: 100px;
    background: rgba(255, 255, 255, 0);
}

/*nav .container{*/
/*    display: flex;*/
/*    flex-direction: row;*/
/*    justify-content: space-between;*/
/*}*/

#w0-collapse ul li, #w1-collapse ul li {
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: auto;
}

#w0-collapse ul, #w1-collapse ul {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

#w0 a, #w0 p, #w1 a, #w1 p {
    color: #322828;
    padding: 0;
}

#w0-collapse, #w1-collapse {
    display: flex;
    justify-content: end;
}

.li-gap{
    display: flex;
    flex-direction: row;
    gap: 10px;
}

/*main > .container {*/
/*    padding: 70px 15px 20px;*/
/*}*/

.footer {
    background-color: #E5E5E5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

/*Свой футер*/

.footer-text-information{
    margin: 15px 0px;
    display: grid;
    gap: 30px;
    justify-content: space-between;
    grid-template-columns: 280px 1px 280px 1px 280px 1px 280px;
}

.text-footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

footer p, footer .div a {
    color: #322828;
    font-size: 16px;
}

.footer-text-information .div{
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 767px) {
    .nav li > form > button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    font-size: 18px;
    margin-bottom: 1rem;
}

.form-group input, .form-group textarea{
    font-size: 18px;
}

/*ПОЛОСЫ-РАЗДЕЛИТЕЛИ*/

.separator-w {
    width: 100%;
    height: 1px;
    background: #CBC9C9;
    margin: 10px 0;
}

footer .separator-w {
     margin-bottom: 15px;
 }

.separator-h-nav {
    width: 1px;
    background: #CBC9C9;
}

.separator-h {
    height: 100%;
    width: 1px;
    background: #CBC9C9;
}

/*Баннер на главной странице*/

.home-banner{
    width: 100%;
    margin-top: 15px;
    margin-bottom: 25px;
    height: 320px;
    border-radius: 5px;
    background: url("../images/banner.webp");
    background-position: center;
    background-size: cover;
}

/*Продукция*/

.drinks {
    margin: 15px 0px;
    display: grid;
    gap: 30px;
    justify-content: space-between;
    grid-template-columns: repeat(4, 300px);
}

.active-drink {
    color: #322828;
}

button:hover, a:hover {
    color: #100e0e;
}

button.active-drink, a.card-button {
    background: #EAEAEA;
    border: none;
    border-radius: 5px;
    width: 100%;
    height: 50px;
    color: #322828;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.div-home-button{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.home-button{
    background: #EAEAEA;
    border: none;
    border-radius: 5px;
    width: 632px;
    height: 50px;
    color: #322828;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

button.active-drink:hover, a.card-button:hover, .home-button:hover {
    background: #E0E0E0;
}

.unactive-drink {
    color: #847E7E;
}

/*Каталоги продукции*/

.drinks-types {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 15px;
}

.drinks-left {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

/*Карточка продукции*/

.drink-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
    border-radius: 10px;
}

/*.drink-card:hover{*/
/*    box-shadow: grey 0px 0px 10px;*/
/*}*/

.drink-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    height: 30px;
}

/*Звёзды*/

.star {
    padding: 0;
    margin: 0;
    font-size: 30px;
    position: relative;
    top: -3px;
}

.gray {
    color: gray;
}

.yellow {
    color: #FFB30F;
}

.drink-price-liter {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.drink-price-liter p {
    margin: 0;
}

.drink-image {
    height: 200px;
    width: 100%;
    margin: 5px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drink-image img{
    width: 60px;
    transform: translateY(-10px);
}

.drink-image p {
    margin: 0;
}

.drink-name {
    margin: 0;
}

.drink-name-button{
    height: 85px ;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.drink-name a {
    color: #322828;
}

a:hover {
    color: #322828;
}

a.un-red:hover {
    color: #F54D4D;
}

.drink-add-green:hover {
    color: #5AB464;
}

.drink-profile {
    display: grid;
    gap: 20px;
    justify-content: space-between;
    grid-template-columns: 630px 1px 630px;
    margin: 15px 0;
}

.drink-profile-similar-drinks {
    margin: 15px 0px;
    display: grid;
    justify-content: space-between;
    grid-template-columns: repeat(2, 300px);
}

.drink-profile-information {
    width: 100%;
}

.drink-profile-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

table{
    border-collapse: separate;
    border-spacing: 0 5px;
}

table td:first-child + td {
    text-align: right;
}

table td{
    width: 50%;
}

.drink-profile-image {
    height: 600px;
    margin: 5px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.drink-profile-image img{
    width: 150px;
}

p {
    margin: 0;
}

.drink-profile-name-price {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.drink-profile-name-price-left, .drink-profile-name-price-right {
    width: 266px;
    display: flex;
    flex-direction: column;
}

.drink-profile-name-price-right {
    gap: 10px;
}

.price-text {
    display: flex;
    flex-direction: row;
    align-items: end;
    gap: 10px;
}

.price-text h2 {
    margin: 0;
}