body {
    height: 100vh;
    overflow: hidden;   
    margin: 0;
    font-family: 'Proxima Nova', Georgia, sans-serif;
    background-color: #261f15;
    color: #261f15;
}

.container-bg {
    /* https://d2v9y0dukr6mq2.cloudfront.net/video/thumbnail/2mhLcvO/yellow-hexagon-shapes_njztwcvf__F0000.png */
    position: fixed;
    background-image: url(../img/bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0;
}

.canvas-container {
    display: flex;           /* establish flex container */
    flex-direction: column;  /* make main axis vertical */
    justify-content: center; /* center items vertically, in this case */
    align-items: center;     /* center items horizontally, in this case */
    height: 100%;

    transition: all 0.5s ease-out;
}

.canvas {
    width: 1000px;
    margin: auto;
    height: 570px;
    position: relative;
    z-index: 1;

    /* hack to center, because cells are moved */
    /* top: 18px;   */
    left: 20px;
    transition: all 0.5s ease-out;
    
}



.form-control:active,
.form-control:focus {
    outline: 0;
}

.form-control {
    width: 100%;
    border-radius: 0px;
    padding: 6px 12px;
    font-size: 16px;
    color: #261f15;
    outline: 0;
    border: 1px solid #FCC010;
    box-shadow: none;
}

.btn {
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 0px;
    padding: 8px 14px;
    border: none;
    background: #FCC010;
    color: #fff;
}

.btn-primary.focus, 
.btn-primary:focus,
.btn-primary:hover {
    background: rgb(245, 183, 13);
    color: #fff; 
}

.btn-primary.active.focus, 
.btn-primary.active:focus, 
.btn-primary.active:hover, 
.btn-primary:active.focus, 
.btn-primary:active:focus, 
.btn-primary:active:hover,
.btn-primary.active, 
.btn-primary:active {
    background: rgb(238, 174, 13);
    color: #fff;    
}

.hive-logo {
    width: 280px;
    left: 336px;
    top: 202px;
    display: block;
    position: absolute;
    z-index: -1;
}

.cell {
    position: absolute;
    opacity: 0;
    z-index: 1;
}

.cell.clickable {
    cursor: pointer;
}

.polygon__content {
    /* background: rgba(228, 228, 228, 0.28);
    border: 1px solid black; */
    /* display: none; */
    width: 100%;
    text-align: center; 
    position: absolute;
    z-index: 4;
    top: 0;
    bottom: 0;
    left: 0;
    transition: transform 0.3s cubic-bezier(0.215, 0.610, 0.355, 1);
}

.cell:hover .polygon__content {
    transform: scale(1.05);
}

.polygon__title {
    position: absolute;
    font-size: 1em;
    line-height: 1.2;
    font-weight: bold;
    width: 100%;    
    top: 26px;
    color: #261f15;
}

.v-center-title .polygon__title {
    top: 50%;
    transform: translateY(-60%);
}

.icon-only .polygon__icon {
    width: 65%;
    height: 65%;
    top: 49%;
    transform: translate(-50%, -50%);
    left: 50%;
    position: absolute;
    background-size: 100%;
    background-position: 50% 50%;
}

.icon-only .polygon__icon.large {
    width: 80%;
}
    
.polygon__icon {
    background-repeat: no-repeat;
    width: 50px;
    height: 50px;
    background-size: 50px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 42%;
}

.polygon__debug {
    display: none;
    position: absolute;
    bottom: 20px;
    font-size: 10px;
    text-align: center;
    width: 100%;
}

.cell polygon {
    fill: #fcc010;
}

.cell.clickable:hover polygon {
    fill: #FCD45C;
}

.show-when-ready {
    opacity: 0;
    /* transition: all 0.5s; */
}
.show-when-ready.ready {
    opacity: 1;
}

.hivemodal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    display: none;
}

.hivemodal__back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
}

.hivemodal__container h2 {
    text-transform: uppercase;
    font-weight: bold;
    padding-bottom: 10px;
    border-bottom: 2px solid #fcc010;
    margin-bottom: 15px;
}

.hivemodal__container {
    opacity: 0;
    background: whitesmoke;
    position: absolute;
    width: 45%;
    height: 100vh;
    box-shadow: -90px 0px 110px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: -1;
}

.hivemodal__container.left.show,
.hivemodal__container.right.show {
    z-index: 1;
    opacity: 1;
    transform: translateX(0);
}

.hivemodal__container.right {
    right: 0;
    transform: translateX(20%);
}

.hivemodal__container:after {
    content: '';
    position: absolute;
    top: 0;
    width: 0;
    height: 0;
    border-style: solid;
}

.hivemodal__container.right:after {
    left: -99px;
    border-color: transparent whitesmoke transparent transparent;
    border-width: 50vh 100px 50vh 0;
}


.hivemodal__container.left {
    left: 0;
    transform: translateX(-20%);
}

.hivemodal__container.left:after {  
    right: -99px;
    border-color: transparent transparent transparent whitesmoke;
    border-width: 50vh 0px 50vh 100px;
}

.hive-modal__body {
    width: 100%;
    height: 100%;
    padding: 16px 32px;
    overflow-y: scroll;
}

.hive-modal__close {
    z-index: 9;
    position: absolute;
    cursor: pointer;
    background: url(../img/icons/close.svg);
    background-repeat: no-repeat;
    background-size: 24px;
    top: 24px;
    right: 32px;
    width: 24px;
    height: 24px;
}

#modal-team .row {
    margin-bottom: 16px;
}

.outputMsg {
    display: none;
    color: #fdc010;
    background: #261f15;
    padding: 16px 12px;
    margin-top: 4px;
}

.footer {
    position: fixed;
    bottom: 10px;
    width: 100%;
}

.social-btns {
    list-style-type: none;
    padding: 0;
    margin: 0 auto;
    width: 200px;
    transform: translateX(5px);
}

.social-btns li {
    float: left;
    padding: 8px;
}

.social-btns__item {
    width: 24px;
    min-height: 24px;
    display: block;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    opacity: 0;
    cursor: pointer;
}

.social-btns__item--small {
    width: 16px;
    min-height: 16px;
    margin-right: 4px
}

.social-btns__item:hover {
    opacity: 1;
}

.social-btns__item.facebook {
    background-image: url(../img/icons/social/facebook-uni.svg);
}
.social-btns__item.instagram {
    background-image: url(../img/icons/social/instagram-uni.svg);
}
.social-btns__item.meetup {
    background-image: url(../img/icons/social/meetup-uni.svg);
}
.social-btns__item.linkedin {
    background-image: url(../img/icons/social/linkedin-uni.svg);
}
.social-btns__item.twitter {
    background-image: url(../img/icons/social/twitter-uni.svg);
}
.social-btns__item.mail {
    background-image: url(../img/icons/social/mail-uni.svg);
}

.social-btns__item.facebook:hover {
    background-image: url(../img/icons/social/facebook.svg);    
}
.social-btns__item.instagram:hover {
    background-image: url(../img/icons/social/instagram.svg);    
}
.social-btns__item.meetup:hover {
    background-image: url(../img/icons/social/meetup.svg);    
}
.social-btns__item.linkedin:hover {
    background-image: url(../img/icons/social/linkedin.svg);    
}
.social-btns__item.twitter:hover {
    background-image: url(../img/icons/social/twitter.svg);    
}
.social-btns__item.mail:hover {
    background-image: url(../img/icons/social/mail.svg);
}

#modal-team .row {
    margin-top: 32px;    
}

.team-member {
    max-width: 120px;
    margin: auto;
}

.team-member__name {
    font-weight: bold;
    font-size: 0.9em;
    text-align: center;
}

.team-member__socials {
    margin: 0;
    padding: 0;
    list-style-type: none;
    margin-top: 8px;
    text-align: center
}

.team-member__socials li {
    display: inline-block;
}

@media (max-width: 767px) {
    body {
        overflow-y: auto;
        overflow-x: hidden;
    }

    .container-bg {
        display: none;
    }

    .canvas {
        width: 290px;
        height: 535px;
        left: 0;
    }

    .hive-logo {
        width: 100%;
        position: static;
        z-index: 1;
    }

    .footer {
        position: static;
        bottom: 10px;
        width: 100%;
        height: 80px;
        margin-top: 24px;
    }

    .social-btns {
        width: 240px;
    }

    .social-btns__item {
        width: 32px;
        min-height: 32px;
        display: block;
        background-repeat: no-repeat;
        background-position: 50% 50%;
    }

    .hivemodal__container {
        width: 100%;
        font-size: 16px;
    }

    .social-btns__item--small {
        width: 24px;
        min-height: 24px;
        margin-right: 8px;
    }

    .team-member {
        max-width: 150px;
        margin: 16px auto;
    }
}