﻿#calendar {
    position: relative;
    z-index: 301;
}

.fc .fc-scroller-harness {
    overflow: visible !important;
    z-index: 2 !important;
}

.fc-scrollgrid-sync-table {
    cursor: pointer !important;
}

.fc .fc-button{
    font-size: 16px !important;
}

.fc-toolbar-title{
    font-size: 24px !important;
}

.occ_green .fc-daygrid-event-dot, .occ_green .fc-list-event-dot {
    /*border-color: #00e600 !important;*/
}

/*.occ_yellow .fc-daygrid-event-dot, .occ_yellow .fc-list-event-dot {
    border-color: #ffdd42 !important;
}

.occ_red .fc-daygrid-event-dot, .occ_red .fc-list-event-dot {
    border-color: #FF0000 !important;
}*/

.fc-daygrid-event-dot {
    border-color: #333 !important;
    margin-right:5px!important;
}


.fc-daygrid-event .fc-event-title {
    box-sizing:border-box;
    padding:1px 4px 4px 4px;
    text-overflow:ellipsis;
   
    
}

.fc-timeGridWeek-view .fc-scrollgrid-sync-table, .fc-timeGridWeek-view .fc-timegrid-divider,
.fc-timeGridDay-view .fc-scrollgrid-sync-table, .fc-timeGridDay-view .fc-timegrid-divider {
    display: none;
}
/* ############### Loading Spinner ########### */
.add_min_events {
    position: relative;
}

.fc-daygrid-event > div {
    font-size: 14px !important;
    line-height: 17px;
    color: #333;
    font-weight: normal !important
}

.fc-event-main-frame, .fc-event-main-frame .fc-event-time {
   font-size: 15px !important;
    color: white;
    font-weight: normal !important;
    /*line-height: 16px !important;*/
}
.fc-timegrid-event-condensed .fc-event-title {
  font-size: 15px !important;
}
.lds-ring, .lds-spinner {
    display: none;
    width: 80px;
    height: 80px;
    bottom: 0;
    left: 0;
    margin: auto;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 99;
}

    .lds-ring div, .lds-spinner div {
        box-sizing: border-box;
        display: block;
        position: absolute;
        width: 64px;
        height: 64px;
        margin: 8px;
        border: 8px solid #3788d8;
        border-radius: 50%;
        animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        border-color: #3788d8 transparent transparent transparent;
    }

        .lds-ring div:nth-child(1), .lds-spinner div:nth-child(1) {
            animation-delay: -0.45s;
        }

        .lds-ring div:nth-child(2), .lds-spinner div:nth-child(2) {
            animation-delay: -0.3s;
        }

        .lds-ring div:nth-child(3), .lds-spinner div:nth-child(3) {
            animation-delay: -0.15s;
        }

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ############### Event Popup ############## */

.tippy-content {
    padding: 15px;
}

.div_content_container {
    max-width: 600px;
}

.table_caldetail {
    table-layout: auto !important;
    /*   width: 600px !important;*/
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-spacing: 0 !important;
    min-width: 320px;
    /*  max-width: 600px !important;*/
}

    .table_caldetail tr td {
        vertical-align: top;
        width: auto;
        border: none !important;
       /* font-size: 14px !important;*/
    }

        .table_caldetail tr td span {
            font-size: 16px !important;
        }

    .table_caldetail tr > td {
        padding: 7px 0 !important;
    }

        .table_caldetail tr > td:first-child {
            width: 100px;
            color: #646363;
            font-weight: 700;
            padding-right: 15px !important;
        }

    .table_caldetail tr td p + p {
        margin-top: 5px !important;
    }

.div_tippy-content-footer {
    font-size: 16px !important;
}

.div_seperator {
    margin-top: 5px;
    border-top: 1px solid #ddd;
    padding-top: 14px;
}


.div_tippy-content-footer a {
    cursor: pointer;
}


/* ############## Event Listview #################*/

.ul_calendar_listview {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

    .ul_calendar_listview li {
        line-height: 24px;
        list-style: none !important;
    }

.a_listevent {
    cursor: pointer;
    display: flex;
}

.div_date_container {
    flex: 0 0 130px; /* new */
    display: inline-block;
    /*min-width: 125px;*/
}

.div_title_container {
    display: inline-block;
    flex: 1;
}

.f-left {
    float: left;
}

.clear,
.f-clear {
    clear: both;
    overflow: hidden;
    margin-top: -1px;
    height: 1px;
    background-color: transparent !important;
}


/* ############################# RESPONSIVE ################################# */


@media (max-width: 1024px) {
    .table_caldetail.big {
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    .fc-dayGridMonth-button, .fc-timeGridWeek-button, .fc-timeGridDay-button, .fc-listMonth-button {
        display: none !important;
    }
}



/* ############################### Anmeldeform ################################# */

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 11000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

    .modal.optinwindow {
        /*display: block;*/
    }

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 4% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 100%; /* Could be more or less, depending on screen size */
    max-width: 600px;
    position: relative;
    min-height: 245px;
}

.modal.optinwindow .modal-content {
    min-height: 0;
}

    .modal.optinwindow .modal-content .div_optinwindow {
        margin-top: 10px;
    }

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin-top: -12px;
}

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

.div_submitsuccess {
    margin-top: 25px;
}


/* ########################### Form Layout  ########################## */

input[type="text"]:focus, textarea:focus, select:focus, input[type=radio]:focus, input[type=checkbox]:focus {
    outline: none;
}

.form-wrapper {
    list-style-type: none;
    padding: 0 !important;
    border-radius: 3px;
    margin: 30px 0 0 0;
}

.form-row {
    display: flex;
    justify-content: flex-start;
    padding: .5em 0 .5em 0;
}

    .form-row > label {
        padding: .33em 1em .3em 0;
        flex: 1;
        margin: 0 !important;
        font-size: 16px;
    }

    .form-row.required > label:after {
        content: ' *';
    }

    .form-row > div > input, .form-row > div, .form-row > div > select {
        flex: 2;
    }

        .form-row > div input,
        .form-row > div button,
        .form-row > div select,
        .form-row > div textarea {
            padding: .5em;
            box-sizing: border-box;
            border: 1px solid #c0c0c0;
        }

    .form-row.haserror > div input,
    .form-row.haserror > div button,
    .form-row.haserror > div select,
    .form-row.haserror > div textarea {
        border: 1px solid #dc3545;
    }


    .form-row > div {
        padding: 0.3em 0;
        margin: 0 0 0 0;
    }

        .form-row > div input,
        .form-row > div select,
        .form-row > div textarea {
            width: 90%;
        }

 



.div_dsgvo input[type="checkbox"] {
    width: 15px; /*Desired width*/
    height: 15px; /*Desired height*/
    cursor: pointer;
    margin: 0;
}


#editEvent_datumonly {
    width: 50%;
    height: 32px;
}

#editEvent_timeonly {
    width: 37%;
    height:32px;
    margin-left:3%;
}

#editEvent_bemerkung {
    height:80px;
}

#div_publish {
    width:90%;
    display:inline-block;
    box-sizing:border-box;
}

.form-row .border-danger {
    border: 1px solid #d9534f;
}

#editEventLongErrorMsg {
    color: red;
    display:none;
}

.form-row .markerror {
    display: none;
    color: #d9534f;
    font-size: 20px;
    line-height: 20px;
    font-weight: bold;
}

.form-row .border-danger + .markerror {
    display:inline!important;
}

    .btn_submit {
        display: inline-block;
        margin-bottom: 0;
        font-weight: 400;
        text-align: center;
        white-space: nowrap;
        vertical-align: middle;
        -ms-touch-action: manipulation;
        touch-action: manipulation;
        cursor: pointer;
        background-image: none;
        border: 1px solid transparent;
        padding: 6px 12px;
        font-size: 16px;
        line-height: 1.42857143;
        border-radius: 4px;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        color: #fff;
        background-color: #5cb85c;
        border-color: #4cae4c;
        min-width: 100px;
        margin-right: 5px;
    }

    .btn_submit:hover {
        color: #fff;
        background-color: #449d44;
        border-color: #398439;
    }

    .btn_submit:disabled {
        opacity: .35;
        filter: Alpha(Opacity=35);
        background-image: none;
        cursor: default !important;
    }

.btn_cancel {
    display: inline-block;
    margin-bottom: 0;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    padding: 6px 12px;
    font-size: 16px;
    line-height: 1.42857143;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #333;
    background-color: #fff;
    border-color: #ccc;
    min-width: 100px;
    margin-right: 10px;
}

.btn_cancel:hover {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}

.btn_cancel:disabled {
    opacity: .35;
    filter: Alpha(Opacity=35);
    background-image: none;
    cursor: default !important;
}

.btn_delete {
    display: inline-block;
    margin-bottom: 0;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    padding: 6px 12px;
    font-size: 16px;
    line-height: 1.42857143;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
    min-width: 100px;
}

    .btn_delete:hover {
        color: #fff;
        background-color: #c82333;
        border-color: #bd2130;
    }

    .btn_delete:disabled {
        opacity: .35;
        filter: Alpha(Opacity=35);
        background-image: none;
        cursor: default !important;
    }

.dot {
    height: 20px;
    width: 20px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
}

.div_postsuccess, .div_postfail {
    display: table;
    height: 100%;
    min-height: 245px;
}

    .div_postsuccess > div, .div_postfail > div {
        display: table-cell;
        vertical-align: middle;
    }

.event_detail_popup h2 {
    font-size: 16px!important;
    font-weight: bold!important;
    margin-bottom:7px;
}

.event_detail_popup_bemerkung {
    font-style:italic;
    color:#444;
    margin-top:7px;
}

.editeventConfirmDelete {
    display:none;
    background-color: rgba(40,40,40,0.5);
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    
}

    .editeventConfirmDelete > div {
         font-size:16px;
        width:320px;
        background-color: white;
        border: 1px solid #f0f0f0;
        margin: 230px auto 0 auto;
    }

    .editeventConfirmDelete > div >div:first-child {
        padding-top:50px;
        text-align:center
    }

    .editeventConfirmDelete > div > div:nth-child(2) {
        padding-top: 30px;
        padding-bottom:50px;
        text-align: center
    }
        .editeventConfirmDelete > div > div:nth-child(2) > button:first-child {
        margin-right:20px;
        
        }
.eventsinternal {
    font-size: 16px;
    /*white-space: nowrap;*/
}

    .eventsinternal > span:first-child {
        display: inline-block;
        width: 130px;
        margin-right: 7px;
    }


.fc-daygrid-dot-event .fc-event-title {
    overflow:auto!important;
    white-space:normal!important;
 
}

.fc-daygrid-dot-event {
    display: flex;
    align-items: flex-start !important;
}

.fc-daygrid-event-dot {
    margin: 6px 6px 0 4px!important;
    
}

.fc-daygrid-dot-event .fc-event-title {
    margin-right:7px;

}
.fc-daygrid-dot-event {
    background-color: #f0f0f0;
    margin-top: 7px !important;
    background-image: url(../img/3dots.gif);
    background-position: right 4px top 6px;
    background-repeat: no-repeat;
}

.fc-daygrid-dot-event:hover {

    background-image: url(../img/3dots.gif)!important;
    background-position: right 4px top 6px!important;
    background-repeat: no-repeat!important;
}

td.fc-list-event-title h2 {
    font-size: 120%;
    line-height: 1.2;
    margin-bottom: 6px;
}

td.fc-list-event-title {
    font-size:16px;
}

.tippy-box {
    font-size: 16px !important;
    line-height: 22px;
}

.tippy-content {
    /* max-width: 300px !important;*/
}
    .tippy-content div, td.fc-list-event-title h2 {
        margin-bottom: 2px;
        
    }
td.fc-list-event-title h2 {
    margin-top: 4px !important;
}
    .tippy-content h2 {
    margin-bottom:6px;
    font-size: 24px !important;
}

    .tippy-content h3{
        font-size: 22px;
        line-height: 24px;
        margin: 0 0 4px 0;
        padding: 0;
    }

    tr.fc-event {
        cursor: default !important;
    }

.tippy-content a, td.fc-list-event-title a {
    color: #b20202!important;
    text-decoration: none!important;
}

.fc-list-event-time {
    font-size:18px;
    padding-top:9px!important;
}
.fc-list-event-dot {
   
}

.fc .fc-list-event:hover td h2 {
    margin-top: 4px!important
}