:root {
    --cal-primary: rgba(175, 11, 43, 1);
    --cal-secondary: #f4dee2;
    --cal-third: #cd667a;
}

body .btn.cooking-school {
    text-transform: none;
    font-weight: 600;
    font-size: 18px;
    background-color: #e6e6e6 !important;
    color: #888888 !important;
}

body .btn.cooking-school .wd-icon:before {
    content: "\f133" !important;
}

body .btn.cooking-school.cooking-active .wd-icon:before {
    content: "\f00c" !important;
}

body .btn.cooking-school.cooking-active {
    background-color: #9c2229 !important;
    color: #fff !important;
}

.cooking-active {}



.cooking-wrapper {
    border-top: 1px solid #dadada;
    margin-top: 50px;
}

.cooking-wrapper .cooking-week {
    border-bottom: 1px solid #dadada;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: space-between;
    align-items: stretch;
    margin: 30px auto 30px auto;
    padding-bottom: 30px;
}


.cooking-wrapper .cooking-week .cooking-date b {
    font-size: 34px;
    color: #dadada;
    display: block;
    font-weight: 900;
}

.cooking-wrapper .cooking-week .cooking-date span {
    font-size: 16px;
    color: #888888;
    display: block;
    font-weight: 900;
}

.cooking-wrapper .cooking-week .cooking-date {
    width: 200px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: space-between;
    justify-content: flex-start;
}

.cooking-wrapper .cooking-week .cooking-grid {
    width: calc(100% - 200px);
    display: grid;
    grid-auto-rows: 1fr;
    /* grid-template-columns: repeat(3,1fr); */
    grid-template-columns: repeat(auto-fit, minmax(310px, 310px));
    grid-column-gap: 30px;
    grid-row-gap: 30px;

}

body .button.cooking_add_to_cart_button {
    border-radius: var(--btn-shop-brd-radius);
    color: var(--btn-shop-color);
    box-shadow: var(--btn-shop-box-shadow);
    background-color: var(--btn-shop-bgcolor);
    cursor: pointer !important;
    margin-left: 14px;
}

body .cooking-full .button.cooking_add_to_cart_button {
    margin-left: 0;
    width: 100% !important;
}

body .button.cooking_add_to_cart_button:hover {
    background-color: #000;
}


/*** cooking course ***/


.cooking-wrapper .cooking-week .cooking-grid .cooking-grid-course {
    flex: 1;
    display: flex;
    aspect-ratio: 1/1;
    border-radius: 15px;
    border-radius: 15px;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: space-between;
    padding: 15px;
}

.cooking-wrapper .cooking-week .cooking-grid .cooking-grid-course:after {
    content: "";
    background: rgb(234, 234, 234);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(255, 255, 255, 0) 60%);
    /* width: calc(33.333% - 200px/3 - 30px); */
    width: 310px;
    height: auto;
    position: absolute;
    aspect-ratio: 1/1;
    margin-top: -15px;
    margin-left: -15px;
    border-radius: 15px;
}

.cooking-wrapper .cooking-week .cooking-grid .cooking-grid-course.cooking-full:after {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(155, 155, 155, 0.8) 40%, rgba(255, 255, 255, 0.7) 60%);
}


.cooking-wrapper .cooking-grid-date,
.cooking-wrapper .cooking-grid-seats {
    display: block;
    width: calc(60% - 10px);
    background: #fff;
    color: #888;
    padding: 10px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    box-sizing: border-box
}

.cooking-wrapper .cooking-grid-seats {
    margin-left: 10px;
    width: 40%;
    background: #000;
    color: #fff;
}

.cooking-wrapper .cooking-grid-title {
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    z-index: 10;
    line-height: 22px;
    width: 100%;
}


.cooking-wrapper .single_variation_wrap {
    width: 100%;
}

.cooking-wrapper .single_variation_wrap .quantity {
    display: inline-block
}

.cooking-wrapper .single_variation_wrap input[type='number'] {
    width: 40px;
    color: #000;
    background: #fff;
    border: 0;
    border-radius: 0;
    padding: 0;
    margin-left: -4px;
    margin-right: -4px;
}

.cooking-wrapper .single_variation_wrap input[type="number" i] {
    padding: 0
}


.cooking-wrapper .single_variation_wrap [type="button"] {
    padding-left: 10px;
    padding-right: 10px;
    background: #fff;
}


.cooking-wrapper .single_variation_wrap [type="button"].minus {
    border-radius: 30px 0 0 30px;
}

.cooking-wrapper .single_variation_wrap [type="button"].plus {
    border-radius: 0 30px 30px 0;
}



/*** NEW COOKING CALENDAR VIEW ***/
.clearer {
    clear: both;
}

.cooking-cal {
    border-radius: 20px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
    padding: 25px;
    height: 100%;
    display: flex;
}

.cooking-cal #dayview {
    float: left;
    display: inline;
    position: relative;
    width: 40%;
    border-radius: 20px;
    padding: 25px;
    background: var(--cal-primary);
    color: #fff;
    margin-top: -50px;
    margin-bottom: -50px;
}

.cooking-cal #calview {
    float: left;
    display: inline;
    position: relative;
    width: 60%;
}


.cooking-cal #dayview h2 {
    color: #fff;
    font-size: 20px;
    text-align: center;
}

.cooking-cal #dayview p {
    color: #fff;
}


.cooking-cal #calview h2 {
    font-size: 28px;
    text-align: center;
}

.cooking-cal #calview p {
    display: block;
    text-align: center;
}

#calendar {
    max-width: 425px;
    margin: 0 auto;
    min-height: 450px;
    margin-bottom: 50px;
    margin-top: 30px;
}

.calendar-wrap {
    text-align: center
}

#navdrop {
    max-width: 415px;
    margin: 0 auto;
    display: none;
}

#navdropcourses {
    background-color: #fff;
    margin-bottom: 15px;
    color: #000;
    border: 0;
}


.fc-daygrid-body {
    overflow: clip;
}

@-moz-document url-prefix() {
    .fc .fc-daygrid-day-number {
        padding: 0;
        margin: -8px 0 0 -8px !important;
    }
}

#navloc {
    margin: 0;
    padding: 0;
}

#navloc li {
    list-style: none outside none;
    display: inline-block;
    border-radius: 25px;
    background: var(--cal-third);
    cursor: pointer;
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    padding: 5px 20px 5px 35px;
    margin-right: 20px;
    font-size: 14px;
    font-family: Poppins;
    pointer-events: auto;
}

#navloc li:last-child {
    margin-right: 0;
}

#navloc li:before {
    content: "";
    position: absolute;
    width: 15px;
    height: 15px;
    background: transparent url(../images/icons/close.svg) no-repeat center center / 15px;
    margin-left: -25px;
    margin-top: 4px;
}

#navloc li:hover,
#navloc li.ts-active {
    background: #fff;
    color: #000;
}

#navloc li:hover:before,
#navloc li.ts-active:before {
    background-image: url(../images/icons/check.svg)
}

#coursesdayview {
    margin: 0;
    padding: 0;
}

#coursesdayview li {
    list-style: none;
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    margin: 23px auto;
}

#coursesdayview li:first-child {
    margin-top: 10px;
}

#coursesdayview li:last-child-child {
    margin-bottom: 0
}

#coursesdayview li .cdv-img {
    float: left;
    position: relative;
    display: inline;
    width: 33.33%;
}

#coursesdayview li .cdv-img img {
    border-radius: 3px;
    max-width: 125px;
}

#coursesdayview li .cdv-txt {
    float: left;
    position: relative;
    display: inline;
    width: 66.67%;
    padding-left: 25px;
    color: #252525;
}

#coursesdayview li .cdv-txt h3 {
    font-size: 18px;
    font-weight: 900;
    font-family: Poppins;
    margin-bottom: 4px;
    color: #252525;

    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

}

#coursesdayview li .cdv-txt span {
    display: block;
    padding-left: 25px;
    line-height: 28px;
}

#coursesdayview li .cdv-txt span:before {
    content: "";
    position: absolute;
    width: 15px;
    height: 15px;
    background: transparent url(../images/icons/check.svg) no-repeat center center / 15px;
    margin-left: -25px;
    margin-top: 7px;
}

#coursesdayview li .cdv-txt .cdv-time:before {
    background-image: url(../images/icons/clock.svg)
}

#coursesdayview li .cdv-txt .cdv-seats:before {
    background-image: url(../images/icons/user.svg)
}

#coursesdayview li .cdv-txt .cdv-seats {
    margin-bottom: 8px;
}

.button.ts-button {
    background: #252525;
    font-size: 13px;
    font-weight: 900;
    font-family: Poppins;
    color: #fff;
    border-radius: 25px;
    text-transform: none;
    padding: 7px 25px;
}

.button.ts-button:hover {
    background: #000;
    color: #fff;
}

#coursesdayview #no-courses img {
    opacity: 0.3
}

#coursesdayview li#no-courses .cdv-txt span {
    padding-left: 0;
}

#coursesdayview li#no-courses .cdv-txt span:before {
    display: none;
}

#coursesdayview li#no-courses .cdv-txt span+span {
    margin-bottom: 5px;
}


#coursesdayview li.fully-booked .cdv-txt h3,
#coursesdayview li.fully-booked .cdv-txt {
    color: #777;
}

#coursesdayview li.fully-booked .button.ts-button {
    background: #777 !important;
}

#coursesdayview li.fully-booked .cdv-img img {
    opacity: 0.5;
}

/*** cal ***/

.cooking-cal #calview h2.fc-toolbar-title {
    font-size: 18px;
}

body .fc .fc-daygrid-day-top {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 100%;
    height: 100%;
}

body .fc .fc-day-other .fc-daygrid-day-top {
    opacity: 1;
}

body .fc .fc-day .fc-daygrid-day-top {
    font-size: 16px;
    font-weight: 900;
    font-family: Poppins;
}

body .fc .fc-day-past .fc-daygrid-day-top a,
body .fc .fc-day-other .fc-daygrid-day-top a {
    color: #dcdcdc
}

body .fc-theme-standard .fc-scrollgrid,
body .fc-theme-standard td,
body .fc-theme-standard th {
    border: 0;
}


.fc .fc-daygrid-day {
    border-radius: 100%;
}


.fc .fc-daygrid-day a.fc-event {
    color: transparent;
    width: 10px;
    height: 10px;
    border-radius: 100%;
    margin: calc(100% - 18px) calc(50% - 5px) 0 !important;
    position: absolute;
}


.fc .fc-daygrid-day.fc-day-other a.fc-event,
a.fc-event>div {
    display: none;
}

body .fc .fc-h-event {
    background: var(--cal-primary);
    border: 0;
}

body .fc .fc-daygrid-day-frame {
    border-radius: 100%;
    margin: 4px;
    min-height: 52px;
    height: calc(100% - 8px);
}

.fc .fc-daygrid-day.fc-day-today {
    background: transparent;
}

.fc .fc-daygrid-day.fc-day-today .fc-daygrid-day-frame {
    background: #f7f7f7
}

body .fc .fc-day.ts-active .fc-daygrid-day-frame {
    background: var(--cal-secondary) !important;
}

.fc .fc-daygrid-day {
    cursor: pointer;
}

.fc .fc-daygrid-day.fc-day-past,
.fc .fc-daygrid-day.fc-day-other {
    cursor: auto;
}

.fc-prev-button.fc-button,
.fc-next-button.fc-button {
    background: transparent !important;
    border: 0;
    box-shadow: none !important;
}

.fc-prev-button.fc-button:active,
.fc-next-button.fc-button:active {
    border: 0 !important;
}

.fc-icon-chevron-left::before {
    content: "";
    background: transparent url(../images/icons/left.svg) no-repeat center center / 20px;
    width: 20px;
    height: 20px;
    display: block;
}

.fc-icon-chevron-right::before {
    content: "";
    background: transparent url(../images/icons/right.svg) no-repeat center center / 20px;
    width: 20px;
    height: 20px;
    display: block;
}




/*** carousel last minute ***/
.lastminuteview {
    padding-left: 50px;
    padding-right: 25px;
}

.lastminuteview .item img {
    border-radius: 3px;
}

.lastminuteview .item h3 {
    font-size: 14px;
    font-weight: 900;
    font-family: Poppins;
    margin-bottom: 0px;
    color: #252525;
    text-align: center;
    margin-top: 10px;
}

.lastminuteview .item p {
    font-size: 13px;
    font-family: Poppins;
    color: #252525;
    text-align: center
}

.lastminuteview .owl-nav {
    position: static;
}

.lastminuteview .owl-prev,
.lastminuteview .owl-next {
    width: 15px;
    height: calc(100% - 50px);
    position: absolute;
    top: 0;
    transform: translateY(0);
    display: block !important;
    border: 0px solid black;
    background: transparent !important;
    box-shadow: none !important;
}

.cooking-cal .lastminuteview .owl-prev,
.cooking-cal .lastminuteview .owl-next {
    height: calc(100% - 75px);
}


.lastminuteview .owl-prev {
    left: -35px;
}

.lastminuteview .owl-next {
    right: -35px;
}

.lastminuteview .owl-prev i,
.lastminuteview .owl-next i {
    transform: none;
    color: #ccc;
}

.lastminuteview .owl-prev i.fa-angle-left::before {
    content: "";
    background: transparent url(../images/icons/left.svg) no-repeat center center / 20px;
    width: 20px;
    height: 20px;
    display: block;
}

.lastminuteview .owl-next i.fa-angle-right::before {
    content: "";
    background: transparent url(../images/icons/right.svg) no-repeat center center / 20px;
    width: 20px;
    height: 20px;
    display: block;
}

.lastminuteview .owl-dots {
    display: none !important;
}

@media screen and (max-width:1199px) {}

@media screen and (max-width:960px) {

    .cooking-cal #dayview,
    .cooking-cal #calview {
        float: none;
        display: block;
        width: 100%;
        margin: 0 auto;
    }

    .lastminute-wrap {
        margin-top: 50px;
        text-align: center
    }

    .cooking-cal {
        display: flex;
        flex-direction: column-reverse;
    }

    #navdrop {
        display: block;
    }

}


@media screen and (max-width:550px) {
    .cooking-wrapper .cooking-week {
        display: block
    }

    .fc .fc-daygrid-day a.fc-event {
        margin: calc(100% - 13px) calc(50% - 5px) 0 !important;
    }

    body .fc .fc-daygrid-day-frame {
        min-height: 44px;
        height: auto;
    }

    .cooking-cal {
        padding: 25px 0;
    }

    #calendar {
        margin-bottom: 30px;
    }

    #coursesdayview li .cdv-img,
    #coursesdayview li .cdv-txt {
        width: 100%;
        float: none;
    }

    #coursesdayview li .cdv-txt h3 {
        margin-top: 10px;
    }

    #navdrop {
        max-width: calc(100% - 15px);
    }

}

/* hide cooking calendar tags */
#navloc {
    display: none;
}

/* select black svg */
#navdropcourses {
    background-image: url("../images/icons/dropdown-black.svg");
}

/* price position fix */
body.product-template-default #testprodukt+div .wd-single-price {
    margin-top: 0px !important;
}

/* date select icon fix */
body.product-template-default #ts-product-date #product-dates-container {
    position: relative;
}

body.product-template-default #ts-product-date #product-dates {
    padding-right: 40px;
    text-overflow: ellipsis;
}

body.product-template-default #ts-product-date #product-dates-container::after {
    content: "";
    width: 25px;
    height: 25px;
    background-image: url("../images/icons/dropdown-black.svg");
    position: absolute;
    top: calc(50% - 8px);
    right: 15px;
    transform: translateY(-50%);
    pointer-events: none;
}