@font-face {
    font-family: 'Dino';
    src: url('/static/fonts/dino/NotoSans-Regular.woff2');
}

body {
    font-family: 'Dino';
    --dino-light-blue: rgba(0, 159, 227, 1);
    --dino-dark-blue: #1a4273;
}

.dino-text-color-primary {
    color: white;
}

.dino-text-color-dark {
    color: black;
}

.dino-text-color-blue {
    color: var(--dino-light-blue);
}

.dino-background-color-white {
    background-color: white;
}

.dino-background-color-black {
    background-color: rgba(0, 0, 0, 1);
}

.dino-background-color-blue {
    background-color: var(--dino-light-blue);
}

.dino-background-color-dark-blue {
    background-color: var(--dino-dark-blue);
}

.dino-border-color-blue {
    border-color: var(--dino-light-blue);
}

.alternating-color:nth-child(3n-2) {
    background-color: var(--dino-light-blue);
}
.alternating-color:nth-child(3n-1) {
    background-color: rgba(0, 0, 0, 1);
}
.alternating-color:nth-child(3n) {
    background-color: var(--dino-dark-blue);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (min-width: 1200px) {
    .container {
        max-width: 80%;
    }
}
#intro-text-logo {
    float: right;
    height: 150px;
    width: auto;
    margin-left: 22px;
    margin-top: 30px;
    max-width: 90vw;
    object-fit: contain;
}

#footer-funded-container {
    height: 175px;
    width: 90%;
    border-radius: 0 175px 0 0;
}

#footer-partner-container {
    width: 80%;
    height: 250px;
    border-radius: 250px 0 0 0;
    margin-left: auto;
    margin-right: 0;
}

.partner-image {
    height: 50px;
    object-fit: contain;
    max-width: 100%;
}

.funded-image {
    height: 75px;
    object-fit: contain;
    max-width: 100%;
    margin: 0 auto;
    display: block;
}

@media only screen and (max-width: 992px) {
    #footer-funded-container {
        height: auto;
        width: 100%;
        border: none;
        border-radius: 0;
        margin: 0px !important;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
    #footer-partner-container {
        width: 100%;
        height: auto;
        border: none;
        border-radius: 0;
        margin: 0px !important;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }

    .partner-image,
    .funded-image {
        height: auto;
        margin: 0px auto !important;
        padding: 20px;
        width: 80vw;
        max-width: calc(100vw - 30px);
        align-self: center;
        display: flex;
    }
}

#dino-header-container {
    display: table;
    text-align: center;
    width: 100%;
    background-image: url("/static/images/dino/header_image.png"); /* The image used */
    height: 500px; /* You must set a specified height */
    background-position: 50% 40%;
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover;
}

.layout-element-headline {
    font-weight: bold;
    font-size: 2.0rem;
    text-align: center;
}

@media only screen and (max-width: 992px) {
    .layout-element-headline {
        font-size: 1.2rem;
    }
}

a.override-color, a.override-color:hover, a.override-color:focus {
    color: inherit;
    background-color: inherit;
}

.footer {
    padding-top: 10px;
    padding-bottom: 10px;
}

.footer-partner-headline {
    display: block;
    width: 100%;
    text-align: right;
    font-size: 1.2rem;
    font-weight: bold;
}

.footer-funding-headline {
    display: block;
    width: 100%;
    text-align: left;
    font-size: 1.2rem;
    font-weight: bold;
}

@media only screen and (max-width: 992px) {
    .footer-funding-headline,
    .footer-partner-headline {
        text-align: center;
    }
}

.contact-card > img {
    object-position: 50% 20%;
}

.link-tile {
    transition: all .2s ease-in-out;
}

.link-tile:hover {
    cursor: pointer;
    transform: scale(1.02);
}

#column-text-logo-container {
    float: right;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    width: 300px;
    margin: 20px;
    max-width: 90vw;
    object-fit: contain;
    border-radius: 50%;
    shape-outside: circle(50%);
}

#column-text-logo-container > #column-text-logo {
    height: 200px;
    width: 200px;
    margin: 0 auto;
    object-fit: contain;
}

.collapse-link {
    display: block;
    height: 66px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

a > .collapse-arrow {
    transform: rotate(90deg);
    transition: 0.5s ease-in-out;
}

a.collapsed > .collapse-arrow {
    transform: none !important;
}

#event-popup > .modal-dialog > .modal-content > .modal-header {
    border: none;
}

#event-popup-close {
    opacity: 1;
}

.text-justify.justify-child > * {
    text-align: justify;
}

.nav-item > .nav-link:hover {
    text-decoration: underline;
    text-decoration-thickness: 4px;
    text-underline-offset: 12px;
}

.nav-item > .dropdown-menu > .dropdown-item:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
}

.dropdown:hover > .dropdown-menu {
    display: block;
}

.navbar-container {
    position: fixed;
    z-index: 10000;
}

.dino-navbar-spacer {
    height: 50px;
}

.dino-navbar-spacer, .dino-navbar, .navbar-container {
    width: 100%;
}

.dino-navbar-logo {
    height: 30px;
    width: auto;
}

.carousel .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23009fe3' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
}

.carousel .carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23009fe3' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
}

#event-carousel .carousel-control-prev-icon,
#event-carousel .carousel-control-next-icon {
    width: 50px;
    height: 50px;
}

#event-carousel .carousel-control-prev,
#event-carousel .carousel-control-next {
    width: 50px;
    opacity: 0.8;
}

#event-carousel .carousel-control-prev {
    left: -20px;
}

#event-carousel .carousel-control-next {
    right: -20px;
}

#event-carousel .carousel-control-prev:hover,
#event-carousel .carousel-control-next:hover {
    opacity: 1;
}

@media only screen and (min-width: 992px) {
    .dino-navbar-spacer,  .navbar-container{
        height: 150px;
    }
    .dino-navbar-logo {
        height: 65px;
    }
    #navbarText {
        padding-left: 100px;
        align-self: end;
    }
    .dino-navbar {
        height: 75%;
        align-self: end;
    }
    .navbar-brand {
        display: flex;
        align-self: end;
        padding-bottom: 0.5rem;
        padding-left: 20px;
    }
    .navbar-expand-xl .navbar-nav .nav-link {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        font-weight: 600;
        font-size: 0.95rem;
    }

    .carousel-inner .carousel-item {
        margin-right: inherit;
    }
     /* show 3 items */
    .carousel-inner .active,
    .carousel-inner .active + .carousel-item,
    .carousel-inner .active + .carousel-item + .carousel-item {
        display: block;
    }
    
    .carousel-inner .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left),
    .carousel-inner .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left) + .carousel-item,
    .carousel-inner .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left) + .carousel-item + .carousel-item {
        transition: none;
        margin-right: initial;
    }
    
    .carousel-inner .carousel-item-next,
    .carousel-inner .carousel-item-prev {
      position: relative;
      transform: translate3d(0, 0, 0);
    }
    
    .carousel-inner .active.carousel-item + .carousel-item + .carousel-item + .carousel-item {
        position: absolute;
        top: 0;
        right: -33.3333%;
        z-index: -1;
        display: block;
        visibility: visible;
    }
    
    /* left or forward direction */
    .active.carousel-item-left + .carousel-item-next.carousel-item-left,
    .carousel-item-next.carousel-item-left + .carousel-item,
    .carousel-item-next.carousel-item-left + .carousel-item + .carousel-item,
    .carousel-item-next.carousel-item-left + .carousel-item + .carousel-item + .carousel-item {
        position: relative;
        transform: translate3d(-100%, 0, 0);
        visibility: visible;
    }
    
    /* farthest right hidden item must be abso position for animations */
    .carousel-inner .carousel-item-prev.carousel-item-right {
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        display: block;
        visibility: visible;
    }
    
    /* right or prev direction */
    .active.carousel-item-right + .carousel-item-prev.carousel-item-right,
    .carousel-item-prev.carousel-item-right + .carousel-item,
    .carousel-item-prev.carousel-item-right + .carousel-item + .carousel-item,
    .carousel-item-prev.carousel-item-right + .carousel-item + .carousel-item + .carousel-item {
        position: relative;
        transform: translate3d(100%, 0, 0);
        visibility: visible;
        display: block;
        visibility: visible;
    }
    #event-carousel .carousel-control-prev {
        left: -50px;
    }
    
    #event-carousel .carousel-control-next {
        right: -50px;
    }
}

a.carousel-item:hover {
    text-decoration: none;
}

.carousel-inner {
    overflow-x: hidden;
    overflow-y: hidden;
}

.event-card-container {
    height: 440px;
    /* aspect-ratio: 0.71; */
    aspect-ratio: 0.80;
    min-width: 250px;
    max-width: 100%;
    margin: 0 auto;
    border: 1px solid #F0F0F0;
    border-bottom: 5px solid var(--dino-light-blue);;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    /*box-shadow: 0px 0px 3px grey;*/
    transform: scale(0.98);
}

.event-card-container:hover {
    transform: scale(1.00);
}

.event-card-image {
    display: block;
    width: 100%;
    height: 160px;
    background-color: var(--dino-light-blue);;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.event-card-text {
    padding-left: 15px;
    padding-right: 15px;
}

.event-card-date {
    height: 60px;
    width: 100%;
    font-size: 0.8rem;
    font-weight: 900;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.event-card-title {
    height: 54px;
    width: 100%;
    font-size: 1.2rem;
    line-height: 27px;
    font-weight: 500;
}

.event-card-description {
    height: 166px;
    width: 100%;
    font-size: 0.7rem;
    padding-top: 20px;
    white-space: pre-line;
}

.event-detail-table tr > td {
    padding-left: 10px;
}

.event-detail-table tr > td:nth-child(1) {
    font-size: 0.9rem;
}

.event-detail-table tr > td:nth-child(2) {
    font-weight: 900;
    font-size: 1.1rem;
}

.event-detail-icon-image-container,
.event-detail-image-container {
    float: right;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px;
    max-width: 90vw;
    border-radius: 50%;
}

.event-detail-icon-image-container {
    width: 400px;
    aspect-ratio: 1;
    border-radius: 50%;
    shape-outside: circle(50%);
}

.event-detail-image-container {
    width: 500px;
    height: 400px;
}

.event-detail-image-container > img {
    width: 100%;
    height: 100%;
    max-width: 90vw;
    object-fit: cover;
    margin: 0 auto;
}

.event-detail-icon-image-container > img {
    width: 60%;
    aspect-ratio: 1;
    max-width: 45vw;
    object-fit: contain;
    margin: 0 auto;
}

.event-centered {
    max-width: 800px;
    margin: 0 auto;
}

.event-list-row-container {
    display: flex;
    flex-direction: row;
    height: 150px;
    width: 100%;
    border: 1px solid #F0F0F0;
    border-left: 5px solid var(--dino-light-blue);;
    align-items: stretch;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-shadow: 0px 0px 3px grey;
}

.event-list-row-container:hover {
    text-decoration: none;
    transform: scale(1.02);
    color: inherit;
}

.event-list-image-container {
    width: 150px;
    height: 100%;
    background-color: var(--dino-light-blue);;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    align-self: flex-end;
}

.event-list-date-container {
    width: 150px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    align-self: center;
    font-weight: 700;
    text-align: center;
    font-size: 0.95rem;
}

.event-list-center-container {
    flex-grow: 1;
    flex-basis: 0px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
}

.event-list-center-subcontainer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    height: 60%;
}

.event-list-event-title {
    font-size: 1.2rem;
    padding-left: 20px;
    padding-right: 20px;
    text-align: start;
}

.event-list-event-signup-status {
    text-align: start;
    padding-left: 20px;
}

@media only screen and (max-width: 750px) {  
    .event-list-row-container {
        flex-direction: column;
        height: auto;
    }
    .event-list-date-container {
        margin-top: 10px;
    }
    .event-list-center-container {
        margin-top: 20px;
        margin-bottom: 10px;
    }
    .event-list-event-title {
        text-align: center;
    }
    
    .event-list-event-signup-status {
        text-align: center;
    }
    .event-list-center-subcontainer {
        height: 100%;
    }
}

.event-address-table-row > :first-child {
    vertical-align: top;
}

.event-address-table-row > td > p {
    margin-bottom: 0px;
}

.agenda-table .agenda-time-row > :first-child {
    font-weight: bold;
    font-style: italic;
    padding-right: 20px;
    padding-top: 20px;
}

.agenda-table .agenda-time-row > :nth-child(2) {
    font-size: 1.5rem;
    padding-top: 20px;
}

.agenda-table .agenda-description-row > :nth-child(2) {
    font-size: 0.8rem;
}

.form-group > label {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

@media only screen and (min-width: 750px) {  
    .horizontal-form-label {
        text-align: right;
    }
}

.external-link-signup-container {
    max-width: 800px;
    margin: 0 auto;
}

.external-link-signup-container > a {
    margin: 0 auto;
    width: 100px;
    display: block;
    text-align: center;
}

.matchmaking-table-line {
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.matchmaking-table-line > div:first-of-type {
    font-weight: bold;
}

.matchmaking-table-line > div:nth-of-type(2) {
    font-style: italic;
}

.matchmaking-company-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    border: 1px solid #F0F0F0; 
    align-items: stretch;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-shadow: 0px 0px 3px grey;
    color: black;
    margin-bottom: 15px;
}

.matchmaking-company-container:hover {
    text-decoration: none;
    transform: scale(1.02);
    color: inherit;
}

.matchmaking-list-company-introduction {
    padding-top: 15px;
    padding-bottom: 5px;
    white-space: pre-line;
}

.matchmaking-list-company-looking,
.matchmaking-list-company-offering {
    padding-top: 5px;
    display: flex;
    flex-direction: row;
    gap: 5px;
    flex-wrap: wrap;
}

.matchmaking-area-of-interest-bubble {
    font-weight: bold;
    line-height: 30px;
    font-size: 13px;
    height: 30px;
    border-radius: 15px;
    padding: 0 10px;
    margin-top: 0 5px;
}

#matchmaking-admin-pool-select {
    margin-bottom: 30px;
}

.matchmaking-filter-dropdown-button {
    width: 100%;
    border: none;
    font-weight: bold;
}

.matchmaking-filter-dropdown-button:hover {
    background-color: var(--dino-light-blue);
    filter: brightness(90%);
    box-shadow: 0px 0px 2px var(--dino-light-blue);
}

.matchmaking-filter-dropdown-container {
    width: 1000px;
    max-width: calc(100vw - 30px);
    flex-direction: row;
    margin-top: -5px;
}

.matchmaking-card-offering-headline,
.matchmaking-card-looking-headline {
    color: var(--dino-light-blue);
    text-transform: uppercase;
    font-size: 18px;
    padding-top: 10px;
}

.matchmaking-card-offering-headline {
    color: var(--dino-light-blue);
}

.matchmaking-card-looking-headline {
    color: var(--dino-dark-blue);
}

.has-search .form-control {
    padding-left: 2.375rem;
}

.has-search .form-control-feedback {
    position: absolute;
    z-index: 2;
    display: block;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 2.375rem;
    text-align: center;
    pointer-events: none;
    color: #aaa;
}

#matchmaking-active-filter-display {
    font-size: 15px;
    padding-top: 20px;
    line-height: 30px;
}