.netlogo-embedded {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    transition: width .5s, margin .5s, box-shadow .5s;
    background: #E5ECF1;
    display: flex;
    align-content: center;
    justify-content: center;
}

.netlogo-embedded.open {
    width: 796px;
    margin-left: -58px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}

.netlogo-embedded iframe {
    flex-grow: 1;
    border: none;
    width: 796px;
    height: 755px;
    overflow: hidden;
    margin-left: -58px;
    transition: margin-left .5s;
}

.netlogo-embedded.open iframe {
    margin-left: 0;
}

.netlogo-toolbox {
    clear: right;
    float: right;
    margin: 0 -150px 0 0;
    position: relative;
    transition: margin .5s;
}

.netlogo-toolbox.open {
    margin: 0 -208px 0 0;
}

.netlogo-btn {
    display: inline-block;
    box-sizing: border-box;
    text-decoration: none;
    width: 50px;
    height: 50px;
    cursor: pointer;
    border: none;
    color: #f2f2f2;
    font-weight: bold;
    background-color: #004879;
    background-size: 100% 100%;
    transition: background-size .5s, background-image .5s;
    margin: 0 0 0 .5em;
}

.netlogo-btn.netlogo-btn-download {
    background-image: url('https://files.instruct.nl/fundament/SLO/R_ComputationalScience/interactief/download.png');
}

.netlogo-btn.netlogo-btn-zoom {
    background-image: url('https://files.instruct.nl/fundament/SLO/R_ComputationalScience/interactief/zoom_in.png');
}

.netlogo-toolbox.open .netlogo-btn-zoom {
    background-image: url('https://files.instruct.nl/fundament/SLO/R_ComputationalScience/interactief/zoom_out.png');
    background-size: 120% 120%;
}