﻿div.field-wrap > input::placeholder {
    color: #bfbcbc !important;
}

div.course-cost-container
{
    margin-top: 25px;
}

div.field-wrap.location-wrap .select2-container {
    width: fit-content;
    height: fit-content;
}

span.select2.select2-container.select2-container--default.error{
    height: 45px;
}


#select2-location-container,
div.field-wrap.location-wrap > span.select2 > span.selection,
span.select2.select2-container.select2-container--default.error, div.field-wrap.location-wrap .select2-container,
div.field-wrap.location-wrap > span.select2 > span.selection > span.select2-selection {
    margin-bottom: 0;
}

div.disclaimer {
    font-size: 12px;
    line-height: 22px;
    margin-bottom: 20px;
}

span.event-place.address, span.event-time.working-hours, span.course-date {
    background-position: left top 2px;
}

table.location td:first-child {
    width: 5% !important;
    font-weight: 600;
    text-align: left;
    padding-left: 0 !important;
}

table.location td:last-child {
    width: 20px !important;
    text-align: left;
}

.presentor {
    margin-bottom: 19px;
    background: url(../../images/person.png) no-repeat left 5px;
    background-size: 24px;
    padding-left: 34px;
}

.cost-icon {
    margin-bottom: 19px;
    background: url(../../images/dollar.png) no-repeat left 5px;
    background-size: 24px;
    padding-left: 34px;
}

.card-icon {
    margin-bottom: 19px;
    background: url(../../images/card.png) no-repeat left 5px;
    background-size: 24px;
    padding-left: 34px;
}

div.course-details > .cost-icon, div.course-details > .card-icon, div#course-location > .address {
    background-position: left;
}

div#submit-details {
    margin-bottom: 10px !important;
}

div#course-location {
    margin-top: 10px !important;
}

section.course-form-section {
    margin: 60px 0;
}

section.course-form-section > div.container {
    padding: 60px 91px 42px 60px;
    background: #fff;
    box-shadow: 0 4px 19px rgba(0, 0, 0, .17);
    max-width: 990px;
    margin: 0 auto;
}

div#course-form {
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

div#course-form > h2 {
    padding-left: 0 !important;
    font-size: 36px;
    line-height: 39px;
}

.course-details {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping to the next row */
    gap: 10px; /* Adds space between items */
}

.course-details span {
    flex: 1 1 48%; /* Each span takes up 48% of the row width, with flexibility */
}

div.event-details {
    margin-bottom: 25px !important;
}

.event-details .event-time{
    margin-right: 0 !important;
}

div.field-wrap > input {
    font-size: 16px;
    line-height: 28px;
    letter-spacing: .01em;
    background-color: #f4f4f4;
    border: 1px solid #f4f4f4;
    color: #666;
}

div.field-wrap > input.error, .error {
    border : 1px solid red;
}

div.field-wrap > div.validation-message {
    color: red;
    font-size: 12px;
    padding: 8px 2px;
    line-height: 16px;
}

div.field-wrap.location-wrap {
    padding-left: 33px;
    margin-bottom: 0;
}

div.field-wrap.location-wrap  > select
{
    width: 50% !important;
}

div.tab.success-screen.flex-center-center {
    flex-direction: column;
    gap: 30px;
}

div.event-details,
div.success-message-header > img,
div.success-message-header > h2,
div.success-message-footer > div.footer-socials.flex > a,
div.success-message-footer > div.footer-socials.flex > a > img,
div.success-message-container > p,
div#course-form > h3{
    margin-bottom: 0 !important;
}

div.success-message-footer > div.footer-socials.flex > a {
    margin-right: 0 !important;
}

div.success-message-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-grow: 1;
    align-items: center;
    gap: 16px;
}

div.success-message-header > img {
    width: 40px;
}

div.success-message-container, div.success-message-footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

div.success-message-footer > div.footer-socials.flex {
    justify-content: center;
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    gap: 16px;
    justify-content: center;
}

div#submit-details > div.btns-group {
    justify-content: end !important;
}

div.hb-dropdown {
    position: relative;
}

#dropdownInput {
    width: 100%;
    box-sizing: border-box;
    padding: 5px 8px;
    border: 1px solid #ccc;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: .01em;
    background-color: #f4f4f4;
    border: 1px solid #f4f4f4;
    color: #666;
}

#dropdownInput.invalid {
    border-color: red;
}

.error-message {
    color: red;
    font-size: 14px;
    margin-top: 4px;
    display: none;
}

.dropdown-content {
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    border-top: none;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    z-index: 999;
}

.dropdown-item {
    padding: 10px;
    cursor: pointer;
}

.dropdown-item:hover {
    background-color: #f0f0f0;
}

@media screen and (max-width: 580px) {

    div#course-form {
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .course-details {
        display: flex;
        flex-direction:column; /* Allows wrapping to the next row */
        gap: 10px; /* Adds space between items */
    }

    span.event-time.working-hours{
        background-position: left top 5px;
    }

    .cost-icon {
        background-position-y: 0 !important;
    }

    section.course-form-section > div.container{
        padding: 0 !important;
    }

    div.tab.success-screen.flex-center-center{
        padding: 40px;
    }

    div#course-form > h2 {
        font-size: 30px !important;
    }

    div#submit-details > div.btns-group {
        justify-content: start !important;
    }
}
