* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    color: #5a5a5a;
}

h1 {
    color: #fff;
    font-size: 2rem;
    background: #fb4701;
    border-bottom: 3px solid #ffb011;
    width: 100%;
    text-align: center;
    padding: 15px;
    margin-top: 10px;
}

.body_scroll_off {
    overflow: hidden;
}

h2,
h3,
h5 {
    text-align: center;
    color: #fb4701;
}

.calc_header {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.column {
    max-width: 30%;
    width: 30%;
    background-color: #fff;
    padding: 15px;
    min-width: 330px;
}

.app {
    max-width: 1240px;
    margin: 20px auto;
    /* background-color: aqua; */
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.input_group {
    margin: 15px 0;
    display: flex;
    justify-content: space-around;
}

.input_group_with_number {
    margin: 15px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.input_group_with_number input {
    width: 50px;
    height: 30px;
}

.custom_input {
    display: flex;
    font-size: .7rem;
    align-items: center;
    justify-content: center;
}

.custom_input_first {
    margin-right: 34px;
}

.input_soap {
    margin: 15px 0;
}

.input_soap input {
    width: 100%;
    height: 30px;
    margin-top: 5px;
}

.button_add,
.calc_button button,
.button {
    height: 40px;
    width: 100%;
    color: white;
    background: #fb4701;
    border: none;
    box-shadow: none;
    font-size: 1rem;
    border-radius: .5rem;
    -webkit-border-radius: .5rem;
    -moz-border-radius: .5rem;
    -ms-border-radius: .5rem;
    -o-border-radius: .5rem;
    cursor: pointer;
    outline: none;
}

.mt10 {
    margin-top: 10px;
}

button:hover {
    box-shadow: 0px 0px 10px #fb4701;
    transition: all .5s ease-in .5s ease-out;
}

.calc_button {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
}

.calc_button button {
    width: 48%;
}

.component_select_list {
    margin-top: 20px;
}

.component_card {
    border: 1px #fb4701 solid;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
}

.delete_component {
    margin-left: auto;
    height: 20px;
    width: auto;
    margin-left: 10px;
    cursor: pointer;
}

.component_title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.7rem;
    margin-bottom: 10px;
}

.component_count {
    display: flex;
    justify-content: space-between;
}

.component_count_item {
    margin-top: 10px;
}

.component_count_item input {
    height: 30px;
    width: 100px;
}

.range {
    margin: 15px 0;
    width: 100%;
}

.component_properties {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 10px;
}

.properties {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    margin-right: 7px;
}

.properties_name {
    height: 30px;
    width: 30px;
    background-color: rgba(236, 151, 72, 0.25);
    border: 1px #fb4701 solid;
    margin-right: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input_soap_name {
    display: flex;
    flex-direction: column;
    font-size: 1.17rem;
    margin: 10px 0;
}

.input_soap_name input {
    height: 30px;
    margin-top: 5px;
}

@media screen and (max-width: 985px) {
    .app {
        justify-content: space-around;
    }
}

@media screen and (max-width: 400px) {
    .column {
        max-width: 100%;
        width: 100%;
    }
}

.soap_recipe {
    width: 100%;
    border-collapse: collapse;
}

.soap_recipe tr td {
    vertical-align: middle;
    padding-bottom: 5px;
}

.border_bottom td {
    border-bottom: 1px #fb4701 solid !important;
}

.soap_recipe tr td:nth-child(1) {
    width: 40%
}

.soap_recipe tr td:nth-child(2),
.soap_recipe tr td:nth-child(3),
.soap_recipe tr td:nth-child(4) {
    width: 20%;
    text-align: center;
}

.comment {
    margin-top: 15px;
}

.comment textarea {
    margin-top: 10px;
    width: 100%;
    border: 1px #fb4701 solid;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    resize: none;
    height: 120px;
    outline: none;
    padding: 7px;
}

.comment textarea::-webkit-scrollbar {
    width: 0;
}

.comment textarea {
    -ms-overflow-style: none;
}

.comment textarea {
    overflow: -moz-scrollbars-none;
}

input {
    border: 1px #fb4701 solid;
    outline: none;
    border-radius: 3px;
    padding-left: 5px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
}

.option_recipe {
    width: 100%;
    border-spacing: 0;
}

.option_recipe td {
    width: 50%;
}

.align_right {
    text-align: right;
}

.error p {
    color: red;
    font-weight: 600;
    text-align: center;
}

.error {
    margin-top: 15px;
}


/* Popup styles */

.b-popup {
    width: 100%;
    min-height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: fixed;
    top: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.b-popup .b-popup-content {
    width: 100%;
    max-width: 360px;
    height: auto;
    max-height: 90%;
    overflow-y: auto;
    padding: 10px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(236, 151, 72, 0.25);
}

.b-popup-content {
    position: relative;
}


/* End popup styles */


/* Accordion styles */

.accordion {
    margin-top: 15px;
}

.tab input,
.tab-content {
    display: none;
}

.tab {
    font: 0.8rem/1.2 Arial, sans-serif;
    /* Параметры шрифта */
    border: 1px solid #fb4701;
    /* Параметры рамки */
    border-radius: 3px;
    /* Скругляем уголки */
    color: #848994;
    /* Цвет текста */
    margin-bottom: 10px;
    /* Расстояние между пунктами */
}

.tab-title {
    padding: 10px;
    /* Поля вокруг текста */
    display: block;
    /* Блочный элемент */
    text-transform: uppercase;
    /* Все буквы заглавные */
    font-weight: bold;
    /* Жирное начертание */
    cursor: pointer;
    /* Вид курсора */
}

.tab-title::after {
    content: '+';
    /* Выводим плюс */
    float: right;
    /* Размещаем по правому краю */
}

.tab-content {
    padding: 10px 20px;
    max-height: 40vh;
    overflow: auto;
    /* Поля вокруг текста */
}

.tab-content input {
    display: inline-block;
}

.tab :checked+.tab-title {
    background-color: #fb4701;
    /* Цвет фона */
    border-radius: 3px 3px 0 0;
    /* Скругляем уголки */
    color: #fff;
    /* Цвет текста */
}

.tab :checked+.tab-title::after {
    content: '−';
    /* Выводим минус */
}

.tab :checked~.tab-content {
    display: block;
    /* Показываем содержимое */
}

.close_popup {
    position: absolute;
    right: 10px;
    top: 10px;
    height: 18px;
    width: 18px;
    cursor: pointer;
}

[v-cloak] {
    display: none;
}

.overfat_add {
    display: flex;
    align-items: center;
}

.overfat_add input:nth-child(1) {
    width: 70%;
}

.overfat_add input:nth-child(2) {
    width: calc(30% - 15px);
    margin: 5px 5px 0 10px;
}


/* End accordion styles */

@media print {
    .column:nth-child(1),
    .column:nth-child(2),
    .calc_button {
        display: none;
    }
    .column {
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
    }
    #recipe {
        display: flex;
        justify-content: space-between;
    }
}