
/* CSS FÜR DEN STANDART-KALENDER - alles !important */

@font-face {
    font-family: 'Main_Light';
    src: url('../../fonts/NeueHaasDisplayLight.ttf');
}


@font-face {
    font-family: 'Main_Regular';
    src: url('../../fonts/NeueHaasDisplayRoman.ttf');
}

@font-face {
    font-family: 'Main_Medium';
    src: url('../../fonts/NeueHaasDisplayMedium.ttf');
}

@font-face {
    font-family: 'Condensed';
    src: url('../../fonts/RobotoCondensed-Regular.ttf');
    font-stretch: wider;
}

/* ____________________________________________________________________________________ */




body {
    font-family: "Main_Medium" !important;
}

button:hover {
    opacity: 1
}

.main_frame {
    box-sizing:      border-box;
    position:        relative;
    top: 0;
    left: 0;
    width:           100%;
    height:          auto;
    margin-left:     auto;          /* Box-Ausrichtung auf der Seite  */
    margin-right:    auto;
                /* horizontal zentrieren */
              /* vertikal zentrieren */
    background-color: #FFFFFF !important;
    padding: 0;
    justify-content:    center          !important;       /* horizontal zentrieren */
    align-items:        center          !important;       /* vertikal zentrieren */

}

    .calendar {
    }

    .order {
        justify-content:    space-between;
        width: auto;
        margin-right: -150px;
    }


    .control {
        justify-content:    space-between;
        max-width: 40em;

    }


.week_row {
    box-sizing: border-box;
    width:   100%;
    margin:  0;         /* Gegebenenfalls NUR über die Buttons regeln  */
    padding: 0;
    display: flex;
 /*   justify-content: flex-start !important;       Hier: Links anneinander reihen via flex  */
/*     justify-content: space-between;              Hier: Gleichmäßig verteilen via flex  */
    justify-content: left;                    /*    Hier wird der Calender entweder links ider mittig ausgerichtet  */

    }



    .monat_name {
        padding: 35px 5px 5px 5px   !important;
        font-size: 14pt             !important;
        font-weight: 400            !important;
        color: #2F79B1              !important;
        text-transform: none        !important;
    }



/* BUTTON KALENDERTAG ################################################################  */

.daybutton {
    box-sizing:         border-box      !important;
    position:           relative        !important;
    display:            flex            !important;       /* aktiviert Flexbox */
    justify-content:    center          !important;       /* horizontal zentrieren */
    align-items:        center          !important;       /* vertikal zentrieren */
    text-align:         center          !important;

    width:  70px                !important;
    height: 70px                !important;

    margin: 5px                 !important;      /* Abstand der Buttons durch Margin */

    color: #286695              !important;
    background-color: #FFFFFF   !important;
    opacity: 1                  !important;       /* wichtig */

    border: 1px solid #286695   !important;
    border-radius: 40px         !important;

}

    .wtag {
        pointer-events: none;
        color: #787878              !important;
        background-color: #FFFFFF   !important;
        border: 1px solid transparent   !important;


        font-size: 14pt             !important;
        font-weight: 400            !important;
    }

    .daybutton:hover {
        background-color: #52A8FF   !important ;
        color: #ffffff              !important;
        transition: none            !important;
        }

    .past {
        pointer-events: none;
        border: 1px solid #C7DEF0       !important;
        color: #C7DEF0                  !important;
        background-color: transparent   !important;

    }

    .close {
        pointer-events: none;
        border: 1px solid #C7DEF0       !important;
        color: #C7DEF0                  !important;
        background-color: #FFFFFF       !important;

    }

    .feiertag {
        background-color: #FFF1E5       !important;
        color:            #FF5B14       !important;
    }

    .betriebsferien {
        background-color: #D4D4D4       !important;
        color:            #525252       !important;
    }

    .too_late {
        /* pointer-events: none;  */
        color: #FF5B14 !important;
        background-color: rgba(255, 255, 255, 1.0);
    }

    .heute {
        /* pointer-events: none;  */
        color: #FFFFFF  !important;
        border: 1px solid #3D9E00       !important;
        background-color: #52D600       !important;
    }

    .leer {
        pointer-events: none;
        background-color:  transparent  !important;
        border: 1px solid transparent   !important;
    }



    .wtag_name {
        top: 18% !important;
        font-size: 15pt                 !important;
        font-weight: 300                !important;
        text-transform: uppercase       !important;
    }

    .tag_nr {
        line-height: 1                  !important;
        font-size: 18pt                 !important;
        font-weight: 100                !important;
        border: 1px solid transparent   !important;
                font-weight: 400            !important;
    }

    .why_txt {
        position: absolute              !important;
        bottom: 0.9em                    !important;
        font-family: 'Condensed'        !important;
        font-size: 8pt                  !important;
        font-weight: 500                !important;
        line-height: 1                  !important;
        text-transform: none            !important;
        color: #FF5B14                  !important;

    }

    .why_txt.only {
        border: 0.5px none #AA63FF                  !important;
        color: #5A00C7                              !important;
        border-radius: 5px                          !important;
        background-color: rgba(244, 235, 255,1)  !important;
    }

    .heute_txt {
        position: absolute          !important;
        bottom: 7px                 !important;
        font-size: 8pt              !important;
        font-weight: 700            !important;
        line-height: 1              !important;
        text-transform: none   !important;
        color: #FFFFFF              !important;
    }



/* EXTRA PINS ##################################################################################### */


.pin_uhr {
    position: absolute      !important;
    right: 0px              !important;
    top: 0px                !important;
    width: 25px             !important;
    height: 25px            !important;
    background-image: url(../../images/pin_uhr.png)     !important;
    background-repeat: no-repeat                        !important;
    background-size: cover                              !important;

}


.pin_dhl {
    position: absolute      !important
    left: 0px               !important;
    top: 0px                !important;
    width: 25px             !important;
    height: 25px            !important;
    background-image: url(../../images/pin_versand.png)     !important;
    background-repeat: no-repeat                            !important;
    background-size: cover                                  !important;

}


/* TOOLTIPS POSITION & FARBE    ##################################################################################### */

.tip_area {                   /* Tooltip text */
    position: absolute  !important;
    top: 0px            !important;
    left: 0px           !important;
    width: 100%         !important;
    height: 100%        !important;
    opacity: 1;
    z-index: 1;
    text-align: center;
}

.tooltip .tooltiptext {
    box-sizing: border-box;
    position: absolute          !important;
    left: -3em;
    top: 4em                    !important;

    width: 12em                !important;
    padding: 2px                !important;


    font-family: 'Condensed'    !important;
    font-size: 10pt             !important;
    line-height: 1.2              !important;
    border-radius: 6px          !important;
    opacity: 1                  !important;

    visibility: hidden          !important;


}
    .tooltiptext.uhr {
        color: #ffffff          !important;
        background-color: rgba(214, 0, 36, 1.0)   !important;
        text-transform: none;

    }

    .tooltiptext.dhl {
        color: #000000              !important;
        background-color: #FF7F16   !important;
    }


/* Tooltip arrow */
.tooltip .tooltiptext::after {
    position: absolute              !important;
    top: -25px                      !important;
    left: calc(50% - 8px)           !important;
    content: " "                    !important;

    border-width: 14px              !important;
    border-style: solid             !important;
    border-color:    transparent    !important;
    border-bottom-color: #D60024    !important;

}

/* The tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible             !important;

}







@media (max-width: 643px) {



.main_frame {

}

    .order {
        width: 100%;
        margin: 0;
    }

    .calendar {

    }

    .order {

    }

    .daybutton,     .leer  {

    width:  40px                !important;
    height: 40px                !important;
    margin: 3px                 !important;      /* Abstand der Buttons durch Margin */


    }

    .wtag {
        font-size: 12pt             !important;
    }

    .why_txt {
       font-size: 6pt           !important;
    }

    .tag_nr {
      font-size: 16pt             !important;
              font-weight: 400            !important;

    }


    .heute_txt {
        bottom: 2px                 !important;
        font-size: 7pt              !important;
    }


    .pin_uhr {
    top: -10px              !important;
    right: -10px            !important;
    width: 25px             !important;
    height: 25px            !important;

    }
}

