.tab-pane.active {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
}
form#termekletrehoz-form {
    flex: 1 0 300px;
    max-width: 300px;
    padding: 0 40px 0 0;
}
div#alapanyagok-listaja {
    flex: 1 0 300px;
    max-width: 300px;
    margin-bottom: 10px;
}
div#alapanyagok-listaja-alapanyagok {
    max-width: 300px;
    overflow-y: scroll;
    max-height: 230px;
    padding: 0 2px;
}
div.alapanyag, .termeklista-termek {
    cursor: pointer;
    padding: 0 5px;
    width: 100%;
    align-self: center;
}
.alapanyag-item {
    display: flex;
    height: 25px;
    box-shadow: 0 0 2px lightgrey;
    margin-bottom: 5px;
}
form#receptalapanyag-form {
    flex-basis: 100%;
}
.alapanyag-item:hover, .termeklista-termek:hover {
    background-color: #d4d4d8;
    box-shadow: 0 0 3px grey;
}
.alapanyag-item:hover .alapanyag-plus, .termeklista-termek:hover .termek-ikon {    
    color: white;
}
.alapanyag.alapanyag-item-aktiv, .termek-item-aktiv { 
    color: #337ab7;
    font-weight: 700;
}
.alapanyag-plus, .termek-ikon {
    padding: 0 5px;
    color: #d2d6de;
    align-self: center;
}
form#termekletrehoz-form fieldset#edit-uj {
    margin-top: 0;
    display: none;
}
form#termekletrehoz-form legend {
    display: none;
}
input#edit-mennyiseg, input#edit-ar, input#edit-kg {
    width: 110px;
}
.js-form-item.form-item.js-form-type-number.form-type-number.js-form-item-mennyiseg.form-item-mennyiseg.form-no-label.form-group, .js-form-item.form-item.js-form-type-number.form-type-number.js-form-item-ar.form-item-ar.form-no-label.form-group, .js-form-item.form-item.js-form-type-number.form-type-number.js-form-item-kg.form-item-kg.form-no-label.form-group {
    display: flex;
    align-items: center;
}
span.field-suffix, div#edit-ar--description, div#edit-kg--description {
    padding-left: 5px;
    align-self: center;
}
input#edit-actions {
    width: 100%;
    margin: 0;
}

div#edit-termeknev--description {
    margin-left: 5px;
    color: gray;
}
div#termek-letrehoz-form-nyil-le, div#termek-letrehoz-form-nyil-fel {
    font-size: 18px;
    text-align: center;
    cursor: pointer;
    border-top: solid 1px lightgray;
}
div#termekek-hozzaadasa-cim, div#keszlet {
    text-align: center;
    margin-bottom: 10px;
    margin-top: 10px;
    font-size: 18px;
    color: #337ab7;
}
.termeklista-termek {
    display: flex;
    height: 25px;
    box-shadow: 0 0 2px lightgrey;
    margin-bottom: 5px;
}
.termek-nev {
    padding-left: 5px;
}
.termeklista-termek {
    display: flex;
    align-items: center;
    height: 25px;
}
span#termek-edit {
    color: orange;
}
.modosit {
    background-color: #f39c12 !important;
    border: solid 1px #b0894a !important;
}
.error-message-text {    
    color: #d72222;
    font-size: 18px;
}
.message-ok {    
    color: #00a65a;
    font-size: 18px;
}
.message-ok-edit {    
    color: orange;
    font-size: 18px;
}
fieldset#edit-uj--2 .fieldset-wrapper {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    align-items: center;
    flex-wrap: wrap;
}
div#recept-termek-marker {
    display: flex;
}
div#recept-termek-nev, div#recept-termek-mennyiseg {
    padding: 5px;
    width: 100%;
    align-self: center;    
}
div#recept-termek-ar {
    text-align: right;
    width: 500px;
    padding: 5px;
    align-self: center;
}
div#recept-termek-marker {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background-color: #eee;
    padding: 0 5px;
    height: 45px;
}
.js-form-item.form-item.js-form-type-number.form-type-number.js-form-item-recept-mennyiseg.form-item-recept-mennyiseg.form-no-label.form-group {
    display: flex;
}
fieldset#edit-uj--2, fieldset#edit-uj--2 legend {
    margin: 0;
    border-bottom: none;
}
input#edit-recept-mennyiseg {
    max-width: 120px;
}
div#recept-termek-alapanyag {
    flex: 3 0 auto;
}
input#edit-actions--2, input#edit-recept-frissit {
    margin-right: 0;
}
div#recept-termek-alapanyag {
    background-color: #f6f6f6;
    height: 32px;
    align-items: center;
    display: flex;
    padding: 0 10px;
    margin-right: 10px;
}
div#recept-termek-mennyiseg {
    width: auto;
    padding: 5px;
    white-space: nowrap;
    align-self: center;
}
div#uzenet-recept {
    flex-basis: 100%;
    text-align: right;
}
table.table.table-hover.table-sm.recept-alapanyagok {
    max-width: 600px;
    margin: 0 auto;
}
td.elem-torol, td.r-mennyiseg{
    text-align: right;
}
input#edit-recept-frissit {
    background-color: #00a65a;
    border-color: green;
}
td.r-termek, td.r-mennyiseg, td.elem-torol {
    vertical-align: middle !important;
    padding: 4px 8px !important;
}
.btn-sm {
    padding: 3px 5px !important;
}
.js-form-item.form-item.js-form-type-checkbox.form-type-checkbox.js-form-item-kesz.form-item-kesz.form-no-label.form-group {
    display: flex;
}
div#edit-kesz--description {
    margin-left: 5px;
    color:orangered;
}