body {
    margin: 0;
    height: 100%;
}

button {
     outline: none;
 }

button:hover {
    background-color: yellow;
    color: black;
}

.main {
    height: 100%;
    width: 100%;
    position: absolute;
}

.header {
    width: 100%;
    height: 50px;
    position: relative;
}

/* toolbar */
.toolbar {
    width: 100%;
    height: 100%;
    background-color: #555577;
}

.toolbar-title {
    left: 10px;
    top: 11px;
    margin: 0;
    color: white;
    font-family: arial;
    font-size: 24px;
    position: absolute;
}

.toolbar-right {
    right: 0;
    height: 100%;
    padding: 0 25px 0 25px;
    position: absolute;
}

.toolbar-delete-button {
    top: calc(50% - 20px);
    width: 64px;
    height: 40px;
    font-size: 13px;
    background: rgba(0,0,0,0.2);
    border: green;
    color: white;
    position: relative;
}

.toolbar-undo-button {
    top: calc(50% - 20px);
    width: 64px;
    height: 40px;
    font-size: 13px;
    background: rgba(0,0,0,0.2);
    border: green;
    color: white;
    position: relative;
}

.toolbar-redo-button {
    top: calc(50% - 20px);
    width: 64px;
    height: 40px;
    font-size: 13px;
    background: rgba(0,0,0,0.2);;
    border: green;
    color: white;
    position: relative;
}

.toolbar-button-disabled {
    background-color: rgba(0,0,0,0.1);;
    color: gray;
    pointer-events: none;
}

/* viewer */
.viewer-container {
    width: 100%;
    height: calc(100% - 240px);
    position: relative;
}

.viewer-container-preview {
    height: calc(100% - 90px);
}

.viewer {
    width: 100%;
    height: 100%;
    background-color: darkgray;
    position: absolute;
}

.previous-slide-button {
    left: 20px;
    top: calc(50% - 40px);
    width: 60px;
    height: 60px;
    border-radius: 30px;
    font-size: 20px;
    color: #ffffff;
    background-color: #77bb77;
    border-color: #66aa66;
    position: absolute;
    outline: none;
    z-index: 10;
}

.next-slide-button {
    right: 20px;
    top: calc(50% - 40px);
    width: 60px;
    height: 60px;
    border-radius: 30px;
    font-size: 20px;
    color: #ffffff;
    background-color: #77bb77;
    border-color: #66aa66;
    position: absolute;
    outline: none;
    z-index: 10;
}

.new-slide-button {
    right: 20px;
    bottom: 20px;
    width: 80px;
    height: 80px;
    border-radius: 40px;
    font-size: 20px;
    color: #ffffff;
    background-color: #ff4444;
    border-color: #cc3333;
    position: absolute;
    outline: none;
    z-index: 10;
}

/* Control Panel */
.control-panel {
    width: 100%;
    height: 190px;
    background-color: #555577;
    display: block;
    overflow: hidden;
    position: relative;
}

.control-panel-preview {
    height: 40px;
}

.control-panel-toolbar {
    width: 100%;
    height: 40px;
    background-color: rgba(0,0,0,0.1);
}

.control-panel-create-button {
    top: 0;
    left: calc(50% - 120px);
    width: 120px;
    height: 40px;
    font-size: 13px;
    border: none;
    background-color: rgba(0,0,0,0.1);
    color: white;
    position: absolute;
}

.control-panel-preview-button {
    top: 0;
    left: calc(50%);
    width: 120px;
    height: 40px;
    font-size: 13px;
    border: none;
    background-color: rgba(0,0,0,0.1);
    color: white;
    position: absolute;
}

.control-panel-selected-button {
    background-color: #557;
}

.timeline {
    width: 100%;
    height: 150px;
    background-color: #555577;
    display: block;
    position: relative;
}

.timeline-slide {
    top: 0;
    width: 132px;
    height: 100%;
    background-color: rgba(0,255,255, 0.0);
    display: inline-block;
    position: relative;
}

.timeline-slide-selected {
    background-color: rgba(0,255,255, 0.2);
}

.timeline-slide-thumbnail {
    top: 0;
    width: 128px;
    height: 128px;
    margin: 10px 1px 10px 1px;
    pointer-events: none;
}
