/* topmodule */
.topmodulecontainer { 
    width: 100%;
    margin: 0; 
    overflow: hidden;
    display:block;
    clear: both;
    height: 600px;
}

.topmodulecontainer .image {
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: 50%;
    background-position-y: 90%;
    
}

/* gradient overlay for video and background image */
.topmodulecontainer::before {
    
    position: absolute;
    top:0;
    right:0;
    left:0;
    bottom: 0;
    z-index: 100;
    
    /*background-image: linear-gradient(to bottom, rgba(127, 136, 144, 0.7), rgba(17, 35, 51, 1));*/
}

/* Text overlay for video and background image arrays */
.topmoduleoverlay {
    color: white;
    position: relative;
    width: 100%;
    z-index: 100;
    padding: 200px 20px 0px 20px;
    opacity: 1;
    /*background-image: linear-gradient(to bottom, rgba(127, 136, 144, 0.7), rgba(17, 35, 51, 1));*/
}

.topmoduleoverlay {
    padding: 200px 20px 400px 20px;
}

.topmoduleoverlay.people,
.topmoduleoverlay.news,
.topmoduleoverlay.videos {
    padding: 200px 20px 15vh 20px;
}

.nogradient {
    background-image: none;
}

/* font stuff */
.topmoduleoverlay h1 {
    font-size: 46px;
    line-height: 48px;
    text-align: center;
    opacity: 1 !important;
    color: #ffffff;
}
.cream h1 {
    font-size: 36px;
    line-height: 42px;
    text-align: center;
    opacity: 1 !important;
    color: #112333 !important;
}
.topmoduleoverlay p, .topmoduleoverlay h4.topmodulelabel, .topmoduleoverlay p a {
    text-align: left;
    letter-spacing: 0.5px;
}
.topmoduleoverlay p.subtitle {
    font-family: "AP Møller Serif";
    font-size: 24px;
    line-height: 28px;
}
.topmoduleoverlay h4.topmodulelabel {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 11px;
}
.topmoduleoverlay p.text,
.topmoduleoverlay p.subtitle {
    opacity: 1 !important;
}

.topmoduleoverlay p a {
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
    color: white;
}
.topmoduleoverlay h4.topmodulelabel {
    color: #64B2D4;
}


/* positioning */
.topmoduleoverlay h1 {
    width: 65%;
    margin: 0 auto;
}
.topmoduleoverlay p, .topmoduleoverlay h4.topmodulelabel, .topmoduleoverlay p a {
    width: 40%;
    margin: 0 auto;
}
.topmoduleoverlay h1 {
    margin-bottom: 0px;
}
.topmoduleoverlay p {
    margin-bottom: 20px;
}
.topmoduleoverlay h4.topmodulelabel {
    margin-bottom: 20px;
    margin-top: 40px;
}



/* sub nav */
.topmoduleoverlay ul {
    margin: 0 auto;
    max-width: 80%;
    justify-content: center;
    display: flex;
    align-items: center;   
    margin-top: 20px;
    margin-bottom: 80px;
}

.topmoduleoverlay ul li {
    display: inline;
    list-style-type: none;
    margin: 0 8px;
}
.topmoduleoverlay ul li a {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 11px;
    color: #F0EBE7;
    text-decoration: none;
}

.topmoduleoverlay ul li a:hover {
    color: #64B2D4;
}



.topmoduleoverlay .investments-top, .topmoduleoverlay .group-top {
    display: flex;
    align-items: center;
    justify-content: center;
}

.topmoduleoverlay .group-top svg {
    width: 70%;
    margin-bottom: 50px;
}
svg .st4 {
    fill: white;
}
.topmoduleoverlay .investments-top svg {
    width: 900px;
    margin-top: -80px;
    margin-bottom: -150px;
}

/* circles */
.topmoduleoverlay .content-circle-1 {
    width: 200px;
    height: 50px;
    border-radius: 50%;
    background-color: #64B2D4;
    text-align: center;
    padding-top: 20px;
    margin: 0 auto;

}
.topmoduleoverlay .content-circle-2 {
    width: 200px;
    height: 50px;
    border-radius: 50%;
    background-color: #64B2D4;
    text-align: center;
    padding-top: 20px;
    margin: 0 auto;

}
.topmoduleoverlay .content-circle-3 {
    width: 200px;
    height: 50px;
    border-radius: 50%;
    background-color: #64B2D4;
    text-align: center;
    padding-top: 20px;
    margin: 0 auto;

}

.topmoduleoverlay p.circles-text {
    font-family: 'AP Møller Serif';
    text-align: center;
}

.topmoduleoverlay h5.in-circle {
    font-family: 'AP Møller Serif';
}

.topmoduleoverlay svg a > text > tspan {
    text-align: center;
    font-size: 22px;
    margin-bottom: 4px;
}


/* mobile */
@media (max-width: 760px) {
    .topmodulecontainer{
        height: auto !important;
    }
    .topmoduleoverlay {
        height: auto;
        padding: 160px 20px 80px 20px;
    }
    
    /* positioning */
    .topmoduleoverlay h1 {
        width: 90%;
        height: auto;
        margin: 0 auto;
        font-size: 24px;
        line-height: 24px;
    }
    .topmoduleoverlay p, .topmoduleoverlay h4.topmodulelabel, .topmoduleoverlay p a {
        width: 90%;
        margin: 0 auto;
    }
    .topmoduleoverlay h1 {
        margin-bottom: 10px;
    }
    .topmoduleoverlay p.subtitle {
        font-family: "AP Møller Serif";
        font-size: 18px;
        line-height: 22px;
    }
    .topmoduleoverlay .purpose-top svg {
        width: 90%;
        margin: 0 auto;
        display: block;
    }
    .topmoduleoverlay .investments-top {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .topmoduleoverlay .investments-top svg {
        width: 800px;  
        margin-top: -100px;
        margin-bottom: -100px;
    }
    .topmoduleoverlay p {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
    .topmoduleoverlay h4.topmodulelabel {
        margin-bottom: 20px;
        margin-top: 80px;
    }
    .topmoduleoverlay ul {
        margin-top: 30px;
        display: block;
        text-align: center;
        
    }
    .topmoduleoverlay ul li {
        display: block !important;
        clear: both;
        margin-bottom: 12px;
    }
    .topmoduleoverlay ul li a {
        display: block !important;
        clear: both;
        
    }
}


/* TABLET */
@media (min-width: 761px) and (max-width: 1024px) {
    .topmoduleoverlay {
        
    }
    /* positioning */
    .topmoduleoverlay h1 {
        width: 90%;
        margin: 0 auto;
    }
    .topmoduleoverlay p, .topmoduleoverlay h4.topmodulelabel, .topmoduleoverlay p a {
        width: 90%;
        margin: 0 auto;
    }
    .topmoduleoverlay h1 {
        margin-bottom: 20px;
    }
    .topmoduleoverlay p {
        margin-bottom: 20px;
    }
    .topmoduleoverlay h4.topmodulelabel {
        margin-bottom: 20px;
        margin-top: 20px;
    }
    .topmoduleoverlay ul li {
        display: inline;
    }
    .topmoduleoverlay .investments-top svg {
     
        width: 800px;
        display: block;
        overflow: hidden;
        margin: -60px auto -180px auto;
     
    }
    .topmoduleoverlay p, .topmoduleoverlay h4.topmodulelabel {
        
    }
}

