#calendar {
    background-color: #fff;
}

.fc-right h2 {
    margin: 0 !important;
    font-size: 18px !important;
}

.fc-day-grid {
    display: none;
}

.fc-event-container {
    display: flex !important;
    justify-content: flex-start !important;
}
.event{
    float: left !important;
    margin-right: 0 !important;
    width: 100px;
}
.fc-event {
    text-align: center;
    width: 100% !important;
    float: left !important;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    font-size: 14px;
    cursor: not-allowed;
}

.full_day{  width: 100% !important;}

.fc-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;

}

.fc-event span {
    display: none;
}

.fc-time {
    background-color: #000;
    color: white;
}

.fc-time span {
    text-align: center;
    width: 100% !important;
    float: left;
    font-size: 13px;
}

th {
    font-weight: 500;
    font-size: 13px;
    background-color: #000;
    color: white;
    padding: 8px 0 !important;
}

tr:nth-child(even) {
    background-color: inherit;
}

td {
    padding: 0 !important;
    font-size: 14px;
    border: 1px solid #ddd !important;
}

.fc-slats td {
    height: 40px !important;
}

.fc-axis {
    font-size: 16px;
    width: 55px !important;
    text-align: left !important;
}

.darker {
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
}

.dFlex {
    position: absolute;
    z-index: 20000;
    display: flex;
    width: 100%;
    height: 100vh;
    align-items: center;
    justify-content: center;
}

.dInfo {
    width: 96%;
    max-width: 500px;
    background-color: white;
    border: 5px solid black;
    padding: 25px;
    border-radius: 7px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    -ms-border-radius: 7px;
    -o-border-radius: 7px;
    font-size: 1em;
    text-align: left;
    line-height: 1.4em;
}

.dInfo h1 {
    border: 0;
    margin: 0 0 10px 0;
    padding: 0 0 0 0;
    font-size: 18px;
}

.dInfo img {
    max-width: 100%;
    margin-bottom: 20px;
}

.pBtn {
    display: inline-block;
    background-color: #c61b43;
    color: white;
    margin-top: 20px;
    font-weight: 600;
    padding: 15px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    text-decoration: none;
    width: 100%;
}

.pBtn:hover {
    background-color: #003a6c;
    color: white;
}

.close {
    float: right;
    width: 54px;
    height: 54px;
    background-image: url(close.png);
    background-repeat: no-repeat;
    cursor: pointer;
    margin-top: 20px;
    background-size: 35px;
    background-position: center;
}

.halfer {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.cCont {
    width: 50%;
    padding-right: 30px;
}

.cSet {
    width: 50%;
}

td.fc-day.fc-past {
    background-color: #EEEEEE;
}

@media screen and (max-width: 800px) {
    .halfer {
        padding: 0 4%;
    }

    .cCont {
        width: 100%;
        padding-right: 0;
        padding-bottom: 30px;
    }

    .cSet {
        width: 100%;
    }

    #calendar {
        width: 100%;
    }

    .dInfo {
        font-size: .9em;
    }

    .fc-axis {
        font-size: 12px;
    }

    th {
        font-weight: 500;
        font-size: 14px;
    }

    .dInfo h1 {
        border: 0;
        margin: 0 0 0 0;
        padding: 0 0 0 0;
        font-size: 18px;
    }

    .rwdLan,
    .rwdValuta,
    .rwdLogin,
    .rwdBasket {
        display: none;
    }

    .header {
        height: auto;
    }

    .vsebina {
        margin-top: -15px;
    }

    .wrapper {
        background-position: right 0;
padding-top: 30px;
    }
}
/* ------------------------------------------------------------------
   Zaprti termini in legenda pod koledarjem
   (ponedeljek zaprto, nedelja rezervacije do 17.00)
   ------------------------------------------------------------------ */

/* zaprti termini naj bodo jasno vidno sivi, ne komaj opazni */
.fc-nonbusiness {
    background: #ededed !important;
    opacity: 1 !important;
}

.cal-legend {
    float: left;
    width: 100%;
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.8em;
    color: #555;
}

.cal-legend .lg {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 7px;
    border: 1px solid #ddd;
    vertical-align: -2px;
}

.cal-legend .lg-zasedeno {
    background-color: #2C3E50;
    border-color: #2C3E50;
}

.cal-legend .lg-zaprto {
    background-color: #ededed;
}

.cal-legend .lg-prosto {
    background-color: #fff;
}
