body {
    background-color: rgba(242, 245, 245, 1);
    color: #333333;
    font-family: 'Source Sans Pro';
    overflow-y: scroll;
}

main {
    margin-top: 30px;
}

a {
    color: #f59b00;
}

a:hover {
    color: #584839;
}

.logo-container {
    position: relative; /* absolute; */
    margin-top: 20px;
}

.logo-container img {
    height: 60px;
}

.location-filter {
    position: relative;
    transition: height 0.5s;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175);
    cursor: pointer;
}

.location-filter.open {
    background-color: #fff;
}

.location-filter.open .filter-content {
    display: block;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175);
}

.filter-content {
    display: none;
    position: absolute;
    width: 100%;
    max-height: 75vh;
    margin-top: 5px;
    overflow-y: scroll;
    z-index: 1;
    background-color: #fff;
}

.location-filter.open .location {
    display: flex;
}

.location {
    padding: 15px;
    display: none;
    /*min-height: 78px;*/
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
}

.location:hover {
    background-color: rgba(242, 242, 242, 1);
    color: rgba(89, 89, 89, 1);
}

.location span {
    display: block;
}

.location.active-location {
    display: flex;
    border-radius: 5px;
}

.location.active-location:hover {
    background-color: rgba(64, 64, 64, 1);
    color: rgba(255, 255, 255, 1);
}

.location.active {
    display: flex;
}

.filter-row {
    padding: 15px 0;
    margin-bottom: 20px;
    margin-top: 20px;
}

.filter-row .col-md-7 {
    align-items: center;
    display: flex;
    padding-right: 30px;
    padding-left: 30px;
}

.filter-row .col-md-7 h2 {
    color: #f59b00;
    font-weight: 700;
}

.calendar-container-row {
    margin-bottom: 20px;
}

#calendar-section,
#particulars-section {
    min-height: 100vh;
}

#particulars-section {
    display: none;
    padding: 0 0 4vh 0;
}

#particulars-section h2 {
    color: #f59b00;
    font-weight: 700;
}

.particulars-top-row {
    padding: 15px 0;
    margin-bottom: 20px;
    margin-top: 20px;
}

.particulars-top-row .col-12 {
    padding-left: 30px;
    padding-right: 30px;
}

.loader {
    text-align: center;
    margin-bottom: 40px;
}

.loader i {
    color: #999;
}


/* ================= CALENDAR ================= */
#calendar {}

.datetime-container {
    height: 100%;
    padding: 15px;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, .8);
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.datetime-container h2 {
    color: #f59b00;
    font-size: calc(2rem * .8);
    font-weight: 700;
    margin-bottom: 30px;
}

.calendar-row {
    display: flex;
    justify-content: space-between;
}

.calendar-row div:first-child {
    padding-left: 0;
}

.calendar-row div:last-child {
    padding-right: 0;
}

.calendar-cell {
    /*width: 50px;*/
    padding: 5px;
    /*display: inline;*/
    text-align: center;
    flex: 1;
}

.calendar-header-cell {
    height: 50px;
}

.calendar-day {
    cursor: default;
    display: inline-block;
    background-color: #ccc;
    padding: 25px 0;
    border-radius: 5px;
    width: 100%;
}

.calendar-day.outside-month {
    background-color: #eee;
    color: #ccc;
}

.calendar-day.date-available {
    cursor: pointer;
    background-color: #f59b00;
    color: #fff;
}

.calendar-day.active {
    color: #000;
}

.calendar-day.date-appointments-fully-booked {
    background-color: #ccc;
    color: rgba(89, 89, 89, 1);
}

.calendar-day.active,
.timeslot.active {
    background-color: #584839;
    color:#ffffff;
}

.calendar-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    align-items: center;
}

.calendar-top h3 {
    font-size: calc(1.5rem * .8);
    font-weight: 700;
}

.calendar-control {
    border-radius: 5px;
    padding: 15px 25px;
    background-color: lightgrey;
    color: rgba(64, 64, 64, 1);
}

.calendar-control.blocked {
    background-color: #eee;
    color: #ccc;
    cursor: default;
}

.calendar-control:not(.blocked):hover {
    background-color: rgba(64, 64, 64, 1);
    color: rgba(255, 255, 255, 1);
}

.calendar-control:not(.blocked):active {
    opacity: .8;
}

.previous-month {

}

.next-month {

}

.timeslot-notice {
    display: none;
}

.timeslot {
    display: inline-block;
    background-color: #ddd;
    border-radius: 5px;
    padding: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

.timeslot.active {
    color: #ffffff;
}

.timeslot-container {
    max-height: 734px;
    overflow-y: scroll;
}

#timeslot-selector h3 {
    font-size: calc(1.5rem * .8);
    font-weight: 700;
}

.continue-button,
.continue-button.clickable {
    background-color: #584839;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175);
    color: rgba(255, 255, 255, 1);
    font-weight: 700;
}

.continue-button {
    cursor: default;
    border-radius: 5px;
    border: 0;
    float: right;
    padding: 20px 40px;
    opacity: .5;
}

.continue-button.clickable {
    cursor: pointer;
    opacity: 1;
}

.continue-button.clickable:hover {
    background-color: #584839;
}

.continue-button.clickable:active {
    opacity: .8;
}

/* ================= END OF CALENDAR ================= */

/* ================= FORM ================= */

#formular {
    padding-left: 15px;
    padding-right: 15px;
}

#formular {
    border: none;
}

#formular input {
    border: none;
    box-shadow: none;
    height: 60px;
    padding: 0 30px;
}

#formular input[type=checkbox] {
    height: auto;
}

#formular .btn {
    background-color: #584839;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175);
    color: rgba(255, 255, 255, 1);
    font-weight: 700;
    border-radius: 5px;
    border: 0;
    float: right;
    padding: 20px 40px;

}

#formular .btn:hover {
    background-color: #584839;
}

#formular label {
    font-weight: 700;
}

.alert {
    border: none;
    margin-left: 15px;
    margin-right: 15px;
}

.alert ul {
    margin: 0;
}

.alert-danger {
    background-color: #ff8b6b;
    color: #fff;
}

.alert-success {
    background-color: #bbff6b;
    color: inherit;
}

.confirm-appointment-change {
    color: #f59b00;
}

#yform-formular-date,
#yform-formular-time,
#yform-formular-location {
    display: none;
}

/* ================= END OF FORM ================= */

@media (max-width: 1200px) {

}

@media (max-width: 992px) {

}

@media (max-width: 768px) {
    #particulars-section h2 {
        line-height: 50px;
    }
}

@media (max-width: 576px) {
    .calendar-cell {
        padding: 2px;
    }

    .calendar-control {
        padding: 10px 15px;
    }

    .calendar-day {
        padding: 18px 0;
    }

    .timeslot {
        margin-bottom: 5px;
        margin-right: 5px;
    }
}

@media (max-width: 480px) {
    .calendar-day {
        padding: 12px 0;
    }
}