html {
    font-size: 14px;
}

/* Styling for the Bootstrap Select container and button */
.gfield_select.bootstrap-select {
    width: 100% !important;
}

.gfield_select.bootstrap-select .dropdown-toggle {
    /* background-color: #fff !important; */
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    /* padding: 8px 12px !important; */
    font-size: 15px !important;
    /* color: #333 !important; */
}

/* Validation error styling */
.gfield_error .bootstrap-select .dropdown-toggle {
    border-color: #df3312 !important;
    background-color: #fff6f6 !important;
    color: #212529 !important;
}

.gfield_error .bootstrap-select .dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(223, 51, 18, 0.25) !important;
}

/* Style the dropdown menu items */
.bootstrap-select .dropdown-menu {
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175) !important;
}

.bootstrap-select .dropdown-menu .dropdown-item {
    padding: 8px 16px !important;
    font-size: 14px !important;
}


.bootstrap-select .dropdown-menu .dropdown-item .text {
    display: block !important;
    white-space: normal !important;
    /* Allow course content to wrap properly */
}

/* Style the course description and meta inside dropdown options */
.bootstrap-select .dropdown-menu .dropdown-item small.text-muted {
    display: block !important;
    margin-top: 4px !important;
    font-size: 13px !important;
    color: #6c757d !important;
    line-height: 1.4 !important;
}

.bootstrap-select .dropdown-menu .dropdown-item small.text-muted p {
    margin: 0 0 6px 0 !important;
}

.bootstrap-select .dropdown-menu .dropdown-item small.text-muted p:last-child {
    margin-bottom: 0 !important;
}

.bootstrap-select .dropdown-menu .dropdown-item.selected {
    color: #fff !important;
    text-decoration: none;
    background-color: #337ab7;
    outline: 0;
}

.bootstrap-select .dropdown-menu .dropdown-item.selected .text-muted{
    color: #fff !important;
}


.gform_legacy_markup_wrapper .gfield_checkbox li input[type=checkbox] {
    vertical-align: top;
    margin-right: 6px;
}

.gform_legacy_markup_wrapper.gform_wrapper select{
    padding-right: 26px;
}

.gform_wrapper .ginput_container_fileupload .gfield_description{
    display: inline-block;
    margin-left: 0 !important;
    margin-top: 0;
    font-size: 12px;
    padding-top: 8px;
}

.gform_legacy_markup_wrapper input:not([type=radio]):not([type=checkbox]):not([type=image]):not([type=file]), .gform_legacy_markup_wrapper select, .gform_legacy_markup_wrapper .dropdown-toggle{
    min-height: 42px !important;
}

.gform_legacy_markup_wrapper h3.gform_title{
    margin-bottom: 48px;
}

@media (min-width: 641px) {
    .dropdown.bootstrap-select.gfield_select {
        width: 70% !important;
    }
}

@media (max-width: 641px){
    .bootstrap-select.gfield_select .filter-option,
    .bootstrap-select.gfield_select .bs-caret{
        margin-bottom: 0 !important;
    }
}