/*    ----------------------- general -------------------- */

.hide {
    display: none;
}

.iwc-media-list .iwc-media img {
    max-height: 200px;
    display: block;
    margin-bottom: 20px;
}

@media (width < 1100px) {
    .iwc-media-list .iwc-media img {
        margin: 0 auto 20px auto;
    }
}

@media (width >= 1100px) {
    .iwc-media-list {
        display:flex;
        justify-content: space-around;
        flex-wrap: wrap;
    }
    .iwc-media-list .iwc-media {
        display: flex;
        flex-direction: column;
        align-items:start;
        margin-bottom: 20px;
    }
}

/*    ----------------------- templates -------------------- */

.iwc-template-header {
    margin-bottom: 30px;
}

.iwc-header .navbar {
    border-radius: 0 0 5px 5px;
}

.iwc-template-footer {
    color:#8A9AA0;
    font-size:12px;
    font-weight:500;
    margin-top: 20px;
}

.iwc-template-footer .footer {
    background-color: whitesmoke;
    padding: 20px;
}

.iwc-template-footer a {
    color:#8A9AA0;
}

.iwc-template-body.content-in-white-box .iwc-maincontent-template-inner {
    background-color: whitesmoke;
    padding: 30px;
    border-radius: 5px;
}

.iwc-template-maincontent {
    padding: 0 15px;
}

.iwc-template-body.standard .iwc-template-aside {
    padding-left:20px;
}

.footer {
    border-radius: 5px 5px 0 0;
}

body {
    background-image: url("/images/page/IMG_20200116_134942_16-9.jpg");
    background-color: transparent;
    background-repeat: no-repeat;
    background-size: cover;
}


/*    ----------------------- pages -------------------- */

.about-us-container {
    padding-bottom: 20px;
}

.about-us-container h1 {
    margin-bottom: 30px;
}

/*    ------------------------------------------------------ */


.iwc-comp-calendar {

}

.calendar-navigation .btn {
    font-size: 14px;
    vertical-align: top;
}

.date-info-text {
    display: inline-block;
}

#date-info-element-month {
    font-size: 16px;
    width: 100px;
    text-align: right;
}

#date-info-element-year {
    font-size: 20px;
}

#calendar {
    margin-top: 15px;
    height: 800px;
}

.frontpage-top-image {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 40px;
}

.frontpage-content-news-teaser {
    background-color: #EEEEEE;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 40px;
}

/* ---------------------- news list ----------------------------- */

.iwc-comp-newslist-entry {
    background-color: white;
    padding: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
    border-radius: 5px;
}

@media (width < 1100px) {
    .iwc-comp-newslist-entry .news-image img {
        height: 200px;
        margin: 0 auto 20px auto;
        display: block;
    }

    .iwc-comp-newslist-entry .news-image .image-placeholder {
        display: none;
    }
}

@media (width >= 1100px) {
    .iwc-comp-newslist-entry {
        display: flex;
        flex-wrap: wrap;
        align-content: flex-start;
        justify-content: flex-start;
    }

    .iwc-comp-newslist-entry .news-image {
        border-radius: 5px;
        margin-right: 20px;
    }

    .iwc-comp-newslist-entry .news-image img {
        width: 120px;
    }

    .iwc-comp-newslist-entry .news-image .image-placeholder {
        width: 120px;
        height: 120px;
    }

    .iwc-comp-newslist-entry .content {
        width: calc(100% - 140px);
    }
}

@media (width < 1100px) {
    .news-detail-link-container {
        text-align: center;
    }
}

/* ---------------------- news details ----------------------------- */

.news-images-container {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.iwc-event-entry {
    background-color: white;
    padding: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
    border-radius: 5px;
}

.iwc-comp-memberlist-entry {
    background-color: white;
    padding: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
    border-radius: 5px;
}

.iwc-comp-memberlist-entry {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-start;
}

.iwc-comp-memberlist-entry .image {
    width: 150px;
    height: 150px;
    right: 30px;
    margin-right: 30px;
}

.iwc-comp-memberlist-entry img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.frontpage-content-events-teaser {
    background-color: #EEEEEE;
    padding: 20px;
    border-radius: 5px;
}

ul.iwc-comp-shorteventlist-entries {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

li.iwc-comp-shorteventlist-entry-container {
    margin-top: 20px;
}

.iwc-comp-shorteventlist-entry {
    background-color: white;
    padding: 10px;
    border-radius: 5px;
}

.iwc-comp-sponsorlist {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-start;
}

.iwc-comp-sponsorlist-entry-inner {
    padding: 20px;
    margin: 20px;
    background-color: whitesmoke;
    border-radius: 5px;
}

/*    ----------------------- gallery page (show gallery image list) -------------------- */

.iwc-mainContent-gallerypage .gallery-images-container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    margin: 0 -5px;
}

.iwc-mainContent-gallerypage .heading {
    text-align: center;
    margin: 20px 0 10px 0;
}

.iwc-mainContent-gallerypage .description {
    text-align: center;
    margin-bottom: 40px;
}

.iwc-mainContent-gallerypage .gallery-images-container .gallery-image-container {
    margin: 5px;
    width: 160px;
    height: 160px;
}

.iwc-mainContent-gallerypage .gallery-images-container .gallery-image {
    width: 160px;
    height: 160px;
    border-radius: 5px;
    object-fit: cover;
}

/*    ----------------------- all gallery list page -------------------- */

.iwc-mainContent-allgallerypage .heading {
    text-align: center;
    margin: 20px 0 40px 0;
}

.iwc-mainContent-allgallerypage .iwc-comp-allgallerylist-image-list {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    margin: 0 -5px;
}

.iwc-mainContent-allgallerypage .iwc-comp-allgallerylist-entry {
    width: 160px;
    height: 160px;
    margin: 5px;
    position: relative;
}

.iwc-mainContent-allgallerypage .iwc-comp-allgallerylist-entry .gallery-image {
    width: 160px;
    height: 160px;
    border-radius: 5px;
}

.iwc-mainContent-allgallerypage .iwc-comp-allgallerylist-entry img.gallery-image {
    object-fit: cover;
}

.iwc-mainContent-allgallerypage .iwc-comp-allgallerylist-entry .gallery-image.image-placeholder {
    background-color: #EEEEEE;
}

.iwc-mainContent-allgallerypage .iwc-comp-allgallerylist-entry a {
    text-decoration: none;
}

.iwc-mainContent-allgallerypage .iwc-comp-allgallerylist-entry .gallery-text {
    position: absolute;
    top: 115px;
    left: 0;
    width: 160px;
    height: 45px;
    padding: 5px;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    border-radius: 5px;
    margin: 0;
}

.iwc-mainContent-allgallerypage .iwc-comp-allgallerylist-entry .gallery-text .name {
    font-size: 12px;
}

.iwc-mainContent-allgallerypage .iwc-comp-allgallerylist-entry .gallery-text .image-count {
    font-size: 11px;
}

/*    ----------------------- gallery images carousel -------------------- */

.iwc-mainContent-gallerypage h1 {
    text-align: center;
    font-weight: bold;
    width: 100%;
}

.iwc-mainContent-gallerypage .gallery-carousel {
    width: 100%;
    height: 100%;
}

.iwc-mainContent-gallerypage .gallery-carousel .carousel-inner,
.iwc-mainContent-gallerypage .gallery-carousel .carousel-item {
    height: 100%;
}

.iwc-mainContent-gallerypage .carousel-image {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.iwc-mainContent-gallerypage .modal-footer {
    height: 100px;
    background-color: gainsboro;
    padding: 10px;
    justify-content: center;
}

.iwc-mainContent-gallerypage .thumb {
    width: 100px;
    height: 75px;
    object-fit: cover;
}

/*    ----------------------- news images carousel -------------------- */

.iwc-comp-newsimagescarousel .thumb {
    width: 100px;
    height: 75px;
    object-fit: cover;
}

.iwc-comp-newsimagescarousel .modal-body {
    height: 80vh;
}

.iwc-comp-newsimagescarousel .carousel {
    height: 100%;
}

.iwc-comp-newsimagescarousel .carousel-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/*    ----------------------- news details -------------------- */

.iwc-mainContent-linkspage .link-entry {
    margin: 30px 0;
}

.iwc-mainContent-downloadFilesPage .download-block {
    margin: 40px 0;
}

.iwc-mainContent-downloadFilesPage .download-link {
    margin: 10px 0;
}

.contact-form-container .input-row {
    margin: 10px 0;
}

.contact-form-container .submit-row {
    margin: 20px 0;
}

.iwc-contact h1, .iwc-contact hr {
    margin: 20px 0 40px 0;
}

/* ----------------- */

.toastui-calendar-detail-container .toastui-calendar-popup-section.toastui-calendar-section-button {
    display: none;
}

/* ----------------- */

/* for narrow screens, disable flex for the calendar head row with the buttons, making 3 rows instead of 3 columns */
@media only screen and (max-width: 800px) {
    .fc-header-toolbar.fc-toolbar {
        display: block;
    }
}

@media only screen and (min-height:500px) {
    #eventPopup .modal-dialog {
        top: 100px;
    }
}

.button-9 {
    appearance: button;
    backface-visibility: hidden;
    background-color: #405cf5;
    border-radius: 6px;
    border-width: 0;
    box-shadow: rgba(50, 50, 93, .1) 0 0 0 1px inset,rgba(50, 50, 93, .1) 0 2px 5px 0,rgba(0, 0, 0, .07) 0 1px 1px 0;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    font-family: -apple-system,system-ui,"Segoe UI",Roboto,"Helvetica Neue",Ubuntu,sans-serif;
    font-size: 100%;
    height: 44px;
    line-height: 1.15;
    margin: 12px 0 0;
    outline: none;
    overflow: hidden;
    padding: 0 25px;
    position: relative;
    text-align: center;
    text-transform: none;
    transform: translateZ(0);
    transition: all .2s,box-shadow .08s ease-in;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    width: 100%;
}

.button-9:disabled {
    cursor: default;
}

.button-9:focus {
    box-shadow: rgba(50, 50, 93, .1) 0 0 0 1px inset, rgba(50, 50, 93, .2) 0 6px 15px 0, rgba(0, 0, 0, .1) 0 2px 2px 0, rgba(50, 151, 211, .3) 0 0 0 4px;
}
