@import url("assets/css/style.css");

@font-face {
    font-family: 'Lora';
    src: url('assets/fonts/Lora-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Lora';
    src: url('assets/fonts/Lora-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Lora';
    src: url('assets/fonts/Lora-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Lora';
    src: url('assets/fonts/Lora-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Nunito';
    src: url('assets/fonts/Nunito-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Nunito';
    src: url('assets/fonts/Nunito-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Nunito';
    src: url('assets/fonts/Nunito-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Nunito';
    src: url('assets/fonts/Nunito-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}


body {
    font-family: 'Nunito';
    font-weight: 400;
}





h2.stroke-left {
    position: relative;
    width: fit-content;
    font-size: 45px;
    font-weight: 400;
    line-height: 1.2;
}

h2.stroke-left:after {
    content: ' ';
    width: 190px;
    height: 25px;
    position: absolute;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(https://www.bolli-modestoffe.ch/wp-content/uploads/2025/01/headline-rectangle.svg);
    bottom: -3px;
    right: 5px;
    z-index: -1;

}

h2.stroke-left:before {
    content: ' ';
    width: 150px;
    height: 150px;
    position: absolute;
    background-repeat: no-repeat;
    background-position: center left;
    background-size: auto;
    background-image: url(https://www.bolli-modestoffe.ch/wp-content/uploads/2025/01/stroke-left.svg);
    top: -5px;
    right: -110px;
}

.courses .course {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: var(--white);
    border: 1px solid #cdcdcd;
    border-radius: 8px;
    padding-top: 13.6px;
    padding-right: 25px;
    padding-bottom: 13.6px;
    padding-left: 25px;
    margin-top: 13.6px;
    position: relative;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 400ms ease-in;
    align-items: center;
    width: 100%;
}

.courses .course:hover {
    box-shadow: 0 12px 12px 0 rgba(0, 0, 0, 0.1);
}

.courses .course .naehkurse-date {
    width: 30%;
}

.warning {
    color: #FFC10A;
}

.success {
    color: #31a11e;
}

.action {
    color: #d30b22;
}

.courses .course a {
    color: #202020;
    text-decoration: underline;
    width: 30%;
}

.naehkurse-date.full-date {
    display: flex;
    align-items: center;
    gap: 16px;
    line-height: 24px;

}

.courses .course a.course-button {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.home-time__top-text {
    width: 60%;
    text-align: center;
    color: #363636;
    line-height: 28px;
    margin: auto;
}

.mb-85 {
    margin-bottom: 85px;
}

.wp-block-button.course-button.action a {
    background: #d30b22;
    color: white;
    line-height: 1.4 !important;
    width: 350px;
    border-color: #f2102a !important;
    font-size: 14px !important;
    padding-left: 21px !important;
    padding-right: 21px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    border-radius: 8px !important;
    padding-top: 10.5px !important;
    padding-bottom: 10.5px;
}

header.entry-header {
    -webkit-mask-image: url(assets/img/header-wave.svg);
    -webkit-mask-size: cover;
    -webkit-mask-position: bottom;
    -webkit-mask-repeat: no-repeat;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    display: flex;
    justify-content: center;
    align-items: anchor-center;

}

header.entry-header h1 {
    color: white;
    font-weight: 600;
    font-size: 67.5px;
}

header.entry-header {
    background-position: center center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    background-color: var(--base-comp);
    background-image: url(assets/img/20190322-bolli-482.jpg);
    background-size: cover;
    height: 550px;
    justify-content: center;
}

.pt-50 {
    padding-top: 50px;
}

.naehkurse-single {
    display: grid;
    align-items: initial;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 55px;
    padding-bottom: 50px;
}

.course-title {
    position: relative;
    margin: 0;
    font-size: 32px;
}

.course-title:after {
    content: ' ';
    width: 2rem;
    height: .4rem;
    background-color: rgba(230, 0, 0, 0.64);
    left: 0px;
    position: absolute;
    bottom: -40%;

}

.naehkurse-single .detail-post {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    width: 100%;
    row-gap: 38px;
}

.naehkurse-single .detail-post .detail-course {
    display: grid;
    align-items: initial;
    grid-gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: flex-start;
}

.naehkurse-single .detail-post .detail-course .course-price {
    grid-column: 1 / 4;

}

.naehkurse-single .detail-post .detail-course .course-price,
.naehkurse-single .detail-post .detail-course .course-dates,
.naehkurse-single .detail-post .detail-course .course-times,
.naehkurse-single .detail-post .detail-course .course-places {
    flex-direction: row;
    justify-content: center;
    display: flex;
    align-items: center;
    background-color: #f7f7f7;
    padding: 18px;
    border-radius: 8px;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.05);
    row-gap: 10px;
    column-gap: 10px;


}

.info-instructor {
    background-color: #f7f7f7;
    display: flex;
    align-self: center !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 15px;
    padding: 38px;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

a.button-red {
    background: #e2001a;
    color: white;
    line-height: 1.4 !important;
    border-color: #f2102a !important;
    font-size: 14px !important;
    padding-left: 21px !important;
    padding-right: 21px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    border-radius: 8px !important;
    padding-top: 10.5px !important;
    padding-bottom: 10.5px;

}

img.instructor-image.wp-post-image {
    border-radius: 50%;
    width: 192px;
    height: 192px;
}

.detail-course .icon {
    height: 20px;
    width: 20px;
}

.single-naehkurse form {
    display: flex !important;
    flex-direction: column !important;
    padding-top: 50px;
    margin-bottom: 0;
}

.single-naehkurse form>div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 20px;

}

.single-naehkurse form>div p {
    width: calc(50% - 10px);

}

.single-naehkurse form>div label,
.single-naehkurse form>div span,
.single-naehkurse form>div span input {
    width: 100%;
    display: block;
}

.single-naehkurse div#wpcf7-f356436-o3:before {
    content: '';
    background-color: #f9f9f9;
    width: 100vw;
    display: block;
    height: 100%;
    position: absolute;
    margin-left: calc(-50vw + 50%);
    z-index: -1;
}

.single-naehkurse div#wpcf7-f356436-o3 {
    position: relative;
    margin-top: 180px;
}

.single-naehkurse div#wpcf7-f356436-o3:after {
    content: ' ';
    width: 100vw;
    height: 180px;
    top: -180px;
    position: absolute;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(assets/img/wave.svg);
    margin-left: calc(-50vw + 50%);
}

span.text-danger {
    display: inline !important;
    color: #d30b22;
}

.single-naehkurse div#wpcf7-f356436-o3 p {
    margin: 0 0 1.41575em;
}

.single-naehkurse div.submit-part p {
    margin-bottom: 50px !important;
}

.mt-70 {
    margin-top: 70px;
    margin-block-start: 70px !important;
}

.news-list .news-item {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 50px;
    justify-content: space-between;
    align-items: stretch;
    grid-gap: 35px;
}

.news-list .news-item a {
    height: 100%;
    display: block;

}

.news-list .news-item a img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 0.8rem;

}

.news-list .news-item .news-content {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.news-list .news-item .news-content .news-excerpt br {
    display: none;
}

.news-posts-list .pagination {
    border: none;
    padding-top: 35px;
    padding-bottom: 50px;
    gap: 20px;
    display: flex;
    justify-content: center;
}

.news-posts-list {
    padding-top: 50px;
}

.news-page-content {
    padding-top: 50px;
    padding-bottom: 50px;
    font-size: 23px
}

.news-page-content :where(.wp-block-columns) {
    margin-bottom: 0;
}

.news-item .button-red {
    min-width: 200px;
    display: inline-flex;
    width: fit-content;
    text-align: center;
    justify-content: center;
}

.news-item .button-red:hover {
    color: white;
    background-color: #f2102a;
}

a.next.page-numbers,
a.prev.page-numbers {
    font-size: 0;
}

a.next.page-numbers:before {
    content: '→';
    font-size: 16px;
    color: #d30b22;
}

a.prev.page-numbers:before {
    content: '←';
    font-size: 16px;
    color: #d30b22;
}

/*** FAQ page ***/
.right-section summary {
    border-radius: 10px;
    padding-top: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
    padding-left: 15px;
    margin-top: 10px;
    background-color: #d30b22;
    color: white;
}

.right-section .wp-block-details p {
    padding-top: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
    padding-left: 15px;
    background-color: var(--black-trans-10);
    margin-top: 5px;
    margin-bottom: 10px;
    border-radius: 10px;

}

.page-id-190 body,
.page-id-190 .site {
    overflow-x: initial;
}

.left-sticky .wp-block-group {
    position: sticky;
    top: 0;

}

.left-sticky h2 {
    font-size: 45px;
    color: #1a1a1a;
}
.right-section .wp-block-heading {
    color: #d30b22;

}
.button-red:hover {
    color: white;
    background-color: #f2102a;
}