/* program pages styles.
   developer: tajudeen
   requires:    global.en.css
   ========================================================================== */

/* ==========================================================================
   Common
   ========================================================================== */

#cadventures h1 {
    font-size: 2.6875rem;
    margin-bottom: 2.3125rem;
}

#cadventures h2 {
    font-size: 2.1875rem;
    line-height: 1;
    font-weight: 400;
}

#cadventures #global-menu-cadventures { color: #fc4002; }

.page-width {
    padding: 0 2.5rem;
    max-width: 64.5rem !important;
    width: unset !important;
}

.left-text {
/*    width: 35.625rem;*/
    width: 61.625rem;
    max-width: 100%;
    display: inline-block;
    margin: 0.625rem auto 0.625rem 0;
    vertical-align: top;
}

.right-img {
    width: 21.875rem;
    max-width: 100%;
    display: inline-block;
    margin: 0 auto 0 50px;
}

.left-img {
    width: 24.625rem;
    max-width: 100%;
    display: inline-block;
    margin: 0 auto;
    margin-right: 1rem;
}

.right-text {
    width: 39.375rem;
    max-width: 100%;
    display: inline-block;
    margin: 0.625rem auto 0.625rem auto;
    vertical-align: top;
}

main p {
    font-size: 1rem;
    line-height: 1.63;
    margin: 1rem 0;
}

p.long-desc { max-width: 37.5rem; }

#cadventures section.content a, .related-programs-link, .related-programs-link a {
    color: #fc4002;
    font-size: 1rem;
    margin-top: 1.4375rem;
}

#cadventures section.content a:hover, .related-programs-link:hover, .related-programs-link a:hover {
    color: #f77700;
}

#cadventures section.content a.button {
    padding: 0.375rem 0.8125rem;
    font-size: 1.125rem;
    margin-top: 0.3125rem;
    line-height: 1;
    display: inline-block;
    text-transform: none;
    margin-left: 0;
    font-weight: 400;
}

#cadventures section.content a.button:hover {
    background: #fc4002;
    color: #fff;
}

#cadventures h3 {
    font-size: 1.25rem;
    line-height: 1;
    color: #1b90a9;
    font-weight: 600;
    font-family: 'Enriqueta', Arial, sans-serif;
    margin: 0;
}

#cadventure h2.main { font-size: 2.1875rem !important; }

.before-footer { padding-bottom: 1.5625rem; }

/* ==========================================================================
   Global Override
   ========================================================================== */

.hr {
    max-width: 100%;
}
.sub-program {
    display: flex;
    flex-wrap: nowrap;
    margin: 0 auto;
}

#cadventures main {
    margin-top: 12.5rem !important ;
    display: block;
}

/* ==========================================================================
   Home CSS Override
   ========================================================================== */

div.column-two {
    width: unset !important;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    width: unset !important;
    margin: unset !important;
}
/* ==========================================================================
   Overview
   ========================================================================== */

#overview h2 {
    font-size: 1.5rem !important;
    margin-bottom: 0 !important;
}
#overview a {
    font-size: 1rem !important;
}

/* ==========================================================================
   Faculty
   ========================================================================== */

#faculty {
    padding-top: 4.125rem;
    padding-bottom: 3.125rem;
    background-color: #ffe082;
    position: relative;
}
#faculty h3 {
    color: #fc4002;
}
#faculty h2 {
    position: absolute;
    margin-top: -5.5rem;
    background-color: #fd6634;
    font-size: 1.5rem;
    padding: 10px;
    color: #ffffff;
}
.page-width.left {
    padding: 0 2.5rem;
    margin: 0 auto;
    width: 77.75rem;
    max-width: 100%;
}
.two-columns {
    display: flex;
    gap: 1rem;
}
.two-columns .half {
    flex: 0 0 49%;
    display: flex;
    align-items: flex-start;
}
.half p {
    color: #333333;
    margin: 0 0 0.3125rem 0;
    font-weight: 400;
    font-size: 0.8125rem;
    line-height: 1.5;
}
.description h3 span {
    color: #333333;
    margin: 0.3125rem 0 0.3125rem 0;
    font-weight: 400;
    font-size: 0.8125rem;
}
.description h4 {
    margin: 0.3125rem 0 0.3125rem 0;
    font-size: 0.9375rem;
    line-height: 1.33;
    font-weight: 600;
    color: #333333;
}
.profile-pic img { margin-right: 0.9375rem; }

/* ==========================================================================
   Program
   ========================================================================== */

#cadventure h2, .sub-program h2 {
    color: #1b90a9;
    margin-top: 1.875rem;
    font-size: 1.5rem !important;
}

.sub-program h2 { margin-top: 0rem; }

section.more-space {
    padding-top: 3.75rem;
    margin-top: 3.4375rem;
    margin-bottom: 0 !important;
}

/* ==========================================================================
   responsive breakpoint styles
   ========================================================================== */

/* styles for medium screens (1200px)
   ========================================================================== */

@media all and (max-width: 1200px) {}

/* styles for medium screens (900px)
   ========================================================================== */

@media all and (max-width: 900px) {

    /*  ======================= Home CSS Override  */
    div.column-two p { margin: 0; }

}
/* styles for medium screens (600px)
   ========================================================================== */

@media all and (max-width: 600px) {

    /*  ======================= Global CSS Override  */
    .top-head { margin-top: -43.5px !important; }
    
    div.column-two {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
    }

    div.column-two p { margin: 0.5rem 0; }

    .sub-program { flex-direction: column; }

    .sub-program.reverse { flex-direction: column-reverse; }

    /*  ======================= Common  */

    .two-columns { flex-direction: column; }

    /*  ======================= Adjusting all vertical gaps on mobile  */

    .content { margin: 30px auto; }

    #faculty { padding-bottom: 30px; }

    .left-img, .right-img { width: 100%; }

    #overview .right-img img#program_img { margin-top: 0rem; }

    #cadventure h2, .sub-program h2 { margin-top: 30px; }

    .left-text h2, .sub-program.reverse h2 { margin-top: 0; }

    #cadventure p { margin: 30px 0 !important; }

    .left-text, .right-text { margin: 0rem auto 30px auto; }

    .left-text p:last-of-type, .right-text p:last-of-type { margin-bottom: 0 !important; }

    #related p { margin: 1rem 0 0 0; }

    .before-footer { padding-bottom: 30px; }

    section.more-space {
        padding-top: 0;
        margin-top: 30px;
    }

    .left-img, .right-img {
        margin: 0;
        text-align: center;
    }

    img#program_img { margin-bottom: 2rem; }

    #subfoot>*:last-child { padding: 0.5384rem 0 0.3125rem 0 !important; }

    /*  ======================= reduce size of profile img  */

    .profile-pic img {
        width: 50px;
        height: auto;
    }
    
    .homepage#subfoot .logos {
        justify-content: center;
        margin: 0 auto;
    }
}
/* styles for medium screens (320px)
   ========================================================================== */

@media all and (max-width: 320px) {}