body {
    background-color: #f3f3f6;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
    font-variation-settings:
        "wdth"100;
}

.box-container {
    background-color: #fff;
    height: 100%;
    padding: 20px;
}

.img-fluid {
    width: 100%;
}

.right-menu ul li {
    margin-bottom: 10px;
}

.right-menu ul li button {
    background-color: #f1f1f1;
    border: none;
    font-weight: bold;
    padding: 10px;
    text-decoration: none;
}

.right-menu ul li button:hover {
    color: #ff1800;
}

.block-container img {
    height: auto;
    max-width: 100%;
    width: 100%;
}

/*
.navbar-nav .nav-item:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}*/

.site-search-result-page-title {
    margin-bottom: 1em;
}

.site-search-result-page-url {
    margin-bottom: 0;
}

.site-search-result-page-url a {
    color: #008000;
    font-size: 14px;
    text-decoration: none;
}

.site-search-form input {
    display: inline-block;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.site-search-form input[type=button] {
    background-color: #000;
    color: #fff;
}

.callout-bar {
    background: url(/images/SOM/template/bar-texture.jpg) repeat #fff;
    padding: 10px 0;
}

.callout-bar p {
    font-size: 14px;
    margin-bottom: 0;
}

.home-middle {
    background-color: #f3f3f6;
    padding: 20px 0;
}

.home-middle #home-quote .author {
    color: #ff1800;
    font-weight: 700;
    font-size: 12px;
    position: absolute;
    right: 50px;
    top: 130px;
}

#home-quote,
.home-lower .row .col-lg-4 {
    border-right: solid 1px #ccc;
}

#home-quote {
    position: relative;
}

#home-quote>div {
    color: #4b494d;
    font-size: 18px;
    font-style: italic;
    line-height: 1.2;
    padding-left: 28px;
    padding-right: 59px;
    padding-top: 34px;
    position: absolute;
    top: 0;
    z-index: 12;
}

.side-video {
    background: #000 url('/images/som/dof-registration-slider_hp.jpg') no-repeat top center;
    display: flex;
    height: 100%;
    position: relative;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.side-video svg {
    height: 100px;
    width: 100px;
}

.side-video svg path {
    fill: #ccc
}

.side-video .link {
    width: 100%;
    z-index: 99;
}

.headline-row {
    background-color: #fff;
    border-bottom: solid 1px #ccc;
    margin-bottom: 20px;
    padding: 26px 0 20px;
}

.headline-row h1 {
    color: #ff1800;
    font-size: 26px;
    font-weight: 300;
    text-transform: uppercase;
}




@media (min-width:993px) {
    
   
    
    .navbar-nav .nav-item .dropdown-menu {
        background: rgba(65, 61, 68, .98);
    }


    .navbar-nav .nav-item .dropdown-menu .dropdown-item {
        color: #fff;
    }

    .navbar-nav .nav-item .dropdown-item:focus,
    .navbar-nav .nav-item .dropdown-item:hover {
        background-color: transparent;
        color: #ff1800;
    }
}

.hero {
    background-color: #332244;
    color: #fff;
    margin-bottom: 1em;
}

.hero .hero-description {
    padding: 20px;
}

.home-hero {
    background: #332244;
    padding: 10px 0;
}

#lessonCarousel {
    /*    height: 200px;
    overflow: hidden;*/
    position: relative;
    max-width: 235px;
}

#lessonCarousel .carousel-item a {
    border: none;
    text-decoration: none;
}

#lessonCarousel .carousel-item img {
    max-width: 235px;
}

#lessonCarousel .carousel-caption {
    position: static;
    padding: 5px 0;
}

#lessonCarousel .carousel-caption p {
    color: #333;
    font-size: 12px;
    font-weight: bold;
    margin: 0;
}

#lessonCarousel .carousel-control-prev,
#lessonCarousel .carousel-control-next {
    width: auto;
    /* keeps button size tight */
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}

#lessonCarousel .carousel-control-prev {
    left: -60px;
    /* move to the left outside */
}

#lessonCarousel .carousel-control-next {
    right: -60px;
    /* move to the right outside */
}

#HomeCarousel .carousel-caption {
    background: rgba(86, 72, 102, .85);
    bottom: 37px;
    position: absolute;
    text-align: left;
    color: #fff;
    padding: 12px 52px 12px 41px;
    z-index: 2;
    left: 0;
    font-style: normal;
    width: 100%;
}

#HomeCarousel .carousel-caption a {
    color: #fff;
    text-decoration: none;
}

#HomeCarousel .carousel-caption a h5,
#HomeCarousel .carousel-caption a p {
    color: #fff;
    text-decoration: none;
}

#HomeCarousel.carousel,
#HomeCarousel.carousel .carousel-inner {
    height: 475px;
    /* Set your desired height */
}

#HomeCarousel .carousel-item img {
    object-fit: cover;
    /* Ensure images scale nicely */
    height: 100%;
    /* Fill the container */
    width: 100%;
    /* Maintain full width */
}

.film-lesson-library .content {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.film-lesson-library h3 {
    font-size: 16px;
    margin-bottom: 0;
}

.home-lower {
    background-color: #fff;
    padding: 40px 0;
}

.home-lower .home-lower-link a {
    display: block;
    width: 90%;
}

.home-lower .home-lower-link a img {
    height: auto;
    margin-bottom: 12px;
    width: 100%;
}

.home-middle .carousel-control-next-icon,
.home-middle .carousel-control-prev-icon,
.home-lower .carousel-control-next-icon,
.home-lower .carousel-control-prev-icon {
    filter: invert(100%);
}


.home-lower .carousel-control-prev {
    left: -45px;
}

.home-lower .carousel-control-next {
    right: -35px;
}

h1,
h2,
h3,
h4,
h5 {}

h3,
h4,
h5 {
    color: #ff1800;
    font-size: 16px;
    font-weight: 700;
}

a {
    color: #ff1800;
}


.pagination {
    border-top: solid 1px #ccc;
    margin-top: 4em;
    padding-top: 2em;
}

.site-search .cms-pager-link {
    color: #ff1800;
    margin-right: 0;
}

.cms-page-current {
    background-color: #eee;
    color: #ff1800;
    font-weight: bold;
}


.cta a,
.btn {
    background-color: #ff1800;
    border-radius: 30px;
    color: #fff;
    display: inline-block;
    padding: 10px 30px;
    text-decoration: none;
}

.cta a:hover,
.btn:hover {
    background-color: #333;
    color: #fff;
}



#header {
    border-bottom: solid 8px #000;
}

#header .dropdown-toggle::after {
    display: none;
}



.nav-item.search {
    position: relative;
}

/*.nav-item.search .search-input-container {
    display: none;
    background-color:#F7F9FA;
    position: absolute;
    right: 39px;
    top: 0;
    width: 750px;
}*/

.nav-item.search .search-input-container {
    display: none;
    background-color: #F7F9FA;
    position: absolute;
    right: 39px;
    top: 0;
    width: 0;
    /* Start with zero width for animation */
    overflow: hidden;
    /* Prevent content from overflowing */
    height: auto;
    /* Ensure the height fits content */

    transition: width 0.3s ease;
    /* Smooth transition for the sliding effect */
}




.form-control.search-input {
    margin-left: auto;
    width: 250px;
}

.nav-item .nav-link {
    color: #291d36;
    font-weight: 700;
    padding-top: 6px;
    text-decoration: none;
}

.nav-item .nav-link:hover,
.nav-item .nav-link.active {
    border-top: 1px solid #291d36;
    padding-top: 5px;
}


.card-block .img-container img {
    width: 100%;
}

.card-block-columns {
    background-color: #F3F3F6;
    padding: 4em 0;
}

.card-block-columns .card {
    height: 100%;
}

.card-block-columns .card .description {
    display: flex;
    flex-wrap: wrap;
    height: 100%;
    padding: 20px;
}

.card-block .description .title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: .3em;
    width: 100%;
}

.card-block .description .content p {
    margin-bottom: 0;
}

.card-block-columns .card .description .cta {
    align-self: flex-end;
    margin-top: 20px;
}

.card {
    border-radius: 0 !important;
}

.card-block-small {
    padding: 3em 0;
}

.card-block-small .card-container {
    margin-bottom: 1em;
}

.card-block-small .pill {
    background-color: #fff;
    border-radius: 0;
    display: flex;
    height: 100%;
    padding: 20px;
}

.card-block-small .pill .img-container {
    margin-right: 1.5em;
    width: 30%;
}

.card-block-small .pill .description {
    width: 65%;
}



.card-block-large {
    padding: 3em 0;
}

.card-block-large .card-container {
    margin-bottom: 1em;
}

.card-block-large .pill {
    background-color: #fff;
    border-radius: 0;
    display: flex;
    padding: 20px;
}

.card-block-large .pill .img-container {
    margin-right: 1.5em;
    width: 30%;
}

.card-block-large .pill .description {
    width: 65%;
}

.card-block-large .pill .img-container img {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.card-block-columns .img-container {
    padding: 20px 20px 0 20px;
}

.card-block-columns .img-container img {
    -webkit-border-top-left-radius: 0;
    -webkit-border-top-right-radius: 0;
    -moz-border-radius-topleft: 0;
    -moz-border-radius-topright: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;

}



.quote-block {
    background-color: #616161;
    color: #fff;
    margin-bottom: 1em;
    padding: 2em 0;
}

.quote-block .quote-icon {
    max-width: 60px;
}

.quote-block-full .quote-container .description {
    font-size: 36px;
    line-height: 46px;
}

.quote-block .quote-container .author h3 {
    color: #fff;
}

.quote-block-full .img-container {
    display: none;
}

.quote-block-two-col .quote-container {
    display: flex;

}

.quote-block-two-col .quote-container .description {
    font-size: 24px;
    line-height: 30px;
    flex: 0 0 auto;
    width: 58.33333333%;
}

.quote-block-two-col .quote-container .img-container {
    flex: 0 0 auto;
    text-align: right;
    width: 38%;
    margin-left: 2%;
}

.quote-block-two-col .quote-container .img-container img {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.quote-block-two-col .quote-icon {
    margin-bottom: 1.3em;
}


#testimonialCarousel {
    min-height: 200px;
}

.testimonial-block {
    margin-bottom: 1em;
}

.testimonial-block-bottom .testimonial-container>.quote-icon {
    display: none;
}

.testimonial-block-bottom .testimonial-container {
    border-radius: 0;
    color: #333;
    height: 100%;
    margin-right: 20px;
    padding: 20px;
}

.testimonial-block-bottom .testimonial-container:nth-child(3) {
    margin-right: 0;
}

.testimonial-block-bottom .testimonial-container .author {
    display: flex;
}

.testimonial-block-bottom .testimonial-container .author .name {
    font-weight: bold;
}

.testimonial-block-bottom .testimonial-container .author .quote-icon {
    margin-right: 10px;
}

.testimonial-block-bottom .testimonial-container .author .quote-icon img {
    width: 50px;
}

#footer {
    background-color: #000;
    color: #a3a7a9;
    padding: 1em 0;
}

#footer ul {
    list-style-type: none;
    margin: 0;
    padding: 2em 0;
}

#footer ul li {
    display: inline-block;
    margin-right: 20px;
}

#footer ul li a {
    color: #fff;
    text-decoration: none;
}



#footer .lower p {
    font-size: 14px;
}

#footer .footer-logo {
    max-height: 24px;
    margin-right: 20px;
}

@media (max-width:1399px) {
    #HomeCarousel .carousel-caption {
        bottom: 0;
    }

    #HomeCarousel.carousel,
    #HomeCarousel.carousel .carousel-inner {
        height: auto;
    }

    .home-middle #home-quote .author {
        top: auto;
        bottom: 0;
    }
}


@media (max-width:991px) {
     .film-lesson-library {
        margin-top: 40px;
    }

    #home-quote,
    .home-lower .row .col-lg-4 {
        border-right: none;
    }

    #home-quote {
        height: 120px;
    }

    .side-video {
        min-height: 300px;
        align-items: flex-end;
        padding-bottom: 20px;
    }
}


@media (max-width:767px) {

    #footer .lower,
    .quote-block-two-col .quote-container {
        display: block;
    }

    .quote-block-two-col .quote-container .description,
    .quote-block-two-col .quote-container .img-container {
        margin: 0;
        width: 100%;
    }

    .quote-block-two-col .quote-container .description {
        font-size: 20px;
        line-height: 24px;
    }

    .film-lesson-library {
        margin-top: 2em;
    }

    #HomeCarousel.carousel,
    #HomeCarousel.carousel .carousel-inner,
    #lessonCarousel {
        height: auto;
    }

    #HomeCarousel .carousel-caption {
        bottom: 0;
    }

    #home-quote img {
        float: left;
        margin-right: 20px;
    }

}

@media (max-width:580px) {
    #home-quote {
        height: 170px;
    }
}


@media (max-width:519px) {
    .nav-item.search {
        display: flex;
        flex-direction: row-reverse;
    }

    .nav-item.search .search-input-container {
        display: block !important;
        width: 250px;
    }
}