body.recept .search-container input[type='checkbox']:before,
body.recept .search-dropdown-wrapper input[type='checkbox']:before {
    border: 2px solid var(--navy-blue);
}

body.recept .search-container input[type='checkbox']:checked:after,
body.recept .search-dropdown-wrapper input[type='checkbox']:checked:after {
    border: solid var(--navy-blue);
    border-width: 0 2px 2px 0;
    top: 50%;
    left: 50%;
    transform: translate(0, -60%) rotate(45deg);
}

body.video .search-container input[type='checkbox']:before,
body.video .search-dropdown-wrapper input[type='checkbox']:before {
    border: 2px solid var(--dark-green);
}

body.video .search-container input[type='checkbox']:checked:after,
body.video .search-dropdown-wrapper input[type='checkbox']:checked:after {
    border: solid var(--dark-green);
    border-width: 0 2px 2px 0;
    top: 50%;
    left: 50%;
    transform: translate(0, -60%) rotate(45deg);
}

body.popsiforma-folytatas .search-container input[type='checkbox']:before,
body.popsiforma-folytatas .search-dropdown-wrapper input[type='checkbox']:before {
    border: 2px solid var(--red);
}

body.popsiforma-folytatas .search-container input[type='checkbox']:checked:after,
body.popsiforma-folytatas .search-dropdown-wrapper input[type='checkbox']:checked:after {
    border: solid var(--red);
    border-width: 0 2px 2px 0;
    top: 50%;
    left: 50%;
    transform: translate(0, -60%) rotate(45deg);
}

#user-body .subcription-card {
    min-height: auto;
}

#user-body .subcription-card .card-header .table-price {
    height: 25vh;
}

#user-body .subcription-card .card-header {
    flex: 0;
}

#user-body .subcription-description ul li {
    font-size: 18px;
    line-height: 1.5;
}

.subcription-card-active {
    background-color: var(--active-sub-green);
}

.complex-negyedeves::after {
    content: 'LEGKEDVEZŐBB AJÁNLAT!';
    display: block;
    position: absolute;
    top: -10%;
    right: -10%;
    background-color: var(--mustard-yellow);
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
    padding: 50px 12px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    transform: rotate(25deg);
}

/*********************************  RECIPE STORE *************************************/

body.recept .bounce-one,
body.recept .bounce-two {
    background-color: var(--navy-blue);
}

body.video .bounce-one,
body.video .bounce-two {
    background-color: var(--dark-green);
}

body.popsiforma-folytatas .bounce-one,
body.popsiforma-folytatas .bounce-two {
    background-color: var(--red);
}

body.esemenyek .bounce-one,
body.esemenyek .bounce-two {
    background-color: var(--mustard-yellow);
}

body.kihivasok .bounce-one,
body.kihivasok .bounce-two {
    background-color: var(--red);
}

/* Style the search field */

.search-container {
    margin: 0 auto;
    margin-top: 3.5rem;
}

.search-wrapper {
    /* width: 100%;
    margin: 0 auto; */
}

.search-form-input,
.multiselect.dropdown-toggle.btn {
    height: 50px;
    border: 1px solid var(--navy-blue);
    background-color: var(--white);
}

.multiselect.dropdown-toggle.btn {
    background-color: var(--navy-blue);
}

.multiselect.dropdown-toggle.btn:focus,
.multiselect.dropdown-toggle.btn:hover {
    background-color: var(--navy-blue-light);
}

.multiselect.dropdown-toggle.btn .multiselect-selected-text,
.multiselect.dropdown-toggle.btn::after,
.multiselect.dropdown-toggle.btn::after {
    color: var(--white);
}

.search-dropdown-wrapper .multiselect-container {
    padding: 15px;
}

.search-dropdown-wrapper
    .multiselect-container
    > li
    > a
    > label
    > input[type='checkbox']::before {
    border: 2px solid var(--navy-blue);
}

.search-dropdown-wrapper .multiselect-container > li > a > label {
    padding: 5px 0;
    color: var(--navy-blue);
}

.search-form-input::-webkit-input-placeholder {
    color: var(--medium-gray-2);
}

.search-form-input:focus::-webkit-input-placeholder {
    color: transparent;
}

.search-ingredient .search-form-input {
    border-radius: var(--border-radius-10);
}

.list-input {
    width: 30vw;
}

.list-input .addtag {
    width: 100%;
}

.list-input .tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    padding-left: 10px;
    margin-top: 20px;
}

.list-input .tag {
    background-color: var(--navy-blue-light);
    padding: 5px 10px;
    color: var(--white);
    border-radius: 8px;
    margin-top: 2px;
    margin-bottom: 8px;
    margin-right: 8px;
}

.list-input .tag a {
    color: var(--white);
    margin-left: 10px;
}

.search-wrapper .list-input input:focus {
    outline: none;
}

.search-icon {
    background-color: white;
    border: 1px solid var(--navy-blue);
    height: 50px;
    width: 50px;
    border-right: none;
    margin-right: -0.3rem;
    padding-top: 2px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    z-index: 1;
    position: absolute;
    left: 0;
    pointer-events: none;
}

.search-detailed-view {
    background: none;
    border: 0;
    cursor: pointer;
    margin: 0;
    outline: 0;
    padding: 0 8px;
}

.search-detailed-view:focus {
    outline: none;
}

.search-detailed-view .fa-angle-down {
    transition: 0.5s;
}

.angle-rotate {
    transform: rotate(180deg);
}

.search-dropdown-wrapper {
    border-bottom: 2px solid var(--light-gray);
    border-left: 2px solid var(--light-gray);
    border-right: 2px solid var(--light-gray);
    border-radius: var(--border-radius-10);
    padding: 0.5rem 2rem 2rem 2rem;
    transition: 0.5s;
}

.search-dropdown-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.search-dropdown-row label {
    text-align: left;
}

.slider-handle {
    background: var(--navy-blue);
}

.preview-button {
    position: absolute;
    left: 47%;
    bottom: 60px;
    background: #f5f4f4;
    padding: 10px 14px 10px 14px;
    float: left;
}

.preview-layer {
    width: 55%;
    height: 60%;
    position: fixed;
    top: 25%;
    left: 22%;
    background: #fff;
    z-index: 100;
    opacity: 1 !important;
    border-radius: var(--border-radius-10);
}

.preview-layer img {
    height: 100%;
}

.to-menu-plan-btn {
    position: fixed;
    bottom: 10%;
    right: 5%;
    z-index: 10;
}

.user-article-preview-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.user-article-preview {
    position: relative;
}

.user-article-preview .img-fluid {
    width: 100%;
    height: 55vh;
}

.fa-star.checked {
    color: var(--mustard-yellow);
}

/************  vélemények **************/

body.recept .evaluation-form input,
body.recept .evaluation-form textarea {
    border: 1px solid var(--navy-blue);
}

body.recept .evaluation-form input[type='submit'] {
    background-color: var(--navy-blue);
    color: var(--white);
}

body.video .evaluation-form input,
body.video .evaluation-form textarea {
    border: 1px solid var(--dark-green);
}

body.video .evaluation-form input[type='submit'] {
    background-color: var(--dark-green);
    color: var(--white);
}

body.popsiforma-folytatas .evaluation-form input,
body.popsiforma-folytatas .evaluation-form textarea {
    border: 1px solid var(--red);
}

body.popsiforma-folytatas .evaluation-form input[type='submit'] {
    background-color: var(--red);
    color: var(--white);
}

.recipe-rating-span {
    color: var(--black);
    margin-right: 15px;
}

.recipe-rating {
    display: inline-block;
    position: relative;
}

.recipe-rating label {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    cursor: pointer;
}

.recipe-rating label:last-child {
    position: static;
}

.recipe-rating label:nth-child(1) {
    z-index: 5;
}

.recipe-rating label:nth-child(2) {
    z-index: 4;
}

.recipe-rating label:nth-child(3) {
    z-index: 3;
}

.recipe-rating label:nth-child(4) {
    z-index: 2;
}

.recipe-rating label:nth-child(5) {
    z-index: 1;
}

.recipe-rating label input {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.recipe-rating label .fa-star {
    /* float: left; */
    color: transparent;
    font-size: 20px;
}

.recipe-rating label:last-child .fa-star {
    color: #6c757d;
}

.recipe-rating:not(:hover) label input:checked ~ .fa-star,
.recipe-rating:hover label:hover input ~ .fa-star {
    color: var(--mustard-yellow);
}

.recipe-rating label input:focus:not(:checked) ~ .fa-star:last-child {
    color: #6c757d;
    text-shadow: 0 0 5px var(--mustard-yellow);
}

.user-rating {
    margin-bottom: 5rem;
}

.user-rating .heading {
    font-size: 25px;
    margin-right: 25px;
}

.user-rating .fa {
    font-size: 20px;
}

/* Three column layout */
.user-rating .row .side {
    float: left;
    width: 15%;
    margin-top: 10px;
}

.user-rating .row .middle {
    float: left;
    width: 70%;
    margin-top: 10px;
}

/* Place text to the right */
.user-rating .row .right {
    text-align: right;
}

/* Clear floats after the columns */
.user-rating .row:after {
    content: '';
    display: table;
    clear: both;
}

/* The bar container */
.user-rating .bar-container {
    width: 100%;
    background-color: var(--light-gray);
    text-align: center;
    color: white;
}

/* Individual bars */

.user-rating .bar {
    background-color: var(--mustard-yellow);
}

.user-rating .bar-5 {
    width: 60%;
    height: 18px;
}
.user-rating .bar-4 {
    width: 30%;
    height: 18px;
}
.user-rating .bar-3 {
    width: 10%;
    height: 18px;
}
.user-rating .bar-2 {
    width: 4%;
    height: 18px;
}
.user-rating .bar-1 {
    width: 15%;
    height: 18px;
}

@media only screen and (min-width: 1400px) {
    .user-main-blog-review-section {
        width: 75%;
        margin: 0 auto;
    }
}

@media only screen and (max-width: 1400px) {
    .user-article-preview-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media only screen and (max-width: 1200px) {
    .list-input {
        width: 50vw;
    }

    .user-rating .row .side:not(.right) {
        width: 100%;
    }
}

@media only screen and (max-width: 800px) {
    .user-article-preview-row {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 600px) {
    #recipe-search-form .addtag input {
        width: 90% !important;
    }

    .user-article-preview .img-fluid {
        height: 50vh;
    }
    /* 
    .complex-negyedeves::after {
        top: -16%;
        right: -12%;
    } */
}

body.recept .slider-handle {
    background: var(--navy-blue) !important;
}

body.video .slider-handle {
    background: var(--dark-green) !important;
}

body.popsiforma-folytatas .slider-handle {
    background: var(--red) !important;
}

body.recept .slider-selection {
    background: var(--navy-blue) !important;
}

body.video .slider-selection {
    background: var(--dark-green) !important;
}

body.popsiforma-folytatas .slider-selection {
    background: var(--red) !important;
}

.ui-autocomplete-input {
    background: #fff;
}
