[v-cloak] {
    display: none;
}

@media print {
    #business-model-canvas {
        height: 95vh !important;
        margin: 1rem;
        page-break-after: always;
        page-break-before: always;
    }
    .section-summary {
        display: none;
    }
    .reset-bmc {
        display: none;
    }
    .web-msg {
        display: none !important;
    }
    .print-msg {
        display: block !important;
    }
    .pdf-notice {
        display: none;
    }
}
@media print, screen and (min-width: 768px){
    #business-model-canvas {
        display: grid;
    }
}
@media screen and (max-width: 768px){
    #business-model-canvas > div {
        min-height: 150px;
        max-height: 400px;
    }
}

    .web-msg {
        display: block;
    }
    .print-msg {
        display: none;
    }

#business-model-canvas {
    border: solid rgba(0,0,0,0.5) 1px;
    border-radius: 5px;
    box-shadow: 5px 10px 18px rgba(0,0,0,0.25);
    grid-template-areas: 
    "key-partners key-partners key-activities key-activities value-propositions value-propositions customer-relationships customer-relationships customer-segments customer-segments"
    "key-partners key-partners key-resources key-resources value-propositions value-propositions channels channels customer-segments customer-segments"
    "cost-structure cost-structure cost-structure cost-structure cost-structure revenue-streams revenue-streams revenue-streams revenue-streams revenue-streams";
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(3, 1fr);
}
#business-model-canvas > div {
    border: solid rgba(0,0,0,0.5) 1px;
    /*box-shadow: 5px 10px 18px rgba(0,0,0,0.1);*/
    text-overflow: ellipsis; 
    display: block; 
    overflow: hidden; 
    padding: 0.5rem 1rem;
    transition: background 0.125s;
    width: 100%;
}
#business-model-canvas > div:hover {
    background: #eee;
    cursor: pointer;
    transition: background 0.125s;
}
#business-model-canvas > div > p {
    font-size: 0.8rem;
}
.customer-segments {
    grid-area: customer-segments;
}
.value-propositions {
    grid-area: value-propositions;
}
.channels {
    grid-area: channels;
}
.customer-relationships {
    grid-area: customer-relationships;
}
.revenue-streams {
    grid-area: revenue-streams;
}
.key-resources {
    grid-area: key-resources;
}
.key-activities {
    grid-area: key-activities;
}
.key-partners {
    grid-area: key-partners;
}
.cost-structure {
    grid-area: cost-structure;
}

#bmc-modal {
    display: block;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}
.bmc-modal-content {
    background-color: #fefefe;
    border-radius: 5px;
    margin: 5% auto auto auto; /* 15% from the top and centered */
    padding: 1rem;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 768px;
    height: calc(100vh - 20%);
    display: flex;
    flex-direction: column;
}
.bmc-modal-content textarea {
    flex: 1 1 0px;
    padding: 0.5rem;
}
.bmc-modal-content button {
    margin-right: 0;
}


.reset-bmc {
    margin-bottom: 1rem;
}
.save-bmc  {
    margin-top: 1rem;
}



#business-model-canvas > div > p.user-text {
    font-family: 'Delius' /*'Comic Neue'*/;
    font-weight: 400;
    font-size: 1rem;
    color: navy;
}

.fade-enter-active, .fade-leave-active {
  transition: opacity .125s;
}
.fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ {
  opacity: 0;
}