﻿br {
    display: none;
}

h5 {
    text-transform: capitalize;
}

h6 {
    font-size: 1rem !important;
}

i {
    margin-right: 0.5rem;
    text-align: center;
    width: 1.2rem;
}

.csis-body-row .row, .csis-body-row .flow {
    padding: 0 2rem !important;
}

#btnApplyFilter.btn.btn-secondary {
    line-height: 1;
}

.csis-resource-search {
    display: flex;
    flex: 0 1 100%;
    margin-left: 1rem;
    margin-top: 2.5rem;
}

.filter-section {
    display: flex;
    flex-direction: column;
    flex: 0 0 20%;
    flex-wrap: wrap;
    align-content: center;
}

.filter-section-header {
    display: flex;
    line-height: 1;
    text-transform: capitalize;
    font-weight: bold;
}

.filter-group-list {
    list-style-type: none;
    padding-left: 0px;
}

.filter-group {
    margin-bottom: 10px;
}

.filter-button {
    display: flex;
    align-items: center;
}

.filter-group label {
    margin-bottom: 0;
    width: 150px;
}

.filter-group button {
    background: none;
    border: none;
}

.filter-group-children {
    list-style-type: none;
    padding-left: 5px;
    display: none;
}

    .filter-group-children.selected {
        border-left: 2px solid black;
        display: block;
    }

.filter-child {
    line-height: 10px;
}

    .filter-child:not(:last-child) {
        margin-bottom: 10px;
    }

    .filter-child label {
        margin-bottom: 0;
    }

button.open {
    transform: rotateZ(90deg);
}

.results-section {
    flex: 0 0 75%
}

.stretched {
    margin-left: 5rem;
}

svg {
    pointer-events: none;
}

.search-card-title {
    margin-bottom: 0.625rem;
}

input.form-control.resource-search {
    background: #ededed url("data:image/svg+xml;charset=UTF-8,%3csvg id='be69a205-f875-4308-858a-bb22da88711d' data-name='Capa 1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 38'%3e%3ctitle%3emagnifying-glass2%3c/title%3e%3cpath d='M11.97936,6.98306a6.793,6.793,0,0,1,9.96154,0,7.74139,7.74139,0,0,1,0,10.51489,6.77707,6.77707,0,0,1-8.99836.84194,1.59354,1.59354,0,0,1-.40242.78791L8.541,23.34884a1.43249,1.43249,0,0,1-2.10434,0,1.6306,1.6306,0,0,1,0-2.2211l3.99914-4.2223a1.46561,1.46561,0,0,1,.7459-.42348A7.754,7.754,0,0,1,11.97936,6.98306ZM13.242,16.16529a5.07064,5.07064,0,0,0,7.43633,0,5.77947,5.77947,0,0,0,0-7.84894,5.07163,5.07163,0,0,0-7.43633,0A5.777,5.777,0,0,0,13.242,16.16529Z' transform='translate(-6 -4.80924)' style='fill:%23495057'/%3e%3c/svg%3e") no-repeat 9px 9px;
    background-position-x: right;
    -webkit-border-radius: 10em;
    -moz-border-radius: 10em;
    border-radius: 10em;
    padding: 0 5px 0 32px;
    width: 100%;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

#search::-webkit-search-cancel-button {
    position: relative;
    right: 40px;
}

.search-results {
    display: flex;
    flex-direction: row;
    list-style-type: none;
}

.filter-group .expandable {
    margin-left: 4px;
}

.filter-section-header-wrapper {
    display: flex;
    flex-direction: row;
}

.clear-all {
    flex: 1 1 0%;
    text-align: right;
    font-size: 1rem;
    text-decoration: underline;
    align-items: center;
    justify-content: center;
    display: flex;
    line-height: 1;
}

    .clear-all:hover {
        cursor: pointer;
    }

a.course-result {
    cursor: pointer;
}

/*** Course Card ***/

#courseDescriptionBody {
    padding: 1rem 3rem 0;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.subject-area-title {
    font-size: 1.25rem;
    font-weight: 600;
}

#courseModal .btn {
    padding: 5px 24px;
}

@media (max-width: 991px) {
    #courseModal .btn {
        padding: 3px 21px !important;
    }
}

.btn.btn-close {
    background-color: #6c757d;
    color: #FFF;
}

    .btn.btn-close:hover {
        background-color: #FFF;
        color: #6c757d;
        border: 1px solid #6c757d;
    }

.section-title {
    text-transform: uppercase;
    font-size: 1.25rem;
    font-weight: 500;
}

.modal-body-head-wrapper {
    display: flex;
    margin-bottom: 1.5rem;
}

.course-title,
.course-subject-area {
    display: flex;
}

.course-title {
    justify-content: flex-start;
    flex: 1 1 auto;
}

.course-subject-area {
    flex-direction: column;
    align-items: flex-end;
    flex: 0 1 auto;
}

.course-objectives ul {
    list-style: none;
    padding-inline-start: 0;
}

.course-objectives ul li:before {
    content: '✓';
    margin-right: 10px;
}

#courseModal .modal-footer {
    border-top: 0;
    padding: 1rem 3rem 1rem;
}

.training-container {
    display: grid;
    grid-template-columns: 35px 1fr;
    grid-template-rows: auto auto;
}

.training-icon {
    grid-row: 1 / span 2;
}

.training-link {
    grid-column: 2;
}

/*** Event Registration Card ***/
.registration-card .card-body {
    display: flex;
    padding: 1.25rem;
}

.card-body .title {
    font-weight: bold;
    line-height: 1;
    width: 50%;
    padding-right: 0.25rem;
}

@media (min-width: 1550px) {
    .card-body .title {
        width: 70%;
    }
}

@media (max-width: 991px) {
    .card-body .title {
        width: 70%;
    }
}

@media (max-width: 576px) {
    .card-body .title {
        width: 50%;
    }
}

    .card-body .right-content {
        display: flex;
        flex: 1 0 auto;
        justify-content: flex-end;
    }

        .card-body .right-content .btn {
            padding: 0.25rem 0.75rem;
        }

    .right-content .registration-button {
        padding: 5px 24px;
    }

.col-md-6 p,
.card-body .left-content p {
    line-height: 1.2;
    margin-bottom: 0.5rem;
    margin-left: 1.5rem;
}

    .col-md-6 p i,
    .card-body .left-content p i {
        margin-right: 0;
        text-align: center;
        width: 1rem;
        margin-left: -1rem;
        padding-right: 1.05rem;
        display: inline-flex;
        justify-content: center;
    }

    .card-body .left-content p:first-of-type {
        margin-top: 0.5rem;
    }

.more-info {
    background: #E1E1E9;
    border-radius: 0 0 1rem 1rem;
    text-align: center;
}

    .more-info button {
        font-size: 1rem;
    }

    .more-info button:focus:not(:focus-visible) {
        box-shadow: none;
        outline: 0;
    }

.registration-card.card {
    min-height: 288px;
}

.card {
    border-radius: 1rem;
}

.btn.btn-secondary.registration-button {
    background-color: #FFF;
    border-color: #4A49A2;
    color: #4A49A2;
    padding: 0.5rem 1rem;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.modal-header {
    align-items: center !important;
    border-bottom: 1px solid #dee2e6 !important;
}

.modal .close {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    margin-right: -0.5rem !important;
    line-height: 1 !important;
    display: flex;
    justify-content: flex-end;
}

.modal-content {
    padding: 1rem 2rem;
}

.modal-body {
    max-height: 100% !important;
    overflow-x: hidden;
    overflow-y: hidden !important;
}

.modal-body p {
    margin: 0 0 1rem;
    line-height: 1.2;
}


/*** Nav Area ***/
.navbar.csis-subnav {
    position: relative;
}

.csis-subnav .navbar-nav {
    justify-content: flex-start;
    margin-left: 0;
}

.csis-subnav .nav-link {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    padding: 1rem 1rem;
    border-bottom: 3px solid transparent;
}
