.selections {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
}

.selections select {
    width: 100%;
}

.doctors-list:not(.active) {
    display: none;
}

.doctors-list {
    padding: 20px 0;
    gap: 10px;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
}

.doctors-list__doctor__image > img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
}

.doctors-list__doctor__info span:first-child {
    font-size: 13px;
    font-weight: 600;
    color: #252525;
}

.doctors-list__doctor {
    padding: 15px;
    cursor: pointer;
    border-radius: 5px;
    background-color: #ffffff;
    position: relative;
    border: 2px solid #e1e1e1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.doctors-list__doctor.active {
    border: 2px solid #467fde;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .2);
}

.doctors-list__doctor.active:before {
    width: 21px;
    height: 21px;
    content: "\6c";
    font-family: 'doc-font';
    position: absolute;
    top: -5px;
    left: -5px;
    border-radius: 100%;
    background-color: #467fde;
    color: #fff;
    display: flex;
    z-index: 10;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.doctors-list__doctor__image {
    flex-shrink: 0;
}


.doctors-list__doctor:hover {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .2);
}

.new-calendar-wrapper {
    margin: 20px 0;
}

#visitInfoModal a {
    text-decoration: underline;
}

.eventFormInputs {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
}

.eventFormInput {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
}

.eventFormInput.full {
    grid-column: span 2;
}

.eventFormInput.inputRow {
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.eventFormInput > label {
    font-weight: 600;
    font-size: 16px;
}

#eventForm button[type='submit'] {
    width: 100%;
    height: 40px;
    background-color: #363636;
    color: #fff;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
}

#eventForm button[type='submit']:hover{
    background-color: #000;
}

#eventForm .form-control {
    height: 35px;
    font-size: 14px;
}

#eventForm textarea.form-control {
    height: 60px;
}

#eventForm #insurance_info span:first-child {
    font-weight: 600;
}

#eventForm .eventFormRadio {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    position: relative;
}

#eventForm .eventFormRadio input {
    display: none;
}

#eventForm .eventFormRadio label {
    display: flex;
    flex-direction: row;
    align-items: start;
    gap: 10px;
}

#eventForm .eventFormRadio label:before {
    width: 20px;
    height: 20px;
    border: 1px solid #dedede;
    content: "";
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#eventForm .eventFormRadio input:checked + label:before {
    content: "l";
    font-family: 'doc-font';
    font-size: 12px;
}

#visitInfoModal i.icon-close-popup, #visitCreateModal i.icon-close-popup, #visitEditModal i.icon-close-popup, #servicesModal i.icon-close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    cursor: pointer;
    color: #363636;
}

#visitInfoModal .visit-actions {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

span.error {
    font-size: 12px;
    color: red;
    border: 0 !important;
}

.fc .fc-timegrid-slot {
    height: 25px;
}

.fc-timegrid-event .fc-event-main {
    padding: 3px 5px 0;
    font-size: 13px !important;
}

.fc-v-event .fc-event-main {
    color: #2f2f2f;
    height: 100%;
    letter-spacing: 0.2px;
    font-weight: 600;
    font-family: 'Arial';
}

label.error {
    font-size: 12px;
    color: red;
}

.fc-timegrid-event, .fc-timegrid-more-link {
    font-size: 13px !important;
}

#select-services {
    font-size: 14px;
    text-decoration: underline;
}

#servicesModal button {
    width: 100%;
    height: 40px;
    background-color: #363636;
    color: #fff;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
}

#services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
    max-height: 300px;
    overflow: auto;
}

#services-list li {
    font-size: 14px;
    text-align: left;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
    padding-right: 15px;
}

#services-list li label {
    font-weight: 400;
    margin-bottom: 0;
    padding-top: 0;
}

#services-list li input[type='checkbox'] {
    margin-top: 0;
}

#services-list li label span {
    font-weight: 600;
}

#services-search {
    height: 40px;
    padding: 0 15px;
    width: 100%;
    margin-bottom: 20px;
}

#customers-list {
    list-style: none;
    text-align: left;
    margin: 10px 0 0 0;
    padding: 0;
    width: 100%;
}

#customers-list li {
    width: 100%;
    font-size: 14px;
}

#customers-list li:first-child {
    font-weight: 600;
    padding-bottom: 5px;
}

#customers-list li:not(:first-child) {
    cursor: pointer;
    padding: 5px;
    border-bottom: 1px solid #dedede;
}

#customers-list li:not(:first-child):hover {
    background-color: #dedede;
}

#procedures-list {
    list-style: none;
    text-align: left;
    margin: 10px 0 0 0;
    padding: 0;
    width: 100%;
}

#procedures-list li {
    width: 100%;
}

#procedures-list li:first-child {
    font-weight: 600;
    padding-bottom: 5px;
}

#procedures-list li:not(:first-child) {
    cursor: pointer;
    padding: 5px;
    border-bottom: 1px solid #dedede;
}

#procedures-list li:not(:first-child):hover {
    background-color: #dedede;
}

#insurance_info {
    font-size: 14px;
    margin-top: 10px;
    text-align: left;
    display: flex;
    flex-direction: column;
}

#insurance_info span {
    color: green;
    font-weight: 600;
}

#insurance_info .insurance-checkbox {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

#visits-history {
    margin-top: 10px;
    text-align: left;
    margin-bottom: 30px;
}

#visits-history h4 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 15px;
}

#visits-history h4 span {
    font-weight: 600;
}

#visits-history ul {
    padding: 0;
    margin: 0;
    list-style: none;
    max-height: 400px;
    overflow: auto;
}

#visits-history ul li {
    padding: 10px;
    border: 1px solid #dedede;
    margin-bottom: 5px;
}

#visits-history ul li.innactive {
    opacity: 0.6;
    pointer-events: none;
}

#visits-history ul li p span {
    font-weight: 600;
}

#visits-history ul li p {
    margin-bottom: 0;
}


#visits-history ul li p.visit-date {
    font-weight: 600;
    font-size: 16px;
}

#visits-history ul li p.visit-comments {
    font-weight: 16px;
    font-weight: 600;
}

.cal-response {
    display: none !important;
}

#customer-search-home {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    gap: 10px;
}

#customer-search-home-input {

}

#customers-list-home li {
    font-size: 16px;
    margin-bottom: 5px;
    text-align: left;
    cursor: pointer;
}

#customers-list-home li:hover {
    text-decoration: underline;
}

@media(max-width: 768px) {
    .doctors-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
