

.appointment-calendar-select-old {
    margin-top: 25px;

    border-bottom: 1px solid rgba(0,0,0,.1);
}

.appointment-calendar-select-old:first-of-type {
    margin-top: 0;
}

.appointment-calendar-select-old:last-of-type {
    margin-bottom: 0;

    border-bottom: 0;
}

.appointment-calendar-select-old__heading {
    /*margin-bottom: 5px;*/
    margin-top: 5px !important;
    margin-bottom: 25px;

    font-size: 1.75rem;
}

.appointment-calendar-select-old:first-of-type .appointment-calendar-select-old__heading {
    margin-top: 0;
}

.appointment-calendar-select-old__list {
    margin-bottom: 20px;
    list-style-type: none;
    margin-left: 0;
    padding-left: 0;
}

.appointment-calendar-select-old:last-of-type .appointment-calendar-select-old__list {
    margin-bottom: 0;
}

.appointment-calendar-select-old__calendar {
    margin-bottom: 10px;
    padding: 12px 20px;
    /*font-weight: bold;*/
    border: 1px solid #eeeeee;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.appointment-calendar-select-old__calendar:hover {
    background-color: #f5f5f5;
}

.appointment-calendar-select-old__calendar-name {
    display: inline-block;
    position: relative;
    top: 2px;

    font-family: "Fira Sans Condensed", sans-serif;
    font-weight: 600;
    letter-spacing: -0.5px;
    font-size: 1.25rem;
}

.appointment-calendar-select-old__calendar-description {
    margin: 10px 0 5px 19px;

    white-space: pre-wrap;
}

.appointment-calendar-select-old__button {
    position: relative;
    top: -1px;
}

@media screen and (max-width: 600px) {
    .appointment-calendar-select-old__periods-info {
        display: block;
    }
}


.appointment-calendar-select {
    margin-top: 25px;

    border-bottom: 1px solid rgba(0,0,0,.1);
}

.appointment-calendar-select:first-of-type {
    margin-top: 0;
}

.appointment-calendar-select:last-of-type {
    margin-bottom: 0;

    border-bottom: 0;
}

.appointment-calendar-select__heading {
    /*margin-bottom: 5px;*/
    margin-top: 5px !important;
    margin-bottom: 25px;

    font-size: 1.75rem;
}

.appointment-calendar-select:first-of-type .appointment-calendar-select__heading {
    margin-top: 0;
}

.appointment-calendar-select__list {
    margin-bottom: 20px;
    list-style-type: none;
    margin-left: 0;
    padding-left: 0;
}

.appointment-calendar-select:last-of-type .appointment-calendar-select__list {
    margin-bottom: 0;
}

.appointment-calendar-select__calendar {
    margin-bottom: 20px;
    /*font-weight: bold;*/
    border: 1px solid #eeeeee;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    overflow: hidden;

    transition: all 0.2s;
}

.appointment-calendar-select__calendar:last-of-type {
    margin-bottom: 10px;
}

.appointment-calendar-select__calendar:hover {
    /*background-color: #f5f5f5;*/
    border-color: #c9dbef;
}

.appointment-calendar-select__calendar-main {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 10px 10px 10px 20px;

    background: #f5f5f5;
    transition: all 0.2s;
    cursor: pointer;
}

.appointment-calendar-select__calendar-main:hover {
    background: #eff6ff;
}

.appointment-calendar-select__calendar-name-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.appointment-calendar-select__calendar-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;

    margin-right: 20px;
}

.appointment-calendar-select__calendar-icon svg {
    /*height: 50px;*/
    height: 100%;
    width: 100%;
}

.appointment-calendar-select__calendar-icon svg * {
    /*stroke-width: 5px;*/
    stroke: #d0041d;
    fill: #d0041d;
}

.appointment-calendar-select__calendar-name {
    display: inline-block;
    position: relative;

    font-family: "Fira Sans Condensed", sans-serif;
    font-weight: 600;
    letter-spacing: -0.5px;
    font-size: 1.25rem;
    line-height: 1.2;
}
/*.appointment-calendar-select__calendar-name:before {*/
/*    margin-right: 10px;*/

/*    content: "•";*/
/*}*/

.appointment-calendar-select__button-container {
    display: flex;
    /*flex-direction: column;*/
    justify-content: flex-end;
    align-items: center;

    min-width: 450px;
}

.appointment-calendar-select__button {
    position: relative;
    /*top: -1px;*/
}

.appointment-calendar-select__periods-info {
    margin-right: 24px;
}

.appointment-calendar-select__calendar-description {
    /*margin: 10px 0 5px 19px;*/
    padding: 15px 20px;

    white-space: pre-wrap;
    border-top: 1px solid #eeeeee;
}

@media screen and (max-width: 1000px) {
    .appointment-calendar-select__calendar-main {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 20px 20px;
    }

    .appointment-calendar-select__button-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;

        min-width: 0;
        width: 100%;
        margin-top: 20px;
    }

    .appointment-calendar-select__button {
        display: block !important;
        width: 100%;
    }

    .appointment-calendar-select__periods-info {
        display: block;
        margin-right: 0;
        margin-bottom: 7px;
    }
}

.calendar-week {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

    margin: 20px 0 10px;
    overflow: hidden;
}

.calendar-week__day {
    position: relative;
    padding: 15px 20px;
    width: calc(100% / 7 - 10px);

    border: 1px solid #eeeeee;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.calendar-week--5days .calendar-week__day {
    width: calc(100% / 5 - 10px);
}

.calendar-week--5days .calendar-week__day:nth-child(7n), .calendar-week--5days .calendar-week__day:nth-child(7n-1) {
    display: none;
}

.calendar-week__day--off {
    background: #ffeaea;
    border-color: #ffb0b0;
}

.calendar-week__weekday {
    color: #888888;

    font-family: "Fira Sans Condensed", sans-serif;
    font-size: 1.0rem;
    font-weight: 400;
    text-align: center;
}

.calendar-week__date {
    margin-bottom: 20px;

    /*color: #c71e2a;*/

    font-family: "Fira Sans Condensed", sans-serif;
    font-size: 1.375rem;
    text-align: center;
}

.calendar-week__day--off .calendar-week__date {
    color: #c71e2a;
}

.calendar-week__periods-container {
    margin-top: 20px;
}

.calendar-week__period {
    display: block;
    margin-bottom: 5px;

    border: 1px solid #eee;
    border-radius: 5px;
    color: var(--color-main);

    font-size: 1.0rem;
    text-align: center;
    line-height: 1.6rem;

    transition: all 0.2s;
}

.calendar-week__period:hover {
    background: #f5f5f5;
    border-color: #c9dbef;

    text-decoration: none;
}

.calendar-week__period.period-select-link {
    font-weight: bold;
}

.l-body--site .calendar-week__period {
    /*font-weight: 400;*/
}

.calendar-week__period--already-reserved {
    position: relative;

    /*background: #007bff;*/
    /*border-color: #007bff;*/
    background: var(--color-main);
    border-color: var(--color-main);
    color: #ffffff;
}

.calendar-week__period--already-reserved:hover {
    /*background: #007bff;*/
    /*border-color: #007bff;*/
    background: var(--color-main);
    border-color: var(--color-main);
    color: #ffffff;
    opacity: 0.8;
}

.calendar-week__period--already-reserved:after {
    position: absolute;
    right: -10px;
    top: 50%;

    display: flex;
    justify-content: center;
    align-items: center;
    width: 17px;
    height: 17px;

    background: #ffffff;
    /*color: #007bff;*/
    color: var(--color-main);
    border-radius: 50%;
    transform: translateY(-50%);

    content: "\f058";
    font-size: 0.675rem;
    font-family: 'FontAwesome', 'Lato', 'Open Sans', sans-serif;
}

.calendar-week__period--not-available {
    color: #aaaaaa;
}

.calendar-week__period--admin-video {
    position: relative;

    background: #eff7ff;
}

.calendar-week__period--admin-video:after {
    position: absolute;
    left: -10px;
    top: 0;

    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;

    background: #0056B3;
    color: #ffffff;
    border-radius: 50%;
    transform: translateY(-50%);

    content: "\f03d";
    font-size: 0.675rem;
    font-family: 'FontAwesome', 'Lato', 'Open Sans', sans-serif;
}

.calendar-week__no-periods {
    color: #aaaaaa;

    font-style: italic;
    text-align: center;
}

.calendar-week__day-off-description {
    color: #c71e2a;

    font-weight: bold;
    text-align: center;
}

#status-select + .btn-group .multiselect-container {
    width: inherit;
}

.repeat-period-checkbox .custom-control-label:before, .repeat-period-checkbox .custom-control-label:after {
    top: 0.28rem;
}

@media screen and (max-width: 900px) {
    .calendar-week__day {
        width: calc(100% / 2 - 10px);
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 450px) {
    .calendar-week__day {
        width: 100%;
        margin-bottom: 20px;
    }
}

/*
================================================== !!! ==================================================
	WIDEOWIZYTY
================================================== !!! ==================================================
*/

.appointment-video {
    position: relative;

    width: 100%;
    height: calc(100vh - 220px);

    border: 0;
    border-radius: 10px;
}

.appointment-video__iframe {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;
    overflow: hidden;

    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    border: 0;
}

.appointment-video__splash {
    position: relative;
    z-index: 2;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    width: 100%;
    height: 100%;
    min-height: fit-content;

    background: #f3f3f3;
}

.appointment-video__splash-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    width: 100%;
    height: 100%;
    min-height: fit-content;
    padding: 30px;


    background: #ffffff;
    border: 1px solid #0a6aa1;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.appointment-video__splash-datetime-container {
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 15px 20px;
    margin: 10px 0 20px;

    border: 1px solid rgba(0, 0, 0, 0.1);
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.appointment-video__splash-datetime-widget {
    display: flex;
    justify-content: center;
    align-items: center;

    margin: 0 15px;
}

.appointment-video__splash-icon {
    height: 30px;
    width: 30px;
}

.appointment-video__splash-icon svg {
    height: 30px;
    width: 30px;
}

.appointment-video__splash-icon svg * {
    /*fill: var(--color-main);*/
    /*stroke: var(--color-main);*/
}

.appointment-video__splash-datetime {
    margin-left: 15px;
}

.appointment-video__splash-description {
    /*display: flex;*/
    /*justify-content: center;*/
    /*align-items: center;*/

    padding: 25px 30px;
    margin: 30px 0;
    max-width: 600px;

    border: 1px solid rgba(0, 0, 0, 0.1);
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    background: #f5f5f5;
}

@media screen and (max-width: 1280px) {
    .appointment-video {
        height: calc(100vh - 180px);
    }
}

@media screen and (max-width: 600px) {
    .appointment-video {
        min-height: 100vh;
        height: auto;
    }

    .appointment-video__splash-datetime-container {
        flex-direction: column;
    }

    .appointment-video__splash-datetime-widget:first-child {
        margin-bottom: 10px;
    }
}