/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

 #calendar {overflow: hidden;}

/* =========================================================================================== */
 /* Calendar Header / Buttons */
#calendar .fc-button-group .fc-button,
#calendar .fc-button-group .fc-button:focus {
    background-color: transparent;
    border:medium none;
    box-shadow: none;
}
#calendar .fc-button-group .fc-button {
    border-radius: 0;
    font-weight: 500 !important;
    font-size:18px;
    padding: 0px 10px
}
#calendar .fc-toolbar-chunk:first-child .fc-button-group .fc-button:not(.fc-state-active):hover,
#calendar .fc-toolbar-chunk:first-child .fc-button-group .fc-button:not(.fc-state-active) {
    text-decoration: line-through;
}
#calendar .fc-toolbar-chunk:last-child .fc-button-group .fc-button:hover {
    opacity: 0.6;
    color: #00d1b7 !important;
}
#calendar .fc-button-group .fc-button:not(.fc-state-active):hover,
#calendar .fc-button-group .fc-button:not(.fc-state-active) {
    color:#ccc !important;
}
#calendar .fc-button-group .fc-button:not(:last-child) {
    margin-right: 8px;
}
#calendar .fc-button-group .fc-button.fc-button-active {
    color: #00d1b7 !important;
}

/* Control Arrow */
/*#calendar .fc-toolbar-chunk:nth-child(2) {position:relative; text-align: center;}*/
#calendar .fc-toolbar-chunk:nth-child(2) > div {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
}

@media all and (max-width: 1300px) {
    #calendar .fc-toolbar-chunk:nth-child(2) > div {
        justify-content: center;
    }
    #calendar .fc-toolbar-chunk:not(:last-child) {margin-bottom: 30px;}
}

#calendar .fc-toolbar-chunk .fc-toolbar-title {
    font-size: 20px;
    padding-top: 8px;
    padding-bottom: 0 !important;
    margin: 0 20px;

    -webkit-order: 2;
    -ms-flex-order: 2;
    order: 2;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-align-self: auto;
    -ms-flex-item-align: auto;
    align-self: auto;
}
#calendar .fc-toolbar-chunk .fc-prev-button {
    /*display: inline-block;*/
    padding: 0px 2px 2px 1px;
    
    -webkit-order: 1;
    -ms-flex-order: 1;
    order: 1;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-align-self: auto;
    -ms-flex-item-align: auto;
    align-self: auto;
}
#calendar .fc-toolbar-chunk .fc-next-button {
    /*display: inline-block;*/
    padding: 0px 0px 2px 3px;
    
    -webkit-order: 3;
    -ms-flex-order: 3;
    order: 3;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-align-self: auto;
    -ms-flex-item-align: auto;
    align-self: auto;
}
#calendar .fc-toolbar-chunk .fc-button,
#calendar .fc-toolbar-chunk .fc-button:focus {
    border:medium none !important;
    box-shadow: none !important;
}

/* Responsive Header / Buttons */
/*
@media all and (max-width:979px) {
    #calendar .fc-toolbar-chunk:last-child {display: none;}
}*/
@media all and (min-width:768px) and (max-width:979px) {
    #calendar .fc-button-group .fc-button {
        font-size: 16px;
        padding: 0px 4px
    }
    #calendar .fc-toolbar,
    #calendar .fc-toolbar-chunk {
        width: 100%;
        display: block;
    }
    #calendar .fc-toolbar-chunk {
        padding: 10px 0;
        text-align: center;
    }
}
@media all and (min-width:480px) and (max-width:767px) {
    #calendar .fc-toolbar,
    #calendar .fc-toolbar-chunk {
        width: 100%;
        display: block;
    }
    #calendar .fc-toolbar-chunk {
        padding: 10px 0;
        text-align: center;
    }
    #calendar .fc-view-harness {min-height: 70vh;}
}
@media all and (max-width:479px) {
    #calendar .fc-toolbar,
    #calendar .fc-toolbar-chunk {
        width: 100%;
        display: block;
    }
    #calendar .fc-toolbar-chunk {
        padding: 10px 0;
        text-align: center;
        margin-bottom: 20px;
    }
    #calendar .fc-button-group {
        display: block;
    }
    #calendar .fc-toolbar-chunk:first-child .fc-button-group .fc-button {
        margin-bottom: 0;
        width: 100%;
        display: block;
        font-size: 18px;
    }
    #calendar .fc-toolbar-chunk:last-child .fc-button-group .fc-button {
        font-size: 16px;
        padding: 0 5px
    }
    #calendar .fc-header-toolbar {
        margin-bottom: 0;
    }

    /*
    #calendarHeadline .calendarLeft .et-pb-arrow-prev {
        left: -20px !important;
    }
    #calendarHeadline .calendarRight .et-pb-arrow-next {
        right: -20px !important;
    }
    */

}

/* =========================================================================================== */
 /* Calendar Content */
    #calendar .fc-view-harness a {color: 004367;}
    .fc .fc-list-sticky .fc-list-day > * {z-index: 1;}
 
@media all and (max-width:479px) {
    #calendar .fc-list-event-title,
    #calendar .fc-list-event-title a {
        line-height: normal;
        vertical-align: middle;
        width: 100%;
    }

    #calendar table.fc-list-table tbody,
    #calendar table.fc-list-table tbody .fc-list-day,
    #calendar table.fc-list-table tbody .fc-list-day th,
    #calendar table.fc-list-table tbody .fc-list-event {
        display: block;
    }

    #calendar .fc-listYear-view .fc-list-event .fc-list-event-time {
        display: block;
        width: 100%;
    }
    #calendar .fc-listYear-view .fc-list-event .fc-list-event-graphic {
        float: left;
        padding-left: 12px;
        width: 5px;
    }
    #calendar .fc-listYear-view .fc-list-event .fc-list-event-graphic {
        float: none;
        padding: 11px 4px 11px 19px;
    }
    #calendar .fc-listYear-view table.fc-list-table,
    #calendar .fc-listYear-view .fc-list-event {
        display: block;
    }
}


/* =========================================================================================== */
/* Hidden */
 .googlecalendar-source{
    display:none;
}

#calendar .fc-col-header-cell-cushion,
#calendar .fc-daygrid-day-number,
#calendar .fc-list-day-text,
#calendar .fc-list-day-side-text {
    color:#004367;
}

#calendar .fc-event-title{
    line-height: 1.3em;
}



/* =========================================================================================== */
/* Customized Styles */


/* 74 Fullcalendar */
.fc-button-group .ui-state-active {
	background:transparent !important;
	color:#00d1b7;
	font-weight: 700 !important;
}
.fc-header-toolbar .fc-button-group .fc-state-active {font-weight: 700 !important;}

@media all and (max-width: 1300px) {
    .fc-header-toolbar {
        display: block !important;
        text-align: center;
    }
}

.fc-button-group .ui-button:hover,
.fc-button-group .ui-button.ui-state-active:hover {
	border-bottom: solid 2px #00d1b7;
	color:#00d1b7;
}

.fc-content-col a.fc-v-event {pointer-events: none;}


/* Monatskalender */
.fc-daygrid .fc-daygrid-event .fc-event-time,
.fc-daygrid .fc-daygrid-event .fc-daygrid-event-dot {
    display: none;
}
.fc-daygrid .fc-daygrid-event .fc-event-title {
    white-space: normal;
    color:#ffffff;
    font-weight: 400;
}
.fc-daygrid .fc-daygrid-event {
    padding: 5px;
    margin: 0;
    border-radius: 0;
}
.fc-daygrid .fc-daygrid-event-harness {cursor:not-allowed;}

.fc-daygrid .fc-daygrid-event.dsl-event-ausgebucht {
    background-color:#BF0B0B !important;
    pointer-events: none;
}
.fc-daygrid .fc-daygrid-event:hover {
    background-color: #00d1b7 !important;
}


/* Jahresliste */
/* buchen / ausgebucht */
.fc-listYear-view .fc-event .fc-list-event-title a {
    font-weight: 500;
    padding-right: 140px;
}
.fc-listYear-view .fc-event:hover .fc-list-event-title a {
    text-decoration: none;
    width: 100%;
    /*display: block;*/
}
.fc-listYear-view .fc-event .fc-list-event-title a::after {
    content:"Jetzt anmelden";
    position: absolute;
    right: 20px;
    font-size: 16px;
    font-weight: 500;
    color:#00d1b7 !important;
}

.fc-listYear-view .fc-event .fc-list-event-description,
.fc-listYear-view .fc-event .fc-list-event-location {
    font-size: 18px;
    line-height: 24px;
}
.mfp-content .fc-list-event-location,
.fc-listYear-view .fc-event .fc-list-event-location {
    margin-top:10px;
    color:#9cb6c4;
}
.mfp-content .fc-list-event-location::before,
.fc-listYear-view .fc-event .fc-list-event-location::before {
    text-shadow: 0 0;
    font-family: ETmodules !important;
    font-weight: 400;
    font-style: normal;
    font-variant: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1;
    text-transform: none;
    speak: none;
}
.mfp-content .fc-list-event-location::before,
.fc-listYear-view .fc-event .fc-list-event-location::before {
    content:"\e01d";
    margin-right: 5px;
}

@media all and (max-width:767px) {
    .fc-listYear-view .fc-event .fc-list-event-title a {padding-right:0;}
    .fc-listYear-view .fc-event .fc-list-event-title a::after {
        width: 100% !important;
        display: block !important;
        position: relative !important;
        margin-left: 20px;
        margin-top: 14px;
    }
    .fc-listYear-view .fc-event:hover .fc-list-event-title a,
    .fc-listYear-view .fc-event .fc-list-event-title a:hover {
        text-decoration: none !important;
    }

    .fc-listYear-view .fc-event .fc-list-event-description {margin-top: 14px;}

    .fc-listYear-view .fc-event .fc-list-event-description,
    .fc-listYear-view .fc-event .fc-list-event-location {
        font-size: 16px;
        line-height: 22px;
    }

    .fc-listYear-view .fc-event .fc-list-event-time {
        border-bottom: medium none !important;
    }

}

/* Responsive */
/*
@media all and (max-width:479px) {
    .fc-listYear-view .fc-list-event:hover {
        position: relative;
        display: table;
    }
    .fc-listYear-view .fc-event:hover .fc-list-event-title a::after,
    .fc-listYear-view .dsl-event-ausgebucht .fc-list-event-title a::after {
        content:none !important;
    }
    .fc-listYear-view .fc-event .fc-list-event-title a {padding-right: 0 !important;}
    
    .fc-listYear-view .fc-list-event:hover::after {
        content: "Jetzt anmelden";
        display: table-cell;
        text-align: center;
        vertical-align: middle;
        color: #ffffff;
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        background-color: #00d1b7;
        width: 100%;
        height: 100%;
        padding-top: 13%;
    }
}*/

/* Ausgebucht - Jahresliste */
.fc-listYear-view .dsl-event-ausgebucht {
    pointer-events: none;
    cursor: not-allowed;
}
.fc-listYear-view .dsl-event-ausgebucht .fc-list-event-title a::after {
    content:"ausgebucht";
    color:#BF0B0B !important;
    font-weight: 500;
    font-size: 16px;
    right: 20px;
    position: absolute;
}
.fc-listYear-view .dsl-event-ausgebucht .fc-list-event-graphic .fc-list-event-dot {
    border-color:#BF0B0B !important;
}

/* 75 Leistungspunkte */
.et_pb_blurb_content .et_pb_image_wrap img {
    max-width: 90px;
}

/* Animation */
.fc-daygrid .fc-daygrid-event,
.fc-daygrid .fc-daygrid-event:hover {
    -webkit-transition: all 0.3s ease-in-out !important;
    -moz-transition: all 0.3s ease-in-out !important;
    transition: all 0.3s ease-in-out !important;
}
