/* utilyty classes */

/* Default: Hide the element */
.visible-mobile { display: none !important; }

/* Show only on small screens (mobile: <768px) */
@media (max-width: 767.98px) { 
    .visible-mobile { display: block !important; } 
}

/* Hide only on small screens (mobile: <768px) */
@media (max-width: 767.98px) { 
    .hidden-mobile { display: none !important; } 
}

.alert.alert-danger
{
    background-color: red; color: #fff!important; padding: 1rem; border-radius: 3px; text-align: left;
    margin-bottom: 5px;
}

.alert.alert-success
{
    background-color: green; color: #fff!important; padding: 1rem; border-radius: 3px; text-align: left;
    margin-bottom: 5px;
}

.alert.alert-info
{
    background-color: blue; color: #fff!important; padding: 1rem; border-radius: 3px; text-align: left;
    margin-bottom: 5px;
    width: 100%;
}

form#form_time_selection
{
    display:none;
}

div.time-slots
{
    width:100%;
}

.btn-default.instructorBtn
{
    margin-right:5px;
}

div.right
{
    float:right;
}

div.right .btn-default
{
    margin: 15px 0px 5px 5px;
}

a.btn-default
{
    display: inline-block;
}

.appo-red .validation-blue
{
    background-color: blue; color: #fff!important; padding: 1rem; border-radius: 10px; text-align: left;
}

.logo img
{
    max-width: 190px;
    max-height: 121px;
}

/* custom */
.appo-red .table tbody .name {
    cursor: pointer;
 }

.arrow-line {
    height: 2px;
    width: 100%;
    background: #4c69e7;
    position: relative;
    display: inline-flex;
    min-width: 150px;
    align-items: center;
    justify-content: space-between;
}

.arrow-line .arrow {
    border: solid #4c69e7;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.appo-red .main-card {
    max-width: 100%;
}

.appo-confirm .stepper,
.verification .stepper,
.appo-date .stepper,
.appo-red .stepper 
{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.appo-confirm .stepper,
.verification .stepper,
.appo-date .main-card,
.appo-date .stepper,
.appo-red .main-card,
.appo-red .stepper {
    max-width: 100%;
    margin-right: 1rem !important;
    margin-left: 1rem !important;
}

.appo-confirm .stepper ul,
.verification .stepper ul,
.appo-date .stepper ul,
.appo-red .stepper ul {
    gap: 20px;
}

.services-input-container form {
    display: flex;
    flex-wrap: wrap;
    gap:  10px;
    flex-direction: column;
}

.services-input-container .service-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.services-input-container .service-row .col {
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-start;
}

.services-input-container .service-row input, .services-input-container .service-row select, .services-input-container .service-row button {
    margin: 0;
}


.appo-confirm .wrapper-responses {
    max-width: 1005px;
    margin-left: auto;
    margin-right: auto;
}

textarea.form-control {
    height: 120px;
}

@media (width > 991px) {
    .arrow-line .arrow:first-child {
        opacity: 0;
        width: 0;
        padding: 3px 0;
    }
}

@media (width <= 991px) {
    .arrow-line .arrow {
        border-width: 0 2px 2px 0;

    }
    .arrow-line .arrow:not(:first-child) {
        display: none;
    }

    .arrow-line {
        justify-content: flex-end;
        min-width: 50px;
    }
}

@media (width <= 768px) {
    .service-row .col:last-child {
        flex: 0 0;
    }

    .services-input-container .service-row .col {
        flex: 1 2 auto;
    }


    .day.service-row  .col-day-dates {
        display: flex;
        flex-wrap: wrap;
    }

    .day.service-row .day-from-to-wrapper,
    .day.service-row .day-from-btns {
        width: 100%;
    }

    .day.service-row .day-from-to-wrapper {
        display: flex;
        gap: 10px;
        flex-direction: column;
    }

    .day.service-row .day-from-to-wrapper input, 
    .day.service-row .day-from-to-wrapper select {
        flex: 1 2 auto;
    }

    .day.service-row .day-from-to-wrapper .day-from {
        width: 50px;
    }

    .day.service-row .day-from-btns {
        justify-content: flex-end;
    }

    .verification .main-card,
    .appo-date .main-card,
    .appo-confirm .main-card,
    .appo-red .main-card {
        padding: .5rem 1rem;
    }

}

@media (width <= 640px) {
    .appo-red .stepper ul {
        list-style: none;
        padding: 0;
        display: flex;
        text-align: center;
        justify-content: space-evenly;
        position: relative;
        flex-wrap: wrap;
    }

    .services-input-container .service-row {
        padding-bottom: 10px;
    }
    
    .arrow-line {
        justify-content: flex-end;
        min-width: auto;
    }

    .column-revers-sm {}

    .btns-foot .btn {
        display: flex;
        flex-wrap: wrap;
        gap:
    10px;
        justify-content: space-between;
        align-items: flex-start;
        width: 100%;
        margin-top: 10px;
      }

    .btns-foot > .btn  > * {
        margin: 0 !important;
    }

    .validation-form .form-group {
        min-width: 100%;
    }
}

.validation-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 35px;
    --color-accent-error: red;
    --color-accent: #4c69e7;
}

.validation-form .form-label {
  display: block;
  margin-bottom: 8px;
color: #000;
}

.validation-form .hint {
    font-size: 12px;
  display: block;
  padding-top: 8px;
  color: rgb(107, 107, 107);
  font-style: normal;
  font-style: italic;
}

.validation-form .sc-group {
    position: relative;
}

.validation-form .sc-group .invalid-alert {
    color: var(--color-accent-error);
    position: absolute;
    bottom: 6px;
    left: 15px;
    font-size: 11px;
    visibility: hidden;
    display: inline-block;
}

.validation-form .sc-group .sc-input {
    transition: border 0.3s, padding-top 0.05s;
    outline: none;
}

.validation-form .sc-group select.sc-input {
    background: url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat;
    background-position: calc(100% - 0.75rem) center !important;
    -moz-appearance:none !important;
    -webkit-appearance: none !important; 
    appearance: none !important;
    padding-right: 2rem !important;
    cursor: pointer;
}

.validation-form .sc-group .sc-input:focus {
    border-color: var(--color-accent);
    transition: border 0.3s, padding-top 0.1s ease-in-out;
  }

.validation-form .sc-group .sc-input.error:not(:focus) {
    padding-top: 0;
    padding-bottom: 18px;
    border-color: var(--color-accent-error);
}

.validation-form .sc-group textarea.sc-input.error:not(:focus) {
    margin-bottom: 5px;
}

.validation-form .sc-group .sc-input.error:not(:focus) + .invalid-alert {
    visibility: visible;
}

.validation-form .sc-group label ~ .invalid-alert {
    padding-left: 73px;
} 

.validation-form .sc-group .form-control {
    min-height: 44px;
    box-sizing: border-box;
    margin: 0;
}


.validation-form .form-group {
    display: block;
    min-width: max(40%, 250px);
    flex: 1 2;
    margin-bottom: 0 !important;
}

.validation-form .form-group.w100 {
    min-width: 100%
}

.appo-red .service-row .btn {
    min-height: 36px;
    align-items: center;
}


@media (width <= 768px) {
    .appo-date.embed .stepper {
        margin: 5px auto !important;
    }

    .appo-date.embed section {
        margin-top: 0 !important;
    }

    .appo-date.embed .main-card h2 {
        margin-top: 5px;
    }

    .appo-date.embed .main-card > .mt-1,
    .appo-date.embed {
        margin-top: 0;
    }
}