/* Google fonts import start */
@import url('https://fonts.googleapis.com/css2?family=Arvo:wght@700&family=Noto+Sans+TC:wght@500&family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&family=Preahvihear&family=Titillium+Web:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,700&display=swap');
/* Google fonts import end */

body {  
    padding-top: 56px;
    background: #f2eeec;
}
.left-aligned { margin-left: auto; }
.bg-dark { background-color: rgb(42, 42, 42) !important; }
.bg-hero { background-color: #ffc619; }

header {
    text-align: center;
}

.key-box {
    border-radius: 15px;
    padding: 20px 25px;
    margin: 10px 20px;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    margin-bottom: 15px;
}

.key-questions {
    background: #F5DE7A;
}

.key-findings {
    background: #efbe38;
}

.key-actions {
    background: #e08600;
}

.fig_small {
    margin: 1rem 4rem 2rem 4rem;
}

@media screen and (max-width: 768px) {
    .fig_small {
        margin: 0 0 1rem;
    }
}

/* CALLOUT */
.bd-callout { padding:1.25rem; margin-top:1.25rem; margin-bottom:1.25rem; border:1px solid #e9ecef; border-left-width:.25rem; border-radius:.25rem }
.bd-callout h4 { margin-bottom:.25rem }
.bd-callout p:last-child { margin-bottom:0 }
.bd-callout code { border-radius:.25rem }
.bd-callout+.bd-callout { margin-top:-.25rem }
.bd-callout-info { border-left-color:#5bc0de }
.bd-callout-warning { border-left-color:#f0ad4e }
.bd-callout-danger { border-left-color:#d9534f }

/* General CSS Start */
h2 {
/*     padding-top: 102px; */
    color: #763a12;
    font-weight: 1200;
    /* border-bottom: 3px solid brown; */
    margin-bottom: 0.3em;
}


h4 {
    color: #efbe38;
    font-weight: 800;
}

p {
    font-size: 16px;
}

p .indent {
    text-indent: 25px;
}

.p-justify {
    text-align: justify;
    text-justify: inter-word;
}

.contents-lv1 {
    margin-left: 20px;
}

.contents-lv2 {
    margin-left: 20px;
}

.center{
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.fig-container {
    width: 75%;
    display: flex;
    align-items: center;
    justify-content: center;

}

.page-fig {
    width: 100%;
}

.references { font-size: 8px;}

figcaption>:first-child {
    margin-right: 1rem;
    color: #e08600;
    font-size: 1.05rem;
    font-weight: 600;
    text-transform: uppercase;
}

figcaption>:nth-child(2) {
    font-weight: 600;
}

.li-equa {
    list-style-type: none;
}

.text {
    font-weight: normal;
}

.intext-citation {
    border-bottom: 3px solid brown;
    border-image: linear-gradient(to right, brown, rgb(244, 217, 65)) 1;
    text-decoration: none;
    color: black;
}

.intext-citation:hover {
    border-bottom: 3px solid brown;
    border-image: linear-gradient(to right, brown, rgb(244, 217, 65)) 1;
    background: #efbe38;
    text-decoration: none;
    color: white;
}

.in-text-link {
    border-bottom: 3px solid brown;
    border-image: linear-gradient(to right, brown, #f7cf5f) 1;
    text-decoration: none;
    color: black;
}

.in-text-link:hover {
    border-bottom: 3px solid brown;
    border-image: linear-gradient(to right, brown, #f7cf5f) 1;
    background: #efbe38;
    text-decoration: none;
    color: white;
}

.warning {
    color: #ff2222;
    font-weight: bolder;
}

.key-achievements {
    background: #F5DE7A;
    border-width: 20px;
    border-color: #ff2222;
    border-radius: 10px;
    padding: 20px 25px;
    margin: 10px 20px;
}

/* Tabs CSS Start */
.nav-tabs {
    background-color: #f0f0f0;
    /* Change the background color */
    /* border: none; Remove the default border */
}

.nav-tabs .nav-link {
    color: #333;
    background-color: #fff;
    /* Change the tab background color */
    /* border: 1px solid #ccc;  Add a border to the tabs */
    /* border-radius: 5px;  */
}

.nav-tabs .nav-link.active {
    color: #efbe38;
    /* Change the active tab text color */
    /* background-color: #007bff; Change the active tab background color */
    /* border-color: #e45555;  */
    border-bottom: 4px solid !important;
    font-weight: bold;
}
/* Tabs CSS End */

/* Margin settings Start */
.ml-15px {margin-left: 15px; }
@media screen and (max-width: 768px) {
    .ml-15px {margin-left: 0; }
}
/* Margin settings End */

/* Banner CSS Start */
.banner h2 {
    color: #f2eeec;
    font-size: 48px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.carousel-item {
    height: 100vh;
    background-color: black;
    background-position: center;
    background-size: cover;
    color: rgb(253, 253, 253);
    position: relative;
}

.carousel-item .container {
    left: 0;
    right: 0;
    padding-bottom: 50px;
    width: 100%;
    height: 100%;
    padding-bottom: 20px
}

.carousel-item .container h1 {
    text-align: center;
}


.carousel-item .overlay-image {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    opacity: 0.7;
}

.carousel-item .description {
    position: absolute;
    bottom: 0;
    text-align: left;
    margin-bottom: 50px;
    width: 600px;
    overflow-wrap: break-word;
}

.carousel-item .description h4 {
    font-size: 25px;
}

.page-name {
    position: relative;
    top: 30%;
    font-size: 60px;
}

.page-name h1 {
    font-size: 100px;
    opacity: 1;
}

.carousel-inner {
    margin-bottom: 20px;
}

.carousel-inner:hover {
    box-shadow: 0 0 10px #DAA520;
    box-shadow: 0 0 30px #DAA520;
    box-shadow: 0 0 50px #DAA520;
    box-shadow: 0 0 60px #DAA520;
    box-shadow: 0 0 86px #DAA520;
}

.page-name h1 {
    text-shadow: 1px 1px 2px red, 0 0 1em blue, 0 0 0.2em yellow;

}
/* Banner CSS End */
/* Tab Switching Button CSS Start */
.tab-switch-btn-container {
    display: flex;
    align-items: center;
    justify-content: center;
}
.tab-switch-btn {
    background-color: #fbeee0;
    border: 2px solid #422800;
    border-radius: 30px;
    box-shadow: #422800 2px 2px 0 0;
    color: #422800;
    cursor: pointer;
    display: inline-block;
    font-weight: 600;
    font-size: 18px;
    padding: 0 18px;
    line-height: 50px;
    text-align: center;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    height: auto;

}

.tab-switch-btn:hover {
    background-color: #fff;
}

.tab-switch-btn:active {
    box-shadow: #422800 2px 2px 0 0;
    transform: translate(2px, 2px);
}

/* Tab Switching Button CSS End */
/* General CSS End */

/* side navigation css start */
.sidenav {
    position: sticky;
    height: 100%;
    top: 100px;
}

.sidenav .tabs{
    list-style: none;
    width: 100%;
    height: 100vh;
    margin-top: 20px;
    overflow-y: auto;
}

.sidenav li{
    /* background: #763a12; */
/*     margin: 5px; */
    padding: 10px 5px;
    /* border-radius: 5px; */
    text-align: left;
}
.sidenav .link{
    /* font name: Titillium Web */
    font-family: 'Titillium Web', sans-serif;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 22px;
}

.sidenav a:hover{
    color:rgb(38, 38, 62);
}

aside.sidenav.col-md-2{
    background-color: #484a51;
    border-radius: 20px;
}

.sidenav .sub_class{
    background-color: #484a51;
    border-left: 3px solid yellow;
    width: fit-content;
}

.sidenav ul {
    padding-left: 0;
}

.main-content {
    padding-left: 25px;
}

.macro{
    padding-top: 7rem;
}

@media screen and (max-width: 768px) {
    .sidenav {
        display: none; /* Hide the sidebar */
    }
}

.link.highlighted-link {
    color: #e45555; /* Change the color to your desired highlight color */
    font-weight: bold;
    text-shadow: 0 0 0.2em rgb(255, 119, 119);
}

/* side navigation css end */

/* Circuit modelling CSS Start */
.circuit_modeling .title {
    display: flex;
    float: left;
}

.circuit_modeling .short-overview {
    background: #F5DE7A;
    border-width: 20px;
    border-color: #ff2222;
    border-radius: 10px;
    padding: 20px 25px;
    margin: 10px 20px;
}

.circuit_modeling .main {
    justify-content: center;
}

.circuit_modeling .short-overview-title {
    font-size: 22px;
}

.circuit_modeling .equation {
    background: #Fff5e9;
    border-radius: 10px;
    padding: 20px 25px;
    margin: 10px 20px;
}

.circuit_modeling .assumptions {
    background: #Fff5e9;
    border-radius: 10px;
    padding: 20px 25px;
    margin: 10px 20px;
}

.circuit_modeling .width_lim {
    max-width: 552px;
}

.circuit_modeling .equa-short { max-height: 2em; }
.circuit_modeling .equa-mid { max-height: 3.5em; }
.circuit_modeling .euqa-long { max-height: 4em; }
.circuit_modeling .euqa-xl { max-height: 5em; }

.circuit_modeling .custom-tab-content {
    /* border: 2px solid #763a12; 
    border-top: none; */
    box-shadow: rgba(118, 58, 18, 0.2) 0px 2px 8px 0px;
    padding: 20px; /* Add padding to the tab content */
    background: rgba(255, 255, 255, 0.25)
}
/* Circuit modelling CSS End */

/* Parts CSS Start */
.parts .table-container {
    background: #fff;
    padding: 10px 20px;
    margin: 20px;
    border-radius: 2em;
    box-shadow: #664b3ec1 3px 3px 3px 0;
}

.parts .table {
    width: 100%;
}

/* Registry Button */
.parts .registry-btn {
    background-color: #fbeee0;
    border: 2px solid #422800;
    border-radius: 30px;
    box-shadow: #422800 2px 2px 0 0;
    color: #422800;
    cursor: pointer;
    display: inline-block;
    font-weight: 600;
    font-size: 18px;
    padding: 0 18px;
    line-height: 50px;
    text-align: center;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    height: auto;

}

.parts .registry-btn:hover {
    background-color: #fff;
}

.parts .registry-btn:active {
    box-shadow: #422800 2px 2px 0 0;
    transform: translate(2px, 2px);
}

.parts .center-container {
    display: flex;
    justify-self: center;
    align-items: center;
    height: 100%;
}
/* Parts CSS End */

/* Experiments_hardware CSS Start */


/* Experiments_hardware CSS End */

/* Team CSS Start */
/* Remove default settings */
.team ::selection {
    background: #f2eeec;
    color: #fff;
}

/* Header */
.team header {
    padding: 20px;
    text-align: center;
    background: linear-gradient(to right, #aa4d0a, #e08600, #efbe38, #f5de7a, #efbe38, #e08600, #aa4d0a);
    background-size: 200% auto;
    animation: gradientBackground 20s linear infinite;
    color: #ffffff;
}
@keyframes gradientBackground {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 100% center;
    }
}
.team title {
    font-family: 'Poppins', sans-serif;
}
.team .group {
    text-align: center;
}

.team .group h1 {
    color: #763a12;
    font-family: 'Londrina Shadow', arial, sans-serif;
    font-size: 100px;
    margin: 0 auto;
}

.team .content .container{
    max-width: 1800px;
    width: 75%;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px;
    overflow: auto;
}

.team .container .box{
    /* width: clac(25% - 20px); */
    background: #fff;
    display: flex;
    width: 300px;
    /* max-width: 360px; */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 30px;
    border-radius: 5px;
    margin: 10px;
}

.team .container .box .image{
    margin: 10px 0;
    height: 240px;
    width: 200px;
    background: #efbe38;
    padding: 3px;
    border-radius: 5px;
}

.team .box .quote i{
    margin-top: 10px;
    font-size: 45px;
    color: #17c0eb;
}

.team .box .image img{
    height: 100%;
    width: 100%;
    border-radius: 5px;
    object-fit: cover;
    border: 2px solid #fff;
}

.team .box p{
    text-align: justify;
    margin-top: 8px;
    font-size: 16px;
    color:#fff;
    font-weight: 500;
    /* background-color: #efbe38; */
    padding: 6px;
    border-radius: 15px;
}

.team .wiki {
    background-color: #ff7eb4bb;
}

.team .wl {
    background-color: #efbe38bb;
}

.team .cd {
    background-color: #797979dd;
}

.team .dl {
    background-color: #105296bb;
}

.team .hw {
    background-color: #b2d16fbb;
}

.team .ihp{
    background-color: #ffaa47bb;
}

.team .deli {
    background-color: #bda7e6bb;
}

.team .advisors {
    background-color: #763a12bb;
}

.team .instructors {
    background-color: #ef1c1cbb;
}

.team .box .name_job{
    margin: 10px 0 3px 0;
    color: #763a12;
    font-family: 'Arvo', arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
}

/* profile card */

.team .flex {
display: flex;
justify-content: center;
align-items: center;
}
.team .content {
    position: relative;
}
.team .firstinfo {
    display: flex;
    flex-direction: row;
    z-index: 2;
    position: relative;
}

.team .firstinfo .funny_img_container {
    width: 180px;
    height: 200px;
    /* overflow: hidden; */
    margin-right: 10px;
}

.team .firstinfo img {
    border-radius: 5%;
    width: auto;
    max-width: 180px;
    height: 100%;
}

.team .firstinfo .profileinfo h2 {
    font-size: 2.7em;
}

.team .firstinfo .profileinfo h3 {
    font-size: 1.8em;
    color: #efbe38;
    font-style: italic;
}

.team .firstinfo .profileinfo p.bio {
    padding: 15px 0px;
    color: #5A5A5A;
    line-height: 1.2;
    font-style: initial;
}

@keyframes rotatemagic {
    0% {
        opacity: 0;
        transform: rotate(-0deg);
        top: -36px;
        left: -487px;
    }
    100% {
        opacity: 1;
        transform: rotate(-30deg);
        top: -36px;
        left: -117px;
    }
}

/* popup */
.team .popup .overlay {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
    display: none;
}

.team .popup .content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: #fff;
    z-index: 2;
    padding: 30px;
    box-sizing: border-box;
    
}

.team .popup.active .overlay {
    display: block;
}

.team .popup.active .content {
    transition: all 300ms ease-in-out;
    transform: translate(-50%, -50%) scale(1);

}

@media (max-width: 400px){
    .team .firstinfo {
        display: flex;
        flex-direction: row;
        z-index: 2;
        position: relative;
    }

    .team .firstinfo img {
        border-radius: 5%;
        width: 180px;
        height: 200px;
        margin-right: 10px;
    }

    .team .firstinfo .profileinfo h2 {
        font-size: 2.7em;
    }

    .team .firstinfo .profileinfo h3 {
        font-size: 1.8em;
        color: #efbe38;
        font-style: italic;
    }

    .team .firstinfo .profileinfo p.bio {
        padding: 15px 0px;
        color: #5A5A5A;
        line-height: 1.2;
        font-style: initial;
    }

    .team .card {
        width: 80%;
        min-height: 50%;
        height: auto;
        padding: 20px;
        border-radius: 3px;
        background-color: white;
        box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
        position: relative;
        overflow: hidden;
    }

    .team .popup .close-btn {
        position: absolute;
        right: 20px;
        top: 20px;
        width: 30px;
        height: 30px;
        background: #222;
        color: #fff;
        font-size: 25px;
        font-weight: 600;
        line-height: 30px;
        text-align: center;
        border-radius: 50%;

    }

    .team .card:after {
        content: '';
        display: block;
        width: 285px;
        height: 450px;
        background: #efbe38;
        position: absolute;
        opacity: 0;
        transform: rotate(-30deg);
        top: -36px;
        left: -117px;
        animation: rotatemagic 0.75s cubic-bezier(0.425, 1.040, 0.470, 1.105) 1s both;
    }
}

.team .card {
    width: 50%;
    min-height: 20%;
    height: auto;
    padding: 30px;
    border-radius: 3px;
    background-color: white;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.team .popup .close-btn {
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
    width: 30px;
    height: 30px;
    background: #222;
    color: #fff;
    font-size: 25px;
    font-weight: 600;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;

}

.team .card:after {
    content: '';
    display: block;
    width: 285px;
    height: 450px;
    background: #efbe38;;
    position: absolute;
    opacity: 0;
    transform: rotate(-30deg);
    top: -36px;
    left: -117px;
    animation: rotatemagic 0.75s cubic-bezier(0.425, 1.040, 0.470, 1.105) 1s both;
}

.team .no-scroll {
    overflow: hidden;
}
/* arranging the box */
.team .row>* {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(var(--bs-gutter-y) * -1);
    margin-right: calc(var(--bs-gutter-x)/ -2);
    margin-left: calc(var(--bs-gutter-x)/ -2);
}
.team .col {
    flex: 100;
}
/* Team css end */

/* Enginnering css start */
.engineering {
    display: flex;
    justify-content: center;
}

.engineering h5 {
    margin-top: 20px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: underline;
}

.engineering .container { 
    margin: 0;
    padding: 0;
}

.engineering .overview {
    margin-top: 10px;
}

.engineering .accordion {
    max-width: 1800px;
    min-width: 320px;
    width: 95%;
    /* background: #FFF; */
    margin: 0 15px;
    padding: 15px;
    border-radius: 8px;
    /* box-shadow: 0 0 4px rgba(0,0,0,0.2); */
}

.engineering .accordion .accordion-content{
    background: #FFF7DA;
    border-radius: 4px;
    /* border: 1px solid #FFD683; */
    margin: 10px 0;
    overflow: hidden;
    box-shadow: 4px 4px rgba(0,0,0,0.2);
}

.engineering #cycle1{
    background: #FAEAB1;
}

.engineering #cycle2{
    background: #ffd695;
}

.engineering .accordion-content.open {
    padding-bottom: 20px;
}

.engineering .accordion-content header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
    padding: 0 15px;
    cursor: pointer;
    transition: all 0.2s linear;
}

.engineering .accordion-content.open header{
    min-height: 50px;
}

.engineering .accordion-content header .accordion-head {
    font-size: 20px;
    font-weight: 900;
    color: #763a12;
    text-shadow: 0.5px 0.5px #333;
}

.engineering .accordion-content header i {
    font-size: 15px;
    color: #333;
}

.engineering .accordion-content .accordion-description {
    height: 0px;
    font-size: 12px;
    padding: 0 15px;
    color: #333;
    font-weight: 400;
    transition: all 0.2s linear;
    margin-bottom: 0;
}

.engineering .researchDesign { background: #ffe3d9; }
.engineering .build { background: #ffbaba; }
.engineering .test { background: #fff3de; }
.engineering .learn { background: #fab888; }

.engineering .flow-box {
    margin: 0px 10px 10px 10px;
    padding: 15px 15px;
    border-radius: 5px;
    box-shadow: 3px 3px rgba(0,0,0,0.2);

}

.engineering .flow-box-content {
    display: flex;
    /* align-items: center; */
    padding-right: 18px;
}

.engineering .flow-icon {
    /* height: 100px; */
    width: 100%;
    margin-right: 10px;
    /* margin-bottom: 10px; */
}
.engineering .flow-box header {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
}
.engineering .flow-box header .quotation {
    font-family: 'Preahvihear', sans-serif;
    font-size: 16px;
}
.engineering .flow-box header .step {
    font-weight: 700;
    font-size: 20px;
    font-family: 'Open Sans', sans-serif;
}
.engineering .arrow-container {
    justify-content: center; /* horizontal */
    align-items: center; /* vertical */
    display: flex;
    font-size: 30px;
}
.engineering .flow-arrow {
    width: 50px;
    height: 50px;
}

.engineering .accordion-container p {
    font-size: 16px;
    margin-bottom: 10px;
}
/* Engineering css end */

/* footer */
/* footer a { color: black; font-weight: bold; text-decoration: none; }
footer a:hover { color: white; text-decoration: underline; } */

