.dei-hero h1 {
    background-color: #f2d29c;
    padding: 0.5rem;
}

.clear-message {
    background: #c6e4e4;
}

.clear-message img, .modal-content img {
    border: 0.5rem solid #f3f1ef;
    box-shadow: 0 0 0 1px #a4d5d7, 0 0 0 0.75rem #f3f1ef;
}

.action-container .floating-box {
    position: absolute;
    width: 14rem;
    height: 4rem;
    background-color: #f6e1bf;
    top: -0.75em;
    left: 9rem;
}

.activities .floating-box {
    position: absolute;
    width: 8rem;
    height: 4rem;
    background-color: #FCD9EA;
    top: -0.75em;
    left: 2.5rem;
    
}

.what-container .floating-box {
    position: absolute;
    width: 12rem;
    height: 4rem;
    background-color: #FCD9EA;
    top: -0.75em;
    left: 14rem;
    
}
.copy-container h3 {
    position: relative;
    z-index: 10;
    margin-bottom: 1rem;
}
.copy-container .floating-box {
    position: absolute;
    width: 10rem;
    height: 2.75rem;
    background-color: #E2DFDB;
    top: -1.25rem;
    left: 6rem;
}

.modal-content .copy-container .floating-box {
    background-color: #C6E4E4;
    left: 9rem;
}

/* DOUGNUTS */
.focus-area {
    position: relative;
}
.donut {
    position: relative;
    width: 200px;
    height: 200px;
    margin: auto;
    z-index: 10;
}

.donut-default {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.donut-white {
    width: 80%;
    height: 80%;
    border-radius: 50%;
    background: #fff;
    top: 50%;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.donut-line {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.donut-text {
    top: 25px;
    left: 25px;
    width: 150px;
    height: 150px;
    background: #fff;
    position: absolute;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

.donut-case {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    background-clip: border-box;
    overflow: hidden;
}

.focus-block {
    position: relative;
    text-align: right;
    background: white;
    margin: -7rem 0.25rem 0 0.25rem;
    padding: 8rem 1rem 3rem 1rem;
    height: 16rem;
}

.focus-block button {
    position: absolute;
    color: #464547;
    font-size: 1.5rem;
    background-color: #F3F1EF;
    padding: 0 0.5rem;
    min-width: 2.3rem;
    border-radius: 9999px;
    bottom: 1rem;
    right: 1rem;
    transition: all 250ms;
}

.focus-block button:hover {
    color: #F3F1EF;
    background-color: #464547;
}

.workplace .donut-case {
    background: linear-gradient(to right, #b292bf, #8ba3d1);
}

.communities .donut-case {
    background: linear-gradient(#9cd2de, #efd9ae);
}

.marketplace .donut-case {
    background: linear-gradient(to right, #8fc58b, #66bfd0);
}

@media (max-width: 1024px) {
    .floating-box {
        display: none;
    }
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.activities .events-menu a span {
    transition: color 0.5s;
    transition-timing-function: cubic-bezier(0.2,1,0.3,1);
    position: relative;
    z-index: 1;
}

.activities .events-menu a:hover span::before, .activities .events-menu a.on span::before  {
    transform: scale3d(1, 1, 1);
}

.activities .events-menu a span::before {
    content: '';
    position: absolute;
    background: #F7E3C4;
    bottom: 0.35rem;
    left: 1rem;
    width: 100%;
    height: 100%;
    z-index: -1;
    transform: scale3d(0, 1, 1);
    transform-origin: 0% 50%;
    transition: transform 0.5s;
    transition-timing-function: cubic-bezier(0.2,1,0.3,1);
}

.hide-cal {
    display: none;
}

#timeline {
    position: relative;
    padding: 0 10px;
    transition: all 0.4s ease;
}
#timeline:before {
    content: "";
    width: 3px;
    height: 100%;
    background: #4C7D86;
    left: 50%;
    top: 0;
    position: absolute;
}
#timeline:after {
    content: "";
    clear: both;
    display: table;
    width: 100%;
}
#timeline .timeline-item {
    margin-bottom: 50px;
    position: relative;
}
#timeline .timeline-item .timeline-icon {
    background: #4C7D86;
    width: 50px;
    height: 50px;
    position: absolute;
    top: 0;
    left: 50%;
    overflow: hidden;
    margin-left: -23px;
    border-radius: 50%;
}
#timeline .timeline-item .timeline-icon svg {
    position: relative;
    top: 14px;
    left: 14px;
}
#timeline .timeline-item .timeline-content {
    width: 45%;
    background: #fff;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}
#timeline .timeline-item .timeline-content h2 {
    /* position: absolute; */
    padding: 1rem;
    background: #4C7D86;
    border-radius: 0.5rem 0 0 0;
    color: white;
    top: 0;
}
#timeline .timeline-item .timeline-content img {
    border-radius: 0.5rem 0.5rem 0 0;
}
#timeline .timeline-item .timeline-content.right {
    float: right;
}

@media screen and (max-width: 768px) {
    #timeline {
        margin: 30px;
        padding: 0px;
        width: 90%;
   }
    #timeline:before {
        left: 0;
   }
    #timeline .timeline-item .timeline-content {
        width: 90%;
        float: right;
   }
    #timeline .timeline-item .timeline-content:before, #timeline .timeline-item .timeline-content.right:before {
        left: 10%;
        margin-left: -6px;
        border-left: 0;
        border-right: 7px solid #4C7D86;
   }
    #timeline .timeline-item .timeline-icon {
        left: 0;
   }
}