body {
        background-image: url("/img/beer_top.png");
        background-repeat: repeat-x;
        background-color: #E48801;

        font: 12pt sans-serif;
        color: maroon;
}

table {
    font-family:inherit;
    font-size:inherit;
    font-style:inherit;
}

/*Шрифты*/

/*@font-face {
    font-family: Calligraph;
    src: url(/fonts/calligraph.ttf);
}*/

@font-face {
    font-family: Pushkin;
    src: url(/fonts/newPushkin.ttf);
}

a {
    text-decoration: none;
    color: inherit;
}

a.beer-ancor {
    text-decoration: none;
    color: inherit;
    /*border-bottom: 1px dotted brown;*/
    background-image: url("/img/ancor-back-slow.png");
}

a.beer-ancor:hover {
    /*border-bottom: 1px dotted brown;*/
    /*box-shadow: 0 0 10px rgba(0,0,0,0.5);*/
    background-image: url("/img/ancor-back-fast.png");
}


/* Главное меню страниц */

.menu-bar {
    display: flex;
    padding-left: 50px;
    padding-right: 50px;
    margin-bottom: 30px;
}

.menu-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid brown;
    border-radius: 10px;
    width: 150px;
    height: 30px;
    background: burlywood;
    margin-right: 15px;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.menu-bar a {
    text-decoration: none;
    color: inherit;
}

.menu-btn:hover {
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.signin-btn {
    position: absolute;
    right: 30px;
    top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid brown;
    border-radius: 10px;
    width: 100px;
    height: 30px;
    margin-left: 15px;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    color: inherit;
    text-decoration: none;
}

.signin-btn:hover {
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.signout-btn {
    border: 2px solid brown;
    border-radius: 10px;
    margin-left: 10px;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    color: inherit;
    text-decoration: none;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 3px;
    padding-top: 3px;
}

.signout-btn:hover {
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.copy-btn {
    border: 2px maroon solid;
    background-image: url("/img/copy.png");
    background-repeat: no-repeat;
    height: 26px;
    width: 26px;
    cursor: pointer;
}


.user-bar {
    /* Информация о пользователе на всех страницах */
    position: absolute;
    right: 30px;
    top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.user-bar-2-line {
    position: absolute;
    right: 30px;
    top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.backdrop {
    background: #e48801;
    opacity: 0.9;
    border-radius: 10px;
    padding: 5px;
    margin-bottom: 3px;
    border: 1px solid bisque;
}

div.separator {
    height: 50px;
}

h3.specifically {
    margin-left: 100px;
}

h4.specifically {
    margin-top: 10px;
    margin-bottom: 5px;
}

table.ingredients {
    border: 1px solid brown;
    padding-top: 10px;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    width: 95%;
    background-image: url("/img/beer_top_table.png");
    background-repeat: repeat-x;
    /*background-position: left;*/
    color: #0f0f00;
}

table.stock {
    border: 1px solid brown;
    padding-top: 10px;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    color: #0f0f00;
}

table.stock th {
    border: 1px solid brown;
    font-size: 0.8em;
    color: #0f0f00;
    margin-top: -5px;
    background: #FFF5C5;
    font-weight: normal;
}

table.stock th:nth-child(1) {
    border-top-left-radius: 25px;
}

table.stock th:nth-last-child(1) {
    border-top-right-radius: 25px;
}

table.recipe {
    width: auto;
}

tr.ingredients {
    background: darkred;
    color: aliceblue;
}

td.ingredients {
    padding-left: 10px;
    padding-right: 10px;
}

span.comment {
    margin-left: 30px;
    font-style: italic;
    font-size: 0.8em;
}

div.photo-board {
    display: flex;
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: space-around;
}

div.photo-board img {
    max-width: 300px;
    max-height: 200px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

div.photo-board span {
    font-style: italic;
    font-size: 0.8em;
}

div.photo-board div {
    margin: 5px;
    border: 1px dotted lightblue;
    padding: 10px;
    border-radius: 20px;
}

div.pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3px;
}

div.pager div {
    border: 3px solid brown;
    margin-left: 5px;
    margin-right: 5px;
    padding-right: 3px;
    padding-left: 3px;
    border-radius: 5px;
    padding-left: 10px;
    padding-right: 10px;
    background: #e48801;
}

div.pager div.selected {
    background: burlywood;
}

div.rating {
    display: flex;
    align-items: center;
    margin-left: 100px;
}

div.rating img {
    margin-right: 5px;
    height: 24px;
}

form {
    width: 90%;
}

fieldset {
    border: 2px solid #8B6914;
    border-radius: 20px;
}

/* * * * * * * * * * * *
 *                     *
 *  Чекбоксы           *
 *                     *
 * * * * * * * * * * * */

input[type='checkbox'].slider {
  display: none;
}

input[type='checkbox'].slider + label {
  position: relative;
  display: block;
  padding-left: 5.2rem;
  font-size: 1.5em;
  height: 2em;
  line-height: 1.75em;
}

input[type='checkbox'].slider + label:after {
  content: "";
  position: absolute;
  font-size: 1rem;
  top: 0;
  left: 0;
  width: 4em;
  height: 2em;
  background: #FF6666;
  border-radius: 2em;
  border: 0.35em solid #A14533;
  -webkit-box-shadow: inset 0 0 7px #666;
  -moz-box-shadow: inset 0 0 7px #666;
  -o-box-shadow: inset 0 0 7px #666;
  box-shadow: inset 0 0 7px #666;
  -webkit-transition-delay: 100ms;
  -moz-transition-delay: 100ms;
  -o-transition-delay: 100ms;
  transition-delay: 100ms;
  -webkit-transition: background 100ms linear;
  -moz-transition: background 100ms linear;
  -o-transition: background 100ms linear;
  transition: background 100ms linear;
}

input[type='checkbox'].slider:checked + label:after {
  background: #66FF66;
}

input[type='checkbox'].slider + label:before {
  content: "";
  position: absolute;
  font-size: 1rem;
  left: 0.2633em;
  top: 0.3em;
  width: 2em;
  height: 2em;
  border-radius: 3em;
  background: #DDD;
  z-index:1;
  -webkit-transition: left 100ms ease-in-out;
  -moz-transition: left 100ms ease-in-out;
  -o-transition: left 100ms ease-in-out;
  transition: left 100ms ease-in-out;
}

input[type='checkbox'].slider:checked + label:before {
  left: 2.35em;
}

.galery-image {
    border: 1px solid #AC1611;
    width: auto;
    height: auto;
    max-width: 80%;
    max-height: 800px;
}

span.error {
    color: red;
    font-size: 0.8em;
    font-weight: lighter;
    border: red 1px solid;
}

span.error::before {
    content: "ERROR: ⚠";
}

span.error::after {
    content: "🤔⚠";
}

span.warning {
    color: navy;
    background: yellow;
    font-size: 0.8em;
    font-weight: lighter;
    border: brown 1px solid;
}

span.warning::before {
    content: "WARNING: ⚠";
}

span.warning::after {
    content: "🤔⚠";
}

div.recipe2party {
    display: flex;
}

div.recipe2party-content {
    border: 1px brown solid;
    border-radius: 5px;
    margin-right: 15px;
    padding: 5px;
}

.app-btn {
    border: 3px solid brown;
    margin-left: 5px;
    margin-right: 5px;
    padding-right: 3px;
    padding-left: 3px;
    border-radius: 5px;
    padding-left: 10px;
    padding-right: 10px;
    background: #e48801;
    cursor: pointer;
    display: inline-block;
}

.app-btn:hover {
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.app-btn:active {
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
}

.btn-push {
    background: burlywood;
}

/* Цитатник */
.quote {
    position: fixed;
    right: 1px;
    bottom: 1px;
    padding-right: 5px;
    padding-bottom: 5px;
    padding-top: 15px;
    padding-left: 15px;
    font-size: 0.8em;
    background: bisque;
    border-top-left-radius: 25px;
    max-width: 75%;
    opacity: 0.7;
}

.quote:hover {
    opacity: 0.1;
}

.forismatic:hover {
    opacity: 1;
}

.author {
    display: flex;
    flex-direction: row-reverse;
    font-weight: bold;
}

/* Поля ввода */

.beer-input {
    border: 2px solid brown;
    border-radius: 10px;
    background: maroon;
    font-size: 1.25em;
    margin-bottom: 10px;
    color: cornsilk;
    font-weight: bold;
    padding-left: 10px;
    padding-bottom: 2px;
    padding-top: 2px;
}

::-webkit-input-placeholder {color:#FFF051; font-size: 0.5em; font-style: italic;}
::-moz-placeholder          {color:#FFF051; font-size: 0.5em; font-style: italic;} /* Firefox 19+ */
:-moz-placeholder           {color:#FFF051; font-size: 0.5em; font-style: italic;} /* Firefox 18- */
:-ms-input-placeholder      {color:#FFF051; font-size: 0.5em; font-style: italic;}


.beer-input:focus {
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    border: 4px solid brown;
    outline: none;
}

div.info {
    padding-top: 15px;
    padding-left: 20px;
    text-indent: 25px;
    font-style: italic;
    font-size: 0.8em;
}

div.conteiner {
    padding: 2px;
}

div.ing-panel {
    border-bottom: 1px dotted #8B6914;
}

table.ing-table {
    border: 1px solid brown;
    font: 12pt sans-serif;
    border-collapse: collapse;
}

table.ing-table th {
    border: 1px solid brown;
    font-size: 0.8em;
}

table.ing-table td {
    border: 1px solid brown;
    padding: 0px 5px;
}

img.button {
    cursor: pointer;
    margin-left: 5px;
}

img.button:hover {
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

img.button:active {
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
}
