/**
 * Theme Name: CMA SA Theme
 * Template: flatsome
 * Author: MultiSites
 * Author URI: https://multisites.co.za
 * Version: 1.0.6
 */

 h1, h2, h3, h4 {
    line-height: 1.1em;
 } 

.tech-link {
    display: flex;
    gap: 5px;
}
.tech-link a img {
    width: 25px;
}
.tech-link a {
    color: #1d4f91;
    text-decoration: none;
}
.column-header {
    display: flex;
	align-content: center;
    align-items: center;
}
.column-header img {
	width: 40px !important;
}
.column-header h3 {
	margin: auto 0 auto 0;
}
.link-pdf {
    padding-left: 20px;
    position: relative;
}
.link-pdf:before {
    content: url('/wp-content/uploads/2026/10/file-pdf-regular-full.svg');
    width: 16px;
    position: absolute;
    left: 0px;
    top: 0px;
}
form.search-form {
    display: flex;
    gap: 10px;
}

.members-results p {
    margin-bottom: 0px;
    line-height: 1.2em;
}
input.home-search {
    max-width: 240px;
    margin-bottom: 10px;
}
.home-search-stack {
    margin-bottom: 10px;
}
.grecaptcha-badge {
    display: none;
}

.search-results-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.search-results-header div {
    display: flex;
    justify-content: end;
    min-width: 40%;
    gap: 4px;
    align-items: center;
}
.search-results-header div span:not(.dots), .search-results-header div a {
    padding: 2px 8px;
    background: #eff1f3;
    display: block;
    line-height: 1em;
    border-radius: 4px;
}
.search-results-header div span:not(.dots) {
    background: #1c3796;
    color: #FFF;
}
.search-results-header.footer-pagination {
    justify-content: start;
}
.search-results-header.footer-pagination div {
    justify-content: start;
}
.search-page-content {
    display: grid;
    align-items: start;
    justify-content: start;
    justify-items: start;
    gap: 20px;
    padding: 20px;
    grid-template-columns: 20% 77%;
}
.members-results div {
    overflow-x: auto;
    overflow-y: hidden;
}
.download-button {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;  
    max-width: 450px; 
}
.download-button img {
    width: 20px;
}
.error404 .content-area {
    min-height: 80vh;
    align-content: center;
}
input.wpcf7-form-control:not(.wpcf7-submit), textarea.wpcf7-form-control, select.wpcf7-form-control {
    padding: 5px;
    box-shadow: none;
    margin: 4px 0 10px 0;
    font-weight: normal;
}
.wpcf7-response-output {
    border: none;
    border-radius: 4px;
    background: #e0e3f3;
}
.wpcf7-form-control.wpcf7-submit {
    border-radius: 4px;
}
.course-fees {
    justify-content: start;
    gap: 0px;
    border: solid #DDD 1px;
    padding: 5px 10px;
    align-items: center;
}
section.course-section.section {
    padding: 10px 10px 10px 10px;
}
.course-section .calendar-row {
    margin-top: 20px;
    margin-left: 0px !important;
    margin-right: 0px !important;
    margin-bottom: 20px;
}
.course-section .calendar-row > .col {
    padding: 0 0 0 0;
}
.course-section .calendar-row .stack-row {
    align-items: center;
}
img.course-image {
    padding: 0px 0px 20px 20px;
}
.indent {
    padding-left: 20px;
}

@media screen and (max-width: 640px) {
    form.search-form {
        flex-direction: column;
    }
    form.search-form .search-submit {
        margin-right: 0px;
    }
    .button.download-button {
        margin-right: 0px;
    }
    .page-header h1 {
        font-size: 1em;
    }
    .section-content .col:not(.home-search-col) {
        padding: 10px 0 10px 20px;
    }
    .search-results-header {
        flex-direction: column;
    }
    .search-page-content {
        display: block;
    }
    .search-page-content > div:nth-of-type(1) {
        display: none;
    }
    .search-form input.home-search {
        max-width: 100%;
    }
    form.search-form {
        width: 100%;
    }
    img.course-image {
        padding: 0 0 0 0;
    }
    .course-button-stack {
        flex-direction: column;
        gap: 20px;
    }
    .course-button-stack a.button {
        margin: 0px !important;
    }
}