.simple-ribbon {
    position: relative;
    font-family: sans-serif;
    font-size: 80%;
    padding-top: 1em;
    background-color: #eaedf1;
    border-bottom: 0.1em solid #8b9097;
    box-shadow: #8b9097 0 0.1em 0.3em;
    overflow: hidden;
    height: 12.2em;
}

.simple-ribbon .hidden { display: none; }

.simple-ribbon>h2 {
    display: block;
    font-size: 125%;
    margin: 0;
    padding: 0.2em;
    text-align: center;
    color: black;
    font-weight: normal;
}

.simple-ribbon h3 {
    display: inline;
    position: relative;
    margin: 0 0.5em;
    padding: 0.3em 1em;
    color: #444;
    border-radius: 0.4em 0.4em 0 0;
    font-weight: normal;
}

.simple-ribbon h3:hover {
    background-color: #f1f3f4;
    border: 0.1em solid #b6babf;
    margin: -0.1em 0.4em;
    cursor: pointer;
}

.simple-ribbon h3.file {
    padding: 0.3em 2em;
    background: linear-gradient(#4488e5, #2860b3);
    border: 0.1em solid #1f48a1;
    margin: -0.1em 0.4em;
    border-bottom: 0.1em solid #4488e5;
    cursor: pointer;
    color: white;
}

.simple-ribbon h3.file:hover {
    position: relative;
    background: linear-gradient(#5498f5, #3870c3);
}

.simple-ribbon h4 {
    display: block;
    position: absolute;
    bottom: 0;
    margin: 0;
    left: 0;
    right: 0;
    padding: 0;
    color: #5B626C;
    text-align: center;
    clear: left;
    font-weight: normal;
}

.simple-ribbon>div {
    position: absolute;
    width: 100%;
    height: 8em;
    padding: 0.6em;
    margin-top: 0.3em;
    border-top: 0.1em solid #b6babf;
    background: linear-gradient(#ffffff, #eaedf1);
    overflow: hidden;
    min-width: 50em;
}

.simple-ribbon hr {
    border-left: 0.1em solid #CCC;
    border-right: 0.1em solid white;
    margin: 0 0.5em;
    height: 6.8em;
    position: relative;
    width: 0;
    float: left;
}

.simple-ribbon>div>div {
    float: left;
    position: relative;
    height: 7.2em;
}

.simple-ribbon button, .simple-ribbon a {
    padding: 0.4em 0.6em;
    border: 0.1em solid transparent;
    border-radius: 0.3em;
    background-color: transparent;
    line-height: 1;
    text-decoration: none;
    color: black;
}

.simple-ribbon button.large {
    text-align: center;
    height: 5em;
    min-width: 3.7em;
    float: left;
}

.simple-ribbon button.small {
    height: 1.6em;
    padding: 0.3em 0.4em;
    text-align: left;
}

.simple-ribbon button:hover, .simple-ribbon a:hover {
    border: 0.1em solid #F1C43F;
    background-color: #fdeeb3;
    cursor: pointer;
}

.simple-ribbon button:active {
    border: 0.1em solid #F1C43F;
    background-color: #F1C43F;
    cursor: pointer;
}

.simple-ribbon h3.selected,
.simple-ribbon h3.selected:hover {
    background-color: white;
    margin: -0.1em 0.4em;
    border: 0.1em solid #b6babf;
    border-bottom: 0.1em solid white;
    cursor: default;
    z-index: 1;
}

.simple-ribbon h3.file.selected {
    background: linear-gradient(#2860b3, #4488e5);
    border: 0.1em solid #1f48a1;
    cursor: pointer;
    border-bottom: 0.1em solid #4488e5;
    position: relative;
}

.simple-ribbon h3.file+div {
    padding: 1em;
    margin-top: 0.3em;
    border-top: 0.1em solid #1f48a1;
    background: linear-gradient(left, #4488e5 15%, #ffffff 100%);
    overflow: hidden;
    min-width: 50em;
}

