/* Misc styles, sorted by selector type, then A-Z */

img.rounded {
  object-fit: cover;
  border-radius: 50%;
  height: auto;
  max-height:200px;
  width: auto;
  aspect-ratio:1/1;
}

.ab-list{
    padding-left:20px;
}

.ab-list li {
    margin:10px 0px 10px 0px;
}

.portrait{
    display:flex;
    padding-left:30px;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    margin:20px 60px 20px 20px;
    
}

.portrait-desc{
    padding-right:60px;
    max-width:1000px;
}


.leftcol {
    overflow:auto;
    display:flex;
    flex-direction:column;
    flex:1;
    padding:30px 30px 30px 60px;
}

.rightcol {
    display:flex;
    flex-direction:column;
    flex:1;
    padding:30px 60px 30px 30px;
    align-items:flex-end;
}

.img-container{
    margin-bottom:30px;
}

.img-container img{
    object-fit:cover;
    height:500px;
    width:100%;
}

.listlj{
    list-style:none;
    padding:0;
}

.listlj li{
    position:relative;
    padding-left:40px;
    font-size:20px;
    font-weight:400;
    margin-bottom:10px;

}

.listlj li::after {
    content:url("../../public/check_icon.svg");
    position:absolute;
    left:0px;
    top:50%;
    transform: translateY(-40%); 
    margin-bottom:10px;

}

#ab-con {
    align-items:flex-start;
    margin-top:50px;
    margin-bottom:50px;
}

.array{
   display:flex;
   max-width:80vw;
   margin-bottom:60px;
   flex-wrap:wrap;
   align-items:center;
   justify-content:center;
}

.array img {
    flex:1;
    max-width:200px;
    height:auto;
    margin: 20px 10px 20px 10px;
}

.array img:hover{
    cursor:pointer;
}

.listlj #loc::after{
    content:url("../../public/location_icon.svg");
}

.listlj #mail::after{
    content:url("../../public/mail_icon.svg");
}

.listlj #mail::after #loc::after{
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px; 
    background-size: contain;
    background-repeat: no-repeat;
}

#insights-array{
    display:flex;
    flex-direction:row;
    overflow-x:auto;
    overflow-y:hidden;
    padding:0px;
    margin:0px;
    padding-bottom:30px;
    
}

#insights-array .event{
    display:flex;
    flex-direction:column;
    min-width:300px;
    margin:40px 60px 0px 0px;
    text-align:left;
    align-items:center;
    justify-content:flex-start;
    padding:0px;
    border-bottom:solid 0.5px rgb(107, 107, 107);
    height:fit-content;
}

#insights-array .event img{
    width:100%;
    height:auto;
    margin-bottom:30px;
}

#insights-array .event #date{
    font-weight:700;

}

#insights-array .event p{
    text-align:left;
}

.slideshow-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    margin: auto;
    overflow: hidden;
}

.slides {
    display: flex;
    transition: transform 2s ease-in-out;
    width: 400%; /* 4 slides = 100% * 4 */
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.slide {
    flex: 0 0 25%; /* 100% / 4 slides */
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media only screen and (max-width: 1024px) {
    .column {
        width:90vw;
    }
    .rightcol {
        padding:30px;
    }

    .leftcol {
        padding:30px;
        width:90vw;
    }

    .listlj li {
        font-size:1rem;
        word-wrap:break-word;
    }

    #insights-array {
        flex-direction:column;
        overflow-x:auto;
        overflow-y:auto;
        align-items:center;
        justify-content:center;
    }

    #insights-array .event {
        text-align:left;
        justify-content:center;
        margin:60px 0px 0px 0px;
        width:100%;
        max-width:90vw;
    }

    .portrait-desc {
        display:flex;
        justify-content:center;
        align-items:center;
        padding:30px;
        margin:0px;
    }
    .array {
        display:block;
        width:100%;
    }
    .array img {
        width:20vw;
        margin:5px;
        height:auto;
    }
}
